WO2020224631A1 - Method and apparatus for processing data packets - Google Patents

Method and apparatus for processing data packets Download PDF

Info

Publication number
WO2020224631A1
WO2020224631A1 PCT/CN2020/089099 CN2020089099W WO2020224631A1 WO 2020224631 A1 WO2020224631 A1 WO 2020224631A1 CN 2020089099 W CN2020089099 W CN 2020089099W WO 2020224631 A1 WO2020224631 A1 WO 2020224631A1
Authority
WO
WIPO (PCT)
Prior art keywords
network device
header
data packet
pdcp
sequence number
Prior art date
Application number
PCT/CN2020/089099
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 WO2020224631A1 publication Critical patent/WO2020224631A1/en

Links

Images

Classifications

    • 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
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Definitions

  • This application relates to the field of wireless communication technologies, and in particular to a method and device for processing data packets.
  • the network switches the terminal device from the source cell to the target cell for data transmission through a handover process. After the handover process is completed, the terminal device switches to the target base station for communication.
  • the handover process after the source base station sends a handover message to the terminal device, the data transmission between the terminal device and the source base station is interrupted. After the terminal device successfully switches to the target base station, the terminal device can perform data transmission with the target base station. Resume data transfer.
  • the third generation partnership project (3GPP) puts forward the requirement of 0ms handover interruption delay during handover, and provides a handover enhancement solution for this purpose, such as eMBB (enhanced make before break, MBB) solution.
  • eMBB enhanced make before break
  • the terminal device after the terminal device receives the handover message from the source base station, on the one hand, the terminal device continues to maintain the user plane protocol stack corresponding to the source base station to maintain data transmission with the source base station.
  • the terminal equipment establishes a protocol stack corresponding to the target base station for data transmission with the target base station.
  • the source base station sends the handover message to the terminal device, it can forward data with the target base station.
  • the source base station forwards the PDCP service data unit (service data unit, SDU) assigned with the packet data convergence protocol sequence number (packet data convergence protocol sequence number, PDCP SN) to the target base station.
  • the target base station performs header compression and encryption on these PDCP SDUs.
  • the target base station can send the PDCP SDU received from the source base station and processed by the target base station to the terminal device. As a result, a switching interruption delay of 0 ms can be achieved.
  • the target base station's header compression processing of the PDCP SDU is also called robust header compression (ROHC).
  • ROHC is currently recognized as an ideal header compression method used on wireless links.
  • the transmitting end After the transmitting end performs PDCP layer processing such as ROHC on the PDCP SDU, the PDCP protocol data unit (protocol data unit, PDU) is obtained, and the receiving end performs header decompression processing on the received PDCP PDU, which is called ROHC header decompression.
  • ROHC header decompression requires PDCP PDU to be in order.
  • the transmitter performs ROHC and other PDCP layer processing on the PDCP SDU and sends it to the receiver.
  • the PDCP PDUs received by the receiver may be out of order, resulting in a high ROHC header decompression error rate.
  • the present application provides a method and device for processing data packets, which can reduce the error rate of ROHC header decompression.
  • this application provides a method for processing data packets.
  • the terminal device obtains the PDCP sequence number of the first packet that needs to be decompressed by the header among the data packets received from the first network device; the terminal Starting from the PDCP sequence number of the first data packet that needs to be decompressed by the header, the device performs header decompression processing on the data packet received from the first network device.
  • the receiving end before decompressing the header of the received data packet, the receiving end can avoid the receiving end by obtaining the PDCP sequence number of the first data packet sent by the transmitting end that needs to be decompressed by the header.
  • the header decompression process is performed on the data packet, which results in a header decompression error, thereby reducing the header decompression error rate.
  • the terminal device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the first network device, including: terminal device Receive first indication information from the second network device, where the first indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header.
  • the first network device may be the target base station of the terminal device in the cell handover process
  • the second network device may be the source base station
  • the terminal device can obtain the PDCP sequence number of the data packet that needs to be decompressed by the first header from the source base station.
  • the source base station can notify the terminal device that it needs the PDCP sequence number of the first packet whose header is decompressed, so that the terminal device can reorder the data packets received from the target base station from the PDCP sequence number, and follow the reorder Decompressing the header of the data packet in the order after sorting can reduce the error rate of header decompression.
  • the terminal device receives the first indication information from the second network device, including: the terminal device receives the radio resource control RRC reconfiguration message from the second network device, and the RRC reconfiguration The message carries one or more of the first indication information, where each first indication information is used to indicate the corresponding bearer PDCP sequence number of the first data packet that needs to be decompressed by the header; or, the terminal device A PDCP control protocol data unit PDU is received from the second network device, the PDCP control PDU carries the first indication information, wherein the first indication information is used to indicate the requirement of the bearer corresponding to the PDCP control PDU. The PDCP sequence number of a packet decompressed by the header.
  • the terminal device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the first network device, including: terminal device According to the first data packet received from the first network device, the PDCP sequence number of the first data packet that needs to be decompressed by the header is obtained, where the RLC sequence number of the first data packet is the preset RLC sequence number .
  • the terminal device parses the received data packet and determines that its RLC sequence number is the preset RLC sequence number, the PDCP obtained by parsing the data packet
  • the sequence number is the PDCP sequence number of the first packet that needs to be decompressed by the header. In this way, interaction between network equipment and terminal equipment can be avoided, and signaling overhead can be saved.
  • the preset RLC sequence number is 0.
  • the terminal device headers the data packet received from the first network device according to the PDCP sequence number of the first header decompressed data packet.
  • the decompression process includes: according to the PDCP sequence number of the first data packet that needs to be decompressed by the header, the terminal device determines the data packet received from the first network device from the first data packet that needs to be decompressed by the header. Start with the data packet corresponding to the PDCP sequence number of the data packet, reorder the data packets received from the first network device, and perform header decoding on the data packets received from the first network device in the order after the reordering compression.
  • the present application provides a method for processing data packets.
  • a second network device generates first indication information.
  • the first indication information is used to indicate that the terminal device needs the first indication information among the data packets received from the first network device.
  • the second network device may correspond to the source base station of the terminal device in the cell handover process.
  • the second network device sending the first indication information to the terminal device includes: the second network device sends an RRC reconfiguration message to the terminal device, the RRC reconfiguration message Carries one or more of the first indication information, each of the first indication information is used to indicate the packet data convergence protocol PDCP sequence number of the corresponding bearer that requires the first packet to be decompressed by the header; or, 2.
  • the network device sends a packet data convergence protocol PDCP control protocol data unit PDU to the terminal device, the PDCP control PDU carries the first indication information, and the first indication information is used to indicate the bearer corresponding to the PDCP control PDU The PDCP sequence number of the first packet that needs to be decompressed by the header.
  • this application provides a method for processing data packets.
  • the first network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the terminal device; Starting with the PDCP sequence number of the first data packet that needs to be decompressed by the header, header decompression processing is performed on the data packet received from the terminal device.
  • the first network device may correspond to the target base station of the terminal device in the cell handover process.
  • the first network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the terminal device, including: The network device receives second indication information from the terminal device, where the second indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets sent by the terminal device.
  • the first network device receiving the second indication information from the terminal device includes: the first network device receives an RRC reconfiguration complete message from the terminal device, the RRC reconfiguration The completion message carries one or more of the second indication information, where each second indication information is used to indicate the PDCP sequence number of the corresponding bearer that requires the first header decompressed data packet; or A network device receives a PDCP status report from a terminal device, and the PDCP status report carries the second indication information, where the second indication information is used to indicate the needs of the bearer corresponding to the PDCP status report.
  • the first network device obtains the first data packet that needs to be decompressed by the header among the data packets received from the terminal device, including: The second data packet received by the terminal device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header, where the radio link control RLC sequence number of the second data packet is the preset RLC sequence number .
  • the preset RLC sequence number is 0.
  • the method further includes: the first network device sends a first message to the second network device, where the first message is used to indicate the need to be the first to be The PDCP sequence number of the data packet whose header is decompressed; the first network device starts with the data packet corresponding to the PDCP sequence number of the first data packet that needs to be decompressed by the header, and headers the data packet received from the terminal device
  • the decompression process includes: when the first network device receives one or more data packets from the terminal device, the first network device sends the one or more data packets to the second network device; The device receives the one or more data packets after the reordering, and performs header decompression processing on the one or more data packets in the order after the reordering, wherein the one or more data packets are It is reordered starting from the PDCP sequence number of the first packet that needs to be decompressed by the header.
  • the method further includes: the first network device sends a first message to the second network device, where the first message is used to indicate the need to be the first to be The PDCP sequence number of the header decompressed data packet; when the first network device receives one or more data packets from the terminal device, the first network device sends the PDCP sequence of the one or more data packets to the second network device Number; the first network device receives a second message from the second network device, the second message is used to indicate whether to allow header decompression of the data packet corresponding to the one or more PDCP sequence numbers, where the The second message is generated according to the first message and the one or more PDCP sequence numbers; and, the first network device receives the PDCP sequence number of the first packet that needs to be decompressed by the header, and responds to the slave Decompressing the header of the data packet received by the terminal device includes: the first network device starts from the data packet corresponding to the PDCP sequence number of the first
  • the first network device headers the data packet received from the terminal device according to the PDCP sequence number of the first header decompressed data packet.
  • Decompression processing includes: when the first network device receives the data packet that needs to be decompressed by the first header, the first network device sends the data that needs to be decompressed by the first header to the second network device Packet, and after sending the data packet that needs to be decompressed by the first header, it sends other data packets received from the terminal device to the second network device; the first network device receives all the reordered data packets from the second network device The first data packet that needs to be decompressed by the header and the other data packets; the first network device performs processing on the data packet that needs to be decompressed by the first header and the other data packets in the order after reordering Header decompression processing.
  • the first network device headers the data packet received from the terminal device according to the PDCP sequence number of the first header decompressed data packet.
  • Decompression processing includes: when the first network device receives the data packet that needs to be decompressed by the first header, the first network device sends the data that needs to be decompressed by the first header to the second network device The PDCP sequence number of the packet, and the PDCP sequence number of one or more data packets received from the terminal device is sent to the second network device after the first data packet that needs to be decompressed by the header; the first network device Receive a second message from the second network device, where the second message is used to indicate whether the first network device is allowed to decompress the header of the data packet corresponding to the one or more PDCP sequence numbers; the first network device is based on In the second message, header decompression processing is performed on the data packet that needs to be decompressed by the first header and the one or more data packets.
  • this application provides a method for processing data packets, including: a second network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets sent by the terminal device; The PDCP sequence number of the first data packet that needs to be decompressed by the header assists the first network device to perform header decompression processing on the data packet received from the terminal device.
  • the second network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets sent by the terminal device, including: the second network device A first message is received from the first network device, where the first message is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header; the second network device is the first to be decompressed according to the need.
  • the PDCP sequence number of the compressed data packet to assist the first network device in performing header decompression processing on the data packet received from the terminal device includes: the second network device receives one or more data packets from the first network device; second According to the first message, the network device starts from the data packet corresponding to the PDCP sequence number of the first data packet that needs to be decompressed by the header for the one or more data packets received from the first network device.
  • the data packets received from the first network device are reordered, and the reordered data packets are sent to the first network device for header decompression processing.
  • the second network device assists the first network device to receive data from the terminal device according to the PDCP sequence number of the data packet that needs to be decompressed by the first header.
  • the header decompression processing of the data packet includes: the second network device receives a first message from the first network device, the first message is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header.
  • the second network device receives one or more PDCP sequence numbers from the first network device; the second network device determines whether to allow the first network device to correspond to the one or more PDCP sequence numbers according to the first message
  • the data packet is header decompressed; the second device sends a second message to the first network device, the second message is used to indicate whether the first network device is allowed to check the corresponding one or more PDCP sequence numbers
  • the packet is header decompressed.
  • the second network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets sent by the terminal device, including: the second network device Receive the data packet corresponding to the first PDCP sequence number from the first network device, and receive other data packets from the first network device after receiving the data packet corresponding to the first PDCP sequence number; the second network device receives the data packet from the first network device A PDCP sequence number starts to reorder the data packets corresponding to the first PDCP sequence number and the other data packets, and reorder the data packets corresponding to the first PDCP sequence number and the other data packets Send it to the first network device for header decompression processing.
  • the data packet corresponding to the first PDCP sequence number is the first data packet received by the second network device from the first network device, and the data packet corresponding to the first PDCP sequence number is the first header that needs to be Uncompressed data package.
  • the second network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets sent by the terminal device, including: the second network device Receive a second PDCP sequence number from the first network device, and the second PDCP sequence number is preset to be the PDCP sequence of the first data packet that needs to be decompressed by the header among the data packets received by the first network device from the terminal device.
  • the second network device assists the first network device to perform header decompression processing on the data packet received from the terminal device according to the PDCP sequence number of the first header decompressed data packet, including: the second network The device receives one or more data packets from the first network device; the second network device reorders the one or more data packets starting from the data packet corresponding to the second PDCP sequence number, and after the reordering
  • the data packet corresponding to the second PDCP sequence number and the one or more data packets are sent to the first network device for header
  • the second PDCP sequence number is the first PDCP sequence number received by the second network device from the first network device
  • the data packet corresponding to the second PDCP sequence number is the data packet that needs to be decompressed by the first header data pack.
  • the number “second” of the second PDCP serial number is only to distinguish it from the number “first” of the first PDCP serial number above, and should not constitute a limitation on the technical solution.
  • the present application provides a method for processing data packets.
  • a terminal device generates second indication information.
  • the second indication information is used to indicate that the first data packet sent by the terminal device needs to be decoded by the first network device header.
  • the terminal device sending the second indication information to the first network device includes: the terminal device sends an RRC reconfiguration complete message to the first network device, and the RRC The reconfiguration complete message carries one or more of the second indication information, where each second indication information is used to indicate the PDCP sequence number of the corresponding bearer that requires the first header decompressed data packet; or , The terminal device sends a PDCP status report to the first network device, the PDCP status report carries the second indication information, where the second indication information is used to indicate that the corresponding bearer needs to be resolved by the first header The PDCP sequence number of the compressed data packet; or, the terminal device sends a PDCP control PDU to the first network device, and the PDCP control PDU carries the second indication information, where the second indication information is used to indicate the The PDCP control PDU bears the PDCP sequence number of the first data packet that needs to be decompressed by the header.
  • the present application provides a communication device that has the function of implementing the method in the first aspect or any of its possible implementations, or the communication device has the function of implementing the fifth aspect or any of its possible implementations.
  • the function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more units corresponding to the above functions.
  • this application provides a communication device that has the function of implementing the method in the second aspect or any of its possible implementations, or the communication device has the ability to implement the fourth aspect or any of its possible implementations
  • the function in the way of the method can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more units corresponding to the above functions.
  • the present application provides a communication device that has a function of implementing the method in the third aspect or any possible implementation manner thereof.
  • the function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more units corresponding to the above functions.
  • this application provides a terminal device including a processor and a memory.
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program stored in the memory to make the terminal device execute the method in the first aspect or any of its possible implementations, or make the terminal device execute the fifth aspect or any of its possible methods The method in the implementation.
  • this application provides a network device including a processor and a memory.
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program stored in the memory, so that the network device executes the method in the second aspect or any possible implementation manner thereof, or executes the fourth aspect or any possible implementation manner thereof Method in.
  • the network device of the tenth aspect may be the first network device in this application.
  • this application provides a network device including a processor and a memory.
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program stored in the memory, so that the network device executes the method in the third aspect or any possible implementation manner thereof.
  • the network device of the eleventh aspect may be the second network device in this application.
  • this application provides a computer-readable storage medium having computer instructions stored in the computer-readable storage medium.
  • the computer instructions run on a computer, the computer executes the first aspect or any possible implementation thereof. Or make a computer execute the method in the fifth aspect or any possible implementation manner thereof.
  • this application provides a computer-readable storage medium having computer instructions stored in the computer-readable storage medium.
  • the computer instructions run on a computer, the computer executes the second aspect or any possible implementation thereof The function of the method in the manner, or the method of performing the fourth aspect or any possible implementation manner thereof.
  • this application provides a computer-readable storage medium having computer instructions stored in the computer-readable storage medium.
  • the computer instructions run on a computer, the computer executes the third aspect or any possible implementation thereof The method in the way.
  • this application provides a chip including a processor.
  • the processor is configured to read and execute the computer program stored in the memory to execute the method in the first aspect or any possible implementation manner thereof, or execute the method in the fifth aspect or any possible implementation manner thereof.
  • the chip further includes a memory, and the memory and the processor are connected to the memory through a circuit or a wire.
  • the chip further includes a communication interface.
  • this application provides a chip including a processor.
  • the processor is used to read and execute a computer program stored in the memory to execute the method in the second aspect or any possible implementation manner thereof, or execute the method in the fourth aspect or any possible implementation manner thereof.
  • the chip further includes a memory, and the memory and the processor are connected to the memory through a circuit or a wire.
  • the chip further includes a communication interface.
  • this application provides a chip including a processor.
  • the processor is used to read and execute the computer program stored in the memory to execute the method in the third aspect or any possible implementation manner thereof.
  • the chip further includes a memory, and the memory and the processor are connected to the memory through a circuit or a wire.
  • the chip further includes a communication interface.
  • this application provides a computer program product.
  • the computer program product includes computer program code.
  • the computer program code runs on a computer, the computer executes the first aspect or any of its possible implementations. , Or execute the method in the fifth aspect or any of its possible implementation manners.
  • this application provides a computer program product.
  • the computer program product includes computer program code.
  • the computer program code runs on a computer, the computer executes the second aspect or any of its possible implementations. , Or execute the method in the fourth aspect or any of its possible implementation manners.
  • this application provides a computer program product.
  • the computer program product includes computer program code.
  • the computer program code runs on a computer, the computer executes the third aspect or any of its possible implementations. Methods.
  • the receiving end before decompressing the header of the received data packet, the receiving end can avoid the receiving end by obtaining the PDCP sequence number of the first data packet sent by the transmitting end that needs to be decompressed by the header.
  • the header decompression process is performed on the data packet, which results in a header decompression error, thereby reducing the header decompression error rate.
  • Fig. 1 is an architecture diagram of a communication system applicable to an embodiment of the present application.
  • Figure 2 is a schematic diagram of the handover process in the eMBB solution.
  • Figure 3 is a schematic diagram of the functional modules of the PDCP layer.
  • Figure 4 is a schematic diagram of a user plane protocol stack of a network device.
  • Figure 5 is a schematic diagram of a user plane protocol stack of the UE.
  • Fig. 6 is a schematic diagram of another user plane protocol stack of the UE.
  • FIG. 7 is a schematic diagram of the first network device and the second network device each having a reordering function module.
  • Fig. 8 is a schematic diagram of the first network device and the second network device sharing a reordering function module.
  • FIG. 9 is a schematic diagram of a communication device 500 provided by this application.
  • FIG. 10 is a schematic diagram of a communication device 600 provided by this application.
  • FIG. 11 is a schematic diagram of a communication device 700 provided by this application.
  • FIG. 12 is a schematic structural diagram of a terminal device provided by this application.
  • FIG. 13 is a schematic structural diagram of a network device provided by this application.
  • FIG. 14 is a schematic structural diagram of a network device provided by this application.
  • LTE long term evolution
  • FDD frequency division duplex
  • time division duplex time division duplex
  • TDD time division duplex
  • UMTS universal mobile telecommunication system
  • WiMAX worldwide interoperability for microwave access
  • 5G future 5th generation
  • NR new wireless
  • the terminal equipment in the embodiments of this application may refer to user equipment, access terminals, user units, user stations, mobile stations, mobile stations, remote stations, remote terminals, mobile equipment, user terminals, terminals, wireless communication equipment, user agents, or User device.
  • the terminal device can also be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), with wireless communication Functional handheld devices, computing devices, or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in the future 5G network or future evolution of the public land mobile network (PLMN) Terminal equipment, etc., this application is not limited to this.
  • SIP session initiation protocol
  • WLL wireless local loop
  • PDA personal digital assistant
  • the network device in the embodiment of the present application may be any device with a wireless transceiver function.
  • the network equipment includes but is not limited to: evolved Node B (eNB), radio network controller (RNC), node B (Node B, NB), base station controller (base station controller, BSC), base transceiver station (base transceiver station, BTS), home base station (home evolved NodeB, or home Node B, HNB), baseband unit (BBU), wireless fidelity (wireless fidelity, WIFI) system Access point (access point, AP), wireless relay node, wireless backhaul node, transmission point (transmission point, TP), or transmission and reception point (transmission and reception point, TRP), etc., can also be the fifth generation (the fifth generation (5G) system, for example, gNB or transmission point (TRP or TP) in the new radio (NR), one or a group (including multiple antenna panels) antenna panels of the base station in the 5G system, or It may also be a network node that constitutes a
  • the gNB may include a centralized unit (CU) and a distributed unit (DU).
  • the gNB may also include an active antenna unit (AAU).
  • CU implements part of the functions of gNB
  • DU implements part of the functions of gNB.
  • the CU is responsible for processing non-real-time protocols and services, and implements radio resource control (radio resource control, RRC), packet data convergence protocol (packet data convergence protocol, PDCP) layer functions.
  • RRC radio resource control
  • PDCP packet data convergence protocol
  • the DU is responsible for processing physical layer protocols and real-time services, and realizes the functions of the radio link control (RLC) layer, media access control (MAC) layer, and physical (PHY) layer.
  • RLC radio link control
  • MAC media access control
  • PHY physical
  • high-level signaling such as RRC layer signaling, can also be considered to be sent by DU , Or, sent by DU and AAU.
  • the network device may be a device including one or more of CU, DU, and AAU.
  • the CU can be divided into network equipment in an access network (radio access network, RAN), and the CU can also be divided into network equipment in a core network (core network, CN), which is not limited in this application.
  • RAN radio access network
  • CN core network
  • FIG. 1 is an architecture diagram of a communication system applicable to an embodiment of the present application.
  • the wireless communication system may include a network device 101 and a network device 102, and one or more terminal devices 103.
  • the network device 101 or the network device 102 sends a signal
  • the network device is the transmitting end
  • the terminal device 103 is the receiving end.
  • the terminal device 103 sends a signal
  • the terminal device is the transmitting end
  • the network device 101 and/or the network device 102 is the receiving end.
  • the technical solution of the present application is applicable to scenarios where terminal devices perform handover.
  • a traditional handover process after the source base station sends a handover message to the UE, data transmission between the UE and the source base station will be interrupted until the UE successfully switches to the target base station, and the UE can perform data transmission with the target base station. Specifically, after the UE successfully accesses the target base station, the UE sends an RRC reconfiguration complete message to the target base station. At this time, the air interface can resume data transmission. Therefore, there is an interruption delay during the handover.
  • FIG. 2 is a schematic diagram of the handover process in the eMBB solution.
  • the source base station forwards the PDCP service data unit (service data unit, SDU) assigned to the packet data convergence protocol sequence number (packet data convergence protocol sequence number, PDCP SN) to the target base station, that is, the source base station sends the PDCP to the target base station.
  • SDU(s) and the PDCP SN corresponding to each PDCP SDU.
  • each PDCP SDU assigned to the PDCP SN is associated with a PDCP SN.
  • These PDCP SDUs forwarded to the target base station are processed by the target base station for header compression, encryption, and PDCP header addition.
  • the description of other steps in FIG. 2 can refer to the prior art.
  • the eMBB handover process shown in FIG. 2 is merely an example.
  • the handover process may also include other steps besides the steps shown in FIG. 2, or, the steps shown in FIG. 2 may execute part but not all of the steps.
  • Figure 3 is a schematic diagram of the functional modules of the PDCP layer.
  • Figure 3 shows the PDCP entity at the transmitting end and the PDCP entity at the receiving end.
  • the PDCP entity at the sending end can perform PDCP SN allocation, header compression, integrity protection, encryption, PDCP header addition (add PDCP header), routing/copying, etc.
  • the PDCP entity at the receiving end can perform PDCP header removal, decryption, and integrity verification , Reordering, copy discarding, header decompression and other processing.
  • the PDCP entity at the transmitting end is the PDCP entity of the network device
  • the PDCP entity at the receiving end is the PDCP entity of the terminal device.
  • the PDCP entity at the transmitting end is the PDCP entity of the terminal device
  • the PDCP entity at the receiving end is the PDCP entity of the network device.
  • the network device serves as the sender of the data packet, and its user plane protocol stack architecture can be seen in Figure 4.
  • Figure 4 is a schematic diagram of a user plane protocol stack of a network device.
  • the PDCP layer of the network device (for example, the source base station shown in Figure 4) generates the sequence numbering of the data packet, which is the above PDCP SN, or in other words, performs the PDCP SN allocation and performs the data packet Operations such as header compression, integrity protection, ciphering, and PDCP header addition (add PDCP header) are then submitted to the RLC layer. After being processed by RLC, MAC layer, and PHY layer in turn, it is sent to the terminal device.
  • Fig. 4 is only an example.
  • the PDCP layer of the source base station or the target base station shown in Figure 4 may also include integrity protection (when used as a sender), integrity verification (when used as a receiver), and PDCP header addition ( add PDCP header, routing/duplication, reordering, duplicate discarding and other functional modules.
  • integrity protection when used as a sender
  • integrity verification when used as a receiver
  • PDCP header addition add PDCP header, routing/duplication, reordering, duplicate discarding and other functional modules.
  • These functional modules can be referred to as shown in FIG. 3, but not shown in FIG. 4. Among them, the routing/replication module in FIG. 4 is different from that in FIG. 3, which will be described in the following embodiments.
  • the network device may perform duplication processing or duplication operation on the data packet.
  • the duplication of downlink data packets is called DL duplication.
  • the replication process refers to a certain PDCP SN (the PDCP SN is allocated by the source base station), and the source base station can generate 2 PDCP SDUs.
  • the source base station generates two PDCP SDUs corresponding to the same PDCP SN.
  • a PDCP SDU is passed to the source base station's own compression, encryption and other functional modules.
  • the source base station After the source base station's header compression (such as ROHC) context is used for header compression and the source base station's key for encryption, the source base station sends it to UE.
  • Another PDCP SDU (and the PDCP SN corresponding to the PDCP SDU) is forwarded by the source base station to the target base station, and uses the target base station's header compression (such as ROHC) context for header compression and the target base station's key for encryption, etc., to generate PDCP PDU.
  • the target base station receives the RRC reconfiguration complete message sent by the UE, the target base station can send the PDCP PDU received from the source base station and processed by the target base station to the UE.
  • the UE After receiving the handover message from the source base station, the UE maintains data transmission with the source base station on the one hand, that is, maintains the user plane protocol stack corresponding to the source base station, and does not perform layer 2 on the user plane protocol stack of the source base station.
  • Reset reset
  • re-establishment re-establishment
  • layer 2 includes a MAC layer, an RLC layer, and a PDCP layer.
  • the UE establishes a protocol stack of the target base station for initiating RACH and data transmission to the target. In an optional implementation manner, the UE may perform duplication processing or duplication operation on the data packet.
  • the duplication of uplink data packets is called UL duplication.
  • the replication process refers to a certain PDCP SN (the PDCP SN is allocated by the UE), and the UE can generate 2 PDCP SDUs.
  • the UE generates two PDCP SDUs corresponding to the same PDCP SN.
  • a PDCP SDU is transferred to the corresponding source base station's header compression, encryption and other functional modules.
  • the header compression such as ROHC
  • Another PDCP SDU is passed to the corresponding target base station's header compression, encryption and other functional modules, and the target base station's header compression (such as ROHC) context is used for header compression and the target base station's key for encryption, etc., to generate PDCP PDU, and the UE will Send to the target base station.
  • the target base station's header compression such as ROHC
  • the UE After the UE receives the handover message and before the UE releases the connection with the source base station, the UE maintains two sets of security contexts corresponding to the source base station and the target base station (or maintains two security keys, such as the key of the source base station and the target base station. Key), or the UE maintains two sets of header compression (such as ROHC) contexts corresponding to the source base station and the target base station respectively.
  • the UE uses the corresponding security context (or key) for decryption according to whether the received data packet is from the source base station or the target base station, and uses the corresponding header decompression context to perform header decompression and other processing.
  • the UE can perform uplink data transmission with the source base station and the target base station respectively.
  • the transmission may be a UL duplication data packet or not a UL duplication data packet.
  • the UE will use the ROHC context of the source base station for header compression, use the key of the source base station for encryption and other processing, and then send the PDCP PDU to the RLC layer, MAC layer and PHY layer of the source base station.
  • the UE will use the ROHC context of the target base station for header compression, use the key of the target base station for encryption and other processing, and then send the PDCP PDU to the RLC layer, MAC layer and PHY layer of the target base station.
  • the UE Take the uplink (UL) data transmission as an example, the UE as the sender, taking a bearer as an example, its user plane protocol stack architecture can be similar to the protocol stack architecture of the network side downlink data transmission, see figure 5 shown.
  • Figure 5 is a schematic diagram of a user plane protocol stack of the UE.
  • the UE has two PDCP layers.
  • One PDCP layer corresponds to the source base station, and the other PDCP layer corresponds to the target base station.
  • the protocol stack architecture shown in Figure 5 if the UE performs a duplication operation on UL data packets, for the same PDCP SN, the two PDCP layers have their own corresponding PDCP SDUs.
  • the PDCP layer corresponding to the source base station uses the header compression context of the source base station for header compression, uses the key of the source base station for encryption and other processing to generate PDCP PDU, and the PDCP layer corresponding to the target base station uses the header compression context of the target base station for header compression. After compression, use the key of the target base station for encryption and other processing to generate PDCP PDU.
  • the protocol stacks on the left (for example, PHY1, MAC1, RLC1) in FIG. 5 can correspond to the target base station, and the protocol stacks on the right (for example, PHY2, MAC2, RLC2) can correspond to the source base station.
  • the header addition in Figure 5 refers to the PDCP header addition.
  • the two PDCP entities (or PDCP layers) of the UE shown in FIG. 5 may be transmitting PDCP entities (or PDCP layers).
  • the sending PDCP entity may also include functional modules such as integrity protection, PDCP header addition (add PDCP header), routing/duplication, etc.
  • routing/duplication The functional module of) is located in the PDCP entity corresponding to the source base station.
  • the receiving PDCP entity can be the receiving PDCP entity (or PDCP layer), and the receiving PDCP entity can also include integrity verification (integrity verification). Verification), PDCP header removal (remove PDCP header), reordering (reordering), copy discarding and other functional modules. These functional modules can be referred to as shown in FIG. 3, but not shown in FIG. 5.
  • the PDCP layer corresponds to both the source base station and the target base station.
  • the user plane protocol stack of the UE can be referred to Shown in Figure 6.
  • Figure 6 is a schematic diagram of another user plane protocol stack of the UE.
  • the common PDCP shown in FIG. 6 maintains two sets of security contexts (and the common PDCP maintains two sets of header compression contexts).
  • the UE performs UL duplication. Specifically, under the protocol stack architecture shown in Figure 6, if the UE performs duplication operations on UL data packets, for the same PDCP SN, the common PDCP layer uses the header compression context corresponding to the source base station for header compression and uses the source base station's key After encryption and other processing, a PDCP PDU is generated.
  • the common PDCP layer uses the header compression context corresponding to the target base station to perform header compression and uses the key of the target base station for encryption and other processing to generate another PDCP PDU, namely For a certain PDCP SN, the UE generates 2 PDCP PDUs corresponding to the same PDCP SN.
  • the UE uses the ROHC context of the source base station for header compression, and uses the key of the source base station for encryption and other processing and sends the data packet to the source base station.
  • the UE sends to the target base station the data packet after header compression using the ROHC context of the target base station and encryption using the key of the target base station.
  • the PDCP entity (or PDCP layer) shown in FIG. 6 may be the transmitting PDCP entity (or PDCP layer).
  • the sending PDCP entity may also include functional modules such as integrity protection, PDCP header addition (add PDCP header), routing/duplication, and so on.
  • the PDCP entity (or PDCP layer) shown in Figure 6 can be the receiving PDCP entity (or PDCP layer), and the receiving PDCP entity can also include integrity verification, PDCP Functional modules such as remove PDCP header, reordering, and copy discarding. These functional modules can be referred to as shown in FIG. 3, but not shown in FIG. 6.
  • the user plane protocol stack architecture of the network equipment and UE given in Figure 4 to Figure 6 above is only an example.
  • the technical solution of the present application does not limit the use of other protocol stack architectures or variations thereof, as long as the network side or the UE side is guaranteed
  • the data can be transmitted through two legs to achieve a 0ms switching interruption delay, which is applicable in the technical solutions of this application.
  • the source base station decrypts the PDCP PDU received from the UE using the key of the source base station, and uses the header decompression context of the source base station to decompress the header.
  • the target base station decrypts the PDCP PDU received from the UE using the key of the target base station, and uses the header decompression context of the target base station to perform header decompression.
  • the RLC layer at the receiving end does not guarantee that the data packets will be delivered to the PDCP layer in order. Therefore, if the data packets are out of order before header decompression, the error rate of header decompression will be very high.
  • this application proposes a method for processing data packets, which aims to reduce the error rate of header decompression.
  • the first network device and the second network device in this application are merely examples of network side devices.
  • the first network device may be the target base station of the terminal device in the handover process
  • the second network device may be the source base station in the handover process.
  • the terminal device obtains the packet data convergence protocol sequence number (PDCP sequence, PDCP SN) of the first data packet that needs to be decompressed by the header among the data packets received from the first network device.
  • PDCP sequence packet data convergence protocol sequence number
  • the terminal device can obtain the PDCP sequence number of the first data packet that needs to be decompressed by the header in multiple ways. Several methods are listed below for illustration.
  • the terminal device receives the first indication information from the second network device.
  • the first indication information is used to indicate the PDCP sequence number of the first data packet decompressed by the header among the data packets received by the terminal device from the first network device.
  • the second network device From the perspective of the second network device, the second network device generates the first indication information and sends the first indication information to the terminal device.
  • the second network device sends a radio resource control (radio resource control, RRC) reconfiguration message to the terminal device, and the RRC reconfiguration message carries one or more first indication information.
  • RRC radio resource control
  • Each first indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets transmitted on the bearer corresponding to the first indication information.
  • each first indication information is the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets transmitted on the bearer corresponding to the first indication information.
  • the PDCP sequence number is based on the granularity of the radio bearer (data radio bearer, DRB), where the RB can include data radio bearer (DRB) and signaling radio bearer (signalling radio bearer, SRB) . Therefore, the first indication information carried in the RRC reconfiguration message is also based on radio bearer granularity. Different bearers have their own corresponding PDCP sequence numbers that need to be decompressed by the header.
  • the PDCP sequence numbers of the data packets that need to be decompressed by the first header of different bearers may be the same or different.
  • each first indication information corresponds to a different bearer. Therefore, the PDCP sequence number indicated by each first indication information is the PDCP sequence number of the first data packet that needs to be decompressed by the header of the bearer corresponding to the first indication information.
  • each first indication information is associated with an RB identity, indicating that the PDCP sequence number indicated by the first indication information is the RB identity.
  • the PDCP sequence number of the first packet decompressed by the header is required on the corresponding RB. That is, optionally, the RRC reconfiguration message includes the first indication information and the RB ID associated with the first indication information.
  • the RRC reconfiguration message here may be an RRC reconfiguration message including a synchronization reconfiguration (ReconfigurationWithSync) cell, or may be an RRC connection reconfiguration message including a mobility control information (Mobility ControlInfo) cell, which is not limited here.
  • the RRC reconfiguration message may also adopt other names.
  • the RRC reconfiguration message is used to instruct the UE to perform handover.
  • the second network device sends a PDCP control protocol data unit (protocol data unit, PDU) to the terminal device, and the PDCP control PDU carries the first indication information.
  • PDU protocol data unit
  • the PDCP control PDU carries the first indication information of the bearer corresponding to the PDCP control PDU.
  • the first indication information may be the PDCP sequence number, and the PDCP sequence number is the PDCP sequence number of the first data packet that needs to be decompressed by the header on the corresponding bearer.
  • the terminal device When the terminal device receives the data packet of the preset RLC sequence number from the first network device, the terminal device parses the data packet to obtain the PDCP sequence number corresponding to the data packet.
  • the PDCP sequence number corresponding to the data packet is the PDCP sequence number of the first data packet that needs to be decompressed by the header from the first network device.
  • the terminal device determines the received PDCP sequence number of the data packet with the preset RLC sequence number as the PDCP sequence from the first network device that needs the first data packet decompressed by the header number. In other words, the terminal device determines the data packet with the preset RLC sequence number received from the first network device as the first data packet from the first network device that needs to be decompressed by the header.
  • the preset RLC sequence number may be specified by a protocol, or agreed upon by the terminal device and the network, and is not limited here.
  • the preset RLC sequence number is 0.
  • the terminal device After receiving the data packet with the RLC sequence number of 0 from the first network device, the terminal device performs the PDCP layer corresponding processing on the data packet received from the first network device starting from the data packet with the RLC sequence number 0 .
  • the RLC layer of the terminal device must wait for the RLC PDU (or RLC SDU) with the RLC SN of 0 to be received before it starts to submit data to its PDCP layer (for example, the RLC layer submits the RLC to the PDCP layer with SN of 0).
  • RLC SDU that is, the first packet that the terminal device submits to its PDCP layer must be a data packet with an RLC SN of 0.
  • the RLC layer of the terminal device Even if the RLC layer of the terminal device has received the RLC SN non-zero data packet before it receives the RLC SN non-zero data packet, the RLC layer first buffers these RLC SN non-zero data packets, and does not submit to the PDCP layer, the RLC layer After receiving a packet with an RLC SN of 0 and submitting the packet with an RLC SN of 0 to the PDCP layer, the RLC layer delivers the buffered data packets with a non-zero RLC SN to the PDCP layer.
  • the PDCP layer of the terminal device parses out the PDCP SN corresponding to the data packet whose RLC SN is 0, it reorders the data packets from the first network device according to the PDCP SN (that is, uses the PDCP SN as the start of the reordering Value), and then the PDCP layer of the terminal device decompresses the header of the reordered data packets in order.
  • the first data packet submitted by the RLC layer of the terminal device to its own PDCP layer must be a data packet with an RLC SN of 0, and the RLC SN of the data packet subsequently submitted to the PDCP layer by the RLC layer can be out of order or according to This is not limited (for example, the second data packet submitted by the RLC layer of the terminal device to its own PDCP layer can be a data packet with RLC SN 1, or a data packet with RLC SN 3, or It is a data packet whose RLC SN is 2, which is not limited).
  • the PDCP layer of the terminal device can reorder the received data packets (for example, the received RLC SDU (or PDCP PDU)).
  • the RLC layer of the UE when the RLC layer of the UE receives a data packet with an RLC SN of 0 from the first network device, the RLC layer sends indication information to the PDCP layer for instructing the PDCP layer to start reordering or header decompression operations.
  • RLC transmission modes include UM mode and AM mode.
  • RLC data PDU includes UMD (Unacknowledged Mode Data) PDU and AMD (Acknowledged Mode Data) PDU.
  • the AMD PDU header carries the RLC SN
  • the first network device that is, the sender
  • the terminal device that is, the receiver
  • the UMD PDU header In UM mode, only when the RLC SDU is segmented, the UMD PDU header carries RLC SN (An UMD PDU header contains the SN field only when the corresponding RLC SDU is segmented).
  • the first network device i.e. the sender
  • the first network device needs to perform special processing on data packets with RLC SN 0, that is, the RLC layer at the sender must use data packets with RLC SN 0 for data packets with RLC SN 0
  • the packet is processed in the format of.
  • the specific format please refer to the description in section 6.2.2.3 of TS38.322-f50 (for example, for the specific UMD PDU format, please refer to Figure 6.2.2.3-2, Figure 6.2.2.3-3, Figure 6.2.2.3-4, Figure 6.2. 2.3-5);
  • the sender can perform special processing for data packets whose RLC SN is not 0 according to the above-mentioned method; or, no special processing is required, that is, the format of the generated UMD PDU is UMD PDU containing a complete RLC SDU
  • the format of the generated UMD PDU is UMD PDU containing a complete RLC SDU
  • the specific format of UMD PDU please refer to the description in section 6.2.2.3 of TS38.322-f50 (for example, refer to Figure 6.2.2.3-1 for the specific format of UMD PDU).
  • the processing method of the receiving end (that is, the terminal device) is similar to the processing method of the receiving end (that is, the terminal device) in the AM mode, and the processing can be performed according to the above method 2.
  • the terminal device performs header decompression processing on the data packet received from the first network device according to the PDCP sequence number of the first header decompressed data packet.
  • the terminal device learns the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the first network device. At this time, the terminal device can reorder the data packets received from the first network device starting from the PDCP sequence number of the first data packet that needs to be decompressed by the header, and reorder the data packets in the order after the reordering. The data packet received from the first network device undergoes header decompression processing.
  • the terminal device may decompress the header of the data packet received from the first network device at the PDCP layer corresponding to the first network device, or it may be common PDCP (common PDCP). ) Layer (the common PDCP corresponds to both the first network device and the second network device), for example, the user plane protocol stack of the terminal device may be as shown in Figure 4 or Figure 5 above. The user plane protocol stack of the terminal device is not limited here.
  • the first data packet that needs to be decompressed by the header is the second network device sent to the first data packet.
  • the first data packet to be copied in the PDCP SDUs of a network device (or, it is the PDCP SN corresponding to the data packet that is copied in the PDCP SDUs sent by the second network device to the first network device) Minimum value), or, it is the minimum value of PDCP SN corresponding to the PDCP SDUs sent by the second network device to the first network device.
  • the terminal device needs to obtain the PDCP sequence number of the first DL duplication data packet from the first network device (or the minimum value of the PDCP SN corresponding to the DL duplication data packet from the first network device).
  • the first network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the terminal device.
  • the first network device can obtain the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the terminal device.
  • the terminal device can obtain the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the terminal device.
  • the first network device receives second indication information from the terminal device, where the second indication information is used to indicate the PDCP sequence number of the first data packet that needs header decompression processing among the data packets sent by the terminal device.
  • the terminal device sends an RRC reconfiguration complete message to the first network device, and the RRC reconfiguration complete message carries one or more second indication information.
  • each second indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header of the bearer corresponding to the second indication information.
  • the second indication information is also based on radio bearer granularity. Therefore, the RRC reconfiguration complete message may carry one or more second indication information.
  • the different second indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header on different bearers.
  • each second indication information is associated with one RB, indicating that the PDCP sequence number indicated by the second indication information corresponds to the RB identity
  • the PDCP sequence numbers of the first data packet that needs to be decompressed by the header on different bearers may be the same or different from each other, or the PDCP sequence number of the first data packet that needs to be decompressed by the header on part of the bearers Similarly, this application does not limit this.
  • the terminal device sends a PDCP status report to the first network device, and the PDCP status report carries the second indication information.
  • the PDCP status report is sent with the granularity of the bearer. Therefore, the second indication information carried in each PDCP status report is used to indicate the first data packet on the bearer corresponding to the PDCP status report that needs to be decompressed by the header.
  • the PDCP serial number Alternatively, the terminal device sends an RLC status report to the first network device, and the RLC status report carries the second indication information.
  • the terminal device sends a PDCP control PDU to the first network device, and the PDCP control PDU carries the second indication information.
  • the PDCP control PDU is sent with the granularity of the bearer. Therefore, the second indication information carried in each PDCP control PDU is used to indicate the first data packet on the bearer corresponding to the PDCP control PDU that needs to be decompressed by the header.
  • the PDCP serial number is used to indicate the first data packet on the bearer corresponding to the PDCP control PDU that needs to be decompressed by the header.
  • the first network device When the first network device receives a data packet with a preset RLC sequence number from the terminal device, the first network device parses the data packet to obtain the PDCP sequence number corresponding to the data packet.
  • the PDCP sequence number corresponding to the data packet is the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the terminal device.
  • the first network device determines the PDCP sequence number of the data packet with the preset RLC sequence number received from the terminal device as the first data packet from the terminal device that needs to be decompressed by the first network device.
  • the PDCP serial number In other words, the first network device determines the data packet of the preset RLC sequence number received from the terminal device as the first data packet that needs to be decompressed by the header.
  • the preset RLC sequence number may be specified by a protocol, or agreed upon by the terminal device and the network, and is not limited here.
  • the preset RLC sequence number in uplink data transmission and the preset RLC sequence number in downlink data transmission described above may be set to be the same or different, which is not limited in this application.
  • the preset RLC sequence number in the uplink data transmission is 0.
  • the first network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the terminal device. At this time, the first network device may perform header decompression processing on the data packet received from the terminal device starting from the first data packet that needs to be decompressed by the header.
  • the first network device performs header decompression processing on the data packet received from the terminal device starting from the PDCP sequence number of the first data packet that needs to be decompressed by the header.
  • the first network device After the first network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header, according to whether the first network device has a reordering function module, the first network device checks the header of the data packet received from the terminal device.
  • the decompression process can be implemented in a variety of specific implementations, which are described separately below.
  • the first network device has a function of reordering data packets, in other words, the first network device has a function module for reordering data packets.
  • a reordering functional module For simplicity of description, the functional module that reorders data packets is referred to as a reordering functional module below.
  • the first network device and the second network device each have a reordering function module (the reordering function module is used to reorder the data packets before header decompression).
  • the data packets received by the first network device and the second network device are reordered by their respective reordering function modules.
  • FIG. 7 is a schematic diagram of the first network device and the second network device each having a reordering function module.
  • the source base station and the target base station each have functional modules for reordering and header decompression.
  • the reordering function module of the source base station is shown in Figure 7 for reordering (1)
  • the reordering function of the target base station is shown in Figure 7 for reordering (2).
  • the above line of data transmission is taken as an example.
  • the source base station and the target base station respectively complete PDCP header removal (remove PDCP header), decryption (deciphering), integrity verification (integrity verification), and complete reordering in the reception buffer (reception buffer)
  • PDCP header removal remove PDCP header
  • decryption decryption
  • integrity verification integrity verification
  • complete reordering in the reception buffer (reception buffer)
  • the reordering function module delivers the data packet to the upper layer.
  • this common reordering function module is shown in Figure 7 for reordering (3).
  • the source base station and the target base station shown in FIG. 7 each also have a copy discard function, or called a copy packet discard function.
  • the copy discard function and the reordering function can be designed on the same functional module.
  • the reordering (1)/copy discarding shown in FIG. 7 indicates that the functional module has both a reordering function and a copy discarding function.
  • the source base station and the target base station do not have a copy discard function, for example, the source base station's receive buffer does not have reordering (1), and the target base station's receive buffer does not have reordering (2).
  • the duplication discard function refers to the function of detecting duplicate data packets (that is, the above-mentioned duplication data packets) for the same PDCP SN, and discarding one of them if two data packets with the same PDCP SN are detected.
  • the common reordering/duplicate packet discarding function module (as shown in Figure 7 for reordering (3)/copy Discard) can be located at the source base station. After the target base station receives the SN status transfer message sent by the source base station, the common reordering/duplicate packet discarding function module may be located in the target base station.
  • the first network device and the second network device share a reordering function module.
  • the common reordering function module may be set on the first network device.
  • the common reordering function module may be provided on the second network device.
  • the first network device after the first network device receives the data packet from the terminal device, it can use the reordering function module set on the first network device to determine the first Beginning with the PDCP sequence numbers of the data packets processed by header decompression, the data packets with the PDCP sequence numbers received from the terminal device are reordered sequentially. After the reordering is completed, the first network device decompresses the headers of these data packets in the order after the reordering.
  • the first network device After the first network device receives a data packet with an RLC sequence number of 0 from a terminal device, it starts with a data packet with an RLC sequence number of 0 and performs PDCP layer processing on the data packet received from the terminal device. Deal with it accordingly.
  • RLC transmission modes include Unacknowledged Mode (UM) and Acknowledged Mode (AM).
  • RLC data PDU includes UMD (Unacknowledged Mode Data) PDU and AMD (Acknowledged Mode Data) PDU.
  • the terminal device that is, the sending end
  • the first network device that is, the receiving end
  • the UMD PDU header contains RLC SN (An UMD PDU header contains the SN field only when the corresponding RLC SDU is segmented).
  • the terminal device i.e. the sender
  • the terminal device needs to perform special processing on the data packets with RLC SN 0 sent to the first network device. That is, the RLC layer at the sender must carry RLC for data packets with RLC SN 0.
  • the format of the SN data packet processes the data packet.
  • the specific format of UMD PDU can refer to the description in section 6.2.2.3 of TS38.322-f50 (for example, Figure 6.2.2.3-2, Figure 6.2.2.3-3, Figure 6.2.2.3-4, Figure 6.2 .2.3-5).
  • the sender can perform special processing for data packets whose RLC SN is not 0 according to the above method; or, there is no need to perform special processing, that is, the format of the generated UMD PDU is a UMD PDU containing a complete RLC SDU .
  • the specific format of UMD PDU can refer to the description in section 6.2.2.3 of TS38.322-f50 (for example, Figure 6.2.2.3-1).
  • the processing method of the receiving end is similar to the processing method of the receiving end (ie, the first network device) under AM, and the processing can be performed in the manner 2 above.
  • the first network device can independently reorder the data packets received from the terminal device (that is, reorder (2) in Figure 7), and reorder the data according to the order after reordering.
  • the packet is header decompressed.
  • the first network device does not have a reordering function module.
  • the first network device and the second network device share a reordering function module, but the reordering function module is provided on the second network device.
  • the first network device since the first network device does not have a reordering function module, as shown in FIG. 8, the first network device (ie, the target base station) does not have reordering and copying before performing the header decompression function. Discard function. For example, compared with FIG. 7, the target base station shown in FIG. 8 does not have the functional module of reordering (2). Therefore, the first network device cannot reorder the data packets received from the terminal device. Therefore, the first network device needs the second network device to assist in decompressing the header of the data packet.
  • the second network device does not have a reordering function module
  • the second network device that is, the source base station
  • the second network device does not have the reordering and copy discarding functions before performing the header decompression function.
  • the source base station does not have the reordering (1) functional module
  • the target base station has the reordering (2) functional module. Therefore, the second network device cannot reorder the data packets received from the terminal device. Therefore, the second network device needs the first network device to assist in decompressing the header of the data packet.
  • FIG. 8 is a schematic diagram of the first network device and the second network device sharing a reordering function module.
  • the reordering (3) on the source base station is set on the source base station as a common reordering function module of the source base station and the target base station.
  • the target base station does not have a functional module for reordering after header decompression.
  • a common reordering function module after decompressing the headers of the source base station and the target base station is set on the target base station.
  • the source base station after receiving the UL PDCP PDU from the UE, the source base station removes the PDCP header, and then the source base station uses the key of the source base station to decrypt and complete the integrity verification. After that, the source base station respectively reorders the data packets sent by the UE to the source base station and the data packets sent by the UE to the target base station.
  • the reordering (1) function module in FIG. 8 performs the reordering operation.
  • the reordering (1) function module of the source base station will receive the duplication data packet. Therefore, the difference from the existing PDCP layer shown in Figure 3 is that the receiving PDCP entity (the PDCP entity shown on the right in Figure 3) in Figure 3 has a copy and discard function, while the source shown in Figure 8 The base station needs to disable the duplication discarding function.
  • the function module reorders the data packets received from the UE, and then submits it to the header decompression function module of the source base station for header decompression. After header decompression is completed, the header decompression module then submits the header decompressed data packet to the reordering (3)/copy and discarding function module to perform reordering/duplicate packet discard processing. After the reordering, copy detection, and copy discarding are completed, the data packet is delivered to the upper layer.
  • the target base station After the target base station receives the UL PDCP PDU from the UE, it removes the PDCP header, then uses the key of the target base station for decryption and then performs integrity verification. Since the header must be decompressed to ensure that the data packets are in order, and the target base station does not have a reordering function module. Therefore, the target base station's decompression processing of the header of the data packet includes the following method 1 and method 2.
  • Method 1 As shown in path 1 in Figure 8, the target base station sends the data packets received from the terminal device to the source base station, and the source base station's reordering function module (reordering (1) shown in Figure 8) Reorder these packets. After completing the reordering, the source base station needs to record which base station each data packet reordered by the reordering (1) comes from, and then transfer the data packet to the corresponding base station for header decompression processing.
  • reordering function module reordering (1) shown in Figure 8
  • Method 2 As shown in path 2 in Figure 8, the target base station only sends the PDCP sequence number of the data packet to the source base station, and the source base station checks whether the PDCP sequence number is in sequence. If the PDCP sequence numbers are in sequence, the source base station instructs the target base station to decompress the header of the data packet corresponding to the PDCP sequence number. Then, the target base station submits the data packet corresponding to the PDCP sequence number to its own header decompression module for header decompression according to the instruction of the source base station.
  • the target base station After the target base station completes header decompression, it then submits the header decompressed data packet to the public reordering/duplication discarding function module for reordering and duplication packet (ie, duplication data packet) discarding processing.
  • the common reordering/duplication discarding function module completes reordering, duplication data packet detection, and discarding the data packets of the two legs, and then delivers the data packets to the upper layer.
  • the common reordering/copy discarding function module is the reordering (3)/copying discarding function module shown in FIG. 8.
  • the common reordering/duplication discarding function module is located in the source base station as an example.
  • the common reordering/duplication discarding functional module may also be located in the target base station.
  • the network side decompressing the header of the data packet is similar to that shown in Figure 8.
  • Those skilled in the art can also easily process the data packet according to the reordering/duplication discarding function module at the source base station. The process of processing data packets when the reordering/duplication discarding function module is known to be located at the target base station is appropriately omitted here to avoid repetition.
  • the reordering function module is set in the source base station as an example for illustration (that is, the reordering (1) function module is located in the source base station).
  • the target base station did not receive the SN status transfer message sent by the source base station.
  • the reordering function module can also be set in the target base station.
  • the target base station receives the SN status transfer message sent by the source base station.
  • the second network device may assist the first network device in completing the decompression processing of the header of the data packet in a variety of ways. Several methods are listed below as examples.
  • the first network device After the first network device obtains the PDCP data packet that requires the first data packet decompressed by the header, it sends a first message to the second network device.
  • the first message is used to indicate the data received by the first network device from the terminal device.
  • the packet needs the PDCP sequence number of the first packet decompressed by the header.
  • the first network device After the first network device informs the second network device of the PDCP sequence number of the first data packet whose header is decompressed by the first network device through the first message, the first network device will receive one or more Data packets are sent to the second network device.
  • the second network device when the second network device receives one or more data packets from the first network device, the second network device needs the first one to be decompressed from the header indicated by the first message. Starting with the PDCP sequence number of the data packet, reorder one or more data packets received from the first network device, and return the one or more data packets after the reordering to the first network device for header decoding Compression processing.
  • the second network device assists the first network device in reordering the data packets from the terminal device received by the first network device. After that, the first network device receives the reordered data packets returned by the second network device, and sequentially performs header decompression processing on the data packets in the order after the reordering.
  • the first network device After the first network device obtains the PDCP data packet that requires the first data packet decompressed by the header, it sends a first message to the second network device.
  • the first message is used to indicate the data received by the first network device from the terminal device.
  • the packet needs the PDCP sequence number of the first packet decompressed by the header.
  • the second network device can learn the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received by the first network device from the terminal device. This is the same as Method A above.
  • the first network device When the first network device receives one or more data packets from the terminal device, the first network device sends the PDCP sequence number corresponding to the received one or more data packets to the second network device.
  • the second network device After the second network device receives one or more PDCP sequence numbers sent by the first network device, it determines the one or more PDCP sequence numbers received from the first network device according to the PDCP sequence number of the first packet decompressed by the header. Or whether the data packets corresponding to the multiple PDCP sequence numbers can be decompressed by the header and return a second message to the first network device.
  • the second message is used to indicate whether the first network device can decompress the header of each data packet corresponding to the one or more PDCP sequence numbers.
  • the first network device may send the PDCP sequence number of the data packet to the second network device for judgment every time it receives a data packet from the terminal device.
  • the second network device receives the first PDCP sequence number from the first network device, if the first PDCP sequence number is the same as the first packet that needs to be decompressed by the header, then The second message returned by the second network device to the first network device indicates that the data packet header corresponding to the PDCP sequence number is allowed to be decompressed.
  • the second network device After that, if the PDCP sequence number received by the second network device from the first network device is sequentially increasing from the PDCP sequence number of the first packet that needs to be decompressed by the header, the second network device returns The second message indicates that the first network device is allowed to decompress the header of the data packets corresponding to the PDCP sequence numbers. On the contrary, if the PDCP sequence number received by the second network device from the first network device does not increase sequentially from the PDCP sequence number of the first packet that needs to be decompressed by the header, it means that the first network device is from the terminal device. The PDCP sequence number of the received data packet or the PDCP sequence number indicated by the second network device to the first network device is out of sequence. Therefore, the second message returned by the second network device for the out-of-sequence PDCP sequence number indicates not Allow the first network device to decompress the header.
  • the first network device may also send the PDCP sequence numbers of the multiple data packets to the second network device according to the receiving order after receiving multiple data packets.
  • the second network device determines whether the data packets corresponding to the multiple PDCP sequence numbers received from the first network device can be decompressed by the header according to the PDCP sequence number of the first data packet that needs to be decompressed by the header.
  • the second network device may return the reordered PDCP sequence numbers to the first network device while returning NACK, so as to instruct the first network device to follow the indicated reordered PDCP sequence numbers. , Decompress the header of the data packets corresponding to these PDCP sequence numbers.
  • the second network device returns 3, 4, 5, and 6 to the first network device.
  • the second network device may use multiple bits to respectively indicate whether the data packets corresponding to the multiple PDCP sequence numbers received from the first network device can be decompressed by the header.
  • the second network device returns 1000 to the first network device, indicating that the data packet corresponding to the first PDCP sequence number sent by the first network device to the second network device allows the first network device to decompress the header, and the next three The data packets corresponding to the respective PDCP sequence numbers do not allow the first network device to perform header decompression.
  • method A after receiving the data packet from the terminal device, the first network device sends the received data packet to the second network device for reordering.
  • method B after receiving the data packet from the terminal device, the first network device sends the PDCP sequence number of the received data packet to the second network device, and the second network device transmits the first network device according to the requirements indicated in the first message.
  • the PDCP sequence number of a data packet decompressed by the header determines whether the first network device is allowed to decompress the data packet corresponding to the PDCP sequence number, and then the first network device is instructed through a second message.
  • the process of the source base station assisting the target base station to decompress the header of the data packet received from the terminal device can be referred to the description of path 1 and path 2 in FIG. 8 respectively.
  • the first network device after the first network device obtains the PDCP sequence number of the data packet that needs to be decompressed by the first network device for the first header, it indicates the need to the second network device through the first message The PDCP sequence number of the packet decompressed by the first header. Then, when the first network device receives the data packet from the terminal device, the first network device sends the received data packet or the PDCP sequence number of the received data packet to the order of the data packets received from the terminal device The second network device.
  • the following introduces other ways in which the second network device assists the first network device in decompressing the header of the data packet received from the terminal device, such as the following way C and way D.
  • the first network device obtains a PDCP data packet that requires the first header decompressed data packet, and the PDCP sequence number of the PDCP data packet is the first PDCP sequence number.
  • the first network device receives the data packet from the terminal device.
  • the first network device receives the data packet corresponding to the first PDCP serial number from the terminal device
  • the first network device first transfers the data corresponding to the first PDCP serial number
  • the packet is sent to the second network device, and then other data packets received from the terminal device are sent to the second network device.
  • the first data packet sent by the first network device to the second network device is by default the data packet that needs to be decompressed by the first header. It is equivalent to that, the first network device implicitly informs the second network device of the data packet received by the first network device from the terminal device that the PDCP sequence number of the first packet decompressed by the header is required, and It is no longer necessary to notify through other additional messages (for example, the first message).
  • the PDCP sequence number of the first packet received by the second network device from the first network device (hereinafter referred to as the first PDCP sequence number) is the The first data packet that needs to be decompressed by the header among the data packets received by the first network device from the terminal device.
  • the second network device uses the PDCP sequence number of the first data packet received from the first network device as a reference for reordering the data packets received from the first network device. Starting from the first PDCP sequence, the second network device reorders the data packets received from the first network device.
  • the first network device obtains the PDCP data packet that needs the first data packet decompressed by the header.
  • the first network device When the first network device receives the data packet that needs to be decompressed by the first header from the terminal device, the first network device first sends the PDCP sequence number of the data packet that needs to be decompressed by the first header to The second network device then sends the PDCP sequence numbers of other data packets received from the terminal device to the second network device.
  • the first PDCP sequence number sent by the first network device to the second network device is the PDCP sequence number of the data packet that needs to be decompressed by the first header by default.
  • the first network device implicitly informs the second network device of the PDCP sequence number of the first packet decompressed by the header among the data packets received by the first network device from the terminal device. It is also no longer necessary to notify through other additional messages (for example, the first message).
  • the method C and the method D can save the signaling interaction between the first network device and the second network device, and save the signaling overhead.
  • the first network device needs to decompress the first data packet received from the terminal device.
  • the data packet may also be the first data packet that is subjected to copy processing among the data packets sent by the terminal device to the first network device (or, that is, the data packet that is sent to the network device by the terminal device corresponds to the data packet that is subjected to copy processing.
  • the minimum value of PDCP SN or the minimum value of PDCP SN corresponding to the PDCP SDUs sent by the terminal device to the first network device.
  • the first data packet that needs to be decompressed by the header can also be replaced with the first data packet that needs to be decompressed by the header. That is, the PDCP sequence number of the first data packet that needs to be decompressed by the header can also be replaced with the PDCP sequence number of the first data packet that needs to be decompressed by the header.
  • the sending end performs a duplication operation on the data packet
  • the receiving end needs to obtain the PDCP sequence number of the first data packet that is subjected to the duplication process among the sent data packets.
  • the description is made by taking the sending end of the data packet performing the copy processing operation on the data packet as an example.
  • the sender may not perform a copy processing operation on the data packet.
  • the UE In the uplink data transmission, if the data packet is not copied, that is, the UE only sends UL data to the source base station before sending the RRC reconfiguration message to the target base station. After sending the RRC reconfiguration complete message, the UE only sends UL data to the target base station. Since some of the data packets sent by the UE to the source base station may not be successfully received, the UE needs to retransmit these data packets to the target base station, which may also cause the target base station to receive the data packets from the UE out of order, and the target base station When the header decompresses the data packet, the PDCP sequence number may also appear out of order, which causes the header decompression error of the target base station.
  • the UE sends data packets with PDCP SN 2, 3, 4 to the source base station, but the source base station only successfully receives data packets with PDCP SN 2, 4. Among them, the data packet with PDCP SN of 3 failed to be sent. At this time, the UE may have sent a data packet with a PDCP SN of 5 to the target base station, and then the UE finds that the data packet with a PDCP SN of 3 failed to be sent. If at this time, the UE uses the header compression (such as ROHC) context of the target base station to perform header compression on the data packet whose PDCP SN is 3, and retransmit to the target base station.
  • the header compression such as ROHC
  • the target base station first receives the data packet with PDCP SN of 5, and then receives the data packet with PDCP SN of 3. If the target base station first decompresses the header of the data packet whose PDCP SN is 5 according to the order of the received data packets, the header decompression error occurs.
  • this application also proposes a solution for the situation where the copy processing operation is not performed on the data packet, which is applicable to both uplink and downlink data transmission.
  • the following is an example of the above data transmission.
  • the UE after the UE sends a data packet to the source base station, it needs to receive feedback from the source base station corresponding to all the data packets sent to the source base station, and then send the data packet to the target base station.
  • the UE sends data packets with PDCP SN 2, 3, 4 to the source base station, and after receiving feedback for all data packets from the source base station, it is determined that the data packet with PDCP SN 3 fails to be sent.
  • the UE uses the ROHC context of the target base station to compress the data packet whose PDCP SN is 3. Therefore, the first data packet sent by the UE to the target base station is a data packet whose PDCP SN is 3.
  • the UE sends a data packet with a PDCP SN of 3 to the target base station, it then sends a data packet with a PDCP SN of 5 to the target base station. In this way, the data packet whose PDCP SN is 3 will be the first data packet received by the target base station and decompressed by the header, which can avoid header decompression errors.
  • the UE may indicate to the target base station the PDCP sequence number of the first data packet that requires header decompression.
  • the PDCP SN indicated by the UE to the target base station is 3.
  • the UE after the UE sends to the target base station the first data packet that needs to be decompressed by the header, it sends indication information to the target base station, for example, the indication information is an end marker.
  • the indication information (such as the end identifier) is used to instruct the target base station to start decompressing the received PDCP PDU header.
  • the UE can use the ROHC context of the target base station to perform header compression, and then the UE sends it to the target base station. That is, even if the source base station successfully receives a data packet with a PDCP SN of 4, the UE may send a data packet with a PDCP SN of 4 to the target base station.
  • the target base station decrypts and decompresses the header of the data packet whose PDCP SN is 4.
  • the source base station decrypts the successfully received data packet (PDCP PDU) with a PDCP SN of 4 using the key of the source base station and decompresses the header of the ROHC context of the source base station, and then the PDCP SN The PDCP SDU of the data packet of 4 is forwarded to the target base station.
  • the steps implemented by the terminal device can also be implemented by components (such as chips or circuits) that can be used in the terminal device
  • the steps implemented by the network device can also be implemented by
  • components such as chips or circuits
  • the receiving end indicates to the receiving end the PDCP sequence number of the first packet decompressed by the header, or presets the PDCP sequence number of the first packet decompressed by the header. , Can avoid the header decompression processing on the data packet by the receiving end when the data packet is out of order, resulting in header decompression error, thereby reducing the header decompression error rate.
  • the foregoing method for processing data packets is not only applicable to eMBB scenarios, but also applicable to similar scenarios where disorder may occur during header decompression.
  • the UE sends an uplink data packet with a PDCP SN of 10-20 to the source base station, the source base station successfully receives a data packet with a PDCP SN of 10-15, and the source base station sends an SN STATUS TRANSFER message to the target base station.
  • the indicated PDCP SN of the first missing uplink data packet is 16, but the source base station does not send a status report to the UE or the UE does not receive the status report sent by the source base station, the UE sends an uplink with a PDCP SN of 10-20 to the target base station Data packet, the first data packet received by the target base station is a data packet with PDCP SN of 16, and the target base station considers that the data packet with PDCP SN of 16 is the first data packet that requires header decompression, and the target base station performs header decompression
  • the first compressed packet is a data packet with a PDCP SN of 16. At this time, the header decompression fails. At this time, the above method of processing the data packet can also be used to solve the problem of header decompression failure.
  • the following describes the device for processing data packets provided by this application.
  • the communication device 500 includes a communication unit 510 and a processing unit 520.
  • the communication unit 510 is configured to obtain the packet data convergence protocol PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the first network device;
  • the processing unit 520 is configured to perform header decompression processing on the data packet received from the first network device according to the PDCP sequence number of the first header decompressed data packet.
  • the communication unit 510 may also be replaced by a receiving unit and/or a sending unit.
  • the communication unit 510 may be replaced by a receiving unit when performing the receiving step.
  • the communication unit 510 may be replaced by a sending unit when performing the steps of sending.
  • the communication unit 510 may also be an interface circuit.
  • the communication device 500 may further include a storage unit for storing code or data, and the processing unit 520 may call the code or data in the storage unit to enable the communication device to implement corresponding functions or steps.
  • the communication device 500 may completely correspond to the terminal device in the method embodiment, or in other words, the communication device 500 is a terminal device.
  • the communication unit 510 shown in FIG. 9 may be a transceiver.
  • the transceiver has the function of sending and/or receiving.
  • the transceiver can also be replaced by a receiver and/or transmitter.
  • the communication unit 510 may also be a transceiver circuit or an interface circuit.
  • each unit of the communication device 500 In downlink data transmission, the steps and/or processing performed by each unit of the communication device 500 are as follows.
  • the communication unit 510 receives first indication information from the second network device, where the first indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header.
  • the communication unit 510 receives a radio resource control RRC reconfiguration message from the second network device, where the RRC reconfiguration message carries one or more of the first indication information, where each first indication information is used It indicates the PDCP sequence number of the first packet that needs to be decompressed by the header of the corresponding bearer. or,
  • the communication unit 510 receives the PDCP control protocol data unit PDU from the second network device, the PDCP control PDU carries the first indication information, where the first indication information is used to indicate the bearer corresponding to the PDCP control PDU The PDCP sequence number of the first packet that needs to be decompressed by the header.
  • the processing unit 520 may be a processor.
  • the processor is configured to execute steps or processing corresponding to the terminal device implementation in each method embodiment.
  • the processing unit 520 parses the data packet received by the communication unit 510 from the first network device, and when it is determined that the communication unit 510 receives a data packet with a preset radio link control RLC sequence number, the processing unit 520 performs analysis on the pre- It is assumed that the data packet of the RLC sequence number is analyzed to obtain the PDCP sequence number of the first data packet that needs to be decompressed by the header.
  • the processing unit 520 starts from the data packet corresponding to the PDCP sequence number of the first data packet that needs to be decompressed by the header for the data packet received from the first network device, and for the data packet received from the first network device The data packets are reordered, and the header of the data packets received from the first network device is decompressed according to the order after the reordering.
  • the communication device 500 may be a chip or an integrated circuit.
  • the communication unit 510 shown in FIG. 9 may be a communication interface.
  • the communication interface may be an input/output interface or a transceiver circuit.
  • the processing unit 520 may be a processing device. The functions of the processing device can be partially or fully realized by software.
  • the functions of the processing device may be partially or fully implemented by software.
  • the processing device may include a memory and a processor, where the memory is used to store a computer program, and the processor reads and executes the computer program stored in the memory to execute the internal implementation of the terminal device in each embodiment. deal with. For example, the processing performed by the processing unit 520 described above is executed.
  • the processing device may only include a processor, and the memory for storing the computer program is located outside the processing device.
  • the processor is connected to the memory through a circuit/wire to read and execute the computer program stored in the memory.
  • the functions of the processing device may be partially or fully implemented by hardware.
  • the processing device includes an input interface circuit, a logic circuit, and an output interface circuit.
  • the input interface circuit is used to obtain the data packet that needs to be decompressed by the first header and the data packet received by the communication device from the first network device;
  • the logic circuit is used to obtain the data packet that needs to be decompressed by the first header.
  • the PDCP sequence number of the data packet is used to perform header decompression processing on the data packet received from the first network device;
  • the output interface circuit is used to output the data packet after the header is decompressed.
  • the input interface circuit is used to obtain the first indication information; the logic circuit is used to parse the first indication information to obtain the PDCP serial number of the data packet that needs to be decompressed by the first header; and the output interface circuit is used to output The PDCP sequence number of the first data packet that needs to be decompressed by the header.
  • the input interface circuit can be used to obtain the RRC reconfiguration message, and the logic circuit parses the RRC reconfiguration message to obtain the PDCP sequence number of the first packet that needs to be decompressed by the header; output interface circuit Used to output the PDCP sequence number of the first packet that needs to be decompressed by the header.
  • the input interface circuit can be used to obtain the PDCP control PDU, and the logic circuit can obtain the PDCP serial number of the first packet decompressed by the header according to the PDCP control PDU; the output interface circuit is used to output the data packet.
  • the input interface circuit may be used to obtain the data packet received by the communication device from the first network device, and the logic circuit parses the data packet to obtain the RLC sequence number of the data packet, so that when it is determined that the pre-order is received
  • the logic circuit parses the data packet to obtain the RLC sequence number of the data packet, so that when it is determined that the pre-order is received
  • analyze the data packet to obtain the PDCP sequence number of the data packet, and determine the PDCP sequence number as the PDCP sequence number of the first data packet that needs to be decompressed by the header
  • the output interface circuit is used to output the PDCP sequence number of the first packet that needs to be decompressed by the header.
  • each unit of the communication device 500 In downlink data transmission, the steps and/or processing performed by each unit of the communication device 500 are as follows.
  • the processing unit 520 is configured to generate second indication information, where the second indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the first network device header among the data packets sent by the terminal device;
  • the communication unit 510 is configured to send second instruction information to the first network device.
  • the communication unit 510 is specifically configured to send an RRC reconfiguration complete message to the first network device, where the RRC reconfiguration complete message carries one or more of the second indication information, where each second indication information It is used to indicate the PDCP sequence number of the first packet that needs to be decompressed by the header of the corresponding bearer. or,
  • the communication unit 510 is specifically configured to send a PDCP status report to the first network device, where the PDCP status report carries the second indication information, where the second indication information is used to indicate that the corresponding bearer needs to be first The PDCP sequence number of the decompressed packet. or,
  • the communication unit 510 is specifically configured to send a PDCP control PDU to the first network device, where the PDCP control PDU carries the second indication information, where the second indication information is used to indicate the bearer corresponding to the PDCP control PDU
  • the PDCP sequence number of the first packet that needs to be decompressed by the header.
  • the communication device 600 includes a processing unit 610 and a transceiving unit 620.
  • the communication device 600 may correspond to the second network device in each method embodiment of downlink data transmission, or may also be a chip or an integrated circuit installed on the second network device.
  • the functions of each unit included in the communication device 600 are as follows.
  • the processing unit 610 is configured to generate first indication information, where the first indication information is used to indicate that the terminal device needs the packet data convergence protocol PDCP sequence of the first header decompressed data packet among the data packets received from the first network device number;
  • the communication unit 620 is configured to send the first indication information to a terminal device.
  • the communication device 600 may further include a storage unit for storing code or data, and the processing unit 610 may call the code or data in the storage unit to enable the communication device 600 to implement corresponding functions or steps.
  • the communication unit 620 may also be replaced by a receiving unit and/or a sending unit.
  • the communication unit 620 may be replaced by a receiving unit when performing the receiving step.
  • the communication unit 620 may be replaced by a sending unit when performing the steps of sending.
  • the communication unit 620 may also be an interface circuit.
  • the communication device 600 may completely correspond to the second network device (for example, the source base station) in the method embodiment, or in other words, the communication device 600 is the second network device.
  • the transceiving unit 620 shown in FIG. 10 may be a transceiver.
  • the transceiver has the function of sending and/or receiving.
  • the transceiver can also be replaced by a receiver and/or transmitter.
  • the processing unit 610 may be a processor.
  • the transceiver and the processor are used to perform steps or processing performed by the second network device in each method embodiment of downlink data transmission.
  • the communication unit 620 sends an RRC reconfiguration message to the terminal device, the RRC reconfiguration message carries one or more of the first indication information, and each first indication information is used to indicate that the corresponding bearer needs the first indication.
  • the communication unit 620 sends a PDCP control PDU to the terminal device, where the PDCP control PDU carries the first indication information, and the first indication information is used to indicate that the bearer corresponding to the PDCP control PDU needs the first indication.
  • the communication device 600 may be a chip or an integrated circuit.
  • the communication unit 620 shown in FIG. 10 may be a communication interface.
  • the communication interface may be an input/output interface or a transceiver circuit.
  • the processing unit 610 may be a processing device. The functions of the processing device can be partially or fully realized by software.
  • the functions of the processing device may be partially or fully implemented by software.
  • the processing device may include a memory and a processor, where the memory is used to store a computer program, and the processor reads and executes the computer program stored in the memory to execute the second network device in the various embodiments. Realized processing. For example, the processing performed by the processing unit 610 described above is executed.
  • the processing device may only include a processor, and the memory for storing the computer program is located outside the processing device.
  • the processor is connected to the memory through a circuit/wire to read and execute the computer program stored in the memory.
  • the functions of the processing device may be partially or fully implemented by hardware.
  • the processing device includes an input interface circuit, a logic circuit, and an output interface circuit.
  • the logic circuit is configured to generate first indication information, where the first indication information is used to indicate that the PDCP sequence number of the first data packet decompressed by the header among the data packets received by the terminal device from the first network device;
  • the output interface circuit is used to output the first indication information.
  • the communication apparatus 600 may correspond to the second network device in each method embodiment of uplink data transmission, or may also be a chip or an integrated circuit installed on the second network device.
  • the functions of each unit included in the communication device 600 are as follows.
  • the processing unit 610 is configured to obtain the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets sent by the terminal device, and according to the PDCP sequence number of the first data packet that needs to be decompressed by the header, Assisting the first network device to perform header decompression processing on the data packet received from the terminal device.
  • the communication unit 620 is configured to receive a first message from the first network device, and the first message is used for Indicates the PDCP sequence number of the first packet that needs to be decompressed by the header. And, the communication unit 620 is configured to receive one or more data packets from the first network device.
  • the processing unit 610 is configured to reorder the one or more data packets received from the first network device starting from the PDCP sequence number of the first data packet that needs to be decompressed by the header, And sending the one or more data packets after the reordering to the first network device for header decompression processing.
  • the aforementioned communication unit 620 is configured to receive a first message from the first network device, and the first message is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header. And, the communication unit 620 is configured to receive the PDCP sequence number of one or more data packets from the first network device. At this time, the processing unit 610 is configured to determine, according to the first message, whether to allow the first network device to decompress the header of each data packet corresponding to the one or more PDCP sequence numbers. Further, the communication unit 620 is further configured to send a second message to the first network device, where the second message is used to indicate whether the first network device is allowed to access the data corresponding to the one or more PDCP sequence numbers. The packet is header decompressed.
  • the communication unit 620 receives the data packet corresponding to the first PDCP sequence number from the first network device, and after receiving the data packet corresponding to the first PDCP sequence number, The first network device receives other data packets.
  • the processing unit 610 is configured to reorder the data packets corresponding to the first PDCP sequence number and the other data packets starting from the first PDCP sequence number, and reorder the data corresponding to the first PDCP sequence number after the reordering
  • the packet and the other data packets are sent to the first network device for header decompression processing.
  • the communication unit 620 receives a second PDCP sequence number from the first network device, and the second PDCP sequence number is preset to be that the first network device receives from the terminal device The received packet needs the PDCP sequence number of the first packet decompressed by the header.
  • the processing unit 610 reorders the one or more data packets starting from the second PDCP sequence number.
  • the communication unit 620 is further configured to send the data packet corresponding to the reordered second PDCP sequence number and the one or more data packets to the first network device for header decompression processing.
  • FIG. 11 is a schematic diagram of a communication device 700 provided by this application.
  • the communication device 700 includes a communication unit 710 and a processing unit 720.
  • the communication unit 710 is configured to obtain the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the terminal device;
  • the processing unit 720 is configured to perform header decompression processing on the data packet received from the terminal device starting from the PDCP sequence number of the first data packet that needs to be decompressed by the header.
  • the communication unit 710 may also be replaced by a receiving unit and/or a sending unit.
  • the communication unit 710 may be replaced by a receiving unit when performing the receiving step.
  • the communication unit 710 may be replaced by a sending unit when performing the steps of sending.
  • the communication device 700 may further include a storage unit for storing code or data, and the processing unit 720 may call the code or data in the storage unit to enable the communication device 700 to implement corresponding functions or steps.
  • the communication apparatus 700 may completely correspond to the first network device (for example, the target base station) in the method embodiment. In other words, the communication apparatus 700 is the first network device.
  • the communication unit 710 shown in FIG. 11 may be a transceiver.
  • the transceiver has the function of sending and/or receiving.
  • the transceiver can also be replaced by a receiver and/or transmitter.
  • the processing unit 720 may be a processor.
  • the transceiver and the processor are used to execute steps or processes executed by the first network device in each method embodiment.
  • the communication unit 710 receives second indication information from the terminal device, where the second indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets sent by the terminal device.
  • the communication unit 710 receives an RRC reconfiguration complete message from the terminal device, where the RRC reconfiguration complete message carries one or more of the second indication information, where each second indication information is used to indicate the corresponding The PDCP sequence number of the first packet that needs to be decompressed by the header.
  • the communication unit 710 receives a PDCP status report from a terminal device, and the PDCP status report carries the second indication information, where the second indication information is used to indicate the needs of the bearer corresponding to the PDCP status report The PDCP sequence number of the first packet decompressed by the header.
  • the communication unit 710 receives a PDCP control PDU from the terminal device, and the PDCP control PDU carries the second indication information.
  • the second indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header of the bearer corresponding to the PDCP control PDU.
  • the processing unit 720 is configured to determine the RLC sequence number of the data packet received by the communication unit 710 from the terminal device. When the processing unit 720 determines that the communication unit 710 has obtained the data packet with the preset RLC sequence number, the processing unit 720 parses the data packet with the preset RLC sequence number to obtain the first data packet that needs to be decompressed by the header. The PDCP sequence number of the packet.
  • the communication unit 710 sends a first message to the second network device, where the first message is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header. And, when the communication unit 710 receives one or more data packets from the terminal device, it sends the one or more data packets to the second network device. And, the processing unit 720 is further configured to receive the one or more data packets after reordering from the second network device, and perform header decompression processing on the one or more data packets in the order after the reordering , Wherein the one or more data packets are reordered starting from the PDCP sequence number of the first data packet that needs to be decompressed by the header.
  • the communication unit 710 sends a first message to the second network device, where the first message is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header. And, when the communication unit 710 receives one or more data packets from the terminal device, it sends the PDCP sequence numbers of the one or more data packets to the second network device. And, the processing unit 720 receives a second message from the second network device, where the second message is used to indicate whether header decompression is allowed for the data packet corresponding to the one or more PDCP sequence numbers, where the first The second message is generated according to the first message and the one or more PDCP sequence numbers.
  • the processing unit 720 starts from the PDCP sequence number of the first data packet that needs to be decompressed by the header, decompresses the header of the data packet that is allowed to be decompressed by the header indicated by the second message, and decompresses all the data packets.
  • the data packet indicated by the second message that it is not allowed to be decompressed by the header does not undergo header decompression.
  • the communication unit 710 when the communication unit 710 receives the data packet that needs to be decompressed by the first header, the communication unit 710 sends the data packet that needs to be decompressed by the first header to the second network device, and sends it After the data packet that needs to be decompressed by the first header, the other data packet received from the terminal device is sent to the second network device. And, the communication unit 710 receives the first data packet that needs to be decompressed by the header and the other data packets after reordering from the second network device. And, the processing unit 720 is configured to perform header decompression processing on the data packet that needs to be decompressed by the first header and the other data packets in the order after the reordering.
  • the communication unit 710 when the communication unit 710 receives the data packet that needs to be decompressed by the first header, the communication unit 710 sends the PDCP sequence number of the data packet that needs to be decompressed by the first header to the second network device. , And after sending the PDCP sequence number of the data packet that needs to be decompressed by the first header, the PDCP sequence number of the other data packet received from the terminal device is sent to the second network device. And, the communication unit 710 receives from the second network device the PDCP sequence numbers of the first data packet that needs to be decompressed by the header and the other data packets after the reordering. And, the processing unit 720 is configured to perform header decompression processing on the data packet that needs to be decompressed by the first header and the other data packets in the order after the reordering.
  • the communication device 700 may be a chip or an integrated circuit.
  • the communication unit 710 shown in FIG. 11 may be a communication interface.
  • the communication interface may be an input/output interface or a transceiver circuit.
  • the processing unit 720 may be a processing device. The functions of the processing device can be partially or fully realized by software.
  • the functions of the processing device may be partially or fully implemented by software.
  • the processing device may include a memory and a processor, where the memory is used to store a computer program, and the processor reads and executes the computer program stored in the memory to execute the internal Realized processing. For example, the processing performed by the processing unit 720 described above is executed.
  • the processing device may only include a processor, and the memory for storing the computer program is located outside the processing device.
  • the processor is connected to the memory through a circuit/wire to read and execute the computer program stored in the memory.
  • the functions of the processing device may be partially or fully implemented by hardware.
  • the processing device includes an input interface circuit, a logic circuit, and an output interface circuit.
  • the input interface circuit is used to obtain the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the terminal device;
  • the logic circuit is used to obtain the PDCP sequence number of the first data packet that needs to be decompressed by the header. Beginning with the PDCP sequence number, the header decompression process is performed on the data packet received from the terminal device.
  • the terminal device 800 includes a processor 801 and a transceiver 802.
  • the terminal device 800 further includes a memory 803.
  • the processor 801, the transceiver 802, and the memory 803 can communicate with each other through an internal connection path to transfer control signals and/or data signals.
  • the memory 803 is used to store computer programs.
  • the processor 801 is configured to execute a computer program stored in the memory 803, so as to implement various functions of the communication device 500 in the foregoing device embodiment.
  • the processor 801 may be used to perform operations and/or processing performed by the processing unit 520 described in the apparatus embodiment (for example, FIG. 9), and the transceiver 802 may be used to perform operations and/or processing performed by the communication unit 510. .
  • the memory 803 may also be integrated in the processor 801 or independent of the processor 801.
  • the terminal device 800 may further include an antenna 804 for transmitting the signal output by the transceiver 802.
  • the transceiver 802 receives signals through an antenna.
  • the terminal device 800 may further include a power supply 805 for providing power to various devices or circuits in the terminal device.
  • the terminal device 800 may further include one or more of an input unit 806, an output unit 807, an audio circuit 808, a camera 809, and a sensor 810.
  • the audio circuit may also include a speaker 8082, a microphone 8084, etc., which will not be repeated.
  • the communication unit 510 shown in FIG. 9 may be the transceiver 804 shown in FIG. 12, and the processing unit 520 may be the processor 801.
  • the communication unit 510 shown in FIG. 9 may be a communication interface, and the processing unit 520 is a processor.
  • the network device 1000 may correspond to the first network device (for example, the source base station) in each method embodiment.
  • the network device 1000 includes an antenna 1101, a radio frequency device 1102, and a baseband device 1103.
  • the antenna 1101 is connected to the radio frequency device 1102.
  • the radio frequency device 1102 receives signals from the terminal equipment through the antenna 1101, and sends the received signals to the baseband device 1103 for processing.
  • the baseband device 1103 generates a signal that needs to be sent to the terminal device, and sends the generated signal to the radio frequency device 1102.
  • the radio frequency device 1102 transmits the signal through the antenna 1101.
  • the baseband device 1103 may include one or more processing units 11031.
  • the processing unit 11031 may specifically be a processor.
  • the baseband device 1103 may further include one or more storage units 11032 and one or more communication interfaces 11033.
  • the storage unit 11032 is used to store computer programs and/or data.
  • the communication interface 11033 is used to exchange information with the radio frequency device 1102.
  • the storage unit 11032 may specifically be a memory, and the communication interface 11033 may be an input/output interface or a transceiver circuit.
  • the storage unit 11032 may be a storage unit on the same chip as the processing unit 11031, that is, an on-chip storage unit, or a storage unit on a different chip from the processing unit, that is, an off-chip storage unit. This application does not limit this.
  • the communication device 600 shown in FIG. 10 when the communication device 600 shown in FIG. 10 is completely corresponding to the second network device in the method embodiment, the communication device 600 may be implemented by the network device 1000 shown in FIG. 13, or in other words, the first A network device can be as shown in Figure 13.
  • the processing unit 610 of the communication device 600 shown in FIG. 10 may be the baseband device 1103 shown in FIG. 13.
  • the communication unit 620 may be the radio frequency device 1102 shown in FIG. 13.
  • the network device 2000 may correspond to the first network device (for example, the target base station) in each method embodiment.
  • the network equipment 2000 includes an antenna 2101, a radio frequency device 2102, and a baseband device 2103.
  • the antenna 2101 is connected to the radio frequency device 2102.
  • the radio frequency device 2102 receives signals from the access network equipment through the antenna 2101, and sends the received signals to the baseband device 2103 for processing.
  • the baseband device 2103 In the downlink direction, the baseband device 2103 generates a signal that needs to be sent to the terminal device or the access network device, and sends the generated signal to the radio frequency device 2102.
  • the radio frequency device 2102 transmits the signal through the antenna 2101.
  • the baseband device 2103 may include one or more processing units 21031.
  • the processing unit 21031 may specifically be a processor.
  • the baseband device 2103 may further include one or more storage units 21032 and one or more communication interfaces 21033.
  • the storage unit 21032 is used to store computer programs and/or data.
  • the communication interface 21033 is used to exchange information with the radio frequency device 2102.
  • the storage unit 21032 may specifically be a memory, and the communication interface 21033 may be an input/output interface or a transceiver circuit.
  • the storage unit 21032 may be a storage unit on the same chip as the processing unit 21031, that is, an on-chip storage unit, or a storage unit on a different chip from the processing unit, that is, an off-chip storage unit. This application does not limit this.
  • the communication apparatus 700 when the communication apparatus 700 shown in FIG. 11 completely corresponds to the first network device in the method embodiment, the communication apparatus 700 may be the network device 2000 shown in FIG. 14.
  • the communication unit 710 of the communication device 700 shown in FIG. 11 may be the radio frequency device 2102 shown in FIG. 14.
  • the processing unit 720 may be the baseband device 2103 shown in FIG. 14.
  • this application also provides a communication system, including one or more terminal devices, one or more first network devices, and one or more second network devices provided in this application.
  • the communication system includes one or more terminal devices provided in this application, and one or more first network devices. Further, the communication system may also include one or more second network devices.
  • the communication system includes one or more first network devices and one or more second network devices provided in this application. Further, the communication system may also include one or more terminal devices.
  • the present application also provides a computer-readable storage medium with a computer program stored on the computer-readable storage medium, and when the computer program is executed by a computer, the computer executes the operations performed by the terminal device in any method embodiment and /Or processing.
  • the present application also provides a computer-readable storage medium with a computer program stored on the computer-readable storage medium, and when the computer program is executed by a computer, the computer executes any of the method embodiments executed by the second network device Operation and/or processing.
  • the present application also provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a computer, the computer executes any of the method embodiments executed by the first network device Operation and/or processing.
  • the computer program product includes computer program code.
  • the computer program code runs on a computer, the computer executes the operations performed by the terminal device in any method embodiment and/or deal with.
  • the computer program product includes computer program code.
  • the computer program code runs on a computer, the computer can execute the operations performed by the second network device in any method embodiment. /Or processing.
  • the computer program product includes computer program code.
  • the computer program code When the computer program code is run on a computer, the computer can execute the operations performed by the first network device in any method embodiment. /Or processing.
  • the application also provides a chip including a processor.
  • the memory used to store the computer program is provided independently of the chip, and the processor is used to execute the computer program stored in the memory to execute the operation and/or processing performed by the terminal device in any method embodiment.
  • the chip may also include a communication interface.
  • the communication interface may be an input/output interface, an input/output circuit, etc.
  • the chip may also include the memory.
  • the application also provides a chip including a processor.
  • the memory for storing the computer program is provided independently of the chip, and the processor is used to execute the computer program stored in the memory to execute the operation and/or processing performed by the second network device in any method embodiment.
  • the chip may also include a communication interface.
  • the communication interface may be an input/output interface, an input/output circuit, etc.
  • the chip may also include the memory.
  • the application also provides a chip including a processor.
  • the memory for storing the computer program is provided independently of the chip, and the processor is used to execute the computer program stored in the memory to perform the operation and/or processing performed by the first network device in any method embodiment.
  • the chip may also include a communication interface.
  • the communication interface may be an input/output interface, an input/output circuit, etc.
  • the chip may also include the memory.
  • the processor in the embodiment of the present application may be an integrated circuit chip, which has the ability to process signals.
  • the steps of the foregoing method embodiments can be completed by hardware integrated logic circuits in the processor or instructions in the form of software.
  • the processor can be a general-purpose processor, digital signal processor (digital signal processor, DSP), application specific integrated circuit (ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic Devices, discrete gates or transistor logic devices, discrete hardware components.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware encoding processor, or executed by a combination of hardware and software modules in the encoding processor.
  • the software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers.
  • the storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
  • the memory in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (RAM), which is used as an external cache.
  • RAM random access memory
  • static random access memory static random access memory
  • dynamic RAM dynamic random access memory
  • DRAM dynamic random access memory
  • synchronous dynamic random access memory synchronous DRAM, SDRAM
  • double data rate synchronous dynamic random access memory double data rate SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
  • synchronous connection dynamic random access memory serial DRAM, SLDRAM
  • direct rambus RAM direct rambus RAM
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present application.
  • each unit in each embodiment 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 function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of this application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present application.

Abstract

The present application provides a method for processing data packets. Before performing header compression on received data packets, a receiving end obtains a PDCP sequence number of a data packet needing to be first header-decompressed in the data packets sent by a sending end, then errors due to performing header decompression on the data packets by the receiving end in the case that the data packets are out of order can be avoided, and thus the error rate of header decompression can be reduced.

Description

处理数据包的方法和装置Method and device for processing data packet
本申请要求于2019年05月08日提交国家知识产权局、申请号为201910381560.9、申请名称为“处理数据包的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office on May 8, 2019, the application number is 201910381560.9, and the application name is "Method and Device for Processing Data Packets", the entire content of which is incorporated into this application by reference in.
技术领域Technical field
本申请涉及无线通信技术领域,尤其涉及一种处理数据包的方法和装置。This application relates to the field of wireless communication technologies, and in particular to a method and device for processing data packets.
背景技术Background technique
在传统的移动通信系统中,随着终端设备的移动,网络通过切换过程将终端设备从源小区切换至目标小区进行数据传输,切换过程完成后,终端设备切换到目标基站进行通信。在切换流程中,源基站向终端设备发送切换消息之后,终端设备和源基站之间的数据传输中断,直至终端设备成功切换到目标基站之后,终端设备可以和目标基站进行数据传输,此时才能恢复数据传输。In a traditional mobile communication system, as the terminal device moves, the network switches the terminal device from the source cell to the target cell for data transmission through a handover process. After the handover process is completed, the terminal device switches to the target base station for communication. In the handover process, after the source base station sends a handover message to the terminal device, the data transmission between the terminal device and the source base station is interrupted. After the terminal device successfully switches to the target base station, the terminal device can perform data transmission with the target base station. Resume data transfer.
为了提高用户体验以及系统性能,第三代合作伙伴计划(third generation partnership project,3GPP)提出在切换过程中实现0ms切换中断时延的要求,并为此给出了一种切换增强的方案,如eMBB(enhanced make before break,MBB)的方案。在eMBB方案中,终端设备从源基站接收到切换消息之后,一方面,终端设备继续保持对应源基站的用户面协议栈,以保持和源基站之间的数据传输。另一方面,终端设备建立对应目标基站的协议栈,用于和目标基站进行数据传输。另外,源基站向终端设备发送切换消息之后,可以和目标基站进行数据转发。具体地,源基站将分配了分组数据汇聚协议序列号(packet data convergence protocol sequence number,PDCP SN)的PDCP服务数据单元(service data unit,SDU)转发给目标基站。目标基站对这些PDCP SDU进行头压缩、加密等处理。一旦终端设备成功接入目标基站,目标基站就可以将从源基站接收到的并由目标基站处理过的PDCP SDU发给终端设备。由此可以实现0ms的切换中断时延。In order to improve user experience and system performance, the third generation partnership project (3GPP) puts forward the requirement of 0ms handover interruption delay during handover, and provides a handover enhancement solution for this purpose, such as eMBB (enhanced make before break, MBB) solution. In the eMBB solution, after the terminal device receives the handover message from the source base station, on the one hand, the terminal device continues to maintain the user plane protocol stack corresponding to the source base station to maintain data transmission with the source base station. On the other hand, the terminal equipment establishes a protocol stack corresponding to the target base station for data transmission with the target base station. In addition, after the source base station sends the handover message to the terminal device, it can forward data with the target base station. Specifically, the source base station forwards the PDCP service data unit (service data unit, SDU) assigned with the packet data convergence protocol sequence number (packet data convergence protocol sequence number, PDCP SN) to the target base station. The target base station performs header compression and encryption on these PDCP SDUs. Once the terminal device successfully accesses the target base station, the target base station can send the PDCP SDU received from the source base station and processed by the target base station to the terminal device. As a result, a switching interruption delay of 0 ms can be achieved.
上述过程中,目标基站对PDCP SDU的头压缩处理也称为健壮性包头压缩(robust header compression,ROHC)。ROHC是目前公认的应用于无线链路上较为理想的头部压缩方式。发送端对PDCP SDU进行ROHC等PDCP层的处理后,得到PDCP协议数据单元(protocol data unit,PDU),接收端对接收到的PDCP PDU进行头解压缩的处理,称为ROHC头解压缩。ROHC头解压缩要求PDCP PDU是按序的。In the foregoing process, the target base station's header compression processing of the PDCP SDU is also called robust header compression (ROHC). ROHC is currently recognized as an ideal header compression method used on wireless links. After the transmitting end performs PDCP layer processing such as ROHC on the PDCP SDU, the PDCP protocol data unit (protocol data unit, PDU) is obtained, and the receiving end performs header decompression processing on the received PDCP PDU, which is called ROHC header decompression. ROHC header decompression requires PDCP PDU to be in order.
但是,在很多情况下,发送端对PDCP SDU执行了ROHC等PDCP层的处理,并发送给接收端之后,接收端接收到的PDCP PDU可能是乱序的,导致ROHC头解压缩错误率高。However, in many cases, the transmitter performs ROHC and other PDCP layer processing on the PDCP SDU and sends it to the receiver. The PDCP PDUs received by the receiver may be out of order, resulting in a high ROHC header decompression error rate.
发明内容Summary of the invention
本申请提供一种处理数据包的方法和装置,可以降低ROHC头解压缩的错误率。The present application provides a method and device for processing data packets, which can reduce the error rate of ROHC header decompression.
第一方面,本申请提供一种处理数据包的方法,终端设备获取从第一网络设备接收到的数据包中需要第一个被头解压缩的数据包的分组数据汇聚协议PDCP序列号;终端设备从所述需要第一个被头解压缩的数据包的PDCP序列号开始,对从第一网络设备接收到的数据包进行头解压缩处理。In the first aspect, this application provides a method for processing data packets. The terminal device obtains the PDCP sequence number of the first packet that needs to be decompressed by the header among the data packets received from the first network device; the terminal Starting from the PDCP sequence number of the first data packet that needs to be decompressed by the header, the device performs header decompression processing on the data packet received from the first network device.
在本申请的技术方案中,接收端在对接收到的数据包头解压缩之前,通过获取发送端发送的数据包中需要第一个被头解压缩的数据包的PDCP序列号,可以避免接收端在数据包乱序的情况下对数据包进行头解压缩处理而导致头解压缩出错,从而可以降低头解压缩出错率。In the technical solution of this application, before decompressing the header of the received data packet, the receiving end can avoid the receiving end by obtaining the PDCP sequence number of the first data packet sent by the transmitting end that needs to be decompressed by the header. When the data packet is out of order, the header decompression process is performed on the data packet, which results in a header decompression error, thereby reducing the header decompression error rate.
结合第一方面,在第一方面的某些实现方式中,终端设备获取从第一网络设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号,包括:终端设备从第二网络设备接收第一指示信息,所述第一指示信息用于指示所述需要第一个被头解压缩的数据包的PDCP序列号。With reference to the first aspect, in some implementations of the first aspect, the terminal device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the first network device, including: terminal device Receive first indication information from the second network device, where the first indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header.
在一种实现中,第一网络设备可以为终端设备在小区切换过程中的目标基站,第二网络设备可以为源基站。In one implementation, the first network device may be the target base station of the terminal device in the cell handover process, and the second network device may be the source base station.
终端设备在切换过程中,可以从源基站获取需要被第一个头解压缩的数据包的PDCP序列号。或者说,源基站可以通知终端设备需要第一个进行头解压缩的数据包的PDCP序列号,便于终端设备从该PDCP序列号开始对从目标基站接收到的数据包进行重排序,并按照重排序之后的顺序对数据包进行头解压缩,可以降低头解压缩的出错率。During the handover process, the terminal device can obtain the PDCP sequence number of the data packet that needs to be decompressed by the first header from the source base station. In other words, the source base station can notify the terminal device that it needs the PDCP sequence number of the first packet whose header is decompressed, so that the terminal device can reorder the data packets received from the target base station from the PDCP sequence number, and follow the reorder Decompressing the header of the data packet in the order after sorting can reduce the error rate of header decompression.
结合第一方面,在第一方面的某些实现方式中,终端设备从第二网络设备接收第一指示信息,包括:终端设备从第二网络设备接收无线资源控制RRC重配置消息,RRC重配置消息中携带一个或多个所述第一指示信息,其中,每个第一指示信息用于指示所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号;或者,终端设备从第二网络设备接收PDCP控制协议数据单元PDU,所述PDCP控制PDU中携带所述第一指示信息,其中,所述第一指示信息用于指示所述PDCP控制PDU所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号。With reference to the first aspect, in some implementations of the first aspect, the terminal device receives the first indication information from the second network device, including: the terminal device receives the radio resource control RRC reconfiguration message from the second network device, and the RRC reconfiguration The message carries one or more of the first indication information, where each first indication information is used to indicate the corresponding bearer PDCP sequence number of the first data packet that needs to be decompressed by the header; or, the terminal device A PDCP control protocol data unit PDU is received from the second network device, the PDCP control PDU carries the first indication information, wherein the first indication information is used to indicate the requirement of the bearer corresponding to the PDCP control PDU. The PDCP sequence number of a packet decompressed by the header.
结合第一方面,在第一方面的某些实现方式中,终端设备获取从第一网络设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号,包括:终端设备根据从第一网络设备接收到的第一数据包,获得所述需要第一个被头解压缩的数据包的PDCP序列号,其中,第一数据包的RLC序列号为预设的RLC序列号。With reference to the first aspect, in some implementations of the first aspect, the terminal device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the first network device, including: terminal device According to the first data packet received from the first network device, the PDCP sequence number of the first data packet that needs to be decompressed by the header is obtained, where the RLC sequence number of the first data packet is the preset RLC sequence number .
在这种方式中,通过预设一个RLC序列号,当终端设备对接收到的数据包进行解析,确定其RLC序列号为该预设的RLC序列号时,对该数据包进行解析得到的PDCP序列号即为所述需要第一个被头解压缩的数据包的PDCP序列号。这样可以避免网络设备和终端设备的交互,可以节省信令开销。In this way, by presetting an RLC sequence number, when the terminal device parses the received data packet and determines that its RLC sequence number is the preset RLC sequence number, the PDCP obtained by parsing the data packet The sequence number is the PDCP sequence number of the first packet that needs to be decompressed by the header. In this way, interaction between network equipment and terminal equipment can be avoided, and signaling overhead can be saved.
结合第一方面,在第一方面的某些实现方式中,所述预设的RLC序列号为0。With reference to the first aspect, in some implementation manners of the first aspect, the preset RLC sequence number is 0.
结合第一方面,在第一方面的某些实现方式中,终端设备根据所述需要第一个被头解压缩的数据包的PDCP序列号,对从第一网络设备接收到的数据包进行头解压缩处理,包括:终端设备根据所述需要第一个被头解压缩的数据包的PDCP序列号,对从第一网络设备接收到的数据包从所述需要第一个被头解压缩的数据包的PDCP序列号对应的数据包 开始,对从第一网络设备接收到的数据包进行重排序,并按照重排序之后的顺序对所述从第一网络设备接收到的数据包进行头解压缩。With reference to the first aspect, in some implementations of the first aspect, the terminal device headers the data packet received from the first network device according to the PDCP sequence number of the first header decompressed data packet. The decompression process includes: according to the PDCP sequence number of the first data packet that needs to be decompressed by the header, the terminal device determines the data packet received from the first network device from the first data packet that needs to be decompressed by the header. Start with the data packet corresponding to the PDCP sequence number of the data packet, reorder the data packets received from the first network device, and perform header decoding on the data packets received from the first network device in the order after the reordering compression.
第二方面,本申请提供一种处理数据包的方法,第二网络设备生成第一指示信息,所述第一指示信息用于指示终端设备从第一网络设备接收到的数据包中需要第一个被头解压缩的数据包的分组数据汇聚协议PDCP序列号;第二网络设备向终端设备发送所述第一指示信息。In a second aspect, the present application provides a method for processing data packets. A second network device generates first indication information. The first indication information is used to indicate that the terminal device needs the first indication information among the data packets received from the first network device. The PDCP sequence number of each packet decompressed by the header; the second network device sends the first indication information to the terminal device.
这里,第二网络设备可以对应终端设备在小区切换过程中的源基站。Here, the second network device may correspond to the source base station of the terminal device in the cell handover process.
结合第二方面,在第二方面的某些实现方式中,第二网络设备向终端设备发送第一指示信息,包括:第二网络设备向终端设备发送RRC重配置消息,所述RRC重配置消息中携带一个或多个所述第一指示信息,每个第一指示信息用于指示所对应的承载的需要第一个被头解压缩的数据包的分组数据汇聚协议PDCP序列号;或者,第二网络设备向终端设备发送分组数据汇聚协议PDCP控制协议数据单元PDU,所述PDCP控制PDU中携带所述第一指示信息,所述第一指示信息用于指示所述PDCP控制PDU所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号。With reference to the second aspect, in some implementation manners of the second aspect, the second network device sending the first indication information to the terminal device includes: the second network device sends an RRC reconfiguration message to the terminal device, the RRC reconfiguration message Carries one or more of the first indication information, each of the first indication information is used to indicate the packet data convergence protocol PDCP sequence number of the corresponding bearer that requires the first packet to be decompressed by the header; or, 2. The network device sends a packet data convergence protocol PDCP control protocol data unit PDU to the terminal device, the PDCP control PDU carries the first indication information, and the first indication information is used to indicate the bearer corresponding to the PDCP control PDU The PDCP sequence number of the first packet that needs to be decompressed by the header.
第三方面,本申请提供一种处理数据包的方法,第一网络设备获取从终端设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号;第一网络设备从所述需要第一个被头解压缩的数据包的PDCP序列号开始,对从终端设备接收到的数据包进行头解压缩处理。In the third aspect, this application provides a method for processing data packets. The first network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the terminal device; Starting with the PDCP sequence number of the first data packet that needs to be decompressed by the header, header decompression processing is performed on the data packet received from the terminal device.
这里,第一网络设备可以对应终端设备在小区切换过程中的目标基站。Here, the first network device may correspond to the target base station of the terminal device in the cell handover process.
结合第三方面,在第三方面的某些实现方式中,第一网络设备获取从终端设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号,包括:第一网络设备从终端设备接收第二指示信息,所述第二指示信息用于指示终端设备发送的数据包中需要第一个被头解压缩的数据包的PDCP序列号。With reference to the third aspect, in some implementations of the third aspect, the first network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the terminal device, including: The network device receives second indication information from the terminal device, where the second indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets sent by the terminal device.
结合第三方面,在第三方面的某些实现方式中,第一网络设备从终端设备接收第二指示信息,包括:第一网络设备从终端设备接收RRC重配置完成消息,所述RRC重配置完成消息中携带一个或多个所述第二指示信息,其中,每个第二指示信息用于指示所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号;或者,第一网络设备从终端设备接收PDCP状态报告,所述PDCP状态报告中携带所述第二指示信息,其中,所述第二指示信息用于指示所述PDCP状态报告所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号;或者,第一网络设备从终端设备接收分组数据汇聚协议PDCP控制协议数据单元PDU,所述PDCP控制PDU中携带所述第二指示信息,其中,所述第二指示信息用于指示所述PDCP控制PDU所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号。With reference to the third aspect, in some implementations of the third aspect, the first network device receiving the second indication information from the terminal device includes: the first network device receives an RRC reconfiguration complete message from the terminal device, the RRC reconfiguration The completion message carries one or more of the second indication information, where each second indication information is used to indicate the PDCP sequence number of the corresponding bearer that requires the first header decompressed data packet; or A network device receives a PDCP status report from a terminal device, and the PDCP status report carries the second indication information, where the second indication information is used to indicate the needs of the bearer corresponding to the PDCP status report. The PDCP sequence number of the data packet decompressed by the header; or, the first network device receives the packet data convergence protocol PDCP control protocol data unit PDU from the terminal device, and the PDCP control PDU carries the second indication information, wherein, The second indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header of the bearer corresponding to the PDCP control PDU.
结合第三方面,在第三方面的某些实现方式中,第一网络设备获取从终端设备接收到的数据包中需要第一个被头解压缩的数据包,包括:第一网络设备根据从终端设备接收到的第二数据包,获取所述需要第一个被头解压缩的数据包的PDCP序列号,其中,第二数据包的无线链路控制RLC序列号为预设的RLC序列号。With reference to the third aspect, in some implementations of the third aspect, the first network device obtains the first data packet that needs to be decompressed by the header among the data packets received from the terminal device, including: The second data packet received by the terminal device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header, where the radio link control RLC sequence number of the second data packet is the preset RLC sequence number .
结合第三方面,在第三方面的某些实现方式中,所述预设的RLC序列号为0。With reference to the third aspect, in some implementation manners of the third aspect, the preset RLC sequence number is 0.
结合第三方面,在第三方面的某些实现方式中,该方法还包括:第一网络设备向第二 网络设备发送第一消息,所述第一消息用于指示所述需要第一个被头解压缩的数据包的PDCP序列号;第一网络设备从所述需要第一个被头解压缩的数据包的PDCP序列号对应的数据包开始,对从终端设备接收到的数据包进行头解压缩处理,包括:第一网络设备从终端设备接收到一个或多个数据包时,第一网络设备向第二网络设备发送所述一个或多个数据包;第一网络设备从第二网络设备接收重排序之后的所述一个或多个数据包,并按照所述重排序之后的顺序对所述一个或多个数据包进行头解压缩处理,其中,所述一个或多个数据包是从所述需要第一个被头解压缩的数据包的PDCP序列号开始被重排序的。With reference to the third aspect, in some implementations of the third aspect, the method further includes: the first network device sends a first message to the second network device, where the first message is used to indicate the need to be the first to be The PDCP sequence number of the data packet whose header is decompressed; the first network device starts with the data packet corresponding to the PDCP sequence number of the first data packet that needs to be decompressed by the header, and headers the data packet received from the terminal device The decompression process includes: when the first network device receives one or more data packets from the terminal device, the first network device sends the one or more data packets to the second network device; The device receives the one or more data packets after the reordering, and performs header decompression processing on the one or more data packets in the order after the reordering, wherein the one or more data packets are It is reordered starting from the PDCP sequence number of the first packet that needs to be decompressed by the header.
结合第三方面,在第三方面的某些实现方式中,该方法还包括:第一网络设备向第二网络设备发送第一消息,所述第一消息用于指示所述需要第一个被头解压缩的数据包的PDCP序列号;当第一网络设备从终端设备接收到一个或多个数据包时,第一网络设备向第二网络设备发送所述一个或多个数据包的PDCP序列号;第一网络设备从第二网络设备接收第二消息,所述第二消息用于指示是否允许对所述一个或多个PDCP序列号所对应的数据包进行头解压缩,其中,所述第二消息是根据所述第一消息和所述一个或多个PDCP序列号生成的;以及,第一网络设备从所述需要第一个被头解压缩的数据包的PDCP序列号,对从终端设备接收到的数据包进行头解压缩处理,包括:第一网络设备从所述需要第一个被头解压缩的数据包的PDCP序列号对应的数据包开始,对所述第二消息所指示的允许被头解压缩的数据包进行头解压缩,并对所述第二消息指示的不允许被头解压缩的数据包不进行头解压缩。With reference to the third aspect, in some implementations of the third aspect, the method further includes: the first network device sends a first message to the second network device, where the first message is used to indicate the need to be the first to be The PDCP sequence number of the header decompressed data packet; when the first network device receives one or more data packets from the terminal device, the first network device sends the PDCP sequence of the one or more data packets to the second network device Number; the first network device receives a second message from the second network device, the second message is used to indicate whether to allow header decompression of the data packet corresponding to the one or more PDCP sequence numbers, where the The second message is generated according to the first message and the one or more PDCP sequence numbers; and, the first network device receives the PDCP sequence number of the first packet that needs to be decompressed by the header, and responds to the slave Decompressing the header of the data packet received by the terminal device includes: the first network device starts from the data packet corresponding to the PDCP sequence number of the first data packet that needs to be decompressed by the header, and performs processing on the second message. Header decompression is performed on the indicated data packet that is allowed to be decompressed by the header, and header decompression is not performed on the data packet that is not allowed to be decompressed by the header indicated by the second message.
结合第三方面,在第三方面的某些实现方式中,第一网络设备根据所述需要第一个被头解压缩的数据包的PDCP序列号,对从终端设备接收到的数据包进行头解压缩处理,包括:当第一网络设备接收到所述需要被第一个头解压缩的数据包时,第一网络设备向第二网络设备发送所述需要被第一个头解压缩的数据包,并在发送所述需要被第一个头解压缩的数据包之后向第二网络设备发送从终端设备接收到的其它数据包;第一网络设备从第二网络设备接收重排序之后的所述需要第一个被头解压缩的数据包和所述其它数据包;第一网络设备按照重排序之后的顺序对所述需要被第一个头解压缩的数据包和所述其它数据包进行头解压缩处理。With reference to the third aspect, in some implementation manners of the third aspect, the first network device headers the data packet received from the terminal device according to the PDCP sequence number of the first header decompressed data packet. Decompression processing includes: when the first network device receives the data packet that needs to be decompressed by the first header, the first network device sends the data that needs to be decompressed by the first header to the second network device Packet, and after sending the data packet that needs to be decompressed by the first header, it sends other data packets received from the terminal device to the second network device; the first network device receives all the reordered data packets from the second network device The first data packet that needs to be decompressed by the header and the other data packets; the first network device performs processing on the data packet that needs to be decompressed by the first header and the other data packets in the order after reordering Header decompression processing.
结合第三方面,在第三方面的某些实现方式中,第一网络设备根据所述需要第一个被头解压缩的数据包的PDCP序列号,对从终端设备接收到的数据包进行头解压缩处理,包括:当第一网络设备接收到所述需要被第一个头解压缩的数据包时,第一网络设备向第二网络设备发送所述需要被第一个头解压缩的数据包的PDCP序列号,并在发送所述需要第一个被头解压缩的数据包之后向第二网络设备发送从终端设备接收到的一个或多个数据包的PDCP序列号;第一网络设备从第二网络设备接收第二消息,所述第二消息用于指示是否允许第一网络设备对所述一个或多个PDCP序列号各自所对应的数据包进行头解压缩;第一网络设备根据所述第二消息,对所述需要被第一个头解压缩的数据包和所述一个或多个数据包进行头解压缩处理。With reference to the third aspect, in some implementation manners of the third aspect, the first network device headers the data packet received from the terminal device according to the PDCP sequence number of the first header decompressed data packet. Decompression processing includes: when the first network device receives the data packet that needs to be decompressed by the first header, the first network device sends the data that needs to be decompressed by the first header to the second network device The PDCP sequence number of the packet, and the PDCP sequence number of one or more data packets received from the terminal device is sent to the second network device after the first data packet that needs to be decompressed by the header; the first network device Receive a second message from the second network device, where the second message is used to indicate whether the first network device is allowed to decompress the header of the data packet corresponding to the one or more PDCP sequence numbers; the first network device is based on In the second message, header decompression processing is performed on the data packet that needs to be decompressed by the first header and the one or more data packets.
第四方面,本申请提供一种处理数据包的方法,包括:第二网络设备获取终端设备发送的数据包中需要第一个被头解压缩的数据包的PDCP序列号;第二网络设备根据所述需要第一个被头解压缩的数据包的PDCP序列号,辅助第一网络设备对从终端设备接收到的数据包进行头解压缩处理。In a fourth aspect, this application provides a method for processing data packets, including: a second network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets sent by the terminal device; The PDCP sequence number of the first data packet that needs to be decompressed by the header assists the first network device to perform header decompression processing on the data packet received from the terminal device.
结合第四方面,在第四方面的某些实现方式中,第二网络设备获取终端设备发送的数据包中需要第一个被头解压缩的数据包的PDCP序列号,包括:第二网络设备从第一网络设备接收第一消息,所述第一消息用于指示所述需要第一个被头解压缩的数据包的PDCP序列号;第二网络设备根据所述需要第一个被头解压缩的数据包的PDCP序列号,辅助第一网络设备对从终端设备接收到的数据包进行头解压缩处理,包括:第二网络设备从第一网络设备接收一个或多个数据包;第二网络设备根据所述第一消息对从第一网络设备接收到的所述一个或多个数据包从所述需要第一个被头解压缩的数据包的PDCP序列号对应的数据包开始,对从第一网络设备接收到的数据包进行重排序,并将重排序之后的数据包发送给第一网络设备进行头解压缩处理。With reference to the fourth aspect, in some implementations of the fourth aspect, the second network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets sent by the terminal device, including: the second network device A first message is received from the first network device, where the first message is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header; the second network device is the first to be decompressed according to the need. The PDCP sequence number of the compressed data packet to assist the first network device in performing header decompression processing on the data packet received from the terminal device includes: the second network device receives one or more data packets from the first network device; second According to the first message, the network device starts from the data packet corresponding to the PDCP sequence number of the first data packet that needs to be decompressed by the header for the one or more data packets received from the first network device. The data packets received from the first network device are reordered, and the reordered data packets are sent to the first network device for header decompression processing.
结合第四方面,在第四方面的某些实现方式中,第二网络设备根据所述需要被第一个头解压缩的数据包的PDCP序列号,辅助第一网络设备对从终端设备接收到的数据包进行头解压缩处理,包括:第二网络设备从第一网络设备接收第一消息,所述第一消息用于指示所述需要第一个被头解压缩的数据包的PDCP序列号;第二网络设备从第一网络设备接收一个或多个PDCP序列号;第二网络设备根据所述第一消息,判定是否允许第一网络设备对所述一个或多个PDCP序列号各自对应的数据包进行头解压缩;所述第二设备向第一网络设备发送第二消息,所述第二消息用于指示是否允许第一网络设备对所述一个或多个PDCP序列号各自所对应的数据包进行头解压缩。With reference to the fourth aspect, in some implementation manners of the fourth aspect, the second network device assists the first network device to receive data from the terminal device according to the PDCP sequence number of the data packet that needs to be decompressed by the first header. The header decompression processing of the data packet includes: the second network device receives a first message from the first network device, the first message is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header The second network device receives one or more PDCP sequence numbers from the first network device; the second network device determines whether to allow the first network device to correspond to the one or more PDCP sequence numbers according to the first message The data packet is header decompressed; the second device sends a second message to the first network device, the second message is used to indicate whether the first network device is allowed to check the corresponding one or more PDCP sequence numbers The packet is header decompressed.
结合第四方面,在第四方面的某些实现方式中,第二网络设备获取终端设备发送的数据包中需要第一个被头解压缩的数据包的PDCP序列号,包括:第二网络设备从第一网络设备接收第一PDCP序列号所对应的数据包,并在接收到第一PDCP序列号所对应的数据包之后从第一网络设备接收其它数据包;第二网络设备从所述第一PDCP序列号开始对所述第一PDCP序列号对应的数据包和所述其它数据包进行重排序,并将重排序之后的所述第一PDCP序列号对应的数据包和所述其它数据包发送给第一网络设备进行头解压缩处理。With reference to the fourth aspect, in some implementations of the fourth aspect, the second network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets sent by the terminal device, including: the second network device Receive the data packet corresponding to the first PDCP sequence number from the first network device, and receive other data packets from the first network device after receiving the data packet corresponding to the first PDCP sequence number; the second network device receives the data packet from the first network device A PDCP sequence number starts to reorder the data packets corresponding to the first PDCP sequence number and the other data packets, and reorder the data packets corresponding to the first PDCP sequence number and the other data packets Send it to the first network device for header decompression processing.
这里,第一PDCP序列号对应的数据包是第二网络设备从第一网络设备接收到的第一个数据包,所述第一PDCP序列号对应的数据包是所述需要被第一个头解压缩的数据包。Here, the data packet corresponding to the first PDCP sequence number is the first data packet received by the second network device from the first network device, and the data packet corresponding to the first PDCP sequence number is the first header that needs to be Uncompressed data package.
结合第四方面,在第四方面的某些实现方式中,第二网络设备获取终端设备发送的数据包中需要第一个被头解压缩的数据包的PDCP序列号,包括:第二网络设备从第一网络设备接收第二PDCP序列号,所述第二PDCP序列号被预设为第一网络设备从终端设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号;第二网络设备根据所述需要第一个被头解压缩的数据包的PDCP序列号,辅助第一网络设备对从终端设备接收到的数据包进行头解压缩处理,包括:第二网络设备从第一网络设备接收一个或多个数据包;第二网络设备从所述第二PDCP序列号对应的数据包开始,对所述一个或多个数据包进行重排序,并将重排序之后的所述第二PDCP序列号对应的数据包和所述一个或多个数据包发送给第一网络设备进行头解压缩处理。With reference to the fourth aspect, in some implementations of the fourth aspect, the second network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets sent by the terminal device, including: the second network device Receive a second PDCP sequence number from the first network device, and the second PDCP sequence number is preset to be the PDCP sequence of the first data packet that needs to be decompressed by the header among the data packets received by the first network device from the terminal device The second network device assists the first network device to perform header decompression processing on the data packet received from the terminal device according to the PDCP sequence number of the first header decompressed data packet, including: the second network The device receives one or more data packets from the first network device; the second network device reorders the one or more data packets starting from the data packet corresponding to the second PDCP sequence number, and after the reordering The data packet corresponding to the second PDCP sequence number and the one or more data packets are sent to the first network device for header decompression processing.
这里,第二PDCP序列号是第二网络设备从第一网络设备接收到的第一个PDCP序列号,所述第二PDCP序列号对应的数据包是所述需要被第一个头解压缩的数据包。Here, the second PDCP sequence number is the first PDCP sequence number received by the second network device from the first network device, and the data packet corresponding to the second PDCP sequence number is the data packet that needs to be decompressed by the first header data pack.
需要说明的是,第二PDCP序列号的编号“第二”仅仅是为了和上文的第一PDCP序列号的编号“第一”进行区分,不应对技术方案构成限定。It should be noted that the number "second" of the second PDCP serial number is only to distinguish it from the number "first" of the first PDCP serial number above, and should not constitute a limitation on the technical solution.
第五方面,本申请提供一种处理数据包的方法,终端设备生成第二指示信息,所述第二指示信息用于指示终端设备发送的数据包中需要第一个被第一网络设备头解压缩的数据包的PDCP序列号;终端设备向第一网络设备发送所述第二指示信息。In a fifth aspect, the present application provides a method for processing data packets. A terminal device generates second indication information. The second indication information is used to indicate that the first data packet sent by the terminal device needs to be decoded by the first network device header. The PDCP sequence number of the compressed data packet; the terminal device sends the second indication information to the first network device.
结合第五方面,在第五方面的某些实现方式中,终端设备向第一网络设备发送所述第二指示信息,包括:终端设备向第一网络设备发送RRC重配置完成消息,所述RRC重配置完成消息中携带一个或多个所述第二指示信息,其中,每个第二指示信息用于指示所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号;或者,终端设备向第一网络设备发送PDCP状态报告,所述PDCP状态报告中携带所述第二指示信息,其中,所述第二指示信息用于指示所对应的承载的需要被第一个头解压缩的数据包的PDCP序列号;或者,终端设备向第一网络设备发送PDCP控制PDU,所述PDCP控制PDU中携带所述第二指示信息,其中,所述第二指示信息用于指示所述PDCP控制PDU所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号。With reference to the fifth aspect, in some implementations of the fifth aspect, the terminal device sending the second indication information to the first network device includes: the terminal device sends an RRC reconfiguration complete message to the first network device, and the RRC The reconfiguration complete message carries one or more of the second indication information, where each second indication information is used to indicate the PDCP sequence number of the corresponding bearer that requires the first header decompressed data packet; or , The terminal device sends a PDCP status report to the first network device, the PDCP status report carries the second indication information, where the second indication information is used to indicate that the corresponding bearer needs to be resolved by the first header The PDCP sequence number of the compressed data packet; or, the terminal device sends a PDCP control PDU to the first network device, and the PDCP control PDU carries the second indication information, where the second indication information is used to indicate the The PDCP control PDU bears the PDCP sequence number of the first data packet that needs to be decompressed by the header.
第六方面,本申请提供一种通信装置,所述通信装置具有实现第一方面或其任意可能的实现方式中的方法的功能,或者,所述通信装置具有实现第五方面或其任意可能的实现方式中的方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元。In a sixth aspect, the present application provides a communication device that has the function of implementing the method in the first aspect or any of its possible implementations, or the communication device has the function of implementing the fifth aspect or any of its possible implementations. The function of the method in the realization mode. The function can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.
第七方面,本申请提供一种通信装置,所述通信装置具有实现第二方面或其任意可能的实现方式中的方法的功能,或者所述通信装置具有实现第四方面或其任意可能的实现方式的方法中的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元。In a seventh aspect, this application provides a communication device that has the function of implementing the method in the second aspect or any of its possible implementations, or the communication device has the ability to implement the fourth aspect or any of its possible implementations The function in the way of the method. The function can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.
第八方面,本申请提供一种通信装置,所述通信装置具有实现第三方面或其任意可能的实现方式中的方法的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元。In an eighth aspect, the present application provides a communication device that has a function of implementing the method in the third aspect or any possible implementation manner thereof. The function can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.
第九方面,本申请提供一种终端设备,包括处理器和存储器。存储器用于存储计算机程序,处理器用于调用并运行存储器中存储的计算机程序,使得终端设备执行第一方面或其任意可能的实现方式中的方法,或者使得终端设备执行第五方面或其任意可能的实现方式中的方法。In a ninth aspect, this application provides a terminal device including a processor and a memory. The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to make the terminal device execute the method in the first aspect or any of its possible implementations, or make the terminal device execute the fifth aspect or any of its possible methods The method in the implementation.
第十方面,本申请提供一种网络设备,包括处理器和存储器。存储器用于存储计算机程序,处理器用于调用并运行存储器中存储的计算机程序,使得网络设备执行第二方面或其任意可能的实现方式中的方法,或者执行第四方面或其任意可能的实现方式中的方法。In a tenth aspect, this application provides a network device including a processor and a memory. The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory, so that the network device executes the method in the second aspect or any possible implementation manner thereof, or executes the fourth aspect or any possible implementation manner thereof Method in.
这里,第十方面的网络设备可以为本申请中的第一网设备。Here, the network device of the tenth aspect may be the first network device in this application.
第十一方面,本申请提供一种网络设备,包括处理器和存储器。存储器用于存储计算机程序,处理器用于调用并运行存储器中存储的计算机程序,使得网络设备执行第三方面或其任意可能的实现方式中的方法。In an eleventh aspect, this application provides a network device including a processor and a memory. The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory, so that the network device executes the method in the third aspect or any possible implementation manner thereof.
这里,第十一方面的网络设备可以为本申请中的第二网设备。Here, the network device of the eleventh aspect may be the second network device in this application.
第十二方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机指令,当计算机指令在计算机上运行时,使得计算机执行第一方面或其任意可能的实现方式中的方法,或者使得计算机执行第五方面或其任意可能的实现方式中的方法。In a twelfth aspect, this application provides a computer-readable storage medium having computer instructions stored in the computer-readable storage medium. When the computer instructions run on a computer, the computer executes the first aspect or any possible implementation thereof. Or make a computer execute the method in the fifth aspect or any possible implementation manner thereof.
第十三方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储 有计算机指令,当计算机指令在计算机上运行时,使得计算机执行第二方面或其任意可能的实现方式中的方法的功能,或者执行第四方面或其任意可能的实现方式的方法。In a thirteenth aspect, this application provides a computer-readable storage medium having computer instructions stored in the computer-readable storage medium. When the computer instructions run on a computer, the computer executes the second aspect or any possible implementation thereof The function of the method in the manner, or the method of performing the fourth aspect or any possible implementation manner thereof.
第十四方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机指令,当计算机指令在计算机上运行时,使得计算机执行第三方面或其任意可能的实现方式中的方法。In a fourteenth aspect, this application provides a computer-readable storage medium having computer instructions stored in the computer-readable storage medium. When the computer instructions run on a computer, the computer executes the third aspect or any possible implementation thereof The method in the way.
第十五方面,本申请提供一种芯片,包括处理器。处理器用于读取并执行存储器中存储的计算机程序,以执行第一方面或其任意可能的实现方式中的方法,或者执行第五方面或其任意可能的实现方式中的方法。In a fifteenth aspect, this application provides a chip including a processor. The processor is configured to read and execute the computer program stored in the memory to execute the method in the first aspect or any possible implementation manner thereof, or execute the method in the fifth aspect or any possible implementation manner thereof.
可选地,所述芯片还包括存储器,存储器与处理器通过电路或电线与存储器连接。Optionally, the chip further includes a memory, and the memory and the processor are connected to the memory through a circuit or a wire.
进一步可选地,所述芯片还包括通信接口。Further optionally, the chip further includes a communication interface.
第十六方面,本申请提供一种芯片,包括处理器。处理器用于读取并执行存储器中存储的计算机程序,以执行第二方面或其任意可能的实现方式中的方法,或者执行第四方面或其任意可能的实现方式中的方法。In a sixteenth aspect, this application provides a chip including a processor. The processor is used to read and execute a computer program stored in the memory to execute the method in the second aspect or any possible implementation manner thereof, or execute the method in the fourth aspect or any possible implementation manner thereof.
可选地,所述芯片还包括存储器,存储器与处理器通过电路或电线与存储器连接。Optionally, the chip further includes a memory, and the memory and the processor are connected to the memory through a circuit or a wire.
进一步可选地,所述芯片还包括通信接口。Further optionally, the chip further includes a communication interface.
第十七方面,本申请提供一种芯片,包括处理器。处理器用于读取并执行存储器中存储的计算机程序,以执行第三方面或其任意可能的实现方式中的方法。In a seventeenth aspect, this application provides a chip including a processor. The processor is used to read and execute the computer program stored in the memory to execute the method in the third aspect or any possible implementation manner thereof.
可选地,所述芯片还包括存储器,存储器与处理器通过电路或电线与存储器连接。Optionally, the chip further includes a memory, and the memory and the processor are connected to the memory through a circuit or a wire.
进一步可选地,所述芯片还包括通信接口。Further optionally, the chip further includes a communication interface.
第十八方面,本申请提供一种计算机程序产品,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行第一方面或其任意可能的实现方式中的方法,或者执行第五方面或其任意可能的实现方式中的方法。In an eighteenth aspect, this application provides a computer program product. The computer program product includes computer program code. When the computer program code runs on a computer, the computer executes the first aspect or any of its possible implementations. , Or execute the method in the fifth aspect or any of its possible implementation manners.
第十九方面,本申请提供一种计算机程序产品,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行第二方面或其任意可能的实现方式中的方法,或者执行第四方方面或其任意可能的实现方式中的方法。In a nineteenth aspect, this application provides a computer program product. The computer program product includes computer program code. When the computer program code runs on a computer, the computer executes the second aspect or any of its possible implementations. , Or execute the method in the fourth aspect or any of its possible implementation manners.
第二十方面,本申请提供一种计算机程序产品,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行第三方面或其任意可能的实现方式中的方法。In a twentieth aspect, this application provides a computer program product. The computer program product includes computer program code. When the computer program code runs on a computer, the computer executes the third aspect or any of its possible implementations. Methods.
在本申请的技术方案中,接收端在对接收到的数据包头解压缩之前,通过获取发送端发送的数据包中需要第一个被头解压缩的数据包的PDCP序列号,可以避免接收端在数据包乱序的情况下对数据包进行头解压缩处理而导致头解压缩出错,从而可以降低头解压缩出错率。In the technical solution of this application, before decompressing the header of the received data packet, the receiving end can avoid the receiving end by obtaining the PDCP sequence number of the first data packet sent by the transmitting end that needs to be decompressed by the header. When the data packet is out of order, the header decompression process is performed on the data packet, which results in a header decompression error, thereby reducing the header decompression error rate.
附图说明Description of the drawings
图1是适用于本申请实施例的通信系统的架构图。Fig. 1 is an architecture diagram of a communication system applicable to an embodiment of the present application.
图2为eMBB方案中的切换过程的示意图。Figure 2 is a schematic diagram of the handover process in the eMBB solution.
图3为PDCP层的功能模块的示意图。Figure 3 is a schematic diagram of the functional modules of the PDCP layer.
图4为网络设备的用户面协议栈的示意图。Figure 4 is a schematic diagram of a user plane protocol stack of a network device.
图5为UE的一种用户面协议栈的示意图。Figure 5 is a schematic diagram of a user plane protocol stack of the UE.
图6为UE的另一种用户面协议栈的示意图。Fig. 6 is a schematic diagram of another user plane protocol stack of the UE.
图7为第一网络设备和第二网络设备各自具有重排序功能模块的示意图。FIG. 7 is a schematic diagram of the first network device and the second network device each having a reordering function module.
图8为第一网络设备和第二网络设备共同使用一个重排序功能模块的示意图。Fig. 8 is a schematic diagram of the first network device and the second network device sharing a reordering function module.
图9为本申请提供的通信装置500的示意图。FIG. 9 is a schematic diagram of a communication device 500 provided by this application.
图10为本申请提供的通信装置600的示意图。FIG. 10 is a schematic diagram of a communication device 600 provided by this application.
图11为本申请提供的通信装置700的示意图。FIG. 11 is a schematic diagram of a communication device 700 provided by this application.
图12为本申请提供的终端设备的示意性结构图。FIG. 12 is a schematic structural diagram of a terminal device provided by this application.
图13为本申请提供的网络设备的示意性结构图。FIG. 13 is a schematic structural diagram of a network device provided by this application.
图14为本申请提供的网络设备的示意性结构图。FIG. 14 is a schematic structural diagram of a network device provided by this application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solution in this application will be described below in conjunction with the drawings.
本申请实施例的技术方案可以应用于各种通信系统,例如,长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)、通用移动通信系统(universal mobile telecommunication system,UMTS)、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统、未来的第五代(5th generation,5G)系统或新无线(new radio,NR)等。The technical solutions of the embodiments of this application can be applied to various communication systems, for example, long term evolution (LTE) systems, LTE frequency division duplex (FDD) systems, and LTE time division duplex (time division duplex) systems. , TDD), universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WiMAX) communication system, the future 5th generation (5G) system or new wireless ( new radio, NR) etc.
本申请实施例中的终端设备可以指用户设备、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。终端设备还可以是蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字处理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,未来5G网络中的终端设备或者未来演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备等,本申请对此并不限定。The terminal equipment in the embodiments of this application may refer to user equipment, access terminals, user units, user stations, mobile stations, mobile stations, remote stations, remote terminals, mobile equipment, user terminals, terminals, wireless communication equipment, user agents, or User device. The terminal device can also be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), with wireless communication Functional handheld devices, computing devices, or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in the future 5G network or future evolution of the public land mobile network (PLMN) Terminal equipment, etc., this application is not limited to this.
本申请实施例中的网络设备可以是任意一种具有无线收发功能的设备。所述网络设备包括但不限于:演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(home evolved NodeB,或home Node B,HNB)、基带单元(baseband unit,BBU),无线保真(wireless fidelity,WIFI)系统中的接入点(access point,AP)、无线中继节点、无线回传节点、传输点(transmission point,TP)或者发送接收点(transmission and reception point,TRP)等,还可以为第五代(the fifth generation,5G)系统,例如,新空口(new radio,NR)中的gNB或传输点(TRP或TP),5G系统中的基站的一个或一组(包括多个天线面板)天线面板,或者,还可以为构成gNB或传输点的网络节点,例如基带单元(building baseband unit,BBU)或分布式单元(distributed unit,DU)等。The network device in the embodiment of the present application may be any device with a wireless transceiver function. The network equipment includes but is not limited to: evolved Node B (eNB), radio network controller (RNC), node B (Node B, NB), base station controller (base station controller, BSC), base transceiver station (base transceiver station, BTS), home base station (home evolved NodeB, or home Node B, HNB), baseband unit (BBU), wireless fidelity (wireless fidelity, WIFI) system Access point (access point, AP), wireless relay node, wireless backhaul node, transmission point (transmission point, TP), or transmission and reception point (transmission and reception point, TRP), etc., can also be the fifth generation (the fifth generation (5G) system, for example, gNB or transmission point (TRP or TP) in the new radio (NR), one or a group (including multiple antenna panels) antenna panels of the base station in the 5G system, or It may also be a network node that constitutes a gNB or a transmission point, such as a baseband unit (building baseband unit, BBU) or a distributed unit (DU), etc.
在一些部署中,gNB可以包括集中式单元(centralized unit,CU)和分布式单元(distributed unit,DU)。gNB还可以包括有源天线单元(active antenna unit,AAU)。CU 实现gNB的部分功能,DU实现gNB的部分功能。例如,CU负责处理非实时协议和服务,实现无线资源控制(radio resource control,RRC),分组数据汇聚层协议(packet data convergence protocol,PDCP)层的功能。DU负责处理物理层协议和实时服务,实现无线链路控制(radio link control,RLC)层、媒体接入控制(media access control,MAC)层和物理(physical,PHY)层的功能。AAU实现部分物理层处理功能、射频处理及有源天线的相关功能。由于RRC层的信息最终会变成PHY层的信息,或者,由PHY层的信息转变而来,因而,在这种架构下,高层信令,例如RRC层信令,也可以认为是由DU发送的,或者,由DU和AAU发送的。In some deployments, the gNB may include a centralized unit (CU) and a distributed unit (DU). The gNB may also include an active antenna unit (AAU). CU implements part of the functions of gNB, and DU implements part of the functions of gNB. For example, the CU is responsible for processing non-real-time protocols and services, and implements radio resource control (radio resource control, RRC), packet data convergence protocol (packet data convergence protocol, PDCP) layer functions. The DU is responsible for processing physical layer protocols and real-time services, and realizes the functions of the radio link control (RLC) layer, media access control (MAC) layer, and physical (PHY) layer. AAU realizes some physical layer processing functions, radio frequency processing and related functions of active antennas. Since the information of the RRC layer will eventually become the information of the PHY layer, or be transformed from the information of the PHY layer, under this architecture, high-level signaling, such as RRC layer signaling, can also be considered to be sent by DU , Or, sent by DU and AAU.
可以理解的是,网络设备可以为包括CU、DU、AAU中一项或多项的设备。此外,可以将CU划分为接入网(radio access network,RAN)中的网络设备,也可以将CU划分为核心网(core network,CN)中的网络设备,本申请对此不做限定。It is understandable that the network device may be a device including one or more of CU, DU, and AAU. In addition, the CU can be divided into network equipment in an access network (radio access network, RAN), and the CU can also be divided into network equipment in a core network (core network, CN), which is not limited in this application.
参见图1,图1是适用于本申请实施例的通信系统的架构图。如图1所示,该无线通信系统中可以包括网络设备101和网络设备102,和一个或多个终端设备103。当网络设备101或网络设备102发送信号时,网络设备为发射端,终端设备103为接收端。反之,当终端设备103发送信号时,终端设备为发射端,网络设备101和/或网络设备102为接收端。Referring to FIG. 1, FIG. 1 is an architecture diagram of a communication system applicable to an embodiment of the present application. As shown in FIG. 1, the wireless communication system may include a network device 101 and a network device 102, and one or more terminal devices 103. When the network device 101 or the network device 102 sends a signal, the network device is the transmitting end, and the terminal device 103 is the receiving end. Conversely, when the terminal device 103 sends a signal, the terminal device is the transmitting end, and the network device 101 and/or the network device 102 is the receiving end.
本申请的技术方案适用于终端设备进行切换的场景。The technical solution of the present application is applicable to scenarios where terminal devices perform handover.
在传统的切换过程中,源基站给UE发送切换消息后,UE与源基站之间的数据传输会中断,直至UE成功切换到目标基站之后,UE可以与目标基站进行数据传输。具体地,UE成功接入到目标基站之后,UE向目标基站发送RRC重配置完成消息,此时,空口才能恢复数据传输。因此,切换过程中存在中断时延。In a traditional handover process, after the source base station sends a handover message to the UE, data transmission between the UE and the source base station will be interrupted until the UE successfully switches to the target base station, and the UE can perform data transmission with the target base station. Specifically, after the UE successfully accesses the target base station, the UE sends an RRC reconfiguration complete message to the target base station. At this time, the air interface can resume data transmission. Therefore, there is an interruption delay during the handover.
为了提高用户体验度,3GPP提出切换过程中实现0ms移动中断时延的要求。为实现0ms切换中断时延,并为此提出了eMBB方案。In order to improve user experience, 3GPP puts forward the requirement of 0ms mobile interruption delay during handover. In order to realize the 0ms handover interruption delay, the eMBB scheme is proposed for this.
参见图2,图2为eMBB方案中的切换过程的示意图。在eMBB方案提出的切换过程中,源基站向UE发送切换消息后,可以与目标基站之间进行数据转发(data forwarding)。即源基站将分配了分组数据汇聚协议序列号(packet data convergence protocol sequence number,PDCP SN)的PDCP服务数据单元(service data unit,SDU)转发给目标基站,即源基站发送给目标基站的是PDCP SDU(s)以及与每个PDCP SDU分别对应的PDCP SN。其中,这些分配了PDCP SN的每一个PDCP SDU和一个PDCP SN关联。转发到目标基站的这些PDCP SDU由目标基站进行头压缩、加密、添加PDCP头等处理。图2中的其它步骤的说明可以参见现有技术。Refer to Figure 2, which is a schematic diagram of the handover process in the eMBB solution. In the handover process proposed by the eMBB solution, after the source base station sends a handover message to the UE, it can perform data forwarding with the target base station. That is, the source base station forwards the PDCP service data unit (service data unit, SDU) assigned to the packet data convergence protocol sequence number (packet data convergence protocol sequence number, PDCP SN) to the target base station, that is, the source base station sends the PDCP to the target base station. SDU(s) and the PDCP SN corresponding to each PDCP SDU. Among them, each PDCP SDU assigned to the PDCP SN is associated with a PDCP SN. These PDCP SDUs forwarded to the target base station are processed by the target base station for header compression, encryption, and PDCP header addition. The description of other steps in FIG. 2 can refer to the prior art.
另外,图2中所示的eMBB的切换过程仅仅是作为示例。可选地,切换过程也可以包括图2中所示步骤之外的其它步骤,或者,图2中所示的步骤可以执行部分而非全部。In addition, the eMBB handover process shown in FIG. 2 is merely an example. Optionally, the handover process may also include other steps besides the steps shown in FIG. 2, or, the steps shown in FIG. 2 may execute part but not all of the steps.
为了便于理解本申请的技术方案,下面结合图3对现有的PDCP层进行介绍。In order to facilitate the understanding of the technical solution of the present application, the existing PDCP layer will be introduced below in conjunction with FIG. 3.
参见图3,图3为PDCP层的功能模块的示意图。图3中示出了发送端的PDCP实体和接收端的PDCP实体。发送端的PDCP实体可以进行PDCP SN分配、头压缩、完整性保护、加密、PDCP头添加(add PDCP header)、路由/复制等处理,接收端的PDCP实体可以进行PDCP头移除、解密、完整性验证、重排序、复制丢弃、头解压缩等处理。应理解,在下行数据传输中,发送端的PDCP实体即是网络设备的PDCP实体,接收端的PDCP 实体即是终端设备的PDCP实体。在上行数据传输中,发送端的PDCP实体即是终端设备的PDCP实体,接收端的PDCP实体即是网络设备的PDCP实体。Refer to Figure 3, which is a schematic diagram of the functional modules of the PDCP layer. Figure 3 shows the PDCP entity at the transmitting end and the PDCP entity at the receiving end. The PDCP entity at the sending end can perform PDCP SN allocation, header compression, integrity protection, encryption, PDCP header addition (add PDCP header), routing/copying, etc. The PDCP entity at the receiving end can perform PDCP header removal, decryption, and integrity verification , Reordering, copy discarding, header decompression and other processing. It should be understood that in downlink data transmission, the PDCP entity at the transmitting end is the PDCP entity of the network device, and the PDCP entity at the receiving end is the PDCP entity of the terminal device. In uplink data transmission, the PDCP entity at the transmitting end is the PDCP entity of the terminal device, and the PDCP entity at the receiving end is the PDCP entity of the network device.
对于下行链路(downlink,DL),网络设备作为数据包的发送端,其用户面协议栈架构可以参见图4所示。For the downlink (DL), the network device serves as the sender of the data packet, and its user plane protocol stack architecture can be seen in Figure 4.
由于PDCP层是承载粒度,每个承载有与之对应的PDCP层。参见图4,以某一承载为例,图4为网络设备的用户面协议栈的示意图。网络设备(例如,图4中所示的源基站)的PDCP层生成数据包的序列号编号(sequence numbering),也即上文的PDCP SN,或者说,进行PDCP SN分配,并对数据包进行头压缩(header compression)、完整性保护、加密(ciphering)和PDCP头添加(add PDCP header)等操作之后递交给RLC层。再依次经过RLC、MAC层和PHY层处理之后发送给终端设备。Since the PDCP layer is a bearer granularity, each bearer has a corresponding PDCP layer. Referring to Figure 4, taking a bearer as an example, Figure 4 is a schematic diagram of a user plane protocol stack of a network device. The PDCP layer of the network device (for example, the source base station shown in Figure 4) generates the sequence numbering of the data packet, which is the above PDCP SN, or in other words, performs the PDCP SN allocation and performs the data packet Operations such as header compression, integrity protection, ciphering, and PDCP header addition (add PDCP header) are then submitted to the RLC layer. After being processed by RLC, MAC layer, and PHY layer in turn, it is sent to the terminal device.
需要说明的是,图4仅是一种式例。图4中所示的源基站或目标基站的PDCP层,还可以包括完整性保护(integrity protection)(作为发送端时)、完整性验证(integrity verification)(作为接收端时)、PDCP头添加(add PDCP header)、路由(routing)/复制(duplication)、重排序(reordering)、复制丢弃(duplicate discarding)等功能模块。这些功能模块可以参考图3中所示,图4中未示出。其中,图4中的路由/复制模块和图3中不同,下文实施例中会进行说明。It should be noted that Fig. 4 is only an example. The PDCP layer of the source base station or the target base station shown in Figure 4 may also include integrity protection (when used as a sender), integrity verification (when used as a receiver), and PDCP header addition ( add PDCP header, routing/duplication, reordering, duplicate discarding and other functional modules. These functional modules can be referred to as shown in FIG. 3, but not shown in FIG. 4. Among them, the routing/replication module in FIG. 4 is different from that in FIG. 3, which will be described in the following embodiments.
在数据传输过程中,为了提高数据传输的可靠性,在一种可选的实现方式中,网络设备可以对数据包进行复制(duplication)处理或者说复制操作。本文中将下行数据包的复制处理称为DL duplication。对于下行,复制处理是指针对某一PDCP SN(该PDCP SN是由源基站分配的),源基站可以生成2个PDCP SDU。换句话说,源基站生成对应同一个PDCP SN的两个PDCP SDU。其中,一个PDCP SDU传递给源基站自身的压缩、加密等功能模块,使用源基站的头压缩(如ROHC)上下文进行头压缩、源基站的密钥进行加密等处理后,源基站将其发送给UE。另一个PDCP SDU(以及该PDCP SDU所对应的PDCP SN)由源基站转发给目标基站,使用目标基站的头压缩(如ROHC)上下文进行头压缩、目标基站的密钥进行加密等处理,生成PDCP PDU。一旦UE成功接入到目标基站,例如,目标基站接收到UE发送的RRC重配置完成消息,目标基站就可以将从源基站接收到的且由目标基站处理后的PDCP PDU发送给UE。In the data transmission process, in order to improve the reliability of data transmission, in an optional implementation manner, the network device may perform duplication processing or duplication operation on the data packet. In this article, the duplication of downlink data packets is called DL duplication. For the downlink, the replication process refers to a certain PDCP SN (the PDCP SN is allocated by the source base station), and the source base station can generate 2 PDCP SDUs. In other words, the source base station generates two PDCP SDUs corresponding to the same PDCP SN. Among them, a PDCP SDU is passed to the source base station's own compression, encryption and other functional modules. After the source base station's header compression (such as ROHC) context is used for header compression and the source base station's key for encryption, the source base station sends it to UE. Another PDCP SDU (and the PDCP SN corresponding to the PDCP SDU) is forwarded by the source base station to the target base station, and uses the target base station's header compression (such as ROHC) context for header compression and the target base station's key for encryption, etc., to generate PDCP PDU. Once the UE successfully accesses the target base station, for example, the target base station receives the RRC reconfiguration complete message sent by the UE, the target base station can send the PDCP PDU received from the source base station and processed by the target base station to the UE.
从UE的角度而言,UE从源基站接收到切换消息后,一方面保持与源基站的数据传输,即保持对应源基站的用户面协议栈,对源基站的用户面协议栈不进行层2重置(reset)或者重建(re-establishment)。应理解,层2包括MAC层、RLC层和PDCP层。另一方面,UE建立目标基站的协议栈,用于向目标进行发起RACH并进行数据传输。在一种可选的实现方式中,UE可以对数据包进行复制(duplication)处理或者说复制操作。本文中将上行数据包的复制处理称为UL duplication。对于上行,复制处理是指针对某一PDCP SN(该PDCP SN是由UE分配的),UE可以生成2个PDCP SDU。换句话说,UE生成对应同一个PDCP SN的两个PDCP SDU。其中,一个PDCP SDU传递给对应源基站的头压缩、加密等功能模块,使用源基站的头压缩(如ROHC)上下文进行头压缩、源基站的密钥进行加密等处理后,UE将其发送给源基站。另一个PDCP SDU传递给对应目标基站的头压缩、加密等功能模块,使用目标基站的头压缩(如ROHC)上下文进行头压缩、目标基站的密钥进行加密等处理,生成PDCP PDU,UE将其发送给目标基站。From the perspective of the UE, after receiving the handover message from the source base station, the UE maintains data transmission with the source base station on the one hand, that is, maintains the user plane protocol stack corresponding to the source base station, and does not perform layer 2 on the user plane protocol stack of the source base station. Reset (reset) or re-establishment (re-establishment). It should be understood that layer 2 includes a MAC layer, an RLC layer, and a PDCP layer. On the other hand, the UE establishes a protocol stack of the target base station for initiating RACH and data transmission to the target. In an optional implementation manner, the UE may perform duplication processing or duplication operation on the data packet. In this article, the duplication of uplink data packets is called UL duplication. For the uplink, the replication process refers to a certain PDCP SN (the PDCP SN is allocated by the UE), and the UE can generate 2 PDCP SDUs. In other words, the UE generates two PDCP SDUs corresponding to the same PDCP SN. Among them, a PDCP SDU is transferred to the corresponding source base station's header compression, encryption and other functional modules. After the header compression (such as ROHC) context of the source base station is used for header compression and the source base station key is used for encryption, the UE sends it to Source base station. Another PDCP SDU is passed to the corresponding target base station's header compression, encryption and other functional modules, and the target base station's header compression (such as ROHC) context is used for header compression and the target base station's key for encryption, etc., to generate PDCP PDU, and the UE will Send to the target base station.
在UE接收到切换消息之后至UE释放和源基站的连接之前,UE维护分别对应源基站、目标基站的两套安全上下文(或维护两个安全密钥,如源基站的密钥、目标基站的密钥),或者说UE维护分别对应源基站、目标基站的两套头压缩(如ROHC)上下文。UE根据接收到的数据包是来自源基站还是目标基站,采用相应的安全上下文(或密钥)进行解密,且,采用相应的头解压缩上下文进行头解压缩等处理。After the UE receives the handover message and before the UE releases the connection with the source base station, the UE maintains two sets of security contexts corresponding to the source base station and the target base station (or maintains two security keys, such as the key of the source base station and the target base station. Key), or the UE maintains two sets of header compression (such as ROHC) contexts corresponding to the source base station and the target base station respectively. The UE uses the corresponding security context (or key) for decryption according to whether the received data packet is from the source base station or the target base station, and uses the corresponding header decompression context to perform header decompression and other processing.
在UE成功切换到目标基站后到UE释放和源基站的之间的连接的这段时间内,UE可以分别和源基站、目标基站进行上行数据传输。可选地,传输的可能是UL duplication数据包或者不是UL duplication数据包。UE将使用源基站的ROHC上下文进行头压缩,使用源基站的密钥进行加密等处理后PDCP PDU发送给源基站的RLC层、MAC层以及PHY层。UE将使用目标基站的ROHC上下文进行头压缩,使用目标基站的密钥进行加密等处理后PDCP PDU发送给目标基站的RLC层、MAC层以及PHY层。After the UE successfully switches to the target base station and the UE releases the connection with the source base station, the UE can perform uplink data transmission with the source base station and the target base station respectively. Optionally, the transmission may be a UL duplication data packet or not a UL duplication data packet. The UE will use the ROHC context of the source base station for header compression, use the key of the source base station for encryption and other processing, and then send the PDCP PDU to the RLC layer, MAC layer and PHY layer of the source base station. The UE will use the ROHC context of the target base station for header compression, use the key of the target base station for encryption and other processing, and then send the PDCP PDU to the RLC layer, MAC layer and PHY layer of the target base station.
以上行链路(uplink,UL)的数据传输为例,UE作为发送端,以某一承载为例,其用户面协议栈架构可以和网络侧的下行数据传输时的协议栈架构类似,参见图5所示。Take the uplink (UL) data transmission as an example, the UE as the sender, taking a bearer as an example, its user plane protocol stack architecture can be similar to the protocol stack architecture of the network side downlink data transmission, see figure 5 shown.
参见图5,图5为UE的一种用户面协议栈的示意图。对应某一承载,在图5中,UE有两个PDCP层,其中一个PDCP层对应源基站,另一个PDCP层对应目标基站。例如,图5所示的协议栈架构下,如果UE对UL数据包进行duplication操作,针对同一个PDCP SN,两个PDCP层分别有各自对应的PDCP SDU。其中,对应源基站的PDCP层使用源基站的头压缩上下文进行头压缩,使用源基站的密钥进行加密等处理后,生成PDCP PDU,对应目标基站的PDCP层使用目标基站的头压缩上下文进行头压缩,使用目标基站的密钥进行加密等处理后,生成PDCP PDU。图5中左侧的协议栈(例如PHY1,MAC1,RLC1)可以对应目标基站,右侧的协议栈(例如,PHY2,MAC2,RLC2)可以对应源基站。Refer to Figure 5, which is a schematic diagram of a user plane protocol stack of the UE. Corresponding to a certain bearer, in Figure 5, the UE has two PDCP layers. One PDCP layer corresponds to the source base station, and the other PDCP layer corresponds to the target base station. For example, in the protocol stack architecture shown in Figure 5, if the UE performs a duplication operation on UL data packets, for the same PDCP SN, the two PDCP layers have their own corresponding PDCP SDUs. Among them, the PDCP layer corresponding to the source base station uses the header compression context of the source base station for header compression, uses the key of the source base station for encryption and other processing to generate PDCP PDU, and the PDCP layer corresponding to the target base station uses the header compression context of the target base station for header compression. After compression, use the key of the target base station for encryption and other processing to generate PDCP PDU. The protocol stacks on the left (for example, PHY1, MAC1, RLC1) in FIG. 5 can correspond to the target base station, and the protocol stacks on the right (for example, PHY2, MAC2, RLC2) can correspond to the source base station.
图5中的头添加是指PDCP头添加。The header addition in Figure 5 refers to the PDCP header addition.
此外应理解,UE作为发送端时,对应某一承载,图5中所示的UE的两个PDCP实体(或PDCP层)可以为发送PDCP实体(或PDCP层)。其中,发送PDCP实体还可以包括完整性保护(integrity protection)、PDCP头添加(add PDCP header)、路由(routing)/复制(duplication)等功能模块,图5中,路由(routing)/复制(duplication)的功能模块位于对应源基站的PDCP实体。UE作为接收端时,对应某一承载,图5中所示的UE的两个PDCP实体(或PDCP层)可以为接收PDCP实体(或PDCP层),接收PDCP实体还可以包括完整性验证(integrity verification)、PDCP头移除(remove PDCP header)、重排序(reordering)、复制丢弃等功能模块。这些功能模块可以参考图3中所示,图5中未示出。In addition, it should be understood that when the UE is used as the transmitting end, corresponding to a certain bearer, the two PDCP entities (or PDCP layers) of the UE shown in FIG. 5 may be transmitting PDCP entities (or PDCP layers). Wherein, the sending PDCP entity may also include functional modules such as integrity protection, PDCP header addition (add PDCP header), routing/duplication, etc. In Figure 5, routing/duplication The functional module of) is located in the PDCP entity corresponding to the source base station. When the UE serves as the receiving end, corresponding to a certain bearer, the two PDCP entities (or PDCP layers) of the UE shown in FIG. 5 can be the receiving PDCP entity (or PDCP layer), and the receiving PDCP entity can also include integrity verification (integrity verification). Verification), PDCP header removal (remove PDCP header), reordering (reordering), copy discarding and other functional modules. These functional modules can be referred to as shown in FIG. 3, but not shown in FIG. 5.
可选地,对应某一承载,UE侧有一个PDCP层(例如,称该PDCP层为common PDCP),该PDCP层既对应源基站又对应目标基站,此时,UE的用户面协议栈可以参见图6所示。Optionally, corresponding to a certain bearer, there is a PDCP layer on the UE side (for example, the PDCP layer is called common PDCP). The PDCP layer corresponds to both the source base station and the target base station. In this case, the user plane protocol stack of the UE can be referred to Shown in Figure 6.
如图6所示,图6为UE的另一种用户面协议栈的示意图。图6中所示的common PDCP维护两套安全上下文(且该common PDCP维护两套头压缩上下文)。可选的,UE进行UL duplication。具体地,图6所示的协议栈架构下,如果UE对UL数据包进行duplication操作,针对同一个PDCP SN,common PDCP层使用源基站对应的头压缩上下文进行头压缩并且使用源基站的密钥进行加密等处理后,生成一份PDCP PDU,同时,该common PDCP层使用目标基站对应的头压缩上下文进行头压缩并且使用目标基站的密钥进行加密 等处理后,生成另一份PDCP PDU,即针对某一PDCP SN,UE生成2个对应同一个PDCP SN的PDCP PDU。UE将使用源基站的ROHC上下文进行头压缩,使用源基站的密钥进行加密等处理之后的数据包发送给源基站。另外,UE将使用目标基站的ROHC上下文进行头压缩,使用目标基站的密钥进行加密等处理之后的数据包发送给目标基站。As shown in Figure 6, Figure 6 is a schematic diagram of another user plane protocol stack of the UE. The common PDCP shown in FIG. 6 maintains two sets of security contexts (and the common PDCP maintains two sets of header compression contexts). Optionally, the UE performs UL duplication. Specifically, under the protocol stack architecture shown in Figure 6, if the UE performs duplication operations on UL data packets, for the same PDCP SN, the common PDCP layer uses the header compression context corresponding to the source base station for header compression and uses the source base station's key After encryption and other processing, a PDCP PDU is generated. At the same time, the common PDCP layer uses the header compression context corresponding to the target base station to perform header compression and uses the key of the target base station for encryption and other processing to generate another PDCP PDU, namely For a certain PDCP SN, the UE generates 2 PDCP PDUs corresponding to the same PDCP SN. The UE uses the ROHC context of the source base station for header compression, and uses the key of the source base station for encryption and other processing and sends the data packet to the source base station. In addition, the UE sends to the target base station the data packet after header compression using the ROHC context of the target base station and encryption using the key of the target base station.
此外,UE作为发送端时,对应某一承载,图6中所示的PDCP实体(或PDCP层)可以为发送PDCP实体(或PDCP层)。其中,发送PDCP实体还可以包括完整性保护(integrity protection)、PDCP头添加(add PDCP header)、路由(routing)/复制(duplication)、等功能模块。UE作为接收端时,对应某一承载,图6中所示的PDCP实体(或PDCP层)可以为接收PDCP实体(或PDCP层),接收PDCP实体还可以包括完整性验证(integrity verification)、PDCP头移除(remove PDCP header)、重排序(reordering)、复制丢弃等功能模块。这些功能模块可以参考图3中所示,图6中未示出。In addition, when the UE serves as the transmitting end, corresponding to a certain bearer, the PDCP entity (or PDCP layer) shown in FIG. 6 may be the transmitting PDCP entity (or PDCP layer). Wherein, the sending PDCP entity may also include functional modules such as integrity protection, PDCP header addition (add PDCP header), routing/duplication, and so on. When the UE serves as the receiving end, corresponding to a certain bearer, the PDCP entity (or PDCP layer) shown in Figure 6 can be the receiving PDCP entity (or PDCP layer), and the receiving PDCP entity can also include integrity verification, PDCP Functional modules such as remove PDCP header, reordering, and copy discarding. These functional modules can be referred to as shown in FIG. 3, but not shown in FIG. 6.
以上图4-图6中给出的网络设备以及UE的用户面协议栈架构仅是作为一种示例,本申请的技术方案不限定采用其它协议栈架构或其变形,只要保证网络侧或者UE侧的数据可以通过两条腿传输以实现0ms切换中断时延,在本申请的技术方案中都是适用的。The user plane protocol stack architecture of the network equipment and UE given in Figure 4 to Figure 6 above is only an example. The technical solution of the present application does not limit the use of other protocol stack architectures or variations thereof, as long as the network side or the UE side is guaranteed The data can be transmitted through two legs to achieve a 0ms switching interruption delay, which is applicable in the technical solutions of this application.
从网络侧的角度而言,源基站对从UE接收到的PDCP PDU使用源基站的密钥进行解密,使用源基站的头解压缩上下文进行头解压缩。目标基站对从UE接收到的PDCP PDU使用目标基站的密钥进行解密,使用目标基站的头解压缩上下文进行头解压缩。From the perspective of the network side, the source base station decrypts the PDCP PDU received from the UE using the key of the source base station, and uses the header decompression context of the source base station to decompress the header. The target base station decrypts the PDCP PDU received from the UE using the key of the target base station, and uses the header decompression context of the target base station to perform header decompression.
但是,由于接收端的RLC层不保证将数据包按顺序递交给PDCP层。因此,头解压缩之前如果数据包是乱序的,将导致头解压缩的错误率非常高。However, the RLC layer at the receiving end does not guarantee that the data packets will be delivered to the PDCP layer in order. Therefore, if the data packets are out of order before header decompression, the error rate of header decompression will be very high.
为此,本申请提出一种处理数据包的方法,旨在降低头解压缩的错误率。For this reason, this application proposes a method for processing data packets, which aims to reduce the error rate of header decompression.
本申请的技术方案对于上行数据传输和下行数据传输都是适用的,下面分别进行说明。The technical solution of the present application is applicable to both uplink data transmission and downlink data transmission, which will be described separately below.
首先需要说明的是,本申请中的第一网络设备和第二网络设备仅仅是作为网络侧设备的举例。例如,第一网络设备可以终端设备在切换过程中的目标基站,第二网络设备为切换过程中的源基站。First, it should be noted that the first network device and the second network device in this application are merely examples of network side devices. For example, the first network device may be the target base station of the terminal device in the handover process, and the second network device may be the source base station in the handover process.
下行数据传输Downlink data transmission
510、终端设备获取从第一网络设备接收到的数据包中需要第一个被头解压缩的数据包的分组数据汇聚协议序列号(PDCP sequence,PDCP SN)。510. The terminal device obtains the packet data convergence protocol sequence number (PDCP sequence, PDCP SN) of the first data packet that needs to be decompressed by the header among the data packets received from the first network device.
终端设备可以有多种方式获取所述需要第一个被头解压缩的数据包的PDCP序列号,下面列举几种方式作为说明。The terminal device can obtain the PDCP sequence number of the first data packet that needs to be decompressed by the header in multiple ways. Several methods are listed below for illustration.
方式1Way 1
终端设备从第二网络设备接收第一指示信息。其中,第一指示信息用于指示终端设备从第一网络设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号。The terminal device receives the first indication information from the second network device. The first indication information is used to indicate the PDCP sequence number of the first data packet decompressed by the header among the data packets received by the terminal device from the first network device.
从第二网络设备的角度而言,第二网络设备生成第一指示信息,并向终端设备发送第一指示信息。From the perspective of the second network device, the second network device generates the first indication information and sends the first indication information to the terminal device.
在一种实现方式中,第二网络设备向终端设备发送无线资源控制(radio resource control,RRC)重配置消息,RRC重配置消息中携带一个或多个第一指示信息。每个第一指示信息用于指示该第一指示信息所对应的承载上传输的数据包中需要第一个被头解压缩的数据包的PDCP序列号。例如,每个第一指示信息即为该第一指示信息所对应的承载 上传输的数据包中需要第一个被头解压缩的数据包的PDCP序列号。In an implementation manner, the second network device sends a radio resource control (radio resource control, RRC) reconfiguration message to the terminal device, and the RRC reconfiguration message carries one or more first indication information. Each first indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets transmitted on the bearer corresponding to the first indication information. For example, each first indication information is the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets transmitted on the bearer corresponding to the first indication information.
需要说明的是,PDCP序列号是以无线承载(data radio bearer,DRB)为粒度的,其中,RB可以包含数据无线承载(data radio bearer,DRB)、信令无线承载(signalling radio bearer,SRB)。因此,RRC重配置消息中携带的第一指示信息也是以无线承载为粒度的。不同的承载具有自己所对应的需要第一个被头解压缩的数据包的PDCP序列号。It should be noted that the PDCP sequence number is based on the granularity of the radio bearer (data radio bearer, DRB), where the RB can include data radio bearer (DRB) and signaling radio bearer (signalling radio bearer, SRB) . Therefore, the first indication information carried in the RRC reconfiguration message is also based on radio bearer granularity. Different bearers have their own corresponding PDCP sequence numbers that need to be decompressed by the header.
可选地,不同承载的需要被第一个头解压缩的数据包的PDCP序列号可能相同或者不同。Optionally, the PDCP sequence numbers of the data packets that need to be decompressed by the first header of different bearers may be the same or different.
因此,如果RRC重配置消息中携带多个第一指示信息,每个第一指示信息对应不同的承载。因此,每个第一指示信息所指示的PDCP序列号是该第一指示信息对应的承载的需要第一个被头解压缩的数据包的PDCP序列号。Therefore, if the RRC reconfiguration message carries multiple first indication information, each first indication information corresponds to a different bearer. Therefore, the PDCP sequence number indicated by each first indication information is the PDCP sequence number of the first data packet that needs to be decompressed by the header of the bearer corresponding to the first indication information.
可选地,当RRC重配置消息中携带多个第一指示信息时,每个第一指示信息都关联一个RB的标识,表示该第一指示信息所指示的PDCP序列号是该RB的标识所对应的RB上需要第一个被头解压缩的数据包的PDCP序列号。即,可选的,该RRC重配置消息中包含第一指示信息以及与该第一指示信息关联的RB ID。Optionally, when the RRC reconfiguration message carries multiple first indication information, each first indication information is associated with an RB identity, indicating that the PDCP sequence number indicated by the first indication information is the RB identity. The PDCP sequence number of the first packet decompressed by the header is required on the corresponding RB. That is, optionally, the RRC reconfiguration message includes the first indication information and the RB ID associated with the first indication information.
可选地,这里的RRC重配置消息可以是包含同步重配置(ReconfigurationWithSync)信元的RRC重配置消息,或者可以是包含移动控制信息(Mobility ControlInfo)信元的RRC连接重配置消息,这里不作限定。并且,RRC重配置消息也可以采用其它名称。该RRC重配置消息用于指示UE进行切换。Optionally, the RRC reconfiguration message here may be an RRC reconfiguration message including a synchronization reconfiguration (ReconfigurationWithSync) cell, or may be an RRC connection reconfiguration message including a mobility control information (Mobility ControlInfo) cell, which is not limited here. . In addition, the RRC reconfiguration message may also adopt other names. The RRC reconfiguration message is used to instruct the UE to perform handover.
在另一种实现方式中,第二网络设备向终端设备发送PDCP控制协议数据单元(protocol data unit,PDU),PDCP控制PDU中携带第一指示信息。In another implementation manner, the second network device sends a PDCP control protocol data unit (protocol data unit, PDU) to the terminal device, and the PDCP control PDU carries the first indication information.
和RRC重配置消息不同的是,PDCP控制PDU本身就是承载粒度的。因此,PDCP控制PDU中携带该PDCP控制PDU对应的承载的第一指示信息。具体的,该第一指示信息可以是PDCP序列号,该PDCP序列号是对应的承载上的需要第一个被头解压缩的数据包的PDCP序列号。Different from the RRC reconfiguration message, the PDCP control PDU itself has a bearing granularity. Therefore, the PDCP control PDU carries the first indication information of the bearer corresponding to the PDCP control PDU. Specifically, the first indication information may be the PDCP sequence number, and the PDCP sequence number is the PDCP sequence number of the first data packet that needs to be decompressed by the header on the corresponding bearer.
方式2Way 2
终端设备从第一网络设备接收到预设的RLC序列号的数据包时,终端设备对该数据包进行解析,得到该数据包对应的PDCP序列号。该数据包对应的PDCP序列号即作为来自第一网络设备的需要第一个被头解压缩的数据包的PDCP序列号。When the terminal device receives the data packet of the preset RLC sequence number from the first network device, the terminal device parses the data packet to obtain the PDCP sequence number corresponding to the data packet. The PDCP sequence number corresponding to the data packet is the PDCP sequence number of the first data packet that needs to be decompressed by the header from the first network device.
换句话说,在方式2中,终端设备将接收到的预设的RLC序列号的数据包的PDCP序列号确定为来自第一网络设备的需要第一个被头解压缩的数据包的PDCP序列号。或者说,终端设备将从第一网络设备接收到的预设的RLC序列号的数据包确定为来自第一网络设备的需要第一个被头解压缩的数据包。In other words, in mode 2, the terminal device determines the received PDCP sequence number of the data packet with the preset RLC sequence number as the PDCP sequence from the first network device that needs the first data packet decompressed by the header number. In other words, the terminal device determines the data packet with the preset RLC sequence number received from the first network device as the first data packet from the first network device that needs to be decompressed by the header.
可选地,预设的RLC序列号可以由协议规定,或者由终端设备和网络约定,这里不作限定。Optionally, the preset RLC sequence number may be specified by a protocol, or agreed upon by the terminal device and the network, and is not limited here.
在一种实现方式中,预设的RLC序列号为0。In one implementation, the preset RLC sequence number is 0.
也即,终端设备从第一网络设备接收到RLC序列号为0的数据包后,从RLC序列号为0的数据包开始,对从第一网络设备接收到的数据包进行PDCP层的相应处理。That is, after receiving the data packet with the RLC sequence number of 0 from the first network device, the terminal device performs the PDCP layer corresponding processing on the data packet received from the first network device starting from the data packet with the RLC sequence number 0 .
具体的,终端设备的RLC层一定要等接收到RLC SN为0的RLC PDU(或RLC SDU)后,才开始给自身的PDCP层递交数据(如,RLC层给PDCP层递交RLC SN为0的RLC  SDU),即限定终端设备递交给自身的PDCP层的第一个包一定是RLC SN为0的数据包。即使终端设备的RLC层在接收到RLC SN为0的数据包前,已经接收到RLC SN非0的数据包,RLC层先缓存这些RLC SN非0的数据包,不递交给PDCP层,RLC层接收到RLC SN为0的包且将该RLC SN为0的包递交给PDCP层后,RLC层才将缓存的这些RLC SN非0的数据包递交给PDCP层。Specifically, the RLC layer of the terminal device must wait for the RLC PDU (or RLC SDU) with the RLC SN of 0 to be received before it starts to submit data to its PDCP layer (for example, the RLC layer submits the RLC to the PDCP layer with SN of 0). RLC SDU), that is, the first packet that the terminal device submits to its PDCP layer must be a data packet with an RLC SN of 0. Even if the RLC layer of the terminal device has received the RLC SN non-zero data packet before it receives the RLC SN non-zero data packet, the RLC layer first buffers these RLC SN non-zero data packets, and does not submit to the PDCP layer, the RLC layer After receiving a packet with an RLC SN of 0 and submitting the packet with an RLC SN of 0 to the PDCP layer, the RLC layer delivers the buffered data packets with a non-zero RLC SN to the PDCP layer.
终端设备的PDCP层解析出RLC SN为0的数据包所对应的PDCP SN后,根据该PDCP SN对来自第一网络设备的数据包进行重排序(即,以该PDCP SN作为重排序的起始数值),然后,终端设备的PDCP层对重排序后的数据包按序进行头解压缩。After the PDCP layer of the terminal device parses out the PDCP SN corresponding to the data packet whose RLC SN is 0, it reorders the data packets from the first network device according to the PDCP SN (that is, uses the PDCP SN as the start of the reordering Value), and then the PDCP layer of the terminal device decompresses the header of the reordered data packets in order.
该实施例中,终端设备的RLC层递交给自身的PDCP层的第一个数据包一定是RLC SN为0的数据包,RLC层后续递交给PDCP层的数据包的RLC SN可以乱序或者按序,对此不做限定(例如,终端设备的RLC层递交给自身的PDCP层的第二个数据包可以是RLC SN为1的数据包,或者可以是RLC SN为3的数据包,或者可以是RLC SN为2的数据包,不做限定)。终端设备的PDCP层可以对接收到的数据包(如,接收到的RLC SDU(或PDCP PDU))进行重排序。In this embodiment, the first data packet submitted by the RLC layer of the terminal device to its own PDCP layer must be a data packet with an RLC SN of 0, and the RLC SN of the data packet subsequently submitted to the PDCP layer by the RLC layer can be out of order or according to This is not limited (for example, the second data packet submitted by the RLC layer of the terminal device to its own PDCP layer can be a data packet with RLC SN 1, or a data packet with RLC SN 3, or It is a data packet whose RLC SN is 2, which is not limited). The PDCP layer of the terminal device can reorder the received data packets (for example, the received RLC SDU (or PDCP PDU)).
可选的,当UE的RLC层从第一网络设备接收到RLC SN为0的数据包,RLC层向PDCP层发送指示信息,用于指示PDCP层启动重排序或头解压缩的操作。Optionally, when the RLC layer of the UE receives a data packet with an RLC SN of 0 from the first network device, the RLC layer sends indication information to the PDCP layer for instructing the PDCP layer to start reordering or header decompression operations.
具体的,RLC传输模式包括UM模式、AM模式。相应的,RLC data PDU包括UMD(Unacknowledged Mode Data)PDU、AMD(Acknowledged Mode Data)PDU。Specifically, RLC transmission modes include UM mode and AM mode. Correspondingly, RLC data PDU includes UMD (Unacknowledged Mode Data) PDU and AMD (Acknowledged Mode Data) PDU.
AM模式下,由于AMD PDU header中携带RLC SN,所以,AM模式下,第一网络设备(即发送端)对数据包进行常规处理,终端设备(即接收方)按上述方法进行处理。In the AM mode, because the AMD PDU header carries the RLC SN, in the AM mode, the first network device (that is, the sender) performs regular processing on the data packet, and the terminal device (that is, the receiver) performs the processing according to the above method.
UM模式下,只有当RLC SDU分段时,UMD PDU header中携带RLC SN(An UMD PDU header contains the SN field only when the corresponding RLC SDU is segmented)。UM模式下,第一网络设备(即发送端)需要对RLC SN为0的数据包进行特殊处理,即,发送端的RLC层对于RLC SN为0的数据包,一定要采用携带RLC SN的数据包的格式对该包进行处理,例如,发送端的RLC层对于RLC SN为0的RLC SDU进行分段处理,生成的UMD PDU的格式为UMD PDU with X bit SN(如,X=6或12),具体格式可参照TS38.322-f50中6.2.2.3章节的描述(例如,具体UMD PDU的格式可以参照图6.2.2.3-2、图6.2.2.3-3、图6.2.2.3-4、图6.2.2.3-5);In UM mode, only when the RLC SDU is segmented, the UMD PDU header carries RLC SN (An UMD PDU header contains the SN field only when the corresponding RLC SDU is segmented). In UM mode, the first network device (i.e. the sender) needs to perform special processing on data packets with RLC SN 0, that is, the RLC layer at the sender must use data packets with RLC SN 0 for data packets with RLC SN 0 The packet is processed in the format of. For example, the RLC layer of the sender performs segmentation processing on the RLC SDU with RLC SN of 0, and the format of the generated UMD PDU is UMD PDU with X bit SN (for example, X=6 or 12), For the specific format, please refer to the description in section 6.2.2.3 of TS38.322-f50 (for example, for the specific UMD PDU format, please refer to Figure 6.2.2.3-2, Figure 6.2.2.3-3, Figure 6.2.2.3-4, Figure 6.2. 2.3-5);
可选的,UM模式下,发送端对RLC SN非0的数据包,可以按上述方法进行特殊处理;或者,可以不进行特殊处理,即生成的UMD PDU的格式为UMD PDU containing a complete RLC SDU,UMD PDU的具体格式可参照TS38.322-f50中6.2.2.3章节的描述(例如,具体UMD PDU的格式可以参照图6.2.2.3-1)。Optionally, in UM mode, the sender can perform special processing for data packets whose RLC SN is not 0 according to the above-mentioned method; or, no special processing is required, that is, the format of the generated UMD PDU is UMD PDU containing a complete RLC SDU For the specific format of UMD PDU, please refer to the description in section 6.2.2.3 of TS38.322-f50 (for example, refer to Figure 6.2.2.3-1 for the specific format of UMD PDU).
UM模式下,接收端(即终端设备)的处理方法与AM模式下接收端(即终端设备)的处理方法类似,可以按上述方式2进行处理。In the UM mode, the processing method of the receiving end (that is, the terminal device) is similar to the processing method of the receiving end (that is, the terminal device) in the AM mode, and the processing can be performed according to the above method 2.
520、终端设备根据所述需要第一个被头解压缩的数据包的PDCP序列号,对从第一网络设备接收到的数据包进行头解压缩处理。520. The terminal device performs header decompression processing on the data packet received from the first network device according to the PDCP sequence number of the first header decompressed data packet.
通过步骤510中所列举的任意一种方式,终端设备获知从第一网络设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号。此时,终端设备就可以从所述需要第一个被头解压缩的数据包的PDCP序列号开始,对从第一网络设备接收到的数据包进行 重排序,并按照重排序之后的顺序对从第一网络设备接收到的数据包进行头解压缩处理。Through any of the methods listed in step 510, the terminal device learns the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the first network device. At this time, the terminal device can reorder the data packets received from the first network device starting from the PDCP sequence number of the first data packet that needs to be decompressed by the header, and reorder the data packets in the order after the reordering. The data packet received from the first network device undergoes header decompression processing.
可选地,对应某一承载,终端设备对从第一网络设备接收到的数据包的头解压缩处理可以是在对应第一网络设备的PDCP层进行处理,也可以是共同的PDCP(common PDCP)层进行处理的(该common PDCP既对应第一网络设备,又对应第二网络设备),例如终端设备的用户面协议栈可以如上文的图4或图5。这里不对终端设备的用户面协议栈作限定。Optionally, corresponding to a certain bearer, the terminal device may decompress the header of the data packet received from the first network device at the PDCP layer corresponding to the first network device, or it may be common PDCP (common PDCP). ) Layer (the common PDCP corresponds to both the first network device and the second network device), for example, the user plane protocol stack of the terminal device may be as shown in Figure 4 or Figure 5 above. The user plane protocol stack of the terminal device is not limited here.
可选地,在下行数据传输的各实施例中,如果第二网络设备对数据包进行复制处理操作,所述需要第一个被头解压缩处理的数据包即为第二网络设备发送给第一网络设备的PDCP SDUs中第一个被执行复制处理的数据包(或者,即为第二网络设备发送给第一网络设备的PDCP SDUs中被执行复制处理的数据包所分别对应的PDCP SN的最小数值),或者,即为第二网络设备发送给第一网络设备的PDCP SDUs所分别对应的PDCP SN的最小数值。Optionally, in each embodiment of downlink data transmission, if the second network device performs a copy processing operation on the data packet, the first data packet that needs to be decompressed by the header is the second network device sent to the first data packet. The first data packet to be copied in the PDCP SDUs of a network device (or, it is the PDCP SN corresponding to the data packet that is copied in the PDCP SDUs sent by the second network device to the first network device) Minimum value), or, it is the minimum value of PDCP SN corresponding to the PDCP SDUs sent by the second network device to the first network device.
换句话说,终端设备需要获取来自第一网络设备的第一个DL duplication的数据包的PDCP序列号(或来自第一网络设备的DL duplication数据包所分别对应的PDCP SN的最小数值)。In other words, the terminal device needs to obtain the PDCP sequence number of the first DL duplication data packet from the first network device (or the minimum value of the PDCP SN corresponding to the DL duplication data packet from the first network device).
上行数据传输Uplink data transmission
610、第一网络设备获取从终端设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号。610. The first network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the terminal device.
和下行数据传输类似,第一网络设备有多种方式可以获取从终端设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号。下面列举几种作为示例。Similar to downlink data transmission, the first network device can obtain the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the terminal device. Here are a few examples.
方式1Way 1
第一网络设备从终端设备接收第二指示信息,第二指示信息用于指示终端设备发送的数据包中需要第一个被头解压缩处理的数据包的PDCP序列号。The first network device receives second indication information from the terminal device, where the second indication information is used to indicate the PDCP sequence number of the first data packet that needs header decompression processing among the data packets sent by the terminal device.
在一种实现方式中,终端设备向第一网络设备发送RRC重配置完成消息,RRC重配置完成消息中携带一个或多个第二指示信息。其中,每个第二指示信息用于指示该第二指示信息对应的承载的需要第一个被头解压缩的数据包的PDCP序列号。In an implementation manner, the terminal device sends an RRC reconfiguration complete message to the first network device, and the RRC reconfiguration complete message carries one or more second indication information. Wherein, each second indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header of the bearer corresponding to the second indication information.
这里,第二指示信息也是以无线承载为粒度的。因此,RRC重配置完成消息中可能携带一个或多个第二指示信息。不同的第二指示信息用于指示不同的承载上的需要第一个被头解压缩的数据包的PDCP序列号。Here, the second indication information is also based on radio bearer granularity. Therefore, the RRC reconfiguration complete message may carry one or more second indication information. The different second indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header on different bearers.
可选地,当RRC重配置完成消息中携带多个第二指示信息时,每个第二指示信息关联一个RB,表示该第二指示信息所指示的PDCP序列号是该RB的标识所对应的RB上的需要第一个被头解压缩的数据包的PDCP序列号。即,可选的,该RRC重配置完成消息中包含第二指示信息以及与该第二指示信息关联的RB ID。Optionally, when the RRC reconfiguration complete message carries multiple second indication information, each second indication information is associated with one RB, indicating that the PDCP sequence number indicated by the second indication information corresponds to the RB identity The PDCP sequence number of the first packet on the RB that needs to be decompressed by the header. That is, optionally, the RRC reconfiguration complete message includes the second indication information and the RB ID associated with the second indication information.
可选地,不同承载上的需要第一个被头解压缩的数据包的PDCP序列号可以相同,或者互不相同,或者部分承载的需要第一个被头解压缩的数据包的PDCP序列号相同,本申请对此不作限定。Optionally, the PDCP sequence numbers of the first data packet that needs to be decompressed by the header on different bearers may be the same or different from each other, or the PDCP sequence number of the first data packet that needs to be decompressed by the header on part of the bearers Similarly, this application does not limit this.
在另一种实现方式中,终端设备向第一网络设备发送PDCP状态报告,PDCP状态报告中携带第二指示信息。其中,PDCP状态报告是以承载为粒度发送的,因此,每个PDCP状态报告中携带的第二指示信息用于指示该PDCP状态报告对应的承载上的需要第一个 被头解压缩的数据包的PDCP序列号。或者,终端设备向第一网络设备发送RLC状态报告,该RLC状态报告中携带第二指示信息。In another implementation manner, the terminal device sends a PDCP status report to the first network device, and the PDCP status report carries the second indication information. Among them, the PDCP status report is sent with the granularity of the bearer. Therefore, the second indication information carried in each PDCP status report is used to indicate the first data packet on the bearer corresponding to the PDCP status report that needs to be decompressed by the header. The PDCP serial number. Alternatively, the terminal device sends an RLC status report to the first network device, and the RLC status report carries the second indication information.
再一种实现方式中,终端设备向第一网络设备发送PDCP控制PDU,PDCP控制PDU中携带第二指示信息。其中,PDCP控制PDU是以承载为粒度发送的,因此,每个PDCP控制PDU中携带的第二指示信息用于指示该PDCP控制PDU对应的承载上的需要第一个被头解压缩的数据包的PDCP序列号。In another implementation manner, the terminal device sends a PDCP control PDU to the first network device, and the PDCP control PDU carries the second indication information. Among them, the PDCP control PDU is sent with the granularity of the bearer. Therefore, the second indication information carried in each PDCP control PDU is used to indicate the first data packet on the bearer corresponding to the PDCP control PDU that needs to be decompressed by the header. The PDCP serial number.
方式2Way 2
第一网络设备从终端设备接收到预设的RLC序列号的数据包时,第一网络设备对该数据包进行解析,得到该数据包对应的PDCP序列号。该数据包对应的PDCP序列号即作为从终端设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号。When the first network device receives a data packet with a preset RLC sequence number from the terminal device, the first network device parses the data packet to obtain the PDCP sequence number corresponding to the data packet. The PDCP sequence number corresponding to the data packet is the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the terminal device.
也即,第一网络设备将从终端设备接收到的预设的RLC序列号的数据包的PDCP序列号确定为来自终端设备的需要第一个被第一网络设备进行头解压缩操作的数据包的PDCP序列号。或者说,第一网络设备将从终端设备接收到的预设的RLC序列号的数据包确定为需要第一个被头解压缩的数据包。That is, the first network device determines the PDCP sequence number of the data packet with the preset RLC sequence number received from the terminal device as the first data packet from the terminal device that needs to be decompressed by the first network device. The PDCP serial number. In other words, the first network device determines the data packet of the preset RLC sequence number received from the terminal device as the first data packet that needs to be decompressed by the header.
可选地,预设的RLC序列号可以由协议规定,或者由终端设备和网络约定,这里不作限定。Optionally, the preset RLC sequence number may be specified by a protocol, or agreed upon by the terminal device and the network, and is not limited here.
另外,上行数据传输中的预设的RLC序列号和上文介绍的下行数据传输中的预设的RLC序列号可以设置为相同,也可以设置为不同,本申请不作限定。In addition, the preset RLC sequence number in uplink data transmission and the preset RLC sequence number in downlink data transmission described above may be set to be the same or different, which is not limited in this application.
可选地,上行数据传输中的预设的RLC序列号为0。Optionally, the preset RLC sequence number in the uplink data transmission is 0.
通过上述任意一种方式,第一网络设备获取到从终端设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号。此时,第一网络设备可以从所述需要第一个被头解压缩的数据包开始,对从终端设备接收到的数据包进行头解压缩处理。Through any of the foregoing methods, the first network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the terminal device. At this time, the first network device may perform header decompression processing on the data packet received from the terminal device starting from the first data packet that needs to be decompressed by the header.
620、第一网络设备从所述需要第一个被头解压缩的数据包的PDCP序列号开始,对从终端设备接收到的数据包进行头解压缩处理。620. The first network device performs header decompression processing on the data packet received from the terminal device starting from the PDCP sequence number of the first data packet that needs to be decompressed by the header.
第一网络设备获取到需要第一个被头解压缩的数据包的PDCP序列号之后,根据第一网络设备是否具有重排序功能模块,第一网络设备对从终端设备接收到的数据包的头解压缩处理可以由多种具体的实现,下面分别进行说明。After the first network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header, according to whether the first network device has a reordering function module, the first network device checks the header of the data packet received from the terminal device. The decompression process can be implemented in a variety of specific implementations, which are described separately below.
情况1Situation 1
第一网络设备具有对数据包进行重排序的功能,或者说,第一网络设备具有对数据包进行重排序的功能模块。The first network device has a function of reordering data packets, in other words, the first network device has a function module for reordering data packets.
为了描述上的简洁,以下将对数据包进行重排序的功能模块称为重排序功能模块。For simplicity of description, the functional module that reorders data packets is referred to as a reordering functional module below.
在一种可能的实现方式中,第一网络设备和第二网络设备各自具有一个重排序功能模块(该重排序功能模块用于头解压缩前对数据包进行重排序)。第一网络设备和第二网络设备各自接收到的数据包是由各自的重排序功能模块负责重排序的。In a possible implementation manner, the first network device and the second network device each have a reordering function module (the reordering function module is used to reorder the data packets before header decompression). The data packets received by the first network device and the second network device are reordered by their respective reordering function modules.
参见图7,图7为第一网络设备和第二网络设备各自具有重排序功能模块的示意图。如图7所示,源基站和目标基站各自具有重排序、头解压缩的功能模块。其中,源基站的重排序功能模块如图7中所示的重排序(1),目标基站的重排序功能如图7中所示的重排序(2)。以上行数据传输作为示例,源基站和目标基站分别完成PDCP头移除(remove PDCP header)、解密(deciphering)、完整性验证(integrity verification),在接收缓存 (reception buffer)中完成重排序(reordering)/复制丢弃(duplicate discarding)、头解压缩(header decompression)等处理后,会在一个公共的重排序功能模块上对两条腿上的数据包进行重排序、重复包检测/丢弃处理。最后,再由重排序功能模块将数据包递交给上层。其中,这个公共的重排序功能模块如图7中所示的重排序(3)。Refer to FIG. 7, which is a schematic diagram of the first network device and the second network device each having a reordering function module. As shown in Figure 7, the source base station and the target base station each have functional modules for reordering and header decompression. Among them, the reordering function module of the source base station is shown in Figure 7 for reordering (1), and the reordering function of the target base station is shown in Figure 7 for reordering (2). The above line of data transmission is taken as an example. The source base station and the target base station respectively complete PDCP header removal (remove PDCP header), decryption (deciphering), integrity verification (integrity verification), and complete reordering in the reception buffer (reception buffer) After processing such as duplicate discarding and header decompression, the data packets on the two legs will be reordered on a common reordering function module, and repeated packet detection/drop processing will be performed. Finally, the reordering function module delivers the data packet to the upper layer. Among them, this common reordering function module is shown in Figure 7 for reordering (3).
需要说明的是,图7中所示的源基站和目标基站各自还具有复制丢弃功能,或者称为复制包丢弃功能。可选地,复制丢弃功能可以和重排序功能设计在一个功能模块上。例如,图7中所示的重排序(1)/复制丢弃,表示该功能模块既有重排序功能,又有复制丢弃功能。或者,源基站和目标基站不具有复制丢弃功能,例如,源基站的接收缓存里不具备重排序(1),目标基站的接收缓存里不具备重排序(2)。It should be noted that the source base station and the target base station shown in FIG. 7 each also have a copy discard function, or called a copy packet discard function. Optionally, the copy discard function and the reordering function can be designed on the same functional module. For example, the reordering (1)/copy discarding shown in FIG. 7 indicates that the functional module has both a reordering function and a copy discarding function. Or, the source base station and the target base station do not have a copy discard function, for example, the source base station's receive buffer does not have reordering (1), and the target base station's receive buffer does not have reordering (2).
这里,复制丢弃功能是指针对同一个PDCP SN检测复制数据包(也即,上文所述的duplication数据包),如果检测到两个具有相同PDCP SN的数据包则丢弃其中一个的功能。Here, the duplication discard function refers to the function of detecting duplicate data packets (that is, the above-mentioned duplication data packets) for the same PDCP SN, and discarding one of them if two data packets with the same PDCP SN are detected.
在一种可能的实现方式中,目标基站收到源基站发送的SN status transfer消息之前,所述公共的重排序/重复包丢弃功能模块(如图7中所示的重排序(3)/复制丢弃)可以位于源基站。目标基站收到源基站发送的SN status transfer消息之后,所述公共的重排序/重复包丢弃功能模块可以位于目标基站。In a possible implementation, before the target base station receives the SN status transfer message sent by the source base station, the common reordering/duplicate packet discarding function module (as shown in Figure 7 for reordering (3)/copy Discard) can be located at the source base station. After the target base station receives the SN status transfer message sent by the source base station, the common reordering/duplicate packet discarding function module may be located in the target base station.
在另一种可能的实现方式中,第一网络设备和第二网络设备共同使用一个重排序功能模块。其中,该共同的重排序功能模块可以设置在第一网络设备上。或者,该共同的重排序功能模块可以设置在第二网络设备上。In another possible implementation manner, the first network device and the second network device share a reordering function module. Wherein, the common reordering function module may be set on the first network device. Alternatively, the common reordering function module may be provided on the second network device.
在情况1中,无论是属于上述哪种具体的实现方式,第一网络设备从终端设备接收到数据包之后,可以通过设置在第一网络设备上的重排序功能模块,从所述需要第一个被头解压缩处理的数据包的PDCP序列号开始,对从终端设备接收到的PDCP序列号依次往后递增的数据包进行重排序。完成重排序之后,第一网络设备按照重排序之后的顺序,对这些数据包进行头解压缩。In case 1, no matter which specific implementation manner is described above, after the first network device receives the data packet from the terminal device, it can use the reordering function module set on the first network device to determine the first Beginning with the PDCP sequence numbers of the data packets processed by header decompression, the data packets with the PDCP sequence numbers received from the terminal device are reordered sequentially. After the reordering is completed, the first network device decompresses the headers of these data packets in the order after the reordering.
具体的,对应图7,第一网络设备从终端设备接收到RLC序列号为0的数据包后,从RLC序列号为0的数据包开始,对从终端设备接收到的数据包进行PDCP层的相应处理。Specifically, corresponding to Figure 7, after the first network device receives a data packet with an RLC sequence number of 0 from a terminal device, it starts with a data packet with an RLC sequence number of 0 and performs PDCP layer processing on the data packet received from the terminal device. Deal with it accordingly.
具体的,RLC传输模式包括非确认模式(Unacknowledged Mode,UM)、确认模式(Acknowledged Mode,AM)。相应的,RLC data PDU包括UMD(Unacknowledged Mode Data)PDU、AMD(Acknowledged Mode Data)PDU。Specifically, RLC transmission modes include Unacknowledged Mode (UM) and Acknowledged Mode (AM). Correspondingly, RLC data PDU includes UMD (Unacknowledged Mode Data) PDU and AMD (Acknowledged Mode Data) PDU.
AM下,由于AMD PDU header中携带RLC SN,所以,AM下,终端设备(即发送端)对数据包进行常规处理,第一网络设备(即接收端)按上述方法进行处理。Under AM, because the AMD PDU header carries RLC SN, under AM, the terminal device (that is, the sending end) performs regular processing on the data packet, and the first network device (that is, the receiving end) performs the processing according to the above method.
UM下,只有当RLC SDU分段时,UMD PDU header中携带RLC SN(An UMD PDU header contains the SN field only when the corresponding RLC SDU is segmented)。UM下,终端设备(即发送端)需要对发送给第一网络设备的RLC SN为0的数据包进行特殊处理,即,发送端的RLC层对于RLC SN为0的数据包,一定要采用携带RLC SN的数据包的格式对该数据包进行处理,例如,发送端的RLC层对于RLC SN为0的RLC SDU进行分段处理,生成的UMD PDU的格式为包括X bit SN的UMD PDU(如,X=6或12)。可选的,UMD PDU的具体格式例如可参照TS38.322-f50中6.2.2.3章节的描述(例如,图6.2.2.3-2、图6.2.2.3-3、图6.2.2.3-4、图6.2.2.3-5)。Under UM, only when the RLC SDU is segmented, the UMD PDU header contains RLC SN (An UMD PDU header contains the SN field only when the corresponding RLC SDU is segmented). Under UM, the terminal device (i.e. the sender) needs to perform special processing on the data packets with RLC SN 0 sent to the first network device. That is, the RLC layer at the sender must carry RLC for data packets with RLC SN 0. The format of the SN data packet processes the data packet. For example, the RLC layer of the sender performs segmentation processing on the RLC SDU whose RLC SN is 0, and the format of the generated UMD PDU is the UMD PDU including X bit SN (e.g., X = 6 or 12). Optionally, the specific format of UMD PDU can refer to the description in section 6.2.2.3 of TS38.322-f50 (for example, Figure 6.2.2.3-2, Figure 6.2.2.3-3, Figure 6.2.2.3-4, Figure 6.2 .2.3-5).
可选的,UM下,发送端对RLC SN非0的数据包,可以按上述方法进行特殊处理;或者,可以不进行特殊处理,即生成的UMD PDU的格式为包含完整的RLC SDU的UMD PDU。可选的,UMD PDU的具体格式可参照TS38.322-f50中6.2.2.3章节的描述(例如,图6.2.2.3-1)。Optionally, under UM, the sender can perform special processing for data packets whose RLC SN is not 0 according to the above method; or, there is no need to perform special processing, that is, the format of the generated UMD PDU is a UMD PDU containing a complete RLC SDU . Optionally, the specific format of UMD PDU can refer to the description in section 6.2.2.3 of TS38.322-f50 (for example, Figure 6.2.2.3-1).
UM下,接收端(即第一网络设备)的处理方法与AM下接收端(即第一网络设备)的处理方法类似,可以按上述方式2进行处理。Under UM, the processing method of the receiving end (ie, the first network device) is similar to the processing method of the receiving end (ie, the first network device) under AM, and the processing can be performed in the manner 2 above.
可以看出,在情况1中,第一网络设备可以独立完成对从终端设备接收到的数据包的重排序(即图7中的重排序(2)),并根据重排序之后的顺序对数据包进行头解压缩。It can be seen that in case 1, the first network device can independently reorder the data packets received from the terminal device (that is, reorder (2) in Figure 7), and reorder the data according to the order after reordering. The packet is header decompressed.
情况2Situation 2
第一网络设备不具有重排序功能模块。The first network device does not have a reordering function module.
在一种可能的实现方式中,第一网络设备和第二网络设备共同使用一个重排序功能模块,但是所述重排序功能模块设置在第二网络设备上。In a possible implementation manner, the first network device and the second network device share a reordering function module, but the reordering function module is provided on the second network device.
可以理解的是,在情况2中,由于第一网络设备不具有重排序功能模块,如图8所示,第一网络设备(即目标基站)在进行头解压缩功能前不具备重排序、复制丢弃功能。例如,和图7中相比,图8中所示的目标基站不具有重排序(2)的功能模块。因此,第一网络设备无法对从终端设备接收到的数据包进行重排序。因此,第一网络设备对数据包的头解压缩需要第二网络设备来辅助完成。或者,另一种方式,情况2中,第二网络设备不具有重排序功能模块,第二网络设备(即源基站)在进行头解压缩功能前不具备重排序、复制丢弃功能。例如,和图7中相比,源基站不具有重排序(1)的功能模块,目标基站具有重排序(2)的功能模块。因此,第二网络设备无法对从终端设备接收到的数据包进行重排序。因此,第二网络设备对数据包的头解压缩需要第一网络设备来辅助完成。It is understandable that in case 2, since the first network device does not have a reordering function module, as shown in FIG. 8, the first network device (ie, the target base station) does not have reordering and copying before performing the header decompression function. Discard function. For example, compared with FIG. 7, the target base station shown in FIG. 8 does not have the functional module of reordering (2). Therefore, the first network device cannot reorder the data packets received from the terminal device. Therefore, the first network device needs the second network device to assist in decompressing the header of the data packet. Or, in another way, in case 2, the second network device does not have a reordering function module, and the second network device (that is, the source base station) does not have the reordering and copy discarding functions before performing the header decompression function. For example, compared with FIG. 7, the source base station does not have the reordering (1) functional module, and the target base station has the reordering (2) functional module. Therefore, the second network device cannot reorder the data packets received from the terminal device. Therefore, the second network device needs the first network device to assist in decompressing the header of the data packet.
参见图8,图8为第一网络设备和第二网络设备共同使用一个重排序功能模块的示意图。作为一种示例,如图8所示,源基站上的重排序(3)作为源基站和目标基站公共的重排序功能模块,设置在源基站上。而目标基站不具有头解压缩后进行重排序的功能模块。或者,另一种方式,源基站和目标基站的头解压缩后的公共的重排序功能模块,设置在目标基站上。Refer to FIG. 8, which is a schematic diagram of the first network device and the second network device sharing a reordering function module. As an example, as shown in FIG. 8, the reordering (3) on the source base station is set on the source base station as a common reordering function module of the source base station and the target base station. The target base station does not have a functional module for reordering after header decompression. Or, in another way, a common reordering function module after decompressing the headers of the source base station and the target base station is set on the target base station.
继续以上行数据传输作为示例,对于源基站而言,源基站从UE接收到UL PDCP PDU后,移除PDCP头,然后,源基站使用源基站的密钥进行解密,完成完整性验证。之后,源基站分别对UE发送给源基站的以及UE发送给目标基站的数据包进行重排序,如图8中的重排序(1)功能模块进行该重排序操作。Continuing with the upstream data transmission as an example, for the source base station, after receiving the UL PDCP PDU from the UE, the source base station removes the PDCP header, and then the source base station uses the key of the source base station to decrypt and complete the integrity verification. After that, the source base station respectively reorders the data packets sent by the UE to the source base station and the data packets sent by the UE to the target base station. The reordering (1) function module in FIG. 8 performs the reordering operation.
需要说明的是,在上行数据传输中,如果终端设备对数据包执行duplication操作,源基站的重排序(1)功能模块将会接收到duplication数据包。所以和图3中所示的现有的PDCP层相区别的是,图3中接收PDCP实体(图3中右侧所示的PDCP实体)的具有复制丢弃功能,而图8中所示的源基站需要去使能重复丢弃(duplicte discarding)功能。It should be noted that in the uplink data transmission, if the terminal device performs a duplication operation on the data packet, the reordering (1) function module of the source base station will receive the duplication data packet. Therefore, the difference from the existing PDCP layer shown in Figure 3 is that the receiving PDCP entity (the PDCP entity shown on the right in Figure 3) in Figure 3 has a copy and discard function, while the source shown in Figure 8 The base station needs to disable the duplication discarding function.
源基站的重排序(1)功能模块对从UE接收到的数据包完成重排序后,再递交给源基站的头解压缩(header decompression)功能模块进行头解压缩。完成头解压缩之后,再由头解压缩模块将头解压缩之后的数据包递交给重排序(3)/复制丢弃功能模块执行重排序/重复包丢弃处理。完重排序、复制检测、复制丢弃之后,再将数据包递交给上层。Reordering of the source base station (1) The function module reorders the data packets received from the UE, and then submits it to the header decompression function module of the source base station for header decompression. After header decompression is completed, the header decompression module then submits the header decompressed data packet to the reordering (3)/copy and discarding function module to perform reordering/duplicate packet discard processing. After the reordering, copy detection, and copy discarding are completed, the data packet is delivered to the upper layer.
对于目标基站而言,目标基站从UE接收到UL PDCP PDU后,移除PDCP包头,然 后,使用目标基站的密钥进行解密,再进行完整性验证。由于头解压缩时必须保证数据包是按序的,而目标基站没有重排序功能模块。因此,目标基站对数据包的头解压缩处理包括如下方法1和方法2。For the target base station, after the target base station receives the UL PDCP PDU from the UE, it removes the PDCP header, then uses the key of the target base station for decryption and then performs integrity verification. Since the header must be decompressed to ensure that the data packets are in order, and the target base station does not have a reordering function module. Therefore, the target base station's decompression processing of the header of the data packet includes the following method 1 and method 2.
方法1:如图8中所示的路径1,目标基站将从终端设备接收到的数据包发送给源基站,由源基站的重排序功能模块(图8中所示的重排序(1))对这些数据包进行重排序。完成重排序之后,源基站需要记录由该重排序(1)进行重排序后的每个数据包分别来自哪个基站,然后将数据包传递给相应的基站进行进行头解压缩处理。Method 1: As shown in path 1 in Figure 8, the target base station sends the data packets received from the terminal device to the source base station, and the source base station's reordering function module (reordering (1) shown in Figure 8) Reorder these packets. After completing the reordering, the source base station needs to record which base station each data packet reordered by the reordering (1) comes from, and then transfer the data packet to the corresponding base station for header decompression processing.
方法2:如图8中所示的路径2,目标基站只将数据包的PDCP序列号发送给源基站,由源基站检查该PDCP序列号是否是按序的。如果PDCP序列号是按序的,则源基站指示目标基站可以对该PDCP序列号对应的数据包进行头解压缩。然后,目标基站根据源基站的指示,将该PDCP序列号对应的数据包递交给自身的头解压缩模块进行头解压缩。目标基站完成头解压缩之后,再将头解压缩之后的数据包递交给公共的重排序/复制丢弃功能模块进行重排序、复制包(也即,duplication数据包)丢弃处理。所述公共的重排序/复制丢弃功能模块对两条腿的数据包完成重排序、duplication数据包检测、丢弃后,再将数据包递交给上层。Method 2: As shown in path 2 in Figure 8, the target base station only sends the PDCP sequence number of the data packet to the source base station, and the source base station checks whether the PDCP sequence number is in sequence. If the PDCP sequence numbers are in sequence, the source base station instructs the target base station to decompress the header of the data packet corresponding to the PDCP sequence number. Then, the target base station submits the data packet corresponding to the PDCP sequence number to its own header decompression module for header decompression according to the instruction of the source base station. After the target base station completes header decompression, it then submits the header decompressed data packet to the public reordering/duplication discarding function module for reordering and duplication packet (ie, duplication data packet) discarding processing. The common reordering/duplication discarding function module completes reordering, duplication data packet detection, and discarding the data packets of the two legs, and then delivers the data packets to the upper layer.
这里,所述公共的重排序/复制丢弃功能模块如图8中所示的重排序(3)/复制丢弃功能模块。Here, the common reordering/copy discarding function module is the reordering (3)/copying discarding function module shown in FIG. 8.
应理解,图8中以所述公共的重排序/复制丢弃功能模块位于源基站作为示例。可选地,在另一种实现方式中,所述公共的重排序/复制丢弃功能模块也可以位于目标基站。这种情况下,网络侧对数据包的头解压缩和图8中所示是类似的,本领域技术人员根据重排序/复制丢弃功能模块位于源基站时对数据包的处理过程,也可以容易获知重排序/复制丢弃功能模块位于目标基站时对数据包的处理过程,这里适当省略,以免赘述。It should be understood that, in FIG. 8, the common reordering/duplication discarding function module is located in the source base station as an example. Optionally, in another implementation manner, the common reordering/duplication discarding functional module may also be located in the target base station. In this case, the network side decompressing the header of the data packet is similar to that shown in Figure 8. Those skilled in the art can also easily process the data packet according to the reordering/duplication discarding function module at the source base station. The process of processing data packets when the reordering/duplication discarding function module is known to be located at the target base station is appropriately omitted here to avoid repetition.
需要说明的是,图8中以重排序功能模块设置在源基站作为示例进行说明(即重排序(1)功能模块位于源基站)。例如,目标基站未收到源基站发送的SN status transfer消息。或者,重排序功能模块也可以设置在目标基站。例如,目标基站接收到源基站发送的SN status transfer消息。It should be noted that, in FIG. 8, the reordering function module is set in the source base station as an example for illustration (that is, the reordering (1) function module is located in the source base station). For example, the target base station did not receive the SN status transfer message sent by the source base station. Alternatively, the reordering function module can also be set in the target base station. For example, the target base station receives the SN status transfer message sent by the source base station.
可选地,第二网络设备可以通过多种方式辅助第一网络设备完成对数据包的头解压缩处理,下面列举几种方式作为示例。Optionally, the second network device may assist the first network device in completing the decompression processing of the header of the data packet in a variety of ways. Several methods are listed below as examples.
方式AWay A
第一网络设备获取到需要第一个被头解压缩的数据包的PDCP数据包之后,向第二网络设备发送第一消息,第一消息用于指示第一网络设备从终端设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号。After the first network device obtains the PDCP data packet that requires the first data packet decompressed by the header, it sends a first message to the second network device. The first message is used to indicate the data received by the first network device from the terminal device. The packet needs the PDCP sequence number of the first packet decompressed by the header.
第一网络设备通过第一消息向第二网络设备通知了需要第一个被第一网络设备进行头解压缩的数据包的PDCP序列号之后,第一网络设备将从终端设备接收到一个或多个数据包发送给第二网络设备。After the first network device informs the second network device of the PDCP sequence number of the first data packet whose header is decompressed by the first network device through the first message, the first network device will receive one or more Data packets are sent to the second network device.
从第二网络设备的角度,第二网络设备从第一网络设备接收到一个或多个数据包时,第二网络设备从所述第一消息指示的所述需要第一个被头解压缩的数据包的PDCP序列号开始,对从第一网络设备接收到的一个或多个数据包进行重排序,并将重排序之后的所述一个或多个数据包返回给第一网络设备进行头解压缩处理。From the perspective of the second network device, when the second network device receives one or more data packets from the first network device, the second network device needs the first one to be decompressed from the header indicated by the first message. Starting with the PDCP sequence number of the data packet, reorder one or more data packets received from the first network device, and return the one or more data packets after the reordering to the first network device for header decoding Compression processing.
可以看到,第二网络设备辅助第一网络设备对第一网络设备接收到的来自终端设备的数据包进行了重排序。之后,第一网络设备接收到第二网络设备返回的重排序之后的数据包,按照重排序之后的顺序,依次对数据包进行头解压缩处理。It can be seen that the second network device assists the first network device in reordering the data packets from the terminal device received by the first network device. After that, the first network device receives the reordered data packets returned by the second network device, and sequentially performs header decompression processing on the data packets in the order after the reordering.
方式BWay B
第一网络设备获取到需要第一个被头解压缩的数据包的PDCP数据包之后,向第二网络设备发送第一消息,第一消息用于指示第一网络设备从终端设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号。After the first network device obtains the PDCP data packet that requires the first data packet decompressed by the header, it sends a first message to the second network device. The first message is used to indicate the data received by the first network device from the terminal device. The packet needs the PDCP sequence number of the first packet decompressed by the header.
第二网络设备根据第一消息,可以获知第一网络设备从终端设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号。这和上述方式A是相同的。According to the first message, the second network device can learn the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received by the first network device from the terminal device. This is the same as Method A above.
当第一网络设备从终端设备接收到一个或多个数据包时,第一网络设备将接收到的一个或多个数据包所对应的PDCP序列号发送给第二网络设备。When the first network device receives one or more data packets from the terminal device, the first network device sends the PDCP sequence number corresponding to the received one or more data packets to the second network device.
第二网络设备接收到第一网络设备发送的一个或多个PDCP序列号之后,根据所述需要第一个被头解压缩的数据包的PDCP序列号,判断从第一网络设备接收到的一个或多个PDCP序列号对应的数据包是否可以被头解压缩,并向第一网络设备返回第二消息。After the second network device receives one or more PDCP sequence numbers sent by the first network device, it determines the one or more PDCP sequence numbers received from the first network device according to the PDCP sequence number of the first packet decompressed by the header. Or whether the data packets corresponding to the multiple PDCP sequence numbers can be decompressed by the header and return a second message to the first network device.
这里,第二消息用于指示第一网络设备是否可以对所述一个或多个PDCP序列号各自对应的数据包进行头解压缩。Here, the second message is used to indicate whether the first network device can decompress the header of each data packet corresponding to the one or more PDCP sequence numbers.
可选地,第一网络设备可以从终端设备每接收到一个数据包,就将该数据包的PDCP序列号发送给第二网络设备进行判断。这种情况下,第二网络设备从第一网络设备接收到第一个PDCP序列号时,如果所述第一个PDCP序列号和所述需要第一个被头解压缩的数据包相同,则第二网络设备向第一网络设备返回的第二消息指示允许对所述PDCP序列号对应的数据包头解压缩。Optionally, the first network device may send the PDCP sequence number of the data packet to the second network device for judgment every time it receives a data packet from the terminal device. In this case, when the second network device receives the first PDCP sequence number from the first network device, if the first PDCP sequence number is the same as the first packet that needs to be decompressed by the header, then The second message returned by the second network device to the first network device indicates that the data packet header corresponding to the PDCP sequence number is allowed to be decompressed.
之后,如果第二网络设备从第一网络设备接收到的PDCP序列号是从所述需要第一个被头解压缩的数据包的PDCP序列号往后依次递增的,则第二网络设备返回的第二消息指示允许第一网络设备对这些PDCP序列号对应的数据包进行头解压缩。相反,如果第二网络设备从第一网络设备接收到的PDCP序列号并不是从所述需要第一个被头解压缩的数据包的PDCP序列号依次递增的,说明第一网络设备从终端设备接收到的数据包的PDCP序列号或第二网络设备向第一网络设备指示的PDCP序列号是乱序的,因此,第二网络设备针对出现乱序的PDCP序列号返回的第二消息指示不允许第一网络设备对其进行头解压缩。After that, if the PDCP sequence number received by the second network device from the first network device is sequentially increasing from the PDCP sequence number of the first packet that needs to be decompressed by the header, the second network device returns The second message indicates that the first network device is allowed to decompress the header of the data packets corresponding to the PDCP sequence numbers. On the contrary, if the PDCP sequence number received by the second network device from the first network device does not increase sequentially from the PDCP sequence number of the first packet that needs to be decompressed by the header, it means that the first network device is from the terminal device. The PDCP sequence number of the received data packet or the PDCP sequence number indicated by the second network device to the first network device is out of sequence. Therefore, the second message returned by the second network device for the out-of-sequence PDCP sequence number indicates not Allow the first network device to decompress the header.
假设第二网络设备根据第一消息获知第一个需要被第一网络设备进行头解压缩的数据包的PDCP SN=3,下面进行举例说明。Assuming that the second network device learns, according to the first message, the PDCP SN=3 of the first data packet that needs to be decompressed by the first network device, an example is given below.
第二网络设备从第一网络设备接收到的第一个PDCP SN=3,第二网络设备向第一网络设备返回ACK,表示可以对PDCP SN=3对应的数据包进行头解压缩。The first PDCP SN=3 received by the second network device from the first network device, and the second network device returns an ACK to the first network device, indicating that the header can be decompressed for the data packet corresponding to PDCP SN=3.
之后,如果第二网络设备从第一网络设备接收到的第二个PDCP SN=4,第二网络设备向第一网络设备返回ACK,表示允许对PDCP SN=4对应的数据包进行头解压缩。After that, if the second PDCP SN=4 received by the second network device from the first network device, the second network device returns an ACK to the first network device, indicating that header decompression of the packet corresponding to PDCP SN=4 is allowed .
相反,如果第二网络设备从第一网络设备接收到的第二个PDCP SN=6,第二网络设备向第一网络设备返回NACK,表示不允许对PDCP SN=6的数据包进行头解压缩。On the contrary, if the second network device receives the second PDCP SN=6 from the first network device, the second network device returns a NACK to the first network device, indicating that it is not allowed to decompress the packet with PDCP SN=6. .
应理解,这里的PDCP SN=6仅是作为示例进行说明,即如果第二网络设备从第一网络设备接收到的PDCP SN不是从所述需要第一个被头解压缩的数据包的PDCP SN依次递 增的,则说明第一网络设备从终端设备接收到的数据包是乱序的,需要进行重排序之后再进行头解压缩,否则就会头解压缩出错。It should be understood that the PDCP SN=6 here is only used as an example for description, that is, if the PDCP SN received by the second network device from the first network device is not from the PDCP SN that requires the first packet to be decompressed by the header. Increasing sequentially, it means that the data packets received by the first network device from the terminal device are out of order, and header decompression needs to be performed after reordering, otherwise header decompression errors will occur.
可选地,第一网络设备也可以是接收到多个数据包之后,按照接收顺序将这多个数据包的PDCP序列号发送给第二网络设备。第二网络设备根据所述需要第一个被头解压缩的数据包的PDCP序列号,判定从第一网络设备接收到的多个PDCP序列号各自对应的数据包是否可以被头解压缩。Optionally, the first network device may also send the PDCP sequence numbers of the multiple data packets to the second network device according to the receiving order after receiving multiple data packets. The second network device determines whether the data packets corresponding to the multiple PDCP sequence numbers received from the first network device can be decompressed by the header according to the PDCP sequence number of the first data packet that needs to be decompressed by the header.
继续假设第二网络设备根据第一消息获知第一个需要被头解压缩的数据包的PDCP SN=3,下面进行举例说明。Continue to assume that the second network device learns the PDCPSN=3 of the first data packet that needs to be decompressed by the header according to the first message, and an example is described below.
第二网络设备从第一网络设备接收到多个PDCP序列号,所述多个PDCP序列号依次为PDCP SN=3,PDCP SN=5,PDCP SN=4,PDCP SN=6。第二网络设备根据所述需要第一个被头解压缩的数据包的PDCP SN=3进行判断,PDCP SN=3,5,4,6并不是依次递增的,也即,第一网络设备从终端设备接收到的数据包的PDCP序列号是乱序的。因此,第二网络设备向第一网络设备返回NACK,表示不允许第一网络设备对所述PDCP SN=3,5,4,6各自对应的数据包进行头解压缩。The second network device receives multiple PDCP sequence numbers from the first network device, and the multiple PDCP sequence numbers are PDCPSN=3, PDCPSN=5, PDCPSN=4, PDCPSN=6. The second network device judges according to the PDCP SN=3 of the first data packet that needs to be decompressed by the header. PDCP SN=3, 5, 4, and 6 are not incrementally increased, that is, the first network device The PDCP sequence numbers of the data packets received by the terminal device are out of order. Therefore, the second network device returns a NACK to the first network device, which means that the first network device is not allowed to decompress the header of each data packet corresponding to the PDCP SN=3, 5, 4, and 6.
在一种实现方式中,第二网络设备可以在返回NACK的同时向第一网络设备返回重排序后的PDCP序列号,以指示第一网络设备按照所指示的重排序后的PDCP序列号的顺序,对这些PDCP序列号各自对应的数据包进行头解压缩。In an implementation manner, the second network device may return the reordered PDCP sequence numbers to the first network device while returning NACK, so as to instruct the first network device to follow the indicated reordered PDCP sequence numbers. , Decompress the header of the data packets corresponding to these PDCP sequence numbers.
例如,第二网络设备向第一网络设备返回3,4,5,6。第一网络设备根据第二网络设备的返回的PDCP SN的顺序,分别对PDCP SN=3,5,4,6的数据包进行头解压缩。For example, the second network device returns 3, 4, 5, and 6 to the first network device. The first network device respectively decompresses the header of the data packet with PDCP SN=3, 5, 4, and 6 according to the sequence of the PDCP SN returned by the second network device.
在另一种实现方式中,第二网络设备可以通过多个比特对从第一网络设备接收到的多个PDCP序列号对应的数据包是否可以被头解压缩分别进行指示。In another implementation manner, the second network device may use multiple bits to respectively indicate whether the data packets corresponding to the multiple PDCP sequence numbers received from the first network device can be decompressed by the header.
例如,第二网络设备向第一网络设备返回1000,表示第一网络设备发送给第二网络设备的第一个PDCP序列号对应的数据包允许第一网络设备进行头解压缩,后面的3个PDCP序列号各自对应的数据包不允许第一网络设备进行头解压缩。For example, the second network device returns 1000 to the first network device, indicating that the data packet corresponding to the first PDCP sequence number sent by the first network device to the second network device allows the first network device to decompress the header, and the next three The data packets corresponding to the respective PDCP sequence numbers do not allow the first network device to perform header decompression.
可以看到,方式A中,第一网络设备从终端设备接收到数据包之后,将接收到的数据包发送给第二网络设备进行重排序。而在方式B中,第一网络设备从终端设备接收到数据包之后,将接收到的数据包的PDCP序列号发送给第二网络设备,由第二网络设备根据第一消息中指示的需要第一个被头解压缩的数据包的PDCP序列号,判断是否允许第一网络设备对这些PDCP序列号对应的数据包进行头解压缩,进而通过第二消息指示第一网络设备。It can be seen that in method A, after receiving the data packet from the terminal device, the first network device sends the received data packet to the second network device for reordering. In method B, after receiving the data packet from the terminal device, the first network device sends the PDCP sequence number of the received data packet to the second network device, and the second network device transmits the first network device according to the requirements indicated in the first message. The PDCP sequence number of a data packet decompressed by the header determines whether the first network device is allowed to decompress the data packet corresponding to the PDCP sequence number, and then the first network device is instructed through a second message.
应理解,方式A和方式B中,源基站辅助目标基站对从终端设备接收到的数据包进行头解压缩的过程,可以分别参见图8中对路径1和路径2的说明。It should be understood that, in the method A and the method B, the process of the source base station assisting the target base station to decompress the header of the data packet received from the terminal device can be referred to the description of path 1 and path 2 in FIG. 8 respectively.
在上述方式A和方式B中,第一网络设备获取到需要被第一网络设备进行第一个头解压缩的数据包的PDCP序列号之后,通过第一消息向第二网络设备指示所述需要被第一个头解压缩的数据包的PDCP序列号。然后,当第一网络设备从终端设备接收到数据包时,第一网络设备按照从终端设备接收到的数据包的顺序,将接收到的数据包或者接收到的数据包的PDCP序列号发送给第二网络设备。In the foregoing manner A and manner B, after the first network device obtains the PDCP sequence number of the data packet that needs to be decompressed by the first network device for the first header, it indicates the need to the second network device through the first message The PDCP sequence number of the packet decompressed by the first header. Then, when the first network device receives the data packet from the terminal device, the first network device sends the received data packet or the PDCP sequence number of the received data packet to the order of the data packets received from the terminal device The second network device.
下面再介绍第二网络设备辅助第一网络设备对从终端设备接收到的数据包进行头解压缩的其它方式,如下面的方式C和方式D。The following introduces other ways in which the second network device assists the first network device in decompressing the header of the data packet received from the terminal device, such as the following way C and way D.
方式CWay C
第一网络设备获取需要第一个被头解压缩的数据包的PDCP数据包,该PDCP数据包的PDCP序列号为第一PDCP序列号。The first network device obtains a PDCP data packet that requires the first header decompressed data packet, and the PDCP sequence number of the PDCP data packet is the first PDCP sequence number.
第一网络设备从终端设备接收数据包,当第一网络设备从终端设备接收到所述第一PDCP序列号对应的数据包时,第一网络设备首先将所述第一PDCP序列号对应的数据包发送给第二网络设备,然后再向第二网络设备发送从终端设备接收到的其它数据包。The first network device receives the data packet from the terminal device. When the first network device receives the data packet corresponding to the first PDCP serial number from the terminal device, the first network device first transfers the data corresponding to the first PDCP serial number The packet is sent to the second network device, and then other data packets received from the terminal device are sent to the second network device.
换句话说,在方式C中,第一网络设备发送给第二网络设备的第一个数据包默认即是所述需要被第一个头解压缩的数据包。相当于,第一网络设备通过隐式的方式通知了第二网络设备所述第一网络设备从终端设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号,而不再需要通过其它额外的消息(例如,第一消息)进行通知。In other words, in method C, the first data packet sent by the first network device to the second network device is by default the data packet that needs to be decompressed by the first header. It is equivalent to that, the first network device implicitly informs the second network device of the data packet received by the first network device from the terminal device that the PDCP sequence number of the first packet decompressed by the header is required, and It is no longer necessary to notify through other additional messages (for example, the first message).
在方式C中,从第二网络设备的角度来说,第二网络设备从第一网络设备接收到的第一个数据包的PDCP序列号(以下称作第一PDCP序列号)即为所述第一网络设备从终端设备接收到的数据包中第一个需要被头解压缩的数据包。In method C, from the perspective of the second network device, the PDCP sequence number of the first packet received by the second network device from the first network device (hereinafter referred to as the first PDCP sequence number) is the The first data packet that needs to be decompressed by the header among the data packets received by the first network device from the terminal device.
或者说,第二网络设备将从第一网络设备接收到的第一个数据包的PDCP序列号作为对从第一网络设备接收到的数据包进行重排序的参考。第二网络设备从第一PDCP序列开始,对从第一网络设备接收到的数据包进行重排序。In other words, the second network device uses the PDCP sequence number of the first data packet received from the first network device as a reference for reordering the data packets received from the first network device. Starting from the first PDCP sequence, the second network device reorders the data packets received from the first network device.
方式DWay D
第一网络设备获取到需要第一个被头解压缩的数据包的PDCP数据包。The first network device obtains the PDCP data packet that needs the first data packet decompressed by the header.
当第一网络设备从终端设备接收到所述需要被第一个头解压缩的数据包时,第一网络设备首先将所述需要被第一个头解压缩的数据包的PDCP序列号发送给第二网络设备,然后再向第二网络设备发送从终端设备接收到的其它数据包的PDCP序列号。When the first network device receives the data packet that needs to be decompressed by the first header from the terminal device, the first network device first sends the PDCP sequence number of the data packet that needs to be decompressed by the first header to The second network device then sends the PDCP sequence numbers of other data packets received from the terminal device to the second network device.
和方式C类似,在方式D中,第一网络设备发送给第二网络设备的第一个PDCP序列号默认即是所述需要被第一个头解压缩的数据包的PDCP序列号。换句话说,第一网络设备通过隐式的方式通知了第二网络设备所述第一网络设备从终端设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号,也不再需要通过其它额外的消息(例如,第一消息)进行通知。Similar to method C, in method D, the first PDCP sequence number sent by the first network device to the second network device is the PDCP sequence number of the data packet that needs to be decompressed by the first header by default. In other words, the first network device implicitly informs the second network device of the PDCP sequence number of the first packet decompressed by the header among the data packets received by the first network device from the terminal device. It is also no longer necessary to notify through other additional messages (for example, the first message).
可见,和上述方式A或方式B相比,方式C和方式D可以节省第一网络设备和第二网络设备之间的信令交互,节省信令开销。It can be seen that, compared with the above method A or the method B, the method C and the method D can save the signaling interaction between the first network device and the second network device, and save the signaling overhead.
类似地,在上行数据传输的各实施例中,如果终端设备对发送给网络设备的数据包进行复制处理操作,第一网络设备从终端设备接收到数据包中需要第一个被头解压缩处理的数据包也可以为终端设备发送给第一网络设备的数据包中第一个被执行复制处理的数据包(或者,即为终端设备发送给网络设备的被执行复制处理的数据包所分别对应的PDCP SN的最小数值),或者,即为终端设备发送给第一网络设备的PDCP SDUs所分别对应的PDCP SN的最小数值。Similarly, in each embodiment of uplink data transmission, if a terminal device performs a copy processing operation on a data packet sent to a network device, the first network device needs to decompress the first data packet received from the terminal device. The data packet may also be the first data packet that is subjected to copy processing among the data packets sent by the terminal device to the first network device (or, that is, the data packet that is sent to the network device by the terminal device corresponds to the data packet that is subjected to copy processing. The minimum value of PDCP SN), or the minimum value of PDCP SN corresponding to the PDCP SDUs sent by the terminal device to the first network device.
可替换地,本申请各方法实施例中,所述需要第一个被头解压缩的数据包,也可以替换为第一个需要进行头解压缩的数据包。也即,所述需要第一个被头解压缩的数据包的PDCP序列号,也可以替换为第一个需要进行头解压缩的数据包的PDCP序列号。Alternatively, in the method embodiments of the present application, the first data packet that needs to be decompressed by the header can also be replaced with the first data packet that needs to be decompressed by the header. That is, the PDCP sequence number of the first data packet that needs to be decompressed by the header can also be replaced with the PDCP sequence number of the first data packet that needs to be decompressed by the header.
可选地,如果发送端对数据包进行复制(duplication)操作,接收端需要获取发送的数据包中第一个被执行复制处理的数据包的PDCP序列号。Optionally, if the sending end performs a duplication operation on the data packet, the receiving end needs to obtain the PDCP sequence number of the first data packet that is subjected to the duplication process among the sent data packets.
以上实施例中,以数据包的发送端对数据包执行复制处理操作作为示例进行说明。在另一种可能的实现方式中,上行数据传输或者下行数据传输中,发送端也可以不对数据包执行复制处理操作。In the above embodiment, the description is made by taking the sending end of the data packet performing the copy processing operation on the data packet as an example. In another possible implementation manner, in uplink data transmission or downlink data transmission, the sender may not perform a copy processing operation on the data packet.
在上行数据传输中,如果不对数据包作复制处理操作,也即,UE在向目标基站发送RRC重配置消息之前,只向源基站发送UL数据。UE在发送RRC重配置完成消息之后,只向目标基站发送UL数据。由于UE发送给源基站的数据包可能有一些没有被成功接收,因此UE需要向目标基站重传这些数据包,从而也可能导致目标基站从UE接收到的数据包是乱序的,从而目标基站头解压缩数据包时可能也会出现PDCP序列号乱序的现象,导致目标基站的头解压缩出错。In the uplink data transmission, if the data packet is not copied, that is, the UE only sends UL data to the source base station before sending the RRC reconfiguration message to the target base station. After sending the RRC reconfiguration complete message, the UE only sends UL data to the target base station. Since some of the data packets sent by the UE to the source base station may not be successfully received, the UE needs to retransmit these data packets to the target base station, which may also cause the target base station to receive the data packets from the UE out of order, and the target base station When the header decompresses the data packet, the PDCP sequence number may also appear out of order, which causes the header decompression error of the target base station.
例如,UE向源基站发送PDCP SN为2,3,4的数据包,但是源基站仅成功接收到PDCP SN为2,4的数据包。其中,PDCP SN为3的数据包发送失败。此时,UE可能已经向目标基站发送了PDCP SN为5的数据包,然后UE才发现PDCP SN为3的数据包发送失败。如果此时UE使用目标基站的头压缩(如ROHC)上下文对PDCP SN为3的数据包进行头压缩,并重传给目标基站。由于目标基站先接收到PDCP SN为5的数据包,再接收到PDCP SN为3的数据包。如果目标基站按照接收到的数据包的顺序,首先对PDCP SN为5的数据包进行头解压缩,则头解压缩出错。For example, the UE sends data packets with PDCP SN 2, 3, 4 to the source base station, but the source base station only successfully receives data packets with PDCP SN 2, 4. Among them, the data packet with PDCP SN of 3 failed to be sent. At this time, the UE may have sent a data packet with a PDCP SN of 5 to the target base station, and then the UE finds that the data packet with a PDCP SN of 3 failed to be sent. If at this time, the UE uses the header compression (such as ROHC) context of the target base station to perform header compression on the data packet whose PDCP SN is 3, and retransmit to the target base station. Because the target base station first receives the data packet with PDCP SN of 5, and then receives the data packet with PDCP SN of 3. If the target base station first decompresses the header of the data packet whose PDCP SN is 5 according to the order of the received data packets, the header decompression error occurs.
为此,本申请针对这种不对数据包执行复制处理操作的情况,也提出解决的方案,对于上下行数据传输都是适用的。下面以上行数据传输作为示例进行说明。For this reason, this application also proposes a solution for the situation where the copy processing operation is not performed on the data packet, which is applicable to both uplink and downlink data transmission. The following is an example of the above data transmission.
在一种实现方式中,UE向源基站发送数据包之后,需要从源基站接收到对应所有发送给源基站的数据包的反馈之后,再向目标基站发送数据包。In an implementation manner, after the UE sends a data packet to the source base station, it needs to receive feedback from the source base station corresponding to all the data packets sent to the source base station, and then send the data packet to the target base station.
例如,在上面这个示例中,UE向源基站发送PDCP SN为2,3,4的数据包,从源基站接收到针对全部数据包的反馈之后,确定PDCP SN为3的数据包发送失败。此时,UE使用目标基站的ROHC上下文对PDCP SN为3的数据包进行压缩。从而,UE向目标基站发送的第一个数据包是PDCP SN为3的数据包。UE向目标基站发送PDCP SN为3的数据包之后,再向目标基站发送PDCP SN为5的数据包。这样,PDCP SN为3的数据包将是目标基站第一个接收到并第一个被头解压缩的数据包,可以避免头解压缩出错。For example, in the above example, the UE sends data packets with PDCP SN 2, 3, 4 to the source base station, and after receiving feedback for all data packets from the source base station, it is determined that the data packet with PDCP SN 3 fails to be sent. At this time, the UE uses the ROHC context of the target base station to compress the data packet whose PDCP SN is 3. Therefore, the first data packet sent by the UE to the target base station is a data packet whose PDCP SN is 3. After the UE sends a data packet with a PDCP SN of 3 to the target base station, it then sends a data packet with a PDCP SN of 5 to the target base station. In this way, the data packet whose PDCP SN is 3 will be the first data packet received by the target base station and decompressed by the header, which can avoid header decompression errors.
可选的,在另一种实现方式中,UE可以向目标基站指示需要第一个进行头解压缩的数据包的PDCP序列号。Optionally, in another implementation manner, the UE may indicate to the target base station the PDCP sequence number of the first data packet that requires header decompression.
例如,在上面的这个示例中,UE向目标基站指示的PDCP SN为3。For example, in the example above, the PDCP SN indicated by the UE to the target base station is 3.
在再一种可能的实现方式中,UE向目标基站发送需要第一个被头解压缩的数据包之后,向目标基站发送指示信息,如该指示信息为结束标识(end marker)。其中,该指示信息(如结束标识)用于指示目标基站开始对接收到的PDCP PDU进行头解压缩。In another possible implementation manner, after the UE sends to the target base station the first data packet that needs to be decompressed by the header, it sends indication information to the target base station, for example, the indication information is an end marker. Wherein, the indication information (such as the end identifier) is used to instruct the target base station to start decompressing the received PDCP PDU header.
需要说明的是,对于上述示例中的PDCP SN为4的数据包,UE可以使用目标基站的ROHC上下文对其进行头压缩,然后,UE将其发送给目标基站。也即,即使源基站成功接收到PDCP SN为4的数据包,UE可以再向目标基站发送PDCP SN为4的数据包。目标基站对PDCP SN为4的数据包进行解密、头解压缩等处理。It should be noted that, for the data packet whose PDCP SN is 4 in the above example, the UE can use the ROHC context of the target base station to perform header compression, and then the UE sends it to the target base station. That is, even if the source base station successfully receives a data packet with a PDCP SN of 4, the UE may send a data packet with a PDCP SN of 4 to the target base station. The target base station decrypts and decompresses the header of the data packet whose PDCP SN is 4.
或者,在一种实现方式中,源基站将成功接收到的PDCP SN为4的数据包(PDCP PDU)使用源基站的密钥解密、源基站的ROHC上下文进行头解压缩后,将该PDCP SN为4的数据包的PDCP SDU转发给目标基站。Or, in an implementation manner, the source base station decrypts the successfully received data packet (PDCP PDU) with a PDCP SN of 4 using the key of the source base station and decompresses the header of the ROHC context of the source base station, and then the PDCP SN The PDCP SDU of the data packet of 4 is forwarded to the target base station.
以上对本申请提供的处理数据包的方法作了详细说明。The method for processing data packets provided by this application is described in detail above.
可以理解的是,以上处理数据包的方法中,由终端设备实现的步骤,也可以由可以用于终端设备的部件(例如芯片或者电路)实现,由网络设备实现的步骤,也可以由可以用于网络设备的部件(例如芯片或者电路)实现,本申请实施例对此不做限定。It is understandable that, in the above method for processing data packets, the steps implemented by the terminal device can also be implemented by components (such as chips or circuits) that can be used in the terminal device, and the steps implemented by the network device can also be implemented by For the implementation of components (such as chips or circuits) of the network device, the embodiment of the present application does not limit this.
在本申请的技术方案中,接收端通过向接收端指示需要第一个被头解压缩的数据包的PDCP序列号,或者通过预设需要第一个被头解压缩的数据包的PDCP序列号,可以避免接收端在数据包乱序的情况下对数据包进行头解压缩处理而导致头解压缩出错,从而可以降低头解压缩出错率。In the technical solution of the present application, the receiving end indicates to the receiving end the PDCP sequence number of the first packet decompressed by the header, or presets the PDCP sequence number of the first packet decompressed by the header. , Can avoid the header decompression processing on the data packet by the receiving end when the data packet is out of order, resulting in header decompression error, thereby reducing the header decompression error rate.
可以理解的是,上述处理数据包的方法不仅适用于eMBB场景,对于类似的在头解压缩时可能出现乱序的场景均可适用。例如,在传统切换中,UE给源基站发送PDCP SN为10-20的上行数据包,源基站成功收到PDCP SN为10-15的数据包,源基站给目标基站发送的SN STATUS TRANSFER消息中指示的第一个丢失的上行数据包的PDCP SN为16,但是源基站未给UE发送状态报告或者UE未接收到源基站发送的状态报告,UE给目标基站发送PDCP SN为10-20的上行数据包,目标基站第一个接收到的数据包为PDCP SN为16的数据包,目标基站认为PDCP SN为16的数据包是第一个需要头解压缩的数据包,则目标基站进行头解压缩的第一个包是PDCP SN为16的数据包,这时头解压缩失败,此时也可以利用上述处理数据包的方法解决头解压缩失败的问题。It is understandable that the foregoing method for processing data packets is not only applicable to eMBB scenarios, but also applicable to similar scenarios where disorder may occur during header decompression. For example, in a traditional handover, the UE sends an uplink data packet with a PDCP SN of 10-20 to the source base station, the source base station successfully receives a data packet with a PDCP SN of 10-15, and the source base station sends an SN STATUS TRANSFER message to the target base station. The indicated PDCP SN of the first missing uplink data packet is 16, but the source base station does not send a status report to the UE or the UE does not receive the status report sent by the source base station, the UE sends an uplink with a PDCP SN of 10-20 to the target base station Data packet, the first data packet received by the target base station is a data packet with PDCP SN of 16, and the target base station considers that the data packet with PDCP SN of 16 is the first data packet that requires header decompression, and the target base station performs header decompression The first compressed packet is a data packet with a PDCP SN of 16. At this time, the header decompression fails. At this time, the above method of processing the data packet can also be used to solve the problem of header decompression failure.
下面介绍本申请提供的处理数据包的装置。The following describes the device for processing data packets provided by this application.
参见图9,图9为本申请提供的通信装置500的示意图。通信装置500包括通信单元510和处理单元520。Refer to FIG. 9, which is a schematic diagram of a communication device 500 provided by this application. The communication device 500 includes a communication unit 510 and a processing unit 520.
通信单元510,用于获取从第一网络设备接收到的数据包中需要第一个被头解压缩的数据包的分组数据汇聚协议PDCP序列号;The communication unit 510 is configured to obtain the packet data convergence protocol PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the first network device;
处理单元520,用于根据所述需要第一个被头解压缩的数据包的PDCP序列号,对从所述第一网络设备接收到的数据包进行头解压缩处理。The processing unit 520 is configured to perform header decompression processing on the data packet received from the first network device according to the PDCP sequence number of the first header decompressed data packet.
可选地,通信单元510也可以由接收单元和/或发送单元代替。Optionally, the communication unit 510 may also be replaced by a receiving unit and/or a sending unit.
例如,通信单元510在执行接收的步骤时,可以由接收单元代替。通信单元510在执行发送的步骤时,可以由发送单元代替。或者,通信单元510也可以是接口电路。For example, the communication unit 510 may be replaced by a receiving unit when performing the receiving step. The communication unit 510 may be replaced by a sending unit when performing the steps of sending. Alternatively, the communication unit 510 may also be an interface circuit.
可选的,通信装置500中还可以包括存储单元,用于存储代码或者数据,处理单元520可以调用存储单元中的代码或者数据,使得该通信装置实现相应的功能或者步骤。Optionally, the communication device 500 may further include a storage unit for storing code or data, and the processing unit 520 may call the code or data in the storage unit to enable the communication device to implement corresponding functions or steps.
在一种实现方式中,通信装置500可以和方法实施例中的终端设备完全对应,或者说,通信装置500为终端设备。In an implementation manner, the communication device 500 may completely correspond to the terminal device in the method embodiment, or in other words, the communication device 500 is a terminal device.
可选的,图9中所示的通信单元510可以为收发器。收发器具有发送和/或接收的功能。收发器也可以由接收器和/或发射器代替。可以理解的是,通信单元510也可以是收发电路或者接口电路。Optionally, the communication unit 510 shown in FIG. 9 may be a transceiver. The transceiver has the function of sending and/or receiving. The transceiver can also be replaced by a receiver and/or transmitter. It can be understood that the communication unit 510 may also be a transceiver circuit or an interface circuit.
在下行数据传输中,通信装置500的各单元所执行的步骤和/或处理如下所述。In downlink data transmission, the steps and/or processing performed by each unit of the communication device 500 are as follows.
例如,通信单元510从第二网络设备接收第一指示信息,第一指示信息用于指示所述需要第一个被头解压缩的数据包的PDCP序列号。For example, the communication unit 510 receives first indication information from the second network device, where the first indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header.
又例如,通信单元510从所述第二网络设备接收无线资源控制RRC重配置消息,所述RRC重配置消息中携带一个或多个所述第一指示信息,其中,每个第一指示信息用于 指示所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号。或者,For another example, the communication unit 510 receives a radio resource control RRC reconfiguration message from the second network device, where the RRC reconfiguration message carries one or more of the first indication information, where each first indication information is used It indicates the PDCP sequence number of the first packet that needs to be decompressed by the header of the corresponding bearer. or,
通信单元510从第二网络设备接收PDCP控制协议数据单元PDU,所述PDCP控制PDU中携带所述第一指示信息,其中,所述第一指示信息用于指示所述PDCP控制PDU所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号。The communication unit 510 receives the PDCP control protocol data unit PDU from the second network device, the PDCP control PDU carries the first indication information, where the first indication information is used to indicate the bearer corresponding to the PDCP control PDU The PDCP sequence number of the first packet that needs to be decompressed by the header.
可选地,处理单元520可以为处理器。处理器用于执行各方法实施例中对应于终端设备实现的步骤或处理。Optionally, the processing unit 520 may be a processor. The processor is configured to execute steps or processing corresponding to the terminal device implementation in each method embodiment.
例如,处理单元520对通信单元510从第一网络设备接收到数据包进行解析,当确定通信单元510接收到预设的无线链路控制RLC序列号的数据包时,处理单元520对所述预设的RLC序列号的数据包进行解析,获得所述需要第一个被头解压缩的数据包的PDCP序列号。For example, the processing unit 520 parses the data packet received by the communication unit 510 from the first network device, and when it is determined that the communication unit 510 receives a data packet with a preset radio link control RLC sequence number, the processing unit 520 performs analysis on the pre- It is assumed that the data packet of the RLC sequence number is analyzed to obtain the PDCP sequence number of the first data packet that needs to be decompressed by the header.
又例如,处理单元520对从第一网络设备接收到的数据包从所述需要第一个被头解压缩的数据包的PDCP序列号对应的数据包开始,对从第一网络设备接收到的数据包进行重排序,并按照重排序之后的顺序对所述从第一网络设备接收到的数据包进行头解压缩。For another example, the processing unit 520 starts from the data packet corresponding to the PDCP sequence number of the first data packet that needs to be decompressed by the header for the data packet received from the first network device, and for the data packet received from the first network device The data packets are reordered, and the header of the data packets received from the first network device is decompressed according to the order after the reordering.
在另一种实现方式中,通信装置500可以为芯片或者集成电路。In another implementation manner, the communication device 500 may be a chip or an integrated circuit.
可选的,图9中所示的通信单元510可以为通信接口。可选地,通信接口可以为输入输出接口或者收发电路。处理单元520可以是一个处理装置。处理装置的功能可以部分或全部通过软件实现。Optionally, the communication unit 510 shown in FIG. 9 may be a communication interface. Optionally, the communication interface may be an input/output interface or a transceiver circuit. The processing unit 520 may be a processing device. The functions of the processing device can be partially or fully realized by software.
在一种实现方式中,处理装置的功能可以部分或全部通过软件实现。在这种实现方式中,处理装置可以包括存储器和处理器,其中,存储器用于存储计算机程序,处理器读取并执行存储器中存储的计算机程序,以执行各实施例中由终端设备内部实现的处理。例如,执行上文描述的由处理单元520执行的处理。In an implementation manner, the functions of the processing device may be partially or fully implemented by software. In this implementation, the processing device may include a memory and a processor, where the memory is used to store a computer program, and the processor reads and executes the computer program stored in the memory to execute the internal implementation of the terminal device in each embodiment. deal with. For example, the processing performed by the processing unit 520 described above is executed.
可选地,处理装置可以仅包括处理器,用于存储计算机程序的存储器位于处理装置之外。处理器通过电路/电线与存储器连接,以读取并执行存储器中存储的计算机程序。Optionally, the processing device may only include a processor, and the memory for storing the computer program is located outside the processing device. The processor is connected to the memory through a circuit/wire to read and execute the computer program stored in the memory.
在另一种实现方式中,处理装置的功能可以部分或全部通过硬件实现。在这种实现方式中,处理装置包括输入接口电路,逻辑电路和输出接口电路。其中,输入接口电路用于获取所述需要被第一个头解压缩的数据包以及通信装置从第一网络设备接收到的数据包;逻辑电路用于从所述需要第一个被头解压缩的数据包的PDCP序列号,对从第一网络设备接收到的数据包进行头解压缩处理;输出接口电路用于输出头解压缩之后的数据包。In another implementation manner, the functions of the processing device may be partially or fully implemented by hardware. In this implementation, the processing device includes an input interface circuit, a logic circuit, and an output interface circuit. The input interface circuit is used to obtain the data packet that needs to be decompressed by the first header and the data packet received by the communication device from the first network device; the logic circuit is used to obtain the data packet that needs to be decompressed by the first header. The PDCP sequence number of the data packet is used to perform header decompression processing on the data packet received from the first network device; the output interface circuit is used to output the data packet after the header is decompressed.
或者,输入接口电路用于获取第一指示信息;逻辑电路用于对第一指示信息进行解析,得到所述需要被第一个头解压缩的数据包的PDCP序列号;输出接口电路用于输出所述需要第一个被头解压缩的数据包的PDCP序列号。Alternatively, the input interface circuit is used to obtain the first indication information; the logic circuit is used to parse the first indication information to obtain the PDCP serial number of the data packet that needs to be decompressed by the first header; and the output interface circuit is used to output The PDCP sequence number of the first data packet that needs to be decompressed by the header.
可选地,输入接口电路可以用于获取RRC重配置消息,并由逻辑电路对RRC重配置消息进行解析,获得所述需要第一个被头解压缩的数据包的PDCP序列号;输出接口电路用于输出所述需要第一个被头解压缩的数据包的PDCP序列号。Optionally, the input interface circuit can be used to obtain the RRC reconfiguration message, and the logic circuit parses the RRC reconfiguration message to obtain the PDCP sequence number of the first packet that needs to be decompressed by the header; output interface circuit Used to output the PDCP sequence number of the first packet that needs to be decompressed by the header.
可选地,输入接口电路可以用于获取PDCP控制PDU,并由逻辑电路根据PDCP控制PDU,获得所述需要第一个被头解压缩的数据包的PDCP序列号;输出接口电路用于输出所述需要第一个被头解压缩的数据包的PDCP序列号。Optionally, the input interface circuit can be used to obtain the PDCP control PDU, and the logic circuit can obtain the PDCP serial number of the first packet decompressed by the header according to the PDCP control PDU; the output interface circuit is used to output the data packet. The PDCP sequence number of the first packet that needs to be decompressed by the header.
可选地,输入接口电路可以用于获取所述通信装置从第一网络设备接收到的数据包,并由逻辑电路对数据包进行解析,获得数据包的RLC序列号,从而当确定接收到预设的 RLC序列号的数据包时,对数据包进行解析,得到数据包的PDCP序列号,并将该PDCP序列号确定为所述需要第一个被头解压缩的数据包的PDCP序列号;输出接口电路用于输出所述需要第一个被头解压缩的数据包的PDCP序列号。Optionally, the input interface circuit may be used to obtain the data packet received by the communication device from the first network device, and the logic circuit parses the data packet to obtain the RLC sequence number of the data packet, so that when it is determined that the pre-order is received When setting the data packet of the RLC sequence number, analyze the data packet to obtain the PDCP sequence number of the data packet, and determine the PDCP sequence number as the PDCP sequence number of the first data packet that needs to be decompressed by the header; The output interface circuit is used to output the PDCP sequence number of the first packet that needs to be decompressed by the header.
在下行数据传输中,通信装置500的各单元所执行的步骤和/或处理如下所述。In downlink data transmission, the steps and/or processing performed by each unit of the communication device 500 are as follows.
处理单元520,用于生成第二指示信息,第二指示信息用于指示所述终端设备发送的数据包中需要第一个被所述第一网络设备头解压缩的数据包的PDCP序列号;The processing unit 520 is configured to generate second indication information, where the second indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the first network device header among the data packets sent by the terminal device;
通信单元510,用于向第一网络设备发送第二指示信息。The communication unit 510 is configured to send second instruction information to the first network device.
可选地,通信单元510具体用于向第一网络设备发送RRC重配置完成消息,所述RRC重配置完成消息中携带一个或多个所述第二指示信息,其中,每个第二指示信息用于指示所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号。或者,Optionally, the communication unit 510 is specifically configured to send an RRC reconfiguration complete message to the first network device, where the RRC reconfiguration complete message carries one or more of the second indication information, where each second indication information It is used to indicate the PDCP sequence number of the first packet that needs to be decompressed by the header of the corresponding bearer. or,
通信单元510具体用于向第一网络设备发送PDCP状态报告,所述PDCP状态报告中携带所述第二指示信息,其中,所述第二指示信息用于指示所对应的承载的需要被第一个头解压缩的数据包的PDCP序列号。或者,The communication unit 510 is specifically configured to send a PDCP status report to the first network device, where the PDCP status report carries the second indication information, where the second indication information is used to indicate that the corresponding bearer needs to be first The PDCP sequence number of the decompressed packet. or,
通信单元510具体用于向第一网络设备发送PDCP控制PDU,所述PDCP控制PDU中携带所述第二指示信息,其中,所述第二指示信息用于指示所述PDCP控制PDU所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号。The communication unit 510 is specifically configured to send a PDCP control PDU to the first network device, where the PDCP control PDU carries the second indication information, where the second indication information is used to indicate the bearer corresponding to the PDCP control PDU The PDCP sequence number of the first packet that needs to be decompressed by the header.
参见图10,图10为本申请提供的通信装置600的示意图。通信装置600包括处理单元610和收发单元620。Refer to FIG. 10, which is a schematic diagram of a communication device 600 provided by this application. The communication device 600 includes a processing unit 610 and a transceiving unit 620.
可选地,通信装置600可以对应下行数据传输各方法实施例中的第二网络设备,或者也可以为安装在第二网络设备上的芯片或者集成电路。此时,通信装置600包括的各单元的功能如下所述。Optionally, the communication device 600 may correspond to the second network device in each method embodiment of downlink data transmission, or may also be a chip or an integrated circuit installed on the second network device. At this time, the functions of each unit included in the communication device 600 are as follows.
处理单元610,用于生成第一指示信息,第一指示信息用于指示终端设备从第一网络设备接收到的数据包中需要第一个被头解压缩的数据包的分组数据汇聚协议PDCP序列号;The processing unit 610 is configured to generate first indication information, where the first indication information is used to indicate that the terminal device needs the packet data convergence protocol PDCP sequence of the first header decompressed data packet among the data packets received from the first network device number;
通信单元620,用于向终端设备发送所述第一指示信息。The communication unit 620 is configured to send the first indication information to a terminal device.
可选的,通信装置600中还可以包括存储单元,用于存储代码或者数据,处理单元610可以调用存储单元中的代码或者数据,使得该通信装置600实现相应的功能或者步骤。Optionally, the communication device 600 may further include a storage unit for storing code or data, and the processing unit 610 may call the code or data in the storage unit to enable the communication device 600 to implement corresponding functions or steps.
可选地,通信单元620也可以由接收单元和/或发送单元代替。Optionally, the communication unit 620 may also be replaced by a receiving unit and/or a sending unit.
例如,通信单元620在执行接收的步骤时,可以由接收单元代替。通信单元620在执行发送的步骤时,可以由发送单元代替。或者,通信单元620也可以为接口电路。For example, the communication unit 620 may be replaced by a receiving unit when performing the receiving step. The communication unit 620 may be replaced by a sending unit when performing the steps of sending. Alternatively, the communication unit 620 may also be an interface circuit.
在一种实现方式中,通信装置600可以和方法实施例中的第二网络设备(例如,源基站)完全对应,或者说,通信装置600为第二网络设备。In an implementation manner, the communication device 600 may completely correspond to the second network device (for example, the source base station) in the method embodiment, or in other words, the communication device 600 is the second network device.
在这种实现方式中,图10中所示的收发单元620可以为收发器。收发器具有发送和/或接收的功能。收发器也可以由接收器和/或发射器代替。处理单元610可以为处理器。收发器和处理器用于执行下行数据传输的各方法实施例中的由第二网络设备执行的步骤或处理。In this implementation, the transceiving unit 620 shown in FIG. 10 may be a transceiver. The transceiver has the function of sending and/or receiving. The transceiver can also be replaced by a receiver and/or transmitter. The processing unit 610 may be a processor. The transceiver and the processor are used to perform steps or processing performed by the second network device in each method embodiment of downlink data transmission.
例如,通信单元620向终端设备发送RRC重配置消息,所述RRC重配置消息中携带一个或多个所述第一指示信息,每个第一指示信息用于指示所对应的承载的需要第一个被头解压缩的数据包的分组数据汇聚协议PDCP序列号。For example, the communication unit 620 sends an RRC reconfiguration message to the terminal device, the RRC reconfiguration message carries one or more of the first indication information, and each first indication information is used to indicate that the corresponding bearer needs the first indication. The PDCP sequence number of each packet decompressed by the header.
又例如,通信单元620向终端设备发送PDCP控制PDU,所述PDCP控制PDU中携带所述第一指示信息,所述第一指示信息用于指示所述PDCP控制PDU所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号。For another example, the communication unit 620 sends a PDCP control PDU to the terminal device, where the PDCP control PDU carries the first indication information, and the first indication information is used to indicate that the bearer corresponding to the PDCP control PDU needs the first indication. The PDCP sequence number of a packet decompressed by the header.
在另一种实现方式中,通信装置600可以为芯片或者集成电路。In another implementation manner, the communication device 600 may be a chip or an integrated circuit.
在这种实现方式中,图10中所示的通信单元620可以为通信接口。可选地,通信接口可以为输入输出接口或者收发电路。处理单元610可以是一个处理装置。处理装置的功能可以部分或全部通过软件实现。In this implementation manner, the communication unit 620 shown in FIG. 10 may be a communication interface. Optionally, the communication interface may be an input/output interface or a transceiver circuit. The processing unit 610 may be a processing device. The functions of the processing device can be partially or fully realized by software.
在一种实现方式中,处理装置的功能可以部分或全部通过软件实现。在这种实现方式中,处理装置可以包括存储器和处理器,其中,存储器用于存储计算机程序,处理器读取并执行存储器中存储的计算机程序,以执行各实施例中由第二网络设备内部实现的处理。例如,执行上文描述的由处理单元610执行的处理。In an implementation manner, the functions of the processing device may be partially or fully implemented by software. In this implementation, the processing device may include a memory and a processor, where the memory is used to store a computer program, and the processor reads and executes the computer program stored in the memory to execute the second network device in the various embodiments. Realized processing. For example, the processing performed by the processing unit 610 described above is executed.
可选地,处理装置可以仅包括处理器,用于存储计算机程序的存储器位于处理装置之外。处理器通过电路/电线与存储器连接,以读取并执行存储器中存储的计算机程序。Optionally, the processing device may only include a processor, and the memory for storing the computer program is located outside the processing device. The processor is connected to the memory through a circuit/wire to read and execute the computer program stored in the memory.
在另一种实现方式中,处理装置的功能可以部分或全部通过硬件实现。在这种实现方式中,处理装置包括输入接口电路,逻辑电路和输出接口电路。In another implementation manner, the functions of the processing device may be partially or fully implemented by hardware. In this implementation, the processing device includes an input interface circuit, a logic circuit, and an output interface circuit.
可选地,逻辑电路用于生成第一指示信息,第一指示信息用于指示终端设备从第一网络设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号;输出接口电路用于输出所述第一指示信息。Optionally, the logic circuit is configured to generate first indication information, where the first indication information is used to indicate that the PDCP sequence number of the first data packet decompressed by the header among the data packets received by the terminal device from the first network device; The output interface circuit is used to output the first indication information.
可选地,通信装置600可以对应上行数据传输各方法实施例中的第二网络设备,或者也可以为安装在第二网络设备上的芯片或者集成电路。此时,通信装置600包括的各单元的功能如下所述。Optionally, the communication apparatus 600 may correspond to the second network device in each method embodiment of uplink data transmission, or may also be a chip or an integrated circuit installed on the second network device. At this time, the functions of each unit included in the communication device 600 are as follows.
处理单元610,用于获取终端设备发送的数据包中需要第一个被头解压缩的数据包的PDCP序列号,并根据所述需要第一个被头解压缩的数据包的PDCP序列号,辅助第一网络设备对从所述终端设备接收到的数据包进行头解压缩处理。The processing unit 610 is configured to obtain the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets sent by the terminal device, and according to the PDCP sequence number of the first data packet that needs to be decompressed by the header, Assisting the first network device to perform header decompression processing on the data packet received from the terminal device.
在一种可能的实现中,当通信装置600可以对应上行数据传输各方法实施例中的第二网络设备时,上述通信单元620用于从第一网络设备接收第一消息,第一消息用于指示所述需要第一个被头解压缩的数据包的PDCP序列号。以及,通信单元620用于从所述第一网络设备接收一个或多个数据包。此时,处理单元610用于对从所述第一网络设备接收到的所述一个或多个数据包从所述需要第一个被头解压缩的数据包的PDCP序列号开始进行重排序,并将重排序之后的所述一个或多个数据包发送给所述第一网络设备进行头解压缩处理。In a possible implementation, when the communication device 600 can correspond to the second network device in each method embodiment of uplink data transmission, the communication unit 620 is configured to receive a first message from the first network device, and the first message is used for Indicates the PDCP sequence number of the first packet that needs to be decompressed by the header. And, the communication unit 620 is configured to receive one or more data packets from the first network device. At this time, the processing unit 610 is configured to reorder the one or more data packets received from the first network device starting from the PDCP sequence number of the first data packet that needs to be decompressed by the header, And sending the one or more data packets after the reordering to the first network device for header decompression processing.
在另一种可能的实现中,上述通信单元620用于从第一网络设备接收第一消息,第一消息用于指示所述需要第一个被头解压缩的数据包的PDCP序列号。以及,通信单元620用于从所述第一网络设备接收一个或多个数据包的PDCP序列号。此时,处理单元610用于根据所述第一消息,判定是否允许所述第一网络设备对所述一个或多个PDCP序列号各自对应的数据包进行头解压缩。进一步地,通信单元620还用于向第一网络设备发送第二消息,所述第二消息用于指示是否允许所述第一网络设备对所述一个或多个PDCP序列号各自所对应的数据包进行头解压缩。In another possible implementation, the aforementioned communication unit 620 is configured to receive a first message from the first network device, and the first message is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header. And, the communication unit 620 is configured to receive the PDCP sequence number of one or more data packets from the first network device. At this time, the processing unit 610 is configured to determine, according to the first message, whether to allow the first network device to decompress the header of each data packet corresponding to the one or more PDCP sequence numbers. Further, the communication unit 620 is further configured to send a second message to the first network device, where the second message is used to indicate whether the first network device is allowed to access the data corresponding to the one or more PDCP sequence numbers. The packet is header decompressed.
在再一种可能的实现方式中,通信单元620从所述第一网络设备接收第一PDCP序列 号所对应的数据包,并在接收到第一PDCP序列号所对应的数据包之后从所述第一网络设备接收其它数据包。处理单元610用于从第一PDCP序列号开始对所述第一PDCP序列号对应的数据包和所述其它数据包进行重排序,并将重排序之后的所述第一PDCP序列号对应的数据包和所述其它数据包发送给所述第一网络设备进行头解压缩处理。In yet another possible implementation manner, the communication unit 620 receives the data packet corresponding to the first PDCP sequence number from the first network device, and after receiving the data packet corresponding to the first PDCP sequence number, The first network device receives other data packets. The processing unit 610 is configured to reorder the data packets corresponding to the first PDCP sequence number and the other data packets starting from the first PDCP sequence number, and reorder the data corresponding to the first PDCP sequence number after the reordering The packet and the other data packets are sent to the first network device for header decompression processing.
在另一种可能的实现方式中,通信单元620从所述第一网络设备接收第二PDCP序列号,所述第二PDCP序列号被预设为所述第一网络设备从所述终端设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号。处理单元610从所述第二PDCP序列号开始对所述一个或多个数据包进行重排序。以及,通信单元620还用于将重排序之后的第二PDCP序列号对应的数据包和所述一个或多个数据包发送给第一网络设备进行头解压缩处理。In another possible implementation manner, the communication unit 620 receives a second PDCP sequence number from the first network device, and the second PDCP sequence number is preset to be that the first network device receives from the terminal device The received packet needs the PDCP sequence number of the first packet decompressed by the header. The processing unit 610 reorders the one or more data packets starting from the second PDCP sequence number. And, the communication unit 620 is further configured to send the data packet corresponding to the reordered second PDCP sequence number and the one or more data packets to the first network device for header decompression processing.
参见图11所示,图11为本申请提供的通信装置700的示意图。通信装置700包括通信单元710和处理单元720。Referring to FIG. 11, FIG. 11 is a schematic diagram of a communication device 700 provided by this application. The communication device 700 includes a communication unit 710 and a processing unit 720.
通信单元710,用于获取从终端设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号;The communication unit 710 is configured to obtain the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the terminal device;
处理单元720,用于从所述需要第一个被头解压缩的数据包的PDCP序列号开始,对从所述终端设备接收到的数据包进行头解压缩处理。The processing unit 720 is configured to perform header decompression processing on the data packet received from the terminal device starting from the PDCP sequence number of the first data packet that needs to be decompressed by the header.
可选地,通信单元710也可以由接收单元和/或发送单元代替。Optionally, the communication unit 710 may also be replaced by a receiving unit and/or a sending unit.
例如,通信单元710在执行接收的步骤时,可以由接收单元代替。通信单元710在执行发送的步骤时,可以由发送单元代替。For example, the communication unit 710 may be replaced by a receiving unit when performing the receiving step. The communication unit 710 may be replaced by a sending unit when performing the steps of sending.
可选的,通信装置700中还可以包括存储单元,用于存储代码或者数据,处理单元720可以调用存储单元中的代码或者数据,使得通信装置700实现相应的功能或者步骤。Optionally, the communication device 700 may further include a storage unit for storing code or data, and the processing unit 720 may call the code or data in the storage unit to enable the communication device 700 to implement corresponding functions or steps.
在一种实现方式中,通信装置700可以和方法实施例中的第一网络设备(例如,目标基站)完全对应。或者说,通信装置700为第一网络设备。In an implementation manner, the communication apparatus 700 may completely correspond to the first network device (for example, the target base station) in the method embodiment. In other words, the communication apparatus 700 is the first network device.
在这种实现方式中,图11中所示的通信单元710可以为收发器。收发器具有发送和/或接收的功能。收发器也可以由接收器和/或发射器代替。处理单元720可以为处理器。收发器和处理器用于执行各方法实施例中的由第一网络设备执行的步骤或处理。In this implementation, the communication unit 710 shown in FIG. 11 may be a transceiver. The transceiver has the function of sending and/or receiving. The transceiver can also be replaced by a receiver and/or transmitter. The processing unit 720 may be a processor. The transceiver and the processor are used to execute steps or processes executed by the first network device in each method embodiment.
例如,通信单元710从终端设备接收第二指示信息,所述第二指示信息用于指示所述终端设备发送的数据包中需要第一个被头解压缩的数据包的PDCP序列号。For example, the communication unit 710 receives second indication information from the terminal device, where the second indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets sent by the terminal device.
又例如,通信单元710从终端设备接收RRC重配置完成消息,所述RRC重配置完成消息中携带一个或多个所述第二指示信息,其中,每个第二指示信息用于指示所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号。For another example, the communication unit 710 receives an RRC reconfiguration complete message from the terminal device, where the RRC reconfiguration complete message carries one or more of the second indication information, where each second indication information is used to indicate the corresponding The PDCP sequence number of the first packet that needs to be decompressed by the header.
又例如,通信单元710从终端设备接收PDCP状态报告,所述PDCP状态报告中携带所述第二指示信息,其中,所述第二指示信息用于指示所述PDCP状态报告所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号。For another example, the communication unit 710 receives a PDCP status report from a terminal device, and the PDCP status report carries the second indication information, where the second indication information is used to indicate the needs of the bearer corresponding to the PDCP status report The PDCP sequence number of the first packet decompressed by the header.
又例如,通信单元710从终端设备接收PDCP控制PDU,所述PDCP控制PDU中携带第二指示信息。其中,所述第二指示信息用于指示所述PDCP控制PDU所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号。For another example, the communication unit 710 receives a PDCP control PDU from the terminal device, and the PDCP control PDU carries the second indication information. The second indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header of the bearer corresponding to the PDCP control PDU.
又例如,处理单元720用于确定通信单元710从终端设备接收到数据包的RLC序列号。当处理单元720确定通信单元710获取到预设的RLC序列号的数据包时,处理单元 720对所述预设的RLC序列号的数据包进行解析,获得所述需要第一个被头解压缩的数据包的PDCP序列号。For another example, the processing unit 720 is configured to determine the RLC sequence number of the data packet received by the communication unit 710 from the terminal device. When the processing unit 720 determines that the communication unit 710 has obtained the data packet with the preset RLC sequence number, the processing unit 720 parses the data packet with the preset RLC sequence number to obtain the first data packet that needs to be decompressed by the header. The PDCP sequence number of the packet.
又例如,通信单元710向第二网络设备发送第一消息,所述第一消息用于指示所述需要第一个被头解压缩的数据包的PDCP序列号。以及,当通信单元710从终端设备接收到一个或多个数据包时,向所述第二网络设备发送所述一个或多个数据包。以及,处理单元720还用于从第二网络设备接收重排序之后的所述一个或多个数据包,并按照所述重排序之后的顺序对所述一个或多个数据包进行头解压缩处理,其中,所述一个或多个数据包是从所述需要第一个被头解压缩的数据包的PDCP序列号开始被重排序的。For another example, the communication unit 710 sends a first message to the second network device, where the first message is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header. And, when the communication unit 710 receives one or more data packets from the terminal device, it sends the one or more data packets to the second network device. And, the processing unit 720 is further configured to receive the one or more data packets after reordering from the second network device, and perform header decompression processing on the one or more data packets in the order after the reordering , Wherein the one or more data packets are reordered starting from the PDCP sequence number of the first data packet that needs to be decompressed by the header.
又例如,通信单元710向第二网络设备发送第一消息,所述第一消息用于指示所述需要第一个被头解压缩的数据包的PDCP序列号。以及,当通信单元710从终端设备接收到一个或多个数据包时,向所述第二网络设备发送所述一个或多个数据包的PDCP序列号。以及,处理单元720从第二网络设备接收第二消息,所述第二消息用于指示是否允许对所述一个或多个PDCP序列号所对应的数据包进行头解压缩,其中,所述第二消息是根据所述第一消息和所述一个或多个PDCP序列号生成的。以及,处理单元720从所述需要第一个被头解压缩的数据包的PDCP序列号开始,对所述第二消息所指示的允许被头解压缩的数据包进行头解压缩,并对所述第二消息指示的不允许被头解压缩的数据包不进行头解压缩。For another example, the communication unit 710 sends a first message to the second network device, where the first message is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header. And, when the communication unit 710 receives one or more data packets from the terminal device, it sends the PDCP sequence numbers of the one or more data packets to the second network device. And, the processing unit 720 receives a second message from the second network device, where the second message is used to indicate whether header decompression is allowed for the data packet corresponding to the one or more PDCP sequence numbers, where the first The second message is generated according to the first message and the one or more PDCP sequence numbers. And, the processing unit 720 starts from the PDCP sequence number of the first data packet that needs to be decompressed by the header, decompresses the header of the data packet that is allowed to be decompressed by the header indicated by the second message, and decompresses all the data packets. The data packet indicated by the second message that it is not allowed to be decompressed by the header does not undergo header decompression.
又例如,当通信单元710接收到所述需要被第一个头解压缩的数据包时,通信单元710向第二网络设备发送所述需要被第一个头解压缩的数据包,并在发送所述需要被第一个头解压缩的数据包之后向第二网络设备发送从终端设备接收到的其它数据包。以及,通信单元710从第二网络设备接收重排序之后的所述需要第一个被头解压缩的数据包和所述其它数据包。以及,处理单元720用于按照重排序之后的顺序对所述需要被第一个头解压缩的数据包和所述其它数据包进行头解压缩处理。For another example, when the communication unit 710 receives the data packet that needs to be decompressed by the first header, the communication unit 710 sends the data packet that needs to be decompressed by the first header to the second network device, and sends it After the data packet that needs to be decompressed by the first header, the other data packet received from the terminal device is sent to the second network device. And, the communication unit 710 receives the first data packet that needs to be decompressed by the header and the other data packets after reordering from the second network device. And, the processing unit 720 is configured to perform header decompression processing on the data packet that needs to be decompressed by the first header and the other data packets in the order after the reordering.
又例如,当通信单元710接收到所述需要被第一个头解压缩的数据包时,通信单元710向第二网络设备发送所述需要被第一个头解压缩的数据包的PDCP序列号,并在发送所述需要被第一个头解压缩的数据包的PDCP序列号之后向第二网络设备发送从终端设备接收到的其它数据包的PDCP序列号。以及,通信单元710从第二网络设备接收重排序之后的所述需要第一个被头解压缩的数据包和所述其它数据包的PDCP序列号。以及,处理单元720用于按照重排序之后的顺序对所述需要被第一个头解压缩的数据包和所述其它数据包进行头解压缩处理。For another example, when the communication unit 710 receives the data packet that needs to be decompressed by the first header, the communication unit 710 sends the PDCP sequence number of the data packet that needs to be decompressed by the first header to the second network device. , And after sending the PDCP sequence number of the data packet that needs to be decompressed by the first header, the PDCP sequence number of the other data packet received from the terminal device is sent to the second network device. And, the communication unit 710 receives from the second network device the PDCP sequence numbers of the first data packet that needs to be decompressed by the header and the other data packets after the reordering. And, the processing unit 720 is configured to perform header decompression processing on the data packet that needs to be decompressed by the first header and the other data packets in the order after the reordering.
在另一种实现方式中,通信装置700可以为芯片或者集成电路。In another implementation manner, the communication device 700 may be a chip or an integrated circuit.
在这种实现方式中,图11中所示的通信单元710可以为通信接口。可选地,通信接口可以为输入输出接口或者收发电路。处理单元720可以是一个处理装置。处理装置的功能可以部分或全部通过软件实现。In this implementation manner, the communication unit 710 shown in FIG. 11 may be a communication interface. Optionally, the communication interface may be an input/output interface or a transceiver circuit. The processing unit 720 may be a processing device. The functions of the processing device can be partially or fully realized by software.
在一种实现方式中,处理装置的功能可以部分或全部通过软件实现。在这种实现方式中,处理装置可以包括存储器和处理器,其中,存储器用于存储计算机程序,处理器读取并执行存储器中存储的计算机程序,以执行各实施例中由第一网络设备内部实现的处理。例如,执行上文描述的由处理单元720执行的处理。In an implementation manner, the functions of the processing device may be partially or fully implemented by software. In this implementation manner, the processing device may include a memory and a processor, where the memory is used to store a computer program, and the processor reads and executes the computer program stored in the memory to execute the internal Realized processing. For example, the processing performed by the processing unit 720 described above is executed.
可选地,处理装置可以仅包括处理器,用于存储计算机程序的存储器位于处理装置之 外。处理器通过电路/电线与存储器连接,以读取并执行存储器中存储的计算机程序。Optionally, the processing device may only include a processor, and the memory for storing the computer program is located outside the processing device. The processor is connected to the memory through a circuit/wire to read and execute the computer program stored in the memory.
在另一种实现方式中,处理装置的功能可以部分或全部通过硬件实现。在这种实现方式中,处理装置包括输入接口电路,逻辑电路和输出接口电路。输入接口电路,用于获取从终端设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号;逻辑电路用于从所述需要第一个被头解压缩的数据包的PDCP序列号开始,对从终端设备接收到的数据包进行头解压缩处理。In another implementation manner, the functions of the processing device may be partially or fully implemented by hardware. In this implementation, the processing device includes an input interface circuit, a logic circuit, and an output interface circuit. The input interface circuit is used to obtain the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the terminal device; the logic circuit is used to obtain the PDCP sequence number of the first data packet that needs to be decompressed by the header. Beginning with the PDCP sequence number, the header decompression process is performed on the data packet received from the terminal device.
参见图12,图12为本申请提供的终端设备的示意性结构图。如图12所示,终端设备800包括处理器801和收发器802。Refer to FIG. 12, which is a schematic structural diagram of a terminal device provided by this application. As shown in FIG. 12, the terminal device 800 includes a processor 801 and a transceiver 802.
可选地,终端设备800还包括存储器803。其中,处理器801、收发器802和存储器803之间可以通过内部连接通路互相通信,传递控制信号和/或数据信号。Optionally, the terminal device 800 further includes a memory 803. Among them, the processor 801, the transceiver 802, and the memory 803 can communicate with each other through an internal connection path to transfer control signals and/or data signals.
其中,存储器803用于存储计算机程序。处理器801用于执行存储器803中存储的计算机程序,从而实现上述装置实施例中通信装置500的各功能。Among them, the memory 803 is used to store computer programs. The processor 801 is configured to execute a computer program stored in the memory 803, so as to implement various functions of the communication device 500 in the foregoing device embodiment.
具体地,处理器801可以用于执行装置实施例(例如,图9)中描述的由处理单元520执行的操作和/或处理,而收发器802用于执行由通信单元510执行操作和/处理。Specifically, the processor 801 may be used to perform operations and/or processing performed by the processing unit 520 described in the apparatus embodiment (for example, FIG. 9), and the transceiver 802 may be used to perform operations and/or processing performed by the communication unit 510. .
可选地,存储器803也可以集成在处理器801中,或者独立于处理器801。Optionally, the memory 803 may also be integrated in the processor 801 or independent of the processor 801.
可选地,终端设备800还可以包括天线804,用于将收发器802输出的信号发射出去。或者,收发器802通过天线接收信号。Optionally, the terminal device 800 may further include an antenna 804 for transmitting the signal output by the transceiver 802. Alternatively, the transceiver 802 receives signals through an antenna.
可选地,终端设备800还可以包括电源805,用于给终端设备中的各种器件或电路提供电源。Optionally, the terminal device 800 may further include a power supply 805 for providing power to various devices or circuits in the terminal device.
除此之外,为了使得终端设备的功能更加完善,终端设备800还可以包括输入单元806、输出单元807、音频电路808、摄像头809和传感器810等中的一个或多个。音频电路还可以包括扬声器8082、麦克风8084等,不再赘述。In addition, in order to make the functions of the terminal device more complete, the terminal device 800 may further include one or more of an input unit 806, an output unit 807, an audio circuit 808, a camera 809, and a sensor 810. The audio circuit may also include a speaker 8082, a microphone 8084, etc., which will not be repeated.
可选地,当通信装置500为终端设备时,图9中所示的通信单元510可以为图12中所示的收发器804,处理单元520可以为处理器801。Optionally, when the communication apparatus 500 is a terminal device, the communication unit 510 shown in FIG. 9 may be the transceiver 804 shown in FIG. 12, and the processing unit 520 may be the processor 801.
可选地,当通信装置500为芯片或者集成电路时,图9中所示的通信单元510可以为通信接口,处理单元520为处理器。Optionally, when the communication device 500 is a chip or an integrated circuit, the communication unit 510 shown in FIG. 9 may be a communication interface, and the processing unit 520 is a processor.
参见图13,图13为本申请提供的网络设备的示意性结构图。网络设备1000可以对应各方法实施例中的第一网络设备(例如,源基站)。Refer to FIG. 13, which is a schematic structural diagram of a network device provided by this application. The network device 1000 may correspond to the first network device (for example, the source base station) in each method embodiment.
如图13所示,网络设备1000包括天线1101、射频装置1102、基带装置1103。天线1101与射频装置1102连接。在上行方向上,射频装置1102通过天线1101接收来自终端设备的信号,并将接收到的信号发送给基带装置1103进行处理。在下行方向上,基带装置1103生成需要发送给终端设备的信号,并将生成的信号发送给射频装置1102。射频装置1102通过天线1101将该信号发射出去。As shown in FIG. 13, the network device 1000 includes an antenna 1101, a radio frequency device 1102, and a baseband device 1103. The antenna 1101 is connected to the radio frequency device 1102. In the uplink direction, the radio frequency device 1102 receives signals from the terminal equipment through the antenna 1101, and sends the received signals to the baseband device 1103 for processing. In the downlink direction, the baseband device 1103 generates a signal that needs to be sent to the terminal device, and sends the generated signal to the radio frequency device 1102. The radio frequency device 1102 transmits the signal through the antenna 1101.
基带装置1103可以包括一个或多个处理单元11031。处理单元11031具体可以为处理器。The baseband device 1103 may include one or more processing units 11031. The processing unit 11031 may specifically be a processor.
此外,基带装置1103还可以包括一个或多个存储单元11032以及一个或多个通信接口11033。存储单元11032用于存储计算机程序和/或数据。通信接口11033用于与射频装置1102交互信息。存储单元11032具体可以为存储器,通信接口11033可以为输入输出接口或者收发电路。In addition, the baseband device 1103 may further include one or more storage units 11032 and one or more communication interfaces 11033. The storage unit 11032 is used to store computer programs and/or data. The communication interface 11033 is used to exchange information with the radio frequency device 1102. The storage unit 11032 may specifically be a memory, and the communication interface 11033 may be an input/output interface or a transceiver circuit.
可选地,存储单元11032可以是和处理单元11031处于同一芯片上的存储单元,即片内存储单元,也可以是与处理单元处于不同芯片上的存储单元,即片外存储单元。本申请对此不作限定。Optionally, the storage unit 11032 may be a storage unit on the same chip as the processing unit 11031, that is, an on-chip storage unit, or a storage unit on a different chip from the processing unit, that is, an off-chip storage unit. This application does not limit this.
在一种实现中,当图10中所示的通信装置600和方法实施例中的第二网络设备完全对应时,通信装置600可以通过图13中所示的网络设备1000实现,或者说,第一网络设备可以如图13中所示。例如,图10中所示的通信装置600的处理单元610可以为图13中所示的基带装置1103。通信单元620可以为图13中所示的射频装置1102。In an implementation, when the communication device 600 shown in FIG. 10 is completely corresponding to the second network device in the method embodiment, the communication device 600 may be implemented by the network device 1000 shown in FIG. 13, or in other words, the first A network device can be as shown in Figure 13. For example, the processing unit 610 of the communication device 600 shown in FIG. 10 may be the baseband device 1103 shown in FIG. 13. The communication unit 620 may be the radio frequency device 1102 shown in FIG. 13.
参见图14,图14为本申请提供的网络设备的示意性结构图。网络设备2000可以对应各方法实施例中的第一网络设备(例如,目标基站)。Refer to FIG. 14, which is a schematic structural diagram of a network device provided by this application. The network device 2000 may correspond to the first network device (for example, the target base station) in each method embodiment.
如图14所示,网络设备2000包括天线2101、射频装置2102、基带装置2103。天线2101与射频装置2102连接。在上行方向上,射频装置2102通过天线2101接收来自接入网设备的信号,并将接收到的信号发送给基带装置2103进行处理。在下行方向上,基带装置2103生成需要发送给终端设备或接入网设备的信号,并将生成的信号发送给射频装置2102。射频装置2102通过天线2101将信号发射出去。As shown in FIG. 14, the network equipment 2000 includes an antenna 2101, a radio frequency device 2102, and a baseband device 2103. The antenna 2101 is connected to the radio frequency device 2102. In the uplink direction, the radio frequency device 2102 receives signals from the access network equipment through the antenna 2101, and sends the received signals to the baseband device 2103 for processing. In the downlink direction, the baseband device 2103 generates a signal that needs to be sent to the terminal device or the access network device, and sends the generated signal to the radio frequency device 2102. The radio frequency device 2102 transmits the signal through the antenna 2101.
基带装置2103可以包括一个或多个处理单元21031。处理单元21031具体可以为处理器。The baseband device 2103 may include one or more processing units 21031. The processing unit 21031 may specifically be a processor.
此外,基带装置2103还可以包括一个或多个存储单元21032以及一个或多个通信接口21033。存储单元21032用于存储计算机程序和/或数据。通信接口21033用于与射频装置2102交互信息。存储单元21032具体可以为存储器,通信接口21033可以为输入输出接口或者收发电路。In addition, the baseband device 2103 may further include one or more storage units 21032 and one or more communication interfaces 21033. The storage unit 21032 is used to store computer programs and/or data. The communication interface 21033 is used to exchange information with the radio frequency device 2102. The storage unit 21032 may specifically be a memory, and the communication interface 21033 may be an input/output interface or a transceiver circuit.
可选地,存储单元21032可以是和处理单元21031处于同一芯片上的存储单元,即片内存储单元,也可以是与处理单元处于不同芯片上的存储单元,即片外存储单元。本申请对此不作限定。Optionally, the storage unit 21032 may be a storage unit on the same chip as the processing unit 21031, that is, an on-chip storage unit, or a storage unit on a different chip from the processing unit, that is, an off-chip storage unit. This application does not limit this.
在一种实现中,当图11中所示的通信装置700和方法实施例中的第一网络设备完全对应时,通信装置700可以如图14中所示的网络设备2000。例如,图11中所示的通信装置700的通信单元710可以为图14中所示的射频装置2102。处理单元720可以为图14中所示的基带装置2103。In an implementation, when the communication apparatus 700 shown in FIG. 11 completely corresponds to the first network device in the method embodiment, the communication apparatus 700 may be the network device 2000 shown in FIG. 14. For example, the communication unit 710 of the communication device 700 shown in FIG. 11 may be the radio frequency device 2102 shown in FIG. 14. The processing unit 720 may be the baseband device 2103 shown in FIG. 14.
此外,本申请还提供一种通信系统,包括本申请提供的一个或多个终端设备,一个或多个第一网络设备,以及一个或多个第二网络设备。In addition, this application also provides a communication system, including one or more terminal devices, one or more first network devices, and one or more second network devices provided in this application.
例如,该通信系统中包括本申请提供的一个或多个终端设备,以及一个或多个第一网络设备。进一步地,该通信系统还可以包括一个或多个第二网络设备。For example, the communication system includes one or more terminal devices provided in this application, and one or more first network devices. Further, the communication system may also include one or more second network devices.
又例如,该通信系统中包括本申请提供的一个或多个第一网络设备和一个或多个第二网络设备。进一步地,该通信系统还可以包括一个或多个终端设备。For another example, the communication system includes one or more first network devices and one or more second network devices provided in this application. Further, the communication system may also include one or more terminal devices.
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被计算机执行时,使得计算机执行任意一个方法实施例中由终端设备执行的操作和/或处理。The present application also provides a computer-readable storage medium with a computer program stored on the computer-readable storage medium, and when the computer program is executed by a computer, the computer executes the operations performed by the terminal device in any method embodiment and /Or processing.
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被计算机执行时,使得计算机执行任意一个方法实施例中由第二网络设备执行的操作和/或处理。The present application also provides a computer-readable storage medium with a computer program stored on the computer-readable storage medium, and when the computer program is executed by a computer, the computer executes any of the method embodiments executed by the second network device Operation and/or processing.
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被计算机执行时,使得计算机执行任意一个方法实施例中由第一网络设备执行的操作和/或处理。The present application also provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a computer, the computer executes any of the method embodiments executed by the first network device Operation and/or processing.
本申请还提供一种计算机程序产品,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行任意一个方法实施例中由终端设备执行的操作和/或处理。This application also provides a computer program product. The computer program product includes computer program code. When the computer program code runs on a computer, the computer executes the operations performed by the terminal device in any method embodiment and/or deal with.
本申请还提供一种计算机程序产品,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行任意一个方法实施例中由第二网络设备执行的操作和/或处理。This application also provides a computer program product. The computer program product includes computer program code. When the computer program code runs on a computer, the computer can execute the operations performed by the second network device in any method embodiment. /Or processing.
本申请还提供一种计算机程序产品,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行任意一个方法实施例中由第一网络设备执行的操作和/或处理。This application also provides a computer program product. The computer program product includes computer program code. When the computer program code is run on a computer, the computer can execute the operations performed by the first network device in any method embodiment. /Or processing.
本申请还提供一种芯片,所述芯片包括处理器。用于存储计算机程序的存储器独立于芯片而设置,处理器用于执行存储器中存储的计算机程序,以执行任意一个方法实施例中由终端设备执行的操作和/或处理。The application also provides a chip including a processor. The memory used to store the computer program is provided independently of the chip, and the processor is used to execute the computer program stored in the memory to execute the operation and/or processing performed by the terminal device in any method embodiment.
进一步地,所述芯片还可以包括通信接口。所述通信接口可以是输入/输出接口,输入/输出电路等。进一步地,所述芯片还可以包括所述存储器。Further, the chip may also include a communication interface. The communication interface may be an input/output interface, an input/output circuit, etc. Further, the chip may also include the memory.
本申请还提供一种芯片,所述芯片包括处理器。用于存储计算机程序的存储器独立于芯片而设置,处理器用于执行存储器中存储的计算机程序,以执行任意一个方法实施例中由第二网络设备执行的操作和/或处理。The application also provides a chip including a processor. The memory for storing the computer program is provided independently of the chip, and the processor is used to execute the computer program stored in the memory to execute the operation and/or processing performed by the second network device in any method embodiment.
进一步地,所述芯片还可以包括通信接口。所述通信接口可以是输入/输出接口,输入/输出电路等。进一步地,所述芯片还可以包括所述存储器。Further, the chip may also include a communication interface. The communication interface may be an input/output interface, an input/output circuit, etc. Further, the chip may also include the memory.
本申请还提供一种芯片,所述芯片包括处理器。用于存储计算机程序的存储器独立于芯片而设置,处理器用于执行存储器中存储的计算机程序,以执行任意一个方法实施例中由第一网络设备执行的操作和/或处理。The application also provides a chip including a processor. The memory for storing the computer program is provided independently of the chip, and the processor is used to execute the computer program stored in the memory to perform the operation and/or processing performed by the first network device in any method embodiment.
进一步地,所述芯片还可以包括通信接口。所述通信接口可以是输入/输出接口,输入/输出电路等。进一步地,所述芯片还可以包括所述存储器。Further, the chip may also include a communication interface. The communication interface may be an input/output interface, an input/output circuit, etc. Further, the chip may also include the memory.
本申请实施例中的处理器可以是集成电路芯片,具有处理信号的能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。本申请实施例公开的方法的步骤可以直接体现为硬件编码处理器执行完成,或者用编码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。The processor in the embodiment of the present application may be an integrated circuit chip, which has the ability to process signals. In the implementation process, the steps of the foregoing method embodiments can be completed by hardware integrated logic circuits in the processor or instructions in the form of software. The processor can be a general-purpose processor, digital signal processor (digital signal processor, DSP), application specific integrated circuit (ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic Devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware encoding processor, or executed by a combination of hardware and software modules in the encoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、 可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DRRAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。The memory in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of exemplary but not restrictive description, many forms of RAM are available, such as static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), and synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) ) And direct memory bus random access memory (direct rambus RAM, DRRAM). It should be noted that the memories of the systems and methods described herein are intended to include, but are not limited to, these and any other suitable types of memories.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现,具体取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art can be aware that the units and algorithm steps of the examples described in the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware, depending on the specific technical solution. Application and design constraints. 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 units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present application.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, the functional units in each embodiment 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.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present application.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Should be covered within the scope of protection of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (28)

  1. 一种处理数据包的方法,其特征在于,包括:A method for processing data packets, characterized in that it comprises:
    终端设备获取从第一网络设备接收到的数据包中需要第一个被头解压缩的数据包的分组数据汇聚协议PDCP序列号;The terminal device obtains the packet data convergence protocol PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the first network device;
    所述终端设备根据所述需要第一个被头解压缩的数据包的PDCP序列号,对从所述第一网络设备接收到的数据包进行头解压缩处理。The terminal device performs header decompression processing on the data packet received from the first network device according to the PDCP sequence number of the first data packet that needs to be decompressed by the header.
  2. 根据权利要求1所述的方法,其特征在于,所述终端设备获取从第一网络设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号,包括:The method according to claim 1, wherein the terminal device acquiring the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the first network device comprises:
    所述终端设备从第二网络设备接收第一指示信息,所述第一指示信息用于指示所述需要第一个被头解压缩的数据包的PDCP序列号。The terminal device receives first indication information from the second network device, where the first indication information is used to indicate the PDCP sequence number of the first header decompressed data packet.
  3. 根据权利要求2所述的方法,其特征在于,所述终端设备从第二网络设备接收第一指示信息,包括:The method according to claim 2, wherein the terminal device receiving the first indication information from the second network device comprises:
    所述终端设备从所述第二网络设备接收无线资源控制RRC重配置消息,所述RRC重配置消息中携带一个或多个所述第一指示信息,其中,每个第一指示信息用于指示所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号;或者,The terminal device receives a radio resource control RRC reconfiguration message from the second network device, where the RRC reconfiguration message carries one or more of the first indication information, where each first indication information is used to indicate The corresponding PDCP sequence number of the first packet that needs to be decompressed by the header; or,
    所述终端设备从所述第二网络设备接收PDCP控制协议数据单元PDU,所述PDCP控制PDU中携带所述第一指示信息,其中,所述第一指示信息用于指示所述PDCP控制PDU所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号。The terminal device receives the PDCP control protocol data unit PDU from the second network device, and the PDCP control PDU carries the first indication information, where the first indication information is used to indicate that the PDCP control PDU is The corresponding PDCP sequence number of the first packet that needs to be decompressed by the header.
  4. 根据权利要求1所述的方法,其特征在于,所述终端设备获取从第一网络设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号,包括:The method according to claim 1, wherein the terminal device acquiring the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the first network device comprises:
    所述终端设备根据从所述第一网络设备接收到的第一数据包,获得所述需要第一个被头解压缩的数据包的PDCP序列号,其中,所述第一数据包的RLC序列号为预设的无线链路控制RLC序列号。The terminal device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header according to the first data packet received from the first network device, wherein the RLC sequence of the first data packet The number is the preset radio link control RLC sequence number.
  5. 根据权利要求4所述的方法,其特征在于,所述预设的RLC序列号为0。The method according to claim 4, wherein the preset RLC sequence number is 0.
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,所述终端设备根据所述需要第一个被头解压缩的数据包的PDCP序列号,对从所述第一网络设备接收到的数据包进行头解压缩处理,包括:The method according to any one of claims 1 to 5, wherein the terminal device performs a response to the first network device according to the PDCP sequence number of the first packet decompressed by the header. The received data packet undergoes header decompression processing, including:
    所述终端设备根据所述需要第一个被头解压缩的数据包的PDCP序列号,从与所述需要第一个被头解压缩的数据包的PDCP序列号对应的数据包开始,对从所述第一网络设备接收到的数据包进行重排序,并按照重排序之后的顺序对所述从第一网络设备接收到的数据包进行头解压缩。According to the PDCP sequence number of the first data packet that needs to be decompressed by the header, the terminal device starts from the data packet corresponding to the PDCP sequence number of the first data packet that needs to be decompressed by the header. Reorder the data packets received by the first network device, and perform header decompression on the data packets received from the first network device in the order after the reordering.
  7. 一种处理数据包的方法,其特征在于,包括:A method for processing data packets, characterized in that it comprises:
    第二网络设备生成第一指示信息,所述第一指示信息用于指示终端设备从第一网络设备接收到的数据包中需要第一个被头解压缩的数据包的分组数据汇聚协议PDCP序列号;The second network device generates first indication information, where the first indication information is used to indicate that the terminal device needs the first packet data convergence protocol PDCP sequence of the header decompressed data packet among the data packets received from the first network device number;
    所述第二网络设备向终端设备发送所述第一指示信息。The second network device sends the first indication information to the terminal device.
  8. 根据权利要求6所述的方法,其特征在于,所述第二网络设备向终端设备发送第一指示信息,包括:The method according to claim 6, wherein the sending of the first indication information by the second network device to the terminal device comprises:
    所述第二网络设备向终端设备发送RRC重配置消息,所述RRC重配置消息中携带一个或多个所述第一指示信息,每个第一指示信息用于指示所对应的承载的需要第一个被头解压缩的数据包的分组数据汇聚协议PDCP序列号;或者,The second network device sends an RRC reconfiguration message to the terminal device, where the RRC reconfiguration message carries one or more of the first indication information, and each first indication information is used to indicate the requirement of the corresponding bearer. The PDCP sequence number of a packet that is decompressed by the header; or,
    所述第二网络设备向终端设备发送分组数据汇聚协议PDCP控制协议数据单元PDU,所述PDCP控制PDU中携带所述第一指示信息,所述第一指示信息用于指示所述PDCP控制PDU所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号。The second network device sends a packet data convergence protocol PDCP control protocol data unit PDU to the terminal device, the PDCP control PDU carries the first indication information, and the first indication information is used to indicate the location of the PDCP control PDU. The corresponding PDCP sequence number of the first packet that needs to be decompressed by the header.
  9. 一种处理数据包的方法,其特征在于,包括:A method for processing data packets, characterized in that it comprises:
    第一网络设备获取从终端设备接收到的数据包中需要第一个被第一网络设备进行头解压缩的数据包的PDCP序列号;The first network device acquires the PDCP sequence number of the first data packet that needs header decompression by the first network device among the data packets received from the terminal device;
    所述第一网络设备从所述需要第一个被头解压缩的数据包的PDCP序列号对应的数据包开始,对从所述终端设备接收到的数据包进行头解压缩处理。The first network device starts from the data packet corresponding to the PDCP sequence number of the first data packet that needs to be decompressed by the header, and performs header decompression processing on the data packet received from the terminal device.
  10. 根据权利要求9所述的方法,其特征在于,所述第一网络设备获取从终端设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号,包括:The method according to claim 9, wherein the acquiring, by the first network device, the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets received from the terminal device comprises:
    所述第一网络设备从所述终端设备接收第二指示信息,所述第二指示信息用于指示所述终端设备发送的数据包中需要第一个被头解压缩的数据包的PDCP序列号。The first network device receives second indication information from the terminal device, where the second indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets sent by the terminal device .
  11. 根据权利要求10所述的方法,其特征在于,所述第一网络设备从终端设备接收第二指示信息,包括:The method according to claim 10, wherein the first network device receiving the second indication information from the terminal device comprises:
    所述第一网络设备从所述终端设备接收RRC重配置完成消息,所述RRC重配置完成消息中携带一个或多个所述第二指示信息,其中,每个第二指示信息用于指示所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号;或者,The first network device receives an RRC reconfiguration complete message from the terminal device, where the RRC reconfiguration complete message carries one or more of the second indication information, where each second indication information is used to indicate The corresponding PDCP sequence number of the first packet that needs to be decompressed by the header; or,
    所述第一网络设备从所述终端设备接收PDCP状态报告,所述PDCP状态报告中携带所述第二指示信息,其中,所述第二指示信息用于指示所述PDCP状态报告所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号;或者,The first network device receives a PDCP status report from the terminal device, and the PDCP status report carries the second indication information, where the second indication information is used to indicate the bearer corresponding to the PDCP status report The PDCP sequence number of the first packet that needs to be decompressed by the header; or,
    所述第一网络设备从所述终端设备接收分组数据汇聚协议PDCP控制协议数据单元PDU,所述PDCP控制PDU中携带所述第二指示信息,其中,所述第二指示信息用于指示所述PDCP控制PDU所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号。The first network device receives a packet data convergence protocol PDCP control protocol data unit PDU from the terminal device, and the PDCP control PDU carries the second indication information, where the second indication information is used to indicate the The PDCP control PDU bears the PDCP sequence number of the first data packet that needs to be decompressed by the header.
  12. 根据权利要求9所述的方法,其特征在于,所述第一网络设备获取从终端设备接收到的数据包中需要第一个被头解压缩的数据包,包括:The method according to claim 9, wherein the acquiring, by the first network device, of the data packets received from the terminal device that needs to be the first data packet decompressed by the header, comprises:
    所述第一网络设备根据从所述终端设备接收到的第二数据包,获取所述需要第一个被头解压缩的数据包的PDCP序列号,其中,所述第二数据包的无线链路控制RLC序列号为预设的RLC序列号。The first network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header according to the second data packet received from the terminal device, wherein the wireless link of the second data packet The route control RLC sequence number is the preset RLC sequence number.
  13. 根据权利要求12所述的方法,其特征在于,所述预设的RLC序列号为0。The method according to claim 12, wherein the preset RLC sequence number is 0.
  14. 根据权利要求10-12中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 10-12, wherein the method further comprises:
    所述第一网络设备向第二网络设备发送第一消息,所述第一消息用于指示所述需要第一个被头解压缩的数据包的PDCP序列号;Sending, by the first network device, a first message to the second network device, where the first message is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header;
    以及,所述第一网络设备从所述需要第一个被头解压缩的数据包的PDCP序列号对应的数据包开始,对从所述终端设备接收到的数据包进行头解压缩处理,包括:And, starting from the data packet corresponding to the PDCP sequence number of the first data packet that needs to be decompressed by the header, the first network device performs header decompression processing on the data packet received from the terminal device, including :
    所述第一网络设备从所述终端设备接收到一个或多个数据包时,所述第一网络设备向所述第二网络设备发送所述一个或多个数据包;When the first network device receives one or more data packets from the terminal device, the first network device sends the one or more data packets to the second network device;
    所述第一网络设备从所述第二网络设备接收重排序之后的所述一个或多个数据包,并按照所述重排序之后的顺序对所述一个或多个数据包进行头解压缩处理,其中,所述一个或多个数据包是从所述需要第一个被头解压缩的数据包的PDCP序列号开始被重排序的。The first network device receives the one or more data packets after reordering from the second network device, and performs header decompression processing on the one or more data packets in the order after the reordering , Wherein the one or more data packets are reordered starting from the PDCP sequence number of the first data packet that needs to be decompressed by the header.
  15. 根据权利要求10-12中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 10-12, wherein the method further comprises:
    所述第一网络设备向第二网络设备发送第一消息,所述第一消息用于指示所述需要第一个被头解压缩的数据包的PDCP序列号;Sending, by the first network device, a first message to the second network device, where the first message is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header;
    当所述第一网络设备从所述终端设备接收到一个或多个数据包时,所述第一网络设备向所述第二网络设备发送所述一个或多个数据包的PDCP序列号;When the first network device receives one or more data packets from the terminal device, the first network device sends the PDCP sequence numbers of the one or more data packets to the second network device;
    所述第一网络设备从所述第二网络设备接收第二消息,所述第二消息用于指示是否允许对所述一个或多个PDCP序列号所对应的数据包进行头解压缩;Receiving, by the first network device, a second message from the second network device, the second message being used to indicate whether header decompression is allowed for the data packet corresponding to the one or more PDCP sequence numbers;
    以及,所述第一网络设备从所述需要第一个被头解压缩的数据包的PDCP序列号对应的数据包开始,对从所述终端设备接收到的数据包进行头解压缩处理,包括:And, starting from the data packet corresponding to the PDCP sequence number of the first data packet that needs to be decompressed by the header, the first network device performs header decompression processing on the data packet received from the terminal device, including :
    所述第一网络设备从所述需要第一个被头解压缩的数据包的PDCP序列号对应的数据包开始,对所述第二消息所指示的允许被头解压缩的数据包进行头解压缩,并对所述第二消息指示的不允许被头解压缩的数据包不进行头解压缩。The first network device starts from the data packet corresponding to the PDCP sequence number of the first data packet that needs to be decompressed by the header, and performs header decompression on the data packet indicated by the second message that is allowed to be decompressed by the header. Compression, and header decompression is not performed on the data packet indicated by the second message that the header is not allowed to be decompressed.
  16. 根据权利要求9-13中任一项所述的方法,其特征在于,所述第一网络设备从所述需要第一个被头解压缩的数据包的PDCP序列号对应的数据包开始,对从所述终端设备接收到的数据包进行头解压缩处理,包括:The method according to any one of claims 9-13, wherein the first network device starts from the data packet corresponding to the PDCP sequence number of the first data packet that needs to be decompressed by the header, and Decompressing the header of the data packet received from the terminal device includes:
    当所述第一网络设备接收到所述需要被第一个头解压缩的数据包时,所述第一网络设备向所述第二网络设备发送所述需要被第一个头解压缩的数据包,并在发送所述需要被第一个头解压缩的数据包之后向所述第二网络设备发送从所述终端设备接收到的其它数据包;When the first network device receives the data packet that needs to be decompressed by the first header, the first network device sends the data that needs to be decompressed by the first header to the second network device Packet, and send other data packets received from the terminal device to the second network device after sending the data packet that needs to be decompressed by the first header;
    所述第一网络设备从所述第二网络设备接收重排序之后的所述需要第一个被头解压缩的数据包和所述其它数据包;Receiving, by the first network device, the first data packet that needs to be decompressed by the header and the other data packets after reordering from the second network device;
    所述第一网络设备按照重排序之后的顺序对所述需要被第一个头解压缩的数据包和所述其它数据包进行头解压缩处理。The first network device performs header decompression processing on the data packet that needs to be decompressed by the first header and the other data packets in the order after the reordering.
  17. 根据权利要求9-13中任一项所述的方法,其特征在于,所述第一网络设备从所述需要第一个被头解压缩的数据包的PDCP序列号对应的数据包开始,对从所述终端设备接收到的数据包进行头解压缩处理,包括:The method according to any one of claims 9-13, wherein the first network device starts from the data packet corresponding to the PDCP sequence number of the first data packet that needs to be decompressed by the header, and Decompressing the header of the data packet received from the terminal device includes:
    当所述第一网络设备接收到所述需要被第一个头解压缩的数据包时,所述第一网络设备向所述第二网络设备发送所述需要被第一个头解压缩的数据包的PDCP序列号,并在发送所述需要第一个被头解压缩的数据包之后向所述第二网络设备发送从所述终端设备接收到的一个或多个数据包的PDCP序列号;When the first network device receives the data packet that needs to be decompressed by the first header, the first network device sends the data that needs to be decompressed by the first header to the second network device The PDCP sequence number of the packet, and sending the PDCP sequence number of one or more data packets received from the terminal device to the second network device after sending the first data packet that needs to be decompressed by the header;
    所述第一网络设备从所述第二网络设备接收第二消息,所述第二消息用于指示是否允许所述第一网络设备对所述一个或多个PDCP序列号各自所对应的数据包进行头解压缩;The first network device receives a second message from the second network device, where the second message is used to indicate whether to allow the first network device to access the data packets corresponding to the one or more PDCP sequence numbers. Perform header decompression;
    所述第一网络设备根据所述第二消息,对所述需要被第一个头解压缩的数据包和所述一个或多个数据包进行头解压缩处理。According to the second message, the first network device performs header decompression processing on the data packet that needs to be decompressed by the first header and the one or more data packets.
  18. 一种处理数据包的方法,其特征在于,包括:A method for processing data packets, characterized in that it comprises:
    第二网络设备获取所述终端设备发送的数据包中需要第一个被头解压缩的数据包的 PDCP序列号;The second network device obtains the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets sent by the terminal device;
    所述第二网络设备根据所述需要第一个被头解压缩的数据包的PDCP序列号,辅助所述第一网络设备对从所述终端设备接收到的数据包进行头解压缩处理。The second network device assists the first network device in performing header decompression processing on the data packet received from the terminal device according to the PDCP sequence number of the first header decompressed data packet.
  19. 根据权利要求18所述的方法,其特征在于,所述第二网络设备获取所述终端设备发送的数据包中需要第一个被头解压缩的数据包的PDCP序列号,包括:The method according to claim 18, wherein the second network device acquiring the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets sent by the terminal device comprises:
    所述第二网络设备从第一网络设备接收第一消息,所述第一消息用于指示所述需要第一个被头解压缩的数据包的PDCP序列号;Receiving, by the second network device, a first message from the first network device, where the first message is used to indicate the PDCP sequence number of the first header decompressed data packet;
    所述第二网络设备根据所述需要第一个被头解压缩的数据包的PDCP序列号,辅助所述第一网络设备对从所述终端设备接收到的数据包进行头解压缩处理,包括:The second network device assists the first network device to perform header decompression processing on the data packet received from the terminal device according to the PDCP sequence number of the first header decompressed data packet, including :
    所述第二网络设备从所述第一网络设备接收一个或多个数据包;The second network device receives one or more data packets from the first network device;
    所述第二网络设备根据所述第一消息对从所述第一网络设备接收到的所述一个或多个数据包从所述需要第一个被头解压缩的数据包的PDCP序列号开始进行重排序,并将重排序之后的所述一个或多个数据包发送给所述第一网络设备进行头解压缩处理。The one or more data packets received from the first network device by the second network device according to the first message start from the PDCP sequence number of the first data packet that needs to be decompressed by the header Reordering is performed, and the one or more data packets after the reordering are sent to the first network device for header decompression processing.
  20. 根据权利要求18所述的方法,其特征在于,所述第二网络设备根据所述需要被第一个头解压缩的数据包的PDCP序列号,辅助所述第一网络设备对从所述终端设备接收到的数据包进行头解压缩处理,包括:The method according to claim 18, wherein the second network device assists the first network device in pairing the slave terminal according to the PDCP sequence number of the data packet that needs to be decompressed by the first header. The data packet received by the device undergoes header decompression processing, including:
    第二网络设备从第一网络设备接收第一消息,所述第一消息用于指示所述需要第一个被头解压缩的数据包的PDCP序列号;The second network device receives a first message from the first network device, where the first message is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the header;
    所述第二网络设备从所述第一网络设备接收一个或多个PDCP序列号;The second network device receives one or more PDCP sequence numbers from the first network device;
    所述第二网络设备根据所述第一消息,判定是否允许所述第一网络设备对所述一个或多个PDCP序列号各自对应的数据包进行头解压缩;The second network device determines, according to the first message, whether to allow the first network device to decompress the header of each data packet corresponding to the one or more PDCP sequence numbers;
    所述第二设备向所述第一网络设备发送第二消息,所述第二消息用于指示是否允许所述第一网络设备对所述一个或多个PDCP序列号各自所对应的数据包进行头解压缩。The second device sends a second message to the first network device, where the second message is used to indicate whether the first network device is allowed to perform data packets corresponding to the one or more PDCP sequence numbers. Unzip the header.
  21. 根据权利要求18所述的方法,其特征在于,第二网络设备获取所述终端设备发送的数据包中需要第一个被头解压缩的数据包的PDCP序列号,包括:The method according to claim 18, wherein the second network device acquiring the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets sent by the terminal device includes:
    所述第二网络设备从所述第一网络设备接收第一PDCP序列号所对应的数据包,并在接收到第一PDCP序列号所对应的数据包之后从所述第一网络设备接收其它数据包;The second network device receives the data packet corresponding to the first PDCP serial number from the first network device, and receives other data from the first network device after receiving the data packet corresponding to the first PDCP serial number package;
    所述第二网络设备从所述第一PDCP序列号对应的数据包开始对所述第一PDCP序列号对应的数据包和所述其它数据包进行重排序,并将重排序之后的所述第一PDCP序列号对应的数据包和所述其它数据包发送给所述第一网络设备进行头解压缩处理。The second network device reorders the data packet corresponding to the first PDCP sequence number and the other data packets starting from the data packet corresponding to the first PDCP sequence number, and reorders the first data packet after the reordering. A data packet corresponding to a PDCP sequence number and the other data packets are sent to the first network device for header decompression processing.
  22. 根据权利要求18所述的方法,其特征在于,第二网络设备获取所述终端设备发送的数据包中需要第一个被头解压缩的数据包的PDCP序列号,包括:The method according to claim 18, wherein the second network device acquiring the PDCP sequence number of the first data packet that needs to be decompressed by the header among the data packets sent by the terminal device includes:
    所述第二网络设备从所述第一网络设备接收第二PDCP序列号,所述第二PDCP序列号被预设为所述第一网络设备从所述终端设备接收到的数据包中需要第一个被头解压缩的数据包的PDCP序列号;The second network device receives a second PDCP sequence number from the first network device, and the second PDCP sequence number is preset to be that the first network device needs the first data packet received from the terminal device. The PDCP sequence number of a packet decompressed by the header;
    以及,所述第二网络设备根据所述需要第一个被头解压缩的数据包的PDCP序列号,辅助所述第一网络设备对从所述终端设备接收到的数据包进行头解压缩处理,包括:And, the second network device assists the first network device to perform header decompression processing on the data packet received from the terminal device according to the PDCP sequence number of the first header decompressed data packet ,include:
    所述第二网络设备从所述第一网络设备接收一个或多个数据包;The second network device receives one or more data packets from the first network device;
    所述第二网络设备从所述第二PDCP序列号对应的数据包开始对所述一个或多个数 据包进行重排序,并将重排序之后的所述第二PDCP序列号对应的数据包和所述一个或多个数据包发送给所述第一网络设备进行头解压缩处理。The second network device reorders the one or more data packets starting from the data packet corresponding to the second PDCP sequence number, and reorders the data packet corresponding to the second PDCP sequence number after the reordering and The one or more data packets are sent to the first network device for header decompression processing.
  23. 一种处理数据包的方法,其特征在于,包括:A method for processing data packets, characterized in that it comprises:
    终端设备生成第二指示信息,所述第二指示信息用于指示所述终端设备发送的数据包中需要第一个被所述第一网络设备头解压缩的数据包的PDCP序列号;The terminal device generates second indication information, where the second indication information is used to indicate the PDCP sequence number of the first data packet that needs to be decompressed by the first network device header among the data packets sent by the terminal device;
    所述终端设备向所述第一网络设备发送所述第二指示信息。The terminal device sends the second indication information to the first network device.
  24. 根据权利要求23所述的方法,其特征在于,所述终端设备向所述第一网络设备发送所述第二指示信息,包括:The method according to claim 23, wherein the sending of the second indication information by the terminal device to the first network device comprises:
    所述终端设备向所述第一网络设备发送RRC重配置完成消息,所述RRC重配置完成消息中携带一个或多个所述第二指示信息,其中,每个第二指示信息用于指示所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号;或者,The terminal device sends an RRC reconfiguration complete message to the first network device, where the RRC reconfiguration complete message carries one or more of the second indication information, where each second indication information is used to indicate all The corresponding PDCP sequence number of the first packet that needs to be decompressed by the header; or,
    所述终端设备向所述第一网络设备发送PDCP状态报告,所述PDCP状态报告中携带所述第二指示信息,其中,所述第二指示信息用于指示所对应的承载的需要被第一个头解压缩的数据包的PDCP序列号;或者,The terminal device sends a PDCP status report to the first network device, and the PDCP status report carries the second indication information, where the second indication information is used to indicate that the corresponding bearer needs to be first The PDCP sequence number of the decompressed data packet; or,
    所述终端设备向所述第一网络设备发送PDCP控制PDU,所述PDCP控制PDU中携带所述第二指示信息,其中,所述第二指示信息用于指示所述PDCP控制PDU所对应的承载的需要第一个被头解压缩的数据包的PDCP序列号。The terminal device sends a PDCP control PDU to the first network device, and the PDCP control PDU carries the second indication information, where the second indication information is used to indicate the bearer corresponding to the PDCP control PDU The PDCP sequence number of the first packet that needs to be decompressed by the header.
  25. 一种通信装置,其特征在于,包括用于实现如权利要求1-6,23,24中任一项所述的方法的单元。A communication device, characterized by comprising a unit for implementing the method according to any one of claims 1-6, 23, and 24.
  26. 一种通信装置,其特征在于,包括用于实现如权利要求7,8,18-22中任一项所述的方法的单元。A communication device, characterized by comprising a unit for implementing the method according to any one of claims 7, 8, 18-22.
  27. 一种通信装置,其特征在于,包括用于实现如权利要求9-17中任一项所述的方法的单元。A communication device, characterized by comprising a unit for implementing the method according to any one of claims 9-17.
  28. 一种计算机可读存储介质,其特征在于,包括计算机程序,当所述计算机程序被处理器执行时,使得如权利要求1-24任一项所述的方法被执行。A computer-readable storage medium, characterized by comprising a computer program, when the computer program is executed by a processor, the method according to any one of claims 1-24 is executed.
