WO2019029350A1 - Data processing method and related device - Google Patents

Data processing method and related device Download PDF

Info

Publication number
WO2019029350A1
WO2019029350A1 PCT/CN2018/096687 CN2018096687W WO2019029350A1 WO 2019029350 A1 WO2019029350 A1 WO 2019029350A1 CN 2018096687 W CN2018096687 W CN 2018096687W WO 2019029350 A1 WO2019029350 A1 WO 2019029350A1
Authority
WO
WIPO (PCT)
Prior art keywords
pdcp
packet
data packet
pdcp data
priority
Prior art date
Application number
PCT/CN2018/096687
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 WO2019029350A1 publication Critical patent/WO2019029350A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • H04W72/566Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient
    • H04W72/569Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient of the traffic information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0289Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a data processing method and related devices.
  • the radio interface protocol stack includes a packet data convergence protocol (PDCP) layer, a radio link control protocol (RLC) layer, and media intervention at both the transmitting end and the receiving end.
  • PDCP packet data convergence protocol
  • RLC radio link control protocol
  • media intervention at both the transmitting end and the receiving end.
  • Figure 1 shows an example where the terminal device is the transmitting end and the access network device is the receiving end.
  • the data packet is transmitted from the PDCP layer of the terminal device to the RLC layer in turn, and then transmitted to the MAC layer by the RLC layer, then transmitted to the PHY layer by the MAC layer, and finally sent to the access network device in the air interface.
  • the access network device is the transmitting end, and the terminal device is the receiving end.
  • the PDCP entity of the transmitting end goes through the processing flow shown in FIG. 2 for the received data packet. among them:
  • the PDCP After receiving the PDCP service data unit (SDU), set a discard timer exclusive to the PDCP SDU.
  • the PDCP receives the data sent by the upper layer and is called a PDCP SDU.
  • data of different priorities is transmitted between the sender and the receiver.
  • critical data CD
  • non-critical data NCD
  • the priority of important data is higher than that of non-critical data.
  • a fully encoded video frame is called an I frame and can also be represented as a key frame.
  • a video frame generated by referring to the previous I frame and containing only the difference partial coding is called a P frame.
  • Another frame that refers to the frame encoding before and after is called a B frame, and the B frame is a bidirectional difference frame, that is, the B frame records the difference between the current frame and the previous frame.
  • the I frame and some control frames have a great influence on the video playback quality of the receiving end. Therefore, I frames and some control frames are important data.
  • the P frame and the B frame have less influence on the video playback quality of the receiving end. Therefore, the P frame and the B frame are non-critical data.
  • the PDCP layer on the sending end sets a long discard timer for packets with high priority, so as to ensure that packets with high priority can stay in the PDCP layer for a long time without being discarded in the case of congestion.
  • High packets can be sent successfully.
  • a packet with a high priority has a high requirement for delay, and a packet with a high priority needs to be sent to the receiving end in time.
  • By setting a long discard timer you can only ensure that packets with high priority are successfully sent to the receiver. It is not guaranteed that packets with high priority can be sent to the receiver in time.
  • the priority of the data packet corresponding to the sequence numbers SN1 to SN3 is lower than the data packet corresponding to the SN4.
  • the data packet corresponding to SN4 can be sent to the RLC layer at the end. Therefore, the data packet with high priority cannot be sent to the receiving end in time.
  • the embodiment of the present application provides a data processing method and related device, which is convenient for transmitting a data packet with a high priority in the same radio bearer to a receiving end in time.
  • the embodiment of the present application provides a data processing method, which is applied to a sending end, where the method includes: acquiring, by a same packet data convergence protocol, a PDCP entity in a radio bearer, at least two PDCP data packets; to a PDCP entity The corresponding radio link layer control protocol RLC entity first sends a PDCP data packet with a higher priority among the at least two PDCP data packets, and then transmits a PDCP data packet with a lower priority among the at least two PDCP data packets.
  • the sequence number SN of the PDCP packet with a high priority is before the SN of the PDCP packet with a lower priority.
  • the PDCP data packet with the highest priority is sent to the RLC entity, and the PDCP data packet with the lower priority is sent to the RLC entity.
  • the next SN is set to be 1 for the SN, so that the SN of the PDCP data packet that is allocated first is allocated before the PDCP data packet is allocated.
  • the SN of the PDCP packet with the highest priority is allocated to the SN of the PDCP packet with the lower priority, that is, the SN is allocated for the PDCP packet with the higher priority, and then the SN is allocated for the PDCP packet with the lower priority.
  • the SN allocated by the PDCP data packet acquired first is after the SN of the PDCP data packet acquired later.
  • the SN of the PDCP packet with the higher priority is before the SN of the PDCP packet with the lower priority. Therefore, compared with the prior art, this embodiment only changes the processing mode of the PDCP data packet, that is, how to allocate the PDCP data packet SN has changed, but how to transmit the PDCP data packet to the RLC entity is compared with the current The technology has not changed, and the PDCP data packets are sent to the RLC entity in the order of the SN. It can be seen that by implementing this embodiment, it is possible to achieve the effect of transmitting a high priority packet to the receiving end in time without making major changes to the existing flow.
  • the at least two PDCP data packets include the first PDCP data packet and the second PDCP data packet, and the priority of the first PDCP data packet is higher than the priority of the second PDCP data packet, and the sending end may also be
  • the first PDCP packet is allocated a first SN, and the second SN is re-allocated to the second PON, the first SN is before the second SN; correspondingly, the same RLC entity corresponding to the PDCP entity sends at least two
  • the PDCP data packet with a high priority in the PDCP data packet, and the PDCP data packet with a lower priority in the at least two PDCP data packets may be sent in the following manner: at least two in the order of the first SN and the second SN.
  • the PDCP data packets are sent to the same RLC entity.
  • the SN can be reassigned to the PDCP data packet with the low priority assigned to the SN to ensure that the SN of the PDCP data packet with the higher priority is before the SN of the PDCP data packet with the lower priority.
  • the PDCP entity allocates a first SN for the second PDCP data packet, and re-allocates the second SN for the first PDCP data packet.
  • the PDCP entity does not have to wait for the preset time to arrive and then allocates the first SN for the second PDCP data packet, or the PDCP entity does not have to wait until the number of acquired PDCP data packets reaches a preset number, and then allocates the first SN for the second PDCP data packet. And reallocating the second SN for the first PDCP data packet.
  • the obtained at least two PDCP data packets are at least two packet data convergence protocol service data units (PDCP SDUs), and the transmitting end may further determine a PDCP SDU with a higher priority among the at least two PDCP SDUs and a lower priority.
  • the same RLC entity corresponding to the PDCP entity first transmits a PDCP data packet with a high priority among the at least two PDCP data packets, and then transmits a PDCP data packet with a lower priority of the at least two PDCP data packets.
  • the embodiment may be: first transmitting, to the same RLC entity, a packet data convergence protocol protocol data unit PDCP PDU generated by the high priority PDCP SDU, and then transmitting a PDCP PDU generated by a low priority PDCP SDU.
  • the sending end does not need to change the processing flow of the existing PDCP data packet, that is, the SN allocated by the PDCP data packet received first is before the SN allocated by the PDCP data packet received later.
  • This embodiment does not transmit PDCP PDUs sequentially in the order of SN. Instead, the PDCP PDU corresponding to the PDCP packet with the highest priority is sent to the RLC entity first. It can be seen that by implementing this embodiment, it is possible to achieve the effect of transmitting a high priority packet to the receiving end in time without making major changes to the existing flow.
  • the at least two PDCP data packets are PDCP data packets acquired within a preset time in a buffer of the sending end, or the at least two PDCP data packets are obtained in a preset amount within a buffer of the sending end. .
  • the PDCP PDU corresponding to the PDCP data packet with the highest priority is directly sent to the RLC entity, as long as the PDCP PDU corresponding to the PDCP data packet with the highest priority is generated.
  • the sending end is a terminal device, and the same radio link layer control protocol RLC entity corresponding to the PDCP entity first sends the PDCP data packet with the highest priority in the at least two PDCP data packets, and then sends the at least two PDCP data packets.
  • the sending end may further receive the indication information sent by the access network device, where the indication information is used to indicate that the same RLC entity corresponding to the PDCP entity is allowed to send at least two PDCP data packets first.
  • the PDCP data packet of the highest level is sent, and the PDCP data packet with low priority among the at least two PDCP data packets is sent.
  • the PDCP data packets with higher priority can be preferentially transmitted when necessary.
  • the indication message is a radio resource control (RRC) configuration message.
  • the indication message is a PDCP indication message, for example, the indication information is carried in the PDCP packet header, or a new PDCP Control PDU is designed to indicate the message.
  • the indication message is a MAC indication message, for example, the indication information is carried in the MAC packet header, or a new MAC control element is designed to indicate the message.
  • the embodiment of the present application further provides a data processing method, which is applied to a receiving end, where the method includes: receiving indication information from a first device, where the indication information is used to indicate whether to allow the transmitting end to pass the same wireless
  • the packet data convergence protocol PDCP data packet transmitted in an out-of-order manner is reordered; if the indication information is used to indicate that the PDCP data packet sent by the transmitting end through the same radio bearer is reordered, the PDCP data packet is received in the same PDCP entity.
  • the PDCP data packet can be reordered when receiving the out-of-order PDCP data packet, instead of reordering the PDCP data packet at any time.
  • the receiving end is a terminal device, and the first device and the sending end are access network devices.
  • the receiving end is an access network device, and the first device is a core network device CN, and the sending end is a terminal device.
  • the indication message is an RRC configuration message.
  • the indication message is a PDCP indication message, for example, the indication information is carried in the PDCP packet header, or a new PDCP Control PDU is designed to indicate the message.
  • the indication message is a MAC indication message, for example, the indication information is carried in the MAC packet header, or a new MAC control element is designed to indicate the message.
  • a sender which can perform the method in the first aspect or the possible implementation of the first aspect.
  • This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more units corresponding to the functions described above.
  • the unit can be software and/or hardware.
  • a receiving end which can perform the method in the second aspect or the possible implementation manner of the second aspect.
  • This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more units corresponding to the functions described above.
  • the unit can be software and/or hardware. Based on the same inventive concept, the principle and the beneficial effects of the problem at the receiving end can be referred to the foregoing second aspect or the possible implementation manner and beneficial effects of the second aspect, and the repeated description is not repeated.
  • a transmitting end comprising: a processor, a memory, a communication interface, and one or more programs; the processor, the communication interface, and the memory are connected; wherein one or more programs are stored in the memory
  • the processor calls the program stored in the memory to implement the solution in the above first aspect or the possible implementation manner of the first aspect, and the implementation manner and the beneficial effects of the problem at the transmitting end can be referred to the first aspect or the foregoing The possible implementations and beneficial effects on the one hand are not repeated here.
  • a receiving end comprising: a processor, a memory, a communication interface, and one or more programs; the processor, the communication interface, and the memory are connected; wherein one or more programs are stored in the memory
  • the processor calls the program stored in the memory to implement the solution in the foregoing second aspect or the possible implementation manner of the second aspect, and the implementation manner and the beneficial effects of the receiving end solving the problem can be referred to the second aspect or the foregoing
  • the possible implementations and beneficial effects of the two aspects are not repeated here.
  • a seventh aspect a computer program product, when executed on a computer, causes the computer to perform the method of any of the first aspect, the second aspect, or any optional implementation of the first aspect or Any optional implementation of the two aspects.
  • a chip product at a transmitting end which performs the method of any of the above first aspect or any possible implementation of the first aspect.
  • a chip product at a receiving end is provided to perform the method of any of the above second aspect or any of the possible implementations of the second aspect.
  • 1 is a schematic diagram of a conventional wireless interface protocol stack
  • FIG. 2 is a schematic flowchart of data processing of a received data packet by a PDCP entity at a transmitting end
  • FIG. 3 is a schematic diagram of a PDCP entity of a transmitting end transmitting a PDCP data packet to an RLC;
  • FIG. 4 is a schematic diagram of a communication system according to an embodiment of the present application.
  • FIG. 5 is a schematic flowchart diagram of a data processing method according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of a PDCP entity at a sending end sending a PDCP data packet to an RLC according to an embodiment of the present disclosure
  • FIG. 7 is a schematic diagram of still another PDCP entity of a sending end sending a PDCP data packet to an RLC according to an embodiment of the present disclosure
  • FIG. 8 is a schematic diagram of still another PDCP entity of a sending end sending a PDCP data packet to an RLC according to an embodiment of the present disclosure
  • FIG. 9 is a schematic flowchart diagram of another data processing method according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic flowchart diagram of another data processing method according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic flowchart diagram of another data processing method according to an embodiment of the present application.
  • FIG. 12 is a schematic diagram of a reordering window according to an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a transmitting end according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of a receiving end according to an embodiment of the present disclosure.
  • FIG. 15 is a schematic structural diagram of another transmitting end according to an embodiment of the present disclosure.
  • FIG. 16 is a schematic structural diagram of another receiving end according to an embodiment of the present application.
  • the embodiment of the present application provides a data processing method and related device, which is convenient for sending a data packet with a high priority to a receiving end in time.
  • FIG. 4 is a schematic diagram of a communication system provided by an embodiment of the present application.
  • the communication system includes a core network device, an access network device, and at least one terminal device.
  • FIG. 4 exemplifies two terminal devices.
  • the terminal device is connected to the access network device in a wireless manner, and the access network device is connected to the core network device through a wireless or wired manner.
  • the core network device and the access network device may be independent physical devices, or may integrate the functions of the core network device with the logical functions of the access network device on the same physical device, or may be integrated on one physical device.
  • the terminal device can be fixed or mobile.
  • the communication system may further include other network devices, such as a wireless relay device and a wireless backhaul device, which are not shown in FIG. 4.
  • the embodiment of the present application does not limit the number of core network devices, access network devices, and terminal devices included in the communication system.
  • the access network device is an access device that the terminal device accesses to the mobile communication system by using a wireless device, and may be a network side NodeB, an evolved network side eNodeB, a network side in a 5G mobile communication system, and a future mobile communication system.
  • the specific technology and the specific device configuration adopted by the access network device are not limited in the embodiment of the present application.
  • the terminal device may also be referred to as a terminal terminal, a user equipment (UE), a mobile station (MS), a mobile terminal (MT), and the like.
  • the terminal device can be a mobile phone, a tablet, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, industrial control (industrial control) Wireless terminal, wireless terminal in self driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless in transport safety A terminal, a wireless terminal in a smart city, a wireless terminal in a smart home, and the like.
  • Access network equipment and terminal equipment can be deployed on land, indoors or outdoors, hand-held or on-board; they can also be deployed on the water; they can also be deployed on airborne aircraft, balloons and satellites.
  • the application scenarios of the radio access network device and the terminal device are not limited.
  • the embodiments of the present application can be applied to downlink signal transmission, and can also be applied to uplink signal transmission, and can also be applied to device to device (D2D) signal transmission.
  • D2D device to device
  • the sending device is an access network device
  • the corresponding receiving device is a terminal device.
  • the sending device is a terminal device
  • the corresponding receiving device is an access network device.
  • the transmitting device is a terminal device
  • the corresponding receiving device is also a terminal device.
  • the embodiment of the present application does not limit the transmission direction of the signal.
  • the access network device and the terminal device and between the terminal device and the terminal device can communicate through a licensed spectrum, or can communicate through an unlicensed spectrum, or can simultaneously pass the licensed spectrum and the license-free.
  • the spectrum communicates. Communication between the radio access network device and the terminal device and between the terminal device and the terminal device may be performed through a spectrum of 6 gigahertz (GHz) or less, or may be communicated through a spectrum of 6 GHz or higher, or may be used below 6 GHz.
  • the spectrum communicates with the spectrum above 6 GHz.
  • the embodiment of the present application does not limit the spectrum resources used between the radio access network device and the terminal device.
  • FIG. 5 is a data processing method provided by an embodiment of the present application. As shown in FIG. 5, the data processing method includes the following sections 501 and 502, wherein:
  • the sender obtains at least two PDCP data packets by the same PDCP entity in one radio bearer.
  • the sending end sends, to the same RLC entity corresponding to the PDCP entity, a PDCP data packet with a high priority among the at least two PDCP data packets, and then sends a PDCP data packet with a lower priority among the at least two PDCP data packets.
  • the sending end may be a terminal device or an access network device.
  • the transmitting end is a terminal device
  • the receiving end is an access network device
  • the transmitting end is an access network device
  • the receiving end is a terminal device.
  • the at least two PDCP data packets may be obtained from an upper layer (such as an application layer).
  • the PDCP entity obtains the format of the PDCP data packet sent by the upper layer (such as the application layer) into the PDCP SDU format.
  • the PDCP entity sends the PDCP packet to the RLC entity in the PDCP PDU format.
  • the PDCP data packet with a high priority among the at least two PDCP data packets refers to a PDCP data packet with a high priority, that is, a PDCP data packet that needs to be transmitted to the receiving end in time.
  • a PDCP packet with a high priority may be an I frame or some control frame in a video frame.
  • a PDCP packet with a lower priority may be a P frame or a B frame in a video frame.
  • the priority of the at least two PDCP data packets may be identified by the PDCP entity or notified by the application layer to notify the PDCP entity.
  • the PDCP layer of the transmitting end may include multiple PDCP entities, and the RLC layer of the transmitting end may include multiple RLC entities. At least two PDCP data packets are received by the same PDCP entity, and the at least two PDCP data packets are sent to the same RLC entity.
  • the PDCP layer of the transmitting end includes the PDCP entity 1 and the PDCP entity 2
  • the RLC layer of the transmitting end includes the RLC entity 1 and the RLC entity 2.
  • the PDCP entity 1 and the RLC entity 1 belong to one radio bearer.
  • the PDCP entity 2 and the RLC entity 2 belong to another radio bearer.
  • the PDCP entity 1 receives the PDCP packet 1 and the PDCP packet 2.
  • the priority of PDCP packet 1 is higher than the priority of PDCP packet 2.
  • the PDCP entity 1 first transmits the PDCP data packet 1 to the RLC entity 1, and then transmits the PDCP data packet 2 to the RLC entity 1.
  • the PDCP entity 2 receives the PDCP packet 3 and the PDCP packet 4.
  • the priority of PDCP packet 3 is higher than the priority of PDCP packet 4.
  • the PDCP entity 2 first transmits the PDCP data packet 3 to the RLC entity 2, and then transmits the PDCP data packet 4 to the RLC entity 2.
  • the at least two PDCP data packets are PDCP data packets acquired within a preset time in a buffer of the sending end. That is to say, the PDCP entity sends a PDCP data packet with a high priority to the same RLC entity in a preset time period, and then transmits a PDCP data packet with a low priority.
  • the PDCP entity acquires PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3 from the upper layer within the first 2 ms.
  • the PDCP entity first transmits the PDCP data packet 2 with the highest priority and the PDCP data packet 3 to the RLC entity, and then transmits the PDCP data packet 1 with the lower priority to the same RLC entity.
  • the PDCP entity acquires PDCP packet 4, PDCP packet 5, and PDCP packet 6 from the upper layer within the second 2 ms.
  • the PDCP entity first transmits the PDCP packet 5 with high priority and the PDCP packet 6 to the RLC entity, and then transmits the PDCP packet 4 with the lower priority to the same RLC entity.
  • the at least two PDCP data packets are obtained in a preset number of buffers in the sending end.
  • the preset number is 3.
  • the PDCP entity After the PDCP entity obtains the PDCP data packet 1, the PDCP data packet 2, and the PDCP data packet 3 from the upper layer, the PDCP entity first sends the PDCP data packet 2 and the PDCP data packet 3 with high priority. To the RLC entity, the PDCP packet 1 with a lower priority is sent to the same RLC entity.
  • the PDCP entity After the PDCP entity obtains the PDCP data packet 4, the PDCP data packet 5, and the PDCP data packet 6, the PDCP entity first transmits the PDCP data packet 5 and the PDCP data packet 6 to the RLC entity with high priority, and then transmits the PDCP data packet with low priority. 4 to the same RLC entity.
  • the SN of the PDCP packet with a high priority is allocated before the SN of the PDCP packet with a lower priority.
  • the PDCP data packets with high priority can be sent to the RLC entity, and the PDCP data packets with low priority are sent to the RLC entity.
  • the next SN is set to be 1 for the SN, so that the SN of the PDCP data packet that is allocated first is allocated before the PDCP data packet is allocated.
  • the SN of the PDCP packet with the highest priority is allocated to the SN of the PDCP packet with the lower priority, that is, the SN is allocated for the PDCP packet with the higher priority, and then the SN is allocated for the PDCP packet with the lower priority.
  • an example is to transmit a PDCP packet to an RLC entity in order of SN being small to large.
  • the priority of PDCP packet 3 is higher than the priorities of PDCP packet 1 and PDCP packet 2.
  • the PDCP entity first acquires the PDCP data packet 1 and the PDCP data packet 2 from the upper layer, and finally acquires the PDCP data packet 3, the SN finally allocated to the PDCP data packet 3 is smaller than the SN of the PDCP data packet 1 and the PDCP data packet 2.
  • the PDCP data packet 3 with high priority can be sent to the RLC entity, and then the PDCP data packet 1 and the PDCP data packet 2 with low priority are sent to the RLC entity.
  • the SN that is first acquired by the PDCP data packet is before the SN of the PDCP data packet that is acquired later.
  • the SN of the PDCP packet with the higher priority is before the SN of the PDCP packet with the lower priority. Therefore, compared with the prior art, this embodiment only changes the processing mode of the PDCP data packet, that is, how to allocate the PDCP data packet SN has changed, but how to transmit the PDCP data packet to the RLC entity is compared with the current The technology has not changed, and the PDCP data packets are sent to the RLC entity in the order of the SN. It can be seen that by implementing the implementation manner, it is possible to achieve the effect of transmitting a high priority data packet to the receiving end in the same radio bearer in a timely manner without making major changes to the existing flow.
  • the at least two PDCP data packets include the first PDCP data packet and the second PDCP data packet, and the first PDCP data packet has a higher priority than the second PDCP data packet, and the sending end receives the first After the PDCP data packet, the first PDCP data packet may be assigned a first sequence number SN, and the second PDCP data packet may be reassigned a second SN, the first SN being before the second SN.
  • the transmitting end sends the PDCP data packet with the highest priority in the at least two PDCP data packets to the same RLC entity corresponding to the PDCP entity, and then sends the PDCP data packet with the lower priority of the at least two PDCP data packets.
  • the method may be: sending at least two PDCP data packets to the RLC layer in the order of the first SN and the second SN.
  • the PDCP entity first receives the second PDCP data packet and then receives the first PDCP data packet.
  • the PDCP first allocates an SN for the second PDCP packet.
  • the PDCP entity allocates a first SN for the first PDCP data packet, and reallocates a second SN after the first SN for the second PDCP data packet.
  • an example is to transmit a PDCP packet to an RLC entity in order of SN being small to large.
  • the PDCP entity acquires PDCP packet 1 and PDCP packet 2 from the upper layer.
  • the PDCP entity assigns an SN of 1 to PDCP packet 1
  • the PDCP entity assigns an SN of 2 to PDCP packet 2.
  • the PDCP entity allocates the SN to the PDCP data packet 3 as 1 for the PDCP data packet.
  • 1 Reassign SN to 2, and redistribute SN to PDCP packet 2.
  • PDCP packet 3 can be sent to the RLC entity before PDCP packet 1 and PDCP packet 2.
  • the first PDCP data packet may be PDCP data packet 1 or PDCP data packet 2.
  • the second PDCP packet is a PDCP packet 3.
  • the PDCP entity allocates a first SN for the second PDCP data packet, and re-allocates the second SN for the first PDCP data packet. For example, as shown in FIG. 7, the PDCP entity does not have to wait until the preset time arrives to allocate the first SN for the second PDCP data packet, or the PDCP entity does not have to wait until the number of acquired PDCP data packets reaches a preset number, and then the second The PDCP packet allocates a first SN and reassigns a second SN for the first PDCP packet.
  • the PDCP data packet is transmitted to the RLC entity in an order that the SN is small to large.
  • the PDCP entity acquires PDCP packet 1 and PDCP packet 2 from the upper layer.
  • the PDCP entity assigns an SN of 1 to PDCP packet 1
  • the PDCP entity assigns an SN of 2 to PDCP packet 2.
  • the PDCP entity allocates the SN to the PDCP data packet 3 as 1 for the PDCP data packet. 1 Reassign SN to 2, and redistribute SN to PDCP packet 2.
  • the PDCP entity After acquiring the PDCP data packet 4 from the upper layer, since the priority of the PDCP data packet 4 is higher than the priority of the PDCP data packet 1 and the PDCP data packet 2, the PDCP entity allocates the SN to the PDCP data packet 4 to 2, for the PDCP data packet. 1 Reassign SN to 3, and reassign SN to PDCP packet 2. Thus, PDCP packet 3 and PDCP packet 4 can be sent to the RLC entity before PDCP packet 1 and PDCP packet 2.
  • the first PDCP data packet may be PDCP data packet 1 or PDCP data packet 2.
  • the second PDCP data packet may be PDCP data packet 3 or PDCP data packet 4.
  • the at least two PDCP data packets are PDCP data packets acquired within a preset time in the buffer of the transmitting end, and the PDCP data packets are sent to the RLC entity in an order that the SN is small to large.
  • the PDCP entity sequentially acquires PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3 from the upper layer within a preset time (eg, 2 ms).
  • the priority of PDCP packet 3 is higher than PDCP data 1 and PDCP data 2.
  • the PDCP entity assigns an SN of 1 to PDCP packet 1, and the PDCP entity assigns an SN of 2 to PDCP packet 2.
  • PDCP entity Since the priority of PDCP data packet 3 is higher than the priority of PDCP data packet 1 and PDCP data packet 2, when 2 ms arrives, if PDCP data packet 3 has not been allocated SN, the PDCP entity allocates SN for PDCP data packet 3 for the first time. 1. Reassign SN to 2 for PDCP packet 1, and reassign SN to 3 for PDCP packet 2. Thus PDCP packet 3 can be sent to the RLC entity before PDCP packet 1 and PDCP packet 2.
  • the first PDCP data packet may be PDCP data packet 1 or PDCP data packet 2.
  • the second PDCP packet is a PDCP packet 3.
  • the at least two PDCP data packets are PDCP data packets acquired in a preset number of buffers in the sending end, and the PDCP data packets are sent to the RLC entity in an order that the SN is small to large.
  • the preset number is 3, and the PDCP entity sequentially acquires PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3 from the upper layer.
  • the priority of PDCP packet 3 is higher than PDCP data 1 and PDCP data 2.
  • the PDCP entity assigns an SN of 1 to PDCP packet 1, and the PDCP entity assigns an SN of 2 to PDCP packet 2.
  • the PDCP entity Since the priority of the PDCP data packet 3 is higher than the priority of the PDCP data packet 1 and the PDCP data packet 2, after receiving the PDCP data packet 3, the PDCP entity first allocates the SN to 1 for the PDCP data packet 3, and the PDCP data packet 1 The reassignment SN is 2, and the PDCP packet 2 is reassigned SN to 3.
  • PDCP packet 3 can be sent to the RLC entity before PDCP packet 1 and PDCP packet 2.
  • the first PDCP data packet may be PDCP data packet 1 or PDCP data packet 2.
  • the second PDCP packet is a PDCP packet 3.
  • the SN of the third PDCP data packet exists in the fourth PDCP data packet After the SN, the priority of the third PDCP data packet is higher than the priority of the fourth PDCP data packet, and then the SN is re-allocated to the third PDCP data packet and the fourth PDCP data packet, so that the SN of the third PDCP data packet is in the fourth Before the SN of the PDCP packet.
  • the priority of the fifth PDCP data packet is higher than the priority of the fourth PDCP data packet, and is also the fifth The PDCP packet is assigned an SN such that the SN of the fifth PDCP packet precedes the SN of the fourth PDCP packet.
  • the PDCP data packet is sent to the RLC entity in an order that the SN is small to large.
  • the PDCP entity sequentially acquires PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3 within a preset time (eg, 2 ms).
  • PDCP packet 2 and PDCP packet 3 have higher priority than PDCP packet 1.
  • the PDCP entity assigns an SN of 1 to PDCP packet 1, and the PDCP entity assigns an SN of 2 to PDCP packet 2.
  • the PDCP entity Since the priority of PDCP packet 2 is higher than the priority of PDCP packet 1, the PDCP entity reassigns SN to 1 for PDCP packet 2 when 2 ms arrives, and PDCP data for PDCP packet 3 has not been assigned SN. Packet 3 allocates SN to 2, and PDCP packet 1 reassigns SN to 3. Thus PDCP Packet 2 and PDCP Packet 3 can be sent to the RLC entity before PDCP Packet 1.
  • the third PDCP data packet may be the PDCP data packet 2
  • the fourth PDCP data packet may be the PDCP data packet 1
  • the fifth PDCP data packet may be the PDCP data packet 3.
  • the at least two PDCP data packets are obtained in a buffer of the sending end within a preset number, if the number of the at least two PDCP data packets reaches a preset number, if the SN of the third PDCP data packet exists After the SN of the fourth PDCP data packet, the priority of the third PDCP data packet is higher than the priority of the fourth PDCP data packet, then the SN is re-allocated to the third PDCP data packet and the fourth PDCP data packet, so that the third PDCP is obtained.
  • the SN of the data packet precedes the SN of the fourth PDCP data packet.
  • the fifth PDCP data packet is also allocated an SN, so that The SN of the fifth PDCP packet precedes the SN of the fourth PDCP packet.
  • the PDCP data packet is sent to the RLC entity in an order that the SN is small to large.
  • the preset number is 3, and the PDCP entity sequentially acquires PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3 from the upper layer.
  • PDCP packet 2 and PDCP packet 3 have higher priority than PDCP packet 1.
  • the PDCP entity assigns an SN of 1 to PDCP packet 1, and the PDCP entity assigns an SN of 2 to PDCP packet 2.
  • the PDCP entity Since the priority of the PDCP packet 2 is higher than the priority of the PDCP packet 1, when the PDCP packet 3 is acquired from the upper layer, the PDCP entity reassigns the SN to 1 for the PDCP packet 2, since the PDCP packet 3 has not been allocated. For SN, SN is assigned to PDCP packet 3, and SN is 3 for PDCP packet 1. Thus PDCP Packet 2 and PDCP Packet 3 can be sent to the RLC entity before PDCP Packet 1.
  • the third PDCP data packet may be the PDCP data packet 2
  • the fourth PDCP data packet may be the PDCP data packet 1
  • the fifth PDCP data packet may be the PDCP data packet 3.
  • the obtained at least two PDCP data packets are at least two packet data convergence protocol service data units (PDCP SDUs), and after the transmitting end acquires at least two PDCP data packets, the transmitting end may further determine the at least two PDCP SDUs.
  • PDCP SDU packet data convergence protocol service data units
  • the transmitting end sends the PDCP data packet with the highest priority among the at least two PDCP data packets to the same RLC entity corresponding to the PDCP entity, and then sends the PDCP data packet with the lower priority of the at least two PDCP data packets.
  • the embodiment may be: first transmitting, to the same RLC entity, a packet data convergence protocol protocol data unit PDCP PDU generated by the high priority PDCP SDU, and then transmitting a PDCP PDU generated by a low priority PDCP SDU.
  • the at least two PDCP data packets acquired by the PDCP entity of the transmitting end from the upper layer are, in order, PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3.
  • the PDCP entity at the transmitting end determines that the PDCP SDU with the highest priority is the PDCP SDU3 corresponding to the PDCP data packet 3, and the PDCP SDU with the lower priority is the PDCP SDU2 corresponding to the PDCP data packet 2 and the PDCP SDU1 corresponding to the PDCP data packet 1.
  • the transmitting end generates the PDCP PDU1 corresponding to the PDCP SDU1, the PDCP PDU2 corresponding to the PDCP SDU2, and the PDCP PDU3 corresponding to the PDCP SDU3 according to the existing procedure.
  • the SN of the PDCP PDU1 is 1, the SN of the PDCP PDU2 is 2, and the SN of the PDCP PDU3 is 3.
  • the PDCP PDU3 with the highest priority is sent to the RLC entity, and the PDCP PDU1 and PDCP PDU2 with the lower priority are sent to the same RLC entity. That is, the PDCP PDU3 with the SN of 3 is transmitted first, then the PDCP PDU1 with the SN of 1 is transmitted, and the PDCP PDU 2 with the SN of 2 is transmitted.
  • the sending end does not need to change the processing flow of the existing PDCP data packet, that is, the SN allocated by the PDCP data packet acquired first is before the SN allocated by the PDCP data packet acquired later.
  • This embodiment does not transmit PDCP PDUs sequentially in the order of SN. Instead, the PDCP PDU corresponding to the PDCP packet with the highest priority is sent to the RLC entity first. It can be seen that by implementing this embodiment, it is possible to achieve the effect of transmitting a high priority packet to the receiving end in time without making major changes to the existing flow.
  • the PDCP PDU corresponding to the PDCP data packet with the highest priority is directly sent to the RLC entity, as long as the PDCP PDU corresponding to the PDCP data packet with the highest priority is generated.
  • the PDCP entity at the transmitting end sequentially acquires PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3.
  • the PDCP entity at the transmitting end determines that the PDCP SDU with the highest priority is the PDCP SDU3 corresponding to the PDCP data packet 3, and the PDCP SDU with the lower priority is the PDCP SDU2 corresponding to the PDCP data packet 2 and the PDCP SDU1 corresponding to the PDCP data packet 1.
  • the transmitting end generates the PDCP PDU1 corresponding to the PDCP SDU1, the PDCP PDU2 corresponding to the PDCP SDU2, and the PDCP PDU3 corresponding to the PDCP SDU3 according to the existing procedure.
  • the SN of the PDCP PDU1 is 1, the SN of the PDCP PDU2 is 2, and the SN of the PDCP PDU3 is 3.
  • the PDCP entity at the transmitting end first sends the PDCP PDU3 to the RLC entity.
  • the PDCP entity at the transmitting end acquires the PDCP data packet 4, and determines that the PDCP SDU4 corresponding to the PDCP data packet 4 is a PDCP SDU with a high priority.
  • the PDCP PDU4 is first sent to the RLC entity.
  • the PDCP entity at the transmitting end sends the PDCP PDU1 and the PDCP PDU2 to the same RLC entity.
  • the PDCP data packet acquired within a preset time in the buffer of the transmitting end is taken as an example.
  • the PDCP entity at the transmitting end sequentially acquires PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3 from the upper layer within a preset time (eg, 2 ms).
  • the PDCP SDU3 corresponding to the PDCP data packet 3 and the PDCP SDU2 corresponding to the PDCP data packet 2 have higher priority than the PDCP SDU1 corresponding to the PDCP data packet 1.
  • the transmitting end generates the PDCP PDU1 corresponding to the PDCP SDU1, the PDCP PDU2 corresponding to the PDCP SDU2, and the PDCP PDU3 corresponding to the PDCP SDU3 according to the existing procedure.
  • the SN of the PDCP PDU1 is 1, the SN of the PDCP PDU2 is 2, and the SN of the PDCP PDU3 is 3.
  • the PDCP entity of the transmitting end first sends PDCP PDU2 and PDCP PDU3 to the RLC entity, and then sends the PDCP PDU1 to the same RLC entity.
  • the example in which the at least two PDCP data packets are obtained in a buffer of the transmitting end within a preset number is taken as an example.
  • the preset number is 3, and the PDCP entity at the transmitting end sequentially acquires PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3 from the upper layer.
  • the priority of the PDCP SDU2 corresponding to the PDCP SDU3 and the PDCP data packet 2 of the PDCP data packet 3 is higher than the priority of the PDCP SDU1 corresponding to the PDCP data packet 1.
  • the transmitting end generates the PDCP PDU1 corresponding to the PDCP SDU1, the PDCP PDU2 corresponding to the PDCP SDU2, and the PDCP PDU3 corresponding to the PDCP SDU3 according to the existing procedure.
  • the SN of the PDCP PDU1 is 1, the SN of the PDCP PDU2 is 2, and the SN of the PDCP PDU3 is 3.
  • the PDCP entity at the transmitting end first sends the PDCP PDU2 and the PDCP PDU3 to the RLC entity, and then sends the PDCP PDU1 to the same RLC entity.
  • the sending end is a terminal device, and the same RLC entity corresponding to the PDCP entity first sends the PDCP data packet with the highest priority in the at least two PDCP data packets, and then sends the PDCP with the lower priority of the at least two PDCP data packets.
  • the PDCP entity of the sending end may further receive the indication information sent by the access network device, where the indication information is used to indicate whether to allow the same RLC entity corresponding to the PDCP entity to first send the at least two PDCP data packets with high priority.
  • the PDCP data packet is followed by the PDCP data packet with a lower priority among the at least two PDCP data packets.
  • the indication information received by the PDCP entity of the transmitting end is used to indicate that the same RLC entity corresponding to the PDCP entity is allowed to first send the PDCP data packet with the highest priority in the at least two PDCP data packets, and then send the at least two PDCP data packets.
  • the PDCP packet with a low priority is sent by the sending end to the same RLC entity corresponding to the PDCP entity, and then the PDCP data packet with the highest priority of the at least two PDCP data packets is sent, and then the low priority of the at least two PDCP data packets is sent.
  • PDCP packet is used to indicate that the same RLC entity corresponding to the PDCP entity is allowed to first send the PDCP data packet with the highest priority in the at least two PDCP data packets, and then send the at least two PDCP data packets.
  • the indication message is a radio resource control (RRC) configuration message.
  • the indication message is a PDCP indication message, for example, the indication information is carried in the PDCP packet header, or a new PDCP Control PDU is designed to indicate the message.
  • the indication message is a MAC indication message, for example, the indication information is carried in the MAC packet header, or a new MAC control element is designed to indicate the message.
  • the PDCP data packets with higher priority can be preferentially transmitted when necessary.
  • FIG. 9 is another data processing method provided by an embodiment of the present application. As shown in FIG. 9, the data processing method includes the following sections 901 to 903, wherein:
  • the receiving end receives the indication information from the first device.
  • the receiving end receives, in the same PDCP entity, a PDCP data packet that is sent out by the sending end through the same radio bearer.
  • the receiving end reorders the PDCP data packets sent out of order by the same PDCP entity.
  • the indication information is used to indicate whether to allow reordering of PDCP data packets sent by the sending end by the same radio bearer in an out-of-order manner. If the indication information is used to indicate that the PDCP data packets sent by the transmitting end through the same radio bearer are reordered, the receiving end receives the PDCP data packet that is sent out by the same radio bearer in the same PDCP entity. Reordering PDCP packets sent out of order in the same PDCP entity.
  • the indication message is a radio resource control (RRC) configuration message.
  • the indication message is a PDCP indication message, for example, the indication information is carried in the PDCP packet header, or a new PDCP Control PDU is designed to indicate the message.
  • the indication message is a MAC indication message, for example, the indication information is carried in the MAC packet header, or a new MAC control element is designed to indicate the message.
  • the receiving end is a terminal device, and the first device and the sending end may be access network devices.
  • the indication information sent by the access network device to the terminal device may be sent by the core network (CN) to the access network device, or the indication information sent by the access network device to the terminal device may be generated by the access network device itself. And sent to the access network device.
  • FIG. 10 is an example of sending, by the access network device, the indication information sent by the access network device to the access network device.
  • the PDCP entity of the access network device receives the indication information sent by the core network device to indicate whether to allow the PDCP data packets sent by the sending end to be out of order by the same radio bearer.
  • the access network device sends the indication information to the terminal device. If the core network device indicates that the PDCP data packets that are randomly sent by the access network device through the same radio bearer are reordered, the PDCP entity of the access network device sequentially receives the PDCP data packet 1, the PDCP data packet 2, and the PDCP data.
  • the PDCP PDU1 corresponding to the PDCP data packet 1, the PDCP PDU2 corresponding to the PDCP data packet 2, and the PDCP PDU3 corresponding to the PDCP data packet 3 are generated according to the existing procedure.
  • the SN of the PDCP PDU1 is 1, the SN of the PDCP PDU2 is 2, and the SN of the PDCP PDU3 is 3.
  • the priority of PDCP packet 3 is higher than the priority of PDCP packet 1 and PDCP packet 2.
  • the PDCP PDU3 is generated by the access network device, the PDCP PDU corresponding to the PDCP packet with the highest priority is detected as the PDCP PDU3.
  • the PDCP entity of the access network device first sends the PDCP PDU3 to the RLC entity, and then sends the PDCP PDU1 and the PDCP PDU2 to the same RLC entity, and the RLC entity sends the sequence to the terminal device. That is, the PDCP PDU3 with the SN of 3 is sent first, then the PDCP PDU1 with the SN of 1 is sent, and the PDCP PDU2 with the SN of 2 is sent.
  • the PDCP entity 1 of the terminal device in a radio bearer receives indication information from the access network device. If the indication information indicates that the terminal device is allowed to reorder the PDCP data packets received out of order by the same radio bearer, the PDCP entity 1 of the terminal device sequentially receives the PDCP PDU3, the PDCP PDU1, and the PDCP PDU2 in a reordering window. Thereafter, PDCP PDU3, PDCP PDU1, and PDCP PDU2 are reordered in order of small to large SN. Since the SN of the PDCP PDU1 is 1, the SN of the PDCP PDU2 is 2, and the SN of the PDCP PDU3 is 3. Therefore, the PDCP entity 1 of the terminal device ranks the PDCP PDU1 in the first place and the PDCP PDU2 in the second place, which will be the PDCP. PDU3 is ranked third.
  • the receiving end is an access network device
  • the first device is a core network device CN
  • the sending end is a terminal device.
  • the PDCP entity of the terminal device sequentially receives PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3.
  • the priority of PDCP packet 3 is higher than the priority of PDCP packet 1 and PDCP packet 2.
  • the terminal device generates PDCP PDU1 corresponding to PDCP data packet 1, PDCP PDU2 corresponding to PDCP data packet 2, and PDCP PDU3 corresponding to PDCP data packet 3 according to an existing procedure.
  • the SN of the PDCP PDU1 is 1, the SN of the PDCP PDU2 is 2, and the SN of the PDCP PDU3 is 3.
  • the PDCP PDU3 After the PDCP PDU3 is generated by the terminal device, the PDCP PDU corresponding to the PDCP data packet with the highest priority is detected as the PDCP PDU3.
  • the PDCP entity of the terminal device first sends the PDCP PDU3 to the RLC entity, and then sends the PDCP PDU1 and the PDCP PDU2 to the same RLC entity, and is sent by the RLC entity to the access network device. That is, the PDCP PDU3 with the SN of 3 is transmitted first, then the PDCP PDU1 with the SN of 1 is transmitted, and the PDCP PDU 2 with the SN of 2 is transmitted.
  • the access network device receives indication information from the core network device. If the indication information indicates that the access network device is allowed to reorder the PDCP data packets that are received out of order by the same radio bearer, the PDCP entity 1 of the access network device receives the PDCP PDU3 and the PDCP in sequence in a reordering window. After PDU1 and PDCP PDU2, PDCP PDU3, PDCP PDU1, and PDCP PDU2 are reordered in order of SN being small to large. Since the SN of the PDCP PDU1 is 1, the SN of the PDCP PDU2 is 2, and the SN of the PDCP PDU3 is 3. Therefore, the PDCP entity 1 of the access network device ranks the PDCP PDU1 in the first place and the PDCP PDU2 in the second place. The PDCP PDU3 is placed in the third place.
  • the PDCP data packet can be reordered when receiving the out-of-order PDCP data packet, instead of reordering the PDCP data packet at any time.
  • the receiving end receives the PDCP sent by the sending end.
  • the SN of the PDCP PDU does not need to be reordered.
  • the PDCP SDU is directly passed to the upper layer, for example, the upper layer can be an application layer.
  • the lower edge variable RX_DELIV of the receiving end window of the receiving end can be updated according to the reordering timer.
  • one PDCP PDU corresponds to a COUNT value, which is a value consisting of the SN of the PDCP PDU and the superframe number HFN.
  • the lower edge variable RX_DELIV should be updated to the COUNT value of the PDCP SDU that triggered the reordering timer, ie, the RX_REORD should be updated to the COUNT value of the PDCP SDU that is continuously delivered to the last position of the upper layer.
  • the initial RX_DELIV is RX_DELIV before packet 0. If packet 0 or packet 3 is not received, the reordering timer is triggered to start timing when the packet 6 is received. At this time, since RX_DELIV+1 is not received, that is, packet 0 is not received, the initial RX_DELIV is updated to the COUNT value corresponding to packet 6, and the COUNT value corresponding to packet 6 is RX_DELIV_2.
  • the initial RX_DELIV can be updated to the COUNT value of the PDCP SDU that is continuously delivered to the last position of the upper layer starting from RX_DELIV+1.
  • RX_DELIV+1 is received, that is, the packet 0 is not received as shown in FIG. 12, the initial RX_DELIV is updated to the COUNT value corresponding to the packet 2, and the COUNT value corresponding to the packet 2 is RX_DELIV_1.
  • the embodiment of the present invention may divide the function module into the device according to the foregoing method example.
  • each function module may be divided according to each function, or two or more functions may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present invention is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • FIG. 13 is a transmitting end provided by an implementation of the present invention.
  • the sending end includes: an obtaining module 1301 and a sending module 1302. among them:
  • the obtaining module 1301 is configured to acquire at least two PDCP data packets by the same packet data convergence protocol PDCP entity in one radio bearer, and the sending module 1302 is further configured to use the same radio link layer control protocol RLC entity corresponding to the PDCP entity.
  • the PDCP data packet with the highest priority among the at least two PDCP data packets is sent first, and then the PDCP data packets with the lower priority among the at least two PDCP data packets are sent.
  • the sequence number SN of the PDCP packet with a high priority is before the SN of the PDCP packet with a lower priority.
  • the at least two PDCP data packets include the first PDCP data packet and the second PDCP data packet, and the first PDCP data packet has a higher priority than the second PDCP data packet.
  • the processing module 1302 is configured to allocate a first SN to the first PDCP data packet, and the processing module 1302 is further configured to re-allocate the second SN to the second PDCP data packet, where the first SN is smaller than the second SN, and the communication module 1301 is configured to the PDCP entity.
  • the corresponding radio link layer control protocol RLC entity first sends a PDCP data packet with a high priority among the at least two PDCP data packets, and then sends a PDCP data packet with a low priority among the at least two PDCP data packets.
  • the at least two PDCP data packets are sent to the same RLC entity in the order of the first SN and the second SN.
  • the obtained at least two PDCP data packets are at least two packet data convergence protocol service data units (PDCPs), and the sending end may further include a processing module, configured to determine a PDCP with a high priority among the at least two PDCP SDUs.
  • PDCPs packet data convergence protocol service data units
  • the manner of the PDCP data packet with a lower priority in the data packet is specifically: the sending module 1302 is configured to first send the packet data convergence protocol protocol data unit PDCP PDU generated by the PDCP SDU with high priority to the same RLC entity, and then send the priority by using the PDCP PDU. PDCP PDU generated by a low PDCP SDU.
  • the at least two PDCP data packets are PDCP data packets acquired within a preset time in a buffer of the sending end, or the at least two PDCP data packets are obtained in a preset amount within a buffer of the sending end. .
  • the sending end is a terminal device
  • the communications module 1301 is further configured to: first send a PDCP data packet with a high priority among the at least two PDCP data packets to the same radio link layer control protocol RLC entity corresponding to the PDCP entity, and then Before transmitting the PDCP data packet with the lower priority of the at least two PDCP data packets, the indication information sent by the access network device is used to indicate that the same RLC entity corresponding to the PDCP entity is allowed to send at least two PDCP data packets first. A medium-priority PDCP packet is sent, and then a PDCP packet with a lower priority among at least two PDCP packets is sent.
  • the indication message is a radio resource control RRC configuration message, or the indication message is a PDCP indication message, or the indication message is a medium access control protocol MAC indication message.
  • FIG. 14 is a receiving end provided by an implementation of the present invention.
  • the receiving end includes a communication module 1401 and a processing module 1402. among them:
  • the communication module 1401 is configured to receive indication information from the first device, where the indication information is used to indicate that the packet data convergence protocol PDCP data packet that is sent out by the transmitting end by the same radio bearer is reordered; the communication module 1401 further The PDCP data packet is sent by the same PDCP entity in the out-of-order manner by the same radio bearer.
  • the processing module 1402 is configured to reorder the PDCP data packets sent out of order by the same PDCP entity.
  • the receiving end is a terminal device, and the first device and the sending end are access network devices.
  • the receiving end is an access network device, and the first device is a core network device CN, and the sending end is a terminal device.
  • the indication message is a radio resource control RRC configuration message, or the indication message is a PDCP indication message, or the indication message is a medium access control protocol MAC indication message.
  • FIG. 15 is a schematic structural diagram of a transmitting end according to an embodiment of the present application.
  • the transmitting end 1500 includes a processor 1501, a memory 1502, and a communication interface 1503.
  • the processor 1501, the memory 1502 and the communication interface 1503 are connected.
  • the processor 1501 may be a central processing unit (CPU), a general-purpose processor, a coprocessor, a digital signal processor (DSP), or an application-specific integrated circuit (ASIC). , field programmable gate array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof.
  • the processor 1501 can also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication interface 1503 is used to implement communication with other network elements (such as the receiving end).
  • the processor 1501 invokes the program code stored in the memory 1502, and may perform the steps performed by the transmitting end described in FIG. 5 in the foregoing method embodiment, or other steps performed by the transmitting end in the method embodiment.
  • FIG. 16 is a schematic structural diagram of a receiving end according to an embodiment of the present application.
  • the receiving end 1600 includes a processor 1601, a memory 1602, and a communication interface 1603.
  • the processor 1601, the memory 1602, and the communication interface 1603 are connected.
  • the processor 1601 may be a central processing unit (CPU), a general-purpose processor, a coprocessor, a digital signal processor (DSP), or an application-specific integrated circuit (ASIC). , field programmable gate array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof.
  • the processor 1601 can also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication interface 1603 is configured to implement communication with other network elements (such as a transmitting end).
  • the processor 1601 calls the program code stored in the memory 1602, and can perform the steps performed by the receiving end described in FIG. 9 in the foregoing method embodiment, or other steps performed by the receiving end in the method embodiment.
  • the transmitting end chip implements the function of the transmitting end in the foregoing method embodiment.
  • the transmitting end chip sends the first information to other modules in the transmitting end, such as the radio frequency module or the antenna, and receives the second information from other modules in the transmitting end.
  • the first information is sent to the receiving end by other modules of the transmitting end, and the second information is sent by the receiving end to the transmitting end.
  • the receiving end chip implements the function of the receiving end in the foregoing method embodiment.
  • the receiving end chip receives the first information from other modules in the receiving end, such as a radio frequency module or an antenna, and sends the second information to other modules in the receiving end.
  • the first information is sent by the sending end to the receiving end, and the second information is sent to the sending end.
  • the first information and the second information herein do not specifically refer to a certain type of information, and are only used to characterize the communication mode between the chip and other modules.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in or transmitted by a computer readable storage medium.
  • the computer instructions can be from a website site, computer, server or data center to another website site by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) Transfer from a computer, server, or data center.
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a Solid State Disk (SSD)) or the like.
  • each device provided in the embodiment of the present application is similar to the method embodiment of the present application. Therefore, the implementation of each device may refer to the implementation of the method, and is not described here.

