CN117479229A - Data packet processing method, device, electronic equipment and readable storage medium - Google Patents

Data packet processing method, device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN117479229A
CN117479229A CN202210866872.0A CN202210866872A CN117479229A CN 117479229 A CN117479229 A CN 117479229A CN 202210866872 A CN202210866872 A CN 202210866872A CN 117479229 A CN117479229 A CN 117479229A
Authority
CN
China
Prior art keywords
pdu
packet
data packet
packets
received
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210866872.0A
Other languages
Chinese (zh)
Inventor
温金辉
刘亮
刘康怡
郑康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Zijin Jiangsu Innovation Research Institute Co ltd
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Zijin Jiangsu Innovation Research Institute Co ltd
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Zijin Jiangsu Innovation Research Institute Co ltd, China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Zijin Jiangsu Innovation Research Institute Co ltd
Priority to CN202210866872.0A priority Critical patent/CN117479229A/en
Priority to PCT/CN2023/108626 priority patent/WO2024017369A1/en
Publication of CN117479229A publication Critical patent/CN117479229A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a data packet processing method, a device, an electronic device and a readable storage medium, wherein the method comprises the steps of judging whether a target PDU data packet exists in received protocol data unit PDU data packets according to preset information under the condition that a reordering timer is overtime, obtaining a judging result, wherein the target PDU data packet is a data packet which is necessary for a PDCP receiving device to decode the received PDU data packet, discarding the received PDU data packet under the condition that the judging result indicates that the target PDU data packet does not exist, and/or stopping receiving the PDU data packet related to the target PDU data packet. The method provided by the embodiment of the application solves the problem of how to avoid unnecessary processing operation on the data packet.

Description

