WO2021027288A1 - Data packet transmission method, terminal device, and network device - Google Patents

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

Info

Publication number
WO2021027288A1
WO2021027288A1 PCT/CN2020/081171 CN2020081171W WO2021027288A1 WO 2021027288 A1 WO2021027288 A1 WO 2021027288A1 CN 2020081171 W CN2020081171 W CN 2020081171W WO 2021027288 A1 WO2021027288 A1 WO 2021027288A1
Authority
WO
WIPO (PCT)
Prior art keywords
base station
data packet
terminal device
information
bearer
Prior art date
Application number
PCT/CN2020/081171
Other languages
French (fr)
Chinese (zh)
Inventor
谷柏峰
宗在峰
赵倩倩
姜印清
魏洪康
王键
徐海博
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021027288A1 publication Critical patent/WO2021027288A1/en

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

Definitions

  • the embodiments of the present application relate to the field of wireless communication technologies, and in particular, to a data packet transmission method, terminal equipment, and network equipment.
  • 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.
  • the control plane of the core network is usually far away from the user plane.
  • the distance between the network elements on the control plane of the core network and the network elements on the user plane is usually more than 1500 km.
  • the source base station ie, user plane network element
  • the target base station ie, user plane network element
  • the control plane of the core network is far away from the user plane; therefore, it takes a long time for the source base station (ie, user plane network element) to transmit the aforementioned synchronization information to the target base station (ie, user plane network element) through the control plane network element.
  • the target base station may not have received the aforementioned synchronization information from the source base station. That is, the target base station cannot synchronize the data packet transmission state of the source base station and the terminal device. Therefore, the target base station still cannot transmit data packets with the terminal device, which affects user experience.
  • the embodiment of the present application provides a data packet transmission method, which can solve the problem that when a terminal device is handed over from a source base station to a target base station, the source base station transmits to the target base station information for synchronizing the transmission state of the data packet with a large time delay.
  • the terminal device has been handed over from the source base station to the target base station, and the target base station has not synchronized the data packet transmission status of the source base station and the terminal device, causing the problem that data transmission cannot be continued.
  • a data packet transmission method is provided, which is applied to a process in which a terminal device is handed over from a first base station to a second base station.
  • the method includes: the terminal device determines a first count value of a first uplink data packet;
  • the first uplink data packet is the first uplink data packet that is lost on the first bearer; where the first bearer is the radio bearer between the terminal device and the first base station before handing over from the first base station to the second base station, or the terminal A radio bearer between the device and the second base station after the device switches from the first base station to the second base station; the terminal device sends first information to the second base station, and the first information includes the first count value.
  • the above-mentioned first bearer is a user plane bearer between the terminal device and the first base station or the second base station.
  • the above-mentioned count value is used for integrity protection and encryption of the data packet.
  • the count value can be composed of two parts: the high-order super frame number and the low-order PDCP sequence number.
  • the terminal device determines the information about the transmission state of the synchronization data packet, and uses the determined information for the transmission state of the synchronization data packet to be carried by the user plane (between the terminal device and the second base station).
  • Radio bearer is sent to the second base station to achieve synchronization of the data packet transmission status of the first base station and the second base station, while reducing the transmission delay of information used for data packet transmission status synchronization, and ensuring that the terminal device is switched from the first base station After arriving at the second base station, the second base station and the terminal equipment data packets are continuously transmitted.
  • the terminal device determining the first count value of the first uplink data packet includes: the terminal device receives second information from the first base station, the second information is used to indicate the third information, the The third information includes: the first sequence number of the first uplink data packet or the second count value of the first uplink data packet; the terminal device determines the first count value according to the second information.
  • the terminal device may determine the first count value of the first uplink data packet according to the first sequence number or the second count value of the first uplink data packet lost by the first base station on the first bearer from the first base station.
  • the user plane bearer transmission between the terminal device and the first base station is used to determine the first count value of the first uplink data packet, and the user plane bearer transmission between the terminal device and the second base station is used for data packet transmission status synchronization It can ensure the low-latency transmission of information used for data packet transmission status synchronization.
  • the foregoing third information includes the first sequence number of the first uplink data packet; the terminal device determines the first count value according to the second information, including: the terminal device determines the first count value according to the first sequence number and the first sequence number. The superframe number corresponding to a sequence number determines the first count value. The terminal device may determine the first uplink data packet from the first base station according to the first sequence number of the first uplink data packet lost on the first bearer by the first base station and the superframe number corresponding to the first sequence number. One count value.
  • the foregoing third information includes the second count value of the first uplink data packet; the terminal device determining the first count value according to the second information includes: the terminal device determines that the second count value is the first Count value. The terminal device may determine the first count value of the first uplink data packet according to the second count value of the first uplink data packet that the first base station loses on the first bearer from the first base station.
  • the terminal device determining the first count value of the first uplink data packet includes: the terminal device counts the number of uplink data packets that the terminal device has not received through the first bearer from the first base station confirmation message The value is used as the first count value; or, the terminal device uses the count value of the next uplink data packet to be sent by the terminal device via the first bearer as the first count value.
  • the terminal device may determine the first uplink data packet and the first count value of the first uplink data packet according to whether it has received the confirmation message for the uplink data packet from the first base station. In this way, the terminal device can transmit the information used for the synchronization of the data packet transmission state through the user plane bearer between the terminal device and the second base station, which can ensure low-latency transmission of the information used for the synchronization of the data packet transmission state.
  • the above method further includes: the terminal device sends fourth information to the second base station, where the fourth information includes the sequence number and superframe number of the first downlink data packet lost on the first bearer.
  • the terminal device can also transmit the count value of the first downlink data packet that the terminal device loses on the first bearer through the user plane bearer between the terminal device and the second base station, for synchronization of the data packet transmission status, It can ensure the low-latency transmission of information used for data packet transmission status synchronization.
  • the terminal device sending the first information to the second base station includes: the terminal device sends a handover confirmation message to the second base station, where the handover confirmation message carries the first information.
  • the terminal device may carry the first information for the synchronization of the data packet transmission state through the handover confirmation message carried by the user plane, so as to ensure the low-latency transmission of the information for the synchronization of the data packet transmission state.
  • the above-mentioned handover confirmation message also carries an identifier of the first bearer.
  • the second base station can determine the radio bearer used to transmit each PDCP data packet according to the correspondence between the identifier of the first bearer and the PDCP data packet.
  • the above method further includes: the terminal device sends a handover confirmation message to the second base station, and the handover confirmation message further carries fourth information.
  • the terminal device can carry the first information for the synchronization of the data packet transmission status through the handover confirmation message carried by the user plane, so as to ensure the low-latency transmission of the information for the synchronization of the data packet transmission status.
  • the terminal device sending the first information to the second base station includes: the terminal device sends a Packet Data Convergence Protocol PDCP data packet to the second base station, and the PDCP data packet carries the first information.
  • the terminal device may carry the first information for synchronization of the transmission state of the data packet through the PDCP data packet carried by the user plane, so as to ensure the low-latency transmission of the information for the synchronization of the transmission state of the data packet.
  • the foregoing PDCP data packet also carries the fourth information.
  • the terminal device may carry the first information for synchronization of the transmission state of the data packet through the PDCP data packet carried by the user plane, so as to ensure the low-latency transmission of the information for the synchronization of the transmission state of the data packet.
  • the above-mentioned PDCP data packet carries type indication information
  • the type indication information is used to indicate that the PDCP data packet carries first information.
  • 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 use the PDCP data packet according to the type indication information.
  • the first information is read in the data packet to improve the efficiency of the second base station to obtain the first information.
  • the PDCP data packet transmission protocol is used to specify the format of the PDCP data packet.
  • the aforementioned PDCP data packet carries type indication information
  • the type indication information is used to indicate that the PDCP data packet carries fourth information.
  • 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 obtain information from the PDCP according to the type indication information.
  • the fourth information is read in the data packet to improve the efficiency of the second base station to obtain the fourth information.
  • a data packet transmission method is provided, which is applied to a process in which a terminal device is handed over from a first base station to a second base station.
  • the method includes: the second base station receives first information from the terminal device, the first The information includes the first count value of the first uplink data packet; the first uplink data packet is the first uplink data packet lost on the first bearer; wherein, the above-mentioned first bearer is the handover of the terminal equipment from the first base station to the second The radio bearer between the front of the base station and the first base station, or the radio bearer between the terminal device and the second base station after switching from the first base station to the second base station; the above-mentioned second base station determines according to the first information that the second base station is expected to be The sequence number and superframe number of the next uplink data packet received on the first bearer.
  • the second base station can receive the first information from the terminal device through the user plane bearer between the terminal device and the second base station, so as to synchronize the data packet transmission status according to the first information to ensure
  • the low-latency transmission of information used for the synchronization of the transmission state of the data packet ensures the continuous transmission of data packets 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.
  • the above method further includes: the second base station receives a second sequence number from the terminal device and a superframe number corresponding to the second sequence number, and the second sequence number is the first one lost by the terminal device.
  • the sequence number of the downlink data packet; the above-mentioned second base station determines the sequence number and superframe number of the next downlink data packet sent by the second base station to the terminal device according to the second sequence number and the superframe number corresponding to the second sequence number.
  • the second base station can receive the first information from the terminal device through the user plane bearer between the terminal device and the second base station, so as to synchronize the data packet transmission state according to the first information, and ensure the information used for the data packet transmission state synchronization
  • the low-latency transmission ensures that the terminal equipment is switched from the first base station to the second base station and the terminal equipment data packet connection transmission.
  • the above method further includes: the second base station receives a first message from the first base station, the first message includes at least one second data packet buffered in the first base station; wherein, the second base station The data packet includes a data packet that the first base station has sent to the terminal device but has not received the confirmation message of the terminal device.
  • the first message also includes the sequence number of the at least one second data packet; the second base station is based on the above The sequence number of at least one second data packet determines the sequence number of the next downlink data packet sent by the second base station to the terminal device.
  • the second base station can receive the information used for data packet transmission status synchronization from the first base station through the user plane bearer between the second base station and the first base station, so as to ensure low-latency transmission of the information used for data packet transmission status synchronization , To ensure that the terminal equipment switches from the first base station to the second base station and the terminal equipment data packet connection transmission.
  • a data packet transmission method is provided, which 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 aforementioned terminal device, the first base station, and the second base station.
  • a base station the method includes: the terminal device determines a first count value of a first uplink data packet; the first uplink data packet is the first uplink data packet lost on the first bearer; wherein the first bearer is the terminal The radio bearer between the first base station and the first base station before the device is switched from the first base station to the second base station, or the radio bearer between the above-mentioned terminal device and the second base station after the first base station is switched from the first base station to the second base station; The second base station sends first information, the first information includes a first count value; the second base station receives the first information from the terminal device; the second base station determines based on the first information that the second base station expects to receive on the first bearer The sequence number and superframe number of the next uplink data packet.
  • the terminal device determines the information of the synchronization data packet transmission state, and the determined information for the synchronization data packet transmission state is carried by the user plane (the terminal device and the second base station Radio bearer) is sent to the second base station to achieve synchronization of the data packet transmission status of the first base station and the second base station, while reducing the transmission delay of information used for data packet transmission status synchronization, and ensuring that the terminal device is switched from the first base station After arriving at the second base station, the second base station and the terminal equipment data packets are continuously transmitted.
  • the user plane the terminal device and the second base station Radio bearer
  • the above method further includes: the first base station sends second information to the terminal device, the second information is used to indicate the third information, and the third information includes: the first uplink data packet The sequence number or the second count value of the first uplink data packet; the terminal device determining the first count value of the first uplink data packet includes: the terminal device determines the first count value according to the second information.
  • the terminal device may determine the first count value of the first uplink data packet according to the first sequence number or the second count value of the first uplink data packet lost by the first base station on the first bearer from the first base station.
  • the user plane bearer transmission between the terminal device and the first base station is used to determine the first count value of the first uplink data packet, and the user plane bearer transmission between the terminal device and the second base station is used for data packet transmission status synchronization It can ensure the low-latency transmission of information used for data packet transmission status synchronization.
  • the above-mentioned third information includes the first sequence number of the first uplink data packet, and the terminal device determines the first count value according to the second information, including: the terminal device according to the first sequence number and The superframe number corresponding to the first sequence number determines the first count value; or, the third information includes the second count value of the first uplink data packet, and the terminal device determines the first count value according to the second information, including: The terminal device determines that the second count value is the first count value.
  • the terminal equipment can be based on the first sequence number of the first uplink data packet that the first base station loses on the first bearer from the first base station and the superframe number corresponding to the first sequence number, or the first base station is in the first
  • the second count value of the first uplink data packet lost on the bearer determines the first count value of the first uplink data packet.
  • the terminal device determining the first count value of the first uplink data packet includes: the terminal device indicates that the terminal device has not received the uplink data packet from the first base station confirmation message through the first bearer. The count value is used as the first count value; or, the terminal device uses the count value of the next uplink data packet to be sent by the terminal device through the first bearer as the first count value.
  • the terminal device may determine the first uplink data packet and the first count value of the first uplink data packet according to whether it has received the confirmation message for the uplink data packet from the first base station. In this way, the terminal device can transmit the information used for the synchronization of the data packet transmission state through the user plane bearer between the terminal device and the second base station, which can ensure low-latency transmission of the information used for the synchronization of the data packet transmission state.
  • the above method further includes: the terminal device sends fourth information to the second base station, the fourth information including the second sequence number and the superframe number corresponding to the second sequence number, and the second sequence The number is the sequence number of the first downlink data packet lost by the terminal device; the second base station determines the next downlink data packet sent by the second base station to the terminal device according to the second sequence number and the superframe number corresponding to the second sequence number The serial number and superframe number.
  • the terminal device can also transmit the count value of the first downlink data packet that the terminal device loses on the first bearer through the user plane bearer between the terminal device and the second base station, for synchronization of the data packet transmission status, It can ensure the low-latency transmission of information used for data packet transmission status synchronization.
  • the terminal device sending the first information to the second base station includes: the terminal device sends a handover confirmation message to the second base station, where the handover confirmation message carries the first information.
  • the terminal device can carry the first information for the synchronization of the data packet transmission status through the handover confirmation message carried by the user plane, so as to ensure the low-latency transmission of the information for the synchronization of the data packet transmission status.
  • the terminal device sending the first information to the second base station includes: the terminal device sends a Packet Data Convergence Protocol PDCP data packet to the second base station, and the PDCP data packet carries the foregoing first information.
  • the terminal device may carry the first information for synchronization of the transmission state of the data packet through the PDCP data packet carried by the user plane, so as to ensure the low-latency transmission of the information for the synchronization of the transmission state of the data packet.
  • the terminal device sending the fourth information to the second base station includes: the terminal device sending a Packet Data Convergence Protocol PDCP data packet to the second base station, the PDCP data packet carrying the fourth information; or, The terminal device sends a handover confirmation message to the second base station, where the handover confirmation message carries the foregoing fourth information.
  • the terminal device may carry the fourth information for synchronization of the data packet transmission state through the PDCP data packet carried by the user plane, so as to ensure the low-latency transmission of the information for the synchronization of the data packet transmission state.
  • the above method further includes: the first base station sends a first message to the second base station, where the first message includes at least one second data packet buffered in the first base station;
  • the data includes a data packet that the first base station has sent to the terminal device but has not received the confirmation message of the terminal device.
  • the first message also includes the sequence number of the at least one second data packet; the second base station is based on the at least one second data packet.
  • the sequence number of the data packet determines the sequence number of the next downlink data packet sent by the second base station to the terminal device.
  • the second base station can receive the information used for data packet transmission status synchronization from the first base station through the user plane bearer between the second base station and the first base station, so as to ensure low-latency transmission of the information used for data packet transmission status synchronization , To ensure that the terminal equipment switches from the first base station to the second base station and the terminal equipment data packet connection transmission.
  • a terminal device in a fourth aspect, includes: a memory for storing computer program code, the computer program code including instructions; a radio frequency circuit for transmitting and receiving wireless signals; a processor for executing The foregoing instructions enable the terminal device to execute the data packet transmission method in any possible implementation manner of the first aspect.
  • a second base station includes: a memory for storing computer program code, the computer program code including instructions; a radio frequency circuit for transmitting and receiving wireless signals; a processor, By executing the foregoing instructions, the second base station executes the data packet transmission method in any possible implementation manner of the second aspect.
  • a first system in a sixth aspect, includes a terminal device, a first base station, and a second base station, and the first system is used to execute the data packet transmission method in any possible implementation manner of the third aspect .
  • a data packet transmission method is provided, which is applied to a process in which a terminal device is handed over from a first base station to a second base station.
  • the method includes: the first base station determines third information, and the third information includes the first The count value of the data packet, and the count value of the second data packet, the first data packet is the next uplink data packet that the first base station expects to receive from the terminal device through the first bearer, and the second data packet is the first The base station is about to send the next downlink data packet to the terminal device through the first bearer.
  • the first bearer is a radio bearer between the terminal device and the first base station; the first base station uses the user plane General Packet Radio Service Tunneling Protocol GTP
  • GTP General Packet Radio Service Tunneling Protocol
  • the -U tunnel sends a first message to the second base station, and the first message carries the aforementioned third information.
  • the aforementioned GTP-U tunnel is a user plane service tunnel between the first base station and the second base station.
  • the second base station can receive the information from the first base station for data packet transmission status synchronization through the user plane GTP tunnel between the second base station and the first base station, which can ensure that it is used for data Low-latency transmission of information synchronized with packet transmission status.
  • the first base station sends the first message to the second base station through the user plane General Packet Radio Service Tunneling Protocol GTP-U tunnel, including: the first base station passes through the communication between the first base station and the second base station.
  • the first message is sent to the second base station through the GTP-U tunnel between the first base station and the data gateway; or, the first base station sends the first message to the data gateway through the GTP-U tunnel between the first base station and the data gateway, so that the data gateway passes through The GTP-U tunnel between the data gateway and the second base station sends the above-mentioned first message to the second base station.
  • the second base station can receive the information used for data packet transmission status synchronization from the first base station through the user plane GTP tunnel between the second base station and the first base station, which can ensure the low time of the information used for data packet transmission status synchronization Delay transmission.
  • the foregoing third information is encapsulated in a wireless extension header of the GTP-U protocol of the first message.
  • the first message can carry third information.
  • the foregoing wireless extension header further includes first indication information, and the first indication information is used to indicate that the wireless extension header includes the foregoing third information.
  • the first message can carry indication information indicating that the first message carries third information, so that the second base station can read from the first message according to the indication information Taking the third information improves the efficiency of the second base station for obtaining the third information.
  • the foregoing first base station sends a plurality of the foregoing first messages to the second base station through a GTP-U tunnel.
  • the same user plane bearer may be used to transmit the above-mentioned first message multiple times.
  • the above method further includes: the first base station sends a first message to the second base station through a mobility management network element, and the mobility management network element is a mobility management network element served by the terminal device.
  • This solution supports the transmission of the first message through multiple bearers, so that the second base station can synchronize the data packet transmission state according to the first message received first, and improve the efficiency of the data packet transmission state synchronization.
  • a data packet transmission method is provided, which 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 second base station uses the user plane General Packet Radio Service Tunneling Protocol GTP- The U tunnel receives the first message from the first base station, the first message includes third information, the third information includes the count value of the first data packet, and the count value of the second data packet, the first data packet is the first A base station expects to receive the next uplink data packet from the terminal device via the first bearer. The second data packet is the next downlink data packet that the first base station will send to the terminal device via the first bearer. The first bearer is the terminal device.
  • the second base station can receive the information from the first base station for data packet transmission status synchronization through the user plane GTP tunnel between the second base station and the first base station, which can be guaranteed to be used for data Low-latency transmission of information synchronized with packet transmission status.
  • the above-mentioned second base station receives the first message from the first base station over the user plane General Packet Radio Service Tunneling Protocol GTP-U tunnel, including: the second base station communicates with the second base station through the first base station.
  • the direct GTP-U tunnel between the two base stations receives the first message from the first base station; or, the second base station receives the first message through the GTP-U tunnel between the second base station and the gateway device; the first message
  • the GTP-U tunnel between the first base station and the gateway device is transmitted from the first base station to the gateway device.
  • the second base station can receive the information used for data packet transmission status synchronization from the first base station through the user plane GTP tunnel between the second base station and the first base station, which can ensure the low time of the information used for data packet transmission status synchronization Delay transmission.
  • the foregoing third information is encapsulated in a wireless extension header of the GTP-U protocol of the first message.
  • the first message can carry third information.
  • the above-mentioned wireless extension header further includes first indication information, and the first indication information is used to indicate that the above-mentioned wireless extension header includes third information.
  • the first message can carry indication information indicating that the first message carries third information, so that the second base station can read from the first message according to the indication information Taking the third information improves the efficiency of the second base station for obtaining the third information.
  • the foregoing second base station receives multiple first messages from the first base station through the GTP-U tunnel.
  • the same user plane bearer may be used to transmit the foregoing first message multiple times.
  • the above method further includes: the second base station receives the first message from a mobility management network element, and the mobility management network element is a mobility management network element served by a terminal device.
  • This solution supports the transmission of the first message through multiple bearers, so that the second base station can synchronize the data packet transmission status according to the first message received first, and improve the efficiency of data packet transmission status synchronization.
  • the mobility management network element is mainly used for access control and mobility management of terminal equipment.
  • the second base station can receive the information used for packet transmission status synchronization from the first base station through the mobility management network element, and the transmission channel is the transmission channel between the user plane network element and the control plane network element.
  • the above method further includes: after the second base station receives the first first message from the first base station, the second base station discards the first message after the first The first message received by the second base station.
  • This solution supports the transmission of the first message through multiple bearers, so that the second base station can synchronize the data packet transmission state according to the first message received first, and improve the efficiency of the data packet transmission state synchronization.
  • a terminal device in a ninth aspect, includes: a memory for storing computer program code, the computer program code including instructions; a radio frequency circuit for transmitting and receiving wireless signals; and a processor for executing The foregoing instructions enable the terminal device to execute the data packet transmission method in any possible implementation manner of the seventh aspect.
  • a second base station includes: a memory for storing computer program code, the computer program code including instructions; a radio frequency circuit for sending and receiving wireless signals; a processor for By executing the foregoing instructions, the second base station executes the data packet transmission method in any possible implementation manner of the eighth aspect.
  • a computer-readable storage medium stores computer-executable instructions.
  • the computer-executable instructions are executed by a processor, the first aspect, the second aspect, the third aspect, and the A data packet transmission method in any possible implementation manner of the seventh aspect or the eighth aspect.
  • a chip system in a twelfth aspect, includes a processor and a memory, and instructions are stored in the memory; when the instructions are executed by the processor, the first, second, and third aspects are implemented. , The data packet transmission method in any possible implementation manner of the seventh aspect or the eighth aspect.
  • the chip system can be composed of chips, or can include chips and other discrete devices.
  • a computer program product is provided, and a computer program product is provided that, when it runs on a computer, makes any one of the first, second, third, seventh, or eighth aspects Data packet transmission method in possible implementations.
  • the computer may be at least one storage node.
  • FIG. 1 is a schematic diagram of an application network service architecture of a data packet transmission method provided by an embodiment of this application;
  • FIG. 2 is a schematic diagram of the hardware structure of a terminal device provided by an embodiment of the application.
  • FIG. 3 is a conventional S1 handover flowchart provided by an embodiment of the application.
  • FIG. 4 is a schematic diagram of a COUNT structure provided by an embodiment of this application.
  • 5A is a schematic diagram of data packet transmission delay when a terminal device performs cross-base station handover in a game scenario provided by an embodiment of the application;
  • 5B is a schematic diagram of data packet transmission delay when a terminal device performs cross-base station handover in a data download scenario provided by an embodiment of the application;
  • FIG. 6 is a first flowchart of a data packet transmission method provided by an embodiment of the application.
  • FIG. 7 is a first flow chart of S1 handover provided by an embodiment of this application.
  • FIG. 8 is a second flow chart of S1 handover provided by an embodiment of this application.
  • FIG. 9 is a schematic diagram of a PDCP data packet format provided by an embodiment of the application.
  • 10A is a second flowchart of a data packet transmission method provided by an embodiment of this application.
  • FIG. 10B is a third flow chart of S1 handover provided by an embodiment of this application.
  • FIG. 11 is a third flowchart of a data packet transmission method provided by an embodiment of this application.
  • FIG. 12 is a fourth flowchart of a data packet transmission method provided by an embodiment of this application.
  • FIG. 13A is a fourth flow chart of S1 handover provided by an embodiment of this application.
  • FIG. 13B is a fifth flowchart of a data packet transmission method provided by an embodiment of this application.
  • FIG. 14 is a diagram of an example of a wireless extension header encoding format of the GTP-U protocol of the first message provided by an embodiment of the application;
  • FIG. 15 is a fifth flow chart of S1 handover provided by an embodiment of this application.
  • FIG. 16 is a sixth flow chart of S1 handover provided by an embodiment of this application.
  • FIG. 17 is a schematic structural diagram of a terminal device provided by an embodiment of this application.
  • the embodiment of the present application provides a data packet transmission method, which is applied to a process in which a terminal device is handed over from a source base station to a target base station.
  • the embodiment of the present application takes the first base station as the source base station and the second base station as the target base station as an example.
  • FIG. 1 is a schematic diagram of an application network service architecture of a data packet transmission method provided by an embodiment of this application.
  • Figure 1 uses the network service architecture of the 5th generation (5G) mobile communication system as an example to show the interaction between network functions and entities and the corresponding interfaces.
  • 5G 5th generation
  • the 3rd Generation Partnership Project (3GPP) service-based 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 (DN), Access Management Function (Access Management) Function, AMF), session management function SMF, authentication service function (Authentication Server 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 (UDM), Network Exposure Function (NEF) and Network Storage Function (NF Repository Function, NRF).
  • 3GPP 3rd Generation Partnership Project
  • 3GPP service-based 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 (DN), Access Management Function (Access Management) Function, AMF), session management function SMF, authentication
  • TE, (R)AN, UPF and DN are generally called user plane network functions and entities (or user plane network elements), and the other parts are generally called control plane network functions and entities (or control plane network elements). ).
  • the control plane network element is defined by 3GPP for processing functions in a network.
  • the control plane network element has 3GPP-defined functional behavior and 3GPP-defined interface.
  • the network function can be used as a network element running on proprietary hardware, or running on Software instances on proprietary hardware, or virtual functions instantiated on a suitable platform, such as implemented on a cloud infrastructure device.
  • (R)AN can be AN or RAN.
  • (R)AN can be various forms of base stations, such as: macro base station, micro base station, distributed unit-control unit (DU-CU), etc., among which DU-CU is a deployment A device capable of wireless communication with TE in a wireless access network.
  • the aforementioned base station may also be a wireless controller in a cloud radio access network (CRAN) scenario, or a relay station, access point, vehicle-mounted device, wearable device, or a public land mobile network (public land mobile network) that will evolve in the future.
  • RAN is mainly responsible for radio resource management, service quality management, data compression and encryption on the air interface side.
  • the names of devices with base station functions may be different in systems that use different wireless access technologies.
  • the base station may be an evolved base station (evolutional NodeB, eNB, or e-NodeB) in Long Term Evolution (LTE), or a gNB in a 5G system.
  • eNB evolved NodeB
  • e-NodeB Long Term Evolution
  • 5G 5G
  • UPF Mainly responsible for the forwarding and receiving of user data.
  • UPF can receive downlink data from DN, and then transmit the downlink data to TE through (R)AN.
  • UPF can also receive uplink data from TE through (R)AN, and then forward the uplink data to DN.
  • DN can be an operator service network, Internet access, or a third-party service network.
  • DN can exchange information with TE through PDU session.
  • PDU sessions can be divided into multiple types, such as Internet Protocol Version 4 (IPv4), IPv6, and so on.
  • IPv4 Internet Protocol Version 4
  • IPv6 Internet Protocol Version 6
  • AMF Mainly responsible for the processing of control plane messages, such as: access control, mobility management, attach and detach, and gateway selection.
  • SMF Mainly used for session management, session establishment, TE IP address allocation and management, etc.
  • AUSF Mainly responsible for network security, used to generate keys and realize two-way authentication for TE.
  • PCF Mainly used to manage policy rules, manage user subscription information, etc.
  • UDM Mainly used for authentication and credit processing, user identification processing, access authorization, registration/mobility management, subscription management and short message management, etc.
  • NEF Mainly used for monitoring, billing, etc.
  • NRF Mainly used to provide internal/external addressing functions.
  • NSSF Network-Specific Function
  • AF AF
  • FIG. 1 For the functions of other network elements such as NSSF and AF in FIG. 1, reference may be made to related descriptions in the conventional technology, which will not be repeated here.
  • 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.
  • the reference point between DN, N6 is the reference point between UPF and DN.
  • 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
  • Nnssf is a service-based interface provided by NSSF
  • Nnef is a service-based interface provided by NEF.
  • Service-based interface, Nnrf is the service-based interface provided by NRF
  • Npcf is the service-based interface provided by PCF
  • Nudm is the service-based interface provided by UDM
  • Naf is the service-based interface provided by AF.
  • the terminal device in the embodiment of the present application may be the TE shown in FIG. 1, and the source base station (ie, the first base station) and the target base station (ie, the second base station) may be R(AN) shown in FIG.
  • the data packet transmission method provided in the embodiments of the present application can also be applied to other network architectures.
  • the network architecture of the fourth-generation (4th-Generation, 4G) mobile communication system for example, the network architecture of the fourth-generation (4th-Generation, 4G) mobile communication system.
  • the data packet transmission method of the application embodiment can also be applied to other mobile communication systems developed after the fifth generation, which is not limited in the embodiment of the application.
  • the terminal device may be a netbook, a tablet computer, a smart watch, etc.
  • the terminal device can also be other desktop devices, laptop devices, handheld devices, wearable devices, smart home devices, and vehicle-mounted devices with radio communication functions, such as Ultra-mobile Personal Computers (Ultra-mobile Personal Computer). , UMPC), smart cameras, netbooks, personal digital assistants (Personal Digital Assistant, PDA), portable multimedia players (Portable Multimedia Player, PMP), AR (augmented reality)/VR (virtual reality) equipment, aircraft, robots, etc.
  • PDA Personal Digital Assistant
  • PMP portable multimedia players
  • AR augmented reality
  • VR virtual reality
  • the embodiment of the present application does not limit the specific type and structure of the terminal device.
  • 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, and a power management module 241, battery 242, antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, audio module 270, speaker 270A, receiver 270B, microphone 270C, earphone jack 270D, sensor module 280, buttons 290, motor 291, indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc.
  • SIM subscriber identification module
  • 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.
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the terminal device 100.
  • the terminal device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 210 may include one or more processing units.
  • the processor 210 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc.
  • AP application processor
  • modem processor modem processor
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • the processor 210 may also be provided with a memory for storing instructions and data.
  • the memory in the processor 210 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 210. If the processor 210 needs to use the instruction or data again, it can be directly called from the memory. Repeated access is avoided, the waiting time of the processor 210 is reduced, and the efficiency of the system is improved.
  • the processor 210 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous transmitter) interface.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely illustrative and does not constitute a structural limitation of the terminal device 100.
  • the terminal device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
  • the charging management module 240 is used to receive charging input from the charger.
  • the charger can 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 charge management module 240, and supplies power to the processor 210, the internal memory 221, the display screen 294, the camera 293, and the wireless communication module 260.
  • the wireless communication function of the terminal device 100 can be realized by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the terminal device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 250 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the terminal device 100.
  • the mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
  • the mobile communication module 250 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 250 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 250 may be provided in the processor 210.
  • 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 to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the 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 a sound signal through an audio device (not limited to a speaker 270A, a receiver 270B, etc.), or displays an image or video through the display screen 294.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 210 and be provided in the same device as the mobile communication module 250 or other functional modules.
  • the wireless communication module 260 can provide applications on the terminal device 100 including wireless local area networks (WLAN) (such as Wi-Fi networks), Bluetooth (BT), global navigation satellite system (GNSS) ), frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • 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, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210.
  • the wireless communication module 260 may also receive the signal to be sent from the processor 210, perform frequency modulation, amplify it, and convert it into electromagnetic wave radiation via the antenna 2.
  • the antenna 1 of the terminal device 100 is coupled with the mobile communication module 250, and the antenna 2 is coupled with the wireless communication module 260, so that the terminal device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include long term evolution (LTE), New Radio (NR), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc.
  • the terminal device 100 implements a display function through a GPU, a display screen 294, and an application processor.
  • the GPU is a microprocessor for image processing, connected to the display 294 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 210 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 294 is used to display images, videos, etc.
  • the display screen 294 includes a display panel.
  • the terminal device 100 may include one or N display screens 294, and N is a positive integer greater than one.
  • the terminal device 100 may implement a shooting function through an ISP, a camera 293, a video codec, a GPU, a display screen 294, and an application processor.
  • the ISP is used to process the data fed back by the camera 293.
  • the camera 293 is used to capture still images or videos.
  • the terminal device 100 may include 1 or N cameras 293, and N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the terminal device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • the external memory interface 220 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 100.
  • the external memory card communicates with the processor 210 through the external memory interface 220 to realize the data storage function.
  • the internal memory 221 may be used to store computer executable program code, the executable program code including instructions.
  • the internal memory 221 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function.
  • the data storage area can store data (such as audio data, phone book, etc.) created during the use of the terminal device 100.
  • the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc.
  • the processor 210 executes various functional applications and data processing of the terminal device 100 by running instructions stored in the internal memory 221 and/or instructions stored in a memory provided in the processor.
  • the terminal device 100 can implement audio functions through an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, a headset interface 270D, and an application processor. For example, music playback, recording, etc.
  • the button 290 includes a power button, a volume button, and so on.
  • the button 290 may be a mechanical button. It can also be a touch button.
  • the motor 291 can generate vibration prompts.
  • the indicator 292 can be an indicator light, which can be used to indicate the charging status, power change, and can also be used to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 295 is used to connect to the SIM card. The SIM card can be inserted into the SIM card interface 295 or pulled out from the SIM card interface 295 to achieve contact and separation with the terminal device 100.
  • the data packet transmission methods provided in the embodiments of the present application can all be implemented in a terminal device having a hardware structure as shown in FIG. 2 or a terminal device having a similar structure.
  • the embodiments of this application can be applied to the cross-base station handover process in the remote deployment scenario of the core network control plane, or to other scenarios where the data interaction between the user plane and the data plane takes a long time.
  • the specific network deployment scenario is not limited.
  • the cross-base station handover in the embodiment of the present application may be a cross-base station handover between different systems.
  • the terminal device 100 is handed over from the first base station (ie the source base station) of the 4G LTE system to the second base station (ie, the target base station) of the 5th-Generation New Radio (5G NR) system of the fifth-generation mobile communication system.
  • the first base station ie the source base station
  • the second base station ie, the target base station
  • 5G NR 5th-Generation New Radio
  • the cross-base station handover may also be the cross-base station handover within the system.
  • the terminal device 100 switches from the first base station (ie, the source base station) of the 4G LTE system to the second base station (ie, the target base station) of the 4G LTE system.
  • S1 is the reference point between the base station and the service gateway (SGW).
  • SGW service gateway
  • the cross-base station handover of the terminal device 100 in the 4G LTE system may be referred to as S1 handover.
  • the terminal device 100 switches from the first base station of the 5G NR system (that is, the source base station) to the second base station of the 5G NR system (that is, the target base station).
  • N2 is the reference point between the base station and the AMF.
  • the cross-base station handover of the terminal device 100 in the 5G NR system may be referred to as N2 handover.
  • the cross-base station handover may also be other types of cross-base station handover, which is not limited in the embodiment of the present application.
  • the handover of the terminal device 100 across base stations may be due to excessive (e.g., the timing advance (TA) of the serving cell is greater than the preset TA threshold, and the average value of the uplink quality of the serving cell within a certain period of time is less than
  • the preset uplink quality threshold and the average value of the downlink quality of the serving cell within a certain period of time are less than the preset downlink quality threshold, and the level of the terminal device 100 suddenly drops below the preset level threshold during a call ,
  • the receiving level of the terminal equipment is greater than or equal to the preset level threshold, but the transmission quality is lower than the preset quality threshold or the system signaling traffic of the serving cell is greater than the preset load threshold.
  • the terminal equipment 100 spans the base station
  • the switching trigger conditions include but are not limited to the above conditions, which are not limited in the embodiment of the present application.
  • the embodiments of the present application here take S1 handover as an example to briefly introduce the cross-base station handover process of the terminal device 100 in the conventional technology.
  • the terminal device 100 may receive downlink user plane data from a packet data network gateway (Packet Data Network Gateway, PDN GW).
  • PDN GW Packet Data Network Gateway
  • the handover process of the terminal device 100 from the first base station 200 to the second base station 300 may include: the first stage: the handover decision stage, the second stage: the handover request stage, and the third stage: data packet transmission status Synchronization phase and fourth phase: the communication phase after S1 handover.
  • the first stage: the handover decision stage may include S301; the second stage: the handover request stage may include S302-S309a; the third stage: the data packet transmission state synchronization stage may include S310-S311a/S311b.
  • the fourth stage the communication stage after S1 handover, including S312 and other processes.
  • the detailed description of the communication stage after S1 handover can refer to the conventional technology, the terminal device completes the communication process after S1 handover.
  • the first base station 200 decides to perform handover of the terminal device 100 based on S1.
  • the first base station 200 sends a handover request to a first mobility management entity (Mobility management entity, MME) 210.
  • MME mobility management entity
  • the first MME 210 selects a suitable target MME, and sends a forward relocation request to the MME (such as the second MME 310).
  • the second MME 310 sends a session establishment request to a second service gateway (service gateway, SGW) 320. It is used to request the second SGW 320 to allocate a user plane General Packet Radio Service Tunneling Protocol (GPRS Tunneling Protocol User Plane, GTP-U) address and a tunnel endpoint identifier (Tunnel Endpoint Identifier, TEID).
  • SGW Service gateway
  • GTP-U General Packet Radio Service Tunneling Protocol
  • TEID tunnel endpoint identifier
  • the second SGW 320 sends a session establishment response to the second MME 310.
  • the session establishment response includes the GTP-U allocated by the second SGW 320 to the second SGW 320 and the corresponding TEID.
  • the second MME 310 sends a handover command to the second base station 300.
  • the second base station 300 sends a handover command confirmation to the second MME 310.
  • the second MME 310 sends a request to establish an independent data forwarding channel to the second SGW 320.
  • the second SGW 320 sends a response to the request for establishing an independent data forwarding channel to the second MME 310.
  • the second MME 310 sends a forward relocation request response to the first MME 210.
  • the first MME 210 sends a request to establish an independent data forwarding channel to the first SGW 220.
  • the first SGW 220 sends a response to the request for establishing an independent data forwarding channel to the first MME 210.
  • the first MME 210 sends a handover command (Handover Command) to the first base station 200. It is used to indicate the establishment of an independent data forwarding channel between the first base station 200 and the second base station 300.
  • Handover Command a handover command
  • the first base station 200 sends a handover command to the terminal device 100.
  • EPS bear Evolved Packet System Bear
  • PDCP Packet Data Convergence Protocol
  • the first base station 200 sends the direct forwarding data to the second base station 300.
  • the directly forwarded data includes the downlink data buffered by the first base station 200.
  • the terminal device 100 After the terminal device 100 synchronizes to the second base station 300, the terminal device 100 sends a handover confirmation (Handover Confirm) message to the second base station 300.
  • a handover confirmation Handover Confirm
  • the PDCP data 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 data packet sent by 100 and the COUNT of the last uplink data packet that the first base station 200 has received from the terminal device 100.
  • COUNT is used for integrity protection and encryption of data packets.
  • the PDCP layer allocates a 32-bit digital number, namely COUNT, to each data packet.
  • the COUNT can be composed of two parts: a high-order Hyper Frame Number (HFN) and a low-order PDCP serial number (Serial Number, SN).
  • the length of the PDCP SN is configured by the upper layer.
  • the length of the PDCP SN can be 5 bits, 7 bits, or 12 bits.
  • the two parties in communication can save the same HFN in advance before data transmission, and the sender uses COUNT to encrypt the data packet, and then sends the encrypted data packet and the SN of the data packet To the receiving end.
  • the receiving end analyzes the SN of the data packet, it can form a COUNT with the SN and the HFN saved by the receiving end, and then use the COUNT to decrypt the data packet.
  • the length of the COUNT can be obtained by the second base station 300 from the first base station 200.
  • the second base station 300 obtains the length of the COUNT through S310 or S311a/S311b as shown in FIG. 3.
  • the second base station 300 may also preconfigure the length of the aforementioned COUNT, which is not limited in this embodiment.
  • the COUNT of the uplink data packet to be transmitted between the terminal device 100 and the second base station 300 needs to be determined, which is used to set the state machine of the receiving end according to the above COUNT.
  • the Rx_Deliv and Rx_Next of the receiving end state machine of the second base station 300 may be set to the aforementioned COUNT: [HFN, SN].
  • the COUNT of the uplink data packet to be transmitted between the terminal device 100 and the second base station 300 it is necessary to determine the PDCP data packet transmission state between the terminal device 100 and the first base station 200.
  • the first base station 200 passes through the first MME 210 and the second MME.
  • the process of 310 sending the PDCP data packet transmission status (S310-S310c shown in FIG. 3) to the second base station 300 will take a long time. Therefore, even if the terminal device 100 is successfully handed over from the first base station 200 to the second base station 300, the second base station 300 cannot perform data packet transmission with the terminal device 100. Or, it may cause the second base station 300 to fail to successfully connect the data packet transmission state of the first base station 200 and the terminal device 100 to perform data transmission with the terminal device 100.
  • the second base station 300 may not be able to synchronize the transmission of the data packets of the first base station 200 and the terminal device 100 due to the excessive delay of the data packet transmission state status. Therefore, the second base station 300 may not be able to successfully connect the data packet transmission state of the first base station 200 and the terminal device 100 to perform data transmission with the terminal device 100. Furthermore, in the above-mentioned data downloading scene, data downloading may be interrupted or the game will be stuck in the game scene, which affects the user experience.
  • 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 in this embodiment of the application.
  • the terminal device 100 takes a long time (as shown in FIG. 5A). ⁇ t 1 and ⁇ t 2 ), the transmission delay of the data packet is too large.
  • the terminal device 100 is a schematic diagram of the time delay of the PDCP data packet transmission state synchronization process when the terminal device 100 performs cross-base station handover.
  • FIG. 5B is a schematic diagram of the data packet transmission delay when the terminal device 100 performs cross-base station handover in the data download scenario provided in this embodiment of the application.
  • the terminal device 100 takes a long time (as shown in FIG. 5B). ⁇ t 3 ), the transmission delay of the data packet is too large.
  • the information used to synchronize the data packet transmission status may be carried on a path with a shorter time delay for transmission. In this way, the time delay during the transmission of the data packet transmission state can be reduced, and the continuous transmission of the data packet after the terminal device is successfully switched.
  • the first base station 200 may send information for synchronizing the transmission state of the data packet to the terminal device 100, and the terminal device 100 may indicate to the second base station the SN of the uplink data packet to be received, so as to realize the first base station 200 is synchronized with the data packet transmission state of the second base station 300.
  • the above-mentioned information for synchronizing the transmission state of the data packet can be transmitted through the user plane network element (the first base station 200 and the terminal device 100), which can reduce the transmission delay of the transmission state of the data packet.
  • a data packet transmission method provided in an embodiment of the present application may include:
  • the terminal device 100 determines the first COUNT of the first uplink data packet.
  • the terminal device 100 may determine the first COUNT of the first uplink data packet based on the received second information from the first base station 200.
  • the second information is used to indicate third information, and the third information includes: the first SN of the first uplink data packet or the second COUNT of the first uplink data packet.
  • the first uplink data packet is the first uplink data packet lost on the first bearer.
  • the first bearer is a radio bearer used for data packet transmission between the terminal device 100 and the first base station 200 before handing over from the first base station 200 to the second base station 300. Or a radio bearer used for data packet transmission between the terminal device 100 and the second base station 300 after switching from the first base station 200 to the second base station 300.
  • the first uplink data packet is the first uplink data packet lost on the first bearer. It can be understood that the uplink data packet lost on the first bearer is the next uplink data packet that the terminal device 100 will resend on the first bearer.
  • the second information may include: SN and HFN of all uplink data packets that the first base station 200 has successfully received from the terminal device 100.
  • the second information includes: COUNT [1, 31] and [1, 33] of data packets that the first base station 200 has successfully received from the terminal device 100. It means that the first base station 200 has successfully received the uplink data packets with SNs of 31 and 33 from the terminal device 100, and the second information may indicate: the first SN of the first uplink data packet is 32, or the first uplink data packet The second COUNT value of the data packet is [1, 32].
  • the second information may include: COUNT[1, 32] of the last data packet that the first base station 200 has successfully received from the terminal device 100. It means that the first base station 200 has successfully received all the uplink data packets with SN before 32 from the terminal device 100, then the second information may indicate: the first SN of the first uplink data packet is 32, or the first uplink data The second COUNT of the packet is [1, 32].
  • 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, and the handover command carries second information.
  • a handover command As shown in S709a in FIG. 7, the message is a handover command, and the handover command carries second information.
  • the handover command may also carry the address of the second base station 300, which is used by 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.
  • the terminal device 100 may also separately receive the PDCP data packet from the first base station 200. Wherein, the PDCP data packet carries the second information.
  • the terminal device 100 determines the first COUNT of the first uplink data packet according to the second information.
  • the second information includes: COUNT[1,31] and [1,32] of the data packet that the first base station 200 has successfully received from the terminal device 100, then the terminal device 100 may determine the first data packet according to the second information.
  • the first uplink data packet lost on a bearer is an uplink data packet with SN of 33 and HFN of 1.
  • the second base station 300 can determine that the first bearer is missing
  • the first uplink data packet of SN is 0 and HFN is 3.
  • 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, the first SN].
  • the terminal device 100 may determine that the second COUNT is the first COUNT.
  • the terminal device 100 may also determine the first COUNT of the first uplink data packet lost on the first bearer according to whether it receives the confirmation message of the uplink data packet from the base station. Specifically, the terminal device 100 may use the COUNT of the uplink data packet of the confirmation message from the first base station 200 that the terminal device 100 does not receive through the first bearer as the first COUNT. Alternatively, the terminal device 100 may use the COUNT of the next uplink data packet to be sent by the terminal device 100 via the first bearer as the first COUNT. It is understandable 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 will send to the second base station 300 on the first bearer.
  • the terminal device 100 sends the first information to the second base station 300.
  • the first information includes the first COUNT, that is, the first information includes the SN and HFN of the uplink data packet that the terminal device 100 will send to the second base station 300 on the first bearer.
  • the terminal device 100 may encapsulate the first information in a PDCP data packet and send it to the second base station 300.
  • FIG. 9 it is a schematic diagram of a PDCP data packet format provided in an embodiment of this application.
  • D/C is used to identify the PDCP data packet type. If D/C is set to 0, it indicates that the PDCP data packet is used to transmit control information. Among them, R is a reserved bit.
  • the COUNT length is 32 as an example. Therefore, the PDCP data packet carries 4 COUNTs each having a length of 8 bits.
  • the terminal device 100 may send the first information to the second base station 300 through a handover confirmation message.
  • the handover confirmation message is used to indicate the successful handover of the terminal device 100 from the first base station 200 to the second base station 300, and the handover confirmation message carries a PDCP data packet, and the PDCP data packet carries the first information.
  • the handover confirmation message may also carry the identifier of the first bearer.
  • the identifier of the first bearer has a corresponding relationship with the PDCP data packet: (the identifier of the first bearer, the PDCP data packet).
  • the corresponding relationship between the identifier of the first bearer and the PDCP data packet is used when the terminal device 100 sends PDCP data packets to the second base station 300 through multiple radio bearers, the second base station 300 may determine to transmit each PDCP data according to the corresponding relationship The radio bearer used by the packet.
  • the terminal device 100 when the terminal device 100 sends the first information to the second base station 300 through the handover confirmation message, the terminal 100 may carry the first information through an extended field in the handover confirmation message.
  • the terminal device 100 may also directly send the PDCP data packet carrying the first information to the second base station 300.
  • the PDCP data packet may also 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 of the second base station 300 carries the first information.
  • the second base station 300 determines, according to the first information, the SN and HFN of the next uplink data packet that the second base station 300 expects to receive on the first bearer.
  • the second base station 300 expects the SN of the next uplink data packet received on the first bearer to be the SN of the first COUNT, and the second base station 300 expects the HFN of the next uplink data packet received on the first bearer to be the first HFN of COUNT.
  • the SN of the next uplink data packet that the second base station 300 expects to receive on the first bearer is 33, and the HFN is 2.
  • the data packet transmission method of Embodiment 1 of the present application may further include:
  • the terminal device 100 determines fourth information.
  • the fourth information includes the SN and HFN of the first downlink data packet lost on the first bearer.
  • the terminal device 100 may determine the fourth information according to the received downlink data packet from the first base station 200 and the SN and HFN of each downlink data packet.
  • the terminal device 100 has successfully received downlink data packets with COUNTs of [0, 3], [0, 4], [0, 5], and [0, 6]. Then, the terminal device 100 may determine that the fourth information is [0, 7] according to the above information, that is, the COUNT of the first downlink data packet lost on the first bearer is [0, 7].
  • the terminal device 100 may determine the second information and the fourth information at the same time, or may determine the fourth information before determining the second information, or may determine the fourth information after determining the second information (S1012 in FIG. 10B),
  • the embodiments of this application do not limit this.
  • the terminal device 100 sends fourth information to the second base station 300.
  • the fourth information may be sent to the second base station 300 by the terminal device 100 together with the first information. It can also be sent to the second base station 300 by the terminal device 100 alone.
  • the terminal device 100 may also perform S605-1 after S602. Alternatively, the terminal device 100 may also perform S605-1 before S602, which is not limited in the embodiment of the present application.
  • the fourth information may be sent by the terminal device 100 to the second base station 300 through a handover confirmation message.
  • the fourth information may also be sent by the terminal device 100 to the second base station 300 by directly sending PDCP data packets.
  • the PDCP data packet may also carry type indication information.
  • the type indication information is used to indicate that the PDCP data packet of the second base station 300 carries the fourth information.
  • the second base station 300 determines the SN of the next downlink data packet sent by the second base station 300 to the terminal device 100 according to the fourth information.
  • the fourth information includes that the COUNT is [4, 7], that is, the COUNT of the first downlink data packet lost on the first bearer is [4, 7]. Then the second base station 300 can determine that the SN of the next downlink data packet sent by the second base station 300 to the terminal device 100 is 7.
  • the data packet transmission method of Embodiment 1 of the present application may further include:
  • the second base station 300 receives the first message from the first base station 200.
  • 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 data packet includes a data packet that the first base station 200 has sent to the terminal device 100 but has not received the confirmation message of the terminal device 100.
  • the first message further includes at least one downlink data packet buffered in the first base station 200 and not sent by the first base station 200 to the terminal device 100, and the SN of the at least one downlink data packet.
  • the second base station 300 determines the SN of the next downlink data packet sent by the second base station 300 to the terminal device 100 according to the first message.
  • the first message includes the SN 7 of the data packet that the first base station 200 has sent to the terminal device 100 but has not received the confirmation message of the terminal device 100, and the downlink data packet corresponding to the SN 7. Then the second base station 300 can determine that the SN of the next downlink data packet sent by the second base station 300 to the terminal device 100 is 7.
  • the second base station 300 can determine that the second base station 300 sends the terminal device 100
  • the next downlink data packet is the first data packet among at least one downlink data packet that the first base station 200 has not sent to the terminal device 100.
  • 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, for the second base station 300 to realize the data packet communication with the terminal device 100 according to the information.
  • the transmission status is synchronized.
  • the aforementioned information for synchronizing the transmission state of the data packet can be transmitted from the first base station 200 to the second base station 300 through the GTP-U tunnel with a small time delay, which reduces the transmission delay of the data packet transmission state.
  • the data packet transmission method of the embodiment of the present application may include:
  • the first base station 200 determines third information.
  • the third information includes the COUNT of the first data packet and the COUNT of the second data packet.
  • the first data packet is the first data packet that the first base station 200 has not yet received from the terminal device 100 on the first bearer.
  • the second data packet is the next data packet that the first base station 200 will send to the terminal device 100 on the first bearer.
  • the first bearer is a radio bearer between the terminal device 100 and the first base station 200.
  • the first base station 200 sends a first message carrying third information to the second base station 300 through the GTP-U tunnel.
  • the first base station 200 may send the first base station carrying the third information to the second base station 300 through the GTP-U tunnel between the first base station 200 and the second base station 300. news.
  • the first base station 200 may also sequentially pass through the GTP-U tunnel between the first base station 200 and the data gateway, and the GTP-U tunnel between the data gateway and the second base station 300, to send to the second base station 300 The first message that carries the third information.
  • the first base station 200 and the second base station 300 may serve the same data gateway (such as data gateway A).
  • the first base station 200 can pass 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 in turn, to the second The base station 300 sends the first message that carries the third information.
  • the first base station 200 and the second base station 300 may serve different data gateways.
  • the first base station 200 serves the first SGW 220
  • the second base station 300 serves the second SGW 320. In this case, as shown in S1311b in FIG.
  • 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, so that the first The SGW 220 sends the first message to the second SGW 320 through the GTP-U tunnel between the first SGW 220 and the second SGW 320, and makes the second SGW 320 pass through the GTP-U between the second SGW 320 and the second base station 300
  • the tunnel sends the first message carrying the third information to the second base station 300.
  • the first base station 200 may encapsulate the third information in a wireless extension header of the GTP-U protocol of the first message and send it to the second base station 300.
  • a wireless extension header of the GTP-U protocol of the first message may be encapsulated in a wireless extension header of the GTP-U protocol of the first message and send it to the second base station 300.
  • FIG. 14 an example diagram of a wireless extension header encoding format of the GTP-U protocol of the first message provided in an embodiment of this application.
  • the wireless extension header includes first indication information.
  • the first indication information is used to indicate that the wireless extension header includes the third information.
  • the first indication information may be identified according to the value of the PDU type as shown in FIG. 14 (x as shown in FIG. 14). For example, when the value of the PDU type is 10, it indicates that the third information is included in the wireless extension header. Among them, A in Figure 14 is a reserved bit.
  • wireless extension header encoding format of the GTP-U protocol of the first message shown in FIG. 14 is only exemplary, and other encoding formats may also be used, which is not limited in this embodiment.
  • the first base station 200 may use the S1202 method to send multiple first messages carrying the third information to the second base station 300.
  • the first base station 200 may use the method of S1202 to send a preset number of first messages carrying the third information to the second base station 300.
  • the first base station 200 may use the method of S1202 to send the first message carrying the third information to the second base station 300 within a preset time.
  • the second base station 300 determines, according to the third information, the COUNT of the next uplink data packet that the second base station 300 expects to receive from the terminal device 100 on the second bearer, and the second base station 300 will send the message to the terminal device 100 on the second bearer. COUNT of the next downstream data packet sent.
  • 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.
  • the data packet transmission method of 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.
  • the mobility management network element is a mobility management network element served by the terminal device 100.
  • the first base station 200 and the second base station 300 may serve the same mobility management network element (such as 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.
  • MME mobility management network element
  • the first base station 200 and the second base station 300 may serve different mobility management network elements.
  • the first base station 200 serves the first MME 210
  • the second base station 300 serves the second MME 310.
  • the first base station 200 may sequentially send 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 uses a 4G LTE network as an example to illustrate the data packet transmission method of the embodiment of the present application. If the data packet transmission method of the embodiment of the present application is applied to other network structures, each network element shown in FIG. 15 can also be replaced by other network elements. For example, in a 5G NR network structure, the first base station 200 sends a first message carrying third information to the second base station 300 through the access management function AMF.
  • the second base station 300 first receives the first message carrying the third information sent by the first base station 200 in S1510 through the mobility management network element.
  • the second base station 300 determines, according to the third information received from the first base station 200 through the mobility management network element, the COUNT of the next uplink data packet that the second base station 300 expects to receive from the terminal device 100 on the second bearer, and the first The second base station 300 will send the COUNT of the next downlink data packet to the terminal device 100 through the second bearer.
  • 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 received from the first base station 200 through the GTP-U tunnel, the COUNT of the next uplink data packet that the second base station 300 expects to receive from the terminal device 100 on the second bearer, and the second The base station 300 will send the COUNT of the next downlink data packet to the terminal device 100 through the second bearer.
  • the terminal device 100 may also determine the COUNT of the first uplink data packet lost on the first bearer according to the existing information it saves, and after the S1 handover is completed, the uplink data packet and the uplink data
  • the COUNT of the packet is sent to the second base station 300 for the second base station 300 to set the state machine of the receiver according to the COUNT, so as to correctly receive the uplink data packet.
  • Embodiment 3 of the present application does not need to modify the existing protocols, messages, etc. At the same time, the time delay of data packet transmission status synchronization can be reduced.
  • the data packet transmission method of the embodiment of the present application may include:
  • the terminal device 100 determines the COUNT of the first uplink data packet.
  • the first uplink data packet is the 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 confirmation message of the uplink data packet from the first base station 200.
  • the terminal device 100 sends the fifth information to the second base station 300 through the PDCP data packet.
  • the fifth information includes the first uplink data packet lost on the first bearer and the COUNT of the uplink data packet.
  • the first uplink data packet lost on the first bearer may be sent to the second base station 300 separately from the COUNT of the uplink data packet, or may be sent to the second base station 300 together.
  • the embodiments of this application do not limit this.
  • the second base station 300 parses the first uplink data packet according to the fifth information.
  • the second base station 300 parses the first uplink data packet according to the fifth information, which may include:
  • the second base station 300 sets the state machine of the receiver to the COUNT of the first uplink data packet. Then, the second base station 300 analyzes the received first uplink data packet according to the COUNT.
  • the terminal device includes hardware structures and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
  • the embodiment of the present application may divide the terminal device into functional modules.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • the terminal device 100 may include an analysis unit 1710, a sending unit 1720, and a receiving unit 1730.
  • the analysis unit 1710 is used to support the terminal device to perform the above steps S601, S710, S811, S604-1, S1011, S1201, and S1601, and/or other processes used in the technology described herein.
  • the sending unit 1720 is used to support the terminal device to execute the above steps S602, S711, S812, S605-1, S1012, and S1602 and/or other processes used in the technology 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 used in the technology described herein.
  • the foregoing sending unit 1720 and receiving unit 1730 may include radio frequency circuits.
  • the terminal device can receive and send wireless signals through a radio frequency circuit.
  • the radio frequency circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and so on.
  • the radio frequency circuit can also communicate with other devices through wireless communication.
  • the wireless communication can use any communication standard or protocol, including but not limited to global system for mobile communications, general packet radio service, code division multiple access, broadband code division multiple access, long-term evolution, email, short message service, etc.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
  • the steps of the method or algorithm described in the embodiments of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions.
  • Software instructions can be composed of corresponding software modules, which can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, mobile hard disk, CD-ROM or any other form of storage known in the art Medium.
  • An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and can write information to the storage medium.
  • the storage medium may also be an integral part of the processor.
  • the processor and the storage medium may be located in the ASIC.
  • the ASIC may be located in the detection device.
  • the processor and the storage medium may also exist as separate components in the detection device.
  • the disclosed user equipment and method may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be It can be combined or integrated into another device, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate parts may or may not be physically separate.
  • the parts displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. . Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of software products, which are stored in a storage medium.
  • a device which may be a single-chip microcomputer, a chip, etc.
  • a processor processor
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .

Abstract

Disclosed in the present application are a data packet transmission method, a terminal device, and a network device, relating to the technical field of wireless communication, and capable of solving the problem that when a terminal device is handed over from a source base station to a target base station, due to the large delay when the source base station transmits to the target base station information for synchronising the data packet transmission state, data transmission cannot be continued even if the terminal device has been handed over from the source base station to the target base station because the target base station still has not synchronised the data packet transmission state between the source base station and the terminal device. By means of the information for synchronising the data packet transmission state being transmitted by a user plane bearer with a smaller delay, the present solution implements synchronisation of the data packet transmission state of the first base station and the second base station, and reduces the transmission delay of the information for synchronising the data packet transmission state, ensuring the continuous transmission of data packets between the second base station and the terminal device after the terminal device is handed over from the first base station to the second base station.

Description

一种数据包传输方法、终端设备及网络设备Data packet transmission method, terminal equipment and network equipment
本申请要求于2019年8月15日提交国家知识产权局、申请号为201910755163.3、发明名称为“一种数据包传输方法、终端设备及网络设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office, the application number is 201910755163.3, and the invention title is "a data packet transmission method, terminal equipment and network equipment" on August 15, 2019. The entire content of the application is approved The reference is incorporated in this application.
技术领域Technical field
本申请实施例涉及无线通信技术领域,尤其涉及一种数据包传输方法、终端设备及网络设备。The embodiments of the present application relate to the field of wireless communication technologies, and in particular, to a data packet transmission method, terminal equipment, and network equipment.
背景技术Background technique
随着无线通信技术的发展,基于网络功能虚拟化(Network Function Virtualization,NFV)的核心网控制面拉远部署成为一种组网趋势。其中,核心网控制面拉远部署是指将核心网的控制面与用户面分开部署。在这种核心网控制面拉远部署的场景中,核心网的控制面与用户面距离通常较远。例如,核心网控制面的网元与用户面网元的距离通常在1500Km以上。With the development of wireless communication technology, the remote deployment of the core network control plane based on Network Function Virtualization (NFV) has become a networking trend. Among them, the remote deployment of the control plane of the core network refers to the separate deployment of the control plane and the user plane of the core network. In this scenario where the control plane of the core network is deployed remotely, the control plane of the core network is usually far away from the user plane. For example, the distance between the network elements on the control plane of the core network and the network elements on the user plane is usually more than 1500 km.
其中,终端设备进行跨基站切换时,源基站(即用户面网元)通过控制面网元向目标基站(即用户面网元)转发用于同步数据包传输状态的信息(简称同步信息),以便终端设备由源基站切换至目标基站后,可以接续数据的传输。Among them, when the terminal device performs cross-base station handover, the source base station (ie, user plane network element) forwards information (referred to as synchronization information) for synchronizing the transmission state of the data packet to the target base station (ie, user plane network element) through the control plane network element. So that the terminal device can continue data transmission after switching from the source base station to the target base station.
但是,由于核心网的控制面与用户面距离较远;因此,源基站(即用户面网元)通过控制面网元向目标基站(即用户面网元)传输上述同步信息需要较长时间。在这期间,即使终端设备已由源基站切换至目标基站,但是,目标基站可能还未收到来自源基站的上述同步信息。即目标基站还不能同步源基站与终端设备的数据包传输状态。因此,目标基站还不能与终端设备传输数据包,影响用户体验。However, since the control plane of the core network is far away from the user plane; therefore, it takes a long time for the source base station (ie, user plane network element) to transmit the aforementioned synchronization information to the target base station (ie, user plane network element) through the control plane network element. During this period, 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 aforementioned synchronization information from the source base station. That is, the target base station cannot synchronize the data packet transmission state of the source base station and the terminal device. Therefore, the target base station still cannot transmit data packets with the terminal device, which affects user experience.
发明内容Summary of the invention
本申请实施例提供一种数据包传输方法,可以解决在终端设备从源基站切换至目标基站时,由于源基站向目标基站传输用于同步数据包传输状态的信息时时延较大,导致的即使终端设备已由源基站切换至目标基站,目标基站由于还未同步源基站与终端设备的数据包传输状态,造成的数据传输无法接续的问题。The embodiment of the present application provides a data packet transmission method, which can solve the problem that when a terminal device is handed over from a source base station to a target base station, the source base station transmits to the target base station information for synchronizing the transmission state of the data packet with a large time delay. The terminal device has been handed over from the source base station to the target base station, and the target base station has not synchronized the data packet transmission status of the source base station and the terminal device, causing the problem that data transmission cannot be continued.
为达到上述目的,本申请实施例采用如下技术方案:In order to achieve the foregoing objectives, the following technical solutions are adopted in the embodiments of this application:
第一方面,提供一种数据包传输方法,该方法应用于终端设备从第一基站切换至第二基站的过程中,该方法包括:终端设备确定第一上行数据包的第一计数值;该第一上行数据包为第一承载上丢失的第一个上行数据包;其中,第一承载为终端设备从第一基站切换至第二基站前与上述第一基站之间的无线承载,或者终端设备从第一基站切换至第二基站后与上述第二基站之间的无线承载;终端设备向第二基站发送第一信息,该第一信息包括上述第一计数值。In a first aspect, a data packet transmission method is provided, which is applied to a process in which a terminal device is handed over from a first base station to a second base station. The method includes: the terminal device determines a first count value of a first uplink data packet; The first uplink data packet is the first uplink data packet that is lost on the first bearer; where the first bearer is the radio bearer between the terminal device and the first base station before handing over from the first base station to the second base station, or the terminal A radio bearer between the device and the second base station after the device switches from the first base station to the second base station; the terminal device sends first information to the second base station, and the first information includes the first count value.
其中,上述第一承载为终端设备与第一基站或者第二基站之间的用户面承载。上 述计数值用于数据包的完整性保护和加密,该计数值可由高位的超帧号和低位的PDCP序列号两部分组成。The above-mentioned first bearer is a user plane bearer between the terminal device and the first base station or the second base station. The above-mentioned count value is used for integrity protection and encryption of the data packet. The count value can be composed of two parts: the high-order super frame number and the low-order PDCP sequence number.
上述第一方面提供的技术方案,由终端设备确定同步数据包传输状态的信息,并将其确定的用于同步数据包传输状态的信息,通过用户面承载(终端设备与第二基站之间的无线承载)发送给第二基站,以实现第一基站与第二基站的数据包传输状态同步的同时,降低用于数据包传输状态同步的信息的传输时延,保证终端设备从第一基站切换至第二基站后,第二基站与终端设备数据包的接续传输。In the technical solution provided by the above-mentioned first aspect, the terminal device determines the information about the transmission state of the synchronization data packet, and uses the determined information for the transmission state of the synchronization data packet to be carried by the user plane (between the terminal device and the second base station). Radio bearer) is sent to the second base station to achieve synchronization of the data packet transmission status of the first base station and the second base station, while reducing the transmission delay of information used for data packet transmission status synchronization, and ensuring that the terminal device is switched from the first base station After arriving at the second base station, the second base station and the terminal equipment data packets are continuously transmitted.
在一种可能的实现方式中,终端设备确定第一上行数据包的第一计数值,包括:该终端设备接收来自第一基站的第二信息,该第二信息用于指示第三信息,该第三信息包括:第一上行数据包的第一序列号或者第一上行数据包的第二计数值;该终端设备根据第二信息确定第一计数值。终端设备可以根据来自第一基站的,第一基站在第一承载上丢失的第一个上行数据包的第一序列号或者第二计数值确定第一上行数据包的第一计数值。通过终端设备与第一基站之间的用户面承载传输用于确定第一上行数据包的第一计数值,以及通过终端设备与第二基站之间的用户面承载传输用于数据包传输状态同步的信息,可以保证用于数据包传输状态同步的信息的低时延传输。In a possible implementation, the terminal device determining the first count value of the first uplink data packet includes: the terminal device receives second information from the first base station, the second information is used to indicate the third information, the The third information includes: the first sequence number of the first uplink data packet or the second count value of the first uplink data packet; the terminal device determines the first count value according to the second information. The terminal device may determine the first count value of the first uplink data packet according to the first sequence number or the second count value of the first uplink data packet lost by the first base station on the first bearer from the first base station. The user plane bearer transmission between the terminal device and the first base station is used to determine the first count value of the first uplink data packet, and the user plane bearer transmission between the terminal device and the second base station is used for data packet transmission status synchronization It can ensure the low-latency transmission of information used for data packet transmission status synchronization.
在一种可能的实现方式中,上述第三信息包括第一上行数据包的第一序列号;终端设备根据第二信息确定第一计数值,包括:该终端设备根据第一序列号以及与第一序列号对应的超帧号确定第一计数值。终端设备可以根据来自第一基站的,第一基站在第一承载上丢失的第一个上行数据包的第一序列号以及与第一序列号对应的超帧号确定第一上行数据包的第一计数值。In a possible implementation manner, the foregoing third information includes the first sequence number of the first uplink data packet; the terminal device determines the first count value according to the second information, including: the terminal device determines the first count value according to the first sequence number and the first sequence number. The superframe number corresponding to a sequence number determines the first count value. The terminal device may determine the first uplink data packet from the first base station according to the first sequence number of the first uplink data packet lost on the first bearer by the first base station and the superframe number corresponding to the first sequence number. One count value.
在一种可能的实现方式中,上述第三信息包括第一上行数据包的第二计数值;终端设备根据第二信息确定第一计数值,包括:该终端设备确定第二计数值为第一计数值。终端设备可以根据来自第一基站的,第一基站在第一承载上丢失的第一个上行数据包的第二计数值确定第一上行数据包的第一计数值。In a possible implementation manner, the foregoing third information includes the second count value of the first uplink data packet; the terminal device determining the first count value according to the second information includes: the terminal device determines that the second count value is the first Count value. The terminal device may determine the first count value of the first uplink data packet according to the second count value of the first uplink data packet that the first base station loses on the first bearer from the first base station.
在一种可能的实现方式中,终端设备确定第一上行数据包的第一计数值,包括:终端设备将该终端设备未通过第一承载接收到来自第一基站确认消息的上行数据包的计数值作为第一计数值;或者,该终端设备将该终端设备即将通过第一承载发送的下一个上行数据包的计数值作为第一计数值。终端设备可以根据其是否接收到来自第一基站的,对于上行数据包的确认消息,确定第一上行数据包以及该第一上行数据包的第一计数值。以便终端设备可以通过终端设备与第二基站之间的用户面承载传输用于数据包传输状态同步的信息,可以保证用于数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the terminal device determining the first count value of the first uplink data packet includes: the terminal device counts the number of uplink data packets that the terminal device has not received through the first bearer from the first base station confirmation message The value is used as the first count value; or, the terminal device uses the count value of the next uplink data packet to be sent by the terminal device via the first bearer as the first count value. The terminal device may determine the first uplink data packet and the first count value of the first uplink data packet according to whether it has received the confirmation message for the uplink data packet from the first base station. In this way, the terminal device can transmit the information used for the synchronization of the data packet transmission state through the user plane bearer between the terminal device and the second base station, which can ensure low-latency transmission of the information used for the synchronization of the data packet transmission state.
在一种可能的实现方式中,上述方法还包括:终端设备向第二基站发送第四信息,该第四信息包括第一承载上丢失的第一个下行数据包的序列号和超帧号。该方案中,终端设备还可以通过终端设备与第二基站之间的用户面承载传输终端设备在第一承载上丢失的第一个下行数据包的计数值,用于数据包传输状态的同步,可以保证用于数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the above method further includes: the terminal device sends fourth information to the second base station, where the fourth information includes the sequence number and superframe number of the first downlink data packet lost on the first bearer. In this solution, the terminal device can also transmit the count value of the first downlink data packet that the terminal device loses on the first bearer through the user plane bearer between the terminal device and the second base station, for synchronization of the data packet transmission status, It can ensure the low-latency transmission of information used for data packet transmission status synchronization.
在一种可能的实现方式中,终端设备向第二基站发送第一信息,包括:该终端设备向第二基站发送切换确认消息,该切换确认消息携带有第一信息。该方案中,终端设备可以通过用户面承载的切换确认消息携带用于数据包传输状态同步的第一信息, 保证数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the terminal device sending the first information to the second base station includes: the terminal device sends a handover confirmation message to the second base station, where the handover confirmation message carries the first information. In this solution, the terminal device may carry the first information for the synchronization of the data packet transmission state through the handover confirmation message carried by the user plane, so as to ensure the low-latency transmission of the information for the synchronization of the data packet transmission state.
在一种可能的实现方式中,上述切换确认消息中还携带有第一承载的标识。用于当通过多个无线承载向第二基站发送PDCP数据包时,第二基站可以根据第一承载的标识与PDCP数据包的对应关系确定传输每个PDCP数据包所使用的无线承载。In a possible implementation manner, the above-mentioned handover confirmation message also carries an identifier of the first bearer. When sending PDCP data packets to the second base station through multiple radio bearers, the second base station can determine the radio bearer used to transmit each PDCP data packet according to the correspondence between the identifier of the first bearer and the PDCP data packet.
在一种可能的实现方式中,上述方法还包括:终端设备向第二基站发送切换确认消息,该切换确认消息中还携带有第四信息。该方案中,终端设备可以通过用户面承载的切换确认消息携带用于数据包传输状态同步的第一信息,保证数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the above method further includes: the terminal device sends a handover confirmation message to the second base station, and the handover confirmation message further carries fourth information. In this solution, the terminal device can carry the first information for the synchronization of the data packet transmission status through the handover confirmation message carried by the user plane, so as to ensure the low-latency transmission of the information for the synchronization of the data packet transmission status.
在一种可能的实现方式中,终端设备向第二基站发送第一信息,包括:该终端设备向第二基站发送包数据汇聚协议PDCP数据包,该PDCP数据包携带有第一信息。该方案中,终端设备可以通过用户面承载的PDCP数据包携带用于数据包传输状态同步的第一信息,保证数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the terminal device sending the first information to the second base station includes: the terminal device sends a Packet Data Convergence Protocol PDCP data packet to the second base station, and the PDCP data packet carries the first information. In this solution, the terminal device may carry the first information for synchronization of the transmission state of the data packet through the PDCP data packet carried by the user plane, so as to ensure the low-latency transmission of the information for the synchronization of the transmission state of the data packet.
在一种可能的实现方式中,上述PDCP数据包还携带有所述第四信息。该方案中,终端设备可以通过用户面承载的PDCP数据包携带用于数据包传输状态同步的第一信息,保证数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the foregoing PDCP data packet also carries the fourth information. In this solution, the terminal device may carry the first information for synchronization of the transmission state of the data packet through the PDCP data packet carried by the user plane, so as to ensure the low-latency transmission of the information for the synchronization of the transmission state of the data packet.
在一种可能的实现方式中,上述PDCP数据包携带有类型指示信息,该类型指示信息用于指示该PDCP数据包中携带有第一信息。通过对现有的PDCP数据包传输协议进行扩展,使得该PDCP数据包可以携带用于指示该PDCP数据包中携带有第一信息的类型指示信息,以便第二基站可以根据该类型指示信息从PDCP数据包中读取第一信息,提高第二基站获取第一信息的效率。其中,PDCP数据包传输协议用于规定PDCP数据包的格式。In a possible implementation manner, the above-mentioned PDCP data packet carries type indication information, and the type indication information is used to indicate that the PDCP data packet carries first information. By extending 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 use the PDCP data packet according to the type indication information. The first information is read in the data packet to improve the efficiency of the second base station to obtain the first information. Among them, the PDCP data packet transmission protocol is used to specify the format of the PDCP data packet.
在一种可能的实现方式中,上述PDCP数据包携带有类型指示信息,该类型指示信息用于指示该PDCP数据包中携带有第四信息。通过对现有的PDCP数据包传输协议进行扩展,使得该PDCP数据包可以携带用于指示该PDCP数据包中携带有第四信息的类型指示信息,以便第二基站可以根据该类型指示信息从PDCP数据包中读取第四信息,提高第二基站获取第四信息的效率。In a possible implementation manner, the aforementioned PDCP data packet carries type indication information, and the type indication information is used to indicate that the PDCP data packet carries fourth information. By extending the existing PDCP data packet transmission protocol, the PDCP data packet can carry type indication information for indicating that the PDCP data packet carries the fourth information, so that the second base station can obtain information from the PDCP according to the type indication information. The fourth information is read in the data packet to improve the efficiency of the second base station to obtain the fourth information.
第二方面,提供一种数据包传输方法,该方法应用于终端设备从第一基站切换至第二基站的过程中,该方法包括:第二基站接收来自终端设备的第一信息,该第一信息包括第一上行数据包的第一计数值;该第一上行数据包为第一承载上丢失的第一个上行数据包;其中,上述第一承载为终端设备从第一基站切换至第二基站前与第一基站之间的无线承载,或者终端设备从第一基站切换至第二基站后与第二基站之间的无线承载;上述第二基站根据第一信息确定该第二基站期望在第一承载上接收的下一个上行数据包的序列号和超帧号。In a second aspect, a data packet transmission method is provided, which is applied to a process in which a terminal device is handed over from a first base station to a second base station. The method includes: the second base station receives first information from the terminal device, the first The information includes the first count value of the first uplink data packet; the first uplink data packet is the first uplink data packet lost on the first bearer; wherein, the above-mentioned first bearer is the handover of the terminal equipment from the first base station to the second The radio bearer between the front of the base station and the first base station, or the radio bearer between the terminal device and the second base station after switching from the first base station to the second base station; the above-mentioned second base station determines according to the first information that the second base station is expected to be The sequence number and superframe number of the next uplink data packet received on the first bearer.
上述第二方面提供的技术方案,第二基站可以通过终端设备与第二基站之间的用户面承载接收来自终端设备的第一信息,以便根据该第一信息进行数据包传输状态的同步,保证用于数据包传输状态同步的信息的低时延传输,保证终端设备从第一基站切换至第二基站后,第二基站与终端设备数据包的接续传输。According to the technical solution provided by the above second aspect, the second base station can receive the first information from the terminal device through the user plane bearer between the terminal device and the second base station, so as to synchronize the data packet transmission status according to the first information to ensure The low-latency transmission of information used for the synchronization of the transmission state of the data packet ensures the continuous transmission of data packets 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 above method further includes: the second base station receives a second sequence number from the terminal device and a superframe number corresponding to the second sequence number, and the second sequence number is the first one lost by the terminal device. The sequence number of the downlink data packet; the above-mentioned second base station determines the sequence number and superframe number of the next downlink data packet sent by the second base station to the terminal device according to the second sequence number and the superframe number corresponding to the second sequence number. The second base station can receive the first information from the terminal device through the user plane bearer between the terminal device and the second base station, so as to synchronize the data packet transmission state according to the first information, and ensure the information used for the data packet transmission state synchronization The low-latency transmission ensures that the terminal equipment is switched from the first base station to the second base station and the terminal equipment data packet connection transmission.
在一种可能的实现方式中,上述方法还包括:第二基站接收来自第一基站的第一消息,该第一消息包括缓存在第一基站中的至少一个第二数据包;其中,第二数据包包括所述第一基站已发送给终端设备,但是未接收到该终端设备的确认消息的数据包,该第一消息还包括上述至少一个第二数据包的序列号;第二基站根据上述至少一个第二数据包的序列号确定第二基站向终端设备发送的下一个下行数据包的序列号。第二基站可以通过第二基站与第一基站之间的用户面承载接收来自第一基站的用于进行数据包传输状态同步的信息,保证用于数据包传输状态同步的信息的低时延传输,保证终端设备从第一基站切换至第二基站与终端设备数据包的接续传输。In a possible implementation manner, the above method further includes: the second base station receives a first message from the first base station, the first message includes at least one second data packet buffered in the first base station; wherein, the second base station The data packet includes a data packet that the first base station has sent to the terminal device but has not received the confirmation message of the terminal device. The first message also includes the sequence number of the at least one second data packet; the second base station is based on the above The sequence number of at least one second data packet determines the sequence number of the next downlink data packet sent by the second base station to the terminal device. The second base station can receive the information used for data packet transmission status synchronization from the first base station through the user plane bearer between the second base station and the first base station, so as to ensure low-latency transmission of the information used for data packet transmission status synchronization , To ensure that the terminal equipment switches from the first base station to the second base station and the terminal equipment data packet connection transmission.
第三方面,提供一种数据包传输方法,该方法应用于第一系统中终端设备从第一基站切换至第二基站的过程中,该第一系统包括上述终端设备、第一基站和第二基站,该方法包括:上述终端设备确定第一上行数据包的第一计数值;该第一上行数据包为第一承载上丢失的第一个上行数据包;其中,上述第一承载为上述终端设备从第一基站切换至第二基站前与第一基站之间的无线承载,或者上述终端设备从第一基站切换至第二基站后与第二基站之间的无线承载;该终端设备向第二基站发送第一信息,该第一信息包括第一计数值;上述第二基站接收来自终端设备的第一信息;该第二基站根据上述第一信息确定第二基站期望在第一承载上接收的下一个上行数据包的序列号序列号和超帧号。In a third aspect, a data packet transmission method is provided, which 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 aforementioned terminal device, the first base station, and the second base station. A base station, the method includes: the terminal device determines a first count value of a first uplink data packet; the first uplink data packet is the first uplink data packet lost on the first bearer; wherein the first bearer is the terminal The radio bearer between the first base station and the first base station before the device is switched from the first base station to the second base station, or the radio bearer between the above-mentioned terminal device and the second base station after the first base station is switched from the first base station to the second base station; The second base station sends first information, the first information includes a first count value; the second base station receives the first information from the terminal device; the second base station determines based on the first information that the second base station expects to receive on the first bearer The sequence number and superframe number of the next uplink data packet.
上述第三方面提供的技术方案,由终端设备确定同步数据包传输状态的信息,并将其确定的用于同步数据包传输状态的信息,通过用户面承载(终端设备与第二基站之间的无线承载)发送给第二基站,以实现第一基站与第二基站的数据包传输状态同步的同时,降低用于数据包传输状态同步的信息的传输时延,保证终端设备从第一基站切换至第二基站后,第二基站与终端设备数据包的接续传输。In the technical solution provided by the above third aspect, the terminal device determines the information of the synchronization data packet transmission state, and the determined information for the synchronization data packet transmission state is carried by the user plane (the terminal device and the second base station Radio bearer) is sent to the second base station to achieve synchronization of the data packet transmission status of the first base station and the second base station, while reducing the transmission delay of information used for data packet transmission status synchronization, and ensuring that the terminal device is switched from the first base station After arriving at the second base station, the second base station and the terminal equipment data packets are continuously transmitted.
在一种可能的实现方式中,上述方法还包括:第一基站向终端设备发送第二信息,该第二信息用于指示第三信息,该第三信息包括:第一上行数据包的第一序列号或者第一上行数据包的第二计数值;该终端设备确定第一上行数据包的第一计数值,包括:该终端设备根据所述第二信息确定第一计数值。终端设备可以根据来自第一基站的,第一基站在第一承载上丢失的第一个上行数据包的第一序列号或者第二计数值确定第一上行数据包的第一计数值。通过终端设备与第一基站之间的用户面承载传输用于确定第一上行数据包的第一计数值,以及通过终端设备与第二基站之间的用户面承载传输用于数据包传输状态同步的信息,可以保证用于数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the above method further includes: the first base station sends second information to the terminal device, the second information is used to indicate the third information, and the third information includes: the first uplink data packet The sequence number or the second count value of the first uplink data packet; the terminal device determining the first count value of the first uplink data packet includes: the terminal device determines the first count value according to the second information. The terminal device may determine the first count value of the first uplink data packet according to the first sequence number or the second count value of the first uplink data packet lost by the first base station on the first bearer from the first base station. The user plane bearer transmission between the terminal device and the first base station is used to determine the first count value of the first uplink data packet, and the user plane bearer transmission between the terminal device and the second base station is used for data packet transmission status synchronization It can ensure the low-latency transmission of information used for data packet transmission status synchronization.
在一种可能的实现方式中,上述第三信息包括第一上行数据包的第一序列号,该终端设备根据第二信息确定第一计数值,包括:该终端设备根据第一序列号以及和该第一序列号对应的超帧号确定第一计数值;或者,上述第三信息包括第一上行数据包 的第二计数值,该终端设备根据第二信息确定第一计数值,包括:该终端设备确定上述第二计数值为第一计数值。终端设备可以根据来自第一基站的,第一基站在第一承载上丢失的第一个上行数据包的第一序列号以及与第一序列号对应的超帧号,或者第一基站在第一承载上丢失的第一个上行数据包的第二计数值确定第一上行数据包的第一计数值。In a possible implementation manner, the above-mentioned third information includes the first sequence number of the first uplink data packet, and the terminal device determines the first count value according to the second information, including: the terminal device according to the first sequence number and The superframe number corresponding to the first sequence number determines the first count value; or, the third information includes the second count value of the first uplink data packet, and the terminal device determines the first count value according to the second information, including: The terminal device determines that the second count value is the first count value. The terminal equipment can be based on the first sequence number of the first uplink data packet that the first base station loses on the first bearer from the first base station and the superframe number corresponding to the first sequence number, or the first base station is in the first The second count value of the first uplink data packet lost on the bearer determines the first count value of the first uplink data packet.
在一种可能的实现方式中,终端设备确定第一上行数据包的第一计数值,包括:该终端设备将该终端设备未通过第一承载接收到来自第一基站确认消息的上行数据包的计数值作为第一计数值;或者,该终端设备将该终端设备即将通过第一承载待发送的下一个上行数据包的计数值作为第一计数值。终端设备可以根据其是否接收到来自第一基站的,对于上行数据包的确认消息,确定第一上行数据包以及该第一上行数据包的第一计数值。以便终端设备可以通过终端设备与第二基站之间的用户面承载传输用于数据包传输状态同步的信息,可以保证用于数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the terminal device determining the first count value of the first uplink data packet includes: the terminal device indicates that the terminal device has not received the uplink data packet from the first base station confirmation message through the first bearer. The count value is used as the first count value; or, the terminal device uses the count value of the next uplink data packet to be sent by the terminal device through the first bearer as the first count value. The terminal device may determine the first uplink data packet and the first count value of the first uplink data packet according to whether it has received the confirmation message for the uplink data packet from the first base station. In this way, the terminal device can transmit the information used for the synchronization of the data packet transmission state through the user plane bearer between the terminal device and the second base station, which can ensure low-latency transmission of the information used for the synchronization of the data packet transmission state.
在一种可能的实现方式中,上述方法还包括:终端设备向第二基站发送第四信息,该第四信息包括第二序列号和该第二序列号对应的超帧号,该第二序列号是终端设备丢失的第一个下行数据包的序列号;第二基站根据上述第二序列号和该第二序列号对应的超帧号确定第二基站向终端设备发送的下一个下行数据包的序列号和超帧号。该方案中,终端设备还可以通过终端设备与第二基站之间的用户面承载传输终端设备在第一承载上丢失的第一个下行数据包的计数值,用于数据包传输状态的同步,可以保证用于数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the above method further includes: the terminal device sends fourth information to the second base station, the fourth information including the second sequence number and the superframe number corresponding to the second sequence number, and the second sequence The number is the sequence number of the first downlink data packet lost by the terminal device; the second base station determines the next downlink data packet sent by the second base station to the terminal device according to the second sequence number and the superframe number corresponding to the second sequence number The serial number and superframe number. In this solution, the terminal device can also transmit the count value of the first downlink data packet that the terminal device loses on the first bearer through the user plane bearer between the terminal device and the second base station, for synchronization of the data packet transmission status, It can ensure the low-latency transmission of information used for data packet transmission status synchronization.
在一种可能的实现方式中,终端设备向第二基站发送第一信息,包括:该终端设备向第二基站发送切换确认消息,该切换确认消息携带有第一信息。该方案中,终端设备可以通过用户面承载的切换确认消息携带用于数据包传输状态同步的第一信息,保证数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the terminal device sending the first information to the second base station includes: the terminal device sends a handover confirmation message to the second base station, where the handover confirmation message carries the first information. In this solution, the terminal device can carry the first information for the synchronization of the data packet transmission status through the handover confirmation message carried by the user plane, so as to ensure the low-latency transmission of the information for the synchronization of the data packet transmission status.
在一种可能的实现方式中,终端设备向第二基站发送第一信息,包括:该终端设备向第二基站发送包数据汇聚协议PDCP数据包,该PDCP数据包携带有上述第一信息。该方案中,终端设备可以通过用户面承载的PDCP数据包携带用于数据包传输状态同步的第一信息,保证数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the terminal device sending the first information to the second base station includes: the terminal device sends a Packet Data Convergence Protocol PDCP data packet to the second base station, and the PDCP data packet carries the foregoing first information. In this solution, the terminal device may carry the first information for synchronization of the transmission state of the data packet through the PDCP data packet carried by the user plane, so as to ensure the low-latency transmission of the information for the synchronization of the transmission state of the data packet.
在一种可能的实现方式中,终端设备向第二基站发送第四信息,包括:该终端设备向第二基站发送包数据汇聚协议PDCP数据包,该PDCP数据包携带有第四信息;或者,该终端设备向第二基站发送切换确认消息,该切换确认消息携带有上述第四信息。该方案中,终端设备可以通过用户面承载的PDCP数据包携带用于数据包传输状态同步的第四信息,保证数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the terminal device sending the fourth information to the second base station includes: the terminal device sending a Packet Data Convergence Protocol PDCP data packet to the second base station, the PDCP data packet carrying the fourth information; or, The terminal device sends a handover confirmation message to the second base station, where the handover confirmation message carries the foregoing fourth information. In this solution, the terminal device may carry the fourth information for synchronization of the data packet transmission state through the PDCP data packet carried by the user plane, so as to ensure the low-latency transmission of the information for the synchronization of the data packet transmission state.
在一种可能的实现方式中,上述方法还包括:第一基站向第二基站发送第一消息,该第一消息包括缓存在所述第一基站中的至少一个第二数据包;该第二数据包括第一基站已发送给终端设备,但是未接收到终端设备的确认消息的数据包,该第一消息还包括上述至少一个第二数据包的序列号;第二基站根据上述至少一个第二数据包的序列号确定第二基站向终端设备发送的下一个下行数据包的序列号。第二基站可以通过第二基站与第一基站之间的用户面承载接收来自第一基站的用于进行数据包传输状态 同步的信息,保证用于数据包传输状态同步的信息的低时延传输,保证终端设备从第一基站切换至第二基站与终端设备数据包的接续传输。In a possible implementation, the above method further includes: the first base station sends a first message to the second base station, where the first message includes at least one second data packet buffered in the first base station; The data includes a data packet that the first base station has sent to the terminal device but has not received the confirmation message of the terminal device. The first message also includes the sequence number of the at least one second data packet; the second base station is based on the at least one second data packet. The sequence number of the data packet determines the sequence number of the next downlink data packet sent by the second base station to the terminal device. The second base station can receive the information used for data packet transmission status synchronization from the first base station through the user plane bearer between the second base station and the first base station, so as to ensure low-latency transmission of the information used for data packet transmission status synchronization , To ensure that the terminal equipment switches from the first base station to the second base station and the terminal equipment data packet connection transmission.
第四方面,提供一种终端设备,该终端设备包括:存储器,用于存储计算机程序代码,该计算机程序代码包括指令;射频电路,用于进行无线信号的发送和接收;处理器,用于执行上述指令,使得终端设备执行第一方面任一种可能的实现方式中的数据包传输方法。In a fourth aspect, a terminal device is provided. The terminal device includes: a memory for storing computer program code, the computer program code including instructions; a radio frequency circuit for transmitting and receiving wireless signals; a processor for executing The foregoing instructions enable the terminal device to execute the data packet transmission method in any possible implementation manner of the first aspect.
第五方面,提供一种第二基站,该第二基站包括:存储器,用于存储计算机程序代码,该计算机程序代码包括指令;射频电路,用于进行无线信号的发送和接收;处理器,用于执行上述指令,使得第二基站执行第二方面任一种可能的实现方式中的数据包传输方法。In a fifth aspect, a second base station is provided. The second base station includes: a memory for storing computer program code, the computer program code including instructions; a radio frequency circuit for transmitting and receiving wireless signals; a processor, By executing the foregoing instructions, the second base station executes the data packet transmission method in any possible implementation manner of the second aspect.
第六方面,提供一种第一系统,该第一系统包括终端设备、第一基站和第二基站,该第一系统用于执行第三方面任一种可能的实现方式中的数据包传输方法。In a sixth aspect, a first system is provided, the first system includes a terminal device, a first base station, and a second base station, and the first system is used to execute the data packet transmission method in any possible implementation manner of the third aspect .
第七方面,提供一种数据包传输方法,该方法应用于终端设备从第一基站切换至第二基站的过程中,该方法包括:第一基站确定第三信息,该第三信息包括第一数据包的计数值,以及第二数据包的计数值,该第一数据包是上述第一基站期望通过第一承载从终端设备接收的下一个上行数据包,该第二数据包是该第一基站即将通过第一承载向终端设备发送的下一个下行数据包,上述第一承载是终端设备与该第一基站之间的无线承载;所述第一基站通过用户面通用分组无线业务隧道协议GTP-U隧道向第二基站发送第一消息,该第一消息携带有上述第三信息。其中,上述GTP-U隧道为第一基站与第二基站之间的用户面业务隧道。In a seventh aspect, a data packet transmission method is provided, which is applied to a process in which a terminal device is handed over from a first base station to a second base station. The method includes: the first base station determines third information, and the third information includes the first The count value of the data packet, and the count value of the second data packet, the first data packet is the next uplink data packet that the first base station expects to receive from the terminal device through the first bearer, and the second data packet is the first The base station is about to send the next downlink data packet to the terminal device through the first bearer. The first bearer is a radio bearer between the terminal device and the first base station; the first base station uses the user plane General Packet Radio Service Tunneling Protocol GTP The -U tunnel sends a first message to the second base station, and the first message carries the aforementioned third information. Wherein, the aforementioned GTP-U tunnel is a user plane service tunnel between the first base station and the second base station.
上述第七方面提供的技术方案,第二基站可以通过第二基站与第一基站之间的用户面GTP隧道接收来自第一基站的,用于数据包传输状态同步的信息,可以保证用于数据包传输状态同步的信息的低时延传输。According to the technical solution provided by the seventh aspect, the second base station can receive the information from the first base station for data packet transmission status synchronization through the user plane GTP tunnel between the second base station and the first base station, which can ensure that it is used for data Low-latency transmission of information synchronized with packet transmission status.
在一种可能的实现方式中,第一基站通过用户面通用分组无线业务隧道协议GTP-U隧道向第二基站发送第一消息,包括:该第一基站通过该第一基站与第二基站之间的GTP-U隧道向第二基站发送第一消息;或者,该第一基站通过该第一基站与数据网关之间的GTP-U隧道向数据网关发送上述第一消息,使得该数据网关通过该数据网关与第二基站之间的GTP-U隧道,向第二基站发送上述第一消息。第二基站可以通过第二基站与第一基站之间的用户面GTP隧道接收来自第一基站的,用于数据包传输状态同步的信息,可以保证用于数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the first base station sends the first message to the second base station through the user plane General Packet Radio Service Tunneling Protocol GTP-U tunnel, including: the first base station passes through the communication between the first base station and the second base station. The first message is sent to the second base station through the GTP-U tunnel between the first base station and the data gateway; or, the first base station sends the first message to the data gateway through the GTP-U tunnel between the first base station and the data gateway, so that the data gateway passes through The GTP-U tunnel between the data gateway and the second base station sends the above-mentioned first message to the second base station. The second base station can receive the information used for data packet transmission status synchronization from the first base station through the user plane GTP tunnel between the second base station and the first base station, which can ensure the low time of the information used for data packet transmission status synchronization Delay transmission.
在一种可能的实现方式中,上述第三信息封装在第一消息的GTP-U协议的无线扩展头中。通过对现有的GTP-U协议进行扩展,使得该第一消息可以携带第三信息。In a possible implementation manner, the foregoing third information is encapsulated in a wireless extension header of the GTP-U protocol of the first message. By extending the existing GTP-U protocol, the first message can carry third information.
在一种可能的实现方式中,上述无线扩展头中还包括第一指示信息,该第一指示信息用于指示该无线扩展头中包括上述第三信息。通过对现有的GTP-U协议进行扩展,使得该第一消息可以携带用于指示该第一消息携带有第三信息的指示信息,以便第二基站可以根据该指示信息从第一消息中读取第三信息,提高第二基站获取第三信息的效率。In a possible implementation manner, the foregoing wireless extension header further includes first indication information, and the first indication information is used to indicate that the wireless extension header includes the foregoing third information. By extending the existing GTP-U protocol, the first message can carry indication information indicating that the first message carries third information, so that the second base station can read from the first message according to the indication information Taking the third information improves the efficiency of the second base station for obtaining the third information.
在一种可能的实现方式中,上述第一基站通过GTP-U隧道向第二基站发送多个上述第一消息。为了提高用于数据包传输状态同步的信息的传输成功,可以采用同样的 用户面承载多次传输上述第一消息。In a possible implementation manner, the foregoing first base station sends a plurality of the foregoing first messages to the second base station through a GTP-U tunnel. In order to improve the successful transmission of the information used for data packet transmission status synchronization, the same user plane bearer may be used to transmit the above-mentioned first message multiple times.
在一种可能的实现方式中,上述方法还包括:上述第一基站通过移动性管理网元向第二基站发送第一消息,该移动性管理网元是终端设备服务的移动性管理网元。该方案支持通过多条承载传输第一消息,以便第二基站可以根据最先接收到的第一消息进行数据包传输状态的同步,提高数据包传输状态同步的效率。In a possible implementation manner, the above method further includes: the first base station sends a first message to the second base station through a mobility management network element, and the mobility management network element is a mobility management network element served by the terminal device. This solution supports the transmission of the first message through multiple bearers, so that the second base station can synchronize the data packet transmission state according to the first message received first, and improve the efficiency of the data packet transmission state synchronization.
第八方面,提供一种数据包传输方法,该方法应用于终端设备从第一基站切换至第二基站的过程中,该方法包括:该第二基站通过用户面通用分组无线业务隧道协议GTP-U隧道接收来自第一基站的第一消息,该第一消息包括第三信息,该第三信息包括第一数据包的计数值,以及第二数据包的计数值,该第一数据包是第一基站期望通过第一承载从终端设备接收的下一个上行数据包,该第二数据包是第一基站即将通过上述第一承载向终端设备发送的下一个下行数据包,该第一承载是终端设备与第一基站之间的无线承载;该第二基站根据上述第三信息确定该第二基站期望通过第二承载上从终端设备接收的下一个上行数据包的计数值,以及所述第二基站即将通过所述第二承载向所述终端设备发送的下一个下行数据包的计数值;上述第二承载是在终端设备从所述第一基站切换到第二基站后,终端设备与第二基站之间建立的与第一承载对应的无线承载。In an eighth aspect, a data packet transmission method is provided, which 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 second base station uses the user plane General Packet Radio Service Tunneling Protocol GTP- The U tunnel receives the first message from the first base station, the first message includes third information, the third information includes the count value of the first data packet, and the count value of the second data packet, the first data packet is the first A base station expects to receive the next uplink data packet from the terminal device via the first bearer. The second data packet is the next downlink data packet that the first base station will send to the terminal device via the first bearer. The first bearer is the terminal device. The radio bearer between the device and the first base station; the second base station determines, according to the above third information, the count value of the next uplink data packet that the second base station expects to receive from the terminal device on the second bearer, and the second The count value of the next downlink data packet that the base station is about to send to the terminal device through the second bearer; the above-mentioned second bearer means that after the terminal device is handed over from the first base station to the second base station, the terminal device and the second base station A radio bearer corresponding to the first bearer established between the base stations.
上述第八方面提供的技术方案,第二基站可以通过第二基站与第一基站之间的用户面GTP隧道接收来自第一基站的,用于数据包传输状态同步的信息,可以保证用于数据包传输状态同步的信息的低时延传输。According to the technical solution provided by the above eighth aspect, the second base station can receive the information from the first base station for data packet transmission status synchronization through the user plane GTP tunnel between the second base station and the first base station, which can be guaranteed to be used for data Low-latency transmission of information synchronized with packet transmission status.
在一种可能的实现方式中,上述第二基站从用户面通用分组无线业务隧道协议GTP-U隧道上接收来自第一基站的第一消息,包括:该第二基站通过第一基站与该第二基站之间的直接GTP-U隧道接收来自第一基站的第一消息;或者,该第二基站通过第二基站与网关设备之间的GTP-U隧道接收上述第一消息;该第一消息通过第一基站与网关设备之间的GTP-U隧道,从第一基站传输至网关设备。第二基站可以通过第二基站与第一基站之间的用户面GTP隧道接收来自第一基站的,用于数据包传输状态同步的信息,可以保证用于数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the above-mentioned second base station receives the first message from the first base station over the user plane General Packet Radio Service Tunneling Protocol GTP-U tunnel, including: the second base station communicates with the second base station through the first base station. The direct GTP-U tunnel between the two base stations receives the first message from the first base station; or, the second base station receives the first message through the GTP-U tunnel between the second base station and the gateway device; the first message The GTP-U tunnel between the first base station and the gateway device is transmitted from the first base station to the gateway device. The second base station can receive the information used for data packet transmission status synchronization from the first base station through the user plane GTP tunnel between the second base station and the first base station, which can ensure the low time of the information used for data packet transmission status synchronization Delay transmission.
在一种可能的实现方式中,上述第三信息封装在第一消息的GTP-U协议的无线扩展头中。通过对现有的GTP-U协议进行扩展,使得该第一消息可以携带第三信息。In a possible implementation manner, the foregoing third information is encapsulated in a wireless extension header of the GTP-U protocol of the first message. By extending the existing GTP-U protocol, the first message can carry third information.
在一种可能的实现方式中,上述无线扩展头中还包括第一指示信息,该第一指示信息用于指示上述无线扩展头中包括第三信息。通过对现有的GTP-U协议进行扩展,使得该第一消息可以携带用于指示该第一消息携带有第三信息的指示信息,以便第二基站可以根据该指示信息从第一消息中读取第三信息,提高第二基站获取第三信息的效率。In a possible implementation manner, the above-mentioned wireless extension header further includes first indication information, and the first indication information is used to indicate that the above-mentioned wireless extension header includes third information. By extending the existing GTP-U protocol, the first message can carry indication information indicating that the first message carries third information, so that the second base station can read from the first message according to the indication information Taking the third information improves the efficiency of the second base station for obtaining the third information.
在一种可能的实现方式中,上述第二基站通过GTP-U隧道接收来自第一基站的多个第一消息。为了提高用于数据包传输状态同步的信息的传输成功率,可以采用同样的用户面承载多次传输上述第一消息。In a possible implementation manner, the foregoing second base station receives multiple first messages from the first base station through the GTP-U tunnel. In order to improve the transmission success rate of the information used for data packet transmission status synchronization, the same user plane bearer may be used to transmit the foregoing first message multiple times.
在一种可能的实现方式中,上述方法还包括:上述第二基站从移动性管理网元接收上述第一消息,该移动性管理网元是终端设备服务的移动性管理网元。该方案支持通过多条承载传输第一消息,以便第二基站可以根据最先接收到的第一消息进行数据 包传输状态的同步,提高数据包传输状态同步的效率。其中,移动性管理网元主要用于终端设备的接入控制和移动性管理。常规的切换过程中,第二基站可以通过移动性管理网元从第一基站接收用于据包传输状态同步的信息,该传输通道为用户面网元与控制面网元之间的传输通道。In a possible implementation manner, the above method further includes: the second base station receives the first message from a mobility management network element, and the mobility management network element is a mobility management network element served by a terminal device. This solution supports the transmission of the first message through multiple bearers, so that the second base station can synchronize the data packet transmission status according to the first message received first, and improve the efficiency of data packet transmission status synchronization. Among them, the mobility management network element is mainly used for access control and mobility management of terminal equipment. In a conventional handover process, the second base station can receive the information used for packet transmission status synchronization from the first base station through the mobility management network element, and the transmission channel is the transmission channel between the user plane network element and the control plane network element.
在一种可能的实现方式中,上述方法还包括:上述第二基站从第一基站接收到第一个第一消息后,该第二基站丢弃在第一个所述第一消息之后,该第二基站接收到的第一消息。该方案支持通过多条承载传输第一消息,以便第二基站可以根据最先接收到的第一消息进行数据包传输状态的同步,提高数据包传输状态同步的效率。In a possible implementation, the above method further includes: after the second base station receives the first first message from the first base station, the second base station discards the first message after the first The first message received by the second base station. This solution supports the transmission of the first message through multiple bearers, so that the second base station can synchronize the data packet transmission state according to the first message received first, and improve the efficiency of the data packet transmission state synchronization.
第九方面,提供一种终端设备,该终端设备包括:存储器,用于存储计算机程序代码,该计算机程序代码包括指令;射频电路,用于进行无线信号的发送和接收;处理器,用于执行上述指令,使得终端设备执行第七方面任一种可能的实现方式中的数据包传输方法。In a ninth aspect, a terminal device is provided. The terminal device includes: a memory for storing computer program code, the computer program code including instructions; a radio frequency circuit for transmitting and receiving wireless signals; and a processor for executing The foregoing instructions enable the terminal device to execute the data packet transmission method in any possible implementation manner of the seventh aspect.
第十方面,提供一种第二基站,该第二基站包括:存储器,用于存储计算机程序代码,该计算机程序代码包括指令;射频电路,用于进行无线信号的发送和接收;处理器,用于执行上述指令,使得第二基站执行第八方面任一种可能的实现方式中的数据包传输方法。In a tenth aspect, a second base station is provided. The second base station includes: a memory for storing computer program code, the computer program code including instructions; a radio frequency circuit for sending and receiving wireless signals; a processor for By executing the foregoing instructions, the second base station executes the data packet transmission method in any possible implementation manner of the eighth aspect.
第十一方面,提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机执行指令,该计算机执行指令被处理器执行时实现如第一方面、第二方面、第三方面、第七方面或第八方面任一种可能的实现方式中的数据包传输方法。In an eleventh aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are executed by a processor, the first aspect, the second aspect, the third aspect, and the A data packet transmission method in any possible implementation manner of the seventh aspect or the eighth aspect.
第十二方面,提供一种芯片系统,该芯片系统包括处理器、存储器,存储器中存储有指令;所述指令被所述处理器执行时,实现如第一方面、第二方面、第三方面、第七方面或第八方面任一种可能的实现方式中的数据包传输方法。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。In a twelfth aspect, a chip system is provided. The chip system includes a processor and a memory, and instructions are stored in the memory; when the instructions are executed by the processor, the first, second, and third aspects are implemented. , The data packet transmission method in any possible implementation manner of the seventh aspect or the eighth aspect. The chip system can be composed of chips, or can include chips and other discrete devices.
第十三方面,提供一种计算机程序产品,提供一种计算机程序产品,当其在计算机上运行时,使得第一方面、第二方面、第三方面、第七方面或第八方面任一种可能的实现方式中的数据包传输方法。例如,该计算机可以是至少一个存储节点。In a thirteenth aspect, a computer program product is provided, and a computer program product is provided that, when it runs on a computer, makes any one of the first, second, third, seventh, or eighth aspects Data packet transmission method in possible implementations. For example, the computer may be at least one storage node.
附图说明Description of the drawings
图1为本申请实施例提供的一种数据包传输方法的应用网络服务架构示意图;FIG. 1 is a schematic diagram of an application network service architecture of a data packet transmission method provided by an embodiment of this application;
图2为本申请实施例提供的一种终端设备的硬件结构示意图;2 is a schematic diagram of the hardware structure of a terminal device provided by an embodiment of the application;
图3为本申请实施例提供的一种常规的S1切换流程图;FIG. 3 is a conventional S1 handover flowchart provided by an embodiment of the application;
图4为本申请实施例提供的一种COUNT结构示意图;FIG. 4 is a schematic diagram of a COUNT structure provided by an embodiment of this application;
图5A为本申请实施例提供的游戏场景下终端设备进行跨基站切换时的数据包传输时延示意图;5A is a schematic diagram of data packet transmission delay when a terminal device performs cross-base station handover in a game scenario provided by an embodiment of the application;
图5B为本申请实施例提供的数据下载场景下终端设备进行跨基站切换时的数据包传输时延示意图;5B is a schematic diagram of data packet transmission delay when a terminal device performs cross-base station handover in a data download scenario provided by an embodiment of the application;
图6为本申请实施例提供的一种数据包传输方法流程图一;FIG. 6 is a first flowchart of a data packet transmission method provided by an embodiment of the application;
图7为本申请实施例提供的一种S1切换流程图一;FIG. 7 is a first flow chart of S1 handover provided by an embodiment of this application;
图8为本申请实施例提供的一种S1切换流程图二;FIG. 8 is a second flow chart of S1 handover provided by an embodiment of this application;
图9为本申请实施例提供的一种PDCP数据包格式示意图;FIG. 9 is a schematic diagram of a PDCP data packet format provided by an embodiment of the application;
图10A为本申请实施例提供的数据包传输方法流程图二;10A is a second flowchart of a data packet transmission method provided by an embodiment of this application;
图10B为本申请实施例提供的一种S1切换流程图三;FIG. 10B is a third flow chart of S1 handover provided by an embodiment of this application;
图11为本申请实施例提供的数据包传输方法流程图三;FIG. 11 is a third flowchart of a data packet transmission method provided by an embodiment of this application;
图12为本申请实施例提供的数据包传输方法流程图四;FIG. 12 is a fourth flowchart of a data packet transmission method provided by an embodiment of this application;
图13A为本申请实施例提供的一种S1切换流程图四;FIG. 13A is a fourth flow chart of S1 handover provided by an embodiment of this application;
图13B为本申请实施例提供的数据包传输方法流程图五;FIG. 13B is a fifth flowchart of a data packet transmission method provided by an embodiment of this application;
图14为本申请实施例提供的一种第一消息的GTP-U协议的无线扩展头编码格式示例图;14 is a diagram of an example of a wireless extension header encoding format of the GTP-U protocol of the first message provided by an embodiment of the application;
图15为本申请实施例提供的一种S1切换流程图五;FIG. 15 is a fifth flow chart of S1 handover provided by an embodiment of this application;
图16为本申请实施例提供的一种S1切换流程图六;FIG. 16 is a sixth flow chart of S1 handover provided by an embodiment of this application;
图17为本申请实施例提供的一种终端设备的结构示意图。FIG. 17 is a schematic structural diagram of a terminal device provided by an embodiment of this application.
具体实施方式detailed description
本申请实施例提供一种数据包传输方法,该方法应用于终端设备从源基站切换至目标基站的过程中。其中,本申请实施例以第一基站为源基站,第二基站为目标基站为例。The embodiment of the present application provides a data packet transmission method, which is applied to a process in which a terminal device is handed over from a source base station to a target base station. Among them, the embodiment of the present application takes the first base station as the source base station and the second base station as the target base station as an example.
请参考图1,如图1所示,为本申请实施例提供的一种数据包传输方法的应用网络服务架构示意图。其中,图1以第五代(5th generation,5G)移动通信系统的网络服务架构为例展示了网络功能和实体之间的交互关系以及对应的接口。其中,5G系统的第三代合作伙伴项目(the 3rd Generation Partnership Project,3GPP)基于服务的网络架构(service-based architecture,SBA)包含的网络功能和实体主要包括:终端设备(Terminal Equipment,TE)、接入网(Access Network,AN)或无线接入网(Radio Access Network,RAN)、用户面功能(User Plane Function,UPF)、数据网络(Data Network,DN)、接入管理功能(Access Management Function,AMF)、会话管理功能SMF、认证服务功能(Authentication Server Function,AUSF)、策略控制功能(Policy Control Function,PCF)、应用功能(Application Function,AF)、网络切片选择功能(Network Slice Selection Function,NSSF)、统一数据管理(Unified Data Management,UDM)、网络开放功能(Network Exposure Function,NEF)和网络存储功能(NF Repository Function,NRF)。Please refer to FIG. 1, as shown in FIG. 1, which is a schematic diagram of an application network service architecture of a data packet transmission method provided by an embodiment of this application. Among them, Figure 1 uses the network service architecture of the 5th generation (5G) mobile communication system as an example to show the interaction between network functions and entities and the corresponding interfaces. Among them, the 3rd Generation Partnership Project (3GPP) service-based 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 (DN), Access Management Function (Access Management) Function, AMF), session management function SMF, authentication service function (Authentication Server 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 (UDM), Network Exposure Function (NEF) and Network Storage Function (NF Repository Function, NRF).
其中,TE、(R)AN、UPF和DN一般被称为用户面网络功能和实体(或者用户面网元),其他的部分则一般被称为控制面网络功能和实体(或者控制面网元)。控制面网元由3GPP定义了在一个网络里的处理功能,控制面网元具有3GPP定义的功能行为和3GPP定义的接口,网络功能能够作为一个运行在专有硬件上的网络元素,或者运行在专有硬件上的软件实例,或者在一个合适平台上进行实例化的虚拟功能,比如在一个云基础设备被实施。Among them, TE, (R)AN, UPF and DN are generally called user plane network functions and entities (or user plane network elements), and the other parts are generally called control plane network functions and entities (or control plane network elements). ). The control plane network element is defined by 3GPP for processing functions in a network. The control plane network element has 3GPP-defined functional behavior and 3GPP-defined interface. The network function can be used as a network element running on proprietary hardware, or running on Software instances on proprietary hardware, or virtual functions instantiated on a suitable platform, such as implemented on a cloud infrastructure device.
下面对各个网元的主要功能做具体介绍。The main functions of each network element are described in detail below.
(R)AN:(R)AN可以是AN,也可以是RAN。具体的,(R)AN可以是各种形式的基站,例如:宏基站,微基站,分散单元-控制单元(distribute unit-control unit,DU-CU)等,其中,DU-CU是一种部署在无线接入网中能够和TE进行无线通信的设备。另外,上述基站还可以是云无线接入网络(cloud radio access network,CRAN)场景下的无 线控制器,或者中继站、接入点、车载设备、可穿戴设备或者未来演进的公共陆地移动网络(public land mobile network,PLMN)网络中的网络设备等。(R)AN主要负责空口侧的无线资源管理、服务质量管理、数据压缩和加密等。需要说明的是,在采用不同的无线接入技术的系统中,具备基站功能的设备的名称可能会有所不同。例如,基站可以是长期演进技术(Long Term Evolution,LTE)中的演进型基站(evolutional NodeB,eNB或e-NodeB),也可以是5G系统中的gNB等。(R)AN: (R)AN can be AN or RAN. Specifically, (R)AN can be various forms of base stations, such as: macro base station, micro base station, distributed unit-control unit (DU-CU), etc., among which DU-CU is a deployment A device capable of wireless communication with TE in a wireless access network. In addition, the aforementioned base station may also be a wireless controller in a cloud radio access network (CRAN) scenario, or a relay station, access point, vehicle-mounted device, wearable device, or a public land mobile network (public land mobile network) that will evolve in the future. land mobile network, PLMN) network equipment, etc. in the network. (R)AN is mainly responsible for radio resource management, service quality management, data compression and encryption on the air interface side. It should be noted that the names of devices with base station functions may be different in systems that use different wireless access technologies. For example, the base station may be an evolved base station (evolutional NodeB, eNB, or e-NodeB) in Long Term Evolution (LTE), or a gNB in a 5G system.
UPF:主要负责用户数据的转发和接收。UPF可以接收来自DN的下行数据,然后通过(R)AN将该下行数据传输给TE。UPF还可以通过(R)AN接收来自TE的收上行数据,然后将该上行数据转发到DN。UPF: Mainly responsible for the forwarding and receiving of user data. UPF can receive downlink data from DN, and then transmit the downlink data to TE through (R)AN. UPF can also receive uplink data from TE through (R)AN, and then forward the uplink data to DN.
DN:例如:DN可以是运营商服务网络、互联网接入或第三方服务网络等。DN可以通过PDU会话与TE进行信息交互。其中,PDU会话可以分为多种类型,如互联网协议版本4(Internet Protocol Version 4,IPv4)、IPv6等。DN: For example, DN can be an operator service network, Internet access, or a third-party service network. DN can exchange information with TE through PDU session. Among them, PDU sessions can be divided into multiple types, such as Internet Protocol Version 4 (IPv4), IPv6, and so on.
AMF:主要负责控制面消息的处理,例如:接入控制、移动性管理、附着与去附着以及网关选择等。AMF: Mainly responsible for the processing of control plane messages, such as: access control, mobility management, attach and detach, and gateway selection.
SMF:主要用于会话管理,会话建立,TE的IP地址分配和管理等。SMF: Mainly used for session management, session establishment, TE IP address allocation and management, etc.
AUSF:主要负责网络安全,用于产生密钥,实现对于TE的双向鉴权等。AUSF: Mainly responsible for network security, used to generate keys and realize two-way authentication for TE.
PCF:主要用于管理策略规则,管理用户订阅信息等。PCF: Mainly used to manage policy rules, manage user subscription information, etc.
UDM:主要用于鉴权信用处理,用户标识处理,访问授权,注册/移动性管理,订阅管理和短消息管理等。UDM: Mainly used for authentication and credit processing, user identification processing, access authorization, registration/mobility management, subscription management and short message management, etc.
NEF:主要用于监控、计费等。NEF: Mainly used for monitoring, billing, etc.
NRF:主要用于提供内部/外部寻址功能等。其中,图1中的NSSF和AF等其他网元的功能,可以参考常规技术中的相关描述,这里不再赘述。NRF: Mainly used to provide internal/external addressing functions. For the functions of other network elements such as NSSF and AF in FIG. 1, reference may be made to related descriptions in the conventional technology, which will not be repeated here.
其中,图1所示的TE和(R)AN之间可以采用空口技术相互通信。如图1所示,N1为TE和AMF之间的参考点,N2为(R)AN和AMF之间的参考点,N3为(R)AN和UPF之间的参考点,N4为SMF和UPF之间的参考点,N6为UPF为DN之间的参考点。图1所示的Namf为AMF提供的基于服务的接口,Nsmf为SMF提供的基于服务的接口,Nausf为AUSF提供的基于服务的接口,Nnssf为NSSF提供的基于服务的接口,Nnef为NEF提供的基于服务的接口,Nnrf为NRF提供的基于服务的接口,Npcf为PCF提供的基于服务的接口,Nudm为UDM提供的基于服务的接口,Naf为AF提供的基于服务的接口。Wherein, the TE and (R)AN shown in FIG. 1 can communicate with each other by air interface technology. As shown in Figure 1, N1 is the reference point between TE and AMF, N2 is the reference point between (R)AN and AMF, N3 is the reference point between (R)AN and UPF, and N4 is the reference point between SMF and UPF. The reference point between DN, N6 is the reference point between UPF and DN. As shown in Figure 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, Nnssf is a service-based interface provided by NSSF, and Nnef is a service-based interface provided by NEF. Service-based interface, Nnrf is the service-based interface provided by NRF, Npcf is the service-based interface provided by PCF, Nudm is the service-based interface provided by UDM, and Naf is the service-based interface provided by AF.
需要说明的是,上述图1仅作为一种网络服务架构示例。本申请实施例中的终端设备可以为图1所示的TE,源基站(即第一基站)和目标基站(即第二基站)可以为图1所示的R(AN)。本申请实施例提供的数据包传输方法还可以应用于其他网络架构。例如,第四代(4th-Generation,4G)移动通信系统的网络架构。或者,申请实施例的数据包传输方法还可以应用于第五代之后发展的其他移动通信系统,本申请实施例对此不作限定。It should be noted that the foregoing Figure 1 is only an example of a network service architecture. The terminal device in the embodiment of the present application may be the TE shown in FIG. 1, and the source base station (ie, the first base station) and the target base station (ie, the second base station) may be R(AN) shown in FIG. The data packet transmission method provided in the embodiments of the present application can also be applied to other network architectures. For example, the network architecture of the fourth-generation (4th-Generation, 4G) mobile communication system. Alternatively, the data packet transmission method of the application embodiment can also be applied to other mobile communication systems developed after the fifth generation, which is not limited in the embodiment of the application.
在本申请实施例中,终端设备可以是上网本、平板电脑、智能手表等。或者,终端设备还可以是其他具有无线电通信功能的桌面型设备、膝上型设备、手持型设备、可穿戴设备、智能家居设备和车载型设备等,例如超级移动个人计算机(Ultra-mobile  Personal Computer,UMPC)、智能相机、上网本、个人数字助理(Personal Digital Assistant,PDA)、便携式多媒体播放器(Portable Multimedia Player,PMP)、AR(增强现实)/VR(虚拟现实)设备、飞行器、机器人等。本申请实施例对终端设备的具体类型和结构等不作限定。In the embodiment of this application, the terminal device may be a netbook, a tablet computer, a smart watch, etc. Alternatively, the terminal device can also be other desktop devices, laptop devices, handheld devices, wearable devices, smart home devices, and vehicle-mounted devices with radio communication functions, such as Ultra-mobile Personal Computers (Ultra-mobile Personal Computer). , UMPC), smart cameras, netbooks, personal digital assistants (Personal Digital Assistant, PDA), portable multimedia players (Portable Multimedia Player, PMP), AR (augmented reality)/VR (virtual reality) equipment, aircraft, robots, etc. The embodiment of the present application does not limit the specific type and structure of the terminal device.
请参考图2,如图2所示,为本申请实施例提供的一种终端设备的硬件结构示意图。如图2所示,终端设备100可以包括处理器210,存储器(包括外部存储器接口220和内部存储器221),通用串行总线(universal serial bus,USB)接口230,充电管理模块240,电源管理模块241,电池242,天线1,天线2,移动通信模块250,无线通信模块260,音频模块270,扬声器270A,受话器270B,麦克风270C,耳机接口270D,传感器模块280,按键290,马达291,指示器292,摄像头293,显示屏294,以及用户标识模块(subscriber identification module,SIM)卡接口295等。其中,传感器模块280可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等。Please refer to FIG. 2, as shown in FIG. 2, which is a schematic diagram of the hardware structure of a terminal device provided by an embodiment of this application. 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, and a power management module 241, battery 242, antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, audio module 270, speaker 270A, receiver 270B, microphone 270C, earphone jack 270D, sensor module 280, buttons 290, motor 291, indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc. 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.
可以理解的是,本发明实施例示意的结构并不构成对终端设备100的具体限定。在本申请另一些实施例中,终端设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
处理器210可以包括一个或多个处理单元,例如:处理器210可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 210 may include one or more processing units. For example, the processor 210 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc. Among them, the different processing units may be independent devices or integrated in one or more processors.
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
处理器210中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器210中的存储器为高速缓冲存储器。该存储器可以保存处理器210刚用过或循环使用的指令或数据。如果处理器210需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器210的等待时间,因而提高了系统的效率。The processor 210 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory can store instructions or data that have just been used or recycled by the processor 210. If the processor 210 needs to use the instruction or data again, it can be directly called from the memory. Repeated access is avoided, the waiting time of the processor 210 is reduced, and the efficiency of the system is improved.
在一些实施例中,处理器210可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 210 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous transmitter) interface. receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / Or Universal Serial Bus (USB) interface, etc.
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对终端设备100的结构限定。在本申请另一些实施例中,终端设备100也可 以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely illustrative and does not constitute a structural limitation of the terminal device 100. In other embodiments of the present application, the terminal device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
充电管理模块240用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。电源管理模块241用于连接电池242,充电管理模块240与处理器210。电源管理模块241接收电池242和/或充电管理模块240的输入,为处理器210,内部存储器221,显示屏294,摄像头293,和无线通信模块260等供电。The charging management module 240 is used to receive charging input from the charger. Among them, the charger can 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 charge management module 240, and supplies power to the processor 210, the internal memory 221, the display screen 294, the camera 293, and the wireless communication module 260.
终端设备100的无线通信功能可以通过天线1,天线2,移动通信模块250,无线通信模块260,调制解调处理器以及基带处理器等实现。The wireless communication function of the terminal device 100 can be realized by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor, and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。终端设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the terminal device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块250可以提供应用在终端设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块250可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块250可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块250还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块250的至少部分功能模块可以被设置于处理器210中。在一些实施例中,移动通信模块250的至少部分功能模块可以与处理器210的至少部分模块被设置在同一个器件中。在本申请实施例中,终端设备100可以通过移动通信模块250与第一基站200和/或第二基站300通信。The mobile communication module 250 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the terminal device 100. The mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 250 may be provided in the processor 210. In some embodiments, at least part of the functional modules of the mobile communication module 250 and at least part of the modules of the processor 210 may be provided in the same device. 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.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器270A,受话器270B等)输出声音信号,或通过显示屏294显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器210,与移动通信模块250或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the 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 a sound signal through an audio device (not limited to a speaker 270A, a receiver 270B, etc.), or displays an image or video through the display screen 294. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 210 and be provided in the same device as the mobile communication module 250 or other functional modules.
无线通信模块260可以提供应用在终端设备100上的包括无线局域网(wireless local area networks,WLAN)(如Wi-Fi网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块260可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块260经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器210。无线通信模块260还可以从处理器210接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 260 can provide applications on the terminal device 100 including wireless local area networks (WLAN) (such as Wi-Fi networks), Bluetooth (BT), global navigation satellite system (GNSS) ), frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions. 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, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210. The wireless communication module 260 may also receive the signal to be sent from the processor 210, perform frequency modulation, amplify it, and convert it into electromagnetic wave radiation via the antenna 2.
在一些实施例中,终端设备100的天线1和移动通信模块250耦合,天线2和无线通信模块260耦合,使得终端设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括长期演进(long term evolution,LTE),新无线(New Radio,NR),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。In some embodiments, the antenna 1 of the terminal device 100 is coupled with the mobile communication module 250, and the antenna 2 is coupled with the wireless communication module 260, so that the terminal device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include long term evolution (LTE), New Radio (NR), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc.
终端设备100通过GPU,显示屏294,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏294和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器210可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The terminal device 100 implements a display function through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, connected to the display 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 210 may include one or more GPUs that execute program instructions to generate or change display information.
显示屏294用于显示图像,视频等。显示屏294包括显示面板。在一些实施例中,终端设备100可以包括1个或N个显示屏294,N为大于1的正整数。The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel. In some embodiments, the terminal device 100 may include one or N display screens 294, and N is a positive integer greater than one.
终端设备100可以通过ISP,摄像头293,视频编解码器,GPU,显示屏294以及应用处理器等实现拍摄功能。ISP用于处理摄像头293反馈的数据。摄像头293用于捕获静态图像或视频。在一些实施例中,终端设备100可以包括1个或N个摄像头293,N为大于1的正整数。数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当终端设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。The terminal device 100 may implement a shooting function through an ISP, a camera 293, a video codec, a GPU, a display screen 294, and an application processor. The ISP is used to process the data fed back by the camera 293. The camera 293 is used to capture still images or videos. In some embodiments, the terminal device 100 may include 1 or N cameras 293, and N is a positive integer greater than 1. Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the terminal device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
外部存储器接口220可以用于连接外部存储卡,例如Micro SD卡,实现扩展终端设备100的存储能力。外部存储卡通过外部存储器接口220与处理器210通信,实现数据存储功能。The external memory interface 220 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 100. The external memory card communicates with the processor 210 through the external memory interface 220 to realize the data storage function.
内部存储器221可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器221可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储终端设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器221可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器210通过运行存储在内部存储器221的指令,和/或存储在设置于处理器中的存储器的指令,执行终端设备100的各种功能应用以及数据处理。The internal memory 221 may be used to store computer executable program code, the executable program code including instructions. The internal memory 221 may include a storage program area and a storage data area. Among them, the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function. The data storage area can store data (such as audio data, phone book, etc.) created during the use of the terminal device 100. In addition, the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 210 executes various functional applications and data processing of the terminal device 100 by running instructions stored in the internal memory 221 and/or instructions stored in a memory provided in the processor.
终端设备100可以通过音频模块270,扬声器270A,受话器270B,麦克风270C,耳机接口270D,以及应用处理器等实现音频功能。例如,音乐播放,录音等。The terminal device 100 can implement audio functions through an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, a headset interface 270D, and an application processor. For example, music playback, recording, etc.
按键290包括开机键,音量键等。按键290可以是机械按键。也可以是触摸式按键。马达291可以产生振动提示。指示器292可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。SIM卡接口295用于连接SIM卡。SIM卡可以通过插入SIM卡接口295,或从SIM卡接口295拔出,实现和终端设备100的接触和分离。The button 290 includes a power button, a volume button, and so on. The button 290 may be a mechanical button. It can also be a touch button. The motor 291 can generate vibration prompts. The indicator 292 can be an indicator light, which can be used to indicate the charging status, power change, and can also be used to indicate messages, missed calls, notifications, and so on. The SIM card interface 295 is used to connect to the SIM card. The SIM card can be inserted into the SIM card interface 295 or pulled out from the SIM card interface 295 to achieve contact and separation with the terminal device 100.
本申请实施例提供的数据包传输方法均可以在具有如图2所述的硬件结构的终端设备或者具有类似结构的终端设备中实现。The data packet transmission methods provided in the embodiments of the present application can all be implemented in a terminal device having a hardware structure as shown in FIG. 2 or a terminal device having a similar structure.
需要说明的是,本申请实施例可以应用于核心网控制面拉远部署场景下的跨基站切换过程中,或者应用于其他用户面与数据面数据交互耗时较长的场景下,本申请实施例具体的网络部署场景不作限定。It should be noted that the embodiments of this application can be applied to the cross-base station handover process in the remote deployment scenario of the core network control plane, or to other scenarios where the data interaction between the user plane and the data plane takes a long time. The specific network deployment scenario is not limited.
其中,本申请实施例中的跨基站切换可以是异系统间的跨基站切换。例如,终端设备100由4G LTE系统的第一基站(即源基站)切换至第五代移动通信系统新无线(5th-Generation New Radio,5G NR)系统的第二基站(即目标基站)。Wherein, the cross-base station handover in the embodiment of the present application may be a cross-base station handover between different systems. For example, the terminal device 100 is handed over from the first base station (ie the source base station) of the 4G LTE system to the second base station (ie, the target base station) of the 5th-Generation New Radio (5G NR) system of the fifth-generation mobile communication system.
或者,跨基站切换还可以是系统内的跨基站切换。例如,终端设备100由4G LTE 系统的第一基站(即源基站)到4G LTE系统的第二基站(即目标基站)的切换。其中,S1是基站和服务网关(service gateway,SGW)之间的参考点。终端设备100在4G LTE系统内的跨基站切换可以称为S1切换。又例如,终端设备100由5G NR系统的第一基站(即源基站)到5G NR系统的(即目标基站)第二基站的切换。其中,N2是基站和AMF之间的参考点。终端设备100在5G NR系统内的跨基站切换可以称为N2切换。当然,跨基站切换还可以是其他类型的跨基站切换,本申请实施例对此不作限定。Alternatively, the cross-base station handover may also be the cross-base station handover within the system. For example, the terminal device 100 switches from the first base station (ie, the source base station) of the 4G LTE system to the second base station (ie, the target base station) of the 4G LTE system. Among them, S1 is the reference point between the base station and the service gateway (SGW). The cross-base station handover of the terminal device 100 in the 4G LTE system may be referred to as S1 handover. For another example, the terminal device 100 switches from the first base station of the 5G NR system (that is, the source base station) to the second base station of the 5G NR system (that is, the target base station). Among them, N2 is the reference point between the base station and the AMF. The cross-base station handover of the terminal device 100 in the 5G NR system may be referred to as N2 handover. Of course, the cross-base station handover may also be other types of cross-base station handover, which is not limited in the embodiment of the present application.
示例性的,终端设备100跨基站切换可以是由于过大(如服务小区的定时提前(timing advance,TA)大于预设的TA门限、服务小区的上行链路质量在一定时间内的平均值小于预设的上行链路质量门限、服务小区的下行链路质量在一定时间内的平均值小于预设的下行链路质量门限、终端设备100呼叫过程中电平突然下降至预设电平门限以下、终端设备的接收电平大于或等于预设电平门限,但是传输质量低于预设质量门限或者服务小区的系统信令流量大于预设负荷门限等条件触发的。其中,终端设备100跨基站切换的触发条件包括但不限于上述条件,本申请实施例对此不作限定。Exemplarily, the handover of the terminal device 100 across base stations may be due to excessive (e.g., the timing advance (TA) of the serving cell is greater than the preset TA threshold, and the average value of the uplink quality of the serving cell within a certain period of time is less than The preset uplink quality threshold and the average value of the downlink quality of the serving cell within a certain period of time are less than the preset downlink quality threshold, and the level of the terminal device 100 suddenly drops below the preset level threshold during a call , The receiving level of the terminal equipment is greater than or equal to the preset level threshold, but the transmission quality is lower than the preset quality threshold or the system signaling traffic of the serving cell is greater than the preset load threshold. Among them, the terminal equipment 100 spans the base station The switching trigger conditions include but are not limited to the above conditions, which are not limited in the embodiment of the present application.
为了方便本领域技术人员理解本申请实施例的方法的原理及效果,本申请实施例这里以S1切换为例,对常规技术中终端设备100跨基站切换的流程进行简单介绍。In order to facilitate those skilled in the art to understand the principles and effects of the methods in the embodiments of the present application, the embodiments of the present application here take S1 handover as an example to briefly introduce the cross-base station handover process of the terminal device 100 in the conventional technology.
假设终端设备100驻留在第一基站200管理的小区。终端设备100可接收来自分组数据网络网关(Packet Data Network Gateway,PDN GW)的下行用户面数据。如图3所示,终端设备100从第一基站200切换至第二基站300的切换流程可以包括:第一阶段:切换判决阶段、第二阶段:切换请求阶段、第三阶段:数据包传输状态同步阶段和第四阶段:S1切换后的通信阶段。Assume that the terminal device 100 resides in a cell managed by the first base station 200. The terminal device 100 may receive downlink user plane data from a packet data network gateway (Packet Data Network Gateway, PDN GW). As shown in FIG. 3, the handover process of the terminal device 100 from the first base station 200 to the second base station 300 may include: the first stage: the handover decision stage, the second stage: the handover request stage, and the third stage: data packet transmission status Synchronization phase and fourth phase: the communication phase after S1 handover.
其中,第一阶段:切换判决阶段可以包括S301;第二阶段:切换请求阶段可以包括S302-S309a;第三阶段:数据包传输状态同步阶段可以包括S310-S311a/S311b。第四阶段:S1切换后的通信阶段,包括S312以及其他过程。其中,S1切换后的通信阶段的详细描述可以参考常规技术中,终端设备完成S1切换后的通信流程。Among them, the first stage: the handover decision stage may include S301; the second stage: the handover request stage may include S302-S309a; the third stage: the data packet transmission state synchronization stage may include S310-S311a/S311b. The fourth stage: the communication stage after S1 handover, including S312 and other processes. Among them, the detailed description of the communication stage after S1 handover can refer to the conventional technology, the terminal device completes the communication process after S1 handover.
S301、第一基站200决定进行终端设备100基于S1的切换。S301. The first base station 200 decides to perform handover of the terminal device 100 based on S1.
S302、第一基站200向第一移动性管理网元(Mobility management entity,MME)210发送切换请求。S302. The first base station 200 sends a handover request to a first mobility management entity (Mobility management entity, MME) 210.
S303、第一MME 210选定合适的目标MME,向该MME(如第二MME 310)发送前向迁移请求。S303. The first MME 210 selects a suitable target MME, and sends a forward relocation request to the MME (such as the second MME 310).
S304a、第二MME 310向第二服务网关(service gateway,SGW)320发送建立会话请求。用于请求第二SGW 320分配用户面通用分组无线业务隧道协议(GPRS Tunneling Protocol User Plane,GTP-U)的地址和隧道端点标识符(Tunnel Endpoint Identifier,TEID)。S304a. The second MME 310 sends a session establishment request to a second service gateway (service gateway, SGW) 320. It is used to request the second SGW 320 to allocate a user plane General Packet Radio Service Tunneling Protocol (GPRS Tunneling Protocol User Plane, GTP-U) address and a tunnel endpoint identifier (Tunnel Endpoint Identifier, TEID).
S304b、第二SGW 320向第二MME 310发送建立会话响应。其中,该建立会话响应包括第二SGW 320为第二SGW 320分配的GTP-U和对应的TEID。S304b. The second SGW 320 sends a session establishment response to the second MME 310. Wherein, the session establishment response includes the GTP-U allocated by the second SGW 320 to the second SGW 320 and the corresponding TEID.
S305a、第二MME 310向第二基站300发送切换命令。S305a. The second MME 310 sends a handover command to the second base station 300.
S305b、第二基站300向第二MME 310发送切换命令确认。S305b. The second base station 300 sends a handover command confirmation to the second MME 310.
S306a、第二MME 310向第二SGW 320发送建立独立数据转发通道请求。S306a. The second MME 310 sends a request to establish an independent data forwarding channel to the second SGW 320.
S306b、第二SGW 320向第二MME 310发送建立独立数据转发通道请求响应。S306b. The second SGW 320 sends a response to the request for establishing an independent data forwarding channel to the second MME 310.
S307、第二MME 310向第一MME 210发送前向迁移请求响应。S307. The second MME 310 sends a forward relocation request response to the first MME 210.
S308a、第一MME 210向第一SGW 220发送建立独立数据转发通道请求。S308a. The first MME 210 sends a request to establish an independent data forwarding channel to the first SGW 220.
S308b、第一SGW 220向第一MME 210发送建立独立数据转发通道请求响应。S308b. The first SGW 220 sends a response to the request for establishing an independent data forwarding channel to the first MME 210.
S309、第一MME 210向第一基站200发送切换命令(Handover Command)。用于指示建立第一基站200与第二基站300之间的独立数据转发通道。S309. The first MME 210 sends a handover command (Handover Command) to the first base station 200. It is used to indicate the establishment of an independent data forwarding channel between the first base station 200 and the second base station 300.
S309a、第一基站200向终端设备100发送切换命令。S309a. The first base station 200 sends a handover command to the terminal device 100.
S310-S310c、第一基站200分别经由第一MME 210和第二MME 310向第二基站300发送演进分组系统承载(Evolved Packet System Bear,EPS bear)的包数据汇聚协议(Packet Data Convergence Protocol,PDCP)数据包传输状态。S310-S310c and the first base station 200 send the Evolved Packet System Bear (EPS bear) packet data convergence protocol (Packet Data Convergence Protocol, PDCP) to the second base station 300 via the first MME 210 and the second MME 310, respectively ) Data packet transmission status.
S311a/S311b、第一基站200向第二基站300发送直接转发数据。该直接转发数据包括第一基站200缓存的下行数据。S311a/S311b: The first base station 200 sends the direct forwarding data to the second base station 300. The directly forwarded data includes the downlink data buffered by the first base station 200.
S312、在终端设备100同步至第二基站300后,终端设备100向第二基站300发送切换确认(Handover Confirm)消息。S312. After the terminal device 100 synchronizes to the second base station 300, the terminal device 100 sends a handover confirmation (Handover Confirm) message to the second base station 300.
其中,在图3所示的S310-S310c步骤,第一基站200向第二基站300发送的PDCP数据包传输状态用于指示但不限于以下中的至少一种:第一基站200已经向终端设备100发送的最后一个下行数据包的计数值COUNT和第一基站200已经从终端设备100接收的最后一个上行数据包的COUNT。Among them, in the steps S310-S310c shown in FIG. 3, the PDCP data 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 data packet sent by 100 and the COUNT of the last uplink data packet that the first base station 200 has received from the terminal device 100.
其中,COUNT用于数据包的完整性保护和加密。示例性的,在LTE系统中,PDCP层为每一个数据包分配一个长度为32位的数字编号,即COUNT。Among them, COUNT is used for integrity protection and encryption of data packets. Exemplarily, in the LTE system, the PDCP layer allocates a 32-bit digital number, namely COUNT, to each data packet.
如图4所示,COUNT可以由高位的超帧号(Hyper Frame Number,HFN)和低位的PDCP序列号(Serial Number,SN)两部分组成。其中,PDCP SN的长度由上层配置,例如,PDCP SN的长度可以为5bit、7bit或者12bit。As shown in Figure 4, the COUNT can be composed of two parts: a high-order Hyper Frame Number (HFN) and a low-order PDCP serial number (Serial Number, SN). The length of the PDCP SN is configured by the upper layer. For example, the length of the PDCP SN can be 5 bits, 7 bits, or 12 bits.
通信双方(例如,终端设备100和第二基站300)在数据传输之前可以预先保存相同的HFN,发送端使用COUNT对数据包进行加密后,将该加密后的数据包和该数据包的SN发送给接收端。接收端在解析出数据包的SN之后,可以将该SN与接收端保存的HFN组成COUNT,然后使用该COUNT对数据包进行解密。The two parties in communication (for example, the terminal device 100 and the second base station 300) can save the same HFN in advance before data transmission, and the sender uses COUNT to encrypt the data packet, and then sends the encrypted data packet and the SN of the data packet To the receiving end. After the receiving end analyzes the SN of the data packet, it can form a COUNT with the SN and the HFN saved by the receiving end, and then use the COUNT to decrypt the data packet.
其中,COUNT的长度可以由第二基站300从第一基站200处获取。例如,第二基站300通过如图3所示的S310或者S311a/S311b获取COUNT的长度。或者,第二基站300还可以预先配置上述COUNT的长度,本实施例对此不作限定。The length of the COUNT can be obtained by the second base station 300 from the first base station 200. For example, the second base station 300 obtains the length of the COUNT through S310 or S311a/S311b as shown in FIG. 3. Alternatively, the second base station 300 may also preconfigure the length of the aforementioned COUNT, which is not limited in this embodiment.
因此,在终端设备100从第一基站200切换至第二基站300之后,需要确定终端设备100与第二基站300之间待传输的上行数据包的COUNT,用于根据上述COUNT设置接收端的状态机。示例性的,可以将第二基站300接收端状态机的Rx_Deliv和Rx_Next设置为上述COUNT:[HFN,SN]。而要知道终端设备100与第二基站300之间待传输的上行数据包的COUNT,就要确定终端设备100与第一基站200之间的PDCP数据包传输状态。Therefore, after the terminal device 100 is handed over from the first base station 200 to the second base station 300, the COUNT of the uplink data packet to be transmitted between the terminal device 100 and the second base station 300 needs to be determined, which is used to set the state machine of the receiving end according to the above COUNT. . Exemplarily, the Rx_Deliv and Rx_Next of the receiving end state machine of the second base station 300 may be set to the aforementioned COUNT: [HFN, SN]. To know the COUNT of the uplink data packet to be transmitted between the terminal device 100 and the second base station 300, it is necessary to determine the PDCP data packet transmission state between the terminal device 100 and the first base station 200.
但是,可以理解的是,在核心网控制面拉远部署等场景下,由于核心网的控制面网元与用户面网元的距离过远,第一基站200经由第一MME 210和第二MME 310向第二基站300发送PDCP数据包传输状态(如图3所示的S310-S310c)的过程会耗费 较长的时间。因此,会造成即使终端设备100成功从第一基站200切换至第二基站300,第二基站300也无法与终端设备100进行数据包传输。或者,会造成第二基站300无法成功接续第一基站200与终端设备100的数据包传输状态,与终端设备100进行数据传输。However, it is understandable that in scenarios such as remote deployment of the control plane of the core network, since the control plane network elements of the core network are too far away from the user plane network elements, the first base station 200 passes through the first MME 210 and the second MME. The process of 310 sending the PDCP data packet transmission status (S310-S310c shown in FIG. 3) to the second base station 300 will take a long time. Therefore, even if the terminal device 100 is successfully handed over from the first base station 200 to the second base station 300, the second base station 300 cannot perform data packet transmission with the terminal device 100. Or, it may cause the second base station 300 to fail to successfully connect the data packet transmission state of the first base station 200 and the terminal device 100 to perform data transmission with the terminal device 100.
对于一些场景,例如,数据下载场景或者游戏场景。在终端设备100从第一基站200切换至第二基站300过程中,可能会由于数据包传输状态时延过大,导致第二基站300无法同步第一基站200与终端设备100的数据包的传输状态。从而,可能会导致第二基站300无法成功接续第一基站200与终端设备100的数据包传输状态,与终端设备100进行数据传输。进而,在上述数据下载场景中会出现数据下载中断或者游戏场景中会出现卡顿的问题,影响用户体验。For some scenes, for example, data download scenes or game scenes. When the terminal device 100 is handed over from the first base station 200 to the second base station 300, the second base station 300 may not be able to synchronize the transmission of the data packets of the first base station 200 and the terminal device 100 due to the excessive delay of the data packet transmission state status. Therefore, the second base station 300 may not be able to successfully connect the data packet transmission state of the first base station 200 and the terminal device 100 to perform data transmission with the terminal device 100. Furthermore, in the above-mentioned data downloading scene, data downloading may be interrupted or the game will be stuck in the game scene, which affects the user experience.
示例性的,如图5A所示,为本申请实施例提供的游戏场景下终端设备100进行跨基站切换时的数据包传输时延示意图。在游戏场景下,由于终端设备100在从第一基站200切换至第二基站300时的PDCP数据包传输状态同步过程的时延较长,导致终端设备100在较长时间内(如图5A中的Δt 1和Δt 2),数据包的传输时延太大。游戏场景下,终端设备100进行跨基站切换时的PDCP数据包传输状态同步过程的时延示意图。 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 in this embodiment of the application. In the game scenario, due to the long delay of the PDCP data packet transmission state synchronization process when the terminal device 100 switches from the first base station 200 to the second base station 300, the terminal device 100 takes a long time (as shown in FIG. 5A). Δt 1 and Δt 2 ), the transmission delay of the data packet is too large. In a game scenario, the terminal device 100 is a schematic diagram of the time delay of the PDCP data packet transmission state synchronization process when the terminal device 100 performs cross-base station handover.
又如,图5B所示,为本申请实施例提供的数据下载场景下终端设备100进行跨基站切换时的数据包传输时延示意图。如图5B所示,由于终端设备100在从第一基站200切换至第二基站300时的PDCP数据包传输状态同步过程的时延较长,导致终端设备100在较长时间内(如图5B中的Δt 3),数据包的传输时延太大。 As another example, FIG. 5B is a schematic diagram of the data packet transmission delay when the terminal device 100 performs cross-base station handover in the data download scenario provided in this embodiment of the application. As shown in FIG. 5B, due to the long delay of the PDCP data packet transmission state synchronization process when the terminal device 100 is handed over from the first base station 200 to the second base station 300, the terminal device 100 takes a long time (as shown in FIG. 5B). Δt 3 ), the transmission delay of the data packet is too large.
为了解决上述数据包传输状态传输时延过大的问题,本申请实施例中,可以将用于同步数据包传输状态的信息承载在时延较短的路径上进行传输。这样,可以降低数据包传输状态传输时的时延,保证终端设备切换成功后数据包的接续传输。In order to solve the above-mentioned problem of excessive transmission delay of the data packet transmission status, in the embodiment of the present application, the information used to synchronize the data packet transmission status may be carried on a path with a shorter time delay for transmission. In this way, the time delay during the transmission of the data packet transmission state can be reduced, and the continuous transmission of the data packet after the terminal device is successfully switched.
实施例1:Example 1:
在该实施例中,第一基站200可以向终端设备100发送用于同步数据包传输状态的信息,由终端设备100向第二基站指示即将接收到的上行数据包的SN,以实现第一基站200与第二基站300的数据包传输状态同步。换言之,上述用于同步数据包传输状态的信息可以通过用户面网元(第一基站200和终端设备100)进行传输,这样可以降低数据包传输状态传输的时延。In this embodiment, the first base station 200 may send information for synchronizing the transmission state of the data packet to the terminal device 100, and the terminal device 100 may indicate to the second base station the SN of the uplink data packet to be received, so as to realize the first base station 200 is synchronized with the data packet transmission state of the second base station 300. In other words, the above-mentioned information for synchronizing the transmission state of the data packet can be transmitted through the user plane network element (the first base station 200 and the terminal device 100), which can reduce the transmission delay of the transmission state of the data packet.
以下结合附图,对本申请实施例提供的一种数据包传输方法进行具体阐述。如图6所示,本申请实施例提供的一种数据包传输方法可以包括:In the following, a data packet transmission method provided in an embodiment of the present application will be described in detail with reference to the accompanying drawings. As shown in FIG. 6, a data packet transmission method provided by an embodiment of the present application may include:
S601、终端设备100确定第一上行数据包的第一COUNT。S601. The terminal device 100 determines the first COUNT of the first uplink data packet.
在一些实施例中,终端设备100可以通过接收到的来自第一基站200的第二信息确定第一上行数据包的第一COUNT。In some embodiments, the terminal device 100 may determine the first COUNT of the first uplink data packet based on the received second information from the first base station 200.
其中,该第二信息用于指示第三信息,该第三信息包括:第一上行数据包的第一SN或者该第一上行数据包的第二COUNT。第一上行数据包为第一承载上丢失的第一个上行数据包。第一承载为终端设备100从第一基站200切换至第二基站300前与第一基站200间用于数据包传输的无线承载。或者终端设备100从第一基站200切换至第二基站300后与第二基站300间用于数据包传输的无线承载。The second information is used to indicate third information, and the third information includes: the first SN of the first uplink data packet or the second COUNT of the first uplink data packet. The first uplink data packet is the first uplink data packet lost on the first bearer. The first bearer is a radio bearer used for data packet transmission between the terminal device 100 and the first base station 200 before handing over from the first base station 200 to the second base station 300. Or a radio bearer used for data packet transmission between the terminal device 100 and the second base station 300 after switching from the first base station 200 to the second base station 300.
在本申请实施例中,第一上行数据包为第一承载上丢失的第一个上行数据包。可以理解的是,第一承载上丢失的上行数据包是终端设备100将在第一承载上重新发送的下一个上行数据包。In the embodiment of the present application, the first uplink data packet is the first uplink data packet lost on the first bearer. It can be understood that the uplink data packet lost on the first bearer is the next uplink data packet that the terminal device 100 will resend on the first bearer.
在本申请实施例中,第二信息可以包括:第一基站200从终端设备100已成功接收的所有上行数据包的SN和HFN。例如,第二信息包括:第一基站200从终端设备100已成功接收的数据包的COUNT[1,31]和[1,33]。则说明第一基站200从终端设备100成功接收了的SN分别为31和33的上行数据包,则该第二信息可以指示:第一上行数据包的第一SN为32,或者该第一上行数据包的第二COUNT值为[1,32]。In this embodiment of the present application, the second information may include: SN and HFN of all uplink data packets that the first base station 200 has successfully received from the terminal device 100. For example, the second information includes: COUNT [1, 31] and [1, 33] of data packets that the first base station 200 has successfully received from the terminal device 100. It means that the first base station 200 has successfully received the uplink data packets with SNs of 31 and 33 from the terminal device 100, and the second information may indicate: the first SN of the first uplink data packet is 32, or the first uplink data packet The second COUNT value of the data packet is [1, 32].
或者,第二信息可以包括:第一基站200从终端设备100已成功接收的最后一个数据包的COUNT[1,32]。则说明第一基站200从终端设备100成功接收了的SN在32之前的所有上行数据包,则该第二信息可以指示:第一上行数据包的第一SN为32,或者该第一上行数据包的第二COUNT为[1,32]。Alternatively, the second information may include: COUNT[1, 32] of the last data packet that the first base station 200 has successfully received from the terminal device 100. It means that the first base station 200 has successfully received all the uplink data packets with SN before 32 from the terminal device 100, then the second information may indicate: the first SN of the first uplink data packet is 32, or the first uplink data The second COUNT of the packet is [1, 32].
在一些实施例中,终端设备100可以通过切换命令(Handover Command)从第一基站200接收第二信息。如图7中的S709a所示,该消息为切换命令,其中,该切换命令中携带有第二信息。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, and the handover command carries second information.
进一步的,该切换命令中还可以携带有第二基站300的地址,用于终端设备100根据该第一基站200的地址建立终端设备100与第一基站200之间的无线承载。Further, the handover command may also carry the address of the second base station 300, which is used by 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.
在另一些实施例中,如图8中的S810所示,终端设备100还可以单独接收来自第一基站200的PDCP数据包。其中,该PDCP数据包携带有该第二信息。In other embodiments, as shown in S810 in FIG. 8, the terminal device 100 may also separately receive the PDCP data packet from the first base station 200. Wherein, the PDCP data packet carries the second information.
如图7中的S710和图8中的S811所示,终端设备100根据第二信息确定第一上行数据包的第一COUNT。示例性的,若第二信息包括:第一基站200从终端设备100已成功接收的数据包的COUNT[1,31]和[1,32],那么终端设备100可以根据该第二信息确定第一承载上丢失的第一个上行数据包为SN为33,HFN为1的上行数据包。As shown in S710 in FIG. 7 and S811 in FIG. 8, the terminal device 100 determines the first COUNT of the first uplink data packet according to the second information. Exemplarily, if the second information includes: COUNT[1,31] and [1,32] of the data packet that the first base station 200 has successfully received from the terminal device 100, then the terminal device 100 may determine the first data packet according to the second information. The first uplink data packet lost on a bearer is an uplink data packet with SN of 33 and HFN of 1.
其中,在确定数据包的HFN时,需要考虑SN越界的问题。以SN的长度8位为例,若终端设备100发送的第一基站200从终端设备100已成功接收的数据包的COUNT为[2,255],那么第二基站300可以确定第一承载上丢失的第一个上行数据包为SN为0,HFN为3的上行数据包。Among them, when determining the HFN of the data packet, it is necessary to consider the problem of SN crossing the boundary. Taking the SN length of 8 bits as an example, if the COUNT of the data packet that the first base station 200 has successfully received from the terminal device 100 sent by the terminal device 100 is [2,255], then the second base station 300 can determine that the first bearer is missing The first uplink data packet of SN is 0 and HFN is 3.
在一些实施例中,若第二信息指示第一上行数据包的第一SN。终端设备100可以根据第一SN以及第一SN对应的HFN确定第一COUNT。即第一COUNT为:[第一SN对应的HFN,第一SN]。In some embodiments, if the second information indicates the first SN of the first uplink data packet. 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, the first SN].
在另一些实施例中,若第二信息指示第一上行数据包的第二COUNT。终端设备100可以确定第二COUNT为第一COUNT。In other embodiments, if the second information indicates the second COUNT of the first uplink data packet. The terminal device 100 may determine that the second COUNT is the first COUNT.
需要说明的是,终端设备100还可以根据其是否接收到基站对上行数据包的确认消息,确定第一承载上丢失的第一个上行数据包的第一COUNT。具体的,终端设备100可以将终端设备100未通过第一承载接收到来自第一基站200确认消息的上行数据包的COUNT作为所述第一COUNT。或者,终端设备100可以将终端设备100即将通过第一承载发送的下一个上行数据包的COUNT作为第一COUNT。可以理解的是,终端设备100确定出的第一COUNT用于标识该终端设备100即将在第一承载上向第二基站300发送的上行数据包的SN和HFN。It should be noted that the terminal device 100 may also determine the first COUNT of the first uplink data packet lost on the first bearer according to whether it receives the confirmation message of the uplink data packet from the base station. Specifically, the terminal device 100 may use the COUNT of the uplink data packet of the confirmation message from the first base station 200 that the terminal device 100 does not receive through the first bearer as the first COUNT. Alternatively, the terminal device 100 may use the COUNT of the next uplink data packet to be sent by the terminal device 100 via the first bearer as the first COUNT. It is understandable 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 will send to the second base station 300 on the first bearer.
S602、终端设备100向第二基站300发送第一信息。S602. The terminal device 100 sends the first information to the second base station 300.
其中,该第一信息包括第一COUNT,即第一信息包括终端设备100即将在第一承载上向第二基站300发送的上行数据包的SN和HFN。The first information includes the first COUNT, that is, the first information includes the SN and HFN of the uplink data packet that the terminal device 100 will send to the second base station 300 on the first bearer.
在一些实施例中,终端设备100可以将第一信息封装在一个PDCP数据包中发送给第二基站300。In some embodiments, the terminal device 100 may encapsulate the first information in a PDCP data packet and send it to the second base station 300.
示例性的,如图9所示,为本申请实施例提供的一种PDCP数据包格式示意图。如图9所示,D/C用于标识该PDCP数据包类型,若D/C设置为0,则指示该PDCP数据包用于传输控制信息。其中,R为保留位。另外,图9中是以COUNT长度为32为为例的,因此,该PDCP数据包携带有4个长度分别为8位的COUNT。Exemplarily, as shown in FIG. 9, it is a schematic diagram of a PDCP data packet format provided in an embodiment of this application. As shown in Figure 9, D/C is used to identify the PDCP data packet type. If D/C is set to 0, it indicates that the PDCP data packet is used to transmit control information. Among them, R is a reserved bit. In addition, in FIG. 9, the COUNT length is 32 as an example. Therefore, the PDCP data packet carries 4 COUNTs each having a length of 8 bits.
在一些实施例中,如图7中的S711所示,终端设备100可以通过切换确认消息向第二基站300发送第一信息。其中,该切换确认消息用于指示终端设备100从第一基站200向第二基站300切换成功,该切换确认消息中携带有PDCP数据包,该PDCP数据包中携带有第一信息。In some embodiments, as shown in S711 in FIG. 7, the terminal device 100 may send the first information to the second base station 300 through a handover confirmation message. The handover confirmation message is used to indicate the successful handover of the terminal device 100 from the first base station 200 to the second base station 300, and the handover confirmation message carries a PDCP data packet, and the PDCP data packet carries the first information.
进一步的,该切换确认消息中还可以携带有第一承载的标识。其中,第一承载的标识与PDCP数据包具有对应关系:(第一承载的标识,PDCP数据包)。该第一承载的标识与PDCP数据包的对应关系用于当终端设备100通过多个无线承载向第二基站300发送PDCP数据包时,第二基站300可以根据该对应关系确定传输每个PDCP数据包所使用的无线承载。Further, the handover confirmation message may also carry the identifier of the first bearer. Wherein, the identifier of the first bearer has a corresponding relationship with the PDCP data packet: (the identifier of the first bearer, the PDCP data packet). The corresponding relationship between the identifier of the first bearer and the PDCP data packet is used when the terminal device 100 sends PDCP data packets to the second base station 300 through multiple radio bearers, the second base station 300 may determine to transmit each PDCP data according to the corresponding relationship The radio bearer used by the packet.
在另一些实施例中,在终端设备100通过切换确认消息向第二基站300发送第一信息时,终端100可以通过切换确认消息中扩展的一个字段携带该第一信息。In other embodiments, when the terminal device 100 sends the first information to the second base station 300 through the handover confirmation message, the terminal 100 may carry the first information through an extended field in the handover confirmation message.
在另一些实施例中,如图8中的S812所示,终端设备100还可以直接向第二基站300发送携带有第一信息PDCP数据包。In other embodiments, as shown in S812 in FIG. 8, the terminal device 100 may also directly send the PDCP data packet carrying the first information to the second base station 300.
若终端设备100直接向第二基站300发送携带有第一信息PDCP数据包,在一些实施例中,该PDCP数据包还可以包括类型指示信息。如图9中的PDU类型,该类型指示信息用于指示第二基站300该PDCP数据包中携带有第一信息。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 also 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 of the second base station 300 carries the first information.
S603、第二基站300根据第一信息确定第二基站300期望在第一承载上接收的下一个上行数据包的SN和HFN。S603. The second base station 300 determines, according to the first information, the SN and HFN of the next uplink data packet that the second base station 300 expects to receive on the first bearer.
其中,第二基站300期望在第一承载上接收的下一个上行数据包的SN为第一COUNT的SN,第二基站300期望在第一承载上接收的下一个上行数据包的HFN为第一COUNT的HFN。Among them, the second base station 300 expects the SN of the next uplink data packet received on the first bearer to be the SN of the first COUNT, and the second base station 300 expects the HFN of the next uplink data packet received on the first bearer to be the first HFN of COUNT.
示例性的,若第一COUNT为[2,33],那么第二基站300期望在第一承载上接收的下一个上行数据包的SN为33,HFN为2。Exemplarily, if the first COUNT is [2, 33], the SN of the next uplink data packet that the second base station 300 expects to receive on the first bearer is 33, and the HFN is 2.
在一些实施例中,如图10A所示,本申请实施例1的数据包传输方法还可以包括:In some embodiments, as shown in FIG. 10A, the data packet transmission method of Embodiment 1 of the present application may further include:
S604-1、终端设备100确定第四信息。S604-1. The terminal device 100 determines fourth information.
其中,该第四信息包括第一承载上丢失的第一个下行数据包的SN和HFN。Wherein, the fourth information includes the SN and HFN of the first downlink data packet lost on the first bearer.
在本申请实施例中,终端设备100可以根据其接收到的来自第一基站200的下行数据包以及每个下行数据包的SN和HFN,确定第四信息。In the embodiment of the present application, the terminal device 100 may determine the fourth information according to the received downlink data packet from the first base station 200 and the SN and HFN of each downlink data packet.
示例性的,终端设备100已成功接收到COUNT为[0,3]、[0,4]、[0,5]和[0,6]的下行数据包。那么,终端设备100可以根据上述信息确定第四信息为[0,7],即第 一承载上丢失的第一个下行数据包的COUNT为[0,7]。Exemplarily, the terminal device 100 has successfully received downlink data packets with COUNTs of [0, 3], [0, 4], [0, 5], and [0, 6]. Then, the terminal device 100 may determine that the fourth information is [0, 7] according to the above information, that is, the COUNT of the first downlink data packet lost on the first bearer is [0, 7].
其中,终端设备100可以同时确定第二信息和第四信息,也可以在确定第二信息之前确定第四信息,还可以在确定第二信息之后确定第四信息(如图10B中的S1012),本申请实施例对此不作限定。Wherein, the terminal device 100 may determine the second information and the fourth information at the same time, or may determine the fourth information before determining the second information, or may determine the fourth information after determining the second information (S1012 in FIG. 10B), The embodiments of this application do not limit this.
S605-1、终端设备100向第二基站300发送第四信息。S605-1. The terminal device 100 sends fourth information to the second base station 300.
需要说明的是,第四信息可以与第一信息一起,由终端设备100发送给第二基站300。也可以单独由终端设备100发送给第二基站300。终端设备100也可以在S602之后执行S605-1。或者,终端设备100也可以在S602之前执行S605-1,本申请实施例对此不作限定。It should be noted that the fourth information may be sent to the second base station 300 by the terminal device 100 together with the first information. It can also be sent to the second base station 300 by the terminal device 100 alone. The terminal device 100 may also perform S605-1 after S602. Alternatively, the terminal device 100 may also perform S605-1 before S602, which is not limited in the embodiment of the present application.
在一些实施例中,第四信息可以由终端设备100通过切换确认消息发送给第二基站300。In some embodiments, the fourth information may be sent by the terminal device 100 to the second base station 300 through a handover confirmation message.
在另一些实施例中,如图10B中的S1012,第四信息也可以由终端设备100通过直接发送PDCP数据包发送给第二基站300。In other embodiments, as shown in 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 PDCP data packets.
若第四信息由终端设备100通过直接发送PDCP数据包发送给第二基站300,在一些实施例中,该PDCP数据包还可以携带有类型指示信息。该类型指示信息用于指示第二基站300PDCP数据包中携带有该第四信息。关于该PDCP数据包的结构,可以参考图9所示的PDCP数据包格式示意图,在此不作赘述。If the fourth information is sent by the terminal device 100 to the second base station 300 by directly sending a PDCP data packet, in some embodiments, the PDCP data packet may also carry type indication information. The type indication information is used to indicate that the PDCP data packet of the second base station 300 carries the fourth information. Regarding the structure of the PDCP data packet, reference may be made to the schematic diagram of the PDCP data packet format shown in FIG. 9, which will not be repeated here.
S606-1、第二基站300根据第四信息确定第二基站300向终端设备100发送的下一个下行数据包的SN。S606-1: The second base station 300 determines the SN of the next downlink data packet sent by the second base station 300 to the terminal device 100 according to the fourth information.
示例性的,第四信息包括COUNT为[4,7],即第一承载上丢失的第一个下行数据包的COUNT为[4,7]。那么第二基站300可以确定第二基站300向终端设备100发送的下一个下行数据包的SN为7。Exemplarily, the fourth information includes that the COUNT is [4, 7], that is, the COUNT of the first downlink data packet lost on the first bearer is [4, 7]. Then the second base station 300 can determine that the SN of the next downlink data packet sent by the second base station 300 to the terminal device 100 is 7.
或者,在另一些实施例中,如图11所示,本申请实施例1的数据包传输方法还可以包括:Alternatively, in other embodiments, as shown in FIG. 11, the data packet transmission method of Embodiment 1 of the present application may further include:
S604-2、第二基站300接收来自第一基站200的第一消息。S604-2. The second base station 300 receives the first message from the first base station 200.
其中,该第一消息包括缓存在第一基站200中的至少一个第二数据包,以及上述至少一个第二数据包的SN。该第二数据包包括第一基站200已发送给终端设备100,但是未接收到终端设备100的确认消息的数据包。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 data packet includes a data packet that the first base station 200 has sent to the terminal device 100 but has not received the confirmation message of the terminal device 100.
在一些实施例中,该第一消息还包括缓存在第一基站200中的,第一基站200未发送给终端设备100的至少一个下行数据包,和该至少一个下行数据包的SN。In some embodiments, the first message further includes at least one downlink data packet buffered in the first base station 200 and not sent by the first base station 200 to the terminal device 100, and the SN of the at least one downlink data packet.
S605-2、第二基站300根据第一消息确定第二基站300向终端设备100发送的下一个下行数据包的SN。S605-2. The second base station 300 determines the SN of the next downlink data packet sent by the second base station 300 to the terminal device 100 according to the first message.
示例性的,第一消息包括第一基站200已发送给终端设备100,但是未接收到终端设备100的确认消息的数据包的SN 7,以及该SN 7对应的下行数据包。那么第二基站300可以确定第二基站300向终端设备100发送的下一个下行数据包的SN为7。Exemplarily, the first message includes the SN 7 of the data packet that the first base station 200 has sent to the terminal device 100 but has not received the confirmation message of the terminal device 100, and the downlink data packet corresponding to the SN 7. Then the second base station 300 can determine that the SN of the next downlink data packet sent by the second base station 300 to the terminal device 100 is 7.
在一些实施例中,若第一基站200发送给终端设备100的每一个下行数据包,均收到了来自终端设备100的确认消息,第二基站300可以确定第二基站300向终端设备100发送的下一个下行数据包为第一基站200未发送给终端设备100的至少一个下行数据包中的第一个数据包。In some embodiments, if every downlink data packet sent by the first base station 200 to the terminal device 100 has received a confirmation message from the terminal device 100, the second base station 300 can determine that the second base station 300 sends the terminal device 100 The next downlink data packet is the first data packet among at least one downlink data packet that the first base station 200 has not sent to the terminal device 100.
实施例2:Example 2:
在该实施例中,第一基站200可以通过GTP-U隧道将用于同步数据包传输状态的信息发送给第二基站300,用于第二基站300根据该信息实现与终端设备100的数据包传输状态同步。换言之,上述用于同步数据包传输状态的信息可以通过时延小的GTP-U隧道由第一基站200传输给第二基站300,降低了数据包传输状态传输的时延。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, for the second base station 300 to realize the data packet communication with the terminal device 100 according to the information. The transmission status is synchronized. In other words, the aforementioned information for synchronizing the transmission state of the data packet can be transmitted from the first base station 200 to the second base station 300 through the GTP-U tunnel with a small time delay, which reduces the transmission delay of the data packet transmission state.
以下结合附图,对本申请实施例提供的一种数据包传输方法进行具体阐述。如图12所示,本申请实施例的数据包传输方法可以包括:In the following, a data packet transmission method provided in an embodiment of the present application will be described in detail with reference to the accompanying drawings. As shown in FIG. 12, the data packet transmission method of the embodiment of the present application may include:
S1201、第一基站200确定第三信息。S1201. The first base station 200 determines third information.
其中,该第三信息包括第一数据包的COUNT,以及第二数据包的COUNT。该第一数据包是第一基站200在第一承载上还未从终端设备100接收到的第一个数据包。第二数据包是第一基站200在第一承载上将向终端设备100发送的下一数据包.该第一承载是终端设备100与第一基站200间的无线承载。Wherein, the third information includes the COUNT of the first data packet and the COUNT of the second data packet. The first data packet is the first data packet that the first base station 200 has not yet received from the terminal device 100 on the first bearer. The second data packet is the next data packet that the first base station 200 will send to the terminal device 100 on the first bearer. The first bearer is a radio bearer between the terminal device 100 and the first base station 200.
S1202、第一基站200通过GTP-U隧道向第二基站300发送携带有第三信息的第一消息。S1202. The first base station 200 sends a first message carrying third information to the second base station 300 through the GTP-U tunnel.
在一些实施例中,如图13A中的S1311a所示,第一基站200可以通过第一基站200与第二基站300间的GTP-U隧道向第二基站300发送携带有第三信息的第一消息。In some embodiments, as shown in S1311a in FIG. 13A, the first base station 200 may send the first base station carrying the third information to the second base station 300 through the GTP-U tunnel between the first base station 200 and the second base station 300. news.
在另一些实施例中,第一基站200还可以依次通过第一基站200与数据网关间的GTP-U隧道,以及数据网关与第二基站300间的GTP-U隧道,向第二基站300发送携带有第三信息的第一消息。In other embodiments, the first base station 200 may also sequentially pass through the GTP-U tunnel between the first base station 200 and the data gateway, and the GTP-U tunnel between the data gateway and the second base station 300, to send to the second base station 300 The first message that carries the third information.
其中,第一基站200与第二基站300可以为同一个数据网关(如数据网关A)服务。在这种情况下,第一基站200可以依次通过第一基站200与该数据网关A之间的GTP-U隧道,以及该数据网关A与第二基站300间的GTP-U隧道,向第二基站300发送携带有第三信息的第一消息。Wherein, the first base station 200 and the second base station 300 may serve the same data gateway (such as data gateway A). In this case, the first base station 200 can pass 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 in turn, to the second The base station 300 sends the first message that carries the third information.
或者,第一基站200与第二基站300可以为不同数据网关服务。例如,第一基站200为第一SGW 220服务,第二基站300为第二SGW 320服务。在这种情况下,如图13B中的S1311b所示,第一基站200可以通过第一基站200与第一SGW 220之间的GTP-U隧道向第一SGW 220发送第一消息,使第一SGW 220通过第一SGW 220与第二SGW 320之间的GTP-U隧道向第二SGW 320发送第一消息,以及使得第二SGW 320通过第二SGW 320与第二基站300间的GTP-U隧道,向第二基站300发送携带有第三信息的第一消息。Alternatively, 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, so that the first The SGW 220 sends the first message to the second SGW 320 through the GTP-U tunnel between the first SGW 220 and the second SGW 320, and makes the second SGW 320 pass through the GTP-U between the second SGW 320 and the second base station 300 The tunnel sends the first message carrying the third information to the second base station 300.
在一些实施例中,第一基站200可以将第三信息封装在第一消息的GTP-U协议的无线扩展头中发送给第二基站300。示例性的,如图14所示,为本申请实施例提供的一种第一消息的GTP-U协议的无线扩展头编码格式示例图。In some embodiments, the first base station 200 may encapsulate the third information in a wireless extension header of the GTP-U protocol of the first message and send it to the second base station 300. Exemplarily, as shown in FIG. 14, an example diagram of a wireless extension header encoding format of the GTP-U protocol of the first message provided in an embodiment of this application.
在一些实施例中,该无线扩展头包括第一指示信息。该第一指示信息用于指示该无线扩展头中包括该第三信息。示例性的,第一指示信息可以根据如图14中所示的PDU类型的值(如图14所示的x)来标识。例如,当该PDU类型的值为10,则指示该无线扩展头中包括该第三信息。其中,图14中的A为为保留位。In some embodiments, the wireless extension header includes first indication information. The first indication information is used to indicate that the wireless extension header includes the third information. Exemplarily, the first indication information may be identified according to the value of the PDU type as shown in FIG. 14 (x as shown in FIG. 14). For example, when the value of the PDU type is 10, it indicates that the third information is included in the wireless extension header. Among them, A in Figure 14 is a reserved bit.
需要说明的是,图14所示的第一消息的GTP-U协议的无线扩展头编码格式只是示例性的,还可以采用其他的编码格式,本实施例对此不作限定。It should be noted that the wireless extension header encoding format of the GTP-U protocol of the first message shown in FIG. 14 is only exemplary, and other encoding formats may also be used, which is not limited in this embodiment.
在一些实施例中,第一基站200可以采用S1202的方法向第二基站300发送多个携带有第三信息的第一消息。例如:第一基站200可以采用S1202的方法向第二基站300发送预设数量的携带有第三信息的第一消息。又例如,第一基站200可以采用S1202的方法在预设时间内向第二基站300发送携带有第三信息的第一消息。In some embodiments, the first base station 200 may use the S1202 method to send multiple first messages carrying the third information to the second base station 300. For example, the first base station 200 may use the method of S1202 to send a preset number of first messages carrying the third information to the second base station 300. For another example, the first base station 200 may use the method of S1202 to send the first message carrying the third information to the second base station 300 within a preset time.
S1203、第二基站300根据第三信息确定第二基站300期望在第二承载上从终端设备100接收的下一个上行数据包的COUNT,以及第二基站300在第二承载上将向终端设备100发送的下一个下行数据包的COUNT。S1203. The second base station 300 determines, according to the third information, the COUNT of the next uplink data packet that the second base station 300 expects to receive from the terminal device 100 on the second bearer, and the second base station 300 will send the message to the terminal device 100 on the second bearer. COUNT of the next downstream data packet sent.
其中,第二承载是在终端设备100从第一基站200切换到第二基站300后,终端设备100与第二基站300间建立的无线承载。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.
在一些实施例中,本申请实施例2的数据包传输方法还可以包括:第一基站200通过移动性管理网元向第二基站300发送携带有第三信息的第一消息。其中,该移动性管理网元是终端设备100服务的移动性管理网元。In some embodiments, the data packet transmission method of 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.
在一些实施例中,第一基站200与第二基站300可以为同一个移动性管理网元(如MME 1)服务。在这种情况下,第一基站200可以通过该MME 1向第二基站300发送携带有第三信息的第一消息。In some embodiments, the first base station 200 and the second base station 300 may serve the same mobility management network element (such as 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.
在另一些实施例中,第一基站200与第二基站300可以为不同移动性管理网元服务。例如,如图15所示,第一基站200为第一MME 210服务,第二基站300为第二MME 310服务。在这种情况下,如图15中的S1510所示,第一基站200可以依次通过第一MME 210与第二MME 310向第二基站300发送携带有第三信息的第一消息。In other 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 send the first message carrying the third information to the second base station 300 through the first MME 210 and the second MME 310.
需要说明的是,图15是以4G LTE网络为例,说明本申请实施例的数据包传输方法。若本申请实施例的数据包传输方法应用于其他网络结构,图15所示的各个网元还可以由其他网元代替。例如,在5G NR网络结构中,第一基站200通过接入管理功能AMF向第二基站300发送携带有第三信息的第一消息。It should be noted that FIG. 15 uses a 4G LTE network as an example to illustrate the data packet transmission method of the embodiment of the present application. If the data packet transmission method of the embodiment of the present application is applied to other network structures, each network element shown in FIG. 15 can also be replaced by other network elements. For example, in a 5G NR network structure, the first base station 200 sends a first message carrying third information to the second base station 300 through the access management function AMF.
在如图15所示的实施例中,若第二基站300先接收到第一基站200在S1510,通过移动性管理网元发送的携带有第三信息的第一消息。第二基站300根据通过移动性管理网元接收到的来自第一基站200的第三信息确定第二基站300期望在第二承载上从终端设备100接收的下一个上行数据包的COUNT,以及第二基站300将通过第二承载向终端设备100发送的下一个下行数据包的COUNT。In the embodiment shown in FIG. 15, if the second base station 300 first receives the first message carrying the third information sent by the first base station 200 in S1510 through the mobility management network element. The second base station 300 determines, according to the third information received from the first base station 200 through the mobility management network element, the COUNT of the next uplink data packet that the second base station 300 expects to receive from the terminal device 100 on the second bearer, and the first The second base station 300 will send the COUNT of the next downlink data packet to the terminal device 100 through the second bearer.
若第二基站300先接收到第一基站200通过GTP-U隧道发送的携带有第三信息的第一消息。第二基站300根据通过GTP-U隧道接收到的来自第一基站200的第一信息确定第二基站300期望在第二承载上从终端设备100接收的下一个上行数据包的COUNT,以及第二基站300将通过第二承载向终端设备100发送的下一个下行数据包的COUNT。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 received from the first base station 200 through the GTP-U tunnel, the COUNT of the next uplink data packet that the second base station 300 expects to receive from the terminal device 100 on the second bearer, and the second The base station 300 will send the COUNT of the next downlink data packet to the terminal device 100 through the second bearer.
实施例3:Example 3:
在该实施例中,终端设备100还可以根据其保存的已有信息确定第一承载上丢失的第一个上行数据包的COUNT,并在S1切换完成后,将该上行数据包和该上行数据包的COUNT发送给第二基站300,用于第二基站300根据该COUNT设置接收机的状态机,从而正确接收该上行数据包。In this embodiment, the terminal device 100 may also determine the COUNT of the first uplink data packet lost on the first bearer according to the existing information it saves, and after the S1 handover is completed, the uplink data packet and the uplink data The COUNT of the packet is sent to the second base station 300 for the second base station 300 to set the state machine of the receiver according to the COUNT, so as to correctly receive the uplink data packet.
相比于如图3所示的现有技术,本申请实施例3无需对现有的协议、消息等作修 改。同时可以降低了数据包传输状态同步的时延。Compared with the prior art shown in FIG. 3, Embodiment 3 of the present application does not need to modify the existing protocols, messages, etc. At the same time, the time delay of data packet transmission status synchronization can be reduced.
如图16所示,本申请实施例的数据包传输方法可以包括:As shown in FIG. 16, the data packet transmission method of the embodiment of the present application may include:
S1601、终端设备100确定第一上行数据包的COUNT。S1601. The terminal device 100 determines the COUNT of the first uplink data packet.
其中,第一上行数据包为第一承载上丢失的第一个上行数据包。终端设备100可以根据其是否接收到第一基站200对该上行数据包的确认消息,确定第一承载上丢失的第一个上行数据包。The first uplink data packet is the 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 confirmation message of the uplink data packet from the first base station 200.
S1602、终端设备100通过PDCP数据包向第二基站300发送第五信息。S1602. The terminal device 100 sends the fifth information to the second base station 300 through the PDCP data packet.
其中,该第五信息包括第一承载上丢失的第一个上行数据包,以及该上行数据包的COUNT。Wherein, the fifth information includes the first uplink data packet lost on the first bearer and the COUNT of the uplink data packet.
需要说明的是,第一承载上丢失的第一个上行数据包可以与该上行数据包的COUNT分开发送给第二基站300,也可以一起发送给第二基站300。本申请实施例对此不作限定。It should be noted that the first uplink data packet lost on the first bearer may be sent to the second base station 300 separately from the COUNT of the uplink data packet, or may be sent to the second base station 300 together. The embodiments of this application do not limit this.
S1603、第二基站300根据第五信息解析第一上行数据包。S1603. The second base station 300 parses the first uplink data packet according to the fifth information.
其中,第二基站300根据第五信息解析第一上行数据包,可以包括:Wherein, the second base station 300 parses the first uplink data packet according to the fifth information, which may include:
第二基站300将接收机的状态机设置为第一上行数据包的COUNT。然后,第二基站300根据该COUNT解析接收到的该第一上行数据包。The second base station 300 sets the state machine of the receiver to the COUNT of the first uplink data packet. Then, the second base station 300 analyzes the received first uplink data packet according to the COUNT.
可以理解的是,终端设备为了实现上述任一个实施例的功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to implement the functions of any of the foregoing embodiments, the terminal device includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
本申请实施例可以对终端设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the terminal device into functional modules. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
比如,以采用集成的方式划分各个功能模块的情况下,如图17所示,为本申请实施例提供的一种终端设备的结构示意图。该终端设备100可以包括分析单元1710、发送单元1720和接收单元1730。For example, in the case of dividing each functional module in an integrated manner, as shown in FIG. 17, it is a schematic structural diagram of a terminal device provided in an embodiment of this application. The terminal device 100 may include an analysis unit 1710, a sending unit 1720, and a receiving unit 1730.
其中,分析单元1710用于支持终端设备执行上述步骤S601、S710、S811、S604-1、S1011、S1201和S1601,和/或用于本文所描述的技术的其他过程。发送单元1720用于支持终端设备执行上述步骤S602、S711、S812、S605-1、S1012和,S1602和/或用于本文所描述的技术的其他过程。接收单元1730用于支持终端设备执行上述步骤S709a和S810,和/或用于本文所描述的技术的其他过程。Wherein, the analysis unit 1710 is used to support the terminal device to perform the above steps S601, S710, S811, S604-1, S1011, S1201, and S1601, and/or other processes used in the technology described herein. The sending unit 1720 is used to support the terminal device to execute the above steps S602, S711, S812, S605-1, S1012, and S1602 and/or other processes used in the technology 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 used in the technology described herein.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that all relevant content of the steps involved in the foregoing method embodiments can be cited in the functional description of the corresponding functional module, and will not be repeated here.
需要说明的是,上述发送单元1720和接收单元1730可以包括射频电路。具体的,终端设备可以通过射频电路进行无线信号的接收和发送。通常,射频电路包括但不限 于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频电路还可以通过无线通信和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统、通用分组无线服务、码分多址、宽带码分多址、长期演进、电子邮件、短消息服务等。It should be noted that the foregoing sending unit 1720 and receiving unit 1730 may include radio frequency circuits. Specifically, the terminal device can receive and send wireless signals through a radio frequency circuit. Generally, the radio frequency circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and so on. In addition, the radio frequency circuit can also communicate with other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to global system for mobile communications, general packet radio service, code division multiple access, broadband code division multiple access, long-term evolution, email, short message service, etc.
在一种可选的方式中,当使用软件实现数据传输时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地实现本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如软盘、硬盘、磁带)、光介质(例如DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In an optional manner, when software is used to implement data transmission, it may be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, all or part of the processes or functions described in the embodiments of the present application are realized. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website site, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
结合本申请实施例所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于探测装置中。当然,处理器和存储介质也可以作为分立组件存在于探测装置中。The steps of the method or algorithm described in the embodiments of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions. Software instructions can be composed of corresponding software modules, which can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, mobile hard disk, CD-ROM or any other form of storage known in the art Medium. An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium may also be an integral part of the processor. The processor and the storage medium may be located in the ASIC. In addition, the ASIC may be located in the detection device. Of course, the processor and the storage medium may also exist as separate components in the detection device.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated as needed. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的用户设备和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed user equipment and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be It can be combined or integrated into another device, or some features can be omitted or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate parts may or may not be physically separate. The parts displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. . Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以 是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of software products, which are stored in a storage medium There are several instructions to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any change or replacement within the technical scope disclosed in this application shall be covered by the protection scope of this application . Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (35)

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

Applications Claiming Priority (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
CN201910755163.3 2019-08-15

Publications (1)

Publication Number Publication Date
WO2021027288A1 true WO2021027288A1 (en) 2021-02-18

Family

ID=74569751

Family Applications (1)

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

Country Status (2)

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

Cited By (2)

* 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
CN115694599A (en) * 2021-07-31 2023-02-03 华为技术有限公司 Transmission method, system and related device

Families Citing this family (2)

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

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102186217A (en) * 2011-06-02 2011-09-14 新邮通信设备有限公司 Data forwarding method during X2 shifting process of LTE system
CN104509161A (en) * 2012-08-07 2015-04-08 华为技术有限公司 Handover processing method and eNB
US20170367017A9 (en) * 2007-11-27 2017-12-21 Qualcomm Incorporated Method and Apparatus for Handling Out-of-Order Packets During Handover In a Wireless Communication System
CN108924876A (en) * 2017-03-24 2018-11-30 华为技术有限公司 Data transmission method, access network equipment, terminal and communication system
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
US20190053113A1 (en) * 2017-08-11 2019-02-14 Htc Corporation Device and Method of Handling a Handover
CN109982360A (en) * 2017-12-27 2019-07-05 华为技术有限公司 Communication means and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
US8208498B2 (en) * 2007-10-30 2012-06-26 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
CN109151918B (en) * 2017-06-13 2020-09-04 华为技术有限公司 Switching control method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170367017A9 (en) * 2007-11-27 2017-12-21 Qualcomm Incorporated Method and Apparatus for Handling Out-of-Order Packets During Handover In a Wireless Communication System
CN102186217A (en) * 2011-06-02 2011-09-14 新邮通信设备有限公司 Data forwarding method during X2 shifting process of LTE system
CN104509161A (en) * 2012-08-07 2015-04-08 华为技术有限公司 Handover processing method and eNB
CN108924876A (en) * 2017-03-24 2018-11-30 华为技术有限公司 Data transmission method, access network equipment, terminal and communication system
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
US20190053113A1 (en) * 2017-08-11 2019-02-14 Htc Corporation Device and Method of Handling a Handover
CN109982360A (en) * 2017-12-27 2019-07-05 华为技术有限公司 Communication means and device

Cited By (2)

* 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
CN115694599A (en) * 2021-07-31 2023-02-03 华为技术有限公司 Transmission method, system and related device

Also Published As

Publication number Publication date
CN112399476A (en) 2021-02-23
CN112399476B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
WO2021027288A1 (en) Data packet transmission method, terminal device, and network device
US11463937B2 (en) Data transmission method and apparatus
US9883441B2 (en) Method and apparatus to route packet flows over two transport radios
EP3641482B1 (en) Terminal devices, base station devices and communication methods
WO2018127018A1 (en) Multi-link communication method and device, and terminal
EP4132085A1 (en) Communication method and apparatus
CN116233564A (en) Method and device for transmitting multicast service
WO2021097858A1 (en) Communication method and apparatus
CN113938840A (en) Communication method and communication device
US10750357B2 (en) Data transmission method and apparatus, and related device
KR20200007485A (en) Electronic device and controlling method thereof
US20200214063A1 (en) Terminal apparatus, base station apparatus, communication method, and integrated circuit
JP2021510254A (en) Relay transmission method and relay node
JP5898121B2 (en) Wireless communication apparatus, processor, and communication control method
CN110636553A (en) Data transmission method and device
US20230224785A1 (en) Service data transmission method and apparatus, terminal device, and network device
WO2022121728A1 (en) Method for transmitting data and communication apparatus
JP2019092055A (en) Terminal device and method
CN111510929A (en) Method and device for L CID expansion in IAB network
WO2023226662A1 (en) Communication method, communication apparatus and communication system
KR20200106702A (en) Method for transmitting capability information of user equipment and electronic device thereof
WO2021190277A1 (en) Uplink data split method and terminal
CN115695583B (en) Data transmission method and electronic equipment
WO2023202164A1 (en) Communication method, communication apparatus and communication system
WO2023226649A1 (en) Network configuration method, user equipment, network device and computer storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20851981

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20851981

Country of ref document: EP

Kind code of ref document: A1