Landscapes

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

Abstract

Disclosed in embodiments of the present application are a data processing method and a related device. The method is applied at a transmitting end, and comprises: receiving at least two packet data convergence protocol (PDCP) data packets at one PDCP entity in a radio bearer; and first transmitting a PDCP data packet with a higher priority in the at least two PDCP data packets and then transmitting a PDCP data packet with a lower priority in the at least two PDCP data packets to one radio link control (RLC) entity corresponding to the PDCP entity. The method described in the embodiments of the present application facilitates timely transmitting a data packet with a higher priority in the same radio bearer to a receiving end.

Description

一种数据处理方法及相关设备Data processing method and related equipment 技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种数据处理方法及相关设备。The present application relates to the field of communications technologies, and in particular, to a data processing method and related devices.
背景技术Background technique
移动通信技术已经深刻地改变了人们的生活,但人们对更高性能的移动通信技术的追求从未停止。通常在第五代(the fifth generation,5G)通信系统中具有如图1所示的无线接口协议栈。如图1所示,在发送端和接收端该无线接口协议栈均包括分组数据汇聚协议(packet data convergence protocol,PDCP)层、无线链路层控制协议(radio link control,RLC)层、媒体介入控制(media access control,MAC)层和物理层(physical layer,PHY)层。图1以终端设备为发送端,接入网设备为接收端为例。数据包依次从终端设备的PDCP层传输至RLC层,再由RLC层传输至MAC层,再由MAC层传输至PHY层,最后在空口发送至接入网设备。接入网设备为发送端,终端设备为接收端同理。Mobile communication technology has profoundly changed people's lives, but the pursuit of higher performance mobile communication technology has never stopped. Typically, in the fifth generation (5G) communication system, there is a radio interface protocol stack as shown in FIG. As shown in FIG. 1, the radio interface protocol stack includes a packet data convergence protocol (PDCP) layer, a radio link control protocol (RLC) layer, and media intervention at both the transmitting end and the receiving end. A media access control (MAC) layer and a physical layer (PHY) layer. Figure 1 shows an example where the terminal device is the transmitting end and the access network device is the receiving end. The data packet is transmitted from the PDCP layer of the terminal device to the RLC layer in turn, and then transmitted to the MAC layer by the RLC layer, then transmitted to the PHY layer by the MAC layer, and finally sent to the access network device in the air interface. The access network device is the transmitting end, and the terminal device is the receiving end.
通常发送端的PDCP实体对接收到的数据包会经过如图2所示的处理流程。其中:Generally, the PDCP entity of the transmitting end goes through the processing flow shown in FIG. 2 for the received data packet. among them:
201、接收到PDCP服务数据单元(service data unit,SDU)之后,设置一个该PDCP SDU专属的丢弃定时器。其中,PDCP接收到由上层发送的数据称为PDCP SDU。201. After receiving the PDCP service data unit (SDU), set a discard timer exclusive to the PDCP SDU. The PDCP receives the data sent by the upper layer and is called a PDCP SDU.
202、对PDCP SDU对应的PDCP头赋予序列号(serial number,SN)。202. Give a serial number (SN) to the PDCP header corresponding to the PDCP SDU.
203、如果该PDCP SDU是用户面数据,对该PDCP SDU进行IP包头压缩。203. Perform IP header compression on the PDCP SDU if the PDCP SDU is user plane data.
204、对该PDCP SDU进行完整性保护。204. Perform integrity protection on the PDCP SDU.
205、对该PDCP SDU进行加密。205. Encrypt the PDCP SDU.
206、将PDCP Header添加到该PDCP SDU生成PDCP协议数据单元(protocol data unit,PDU)。206. Add a PDCP Header to the PDCP SDU to generate a PDCP protocol data unit (PDU).
207、发送该PDCP PDU到RLC层。207. Send the PDCP PDU to the RLC layer.
通常发送端和接收端之间会传输不同优先级的数据。例如,发送端和接收端之间会传输重要数据(critical data,CD)和非重要数据(non-critical data,NCD),重要数据的优先级高于非重要数据的优先级。以发送端和接收端之间传输视频帧为例。完整编码的视频帧叫I帧,也可表示为关键帧。参考之前的I帧生成的只包含差异部分编码的视频帧叫P帧。还有一种参考前后的帧编码的帧叫B帧,B帧是双向差别帧,也就是B帧记录的是本帧与前后帧的差别。I帧以及一些控制帧,对接收端的视频播放质量影响较大。因此,I帧以及一些控制帧为重要数据。P帧以及B帧,对接收端的视频播放质量影响较小。因此,P帧以及B帧为非重要数据。Usually, data of different priorities is transmitted between the sender and the receiver. For example, critical data (CD) and non-critical data (NCD) are transmitted between the sender and the receiver. The priority of important data is higher than that of non-critical data. Take the example of transmitting a video frame between the sender and the receiver. A fully encoded video frame is called an I frame and can also be represented as a key frame. A video frame generated by referring to the previous I frame and containing only the difference partial coding is called a P frame. Another frame that refers to the frame encoding before and after is called a B frame, and the B frame is a bidirectional difference frame, that is, the B frame records the difference between the current frame and the previous frame. The I frame and some control frames have a great influence on the video playback quality of the receiving end. Therefore, I frames and some control frames are important data. The P frame and the B frame have less influence on the video playback quality of the receiving end. Therefore, the P frame and the B frame are non-critical data.
发送端的PDCP层会对优先级高的数据包设置较长的丢弃定时器,从而保证在拥塞状况时,优先级高的数据包可以在PDCP层停留较长的时间不被丢弃,以保证优先级高的数据包可以成功发送。然而优先级高的数据包对时延的要求一般较高,需要及时地发送优先级高的数据包至接收端。通过设置较长的丢弃定时器只能保证能够将优先级高的数据包成功发送至接收端,并不能保证优先级高的数据包能够及时地发送至接收端。例如,如图3所示,序列号SN1~SN3对应的数据包的优先级低于SN4对应的数据包。SN4对应的数据 包最后才能发送至RLC层,因此,优先级高的数据包不能及时地发送至接收端。The PDCP layer on the sending end sets a long discard timer for packets with high priority, so as to ensure that packets with high priority can stay in the PDCP layer for a long time without being discarded in the case of congestion. High packets can be sent successfully. However, a packet with a high priority has a high requirement for delay, and a packet with a high priority needs to be sent to the receiving end in time. By setting a long discard timer, you can only ensure that packets with high priority are successfully sent to the receiver. It is not guaranteed that packets with high priority can be sent to the receiver in time. For example, as shown in FIG. 3, the priority of the data packet corresponding to the sequence numbers SN1 to SN3 is lower than the data packet corresponding to the SN4. The data packet corresponding to SN4 can be sent to the RLC layer at the end. Therefore, the data packet with high priority cannot be sent to the receiving end in time.
发明内容Summary of the invention
本申请实施例提供了一种数据处理方法及相关设备,有利于及时地将同一无线承载中优先级高的数据包发送至接收端。The embodiment of the present application provides a data processing method and related device, which is convenient for transmitting a data packet with a high priority in the same radio bearer to a receiving end in time.
第一方面,本申请实施例提供了一种数据处理方法,应用于发送端,该方法包括:在一个无线承载中的同一个分组数据汇聚协议PDCP实体获取至少两个PDCP数据包;向PDCP实体对应的同一个无线链路层控制协议RLC实体先发送至少两个PDCP数据包中优先级高的PDCP数据包,后发送至少两个PDCP数据包中优先级低的PDCP数据包。In a first aspect, the embodiment of the present application provides a data processing method, which is applied to a sending end, where the method includes: acquiring, by a same packet data convergence protocol, a PDCP entity in a radio bearer, at least two PDCP data packets; to a PDCP entity The corresponding radio link layer control protocol RLC entity first sends a PDCP data packet with a higher priority among the at least two PDCP data packets, and then transmits a PDCP data packet with a lower priority among the at least two PDCP data packets.
可见,通过实施第一方面所描述的方法,有利于及时地将同一无线承载中优先级高的数据包发送至接收端。It can be seen that by implementing the method described in the first aspect, it is advantageous to timely transmit a data packet with a high priority among the same radio bearers to the receiving end.
可选的,优先级高的PDCP数据包分配的序列号SN在优先级低的PDCP数据包分配的SN之前。这样按照SN的顺序,就可先将优先级高的PDCP数据包发送至RLC实体,再将优先级低的PDCP数据包发送至该RLC实体。PDCP实体为PDCP数据包分配一个SN后,设置下一个SN为SN加1,这样保证后先分配的PDCP数据包的SN在后分配PDCP数据包之前。这里优先级高的PDCP数据包分配的SN在优先级低的PDCP数据包分配的SN之前,即为先为优先级高的PDCP数据包分配SN,后为优先级低的PDCP数据包分配SN。Optionally, the sequence number SN of the PDCP packet with a high priority is before the SN of the PDCP packet with a lower priority. In this way, according to the order of the SN, the PDCP data packet with the highest priority is sent to the RLC entity, and the PDCP data packet with the lower priority is sent to the RLC entity. After the PDCP entity allocates an SN for the PDCP data packet, the next SN is set to be 1 for the SN, so that the SN of the PDCP data packet that is allocated first is allocated before the PDCP data packet is allocated. Here, the SN of the PDCP packet with the highest priority is allocated to the SN of the PDCP packet with the lower priority, that is, the SN is allocated for the PDCP packet with the higher priority, and then the SN is allocated for the PDCP packet with the lower priority.
在现有技术中,先获取到的PDCP数据包分配的SN在后获取到的PDCP数据包分配的SN之后。而在该实施方式中,即使优先级高的PDCP数据包比优先级低的PDCP数据包后获取到,最终优先级高的PDCP数据包的SN在优先级低的PDCP数据包的SN之前。因此,该实施方式相较于现有技术,只是将PDCP数据包的处理方式进行了改变,即如何分配PDCP数据包SN发生了改变,但如何传递PDCP数据包至RLC实体的方式相较于现有技术并未改变,都是按照SN的顺序发送PDCP数据包至RLC实体。可见,通过实施该实施方式,能够尽可能的不对现有的流程进行大的更改,便可达到及时地将优先级高的数据包发送至接收端的效果。In the prior art, the SN allocated by the PDCP data packet acquired first is after the SN of the PDCP data packet acquired later. In this embodiment, even if the PDCP packet with the higher priority is acquired after the PDCP packet with the lower priority, the SN of the PDCP packet with the higher priority is before the SN of the PDCP packet with the lower priority. Therefore, compared with the prior art, this embodiment only changes the processing mode of the PDCP data packet, that is, how to allocate the PDCP data packet SN has changed, but how to transmit the PDCP data packet to the RLC entity is compared with the current The technology has not changed, and the PDCP data packets are sent to the RLC entity in the order of the SN. It can be seen that by implementing this embodiment, it is possible to achieve the effect of transmitting a high priority packet to the receiving end in time without making major changes to the existing flow.
可选的,该至少两个PDCP数据包中包含第一PDCP数据包以及第二PDCP数据包,并且第一PDCP数据包的优先级高于第二PDCP数据包的优先级,发送端还可对第一PDCP数据包分配第一SN,并对第二PDCP数据包重新分配第二SN,该第一SN在第二SN之前;相应地,向PDCP实体对应的该同一个RLC实体先发送至少两个PDCP数据包中优先级高的PDCP数据包,后发送至少两个PDCP数据包中优先级低的PDCP数据包的具体实施方式可以为:按照先第一SN后第二SN的顺序将至少两个PDCP数据包发送至该同一个RLC实体。Optionally, the at least two PDCP data packets include the first PDCP data packet and the second PDCP data packet, and the priority of the first PDCP data packet is higher than the priority of the second PDCP data packet, and the sending end may also be The first PDCP packet is allocated a first SN, and the second SN is re-allocated to the second PON, the first SN is before the second SN; correspondingly, the same RLC entity corresponding to the PDCP entity sends at least two The PDCP data packet with a high priority in the PDCP data packet, and the PDCP data packet with a lower priority in the at least two PDCP data packets may be sent in the following manner: at least two in the order of the first SN and the second SN. The PDCP data packets are sent to the same RLC entity.
通过实施该实施方式,可对已经分配SN的优先级低的PDCP数据包重新分配SN,以保证优先级高的PDCP数据包分配的SN在优先级低的PDCP数据包的SN之前。By implementing this embodiment, the SN can be reassigned to the PDCP data packet with the low priority assigned to the SN to ensure that the SN of the PDCP data packet with the higher priority is before the SN of the PDCP data packet with the lower priority.
可选的,PDCP实体获取到第二PDCP数据包之后,PDCP实体就为第二PDCP数据包分配第一SN,并为第一PDCP数据包重新分配第二SN。PDCP实体不必等到预设时间到达再为第二PDCP数据包分配第一SN,或PDCP实体不必等到获取到的PDCP数据包的数 量达到预设数量,再为第二PDCP数据包分配第一SN,并为第一PDCP数据包重新分配第二SN。Optionally, after the PDCP entity obtains the second PDCP data packet, the PDCP entity allocates a first SN for the second PDCP data packet, and re-allocates the second SN for the first PDCP data packet. The PDCP entity does not have to wait for the preset time to arrive and then allocates the first SN for the second PDCP data packet, or the PDCP entity does not have to wait until the number of acquired PDCP data packets reaches a preset number, and then allocates the first SN for the second PDCP data packet. And reallocating the second SN for the first PDCP data packet.
可选的,获取到的至少两个PDCP数据包为至少两个分组数据汇聚协议服务数据单元PDCP SDU,发送端还可确定该至少两个PDCP SDU中优先级高的PDCP SDU和优先级低的PDCP SDU;相应地,向PDCP实体对应的同一个RLC实体先发送至少两个PDCP数据包中优先级高的PDCP数据包,后发送至少两个PDCP数据包中优先级低的PDCP数据包的具体实施方式可以为:向该同一个RLC实体先发送由该优先级高的PDCP SDU生成的分组数据汇聚协议协议数据单元PDCP PDU,后发送由优先级低的PDCP SDU生成的PDCP PDU。Optionally, the obtained at least two PDCP data packets are at least two packet data convergence protocol service data units (PDCP SDUs), and the transmitting end may further determine a PDCP SDU with a higher priority among the at least two PDCP SDUs and a lower priority. Correspondingly, the same RLC entity corresponding to the PDCP entity first transmits a PDCP data packet with a high priority among the at least two PDCP data packets, and then transmits a PDCP data packet with a lower priority of the at least two PDCP data packets. The embodiment may be: first transmitting, to the same RLC entity, a packet data convergence protocol protocol data unit PDCP PDU generated by the high priority PDCP SDU, and then transmitting a PDCP PDU generated by a low priority PDCP SDU.
可见,通过实施该实施方式,发送端不用改变现有的PDCP数据包的处理流程,即先接收到的PDCP数据包分配的SN还是在后接收到的PDCP数据包分配的SN之前。该实施方式不是按照SN的顺序依次发送PDCP PDU。而是将优先级高的PDCP数据包对应的PDCP PDU先发送至RLC实体。可见,通过实施该实施方式,能够尽可能的不对现有的流程进行大的更改,便可达到及时地将优先级高的数据包发送至接收端的效果。It can be seen that, by implementing the implementation manner, the sending end does not need to change the processing flow of the existing PDCP data packet, that is, the SN allocated by the PDCP data packet received first is before the SN allocated by the PDCP data packet received later. This embodiment does not transmit PDCP PDUs sequentially in the order of SN. Instead, the PDCP PDU corresponding to the PDCP packet with the highest priority is sent to the RLC entity first. It can be seen that by implementing this embodiment, it is possible to achieve the effect of transmitting a high priority packet to the receiving end in time without making major changes to the existing flow.
可选的,该至少两个PDCP数据包是发送端的缓存中预设时间之内获取到的PDCP数据包,或该至少两个PDCP数据包是发送端的缓存中在预设数量之内获取到的。通过实施该实施方式,有利于节省CPU资源。Optionally, the at least two PDCP data packets are PDCP data packets acquired within a preset time in a buffer of the sending end, or the at least two PDCP data packets are obtained in a preset amount within a buffer of the sending end. . By implementing this embodiment, it is advantageous to save CPU resources.
可选的,只要生成了优先级高的PDCP数据包对应的PDCP PDU,就可直接将优先级高的PDCP数据包对应的PDCP PDU发送至RLC实体。Optionally, the PDCP PDU corresponding to the PDCP data packet with the highest priority is directly sent to the RLC entity, as long as the PDCP PDU corresponding to the PDCP data packet with the highest priority is generated.
可选的,发送端为终端设备,向PDCP实体对应的同一个无线链路层控制协议RLC实体先发送至少两个PDCP数据包中优先级高的PDCP数据包,后发送至少两个PDCP数据包中优先级低的PDCP数据包之前,发送端还可接收接入网设备发送的指示信息,该指示信息用于指示允许向PDCP实体对应的同一个RLC实体先发送至少两个PDCP数据包中优先级高的PDCP数据包,后发送至少两个PDCP数据包中优先级低的PDCP数据包。Optionally, the sending end is a terminal device, and the same radio link layer control protocol RLC entity corresponding to the PDCP entity first sends the PDCP data packet with the highest priority in the at least two PDCP data packets, and then sends the at least two PDCP data packets. Before the low-priority PDCP data packet, the sending end may further receive the indication information sent by the access network device, where the indication information is used to indicate that the same RLC entity corresponding to the PDCP entity is allowed to send at least two PDCP data packets first. The PDCP data packet of the highest level is sent, and the PDCP data packet with low priority among the at least two PDCP data packets is sent.
通过实施该实施方式,可在有需要时才优先发送优先级高的PDCP数据包。By implementing this embodiment, the PDCP data packets with higher priority can be preferentially transmitted when necessary.
可选的,指示消息为无线资源控制(radio resource control,RRC)配置消息。或指示消息为PDCP指示消息,例如,在PDCP数据包头携带该指示信息,或者设计新的PDCP控制PDU用于指示该消息。或指示消息为MAC指示消息,例如,在MAC数据包头携带该指示信息,或者设计新的MAC控制元素用于指示该消息。Optionally, the indication message is a radio resource control (RRC) configuration message. Or the indication message is a PDCP indication message, for example, the indication information is carried in the PDCP packet header, or a new PDCP Control PDU is designed to indicate the message. Or the indication message is a MAC indication message, for example, the indication information is carried in the MAC packet header, or a new MAC control element is designed to indicate the message.
第二方面,本申请实施例还提供了一种数据处理方法,应用于接收端,该方法包括:接收来自第一设备的指示信息,该指示信息用于指示是否允许对发送端通过同一个无线承载乱序发送的分组数据汇聚协议PDCP数据包进行重排序;若该指示信息用于指示允许对发送端通过同一个无线承载乱序发送的PDCP数据包进行重排序,则在同一个PDCP实体接收发送端通过同一个无线承载乱序发送的PDCP数据包;在同一个PDCP实体对乱序发送的PDCP数据包进行重排序。In a second aspect, the embodiment of the present application further provides a data processing method, which is applied to a receiving end, where the method includes: receiving indication information from a first device, where the indication information is used to indicate whether to allow the transmitting end to pass the same wireless The packet data convergence protocol PDCP data packet transmitted in an out-of-order manner is reordered; if the indication information is used to indicate that the PDCP data packet sent by the transmitting end through the same radio bearer is reordered, the PDCP data packet is received in the same PDCP entity. The PDCP packet sent by the sender through the same radio bearer in an out-of-order manner; the same PDCP entity reorders the PDCP packets sent out of order.
可见,通过实施第二方面所描述的方法,能够在接收到乱序发送的PDCP数据包时,才对PDCP数据包进行重排序,而不是任何时候都对PDCP数据包进行重排序。It can be seen that by implementing the method described in the second aspect, the PDCP data packet can be reordered when receiving the out-of-order PDCP data packet, instead of reordering the PDCP data packet at any time.
可选的,接收端为终端设备,则第一设备和发送端为接入网设备。或者接收端为接入 网设备,则第一设备为核心网设备CN,发送端为终端设备。Optionally, the receiving end is a terminal device, and the first device and the sending end are access network devices. Or the receiving end is an access network device, and the first device is a core network device CN, and the sending end is a terminal device.
可选的,指示消息为RRC配置消息。或指示消息为PDCP指示消息,例如,在PDCP数据包头携带该指示信息,或者设计新的PDCP控制PDU用于指示该消息。或指示消息为MAC指示消息,例如,在MAC数据包头携带该指示信息,或者设计新的MAC控制元素用于指示该消息。Optionally, the indication message is an RRC configuration message. Or the indication message is a PDCP indication message, for example, the indication information is carried in the PDCP packet header, or a new PDCP Control PDU is designed to indicate the message. Or the indication message is a MAC indication message, for example, the indication information is carried in the MAC packet header, or a new MAC control element is designed to indicate the message.
第三方面,提供了一种发送端,该发送端可执行上述第一方面或第一方面可能的实现方式中的方法。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的单元。该单元可以是软件和/或硬件。基于同一发明构思,该发送端解决问题的原理以及有益效果可以参见上述第一方面或第一方面可能的实现方式以及有益效果,重复之处不再赘述。In a third aspect, a sender is provided, which can perform the method in the first aspect or the possible implementation of the first aspect. This function can be implemented in hardware or in hardware by executing the corresponding software. The hardware or software includes one or more units corresponding to the functions described above. The unit can be software and/or hardware. Based on the same inventive concept, the principle and the beneficial effects of the problem at the transmitting end can be referred to the foregoing first aspect or the possible implementation manners and beneficial effects of the first aspect, and the repeated description is not repeated.
第四方面,提供了一种接收端,该接收端可执行上述第二方面或第二方面可能的实现方式中的方法。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的单元。该单元可以是软件和/或硬件。基于同一发明构思,该接收端解决问题的原理以及有益效果可以参见上述第二方面或第二方面可能的实现方式以及有益效果,重复之处不再赘述。In a fourth aspect, a receiving end is provided, which can perform the method in the second aspect or the possible implementation manner of the second aspect. This function can be implemented in hardware or in hardware by executing the corresponding software. The hardware or software includes one or more units corresponding to the functions described above. The unit can be software and/or hardware. Based on the same inventive concept, the principle and the beneficial effects of the problem at the receiving end can be referred to the foregoing second aspect or the possible implementation manner and beneficial effects of the second aspect, and the repeated description is not repeated.
第五方面,提供了一种发送端,该发送端包括:处理器、存储器、通信接口以及一个或多个程序;处理器、通信接口和存储器相连;其中,一个或多个程序被存储在存储器中,该处理器调用存储在该存储器中的程序以实现上述第一方面或第一方面可能的实现方式中的方案,该发送端解决问题的实施方式以及有益效果可以参见上述第一方面或第一方面可能的实现方式以及有益效果,重复之处不再赘述。In a fifth aspect, a transmitting end is provided, the transmitting end comprising: a processor, a memory, a communication interface, and one or more programs; the processor, the communication interface, and the memory are connected; wherein one or more programs are stored in the memory The processor calls the program stored in the memory to implement the solution in the above first aspect or the possible implementation manner of the first aspect, and the implementation manner and the beneficial effects of the problem at the transmitting end can be referred to the first aspect or the foregoing The possible implementations and beneficial effects on the one hand are not repeated here.
第六方面,提供了一种接收端,该接收端包括:处理器、存储器、通信接口以及一个或多个程序;处理器、通信接口和存储器相连;其中,一个或多个程序被存储在存储器中,该处理器调用存储在该存储器中的程序以实现上述第二方面或第二方面可能的实现方式中的方案,该接收端解决问题的实施方式以及有益效果可以参见上述第二方面或第二方面可能的实现方式以及有益效果,重复之处不再赘述。In a sixth aspect, a receiving end is provided, the receiving end comprising: a processor, a memory, a communication interface, and one or more programs; the processor, the communication interface, and the memory are connected; wherein one or more programs are stored in the memory The processor calls the program stored in the memory to implement the solution in the foregoing second aspect or the possible implementation manner of the second aspect, and the implementation manner and the beneficial effects of the receiving end solving the problem can be referred to the second aspect or the foregoing The possible implementations and beneficial effects of the two aspects are not repeated here.
第七方面,提供了一种计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面、第二方面中任一方面的方法或第一方面的任意可选的实现方式或第二方面的任意可选的实现方式。A seventh aspect, a computer program product, when executed on a computer, causes the computer to perform the method of any of the first aspect, the second aspect, or any optional implementation of the first aspect or Any optional implementation of the two aspects.
第八方面,提供了一种发送端的芯片产品,执行上述第一方面或第一方面的任意可能的实现方式中的方法。In an eighth aspect, there is provided a chip product at a transmitting end, which performs the method of any of the above first aspect or any possible implementation of the first aspect.
第九方面,提供了一种接收端的芯片产品,以执行上述第二方面或第二方面的任意可能的实现方式中的方法。In a ninth aspect, a chip product at a receiving end is provided to perform the method of any of the above second aspect or any of the possible implementations of the second aspect.
附图说明DRAWINGS
图1是现有的一种无线接口协议栈的示意图;1 is a schematic diagram of a conventional wireless interface protocol stack;
图2是现有的一种发送端的PDCP实体对接收到的数据包进行数据处理的流程示意图;2 is a schematic flowchart of data processing of a received data packet by a PDCP entity at a transmitting end;
图3是现有的一种发送端的PDCP实体向RLC发送PDCP数据包的示意图;3 is a schematic diagram of a PDCP entity of a transmitting end transmitting a PDCP data packet to an RLC;
图4是本申请实施例提供的一种通信系统的示意图;4 is a schematic diagram of a communication system according to an embodiment of the present application;
图5是本申请实施例提供的一种数据处理方法的流程示意图;FIG. 5 is a schematic flowchart diagram of a data processing method according to an embodiment of the present disclosure;
图6是本申请实施例提供的发送端的PDCP实体向RLC发送PDCP数据包的示意图;6 is a schematic diagram of a PDCP entity at a sending end sending a PDCP data packet to an RLC according to an embodiment of the present disclosure;
图7是本申请实施例提供的又一种发送端的PDCP实体向RLC发送PDCP数据包的示意图;FIG. 7 is a schematic diagram of still another PDCP entity of a sending end sending a PDCP data packet to an RLC according to an embodiment of the present disclosure;
图8是本申请实施例提供的又一种发送端的PDCP实体向RLC发送PDCP数据包的示意图;FIG. 8 is a schematic diagram of still another PDCP entity of a sending end sending a PDCP data packet to an RLC according to an embodiment of the present disclosure;
图9是本申请实施例提供的另一种数据处理方法的流程示意图;FIG. 9 is a schematic flowchart diagram of another data processing method according to an embodiment of the present disclosure;
图10是本申请实施例提供的另一种数据处理方法的流程示意图;FIG. 10 is a schematic flowchart diagram of another data processing method according to an embodiment of the present disclosure;
图11是本申请实施例提供的另一种数据处理方法的流程示意图;FIG. 11 is a schematic flowchart diagram of another data processing method according to an embodiment of the present application;
图12是本申请实施例提供的一种重排序窗口的示意图;FIG. 12 is a schematic diagram of a reordering window according to an embodiment of the present application;
图13是本申请实施例提供的一种发送端的结构示意图;FIG. 13 is a schematic structural diagram of a transmitting end according to an embodiment of the present disclosure;
图14是本申请实施例提供的一种接收端的结构示意图;FIG. 14 is a schematic structural diagram of a receiving end according to an embodiment of the present disclosure;
图15是本申请实施例提供的另一种发送端的结构示意图;FIG. 15 is a schematic structural diagram of another transmitting end according to an embodiment of the present disclosure;
图16是本申请实施例提供的另一种接收端的结构示意图。FIG. 16 is a schematic structural diagram of another receiving end according to an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图对本申请具体实施例作进一步的详细描述。The specific embodiments of the present application are further described in detail below with reference to the accompanying drawings.
本申请实施例提供了一种数据处理方法及相关设备,有利于及时地将优先级高的数据包发送至接收端。The embodiment of the present application provides a data processing method and related device, which is convenient for sending a data packet with a high priority to a receiving end in time.
为了能够更好地理解本申请实施例,下面对本申请实施例可应用的通信系统进行说明。In order to better understand the embodiments of the present application, a communication system to which the embodiments of the present application are applicable will be described below.
图4是本申请实施例提供的一种通信系统的示意图。如图4所示,图4所示,该通信系统包括核心网设备、接入网设备和至少一个终端设备,图4以包括两个终端设备为例。终端设备通过无线的方式与接入网设备相连,接入网设备通过无线或有线方式与核心网设备连接。核心网设备与接入网设备可以是独立的不同的物理设备,也可以是将核心网设备的功能与接入网设备的逻辑功能集成在同一个物理设备上,还可以是一个物理设备上集成了部分核心网设备的功能和部分的接入网设备的功能。终端设备可以是固定位置的,也可以是可移动的。图4只是示意图,该通信系统中还可以包括其它网络设备,如还可以包括无线中继设备和无线回传设备,在图4中未画出。本申请的实施例对该通信系统中包括的核心网设备、接入网设备和终端设备的数量不做限定。4 is a schematic diagram of a communication system provided by an embodiment of the present application. As shown in FIG. 4, the communication system includes a core network device, an access network device, and at least one terminal device. FIG. 4 exemplifies two terminal devices. The terminal device is connected to the access network device in a wireless manner, and the access network device is connected to the core network device through a wireless or wired manner. The core network device and the access network device may be independent physical devices, or may integrate the functions of the core network device with the logical functions of the access network device on the same physical device, or may be integrated on one physical device. The functions of some core network devices and the functions of some access network devices. The terminal device can be fixed or mobile. FIG. 4 is only a schematic diagram, and the communication system may further include other network devices, such as a wireless relay device and a wireless backhaul device, which are not shown in FIG. 4. The embodiment of the present application does not limit the number of core network devices, access network devices, and terminal devices included in the communication system.
接入网设备是终端设备通过无线方式接入到该移动通信系统中的接入设备,可以是网络侧NodeB、演进型网络侧eNodeB、5G移动通信系统中的网络侧、未来移动通信系统中的网络侧或WiFi系统中的接入节点等,本申请的实施例对接入网设备所采用的具体技术和具体设备形态不做限定。The access network device is an access device that the terminal device accesses to the mobile communication system by using a wireless device, and may be a network side NodeB, an evolved network side eNodeB, a network side in a 5G mobile communication system, and a future mobile communication system. The specific technology and the specific device configuration adopted by the access network device are not limited in the embodiment of the present application.
终端设备也可以称为终端Terminal、用户设备(user equipment,UE)、移动台(mobile station,MS)、移动终端(mobile terminal,MT)等。终端设备可以是手机(mobile phone)、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、 智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等等。The terminal device may also be referred to as a terminal terminal, a user equipment (UE), a mobile station (MS), a mobile terminal (MT), and the like. The terminal device can be a mobile phone, a tablet, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, industrial control (industrial control) Wireless terminal, wireless terminal in self driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless in transport safety A terminal, a wireless terminal in a smart city, a wireless terminal in a smart home, and the like.
接入网设备和终端设备可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上;还可以部署在空中的飞机、气球和人造卫星上。本申请的实施例对无线接入网设备和终端设备的应用场景不做限定。Access network equipment and terminal equipment can be deployed on land, indoors or outdoors, hand-held or on-board; they can also be deployed on the water; they can also be deployed on airborne aircraft, balloons and satellites. The application scenarios of the radio access network device and the terminal device are not limited.
本申请的实施例可以适用于下行信号传输,也可以适用于上行信号传输,还可以适用于设备到设备(device to device,D2D)的信号传输。对于下行信号传输,发送设备是接入网设备,对应的接收设备是终端设备。对于上行信号传输,发送设备是终端设备,对应的接收设备是接入网设备。对于D2D的信号传输,发送设备是终端设备,对应的接收设备也是终端设备。本申请的实施例对信号的传输方向不做限定。The embodiments of the present application can be applied to downlink signal transmission, and can also be applied to uplink signal transmission, and can also be applied to device to device (D2D) signal transmission. For downlink signal transmission, the sending device is an access network device, and the corresponding receiving device is a terminal device. For uplink signal transmission, the sending device is a terminal device, and the corresponding receiving device is an access network device. For D2D signal transmission, the transmitting device is a terminal device, and the corresponding receiving device is also a terminal device. The embodiment of the present application does not limit the transmission direction of the signal.
接入网设备和终端设备之间以及终端设备和终端设备之间可以通过授权频谱(licensed spectrum)进行通信,也可以通过免授权频谱(unlicensed spectrum)进行通信,也可以同时通过授权频谱和免授权频谱进行通信。无线接入网设备和终端设备之间以及终端设备和终端设备之间可以通过6吉兆赫(gigahertz,GHz)以下的频谱进行通信,也可以通过6GHz以上的频谱进行通信,还可以同时使用6GHz以下的频谱和6GHz以上的频谱进行通信。本申请的实施例对无线接入网设备和终端设备之间所使用的频谱资源不做限定。The access network device and the terminal device and between the terminal device and the terminal device can communicate through a licensed spectrum, or can communicate through an unlicensed spectrum, or can simultaneously pass the licensed spectrum and the license-free. The spectrum communicates. Communication between the radio access network device and the terminal device and between the terminal device and the terminal device may be performed through a spectrum of 6 gigahertz (GHz) or less, or may be communicated through a spectrum of 6 GHz or higher, or may be used below 6 GHz. The spectrum communicates with the spectrum above 6 GHz. The embodiment of the present application does not limit the spectrum resources used between the radio access network device and the terminal device.
下面进一步对本申请所提供的数据处理方法及相关设备进行介绍。The data processing method and related devices provided by the present application are further described below.
请参见图5,图5是本申请实施例提供的一种数据处理方法。如图5所示,该数据处理方法包括如下501和502部分,其中:Referring to FIG. 5, FIG. 5 is a data processing method provided by an embodiment of the present application. As shown in FIG. 5, the data processing method includes the following sections 501 and 502, wherein:
501、发送端在一个无线承载中的同一个PDCP实体获取至少两个PDCP数据包。501. The sender obtains at least two PDCP data packets by the same PDCP entity in one radio bearer.
502、发送端向该PDCP实体对应的同一个RLC实体先发送该至少两个PDCP数据包中优先级高的PDCP数据包,后发送该至少两个PDCP数据包中优先级低的PDCP数据包。502. The sending end sends, to the same RLC entity corresponding to the PDCP entity, a PDCP data packet with a high priority among the at least two PDCP data packets, and then sends a PDCP data packet with a lower priority among the at least two PDCP data packets.
其中,发送端可以是终端设备或接入网设备。当发送端为终端设备时,接收端为接入网设备,当发送端为接入网设备时,接收端为终端设备。The sending end may be a terminal device or an access network device. When the transmitting end is a terminal device, the receiving end is an access network device, and when the transmitting end is an access network device, the receiving end is a terminal device.
该至少两个PDCP数据包可以是从上层(如应用层)获取到的。其中,PDCP实体获取到由上层(如应用层)发送的PDCP数据包的格式为PDCP SDU格式。PDCP实体向RLC实体以PDCP PDU格式发送PDCP数据包。The at least two PDCP data packets may be obtained from an upper layer (such as an application layer). The PDCP entity obtains the format of the PDCP data packet sent by the upper layer (such as the application layer) into the PDCP SDU format. The PDCP entity sends the PDCP packet to the RLC entity in the PDCP PDU format.
其中,该至少两个PDCP数据包中优先级高的PDCP数据包是指传输优先级高的PDCP数据包,即需要及时传输至接收端的PDCP数据包。例如,优先级高的PDCP数据包可以是视频帧中的I帧或一些控制帧。优先级低的PDCP数据包可以是视频帧中的P帧或B帧。The PDCP data packet with a high priority among the at least two PDCP data packets refers to a PDCP data packet with a high priority, that is, a PDCP data packet that needs to be transmitted to the receiving end in time. For example, a PDCP packet with a high priority may be an I frame or some control frame in a video frame. A PDCP packet with a lower priority may be a P frame or a B frame in a video frame.
可选的,该至少两个PDCP数据包的优先级可以是PDCP实体识别到的,或由应用层识别到之后,通知PDCP实体的。Optionally, the priority of the at least two PDCP data packets may be identified by the PDCP entity or notified by the application layer to notify the PDCP entity.
其中,发送端的PDCP层可包括多个PDCP实体,发送端的RLC层可包括多个RLC实体。至少两个PDCP数据包是同一个PDCP实体接收到的,该至少两个PDCP数据包是发送至同一个RLC实体的。The PDCP layer of the transmitting end may include multiple PDCP entities, and the RLC layer of the transmitting end may include multiple RLC entities. At least two PDCP data packets are received by the same PDCP entity, and the at least two PDCP data packets are sent to the same RLC entity.
举例来说,发送端的PDCP层包括PDCP实体1和PDCP实体2,发送端的RLC层包括RLC实体1和RLC实体2。PDCP实体1和RLC实体1是属于一个无线承载。PDCP实体2和RLC实体2是属于另一个无线承载。For example, the PDCP layer of the transmitting end includes the PDCP entity 1 and the PDCP entity 2, and the RLC layer of the transmitting end includes the RLC entity 1 and the RLC entity 2. The PDCP entity 1 and the RLC entity 1 belong to one radio bearer. The PDCP entity 2 and the RLC entity 2 belong to another radio bearer.
PDCP实体1接收到PDCP数据包1和PDCP数据包2。PDCP数据包1的优先级高于PDCP数据包2的优先级。PDCP实体1先将PDCP数据包1发送至RLC实体1,再将PDCP数据包2发送至RLC实体1。同理,PDCP实体2接收到PDCP数据包3和PDCP数据包4。PDCP数据包3的优先级高于PDCP数据包4的优先级。PDCP实体2先将PDCP数据包3发送至RLC实体2,再将PDCP数据包4发送至RLC实体2。The PDCP entity 1 receives the PDCP packet 1 and the PDCP packet 2. The priority of PDCP packet 1 is higher than the priority of PDCP packet 2. The PDCP entity 1 first transmits the PDCP data packet 1 to the RLC entity 1, and then transmits the PDCP data packet 2 to the RLC entity 1. Similarly, the PDCP entity 2 receives the PDCP packet 3 and the PDCP packet 4. The priority of PDCP packet 3 is higher than the priority of PDCP packet 4. The PDCP entity 2 first transmits the PDCP data packet 3 to the RLC entity 2, and then transmits the PDCP data packet 4 to the RLC entity 2.
可见,通过实施图5所描述的方法,在一个无线承载中可以先将优先级高的数据包传输至接收端,再将优先级低的数据包传输至接收端。可见,通过实施图5所描述的方法,有利于及时地将同一无线承载中优先级高的数据包发送至接收端。It can be seen that, by implementing the method described in FIG. 5, in a radio bearer, a data packet with a high priority can be transmitted to the receiving end, and then a data packet with a low priority is transmitted to the receiving end. It can be seen that by implementing the method described in FIG. 5, it is advantageous to timely transmit a data packet with a high priority among the same radio bearers to the receiving end.
可选的,该至少两个PDCP数据包是发送端的缓存中预设时间之内获取到的PDCP数据包。也就是说,PDCP实体是以预设时间为周期,向同一个RLC实体先发送优先级高的PDCP数据包,后发送优先级低的PDCP数据包。Optionally, the at least two PDCP data packets are PDCP data packets acquired within a preset time in a buffer of the sending end. That is to say, the PDCP entity sends a PDCP data packet with a high priority to the same RLC entity in a preset time period, and then transmits a PDCP data packet with a low priority.
举例来说,PDCP实体在第一个2ms之内从上层获取到PDCP数据包1、PDCP数据包2和PDCP数据包3。PDCP实体先发送优先级高的PDCP数据包2和PDCP数据包3至RLC实体,再发送优先级低的PDCP数据包1至同一个RLC实体。PDCP实体在第二个2ms之内从上层获取到PDCP数据包4、PDCP数据包5和PDCP数据包6。PDCP实体先发送优先级高的PDCP数据包5和PDCP数据包6至RLC实体,再发送优先级低的PDCP数据包4至同一个RLC实体。For example, the PDCP entity acquires PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3 from the upper layer within the first 2 ms. The PDCP entity first transmits the PDCP data packet 2 with the highest priority and the PDCP data packet 3 to the RLC entity, and then transmits the PDCP data packet 1 with the lower priority to the same RLC entity. The PDCP entity acquires PDCP packet 4, PDCP packet 5, and PDCP packet 6 from the upper layer within the second 2 ms. The PDCP entity first transmits the PDCP packet 5 with high priority and the PDCP packet 6 to the RLC entity, and then transmits the PDCP packet 4 with the lower priority to the same RLC entity.
可选的,该至少两个PDCP数据包是发送端的缓存中在预设数量之内获取到的。Optionally, the at least two PDCP data packets are obtained in a preset number of buffers in the sending end.
举例来说,该预设数量为3,PDCP实体从上层获取到PDCP数据包1、PDCP数据包2和PDCP数据包3之后,PDCP实体先发送优先级高的PDCP数据包2和PDCP数据包3至RLC实体,再发送优先级低的PDCP数据包1至同一个RLC实体。PDCP实体获取到PDCP数据包4、PDCP数据包5和PDCP数据包6之后,PDCP实体先发送优先级高的PDCP数据包5和PDCP数据包6至RLC实体,再发送优先级低的PDCP数据包4至同一个RLC实体。For example, the preset number is 3. After the PDCP entity obtains the PDCP data packet 1, the PDCP data packet 2, and the PDCP data packet 3 from the upper layer, the PDCP entity first sends the PDCP data packet 2 and the PDCP data packet 3 with high priority. To the RLC entity, the PDCP packet 1 with a lower priority is sent to the same RLC entity. After the PDCP entity obtains the PDCP data packet 4, the PDCP data packet 5, and the PDCP data packet 6, the PDCP entity first transmits the PDCP data packet 5 and the PDCP data packet 6 to the RLC entity with high priority, and then transmits the PDCP data packet with low priority. 4 to the same RLC entity.
可选的,优先级高的PDCP数据包分配的SN在优先级低的PDCP数据包分配的SN之前。这样按照SN的顺序,如按照SN由小到大的顺序,就可先将优先级高的PDCP数据包发送至RLC实体,再将优先级低的PDCP数据包发送至该RLC实体。PDCP实体为PDCP数据包分配一个SN后,设置下一个SN为SN加1,这样保证后先分配的PDCP数据包的SN在后分配PDCP数据包之前。这里优先级高的PDCP数据包分配的SN在优先级低的PDCP数据包分配的SN之前,即为先为优先级高的PDCP数据包分配SN,后为优先级低的PDCP数据包分配SN。Optionally, the SN of the PDCP packet with a high priority is allocated before the SN of the PDCP packet with a lower priority. In this way, according to the order of the SNs, according to the order that the SNs are small to large, the PDCP data packets with high priority can be sent to the RLC entity, and the PDCP data packets with low priority are sent to the RLC entity. After the PDCP entity allocates an SN for the PDCP data packet, the next SN is set to be 1 for the SN, so that the SN of the PDCP data packet that is allocated first is allocated before the PDCP data packet is allocated. Here, the SN of the PDCP packet with the highest priority is allocated to the SN of the PDCP packet with the lower priority, that is, the SN is allocated for the PDCP packet with the higher priority, and then the SN is allocated for the PDCP packet with the lower priority.
例如,以按照SN由小到大的顺序发送PDCP数据包至RLC实体为例。如图6所示,PDCP数据包3的优先级高于PDCP数据包1和PDCP数据包2的优先级。即使PDCP实体先从上层获取到PDCP数据包1和PDCP数据包2,最后获取到PDCP数据包3,最终分配给PDCP数据包3的SN小于PDCP数据包1和PDCP数据包2的SN。按照SN由小到大的顺序,就可先将优先级高的PDCP数据包3发送至RLC实体,再将优先级低的PDCP数据包1和PDCP数据包2发送至该RLC实体。For example, an example is to transmit a PDCP packet to an RLC entity in order of SN being small to large. As shown in FIG. 6, the priority of PDCP packet 3 is higher than the priorities of PDCP packet 1 and PDCP packet 2. Even if the PDCP entity first acquires the PDCP data packet 1 and the PDCP data packet 2 from the upper layer, and finally acquires the PDCP data packet 3, the SN finally allocated to the PDCP data packet 3 is smaller than the SN of the PDCP data packet 1 and the PDCP data packet 2. According to the order of SN from small to large, the PDCP data packet 3 with high priority can be sent to the RLC entity, and then the PDCP data packet 1 and the PDCP data packet 2 with low priority are sent to the RLC entity.
在现有技术中,先获取到的PDCP数据包分配的SN在后获取到的PDCP数据包分配 的SN之前。而在该实施方式中,即使优先级高的PDCP数据包比优先级低的PDCP数据包后获取到,最终优先级高的PDCP数据包的SN在优先级低的PDCP数据包的SN之前。因此,该实施方式相较于现有技术,只是将PDCP数据包的处理方式进行了改变,即如何分配PDCP数据包SN发生了改变,但如何传递PDCP数据包至RLC实体的方式相较于现有技术并未改变,都是按照SN的顺序发送PDCP数据包至RLC实体。可见,通过实施该实施方式,能够尽可能的不对现有的流程进行大的更改,便可达到及时地将同一无线承载中优先级高的数据包发送至接收端的效果。In the prior art, the SN that is first acquired by the PDCP data packet is before the SN of the PDCP data packet that is acquired later. In this embodiment, even if the PDCP packet with the higher priority is acquired after the PDCP packet with the lower priority, the SN of the PDCP packet with the higher priority is before the SN of the PDCP packet with the lower priority. Therefore, compared with the prior art, this embodiment only changes the processing mode of the PDCP data packet, that is, how to allocate the PDCP data packet SN has changed, but how to transmit the PDCP data packet to the RLC entity is compared with the current The technology has not changed, and the PDCP data packets are sent to the RLC entity in the order of the SN. It can be seen that by implementing the implementation manner, it is possible to achieve the effect of transmitting a high priority data packet to the receiving end in the same radio bearer in a timely manner without making major changes to the existing flow.
可选的,该至少两个PDCP数据包中包含第一PDCP数据包以及第二PDCP数据包,并且第一PDCP数据包的优先级高于第二PDCP数据包的优先级,发送端接收第一PDCP数据包之后,还可对第一PDCP数据包分配第一序列号SN,并对第二PDCP数据包重新分配第二SN,该第一SN在第二SN之前。相应地,发送端向PDCP实体对应的同一个RLC实体先发送至少两个PDCP数据包中优先级高的PDCP数据包,后发送至少两个PDCP数据包中优先级低的PDCP数据包的具体实施方式可以为:按照先第一SN后第二SN的顺序将至少两个PDCP数据包发送至RLC层。Optionally, the at least two PDCP data packets include the first PDCP data packet and the second PDCP data packet, and the first PDCP data packet has a higher priority than the second PDCP data packet, and the sending end receives the first After the PDCP data packet, the first PDCP data packet may be assigned a first sequence number SN, and the second PDCP data packet may be reassigned a second SN, the first SN being before the second SN. Correspondingly, the transmitting end sends the PDCP data packet with the highest priority in the at least two PDCP data packets to the same RLC entity corresponding to the PDCP entity, and then sends the PDCP data packet with the lower priority of the at least two PDCP data packets. The method may be: sending at least two PDCP data packets to the RLC layer in the order of the first SN and the second SN.
也就是说,在该实施方式中,PDCP实体先接收到第二PDCP数据包,后接收到第一PDCP数据包。PDCP先为第二PDCP数据包分配了一个SN。在接收到第一PDCP数据包之后,PDCP实体为第一PDCP数据包分配第一SN,对第二PDCP数据包重新分配一个在第一SN之后的第二SN。That is, in this embodiment, the PDCP entity first receives the second PDCP data packet and then receives the first PDCP data packet. The PDCP first allocates an SN for the second PDCP packet. After receiving the first PDCP data packet, the PDCP entity allocates a first SN for the first PDCP data packet, and reallocates a second SN after the first SN for the second PDCP data packet.
例如,以按照SN由小到大的顺序发送PDCP数据包至RLC实体为例。PDCP实体从上层获取到PDCP数据包1和PDCP数据包2。PDCP实体为PDCP数据包1分配了一个SN为1,PDCP实体为PDCP数据包2分配了一个SN为2。在从上层获取到PDCP数据包3之后,由于PDCP数据包3的优先级高于PDCP数据包1和PDCP数据包2的优先级,PDCP实体为PDCP数据包3分配SN为1,对PDCP数据包1重新分配SN为2,对PDCP数据包2重新分配SN为3。这样PDCP数据包3就可在PDCP数据包1和PDCP数据包2之前发送至RLC实体。其中,第一PDCP数据包可以为PDCP数据包1或PDCP数据包2。第二PDCP数据包为PDCP数据包3。For example, an example is to transmit a PDCP packet to an RLC entity in order of SN being small to large. The PDCP entity acquires PDCP packet 1 and PDCP packet 2 from the upper layer. The PDCP entity assigns an SN of 1 to PDCP packet 1, and the PDCP entity assigns an SN of 2 to PDCP packet 2. After acquiring the PDCP data packet 3 from the upper layer, since the priority of the PDCP data packet 3 is higher than the priority of the PDCP data packet 1 and the PDCP data packet 2, the PDCP entity allocates the SN to the PDCP data packet 3 as 1 for the PDCP data packet. 1 Reassign SN to 2, and redistribute SN to PDCP packet 2. Thus PDCP packet 3 can be sent to the RLC entity before PDCP packet 1 and PDCP packet 2. The first PDCP data packet may be PDCP data packet 1 or PDCP data packet 2. The second PDCP packet is a PDCP packet 3.
可选的,PDCP实体获取到第二PDCP数据包之后,PDCP实体就为第二PDCP数据包分配第一SN,并为第一PDCP数据包重新分配第二SN。例如,如图7所示,PDCP实体不必等到预设时间到达再为第二PDCP数据包分配第一SN,或PDCP实体不必等到获取到的PDCP数据包的数量达到预设数量,再为第二PDCP数据包分配第一SN,并为第一PDCP数据包重新分配第二SN。Optionally, after the PDCP entity obtains the second PDCP data packet, the PDCP entity allocates a first SN for the second PDCP data packet, and re-allocates the second SN for the first PDCP data packet. For example, as shown in FIG. 7, the PDCP entity does not have to wait until the preset time arrives to allocate the first SN for the second PDCP data packet, or the PDCP entity does not have to wait until the number of acquired PDCP data packets reaches a preset number, and then the second The PDCP packet allocates a first SN and reassigns a second SN for the first PDCP packet.
如图7所示,以按照SN由小到大的顺序发送PDCP数据包至RLC实体为例。PDCP实体从上层获取到PDCP数据包1和PDCP数据包2。PDCP实体为PDCP数据包1分配了一个SN为1,PDCP实体为PDCP数据包2分配了一个SN为2。在从上层获取到PDCP数据包3之后,由于PDCP数据包3的优先级高于PDCP数据包1和PDCP数据包2的优先级,PDCP实体为PDCP数据包3分配SN为1,对PDCP数据包1重新分配SN为2,对PDCP数据包2重新分配SN为3。在从上层获取到PDCP数据包4之后,由于PDCP数据包4的优先级高于PDCP数据包1和PDCP数据包2的优先级,PDCP实体为PDCP数 据包4分配SN为2,对PDCP数据包1重新分配SN为3,对PDCP数据包2重新分配SN为4。这样PDCP数据包3和PDCP数据包4就可在PDCP数据包1和PDCP数据包2之前发送至RLC实体。其中,第一PDCP数据包可以为PDCP数据包1或PDCP数据包2。第二PDCP数据包可以为PDCP数据包3或PDCP数据包4。As shown in FIG. 7, the PDCP data packet is transmitted to the RLC entity in an order that the SN is small to large. The PDCP entity acquires PDCP packet 1 and PDCP packet 2 from the upper layer. The PDCP entity assigns an SN of 1 to PDCP packet 1, and the PDCP entity assigns an SN of 2 to PDCP packet 2. After acquiring the PDCP data packet 3 from the upper layer, since the priority of the PDCP data packet 3 is higher than the priority of the PDCP data packet 1 and the PDCP data packet 2, the PDCP entity allocates the SN to the PDCP data packet 3 as 1 for the PDCP data packet. 1 Reassign SN to 2, and redistribute SN to PDCP packet 2. After acquiring the PDCP data packet 4 from the upper layer, since the priority of the PDCP data packet 4 is higher than the priority of the PDCP data packet 1 and the PDCP data packet 2, the PDCP entity allocates the SN to the PDCP data packet 4 to 2, for the PDCP data packet. 1 Reassign SN to 3, and reassign SN to PDCP packet 2. Thus, PDCP packet 3 and PDCP packet 4 can be sent to the RLC entity before PDCP packet 1 and PDCP packet 2. The first PDCP data packet may be PDCP data packet 1 or PDCP data packet 2. The second PDCP data packet may be PDCP data packet 3 or PDCP data packet 4.
该至少两个PDCP数据包是发送端的缓存中预设时间之内获取到的PDCP数据包,并且按照SN由小到大的顺序发送PDCP数据包至RLC实体为例。再举例来说,PDCP实体在预设时间之内(如2ms)依次从上层获取到PDCP数据包1、PDCP数据包2和PDCP数据包3。PDCP数据包3的优先级高于PDCP数据1和PDCP数据2。PDCP实体为PDCP数据包1分配了一个SN为1,PDCP实体为PDCP数据包2分配了一个SN为2。由于PDCP数据包3的优先级高于PDCP数据包1和PDCP数据包2的优先级,在2ms到达时,若PDCP数据包3还未分配SN,则PDCP实体为PDCP数据包3首次分配SN为1,对PDCP数据包1重新分配SN为2,对PDCP数据包2重新分配SN为3。这样PDCP数据包3就可在PDCP数据包1和PDCP数据包2之前发送至RLC实体。其中,第一PDCP数据包可以为PDCP数据包1或PDCP数据包2。第二PDCP数据包为PDCP数据包3。The at least two PDCP data packets are PDCP data packets acquired within a preset time in the buffer of the transmitting end, and the PDCP data packets are sent to the RLC entity in an order that the SN is small to large. For another example, the PDCP entity sequentially acquires PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3 from the upper layer within a preset time (eg, 2 ms). The priority of PDCP packet 3 is higher than PDCP data 1 and PDCP data 2. The PDCP entity assigns an SN of 1 to PDCP packet 1, and the PDCP entity assigns an SN of 2 to PDCP packet 2. Since the priority of PDCP data packet 3 is higher than the priority of PDCP data packet 1 and PDCP data packet 2, when 2 ms arrives, if PDCP data packet 3 has not been allocated SN, the PDCP entity allocates SN for PDCP data packet 3 for the first time. 1. Reassign SN to 2 for PDCP packet 1, and reassign SN to 3 for PDCP packet 2. Thus PDCP packet 3 can be sent to the RLC entity before PDCP packet 1 and PDCP packet 2. The first PDCP data packet may be PDCP data packet 1 or PDCP data packet 2. The second PDCP packet is a PDCP packet 3.
该至少两个PDCP数据包是发送端的缓存中在预设数量之内获取到的PDCP数据包,并且按照SN由小到大的顺序发送PDCP数据包至RLC实体为例。再举例来说,预设数量为3,PDCP实体依次从上层获取到PDCP数据包1、PDCP数据包2和PDCP数据包3。PDCP数据包3的优先级高于PDCP数据1和PDCP数据2。PDCP实体为PDCP数据包1分配了一个SN为1,PDCP实体为PDCP数据包2分配了一个SN为2。由于PDCP数据包3的优先级高于PDCP数据包1和PDCP数据包2的优先级,在接收到PDCP数据包3之后,PDCP实体为PDCP数据包3首次分配SN为1,对PDCP数据包1重新分配SN为2,对PDCP数据包2重新分配SN为3。这样PDCP数据包3就可在PDCP数据包1和PDCP数据包2之前发送至RLC实体。其中,第一PDCP数据包可以为PDCP数据包1或PDCP数据包2。第二PDCP数据包为PDCP数据包3。The at least two PDCP data packets are PDCP data packets acquired in a preset number of buffers in the sending end, and the PDCP data packets are sent to the RLC entity in an order that the SN is small to large. For another example, the preset number is 3, and the PDCP entity sequentially acquires PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3 from the upper layer. The priority of PDCP packet 3 is higher than PDCP data 1 and PDCP data 2. The PDCP entity assigns an SN of 1 to PDCP packet 1, and the PDCP entity assigns an SN of 2 to PDCP packet 2. Since the priority of the PDCP data packet 3 is higher than the priority of the PDCP data packet 1 and the PDCP data packet 2, after receiving the PDCP data packet 3, the PDCP entity first allocates the SN to 1 for the PDCP data packet 3, and the PDCP data packet 1 The reassignment SN is 2, and the PDCP packet 2 is reassigned SN to 3. Thus PDCP packet 3 can be sent to the RLC entity before PDCP packet 1 and PDCP packet 2. The first PDCP data packet may be PDCP data packet 1 or PDCP data packet 2. The second PDCP packet is a PDCP packet 3.
当然,若至少两个PDCP数据包是发送端的缓存中预设时间之内获取到的PDCP数据包,当该预设时间到达时,若存在第三PDCP数据包的SN在第四PDCP数据包的SN之后,第三PDCP数据包的优先级高于第四PDCP数据包的优先级,则对第三PDCP数据包和第四PDCP数据包重新分配SN,使第三PDCP数据包的SN在第四PDCP数据包的SN之前。可选的,若该至少两个PDCP数据包中还存在未分配SN的第五PDCP数据包,该第五PDCP数据包的优先级高于第四PDCP数据包的优先级,则也为第五PDCP数据包分配一个SN,使第五PDCP数据包的SN在第四PDCP数据包的SN之前。Of course, if at least two PDCP data packets are PDCP data packets acquired within a preset time in the buffer of the transmitting end, when the preset time arrives, if the SN of the third PDCP data packet exists in the fourth PDCP data packet After the SN, the priority of the third PDCP data packet is higher than the priority of the fourth PDCP data packet, and then the SN is re-allocated to the third PDCP data packet and the fourth PDCP data packet, so that the SN of the third PDCP data packet is in the fourth Before the SN of the PDCP packet. Optionally, if the fifth PDCP data packet of the unassigned SN is still present in the at least two PDCP data packets, the priority of the fifth PDCP data packet is higher than the priority of the fourth PDCP data packet, and is also the fifth The PDCP packet is assigned an SN such that the SN of the fifth PDCP packet precedes the SN of the fourth PDCP packet.
举例来说,以按照SN由小到大的顺序发送PDCP数据包至RLC实体为例。PDCP实体在预设时间之内(如2ms)依次获取到PDCP数据包1、PDCP数据包2和PDCP数据包3。PDCP数据包2和PDCP数据包3的优先级高于PDCP数据包1。PDCP实体为PDCP数据包1分配了一个SN为1,PDCP实体为PDCP数据包2分配了一个SN为2。由于PDCP数据包2的优先级高于PDCP数据包1的优先级,在2ms到达时,PDCP实体为PDCP数据包2重新分配SN为1,由于PDCP数据包3还未分配SN,则对PDCP数据包3分配SN为2,对PDCP数据包1重新分配SN为3。这样PDCP数据包2和PDCP数据包3就可在 PDCP数据包1之前发送至RLC实体。其中,第三PDCP数据包可以为PDCP数据包2,第四PDCP数据包可以为PDCP数据包1,第五PDCP数据包可以为PDCP数据包3。For example, the PDCP data packet is sent to the RLC entity in an order that the SN is small to large. The PDCP entity sequentially acquires PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3 within a preset time (eg, 2 ms). PDCP packet 2 and PDCP packet 3 have higher priority than PDCP packet 1. The PDCP entity assigns an SN of 1 to PDCP packet 1, and the PDCP entity assigns an SN of 2 to PDCP packet 2. Since the priority of PDCP packet 2 is higher than the priority of PDCP packet 1, the PDCP entity reassigns SN to 1 for PDCP packet 2 when 2 ms arrives, and PDCP data for PDCP packet 3 has not been assigned SN. Packet 3 allocates SN to 2, and PDCP packet 1 reassigns SN to 3. Thus PDCP Packet 2 and PDCP Packet 3 can be sent to the RLC entity before PDCP Packet 1. The third PDCP data packet may be the PDCP data packet 2, the fourth PDCP data packet may be the PDCP data packet 1, and the fifth PDCP data packet may be the PDCP data packet 3.
当然,若该至少两个PDCP数据包是发送端的缓存中在预设数量之内获取到的,当该至少两个PDCP数据包的数量达到预设数量时,若存在第三PDCP数据包的SN在第四PDCP数据包的SN之后,第三PDCP数据包的优先级高于第四PDCP数据包的优先级,则对第三PDCP数据包和第四PDCP数据包重新分配SN,使第三PDCP数据包的SN在第四PDCP数据包的SN之前。可选的,若还存在未分配SN的第五PDCP数据包,该第五PDCP数据包的优先级高于第四PDCP数据包的优先级,则也为第五PDCP数据包分配一个SN,使第五PDCP数据包的SN在第四PDCP数据包的SN之前。Of course, if the at least two PDCP data packets are obtained in a buffer of the sending end within a preset number, if the number of the at least two PDCP data packets reaches a preset number, if the SN of the third PDCP data packet exists After the SN of the fourth PDCP data packet, the priority of the third PDCP data packet is higher than the priority of the fourth PDCP data packet, then the SN is re-allocated to the third PDCP data packet and the fourth PDCP data packet, so that the third PDCP is obtained. The SN of the data packet precedes the SN of the fourth PDCP data packet. Optionally, if there is still a fifth PDCP data packet that is not assigned an SN, and the priority of the fifth PDCP data packet is higher than the priority of the fourth PDCP data packet, the fifth PDCP data packet is also allocated an SN, so that The SN of the fifth PDCP packet precedes the SN of the fourth PDCP packet.
举例来说,以按照SN由小到大的顺序发送PDCP数据包至RLC实体为例。预设数量为3,PDCP实体依次从上层获取到PDCP数据包1、PDCP数据包2和PDCP数据包3。PDCP数据包2和PDCP数据包3的优先级高于PDCP数据包1。PDCP实体为PDCP数据包1分配了一个SN为1,PDCP实体为PDCP数据包2分配了一个SN为2。由于PDCP数据包2的优先级高于PDCP数据包1的优先级,在从上层获取到PDCP数据包3时,PDCP实体为PDCP数据包2重新分配SN为1,由于PDCP数据包3还未分配SN,则对PDCP数据包3分配SN为2,对PDCP数据包1重新分配SN为3。这样PDCP数据包2和PDCP数据包3就可在PDCP数据包1之前发送至RLC实体。其中,第三PDCP数据包可以为PDCP数据包2,第四PDCP数据包可以为PDCP数据包1,第五PDCP数据包可以为PDCP数据包3。For example, the PDCP data packet is sent to the RLC entity in an order that the SN is small to large. The preset number is 3, and the PDCP entity sequentially acquires PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3 from the upper layer. PDCP packet 2 and PDCP packet 3 have higher priority than PDCP packet 1. The PDCP entity assigns an SN of 1 to PDCP packet 1, and the PDCP entity assigns an SN of 2 to PDCP packet 2. Since the priority of the PDCP packet 2 is higher than the priority of the PDCP packet 1, when the PDCP packet 3 is acquired from the upper layer, the PDCP entity reassigns the SN to 1 for the PDCP packet 2, since the PDCP packet 3 has not been allocated. For SN, SN is assigned to PDCP packet 3, and SN is 3 for PDCP packet 1. Thus PDCP Packet 2 and PDCP Packet 3 can be sent to the RLC entity before PDCP Packet 1. The third PDCP data packet may be the PDCP data packet 2, the fourth PDCP data packet may be the PDCP data packet 1, and the fifth PDCP data packet may be the PDCP data packet 3.
可选的,获取到的至少两个PDCP数据包为至少两个分组数据汇聚协议服务数据单元PDCP SDU,发送端获取至少两个PDCP数据包之后,发送端还可确定该至少两个PDCP SDU中优先级高的PDCP SDU和优先级低的PDCP SDU。相应地,发送端向PDCP实体对应的同一个RLC实体先发送该至少两个PDCP数据包中优先级高的PDCP数据包,后发送至少两个PDCP数据包中优先级低的PDCP数据包的具体实施方式可以为:向该同一个RLC实体先发送由该优先级高的PDCP SDU生成的分组数据汇聚协议协议数据单元PDCP PDU,后发送由优先级低的PDCP SDU生成的PDCP PDU。Optionally, the obtained at least two PDCP data packets are at least two packet data convergence protocol service data units (PDCP SDUs), and after the transmitting end acquires at least two PDCP data packets, the transmitting end may further determine the at least two PDCP SDUs. A PDCP SDU with a high priority and a PDCP SDU with a low priority. Correspondingly, the transmitting end sends the PDCP data packet with the highest priority among the at least two PDCP data packets to the same RLC entity corresponding to the PDCP entity, and then sends the PDCP data packet with the lower priority of the at least two PDCP data packets. The embodiment may be: first transmitting, to the same RLC entity, a packet data convergence protocol protocol data unit PDCP PDU generated by the high priority PDCP SDU, and then transmitting a PDCP PDU generated by a low priority PDCP SDU.
举例来说,如图8所示,发送端的PDCP实体从上层获取到的该至少两个PDCP数据包依次为PDCP数据包1、PDCP数据包2和PDCP数据包3。发送端的PDCP实体确定优先级高的PDCP SDU为PDCP数据包3对应的PDCP SDU3,优先级低的PDCP SDU为PDCP数据包2对应的PDCP SDU2和PDCP数据包1对应的PDCP SDU1。发送端按照现有的流程生成PDCP SDU1对应的PDCP PDU1、PDCP SDU2对应的PDCP PDU2和PDCP SDU3对应的PDCP PDU3。PDCP PDU1的SN为1,PDCP PDU2的SN为2,PDCP PDU3的SN为3。发送端生成PDCP PDU3之后,先将优先级高的PDCP PDU3发送至RLC实体,再将优先级低的PDCP PDU1和PDCP PDU2发送至同一个RLC实体。即先发送SN为3的PDCP PDU3,再发送SN为1的PDCP PDU1,再发送SN为2的PDCP PDU2。For example, as shown in FIG. 8, the at least two PDCP data packets acquired by the PDCP entity of the transmitting end from the upper layer are, in order, PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3. The PDCP entity at the transmitting end determines that the PDCP SDU with the highest priority is the PDCP SDU3 corresponding to the PDCP data packet 3, and the PDCP SDU with the lower priority is the PDCP SDU2 corresponding to the PDCP data packet 2 and the PDCP SDU1 corresponding to the PDCP data packet 1. The transmitting end generates the PDCP PDU1 corresponding to the PDCP SDU1, the PDCP PDU2 corresponding to the PDCP SDU2, and the PDCP PDU3 corresponding to the PDCP SDU3 according to the existing procedure. The SN of the PDCP PDU1 is 1, the SN of the PDCP PDU2 is 2, and the SN of the PDCP PDU3 is 3. After the PDCP PDU3 is generated by the sender, the PDCP PDU3 with the highest priority is sent to the RLC entity, and the PDCP PDU1 and PDCP PDU2 with the lower priority are sent to the same RLC entity. That is, the PDCP PDU3 with the SN of 3 is transmitted first, then the PDCP PDU1 with the SN of 1 is transmitted, and the PDCP PDU 2 with the SN of 2 is transmitted.
可见,通过实施该实施方式,发送端不用改变现有的PDCP数据包的处理流程,即先获取到的PDCP数据包分配的SN还是在后获取到的PDCP数据包分配的SN之前。该实施方式不是按照SN的顺序依次发送PDCP PDU。而是将优先级高的PDCP数据包对应的PDCP  PDU先发送至RLC实体。可见,通过实施该实施方式,能够尽可能的不对现有的流程进行大的更改,便可达到及时地将优先级高的数据包发送至接收端的效果。It can be seen that, by implementing the implementation manner, the sending end does not need to change the processing flow of the existing PDCP data packet, that is, the SN allocated by the PDCP data packet acquired first is before the SN allocated by the PDCP data packet acquired later. This embodiment does not transmit PDCP PDUs sequentially in the order of SN. Instead, the PDCP PDU corresponding to the PDCP packet with the highest priority is sent to the RLC entity first. It can be seen that by implementing this embodiment, it is possible to achieve the effect of transmitting a high priority packet to the receiving end in time without making major changes to the existing flow.
可选的,只要生成了优先级高的PDCP数据包对应的PDCP PDU,就可直接将优先级高的PDCP数据包对应的PDCP PDU发送至RLC实体。Optionally, the PDCP PDU corresponding to the PDCP data packet with the highest priority is directly sent to the RLC entity, as long as the PDCP PDU corresponding to the PDCP data packet with the highest priority is generated.
举例来说,发送端的PDCP实体依次获取到PDCP数据包1、PDCP数据包2、PDCP数据包3。发送端的PDCP实体确定优先级高的PDCP SDU为PDCP数据包3对应的PDCP SDU3,优先级低的PDCP SDU为PDCP数据包2对应的PDCP SDU2和PDCP数据包1对应的PDCP SDU1。发送端按照现有的流程生成PDCP SDU1对应的PDCP PDU1、PDCP SDU2对应的PDCP PDU2和PDCP SDU3对应的PDCP PDU3。PDCP PDU1的SN为1,PDCP PDU2的SN为2,PDCP PDU3的SN为3。发送端的PDCP实体先将PDCP PDU3发送至RLC实体。发送端的PDCP实体再获取到PDCP数据包4,并确定PDCP数据包4对应的PDCP SDU4为优先级高的PDCP SDU。发送端的PDCP实体生成PDCP SDU4对应的PDCP PDU4之后,先将PDCP PDU4发送至RLC实体。最后,发送端的PDCP实体再将PDCP PDU1和PDCP PDU2发送至同一个RLC实体。For example, the PDCP entity at the transmitting end sequentially acquires PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3. The PDCP entity at the transmitting end determines that the PDCP SDU with the highest priority is the PDCP SDU3 corresponding to the PDCP data packet 3, and the PDCP SDU with the lower priority is the PDCP SDU2 corresponding to the PDCP data packet 2 and the PDCP SDU1 corresponding to the PDCP data packet 1. The transmitting end generates the PDCP PDU1 corresponding to the PDCP SDU1, the PDCP PDU2 corresponding to the PDCP SDU2, and the PDCP PDU3 corresponding to the PDCP SDU3 according to the existing procedure. The SN of the PDCP PDU1 is 1, the SN of the PDCP PDU2 is 2, and the SN of the PDCP PDU3 is 3. The PDCP entity at the transmitting end first sends the PDCP PDU3 to the RLC entity. The PDCP entity at the transmitting end acquires the PDCP data packet 4, and determines that the PDCP SDU4 corresponding to the PDCP data packet 4 is a PDCP SDU with a high priority. After the PDCP entity at the transmitting end generates the PDCP PDU4 corresponding to the PDCP SDU4, the PDCP PDU4 is first sent to the RLC entity. Finally, the PDCP entity at the transmitting end sends the PDCP PDU1 and the PDCP PDU2 to the same RLC entity.
以该至少两个PDCP数据包是发送端的缓存中预设时间之内获取到的PDCP数据包为例。再举例来说,发送端的PDCP实体在预设时间之内(如2ms)依次从上层获取到PDCP数据包1、PDCP数据包2和PDCP数据包3。PDCP数据包3对应的PDCP SDU3和PDCP数据包2对应的PDCP SDU2的优先级高于PDCP数据包1对应的PDCP SDU1。发送端按照现有的流程生成PDCP SDU1对应的PDCP PDU1、PDCP SDU2对应的PDCP PDU2和PDCP SDU3对应的PDCP PDU3。PDCP PDU1的SN为1,PDCP PDU2的SN为2,PDCP PDU3的SN为3。在2ms到达时,发送端的PDCP实体先将PDCP PDU2和PDCP PDU3发送至RLC实体,再将PDCP PDU1发送至同一个RLC实体。For example, the PDCP data packet acquired within a preset time in the buffer of the transmitting end is taken as an example. For another example, the PDCP entity at the transmitting end sequentially acquires PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3 from the upper layer within a preset time (eg, 2 ms). The PDCP SDU3 corresponding to the PDCP data packet 3 and the PDCP SDU2 corresponding to the PDCP data packet 2 have higher priority than the PDCP SDU1 corresponding to the PDCP data packet 1. The transmitting end generates the PDCP PDU1 corresponding to the PDCP SDU1, the PDCP PDU2 corresponding to the PDCP SDU2, and the PDCP PDU3 corresponding to the PDCP SDU3 according to the existing procedure. The SN of the PDCP PDU1 is 1, the SN of the PDCP PDU2 is 2, and the SN of the PDCP PDU3 is 3. Upon arrival of 2 ms, the PDCP entity of the transmitting end first sends PDCP PDU2 and PDCP PDU3 to the RLC entity, and then sends the PDCP PDU1 to the same RLC entity.
以该至少两个PDCP数据包是发送端的缓存中在预设数量之内获取到的为例。再举例来说,预设数量为3,发送端的PDCP实体依次从上层获取到PDCP数据包1、PDCP数据包2和PDCP数据包3。PDCP数据包3对应的PDCP SDU3和PDCP数据包2对应的PDCP SDU2的优先级高于PDCP数据包1对应的PDCP SDU1的优先级。发送端按照现有的流程生成PDCP SDU1对应的PDCP PDU1、PDCP SDU2对应的PDCP PDU2和PDCP SDU3对应的PDCP PDU3。PDCP PDU1的SN为1,PDCP PDU2的SN为2,PDCP PDU3的SN为3。发送端的PDCP实体先将PDCP PDU2和PDCP PDU3发送至RLC实体,再将PDCP PDU1发送至同一个RLC实体。The example in which the at least two PDCP data packets are obtained in a buffer of the transmitting end within a preset number is taken as an example. For example, the preset number is 3, and the PDCP entity at the transmitting end sequentially acquires PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3 from the upper layer. The priority of the PDCP SDU2 corresponding to the PDCP SDU3 and the PDCP data packet 2 of the PDCP data packet 3 is higher than the priority of the PDCP SDU1 corresponding to the PDCP data packet 1. The transmitting end generates the PDCP PDU1 corresponding to the PDCP SDU1, the PDCP PDU2 corresponding to the PDCP SDU2, and the PDCP PDU3 corresponding to the PDCP SDU3 according to the existing procedure. The SN of the PDCP PDU1 is 1, the SN of the PDCP PDU2 is 2, and the SN of the PDCP PDU3 is 3. The PDCP entity at the transmitting end first sends the PDCP PDU2 and the PDCP PDU3 to the RLC entity, and then sends the PDCP PDU1 to the same RLC entity.
可选的,发送端为终端设备,向PDCP实体对应的同一个RLC实体先发送至少两个PDCP数据包中优先级高的PDCP数据包,后发送至少两个PDCP数据包中优先级低的PDCP数据包之前,发送端的PDCP实体还可接收接入网设备发送的指示信息,该指示信息用于指示是否允许向PDCP实体对应的同一个RLC实体先发送至少两个PDCP数据包中优先级高的PDCP数据包,后发送该至少两个PDCP数据包中优先级低的PDCP数据包。若发送端的PDCP实体接收到的指示信息用于指示允许向PDCP实体对应的同一个RLC实体先发送至少两个PDCP数据包中优先级高的PDCP数据包,后发送该至少两个PDCP数据包中优先级低的PDCP数据包,则发送端向PDCP实体对应的同一个RLC实体先发送至 少两个PDCP数据包中优先级高的PDCP数据包,后发送至少两个PDCP数据包中优先级低的PDCP数据包。Optionally, the sending end is a terminal device, and the same RLC entity corresponding to the PDCP entity first sends the PDCP data packet with the highest priority in the at least two PDCP data packets, and then sends the PDCP with the lower priority of the at least two PDCP data packets. Before the data packet, the PDCP entity of the sending end may further receive the indication information sent by the access network device, where the indication information is used to indicate whether to allow the same RLC entity corresponding to the PDCP entity to first send the at least two PDCP data packets with high priority. The PDCP data packet is followed by the PDCP data packet with a lower priority among the at least two PDCP data packets. If the indication information received by the PDCP entity of the transmitting end is used to indicate that the same RLC entity corresponding to the PDCP entity is allowed to first send the PDCP data packet with the highest priority in the at least two PDCP data packets, and then send the at least two PDCP data packets. The PDCP packet with a low priority is sent by the sending end to the same RLC entity corresponding to the PDCP entity, and then the PDCP data packet with the highest priority of the at least two PDCP data packets is sent, and then the low priority of the at least two PDCP data packets is sent. PDCP packet.
可选的,指示消息为无线资源控制(radio resource control,RRC)配置消息。或指示消息为PDCP指示消息,例如,在PDCP数据包头携带该指示信息,或者设计新的PDCP控制PDU用于指示该消息。或指示消息为MAC指示消息,例如,在MAC数据包头携带该指示信息,或者设计新的MAC控制元素用于指示该消息。Optionally, the indication message is a radio resource control (RRC) configuration message. Or the indication message is a PDCP indication message, for example, the indication information is carried in the PDCP packet header, or a new PDCP Control PDU is designed to indicate the message. Or the indication message is a MAC indication message, for example, the indication information is carried in the MAC packet header, or a new MAC control element is designed to indicate the message.
通过实施该实施方式,可在有需要时才优先发送优先级高的PDCP数据包。By implementing this embodiment, the PDCP data packets with higher priority can be preferentially transmitted when necessary.
请参见图9,图9是本申请实施例提供的另一种数据处理方法。如图9所示,该数据处理方法包括如下901~903部分,其中:Referring to FIG. 9, FIG. 9 is another data processing method provided by an embodiment of the present application. As shown in FIG. 9, the data processing method includes the following sections 901 to 903, wherein:
901、接收端接收来自第一设备的指示信息。901. The receiving end receives the indication information from the first device.
902、接收端在同一个PDCP实体接收发送端通过同一个无线承载乱序发送的PDCP数据包。902. The receiving end receives, in the same PDCP entity, a PDCP data packet that is sent out by the sending end through the same radio bearer.
903、接收端在同一个PDCP实体对乱序发送的PDCP数据包进行重排序。903. The receiving end reorders the PDCP data packets sent out of order by the same PDCP entity.
其中,指示信息用于指示是否允许对发送端通过同一个无线承载乱序发送的PDCP数据包进行重排序。若指示信息用于指示允许对发送端通过同一个无线承载乱序发送的PDCP数据包进行重排序,则接收端在同一个PDCP实体接收发送端通过同一个无线承载乱序发送的PDCP数据包之后,在同一个PDCP实体对乱序发送的PDCP数据包进行重排序。The indication information is used to indicate whether to allow reordering of PDCP data packets sent by the sending end by the same radio bearer in an out-of-order manner. If the indication information is used to indicate that the PDCP data packets sent by the transmitting end through the same radio bearer are reordered, the receiving end receives the PDCP data packet that is sent out by the same radio bearer in the same PDCP entity. Reordering PDCP packets sent out of order in the same PDCP entity.
可选的,指示消息为无线资源控制(radio resource control,RRC)配置消息。或指示消息为PDCP指示消息,例如,在PDCP数据包头携带该指示信息,或者设计新的PDCP控制PDU用于指示该消息。或指示消息为MAC指示消息,例如,在MAC数据包头携带该指示信息,或者设计新的MAC控制元素用于指示该消息。Optionally, the indication message is a radio resource control (RRC) configuration message. Or the indication message is a PDCP indication message, for example, the indication information is carried in the PDCP packet header, or a new PDCP Control PDU is designed to indicate the message. Or the indication message is a MAC indication message, for example, the indication information is carried in the MAC packet header, or a new MAC control element is designed to indicate the message.
可选的,如图10所示,接收端为终端设备,第一设备和发送端可以为接入网设备。接入网设备向终端设备发送的指示信息可以是核心网设备(core network,CN)发送至接入网设备的,或者接入网设备向终端设备发送的指示信息可以是接入网设备自己生成,并发送至接入网设备的。图10以接入网设备向终端设备发送的指示信息为核心网设备发送至接入网设备的为例。Optionally, as shown in FIG. 10, the receiving end is a terminal device, and the first device and the sending end may be access network devices. The indication information sent by the access network device to the terminal device may be sent by the core network (CN) to the access network device, or the indication information sent by the access network device to the terminal device may be generated by the access network device itself. And sent to the access network device. FIG. 10 is an example of sending, by the access network device, the indication information sent by the access network device to the access network device.
举例来说,接入网设备的PDCP实体接收到核心网设备发送的用于指示是否允许对发送端通过同一个无线承载乱序发送的PDCP数据包进行重排序的指示信息。接入网设备将该指示信息发送至终端设备。若核心网设备指示允许对接入网设备通过同一个无线承载乱序发送的PDCP数据包进行重排序,则接入网设备的PDCP实体依次接收到PDCP数据包1、PDCP数据包2和PDCP数据包3之后,按照现有的流程生成PDCP数据包1对应的PDCP PDU1、PDCP数据包2对应的PDCP PDU2和PDCP数据包3对应的PDCP PDU3。PDCP PDU1的SN为1,PDCP PDU2的SN为2,PDCP PDU3的SN为3。PDCP数据包3的优先级高于PDCP数据包1和PDCP数据包2的优先级。接入网设备生成PDCP PDU3之后,检测到优先级高的PDCP数据包对应的PDCP PDU为PDCP PDU3。接入网设备的PDCP实体,先将PDCP PDU3发送至RLC实体,再将PDCP PDU1和PDCP PDU2发送至同一个RLC实体,并由RLC实体依次发送至终端设备。即先发送SN为3的PDCP PDU3,再发 送SN为1的PDCP PDU1,再发送SN为2的PDCP PDU2。For example, the PDCP entity of the access network device receives the indication information sent by the core network device to indicate whether to allow the PDCP data packets sent by the sending end to be out of order by the same radio bearer. The access network device sends the indication information to the terminal device. If the core network device indicates that the PDCP data packets that are randomly sent by the access network device through the same radio bearer are reordered, the PDCP entity of the access network device sequentially receives the PDCP data packet 1, the PDCP data packet 2, and the PDCP data. After the packet 3, the PDCP PDU1 corresponding to the PDCP data packet 1, the PDCP PDU2 corresponding to the PDCP data packet 2, and the PDCP PDU3 corresponding to the PDCP data packet 3 are generated according to the existing procedure. The SN of the PDCP PDU1 is 1, the SN of the PDCP PDU2 is 2, and the SN of the PDCP PDU3 is 3. The priority of PDCP packet 3 is higher than the priority of PDCP packet 1 and PDCP packet 2. After the PDCP PDU3 is generated by the access network device, the PDCP PDU corresponding to the PDCP packet with the highest priority is detected as the PDCP PDU3. The PDCP entity of the access network device first sends the PDCP PDU3 to the RLC entity, and then sends the PDCP PDU1 and the PDCP PDU2 to the same RLC entity, and the RLC entity sends the sequence to the terminal device. That is, the PDCP PDU3 with the SN of 3 is sent first, then the PDCP PDU1 with the SN of 1 is sent, and the PDCP PDU2 with the SN of 2 is sent.
终端设备在一个无线承载中的PDCP实体1接收来自接入网设备的指示信息。若该指示信息指示允许终端设备对通过同一个无线承载乱序接收的PDCP数据包进行重排序时,在一个重排序窗口内,终端设备的PDCP实体1依次接收到PDCP PDU3、PDCP PDU1和PDCP PDU2之后,按照SN由小到大的顺序,对PDCP PDU3、PDCP PDU1和PDCP PDU2进行重排序。由于PDCP PDU1的SN为1,PDCP PDU2的SN为2,PDCP PDU3的SN为3,因此,终端设备的PDCP实体1将PDCP PDU1排在第一位,将PDCP PDU2排在第二位,将PDCP PDU3排在第三位。The PDCP entity 1 of the terminal device in a radio bearer receives indication information from the access network device. If the indication information indicates that the terminal device is allowed to reorder the PDCP data packets received out of order by the same radio bearer, the PDCP entity 1 of the terminal device sequentially receives the PDCP PDU3, the PDCP PDU1, and the PDCP PDU2 in a reordering window. Thereafter, PDCP PDU3, PDCP PDU1, and PDCP PDU2 are reordered in order of small to large SN. Since the SN of the PDCP PDU1 is 1, the SN of the PDCP PDU2 is 2, and the SN of the PDCP PDU3 is 3. Therefore, the PDCP entity 1 of the terminal device ranks the PDCP PDU1 in the first place and the PDCP PDU2 in the second place, which will be the PDCP. PDU3 is ranked third.
可选的,如图11所示,接收端为接入网设备,第一设备为核心网设备CN,发送端为终端设备。Optionally, as shown in FIG. 11, the receiving end is an access network device, the first device is a core network device CN, and the sending end is a terminal device.
举例来说,终端设备的PDCP实体依次接收到PDCP数据包1、PDCP数据包2和PDCP数据包3。PDCP数据包3的优先级高于PDCP数据包1和PDCP数据包2的优先级。终端设备按照现有的流程生成PDCP数据包1对应的PDCP PDU1、PDCP数据包2对应的PDCP PDU2和PDCP数据包3对应的PDCP PDU3。PDCP PDU1的SN为1,PDCP PDU2的SN为2,PDCP PDU3的SN为3。终端设备生成PDCP PDU3之后,检测到优先级高的PDCP数据包对应的PDCP PDU为PDCP PDU3。终端设备的PDCP实体,先将PDCP PDU3发送至RLC实体,再将PDCP PDU1和PDCP PDU2发送至同一个RLC实体,并由RLC实体依次发送至接入网设备。即先发送SN为3的PDCP PDU3,再发送SN为1的PDCP PDU1,再发送SN为2的PDCP PDU2。For example, the PDCP entity of the terminal device sequentially receives PDCP data packet 1, PDCP data packet 2, and PDCP data packet 3. The priority of PDCP packet 3 is higher than the priority of PDCP packet 1 and PDCP packet 2. The terminal device generates PDCP PDU1 corresponding to PDCP data packet 1, PDCP PDU2 corresponding to PDCP data packet 2, and PDCP PDU3 corresponding to PDCP data packet 3 according to an existing procedure. The SN of the PDCP PDU1 is 1, the SN of the PDCP PDU2 is 2, and the SN of the PDCP PDU3 is 3. After the PDCP PDU3 is generated by the terminal device, the PDCP PDU corresponding to the PDCP data packet with the highest priority is detected as the PDCP PDU3. The PDCP entity of the terminal device first sends the PDCP PDU3 to the RLC entity, and then sends the PDCP PDU1 and the PDCP PDU2 to the same RLC entity, and is sent by the RLC entity to the access network device. That is, the PDCP PDU3 with the SN of 3 is transmitted first, then the PDCP PDU1 with the SN of 1 is transmitted, and the PDCP PDU 2 with the SN of 2 is transmitted.
接入网设备接收来自核心网设备的指示信息。若该指示信息指示允许接入网设备对通过同一个无线承载乱序接收的PDCP数据包进行重排序时,在一个重排序窗口内,接入网设备的PDCP实体1依次接收到PDCP PDU3、PDCP PDU1和PDCP PDU2之后,按照SN由小到大的顺序,对PDCP PDU3、PDCP PDU1和PDCP PDU2进行重排序。由于PDCP PDU1的SN为1,PDCP PDU2的SN为2,PDCP PDU3的SN为3,因此,接入网设备的PDCP实体1将PDCP PDU1排在第一位,将PDCP PDU2排在第二位,将PDCP PDU3排在第三位。The access network device receives indication information from the core network device. If the indication information indicates that the access network device is allowed to reorder the PDCP data packets that are received out of order by the same radio bearer, the PDCP entity 1 of the access network device receives the PDCP PDU3 and the PDCP in sequence in a reordering window. After PDU1 and PDCP PDU2, PDCP PDU3, PDCP PDU1, and PDCP PDU2 are reordered in order of SN being small to large. Since the SN of the PDCP PDU1 is 1, the SN of the PDCP PDU2 is 2, and the SN of the PDCP PDU3 is 3. Therefore, the PDCP entity 1 of the access network device ranks the PDCP PDU1 in the first place and the PDCP PDU2 in the second place. The PDCP PDU3 is placed in the third place.
可见,通过实施该实施方式,能够在接收到乱序发送的PDCP数据包时,才对PDCP数据包进行重排序,而不是任何时候都对PDCP数据包进行重排序。It can be seen that by implementing the embodiment, the PDCP data packet can be reordered when receiving the out-of-order PDCP data packet, instead of reordering the PDCP data packet at any time.
可选的,若该指示信息指示不允许接收端(如终端设备或接入网设备)对通过同一个无线承载乱序接收的PDCP数据包进行重排序时,接收端接收到发送端发送的PDCP PDU之后,完成对PDCP PDU的解头压缩,解密,完整性保护认证等操作后,不需要按照PDCP PDU的SN进行重新排序。而是直接将PDCP SDU传递给上层,例如,该上层可以是应用层。Optionally, if the indication information indicates that the receiving end (such as the terminal device or the access network device) does not reorder the PDCP data packets received by the same radio bearer in an out-of-order manner, the receiving end receives the PDCP sent by the sending end. After the PDU is completed, after the operations such as decompression, decryption, and integrity protection authentication of the PDCP PDU are completed, the SN of the PDCP PDU does not need to be reordered. Instead, the PDCP SDU is directly passed to the upper layer, for example, the upper layer can be an application layer.
接收端的接收端窗口的下边沿变量RX_DELIV可以根据重排序定时器进行更新。例如,一个PDCP PDU对应一个COUNT值,该COUNT值为由该PDCP PDU的SN以及超帧号HFN组成的数值。当重排序定时器超时的时候,下边沿变量RX_DELIV应该更新为触发重排序定时器计时的PDCP SDU的COUNT值,即RX_REORD应该更新为开始连续递交给上层的最后位置的PDCP SDU的COUNT值。The lower edge variable RX_DELIV of the receiving end window of the receiving end can be updated according to the reordering timer. For example, one PDCP PDU corresponds to a COUNT value, which is a value consisting of the SN of the PDCP PDU and the superframe number HFN. When the reordering timer expires, the lower edge variable RX_DELIV should be updated to the COUNT value of the PDCP SDU that triggered the reordering timer, ie, the RX_REORD should be updated to the COUNT value of the PDCP SDU that is continuously delivered to the last position of the upper layer.
举例来说,如图12所示,初始的RX_DELIV为数据包0之前的RX_DELIV,若未接收到数据包0或数据包3,则在接收到数据包6时会触发重排序定时器开始计时。这时由于未接收到RX_DELIV+1,即未接收到数据包0,则将初始的RX_DELIV更新为数据包6对应的COUNT值,数据包6对应的COUNT值为RX_DELIV_2。For example, as shown in FIG. 12, the initial RX_DELIV is RX_DELIV before packet 0. If packet 0 or packet 3 is not received, the reordering timer is triggered to start timing when the packet 6 is received. At this time, since RX_DELIV+1 is not received, that is, packet 0 is not received, the initial RX_DELIV is updated to the COUNT value corresponding to packet 6, and the COUNT value corresponding to packet 6 is RX_DELIV_2.
另外一种可能的方式是在接收端接收到COUNT值为RX_DELIV+1的PDCP SDU时,初始RX_DELIV可以更新为从RX_DELIV+1开始连续递交到上层的最后位置的PDCP SDU的COUNT值。Another possible way is that when the receiving end receives the PDCP SDU with the COUNT value of RX_DELIV+1, the initial RX_DELIV can be updated to the COUNT value of the PDCP SDU that is continuously delivered to the last position of the upper layer starting from RX_DELIV+1.
举例来说,若接收到RX_DELIV+1,即图12所示的未接收到数据包0,则将初始RX_DELIV更新为数据包2对应的COUNT值,数据包2对应的COUNT值为RX_DELIV_1。For example, if RX_DELIV+1 is received, that is, the packet 0 is not received as shown in FIG. 12, the initial RX_DELIV is updated to the COUNT value corresponding to the packet 2, and the COUNT value corresponding to the packet 2 is RX_DELIV_1.
本发明实施例可以根据上述方法示例对设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present invention may divide the function module into the device according to the foregoing method example. For example, each function module may be divided according to each function, or two or more functions may be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present invention is schematic, and is only a logical function division, and the actual implementation may have another division manner.
请参见图13,图13是本发明实施提供的一种发送端。该发送端包括:获取模块1301和发送模块1302。其中:Referring to FIG. 13, FIG. 13 is a transmitting end provided by an implementation of the present invention. The sending end includes: an obtaining module 1301 and a sending module 1302. among them:
获取模块1301,用于在一个无线承载中的同一个分组数据汇聚协议PDCP实体获取至少两个PDCP数据包;发送模块1302,还用于向PDCP实体对应的同一个无线链路层控制协议RLC实体先发送至少两个PDCP数据包中优先级高的PDCP数据包,后发送至少两个PDCP数据包中优先级低的PDCP数据包。The obtaining module 1301 is configured to acquire at least two PDCP data packets by the same packet data convergence protocol PDCP entity in one radio bearer, and the sending module 1302 is further configured to use the same radio link layer control protocol RLC entity corresponding to the PDCP entity. The PDCP data packet with the highest priority among the at least two PDCP data packets is sent first, and then the PDCP data packets with the lower priority among the at least two PDCP data packets are sent.
可选的,优先级高的PDCP数据包分配的序列号SN在优先级低的PDCP数据包分配的SN之前。Optionally, the sequence number SN of the PDCP packet with a high priority is before the SN of the PDCP packet with a lower priority.
可选的,至少两个PDCP数据包中包含第一PDCP数据包以及第二PDCP数据包,并且第一PDCP数据包的优先级高于第二PDCP数据包的优先级。处理模块1302,用于对第一PDCP数据包分配第一SN;处理模块1302,还用于对第二PDCP数据包重新分配第二SN,第一SN小于第二SN;通信模块1301向PDCP实体对应的同一个无线链路层控制协议RLC实体先发送至少两个PDCP数据包中优先级高的PDCP数据包,后发送至少两个PDCP数据包中优先级低的PDCP数据包的方式具体为:按照先第一SN后第二SN的顺序将该至少两个PDCP数据包发送至该同一个RLC实体。Optionally, the at least two PDCP data packets include the first PDCP data packet and the second PDCP data packet, and the first PDCP data packet has a higher priority than the second PDCP data packet. The processing module 1302 is configured to allocate a first SN to the first PDCP data packet, and the processing module 1302 is further configured to re-allocate the second SN to the second PDCP data packet, where the first SN is smaller than the second SN, and the communication module 1301 is configured to the PDCP entity. The corresponding radio link layer control protocol RLC entity first sends a PDCP data packet with a high priority among the at least two PDCP data packets, and then sends a PDCP data packet with a low priority among the at least two PDCP data packets. The at least two PDCP data packets are sent to the same RLC entity in the order of the first SN and the second SN.
可选的,该获取到的至少两个PDCP数据包为至少两个分组数据汇聚协议服务数据单元PDCP SDU,发送端还可包括处理模块,用于确定至少两个PDCP SDU中优先级高的PDCP SDU和优先级低的PDCP SDU;发送模块1302向PDCP实体对应的同一个无线链路层控制协议RLC实体先发送至少两个PDCP数据包中优先级高的PDCP数据包,后发送至少两个PDCP数据包中优先级低的PDCP数据包的方式具体为:发送模块1302用于向同一个RLC实体先发送由优先级高的PDCP SDU生成的分组数据汇聚协议协议数据单元PDCP PDU,后发送由优先级低的PDCP SDU生成的PDCP PDU。Optionally, the obtained at least two PDCP data packets are at least two packet data convergence protocol service data units (PDCPs), and the sending end may further include a processing module, configured to determine a PDCP with a high priority among the at least two PDCP SDUs. The SDU and the PDCP SDU with a low priority; the sending module 1302 first sends the PDCP data packet with the highest priority in the at least two PDCP data packets to the same radio link layer control protocol RLC entity corresponding to the PDCP entity, and then sends at least two PDCP packets. The manner of the PDCP data packet with a lower priority in the data packet is specifically: the sending module 1302 is configured to first send the packet data convergence protocol protocol data unit PDCP PDU generated by the PDCP SDU with high priority to the same RLC entity, and then send the priority by using the PDCP PDU. PDCP PDU generated by a low PDCP SDU.
可选的,该至少两个PDCP数据包是发送端的缓存中预设时间之内获取到的PDCP数 据包,或该至少两个PDCP数据包是发送端的缓存中在预设数量之内获取到的。Optionally, the at least two PDCP data packets are PDCP data packets acquired within a preset time in a buffer of the sending end, or the at least two PDCP data packets are obtained in a preset amount within a buffer of the sending end. .
可选的,发送端为终端设备,通信模块1301,还用于向PDCP实体对应的同一个无线链路层控制协议RLC实体先发送至少两个PDCP数据包中优先级高的PDCP数据包,后发送至少两个PDCP数据包中优先级低的PDCP数据包之前,接收接入网设备发送的指示信息,指示信息用于指示允许向PDCP实体对应的同一个RLC实体先发送至少两个PDCP数据包中优先级高的PDCP数据包,后发送至少两个PDCP数据包中优先级低的PDCP数据包。Optionally, the sending end is a terminal device, and the communications module 1301 is further configured to: first send a PDCP data packet with a high priority among the at least two PDCP data packets to the same radio link layer control protocol RLC entity corresponding to the PDCP entity, and then Before transmitting the PDCP data packet with the lower priority of the at least two PDCP data packets, the indication information sent by the access network device is used to indicate that the same RLC entity corresponding to the PDCP entity is allowed to send at least two PDCP data packets first. A medium-priority PDCP packet is sent, and then a PDCP packet with a lower priority among at least two PDCP packets is sent.
可选的,指示消息为无线资源控制RRC配置消息,或指示消息为PDCP指示消息,或指示消息为介质接入控制协议MAC指示消息。Optionally, the indication message is a radio resource control RRC configuration message, or the indication message is a PDCP indication message, or the indication message is a medium access control protocol MAC indication message.
请参见图14,图14是本发明实施提供的一种接收端。该接收端包括:通信模块1401和处理模块1402。其中:Referring to FIG. 14, FIG. 14 is a receiving end provided by an implementation of the present invention. The receiving end includes a communication module 1401 and a processing module 1402. among them:
通信模块1401,用于接收来自第一设备的指示信息,该指示信息用于指示允许对发送端通过同一个无线承载乱序发送的分组数据汇聚协议PDCP数据包进行重排序;通信模块1401,还用于在同一个PDCP实体接收发送端通过同一个无线承载乱序发送的PDCP数据包;处理模块1402,用于在同一个PDCP实体对乱序发送的PDCP数据包进行重排序。The communication module 1401 is configured to receive indication information from the first device, where the indication information is used to indicate that the packet data convergence protocol PDCP data packet that is sent out by the transmitting end by the same radio bearer is reordered; the communication module 1401 further The PDCP data packet is sent by the same PDCP entity in the out-of-order manner by the same radio bearer. The processing module 1402 is configured to reorder the PDCP data packets sent out of order by the same PDCP entity.
可选的,接收端为终端设备,则第一设备和发送端为接入网设备。或者,接收端为接入网设备,则第一设备为核心网设备CN,发送端为终端设备。Optionally, the receiving end is a terminal device, and the first device and the sending end are access network devices. Or, the receiving end is an access network device, and the first device is a core network device CN, and the sending end is a terminal device.
可选的,该指示消息为无线资源控制RRC配置消息,或该指示消息为PDCP指示消息,或指示消息为介质接入控制协议MAC指示消息。Optionally, the indication message is a radio resource control RRC configuration message, or the indication message is a PDCP indication message, or the indication message is a medium access control protocol MAC indication message.
请参见图15,图15是本申请实施例公开的一种发送端的结构示意图。如图15所示,该发送端1500包括处理器1501、存储器1502和通信接口1503。其中,处理器1501、存储器1502和通信接口1503相连。Referring to FIG. 15, FIG. 15 is a schematic structural diagram of a transmitting end according to an embodiment of the present application. As shown in FIG. 15, the transmitting end 1500 includes a processor 1501, a memory 1502, and a communication interface 1503. The processor 1501, the memory 1502 and the communication interface 1503 are connected.
其中,处理器1501可以是中央处理器(central processing unit,CPU),通用处理器,协处理器,数字信号处理器(digital signal processor,DSP),专用集成电路(application-specific integrated circuit,ASIC),现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。该处理器1501也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。The processor 1501 may be a central processing unit (CPU), a general-purpose processor, a coprocessor, a digital signal processor (DSP), or an application-specific integrated circuit (ASIC). , field programmable gate array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. The processor 1501 can also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
其中,通信接口1503用于实现与其他网元(如接收端)之间的通信。The communication interface 1503 is used to implement communication with other network elements (such as the receiving end).
其中,处理器1501调用存储器1502中存储的程序代码,可执行上述方法实施例中图5所描述的发送端所执行的步骤,或可执行方法实施例中发送端执行的其他步骤。The processor 1501 invokes the program code stored in the memory 1502, and may perform the steps performed by the transmitting end described in FIG. 5 in the foregoing method embodiment, or other steps performed by the transmitting end in the method embodiment.
请参见图16,图16是本申请实施例公开的一种接收端的结构示意图。如图16所示,该接收端1600包括处理器1601、存储器1602和通信接口1603。其中,处理器1601、存储器1602和通信接口1603相连。Referring to FIG. 16, FIG. 16 is a schematic structural diagram of a receiving end according to an embodiment of the present application. As shown in FIG. 16, the receiving end 1600 includes a processor 1601, a memory 1602, and a communication interface 1603. The processor 1601, the memory 1602, and the communication interface 1603 are connected.
其中,处理器1601可以是中央处理器(central processing unit,CPU),通用处理器,协处理器,数字信号处理器(digital signal processor,DSP),专用集成电路(application-specific  integrated circuit,ASIC),现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。该处理器1601也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。The processor 1601 may be a central processing unit (CPU), a general-purpose processor, a coprocessor, a digital signal processor (DSP), or an application-specific integrated circuit (ASIC). , field programmable gate array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. The processor 1601 can also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
其中,通信接口1603用于实现与其他网元(如发送端)之间的通信。The communication interface 1603 is configured to implement communication with other network elements (such as a transmitting end).
其中,处理器1601调用存储器1602中存储的程序代码,可执行上述方法实施例中图9所描述的接收端所执行的步骤,或可执行方法实施例中接收端执行的其他步骤。The processor 1601 calls the program code stored in the memory 1602, and can perform the steps performed by the receiving end described in FIG. 9 in the foregoing method embodiment, or other steps performed by the receiving end in the method embodiment.
可以理解的是,当本申请的实施例应用于发送端芯片时,该发送端芯片实现上述方法实施例中发送端的功能。该发送端芯片向发送端中的其它模块(如射频模块或天线)发送第一信息,接收来自发送端中的其它模块的第二信息。第一信息经由发送端的其它模块发送给接收端,第二信息是接收端发送给发送端的。当本申请的实施例应用于接收端芯片时,该接收端芯片实现上述方法实施例中接收端的功能。该接收端芯片从接收端中的其它模块(如射频模块或天线)接收第一信息,向接收端中的其它模块发送第二信息。该第一信息是发送端发送给接收端的,第二信息是发送给发送端的。这里的第一信息和第二信息并不特指某一种信息,仅仅用于表征芯片与其它模块的通信方式。It can be understood that when the embodiment of the present application is applied to a transmitting end chip, the transmitting end chip implements the function of the transmitting end in the foregoing method embodiment. The transmitting end chip sends the first information to other modules in the transmitting end, such as the radio frequency module or the antenna, and receives the second information from other modules in the transmitting end. The first information is sent to the receiving end by other modules of the transmitting end, and the second information is sent by the receiving end to the transmitting end. When the embodiment of the present application is applied to a receiving end chip, the receiving end chip implements the function of the receiving end in the foregoing method embodiment. The receiving end chip receives the first information from other modules in the receiving end, such as a radio frequency module or an antenna, and sends the second information to other modules in the receiving end. The first information is sent by the sending end to the receiving end, and the second information is sent to the sending end. The first information and the second information herein do not specifically refer to a certain type of information, and are only used to characterize the communication mode between the chip and other modules.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者通过所述计算机可读存储介质进行传输。所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如,固态硬盘(Solid State Disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in or transmitted by a computer readable storage medium. The computer instructions can be from a website site, computer, server or data center to another website site by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) Transfer from a computer, server, or data center. The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a Solid State Disk (SSD)) or the like.
基于同一发明构思,本申请实施例中提供的各设备解决问题的原理与本申请方法实施例相似,因此各设备的实施可以参见方法的实施,为简洁描述,在这里不再赘述。Based on the same inventive concept, the principle of solving the problem of each device provided in the embodiment of the present application is similar to the method embodiment of the present application. Therefore, the implementation of each device may refer to the implementation of the method, and is not described here.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only for explaining the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present application. range.