PCT/CN2020/089099 2019-05-08 2020-05-08 Method and apparatus for processing data packets WO2020224631A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910381560.9 2019-05-08
CN201910381560.9A CN111918335B (en) 2019-05-08 2019-05-08 Method and device for processing data packet

Publications (1)

Publication Number Publication Date
WO2020224631A1 true WO2020224631A1 (en) 2020-11-12

Family

ID=73050666

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/089099 WO2020224631A1 (en) 2019-05-08 2020-05-08 Method and apparatus for processing data packets

Country Status (2)

Country Link
CN (1) CN111918335B (en)
WO (1) WO2020224631A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022120541A1 (en) * 2020-12-07 2022-06-16 华为技术有限公司 Data transmission method and apparatus
CN113645662B (en) * 2021-08-17 2023-08-18 中国联合网络通信集团有限公司 Service processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105532059A (en) * 2014-03-21 2016-04-27 华为技术有限公司 Configuration indication method and communication device
US20170085615A1 (en) * 2015-09-23 2017-03-23 Qualcomm Incorporated Call continuity in high uplink interference state
CN108632229A (en) * 2017-03-24 2018-10-09 电信科学技术研究院 Head compression method, solution head compression method in a kind of multi-connection and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE500663T1 (en) * 2008-02-04 2011-03-15 Lg Electronics Inc WIRELESS COMMUNICATION METHOD FOR TRANSMITTING A SEQUENCE OF DATA UNITS BETWEEN A WIRELESS DEVICE AND A NETWORK
CN101841852B (en) * 2009-03-20 2013-01-16 中兴通讯股份有限公司 Method, device and system for transmitting uplink data in cross-base station handover
EP2830352A1 (en) * 2013-07-24 2015-01-28 Panasonic Intellectual Property Corporation of America Efficient discard mechanism in small cell deployment
WO2017096592A1 (en) * 2015-12-10 2017-06-15 华为技术有限公司 Data processing method and device in wireless communications
US11050721B2 (en) * 2016-12-26 2021-06-29 Htc Corporation Device and method of handling mobile data transmissions in a wireless communication system
WO2019033399A1 (en) * 2017-08-18 2019-02-21 北京小米移动软件有限公司 Reflective quality of service configuration method and device, and information sending method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105532059A (en) * 2014-03-21 2016-04-27 华为技术有限公司 Configuration indication method and communication device
US20170085615A1 (en) * 2015-09-23 2017-03-23 Qualcomm Incorporated Call continuity in high uplink interference state
CN108632229A (en) * 2017-03-24 2018-10-09 电信科学技术研究院 Head compression method, solution head compression method in a kind of multi-connection and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
INTEL CORPORATION: "User plane architecture for NR", 3GPP TSG-RAN WG2 MEETING #95 R2-165006, 26 August 2016 (2016-08-26), XP051134089 *