Data packet processing method, device, electronic equipment and readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a data packet processing method, a device, an electronic device, and a readable storage medium.
Background
The receiving end of the packet data convergence protocol (Packet Data Convergence Protocol, PDCP) layer will not attempt to receive the corresponding PDCP protocol data unit (Protocol Data Unit, PDU) data packet any more because of the timeout of the Reordering timer (t-Reordering), and other data packets will be received and stored normally and uploaded to a higher layer, and this processing manner will receive and store invalid data packets, resulting in communication resource waste.
Disclosure of Invention
The embodiment of the application provides a data packet processing method, a data packet processing device, electronic equipment and a readable storage medium, which solve the problem of how to avoid unnecessary data packet processing operation.
To achieve the above object, in a first aspect, an embodiment of the present application provides a method for processing a data packet, including:
under the condition that a reordering timer is overtime, judging whether a target PDU (protocol data unit) data packet exists in the received PDU data packet according to pre-configuration information, and obtaining a judging result, wherein the target PDU data packet is a data packet which is necessary for the PDCP receiving equipment to decode the received PDU data packet;
carrying out data packet processing operation under the condition that the judging result indicates that the target PDU data packet does not exist;
wherein the packet processing operation comprises at least one of:
discarding the received PDU packet;
stopping receiving the PDU data packet related to the target PDU data packet.
In a second aspect, an embodiment of the present application provides a data packet processing apparatus, including:
the judging module is used for judging whether a target PDU data packet exists in the received PDU data packet according to the pre-configuration information under the condition that the reordering timer is overtime, and obtaining a judging result, wherein the target PDU data packet is a data packet which is necessary for the PDCP receiving equipment to decode the received PDU data packet;
The processing module is used for carrying out data packet processing operation when the judging result indicates that the target PDU data packet does not exist;
wherein the packet processing operation comprises at least one of:
discarding the received PDU packet;
stopping receiving the PDU data packet related to the target PDU data packet.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program when executed by the processor implements the steps in the data packet processing method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having a program stored thereon, which when executed by a processor, implements the steps of the packet processing method according to the first aspect.
In this embodiment of the present application, by determining, according to the preconfiguration information, whether a target PDU packet exists in the received PDU packets of the protocol data units when the reordering timer is overtime, to obtain a determination result, where the target PDU packet is a packet necessary for the PDCP receiving device to decode the received PDU packet, and if the determination result indicates that the target PDU packet does not exist, discarding the received PDU packet, and/or stopping receiving the PDU packet related to the target PDU packet. In this way, when a target PDU packet of high importance (such as an I-frame/I-slice) is lost, a received PDU packet of low importance (such as a P-frame/P-slice) will be discarded/not received, thereby avoiding unnecessary processing operations on the packet and saving communication resources.
Drawings
For a clearer description of the technical solutions in the embodiments of the present application, the following description will be given with reference to the accompanying drawings, which are only embodiments of the present application, and it is obvious to those skilled in the art that other drawings can be obtained from the listed drawings without inventive effort.
FIG. 1 is a block diagram of a system to which embodiments of the present application are applicable;
fig. 2 is a schematic flow chart of a packet processing method according to an embodiment of the present application;
FIG. 3 is a second flow chart of a packet processing method according to the embodiment of the present application;
FIG. 4 is a third flow chart of a packet processing method according to the embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a packet processing device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the inventors, are within the scope of the present application, based on the embodiments herein.
Referring to fig. 1, fig. 1 is a block diagram of a system to which an embodiment of the present application is applicable, and as shown in fig. 1, includes a transmitting device 11 and a receiving device 12, and communication is possible between the transmitting device 11 and the receiving device 12. The receiving device 12 is a packet data convergence protocol (Packet Data Convergence Protocol, PDCP) receiving device (may also be referred to as a PDCP receiving entity), and the transmitting device 11 may be a lower layer of the PDCP receiving entity (e.g., a radio link control layer (Radio Link Control, RLC).
In the New Radio, NR, since the RLC layer does not reorder the data packets, the PDU data packets received by the PDCP receiving entity from the RLC layer may be out of order, and if the corresponding service requires that the data packets be transmitted in order, the reordering needs to be performed first. The PDU packets arriving out of order are first stored in the buffer of the PDCP receiving device 12, and after the PDU packets that have been successfully received before a certain point in time are delivered to the upper layer, the PDU packets received after the point in time are delivered to the upper layer, which refers to the radio resource control layer (Radio Resource Control, RRC) for the PDCP receiving entity.
The PDCP receiving entity needs to detect whether a certain PDU packet is lost by the lower layer and avoid excessive reordering delay. Briefly, the PDCP receiving entity waits only for a period of time when no PDU packets have been received, and does not continue waiting. The Reordering timer t-Reordering determines the length of time during this period. Each PDCP receiving entity has only one reordering timer. If the PDU packet is not received within the time specified by the reordering timer, the PDCP receiving entity considers that the PDU packet has been lost, and the PDCP receiving entity does not attempt to receive the PDU packet that has been lost. That is, the PDCP layer does not attempt to retransmit the lost PDU packet.
When video is encoded, there are mainly two modes, group of pictures (Group Of Pictures, GOP) based and slice based. When encoding video based on GOP, the importance of I frames is higher than that of P frames in one GOP, and decoding of P frames depends on I frames. If an I frame of high importance has been lost, then a P frame of low importance should also be dropped/no longer received at the receiving end. When encoding video based on slice groups, the importance of I slices is higher than that of P slices in one slice group, and decoding of P slices depends on I slices. If an I slice of high importance has been lost, then a P slice of low importance should also be discarded/no longer received at the receiving end.
In practice, however, the packet data convergence protocol (Packet Data Convergence Protocol, PDCP) layer receiving end does not consider the importance of different PDCP PDUs and the correlation between different PDCP PDUs when it no longer attempts to receive a certain PDCP protocol data unit (Protocol Data Unit, PDU) because the Reordering timer (t-Reordering) is exceeded. Possibly resulting in that when an I-frame/I-slice of high importance has been lost and is no longer received, a P-frame/P-slice of low importance is not discarded and will still be transmitted to the upper layers or still be received. P frames/P slices of low importance are not discarded and will still be transmitted to the upper layers, or P frames/P slices of low importance are still being received as unnecessary packet processing operations, resulting in wasted communication resources.
The following describes a packet processing method provided in the embodiment of the present application.
Referring to fig. 2, fig. 2 is a flow chart of a packet processing method according to an embodiment of the present application. The packet processing method shown in fig. 2 may be performed by the PDCP receiving device 12. The PDCP receiving device 12 may be a PDCP receiving entity.
As shown in fig. 2, the packet processing method may include the steps of:
step 101, under the condition that the reordering timer is overtime, judging whether a target PDU data packet exists in the received PDU data packet according to the pre-configuration information, and obtaining a judging result, wherein the target PDU data packet is a data packet which is necessary for the PDCP receiving equipment to decode the received PDU data packet.
In particular, one video frame (P-frame/I-frame) corresponds to one PDU set, and one slice (I-slice/P-slice) corresponds to one PDU set, and one PDU set includes a plurality of PDU packets. The PDU packet carries a Sequence identifier for indicating the Sequence of the PDU packet, where the Sequence identifier may be a Count value or a Sequence Number (SN).
The PDCP receiving device transmits the PDU packets in an order in which the sequence identity is increased when transmitting the PDU packets to the upper layer, but the PDU packets received by the PDCP receiving device from the lower layer may be out of order. When the PDCP receiving device receives the PDU data packets which are arranged out of order from the lower layer, a reordering timer is started, and the reordering timer starts to count.
For example, taking the example of carrying the Count value in the PDU packet as an example, starting the reordering timer includes at least the following two cases.
Case one: the PDCP receiving device starts a reordering timer when the Count value of the PDU data packet currently received by the PDCP receiving device is smaller than the maximum Count value in the received PDU data packet.
Illustratively, if a PDU packet with a Count value of 1, 2, 4, 5 has been received and a PDU packet with a Count value of 3 is currently received, a reordering timer is started. And (3) judging whether the received PDU data packet has the target PDU data packet according to the pre-configuration information after the timing of the reordering timer is finished, namely the reordering timer is overtime, and obtaining a judging result.
And a second case: the PDCP receiving device starts a reordering timer when the Count value of the PDU data packet currently received by the PDCP receiving device is larger than the value obtained after the maximum Count value of the received PDU data packet is +1.
Illustratively, if a PDU packet having a Count value of 1, 2, 3, 4, 5, 6, 7 has been received, and a PDU packet having a Count value of 10 is currently received, a reordering timer is started. And (3) judging whether the received PDU data packet has the target PDU data packet according to the pre-configuration information after the timing of the reordering timer is finished, namely the reordering timer is overtime, and obtaining a judging result.
The preconfiguration information is information preconfigured in the PDCP receiving device and is used for indicating which of the received PDU data packets are target PDU data packets.
The PDCP receiving device is still in a state of receiving PDU packets during the start and timing of the reordering timer, and may still receive the target PDU packets during the start and timing of the reordering timer.
102, performing a packet processing operation when the judging result indicates that the target PDU packet does not exist;
wherein the packet processing operation comprises at least one of:
discarding the received PDU packet;
stopping receiving the PDU data packet related to the target PDU data packet.
In specific implementation, the specific discarding mode is determined according to practical situations, and all received PDU data packets can be discarded, or some received PDU data packets can be discarded.
In an optional embodiment of the present application, the PDU packet carries fourth characteristic information, where the fourth characteristic information is used to indicate a sequence number value of the PDU packet, the packet processing operation includes discarding the received PDU packet, and the discarding the received PDU packet includes:
And discarding the PDU data packet with the sequence number value smaller than the reordering value from the received PDU data packets. The reordering value is the sequence number value of the next PDU data packet of the PDU data packet currently triggering the reordering timer.
Further, in case the judging result indicates that the target PDU packet does not exist, the PDCP receiving apparatus stops receiving PDU packets which are not received yet in the PDU group where the target PDU packet exists. That is, in case that the received PDU packet does not exist in the target PDU packet, the PDU packet received by the PDCP receiving device in the PDU set in which the target PDU packet exists is discarded, and the PDU packet not received in the PDU set is not attempted to be received any more.
In an optional embodiment of the present application, the PDU packet carries fourth characteristic information, where the fourth characteristic information is used to indicate a sequence number value of the PDU packet, the packet processing operation includes stopping receiving the PDU packet related to the target PDU packet, and the stopping receiving the PDU packet related to the target PDU packet includes:
and stopping receiving the PDU data packet with the sequence number value being greater than or equal to the reordering value. The reordering value is the sequence number value of the next PDU data packet of the PDU data packet currently triggering the reordering timer.
In this embodiment of the present application, by determining, according to the preconfiguration information, whether a target PDU packet exists in the received PDU packets of the protocol data units when the reordering timer is overtime, a determination result is obtained, where the target PDU packet is a packet necessary for the PDCP receiving device to decode the received PDU packet, and if the determination result indicates that the target PDU packet does not exist, the received PDU packet is discarded/the PDU packet is not received any more. Thus, when a target PDU packet with high importance (such as an I frame/I slice) is lost, a received PDU packet with low importance (such as a P frame/P slice) is discarded, and a non-received PDU packet with low importance is not received, so that unnecessary processing operation on the packet is avoided, and communication resources are saved.
The method provided by the embodiment of the application can be applied to at least the following three scenes.
Scene one: a PDU set has a critical PDU packet that is received and decoded. That is, the target packet is a critical PDU packet in the PDU set.
Scene II: m PDU data packets are received in a PDU group, M is a positive integer, and the PDU group can be decoded only after the M PDU data packets are received. That is, the target packet is all PDU packets in the PDU set.
Scene III: a video corresponds to P PDU groups, P is a positive integer, Q PDU data packets are shared in the P PDU groups, Q is a positive integer, and all the Q PDU data packets are received, so that the PDU groups can be decoded. That is, the target packet is all PDU packets in the P PDU sets.
In a first scenario, each PDU packet in the received PDU packets carries first feature information, where the first feature information is used to indicate whether the PDU packet is a critical PDU packet, and the preconfiguration information includes first indication information, where the first indication information is used to indicate that the critical PDU packet is the target PDU packet;
judging whether the received PDU data packet has the target PDU data packet according to the preconfiguration information, and obtaining a judging result, including:
and under the indication of the first indication information, judging whether a target PDU data packet exists in the received PDU data packet according to the first characteristic information, and obtaining the judging result.
In particular, the first characteristic information may be an identifier, for example, an identifier 1 represents that the PDU packet is a critical PDU packet, and other PDU packets in the PDU group to which the PDU packet belongs need to be decoded depending on the PDU packet. An identification number of 0 represents that the PDU packet is a non-critical PDU packet. In practical application, the key PDU data packet is a PDU data packet corresponding to an I frame/I slice, and the non-key PDU data packet is a PDU data packet corresponding to a P frame/P slice.
The PDCP receiving equipment can sequentially search whether the PDU data packet with the identification symbol of 1 exists in the received PDU data packet, and if the PDU data packet with the identification symbol of 1 exists, the judging result of the existence of the target PDU data packet in the received PDU data packet is obtained; and if the PDU data packet with the identification symbol of 1 does not exist, obtaining a judging result that the target PDU data packet does not exist in the received PDU data packet.
In scenario one, generally speaking, if the destination PDU packet is lost, the received PDU packet cannot be decoded, but in some very special cases, even if the destination PDU packet is lost, the received PDU packet can be decoded with a PDU packet whose sequence id is smaller than that of the destination PDU packet. Thus, in an alternative embodiment of the present application, the discarding the received PDU packet includes:
discarding all the received data packets in case the target PDU data packet is a data packet necessary for the PDCP receiving device to decode all the received PDU data packets;
alternatively, in case that the target PDU packet is a packet necessary for the PDCP receiving device to decode a part of the received PDU packets, a part of PDU packets among the received PDU packets, which must be decoded based on the target PDU packet, is discarded. Wherein, the discarded part of the received PDU data packets refer to PDU data packets with sequence identification larger than that of the target PDU data packets in the received PDU data packets.
In a second scenario, the PDU packet carries second feature information, where the second feature information is used to indicate whether the PDU packet belongs to a first PDU group, the preconfiguration information includes first quantity information and second indication information, the first quantity information is a first total quantity of data packets in the first PDU group, and the second indication information is used to indicate that all data packets in the first PDU group are the target PDU packets;
judging whether the received PDU data packet has the target PDU data packet according to the preconfiguration information, and obtaining a judging result, including:
under the indication of the second indication information, determining a second total number of data packets belonging to the first PDU group in the received PDU data packets according to the second characteristic information;
comparing the first total number with the second total number to obtain the judging result;
and when the first total number is equal to the second total number, the judging result indicates that a target PDU data packet exists in the received PDU data packets.
In particular, the second characteristic information may be a digital identifier, such as a digital identifier 1 indicating that the PDU packet belongs to the first PDU set, a digital identifier 2 indicating that the PDU packet belongs to the second PDU set, and so on.
Based on the second characteristic information, a second total number of data packets belonging to the first PDU group among the received PDU data packets can be counted. Under the condition that the first total number is equal to the second total number, indicating that all PDU data packets in the first PDU group are received, and obtaining a judging result of the target PDU data packet in the received PDU data packets; and under the condition that the first total number is larger than the second total number, indicating that the partial PDU data packet in the first PDU group is not received, and obtaining a judging result that the target PDU data packet does not exist in the received PDU data packet. In this scenario, the target PDU packet is all PDU packets in the first PDU set.
In a third scenario, each PDU packet in the received PDU packets carries third characteristic information, where the third characteristic information is used to indicate a PDU group to which the PDU packet belongs in N PDU groups, the preconfiguration information includes second quantity information and third indication information, the second quantity information includes N third total numbers corresponding to the N PDU groups, one PDU group corresponds to a third total number, N is a positive integer, and the third indication information is used to indicate that the packets in the N PDU groups are all the target PDU packets;
Judging whether the received PDU data packet has the target PDU data packet according to the preconfiguration information, and obtaining a judging result, including:
under the indication of the third indication information, determining N fourth total numbers according to third characteristic information of the received PDU data packets, wherein one fourth total number is the sum of the numbers of data packets belonging to one PDU group in the N PDU groups in the received PDU data packets;
judging whether the N third total numbers and the N fourth total numbers are equal to each other or not, and obtaining the judging result;
and when the N third total numbers and the N fourth total numbers are equal, the judging result indicates that the target PDU data packet exists in the received PDU data packets.
In particular, the third feature information may also be a digital identifier, for example, a digital identifier 1 indicates that the PDU packet belongs to the first PDU group, a digital identifier 2 indicates that the PDU packet belongs to the second PDU group, and so on, and a digital identifier N indicates that the PDU packet belongs to the nth PDU group.
According to the third characteristic information, the N fourth total numbers of the data packets respectively belonging to the N PDU groups in the received PDU data packets can be counted. If the N third total numbers and the N fourth total numbers are equal, indicating that all PDU data packets in the N PDU groups are received, and obtaining a judging result of the target PDU data packet in the received PDU data packets; if one of the N third total numbers and the N fourth total numbers is not equal, indicating that the PDU data packet in the N PDU groups is not received, and obtaining the judging result that the target PDU data packet is not present in the received PDU data packet. In this scenario, the target packet is all PDU packets in the N PDU sets.
Referring to fig. 4, taking scenario one as an example (not limited to scenario one, scenario two and scenario three, the reordering timer timeout indicates that the reordering timer timeout for the first time in the above-mentioned application embodiment, at this time, it is immediately determined whether there is a target PDU packet, i.e. a critical PDU packet, in the received PDU packets according to the pre-configuration information, and if there is no target PDU packet, the received PDU packets are discarded.
However, in practical application, when the reordering timer expires for the first time, there is usually a PDU packet that is not transmitted to the PDCP receiving entity by the lower layer in the PDU group to which the critical PDU packet belongs, and if the lower layer continues to transmit the non-transmitted PDU packet to the PDCP receiving entity, in this process, there is a possibility that the PDCP entity receives the target PDU packet. Therefore, in order to improve the probability of receiving the target PDU packet, and enhance the reliability of the packet processing method provided in the embodiment of the present application, optionally, the PDU packet carries fourth feature information, where the fourth feature information is used to indicate a sequence number value of the PDU packet, and in a case that a reordering timer is overtime, determining whether the target PDU packet exists in the received PDU packet according to the preconfiguration information, to obtain a determination result includes:
Judging whether a target PDU data packet exists in the received PDU data packet according to the pre-configuration information under the condition that the reordering timer is overtime and the current reordering value is larger than the sequence number value of the first PDU data packet, and obtaining a judging result;
the reordering value is a sequence number value of a next PDU data packet of the PDU data packet currently triggering the reordering timer, and the first PDU data packet is a last PDU data packet in a PDU group to which the PDU data packet belongs.
In specific implementation, whether the PDU data packet which is not sent to the PDCP receiving entity by the lower layer exists in the PDU group to which the target PDU data packet belongs or not can be determined through the sequence number value of the first PDU data packet, and if the sequence number value of the first PDU data packet is larger than or equal to the reordering value, the PDU data packet which is not sent to the PDCP receiving entity by the lower layer exists in the PDU group to which the target PDU data packet belongs is indicated; if the sequence number value of the first PDU data packet is smaller than the reorder value, the PDU data packet which is not sent to the PDCP receiving entity by the lower layer does not exist in the PDU group to which the target PDU data packet belongs.
That is, if the sequence number of the first PDU packet is greater than or equal to the Reordering value, the PDCP receiving entity continues to attempt to receive the target PDU packet until the Reordering timer t-Reordering times out for all PDU packets in the PDU set to which the target PDU packet belongs.
Optionally, in the case that the reordering timer is overtime, according to the preconfiguration information, judging whether the received PDU packet has the target PDU packet, and after obtaining the judging result, the method further includes: and transmitting the received PDU data packet when the judging result indicates that the target PDU data packet exists.
Specifically, when the judging result indicates that the target PDU data packet exists, the PDCP receiving entity transmits the received PDU data packet to an upper layer. In the first scenario, when the target PDU packet exists, after the received PDU packet is sent to the upper layer, each time the remaining PDU packet in the PDU set of the target PDU packet is received, one PDU packet is sent to the upper layer. When the target PDU packet exists, the PDU packets in the PDU group to which the target PDU packet belongs may be all received and then transmitted to the upper layer.
In the second scenario, when the target PDU packet exists, the PDU packets in the first PDU group are all received and then transmitted to the upper layer.
In the third scenario, when the target PDU packet exists, after all the PDU packets in the N PDU groups are received, the PDU packets are sent to the upper layer.
Referring to fig. 5, an embodiment of the present application further provides a data packet processing device 200, including:
a judging module 201, configured to judge whether a target PDU packet exists in a received PDU packet according to pre-configuration information under the condition that a reordering timer is overtime, so as to obtain a judging result, where the target PDU packet is a packet necessary for the PDCP receiving device to decode the received PDU packet;
a processing module 202, configured to perform a packet processing operation when the determination result indicates that the target PDU packet does not exist;
wherein the packet processing operation comprises at least one of:
discarding the received PDU packet;
stopping receiving the PDU data packet related to the target PDU data packet.
Optionally, each PDU packet in the received PDU packets carries first characteristic information, where the first characteristic information is used to indicate whether the PDU packet is a critical PDU packet, and the preconfiguration information includes first indication information, where the first indication information is used to indicate that the critical PDU packet is the target PDU packet;
the judging module 201 includes:
And the first judging unit is used for judging whether the received PDU data packet has the target PDU data packet according to the first characteristic information under the indication of the first indication information, and obtaining the judging result.
Optionally, the processing module 202 includes:
discarding all the received data packets in case the target PDU data packet is a data packet necessary for the PDCP receiving device to decode all the received PDU data packets;
alternatively, in case that the target PDU packet is a packet necessary for the PDCP receiving device to decode a part of the received PDU packets, a part of PDU packets among the received PDU packets, which must be decoded based on the target PDU packet, is discarded.
Optionally, the PDU packet carries second characteristic information, where the second characteristic information is used to indicate whether the PDU packet belongs to a first PDU group, the preconfiguration information includes first quantity information and second indication information, the first quantity information is a first total quantity of data packets in the first PDU group, and the second indication information is used to indicate that all data packets in the first PDU group are the target PDU packet;
The judging module 201 includes:
a first determining unit, configured to determine, according to the second characteristic information, a second total number of data packets belonging to the first PDU group in the received PDU data packets under the indication of the second indication information;
the second judging unit is used for comparing the first total number with the second total number to obtain the judging result;
and when the first total number is equal to the second total number, the judging result indicates that a target PDU data packet exists in the received PDU data packets.
Optionally, each PDU packet in the received PDU packets carries third characteristic information, where the third characteristic information is used to indicate a PDU group to which the PDU packet belongs in N PDU groups, the preconfiguration information includes second quantity information and third indication information, the second quantity information includes N third total numbers corresponding to the N PDU groups, one PDU group corresponds to a third total number, N is a positive integer, and the third indication information is used to indicate that the data packets in the N PDU groups are all the target PDU packets;
the judging module 201 includes:
a second determining unit, configured to determine, under the indication of the third indication information, N fourth total numbers according to third feature information of the received PDU packets, where a fourth total number is a sum of numbers of data packets belonging to one PDU group of the N PDU groups in the received PDU packets;
The third judging unit is used for judging whether the N third total numbers and the N fourth total numbers are equal correspondingly or not, and obtaining the judging result;
and when the N third total numbers and the N fourth total numbers are equal, the judging result indicates that the target PDU data packet exists in the received PDU data packets.
Optionally, the PDU packet carries fourth characteristic information, the fourth characteristic information is used for indicating a sequence number value of the PDU packet, the packet processing operation includes discarding the received PDU packet, and the discarding the received PDU packet includes:
discarding PDU data packets with sequence number smaller than reordering value in received PDU data packets;
the reordering value is the sequence number value of the next PDU data packet of the PDU data packet currently triggering the reordering timer.
Optionally, the PDU packet carries fourth characteristic information, where the fourth characteristic information is used to indicate a sequence number value of the PDU packet, the packet processing operation includes stopping receiving the PDU packet related to the target PDU packet, and the stopping receiving the PDU packet related to the target PDU packet includes:
Stopping receiving PDU data packets with sequence number values greater than or equal to the reordering value;
the reordering value is the sequence number value of the next PDU data packet of the PDU data packet currently triggering the reordering timer. Optionally, the PDU packet carries fourth characteristic information, and the judging module 201 includes:
a fourth judging unit, configured to judge whether a target PDU packet exists in the received PDU packets according to the pre-configuration information when the reordering timer is overtime and the current reordering value is greater than the sequence number value of the first PDU packet, so as to obtain a judging result;
the reordering value is a sequence number value of a next PDU data packet of the PDU data packet currently triggering the reordering timer, and the first PDU data packet is a last PDU data packet in a PDU group to which the PDU data packet belongs.
Optionally, after the determining module 201, the apparatus 200 further includes:
and transmitting the received PDU data packet when the judging result indicates that the target PDU data packet exists.
The data packet processing device 200 provided in this embodiment of the present application can implement each process that can be implemented in the data packet processing method embodiment corresponding to fig. 2, and achieve the same beneficial effects, so that repetition is avoided, and no further description is given here.
The embodiment of the application provides electronic equipment. As shown in fig. 6, the electronic device 300 includes: a processor 301, a memory 302 and a computer program stored on and executable on said memory 302, the various components in the electronic device 300 being coupled together by a bus system 303. It is understood that the bus system 303 is used to enable connected communication between these components.
The processor 301 is configured to determine, according to the pre-configuration information, whether a target PDU packet exists in the received PDU packets, and obtain a determination result, where the target PDU packet is a packet necessary for the PDCP receiving device to decode the received PDU packet when the reordering timer is overtime;
carrying out data packet processing operation under the condition that the judging result indicates that the target PDU data packet does not exist;
wherein the packet processing operation comprises at least one of:
discarding the received PDU packet;
stopping receiving the PDU data packet related to the target PDU data packet.
Optionally, each PDU packet in the received PDU packets carries first characteristic information, where the first characteristic information is used to indicate whether the PDU packet is a critical PDU packet, and the preconfiguration information includes first indication information, where the first indication information is used to indicate that the critical PDU packet is the target PDU packet;
The processor 301 is further configured to:
and under the indication of the first indication information, judging whether a target PDU data packet exists in the received PDU data packet according to the first characteristic information, and obtaining the judging result.
Optionally, the processor 301 is further configured to:
discarding all the received data packets in case the target PDU data packet is a data packet necessary for the PDCP receiving device to decode all the received PDU data packets;
alternatively, in case that the target PDU packet is a packet necessary for the PDCP receiving device to decode a part of the received PDU packets, a part of PDU packets among the received PDU packets, which must be decoded based on the target PDU packet, is discarded.
Optionally, the PDU packet carries second characteristic information, where the second characteristic information is used to indicate whether the PDU packet belongs to a first PDU group, the preconfiguration information includes first quantity information and second indication information, the first quantity information is a first total quantity of data packets in the first PDU group, and the second indication information is used to indicate that all data packets in the first PDU group are the target PDU packet;
The processor 301 is further configured to:
under the indication of the second indication information, determining a second total number of data packets belonging to the first PDU group in the received PDU data packets according to the second characteristic information;
comparing the first total number with the second total number to obtain the judging result;
and when the first total number is equal to the second total number, the judging result indicates that a target PDU data packet exists in the received PDU data packets.
Optionally, each PDU packet in the received PDU packets carries third characteristic information, where the third characteristic information is used to indicate a PDU group to which the PDU packet belongs in N PDU groups, the preconfiguration information includes second quantity information and third indication information, the second quantity information includes N third total numbers corresponding to the N PDU groups, one PDU group corresponds to a third total number, N is a positive integer, and the third indication information is used to indicate that the data packets in the N PDU groups are all the target PDU packets;
the processor 301 is further configured to:
under the indication of the third indication information, determining N fourth total numbers according to third characteristic information of the received PDU data packets, wherein one fourth total number is the sum of the numbers of data packets belonging to one PDU group in the N PDU groups in the received PDU data packets;
Judging whether the N third total numbers and the N fourth total numbers are equal to each other or not, and obtaining the judging result;
and when the N third total numbers and the N fourth total numbers are equal, the judging result indicates that the target PDU data packet exists in the received PDU data packets.
Optionally, the PDU packet carries fourth characteristic information, where the fourth characteristic information is used to indicate a sequence number value of the PDU packet, and the processor 301 is further configured to:
discarding PDU data packets with sequence number smaller than reordering value in received PDU data packets;
the reordering value is the sequence number value of the next PDU data packet of the PDU data packet currently triggering the reordering timer.
Optionally, the PDU packet carries fourth characteristic information, where the fourth characteristic information is used to indicate a sequence number value of the PDU packet, and the processor 301 is further configured to:
stopping receiving PDU data packets with sequence number values greater than or equal to the reordering value;
the reordering value is the sequence number value of the next PDU data packet of the PDU data packet currently triggering the reordering timer.
Optionally, the PDU packet carries fourth characteristic information, where the fourth characteristic information is used to indicate a sequence number value of the PDU packet, and the processor 301 is further configured to:
Judging whether a target PDU data packet exists in the received PDU data packet according to the pre-configuration information under the condition that the reordering timer is overtime and the current reordering value is larger than the sequence number value of the first PDU data packet, and obtaining a judging result;
the reordering value is a sequence number value of a next PDU data packet of the PDU data packet currently triggering the reordering timer, and the first PDU data packet is a last PDU data packet in a PDU group to which the PDU data packet belongs.
Optionally, the processor 301 is further configured to: and transmitting the received PDU data packet when the judging result indicates that the target PDU data packet exists.
The electronic device 300 provided in this embodiment of the present application can implement each process that can be implemented in the embodiment of the data packet processing method corresponding to fig. 2, and achieve the same beneficial effects, so that repetition is avoided, and no further description is given here.
The embodiment of the present application further provides a computer readable storage medium, on which a computer program is stored, where the computer program when executed by a processor implements each process of the foregoing embodiment of the data packet processing method, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (16)

1. A packet processing method applied to a PDCP receiving apparatus, comprising:
under the condition that a reordering timer is overtime, judging whether a target PDU (protocol data unit) data packet exists in the received PDU data packet according to pre-configuration information, and obtaining a judging result, wherein the target PDU data packet is a data packet which is necessary for the PDCP receiving equipment to decode the received PDU data packet;
carrying out data packet processing operation under the condition that the judging result indicates that the target PDU data packet does not exist;
wherein the packet processing operation comprises at least one of:
discarding the received PDU packet;
stopping receiving the PDU data packet related to the target PDU data packet.
2. The method of claim 1, wherein each of the received PDU packets carries first characteristic information indicating whether the PDU packet is a critical PDU packet, the pre-configuration information including first indication information indicating that the critical PDU packet is the target PDU packet;
judging whether the received PDU data packet has the target PDU data packet according to the preconfiguration information, and obtaining a judging result, including:
and under the indication of the first indication information, judging whether a target PDU data packet exists in the received PDU data packet according to the first characteristic information, and obtaining the judging result.
3. The method of claim 2, wherein said discarding said received PDU data packet comprises:
discarding all the received data packets in case the target PDU data packet is a data packet necessary for the PDCP receiving device to decode all the received PDU data packets;
alternatively, in case that the target PDU packet is a packet necessary for the PDCP receiving device to decode a part of the received PDU packets, a part of PDU packets among the received PDU packets, which must be decoded based on the target PDU packet, is discarded.
4. The method of claim 1, wherein the PDU packets carry second characteristic information, the second characteristic information being used to indicate whether the PDU packets belong to a first PDU group, the preconfiguration information including first quantity information and second indicating information, the first quantity information being a first total number of the PDU packets in the first PDU group, the second indicating information being used to indicate that all the PDU packets in the first PDU group are the target PDU packets;
judging whether the received PDU data packet has the target PDU data packet according to the preconfiguration information, and obtaining a judging result, including:
under the indication of the second indication information, determining a second total number of data packets belonging to the first PDU group in the received PDU data packets according to the second characteristic information;
comparing the first total number with the second total number to obtain the judging result;
and when the first total number is equal to the second total number, the judging result indicates that a target PDU data packet exists in the received PDU data packets.
5. The method of claim 1, wherein each PDU packet in the received PDU packets carries third characteristic information, the third characteristic information is used for indicating a PDU group to which the PDU packet belongs in N PDU groups, the preconfiguration information includes second quantity information and third indication information, the second quantity information includes N third total numbers corresponding to the N PDU groups, one PDU group corresponds to a third total number, N is a positive integer, and the third indication information is used for indicating that the data packets in the N PDU groups are all the target PDU packets;
Judging whether the received PDU data packet has the target PDU data packet according to the preconfiguration information, and obtaining a judging result, including:
under the indication of the third indication information, determining N fourth total numbers according to third characteristic information of the received PDU data packets, wherein one fourth total number is the sum of the numbers of data packets belonging to one PDU group in the N PDU groups in the received PDU data packets;
judging whether the N third total numbers and the N fourth total numbers are equal to each other or not, and obtaining the judging result;
and when the N third total numbers and the N fourth total numbers are equal, the judging result indicates that the target PDU data packet exists in the received PDU data packets.
6. The method of any of claims 1 to 5, wherein the PDU packets carry fourth characteristic information indicating a sequence number value of the PDU packets, wherein the packet processing operation comprises discarding the received PDU packets, and wherein discarding the received PDU packets comprises:
discarding PDU data packets with sequence number smaller than reordering value in received PDU data packets;
The reordering value is the sequence number value of the next PDU data packet of the PDU data packet currently triggering the reordering timer.
7. The method of any of claims 1 to 5, wherein the PDU packet carries fourth characteristic information indicating a sequence number value of the PDU packet, wherein the packet processing operation includes ceasing to receive the PDU packet associated with the target PDU packet, and wherein ceasing to receive the PDU packet associated with the target PDU packet includes:
stopping receiving PDU data packets with sequence number values greater than or equal to the reordering value;
the reordering value is the sequence number value of the next PDU data packet of the PDU data packet currently triggering the reordering timer.
8. The method according to any one of claims 1 to 5, wherein the PDU packet carries fourth characteristic information, the fourth characteristic information being used to indicate a sequence number value of the PDU packet, and the determining whether the target PDU packet exists in the received PDU packet according to the pre-configuration information when the reordering timer is out, to obtain a determination result, includes:
Judging whether a target PDU data packet exists in the received PDU data packet according to the pre-configuration information under the condition that the reordering timer is overtime and the current reordering value is larger than the sequence number value of the first PDU data packet, and obtaining a judging result;
the reordering value is a sequence number value of a next PDU data packet of the PDU data packet currently triggering the reordering timer, and the first PDU data packet is a last PDU data packet in a PDU group to which the PDU data packet belongs.
9. The method according to any one of claims 1 to 5, wherein in the case that the reordering timer is timed out, according to the pre-configuration information, determining whether the target PDU packet exists in the received PDU packets, and after obtaining the determination result, the method further comprises:
and transmitting the received PDU data packet when the judging result indicates that the target PDU data packet exists.
10. A packet processing apparatus, comprising:
the judging module is used for judging whether a target PDU data packet exists in the received PDU data packet according to the pre-configuration information under the condition that the reordering timer is overtime, and obtaining a judging result, wherein the target PDU data packet is a data packet which is necessary for the PDCP receiving equipment to decode the received PDU data packet;
The processing module is used for carrying out data packet processing operation when the judging result indicates that the target PDU data packet does not exist;
wherein the packet processing operation comprises at least one of:
discarding the received PDU packet;
stopping receiving the PDU data packet related to the target PDU data packet.
11. The apparatus of claim 10, wherein each of the received PDU packets carries first characteristic information indicating whether the PDU packet is a critical PDU packet, the preconfiguration information including first indication information indicating that the critical PDU packet is the target PDU packet;
the judging module comprises:
and the first judging unit is used for judging whether the received PDU data packet has the target PDU data packet according to the first characteristic information under the indication of the first indication information, and obtaining the judging result.
12. The apparatus of claim 10, wherein the PDU packets carry second characteristic information, the second characteristic information being used to indicate whether the PDU packets belong to a first PDU group, the preconfiguration information including first quantity information and second indicating information, the first quantity information being a first total number of the PDU packets in the first PDU group, the second indicating information being used to indicate that all the PDU packets in the first PDU group are the target PDU packets;
The judging module comprises:
a first determining unit, configured to determine, according to the second characteristic information, a second total number of data packets belonging to the first PDU group in the received PDU data packets under the indication of the second indication information;
the second judging unit is used for comparing the first total number with the second total number to obtain the judging result;
and when the first total number is equal to the second total number, the judging result indicates that a target PDU data packet exists in the received PDU data packets.
13. The apparatus of claim 10, wherein each PDU packet in the received PDU packets carries third characteristic information, the third characteristic information is used for indicating a PDU group to which the PDU packet belongs in N PDU groups, the preconfiguration information includes second quantity information and third indication information, the second quantity information includes N third total numbers corresponding to the N PDU groups, one PDU group corresponds to a third total number, N is a positive integer, and the third indication information is used for indicating that the data packets in the N PDU groups are all the target PDU packets;
the judging module comprises:
A second determining unit, configured to determine, under the indication of the third indication information, N fourth total numbers according to third feature information of the received PDU packets, where a fourth total number is a sum of numbers of data packets belonging to one PDU group of the N PDU groups in the received PDU packets;
the third judging unit is used for judging whether the N third total numbers and the N fourth total numbers are equal correspondingly or not, and obtaining the judging result;
and when the N third total numbers and the N fourth total numbers are equal, the judging result indicates that the target PDU data packet exists in the received PDU data packets.
14. The apparatus according to any one of claims 10 to 13, wherein the PDU data packet carries fourth characteristic information, the fourth characteristic information being used to indicate a sequence number value of the PDU data packet, the judging module comprising:
a fourth judging unit, configured to judge whether a target PDU packet exists in the received PDU packets according to the pre-configuration information when the reordering timer is overtime and the current reordering value is greater than the sequence number value of the first PDU packet, so as to obtain a judging result;
The reordering value is a sequence number value of a next PDU data packet of the PDU data packet currently triggering the reordering timer, and the first PDU data packet is a last PDU data packet in a PDU group to which the PDU data packet belongs.
15. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, which when executed by the processor performs the steps in the data packet processing method according to any one of claims 1 to 9.
16. A readable storage medium, characterized in that the readable storage medium has stored thereon a program which, when executed by a processor, implements the steps of the packet processing method according to any of claims 1 to 9.
CN202210866872.0A 2022-07-22 2022-07-22 Data packet processing method, device, electronic equipment and readable storage medium Pending CN117479229A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210866872.0A CN117479229A (en) 2022-07-22 2022-07-22 Data packet processing method, device, electronic equipment and readable storage medium
PCT/CN2023/108626 WO2024017369A1 (en) 2022-07-22 2023-07-21 Data packet processing method and apparatus, electronic device, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210866872.0A CN117479229A (en) 2022-07-22 2022-07-22 Data packet processing method, device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN117479229A true CN117479229A (en) 2024-01-30

Family

ID=89617188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210866872.0A Pending CN117479229A (en) 2022-07-22 2022-07-22 Data packet processing method, device, electronic equipment and readable storage medium

Country Status (2)

Country Link
CN (1) CN117479229A (en)
WO (1) WO2024017369A1 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020093230A1 (en) * 2018-11-06 2020-05-14 Qualcomm Incorporated Delivering out-of-order packet data convergence protocol (pdcp) protocol data units (pdus) to pdcp
EP4238297A1 (en) * 2020-10-27 2023-09-06 Qualcomm Incorporated Techniques for packet data convergence protocol and radio link control sequence number synchronization
CN114268991A (en) * 2021-12-27 2022-04-01 展讯通信(上海)有限公司 Data transmission method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2024017369A1 (en) 2024-01-25

Similar Documents

Publication Publication Date Title
US8594069B2 (en) In-order data delivery during handover in a wireless communication system
RU2475972C2 (en) Packet transfer via several lines of communication in wireless communication system
JP4005974B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM
CN108768596B (en) Method and device for requesting automatic retransmission of signal
WO2009088190A1 (en) Harq operation method for retransmitted data
US8179812B2 (en) System and method for providing status reports of transmitted data packets in a data communications system
US8416784B2 (en) Apparatus and method for receiving packet data in wireless communication system
US10959129B2 (en) Data transmission method, apparatus, and system, and device
RU2460214C2 (en) Status message initiation in wireless communication system
US20230345058A1 (en) Data packet transmission method and related device
KR101578047B1 (en) Apparatus and method to reorder data packets in a communication system
US7685492B2 (en) Method, arrangement, node and mobile unit for improved transmission between two units of a telecommunication system
US11296831B2 (en) Method and apparatus for wireless communication
CN117479229A (en) Data packet processing method, device, electronic equipment and readable storage medium
WO2023184479A1 (en) Method and apparatus of supporting mobility
CN118077237A (en) Method and apparatus for PDCP reordering management
JP2006287980A (en) Communication apparatus
CN115066867A (en) Uplink data transmission scheduling
KR101208530B1 (en) Method for processing control information in mobile communication system
WO2024017395A1 (en) Data processing method and apparatus, and communication device
WO2024065477A1 (en) Wireless communication method and device
WO2024065471A1 (en) Wireless communication method and device
CN117062142A (en) Communication method and device
US6433894B1 (en) Data transfer within a communication system
CN117499991A (en) Data delivery method and communication equipment

Legal Events

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