Claims (21)

  1. 一种数据处理方法,应用于发送端,其特征在于,所述方法包括:A data processing method is applied to a transmitting end, and the method includes:
    在一个无线承载中的同一个分组数据汇聚协议PDCP实体获取至少两个PDCP数据包;The same packet data convergence protocol PDCP entity in one radio bearer acquires at least two PDCP data packets;
    向所述PDCP实体对应的同一个无线链路层控制协议RLC实体先发送所述至少两个PDCP数据包中优先级高的PDCP数据包,后发送所述至少两个PDCP数据包中优先级低的PDCP数据包。Sending, by the same radio link layer control protocol RLC entity corresponding to the PDCP entity, a PDCP data packet with a high priority among the at least two PDCP data packets, and then transmitting the at least two PDCP data packets with a low priority PDCP packet.
  2. 根据权利要求1所述的方法,其特征在于,所述优先级高的PDCP数据包分配的序列号SN在所述优先级低的PDCP数据包分配的SN之前。The method according to claim 1, wherein the sequence number SN of the PDCP data packet with a high priority is before the SN of the PDCP data packet with a low priority.
  3. 根据权利要求1或2所述的方法,其特征在于,所述至少两个PDCP数据包中包含第一PDCP数据包以及第二PDCP数据包,并且第一PDCP数据包的优先级高于第二PDCP数据包的优先级,所述方法还包括:The method according to claim 1 or 2, wherein the at least two PDCP data packets include a first PDCP data packet and a second PDCP data packet, and the first PDCP data packet has a higher priority than the second PDCP data packet. The priority of the PDCP packet, the method further includes:
    对第一PDCP数据包分配第一SN;Allocating a first SN to the first PDCP data packet;
    对第二PDCP数据包重新分配第二SN,所述第一SN在所述第二SN之前;Reassigning a second SN to the second PDCP data packet, the first SN being before the second SN;
    向所述PDCP实体对应的所述同一个RLC实体先发送所述至少两个PDCP数据包中优先级高的PDCP数据包,后发送所述至少两个PDCP数据包中优先级低的PDCP数据包,包括:Sending, to the same RLC entity corresponding to the PDCP entity, a PDCP data packet with a high priority among the at least two PDCP data packets, and then transmitting a PDCP data packet with a low priority among the at least two PDCP data packets. ,include:
    按照先所述第一SN后所述第二SN的顺序将所述至少两个PDCP数据包发送至所述同一个RLC实体。And transmitting the at least two PDCP data packets to the same RLC entity in the order of the second SN after the first SN.
  4. 根据权利要求1所述的方法,其特征在于,所述获取到的至少两个PDCP数据包为至少两个分组数据汇聚协议服务数据单元PDCP SDU,所述方法还包括:确定所述至少两个PDCP SDU中优先级高的PDCP SDU和优先级低的PDCP SDU;The method according to claim 1, wherein the acquired at least two PDCP data packets are at least two packet data convergence protocol service data units PDCP SDU, the method further comprising: determining the at least two a PDCP SDU with a higher priority and a PDCP SDU with a lower priority in the PDCP SDU;
    所述向所述PDCP实体对应的同一个无线链路层控制协议RLC实体先发送所述至少两个PDCP数据包中优先级高的PDCP数据包,后发送所述至少两个PDCP数据包中优先级低的PDCP数据包,包括:Transmitting, by the same radio link layer control protocol RLC entity corresponding to the PDCP entity, a PDCP data packet with a high priority among the at least two PDCP data packets, and then transmitting the at least two PDCP data packets with a priority Low-level PDCP packets, including:
    向所述同一个RLC实体先发送由所述优先级高的PDCP SDU生成的分组数据汇聚协议协议数据单元PDCP PDU,后发送由优先级低的PDCP SDU生成的PDCP PDU。Transmitting, by the same RLC entity, a packet data convergence protocol protocol data unit PDCP PDU generated by the PDCP SDU with a higher priority, and then transmitting a PDCP PDU generated by a PDCP SDU having a lower priority.
  5. 根据权利要求1~4任意一项所述的方法,其特征在于,所述至少两个PDCP数据包是所述发送端的缓存中预设时间之内获取到的PDCP数据包,或所述至少两个PDCP数据包是所述发送端的缓存中在预设数量之内获取到的。The method according to any one of claims 1 to 4, wherein the at least two PDCP data packets are PDCP data packets acquired within a preset time in a buffer of the transmitting end, or the at least two The PDCP data packets are obtained within a preset amount of the buffer of the transmitting end.
  6. 根据权利要求1~5任意一项所述的方法,其特征在于,所述发送端为终端设备,向所述PDCP实体对应的同一个无线链路层控制协议RLC实体先发送所述至少两个PDCP数据包中优先级高的PDCP数据包,后发送所述至少两个PDCP数据包中优先级低的PDCP数据包之前,所述方法还包括:The method according to any one of claims 1 to 5, wherein the transmitting end is a terminal device, and the at least two are sent to the same radio link layer control protocol RLC entity corresponding to the PDCP entity. Before the PDCP data packet with a high priority in the PDCP data packet is sent, and the PDCP data packet with a low priority among the at least two PDCP data packets is sent, the method further includes:
    接收接入网设备发送的指示信息,所述指示信息用于指示允许向所述PDCP实体对应的同一个RLC实体先发送所述至少两个PDCP数据包中优先级高的PDCP数据包,后发送所述至少两个PDCP数据包中优先级低的PDCP数据包。And receiving the indication information sent by the access network device, where the indication information is used to indicate that the same RLC entity corresponding to the PDCP entity is allowed to first send the PDCP data packet with the highest priority among the at least two PDCP data packets, and then send the a PDCP packet with a lower priority among the at least two PDCP data packets.
  7. 根据权利要求6所述的方法,其特征在于,所述指示消息为无线资源控制RRC配置消息,或所述指示消息为PDCP指示消息,或所述指示消息为介质接入控制协议MAC指示消息。The method according to claim 6, wherein the indication message is a radio resource control RRC configuration message, or the indication message is a PDCP indication message, or the indication message is a medium access control protocol MAC indication message.
  8. 一种数据处理方法,应用于接收端,其特征在于,所述方法包括:A data processing method is applied to a receiving end, and the method includes:
    接收来自第一设备的指示信息,所述指示信息用于指示是否允许对发送端通过同一个无线承载乱序发送的分组数据汇聚协议PDCP数据包进行重排序;Receiving indication information from the first device, where the indication information is used to indicate whether to allow reordering of the packet data convergence protocol PDCP data packet that is sent out by the transmitting end by the same radio bearer;
    若所述指示信息用于指示允许对所述发送端通过同一个无线承载乱序发送的PDCP数据包进行重排序,则在同一个PDCP实体接收发送端通过同一个所述无线承载乱序发送的PDCP数据包;If the indication information is used to indicate that the PDCP data packets that are sent by the transmitting end in the out-of-order manner by the same radio bearer are reordered, the transmitting end of the same PDCP entity is sent out in the same order by the same radio bearer. PDCP data packet;
    在同一个所述PDCP实体对所述乱序发送的PDCP数据包进行重排序。And reordering the out-of-order PDCP data packets by the same PDCP entity.
  9. 根据权利要求8所述的方法,其特征在于,The method of claim 8 wherein:
    所述接收端为终端设备,则所述第一设备和所述发送端为接入网设备;或者,The receiving end is a terminal device, and the first device and the sending end are access network devices; or
    所述接收端为接入网设备,则所述第一设备为核心网设备CN,所述发送端为终端设备。The receiving end is an access network device, and the first device is a core network device CN, and the sending end is a terminal device.
  10. 根据权利要求8或9所述的方法,其特征在于,所述指示消息为无线资源控制RRC配置消息,或所述指示消息为PDCP指示消息,或所述指示消息为介质接入控制协议MAC指示消息。The method according to claim 8 or 9, wherein the indication message is a radio resource control RRC configuration message, or the indication message is a PDCP indication message, or the indication message is a medium access control protocol MAC indication Message.
  11. 一种发送端,其特征在于,所述发送端包括:A transmitting end, wherein the sending end comprises:
    获取模块,用于在一个无线承载中的同一个分组数据汇聚协议PDCP实体获取至少两个PDCP数据包;An acquiring module, configured to acquire at least two PDCP data packets by a PDCP entity of the same packet data convergence protocol in a radio bearer;
    发送模块,还用于向所述PDCP实体对应的同一个无线链路层控制协议RLC实体先发送所述至少两个PDCP数据包中优先级高的PDCP数据包,后发送所述至少两个PDCP数据包中优先级低的PDCP数据包。The sending module is further configured to send, to the same radio link layer control protocol RLC entity corresponding to the PDCP entity, a PDCP data packet with a high priority among the at least two PDCP data packets, and then send the at least two PDCP packets. A PDCP packet with a lower priority in the packet.
  12. 根据权利要求11所述的发送端,其特征在于,所述优先级高的PDCP数据包分配的序列号SN在所述优先级低的PDCP数据包分配的SN之前。The transmitting end according to claim 11, wherein the sequence number SN of the PDCP data packet with a high priority is before the SN of the PDCP data packet with a low priority.
  13. 根据权利要求11或12所述的发送端,其特征在于,所述至少两个PDCP数据包中包含第一PDCP数据包以及第二PDCP数据包,并且第一PDCP数据包的优先级高于第二PDCP数据包的优先级,所述发送端还包括:The transmitting end according to claim 11 or 12, wherein the at least two PDCP data packets include a first PDCP data packet and a second PDCP data packet, and the first PDCP data packet has a higher priority than the first PDCP data packet. The priority of the second PDCP packet, where the sender further includes:
    处理模块,用于对第一PDCP数据包分配第一SN;a processing module, configured to allocate a first SN to the first PDCP data packet;
    所述处理模块,还用于对第二PDCP数据包重新分配第二SN,所述第一SN在所述第二SN之前;The processing module is further configured to reallocate a second SN to the second PDCP data packet, where the first SN is before the second SN;
    所述发送模块用于向所述PDCP实体对应的所述同一个RLC实体先发送所述至少两个PDCP数据包中优先级高的PDCP数据包,后发送所述至少两个PDCP数据包中优先级低的PDCP数据包,具体包括:The sending module is configured to first send, to the same RLC entity corresponding to the PDCP entity, a PDCP data packet with a high priority among the at least two PDCP data packets, and then send the at least two PDCP data packets with a priority. Low-level PDCP packets, including:
    按照先所述第一SN后所述第二SN的顺序将所述至少两个PDCP数据包发送至所述同一RLC实体。And transmitting the at least two PDCP data packets to the same RLC entity in the order of the second SN after the first SN.
  14. 根据权利要求11所述的发送端,其特征在于,所述至少两个PDCP数据包为所述至少两个分组数据汇聚协议服务数据单元PDCP SDU,所述发送端还包括:The sender according to claim 11, wherein the at least two PDCP data packets are the at least two packet data convergence protocol service data units (PDCPs), and the sender further comprises:
    处理模块,用于确定所述至少两个PDCP SDU中优先级高的PDCP SDU和优先级低的PDCP SDU;a processing module, configured to determine a PDCP SDU with a high priority among the at least two PDCP SDUs and a PDCP SDU with a low priority;
    所述发送模块用于向所述PDCP实体对应的同一个无线链路层控制协议RLC实体先发送所述至少两个PDCP数据包中优先级高的PDCP数据包,后发送所述至少两个PDCP数据包中优先级低的PDCP数据包,具体包括:The sending module is configured to first send, to the same radio link layer control protocol RLC entity corresponding to the PDCP entity, a PDCP data packet with a high priority among the at least two PDCP data packets, and then send the at least two PDCP packets. The PDCP packets with low priority in the data packet include:
    所述发送模块用于向所述同一个RLC实体先发送由所述优先级高的PDCP SDU生成的分组数据汇聚协议协议数据单元PDCP PDU,后发送由优先级低的PDCP SDU生成的PDCP PDU。The sending module is configured to send, to the same RLC entity, a packet data convergence protocol protocol data unit PDCP PDU generated by the PDCP SDU with a higher priority, and then send a PDCP PDU generated by a PDCP SDU with a lower priority.
  15. 根据权利要求11~14任意一项所述的发送端,其特征在于,所述至少两个PDCP数据包是所述发送端的缓存中预设时间之内获取到的PDCP数据包,或所述至少两个PDCP数据包是所述发送端的缓存中在预设数量之内获取到的。The transmitting end according to any one of claims 11 to 14, wherein the at least two PDCP data packets are PDCP data packets acquired within a preset time in a buffer of the transmitting end, or the at least Two PDCP data packets are acquired within a preset amount of the buffer of the transmitting end.
  16. 根据权利要求11~14任意一项所述的发送端,其特征在于,所述发送端为终端设备,The transmitting end according to any one of claims 11 to 14, wherein the transmitting end is a terminal device,
    所述通信模块,还用于向所述PDCP实体对应的同一个无线链路层控制协议RLC实体先发送所述至少两个PDCP数据包中优先级高的PDCP数据包,后发送所述至少两个PDCP数据包中优先级低的PDCP数据包之前,接收接入网设备发送的指示信息,所述指示信息用于指示允许向所述PDCP实体对应的同一个RLC实体先发送所述至少两个PDCP数据包中优先级高的PDCP数据包,后发送所述至少两个PDCP数据包中优先级低的PDCP数据包。The communication module is further configured to send, to the same radio link layer control protocol RLC entity corresponding to the PDCP entity, a PDCP data packet with a high priority among the at least two PDCP data packets, and then send the at least two And receiving, by the access network device, the indication information that is sent by the access network device, where the indication information is used to indicate that the at least two the same RLC entity corresponding to the PDCP entity is allowed to send the at least two A PDCP packet with a high priority in the PDCP packet, and then a PDCP packet with a lower priority among the at least two PDCP packets.
  17. 根据权利要求16所述的发送端,其特征在于,所述指示消息为无线资源控制RRC配置消息,或所述指示消息为PDCP指示消息,或所述指示消息为介质接入控制协议MAC指示消息。The transmitting end according to claim 16, wherein the indication message is a radio resource control RRC configuration message, or the indication message is a PDCP indication message, or the indication message is a medium access control protocol MAC indication message. .
  18. 一种接收端,其特征在于,所述接收端包括:A receiving end, wherein the receiving end comprises:
    通信模块,用于接收来自第一设备的指示信息,所述指示信息用于指示是否允许对发 送端通过同一个无线承载乱序发送的分组数据汇聚协议PDCP数据包进行重排序;a communication module, configured to receive indication information from the first device, where the indication information is used to indicate whether to allow reordering of the packet data convergence protocol PDCP data packet sent by the sending end by the same radio bearer;
    所述通信模块,还用于若所述指示信息用于指示允许对所述发送端通过同一个无线承载乱序发送的PDCP数据包进行重排序,则在同一个PDCP实体接收发送端通过同一个所述无线承载乱序发送的PDCP数据包;The communication module is further configured to: if the indication information is used to indicate that the PDCP data packet that is sent out by the sending end by the same radio bearer is reordered, the same PDCP entity receives the sending end through the same Transmitting, by the radio bearer, a PDCP data packet that is sent out of order;
    处理模块,用于在同一个所述PDCP实体对所述乱序发送的PDCP数据包进行重排序。And a processing module, configured to reorder the out-of-order PDCP data packets by the same PDCP entity.
  19. 根据权利要求18所述的接收端,其特征在于,所述接收端为终端设备,则所述第一设备和所述发送端为接入网设备;或者,The receiving end according to claim 18, wherein the receiving end is a terminal device, and the first device and the sending end are access network devices; or
    所述接收端为接入网设备,则所述第一设备为核心网设备CN,所述发送端为终端设备。The receiving end is an access network device, and the first device is a core network device CN, and the sending end is a terminal device.
  20. 根据权利要求18或19所述的接收端,其特征在于,所述指示消息为无线资源控制RRC配置消息,或所述指示消息为PDCP指示消息,或所述指示消息为介质接入控制协议MAC指示消息。The receiving end according to claim 18 or 19, wherein the indication message is a radio resource control RRC configuration message, or the indication message is a PDCP indication message, or the indication message is a medium access control protocol MAC Indicate the message.
  21. 一种包含指令的计算机程序产品,包含程序代码,当所述程序代码在计算机上运行时,使得计算机执行如权利要求1-10中任一项所述的方法。A computer program product comprising instructions, comprising program code, causing a computer to perform the method of any of claims 1-10 when the program code is run on a computer.