Also Published As

Publication number Publication date
CN111918335A (en) 2020-11-10
CN111918335B (en) 2022-07-22

Similar Documents

Publication Publication Date Title
US11751112B2 (en) Handover method and device
US10750414B2 (en) System and method for handovers in a dual connectivity communications system
KR102341420B1 (en) Switching method, access network device and terminal device
WO2019095974A1 (en) Data processing method and device, and computer storage medium
WO2019061151A1 (en) Path switching method and terminal device
WO2020224631A1 (en) Method and apparatus for processing data packets
CN112449348B (en) Communication method and communication device
US20210144801A1 (en) Wireless communication method, communication device, chip, and communication system
WO2019127292A1 (en) Method and apparatus for controlling data replication transmission function
JP7220786B2 (en) Wireless communication method, terminal device and network device
WO2019090626A1 (en) Data retransmission method and device
US20240080729A1 (en) Communication Method and Apparatus
WO2022134958A1 (en) Data transmission method and apparatus, and device and storage medium
WO2023005919A1 (en) Method, device, and apparatus for sending packet data convergence protocol status report
WO2024000110A1 (en) Cell handover method and apparatus, terminal device, and network device
WO2020124540A1 (en) Data packet reordering method, electronic device and 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: 20802297

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: 20802297

Country of ref document: EP

Kind code of ref document: A1