PCT/CN2018/096687 2017-08-11 2018-07-23 Data processing method and related device WO2019029350A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710687813.6A CN109392012B (en) 2017-08-11 2017-08-11 Data processing method and related equipment
CN201710687813.6 2017-08-11

Publications (1)

Publication Number Publication Date
WO2019029350A1 true WO2019029350A1 (en) 2019-02-14

Family

ID=65273265

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/096687 WO2019029350A1 (en) 2017-08-11 2018-07-23 Data processing method and related device

Country Status (2)

Country Link
CN (1) CN109392012B (en)
WO (1) WO2019029350A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499932A (en) * 2021-07-02 2022-12-20 华为技术有限公司 Communication method and device
WO2023040901A1 (en) * 2021-09-14 2023-03-23 中国移动通信有限公司研究院 Data transmission method and apparatus, and communication device and readable storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835657A (en) * 2019-04-15 2020-10-27 华为技术有限公司 Method and device for transmitting data
EP4284059A4 (en) * 2021-03-31 2024-01-24 Huawei Tech Co Ltd Data processing apparatus and method
CN116097727A (en) * 2022-09-27 2023-05-09 北京小米移动软件有限公司 Data transmission method, device and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047640A (en) * 2006-06-23 2007-10-03 华为技术有限公司 Radio access bear data transmission method
CN102217365A (en) * 2011-04-12 2011-10-12 华为技术有限公司 Long term evolution base station and method for processing data service thereof
US20140169161A1 (en) * 2012-12-14 2014-06-19 Huawei Technologies Co., Ltd. Method and device for transmitting data
CN104935414A (en) * 2014-03-21 2015-09-23 上海贝尔股份有限公司 Method for transmitting information in dual connection system and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101370726B1 (en) * 2009-08-12 2014-03-06 인터디지탈 패튼 홀딩스, 인크 Method and apparatus for contention-based uplink data transmission
CN102438284A (en) * 2011-12-12 2012-05-02 大唐移动通信设备有限公司 Method and device for reversing data on basis of cell switching in base station
CN107911201B (en) * 2012-12-21 2021-10-15 华为技术有限公司 Data transmission method, device and communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047640A (en) * 2006-06-23 2007-10-03 华为技术有限公司 Radio access bear data transmission method
CN102217365A (en) * 2011-04-12 2011-10-12 华为技术有限公司 Long term evolution base station and method for processing data service thereof
US20140169161A1 (en) * 2012-12-14 2014-06-19 Huawei Technologies Co., Ltd. Method and device for transmitting data
CN104935414A (en) * 2014-03-21 2015-09-23 上海贝尔股份有限公司 Method for transmitting information in dual connection system and device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
1707194: "De-activation of re-ordering in PDCP", 3GPP TSG-RAN WG2 NR ADHOC #2, R2-1707194, 29 June 2017 (2017-06-29), XP051301688 *
ERICSSON: "On the need of PDCP/RLC reordering and in-sequence delivery", 3GPP TSG-RAN WG2 #96, R2-168655, 18 November 2016 (2016-11-18), XP051178211 *
ERICSSON: "PDCP UL data split", 3GPP TSG-RAN WG2 #98-AH, R2-1707153, 29 June 2017 (2017-06-29), XP051301646 *
SAMSUNG: "Out-of-sequence delivery in PDCP", 3GPP TSG-RAN WG2 NR AD-HOC#2 MEETING, R2-1707390, 29 June 2017 (2017-06-29), XP051301878 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499932A (en) * 2021-07-02 2022-12-20 华为技术有限公司 Communication method and device
CN115499932B (en) * 2021-07-02 2023-07-18 华为技术有限公司 Communication method and device
WO2023040901A1 (en) * 2021-09-14 2023-03-23 中国移动通信有限公司研究院 Data transmission method and apparatus, and communication device and readable storage medium

Also Published As

Publication number Publication date
CN109392012B (en) 2020-12-04
CN109392012A (en) 2019-02-26

Similar Documents

Publication Publication Date Title
US11051322B2 (en) Data processing method, apparatus, and system
WO2019029350A1 (en) Data processing method and related device
RU2756289C2 (en) Method, equipment and system for data processing
US10735334B2 (en) Data sending method, data receiving method, and related device
JP4387393B2 (en) Method and apparatus for processing control PDU upon re-establishment of transmitting side in wireless communication system
JP7396768B2 (en) System and method for uplink data scheduling for grant-free transmission
CN111034343A (en) Method and system for handling packet repetition and recovery of RBs in wireless communication system
WO2019185014A1 (en) Communication method, communication apparatus, and system
US11647417B2 (en) Method, apparatus, computer program product and computer program
WO2019149248A1 (en) Communication method and device
CN108809540B (en) Data processing method and device
JPWO2018198378A1 (en) Wireless terminal, wireless base station, wireless communication system, wireless communication method
WO2017193948A1 (en) Data transmission method and terminal
WO2021155604A1 (en) Information processing method and device
WO2024028277A1 (en) Infrastructure equipment, communications devices and methods
US20230076524A1 (en) Communication control method and communication apparatus
US20220217549A1 (en) Communication Method, Apparatus, and System
WO2020221248A1 (en) Uplink transmission method and communication apparatus
WO2023217009A1 (en) Data transmission method and apparatus and communication device
WO2024022198A1 (en) Data delivery method and communication device
WO2023185450A1 (en) Data packet processing method and apparatus
WO2014047790A1 (en) Method, device and system for synchronizing processing of transmission sequence number
WO2023010254A1 (en) Data transmission method and apparatus, device, and storage medium
RU2785091C1 (en) System, device and method for configuration of the carrier radio channel
WO2023016402A1 (en) Data transmission method, apparatus, terminal, and network-side device

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

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

Country of ref document: EP

Kind code of ref document: A1