WO2023217014A1 - 数据包丢弃的处理方法、装置、终端及可读存储介质 - Google Patents

数据包丢弃的处理方法、装置、终端及可读存储介质 Download PDF

Info

Publication number
WO2023217014A1
WO2023217014A1 PCT/CN2023/092431 CN2023092431W WO2023217014A1 WO 2023217014 A1 WO2023217014 A1 WO 2023217014A1 CN 2023092431 W CN2023092431 W CN 2023092431W WO 2023217014 A1 WO2023217014 A1 WO 2023217014A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
sub
concatenated
terminal
data
Prior art date
Application number
PCT/CN2023/092431
Other languages
English (en)
French (fr)
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 WO2023217014A1 publication Critical patent/WO2023217014A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Definitions

  • This application belongs to the field of communication technology, and specifically relates to a data packet discarding processing method, device, terminal and readable storage medium.
  • the Packet Data Convergence Protocol (PDCP) layer processes each data packet received from the upper layer separately, and each individually processed data packet needs to be independently associated with the PDCP encapsulation header, causing damage to the terminal. This results in a larger processing load and header overhead.
  • the terminal may need to discard the received data packets, but it is still unclear how to handle the discarding of PDCP data packets, resulting in confusion in the terminal's handling of the discarding of PDCP data packets.
  • Embodiments of the present application provide a method, device, terminal and readable storage medium for processing data packet discarding, which can solve the problem in related technologies that the terminal is still unclear about the discarding process of PDCP data packets.
  • the first aspect provides a method for processing packet discarding, including:
  • the terminal starts the target timer when the startup conditions are met
  • the terminal When the target timer times out, the terminal performs a discard operation on the concatenated data packet
  • the cascaded data packet is a data packet formed by concatenating at least two sub-data packets, and the cascaded data packet is associated with an encapsulation header.
  • a data packet discarding processing device including:
  • Start module used to start the target timer when the startup conditions are met
  • a discarding module configured to perform a discarding operation on the concatenated data packet when the target timer times out
  • the cascaded data packet is a data packet formed by concatenating at least two sub-data packets, and the cascaded data packet is associated with an encapsulation header.
  • a terminal in a third aspect, includes a processor and a memory.
  • the memory stores programs or instructions that can be run on the processor.
  • the program or instructions are executed by the processor, the following implementations are implemented: On the one hand, the steps of the method for processing data packet discarding are described.
  • a terminal including a processor and a communication interface, wherein the processor is configured to start a target timer when a startup condition is met, and when the target timer times out, the cascade The data packet is discarded;
  • the cascaded data packet is a data packet formed by concatenating at least two sub-data packets, and the cascaded data packet is associated with an encapsulation header.
  • a communication system including: a terminal and a network side device.
  • the terminal may be configured to perform the steps of the data packet discarding processing method described in the first aspect.
  • a readable storage medium is provided. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the processing method of packet discarding as described in the first aspect is implemented. step.
  • a chip in a seventh aspect, includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement data as described in the first aspect. How to handle packet discarding.
  • a computer program/program product is provided, the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement the method described in the first aspect How to handle packet discarding.
  • the terminal starts the target timer when the startup conditions are met.
  • the terminal performs a discard operation on the concatenated data packet.
  • the terminal can determine when to discard the cascaded data packets through the timing of the target timer, thereby better managing the cascaded data packets and avoiding unnecessary data packets that continue to be sent. additional resource overhead.
  • Figure 1 is a block diagram of a wireless communication system applicable to the embodiment of the present application.
  • FIG. 2 is a schematic diagram of an NR user plane (User Plane, UP) protocol architecture suitable for embodiments of this application;
  • NR user plane User Plane, UP
  • Figure 3 is a flow chart of a data packet discarding processing method provided by an embodiment of the present application.
  • Figure 4 is a structural diagram of a data packet discarding processing device provided by an embodiment of the present application.
  • Figure 5 is a structural diagram of a communication device provided by an embodiment of the present application.
  • Figure 6 is a structural diagram of a terminal provided by an embodiment of the present application.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is understood that the terms so used are interchangeable where appropriate, So that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by “first” and “second” are generally of the same type, and the number of objects is not limited, for example
  • the first object can be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/” generally indicates that the related objects are in an "or” relationship.
  • LTE Long Term Evolution
  • LTE-Advanced, LTE-A Long Term Evolution
  • LTE-A Long Term Evolution
  • CDMA Code Division Multiple Access
  • TDMA Time Division Multiple Access
  • FDMA Frequency Division Multiple Access
  • OFDMA Orthogonal Frequency Division Multiple Access
  • SC-FDMA Single-carrier Frequency Division Multiple Access
  • NR New Radio
  • FIG. 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable.
  • the wireless communication system includes a terminal 11 and a network side device 12.
  • the terminal 11 may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a palmtop computer, a netbook, or a super mobile personal computer.
  • Tablet Personal Computer Tablet Personal Computer
  • laptop computer laptop computer
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • UMPC ultra-mobile personal computer
  • UMPC mobile Internet device
  • MID mobile Internet Device
  • AR augmented reality
  • VR virtual reality
  • robots wearable devices
  • WUE Vehicle User Equipment
  • PUE Pedestrian User Equipment
  • smart home home equipment with wireless communication functions, such as refrigerators, TVs, washing machines or furniture, etc.
  • game consoles personal computers (personal computer, PC), teller machine or self-service machine and other terminal-side devices.
  • Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets) bracelets, smart anklets, etc.), smart wristbands, smart clothing, etc.
  • the network side device 12 may include an access network device or a core network device, where the access network device may also be called a radio access network device, a radio access network (Radio Access Network, RAN), a radio access network function or a wireless device.
  • Access network equipment may include base stations, Wireless Local Area Network (WLAN) access points, Wireless Fidelity (WiFi) nodes, etc.
  • the base station may be called a Node B, an Evolved Node B (eNB), or an access point.
  • BTS Base Transceiver Station
  • BSS Basic Service Set
  • ESS Extended Service Set
  • TRP Transmitting Receiving Point
  • the base station is not limited to specific technical terms. It should be noted that in this application, in the embodiment, only the base station in the NR system is taken as an example for introduction, and the specific type of the base station is not limited.
  • PDCP Packet Data Convergence Protocol
  • FIG. 2 is a schematic diagram of an NR User Plane (UP) protocol architecture suitable for embodiments of this application.
  • the NR UP protocol architecture consists of Service Data Adaptation Protocol (SDAP), PDCP, It consists of Radio Link Control (RLC), Media Access Control (MAC) and Physical Layer (Physical, PHY).
  • SDAP Service Data Adaptation Protocol
  • PDCP Packet Control Protocol
  • RLC Radio Link Control
  • MAC Media Access Control
  • Physical Layer Physical Layer
  • the data packets received by PDCP from the upper-layer SDAP are PDCP Service Data Units (SDUs), and the data packets processed by the PDCP layer and associated with the PDCP layer encapsulation header are PDCP Protocol Data Units (PDUs).
  • SDUs PDCP Service Data Units
  • PDUs PDCP Protocol Data Units
  • the PDCP layer needs to process each received PDCP SDU (such as security processing, associated PDCP header, etc.) to generate PDCP PDU
  • Figure 3 is a flow chart of a data packet discarding processing method provided by an embodiment of the present application. As shown in Figure 3, the method includes the following steps:
  • Step 301 The terminal starts the target timer when the startup conditions are met;
  • Step 302 When the target timer times out, the terminal performs a discard operation on the concatenated data packet.
  • the cascaded data packet is a data packet formed by concatenating at least two sub-data packets, and the cascaded data packet is associated with an encapsulation header.
  • the terminal can perform cascading operations on the data packets of the target service.
  • the terminal PDCP layer can cascade three PDCP SDU data packets received from the upper layer into one PDCP SDU cascade data packet.
  • the cascade data packet Only one encapsulation header is associated, which can effectively reduce the terminal's processing load and header overhead.
  • the sub-data packet refers to the data packet received by the terminal PDCP from the upper layer (such as the SDAP layer). Since the UE cascades multiple data packets received from the upper layer to form a cascade data packet, in order to facilitate understanding of the relationship between the above multiple data packets (such as the above three PDCP SDU data packets) and the cascade data packet, therefore The above multiple data packets are called sub-data packets of the cascade data packet.
  • the terminal performs timing by starting a target timer.
  • the target timer When the target timer times out, the terminal performs a discarding operation on the concatenated data packet.
  • the target timer may be a timer associated with the concatenated data packet, that is, timed by a specific timer to perform the discarding operation of the concatenated data packet.
  • all the concatenated data packets of the terminal may be associated with a target timer, or each concatenated data packet may be associated with a target timer, or each sub-data forming the concatenated data packet may be associated with a target timer.
  • Each package is associated with a target timer. For example, if the concatenated data packet is associated with a target timer, when the target timer times out, the terminal may perform a discard operation on the concatenated data packet associated with the target timer; if the sub-data packets of the concatenated data packet Each is associated with a target timer. When the target timer times out, the terminal can be the subnumber associated with the target timer. The packet is discarded. It should be noted that the terminal's discarding operation of the concatenated data packet may also be in other possible situations, which will be explained in subsequent embodiments and will not be described in detail here.
  • the above target timer may be set based on the delay requirement of the service data packet.
  • the timer value of the target timer may be configured by the network side and provided to the UE.
  • the network side can set the timer value of the target timer based on the delay requirement for service data transmission on the air interface (such as 5ms).
  • the terminal starts the target timer when the startup conditions are met.
  • the terminal performs a discard operation on the concatenated data packet.
  • the terminal can determine when to discard the cascaded data packets through the timing of the target timer, thereby better managing the cascaded data packets and avoiding unnecessary data packets that continue to be sent. additional resource overhead.
  • the concatenated data packet is associated with a target timer.
  • the target timer may also be called a cascade timer, and all cascade data packets of the terminal may be associated with the cascade timer, or one cascade data packet may be associated with a cascade timer.
  • the connection timer is used to determine when to discard the associated cascade data packets to better manage the cascade data packets.
  • the startup conditions include any of the following:
  • the cascaded data packet is submitted to the RLC layer
  • the first sub-data packet associated with the concatenated data packet reaches the PDCP layer of the terminal;
  • the M-th sub-data packet associated with the concatenated data packet reaches the PDCP layer of the terminal; wherein, the M may be a protocol agreement or configured on the network side.
  • the last sub-data packet associated with the concatenated data packet reaches the PDCP layer of the terminal.
  • the terminal when a concatenated data packet is submitted to the RLC layer (also called the bottom layer), the terminal starts a target timer associated with the concatenated data packet.
  • the terminal concatenates the three data packets PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 received from the upper layer into one PDCP SDU (cascade data packet), and then cascades the cascaded PDCP SDU corresponding to
  • the target timer associated with the concatenated PDCP SDU is started.
  • the terminal starts the target timer associated with the concatenated data packet.
  • PDCP concatenates the three data packets PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 received from the upper layer into one PDCP SDU (concatenated data packet).
  • the terminal starts the target timer associated with the concatenated PDCP SDU.
  • PDCP receives 3n-2 (n is a positive integer) data packets from the upper layer, it starts to associate with the cascaded data packets. target timer.
  • the target timer may be a newly defined timer (such as a cascade timer), or it may be a discard timer (discard timer) in related technologies; if it is a discard timer, the PDCP layer When the first sub-data packet of the cascade data packet (such as PDCP SDU#1) is received from the upper layer, the discard timer is started, and the other sub-data packets of the cascade data packet (such as PDCP SDU#1) are received at the PDCP layer from the upper layer. 2. When PDCP SDU#3), the discard timer is not started.
  • the terminal starts the target timer associated with the concatenated data packet.
  • the terminal concatenates the three data packets PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 received from the upper layer into one PDCP SDU (concatenated data packet), and the corresponding PDCP SDU in the concatenated
  • the second PDCP SDU (such as PDCP SDU#2) arrives at the PDCP layer
  • the terminal starts the target timer associated with the concatenated PDCP SDU.
  • the number of data packets that PDCP can be cascaded is configured on the network side to be 3.
  • PDCP receives 3n-1 (n is a positive integer) data packets from the upper layer, it starts to associate with the cascaded data packets. target timer.
  • the target timer may be a newly defined timer (such as a cascade timer), or it may be a discard timer (discard timer) in related technologies; if it is a discard timer, the PDCP layer
  • the discard timer is started, and the other sub-data packets of the cascade data packet (such as PDCP SDU#1) are received at the PDCP layer from the upper layer. , PDCP SDU#3), the discard timer is not started.
  • the terminal may also start the target timer associated with the concatenated data packet when the last sub-data packet associated with the concatenated data packet reaches the PDCP layer.
  • PDCP concatenates the three data packets PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 received from the upper layer into one PDCP SDU (concatenated data packet), and the corresponding PDCP SDU in the concatenated
  • the terminal starts the target timer associated with the concatenated PDCP SDU.
  • the network side configures the number of data packets that PDCP can cascade to be 3.
  • the target timer may be a newly defined timer (such as a cascade timer), or it may be a discard timer (discard timer) in related technologies; if it is a discard timer, the PDCP layer
  • the discard timer is started, and the other sub-data packets of the cascade data packet (such as PDCP SDU#1) are received at the PDCP layer from the upper layer. , PDCP SDU#2), the discard timer is not started.
  • the terminal performs a discarding operation on the concatenated data packet, including at least one of the following:
  • the terminal discards the concatenated SDU corresponding to the concatenated data packet
  • the terminal discards the concatenated PDU corresponding to the concatenated data packet
  • the terminal discards all sub-data packets associated with the concatenated data packet.
  • the terminal may discard the data packet associated with the concatenated data packet.
  • the data packets associated with the cascade data packet include one or more of the following: the cascade SDU corresponding to the cascade data packet (such as cascade PDCP SDU), the cascade PDU corresponding to the cascade data packet (such as cascade PDCP SDU corresponding PDCP PDU), all sub-data packets associated with the concatenated data packet (that is, all sub-data packets forming the concatenated data packet).
  • PDCP concatenates the three data packets PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 received from the upper layer into one PDCP SDU (concatenated data packet).
  • the PDCP layer discards the concatenated PDCP SDU, the PDCP PDU corresponding to the concatenated PDCP SDU, and the sub-data packets that constitute the concatenated PDCP SDU (i.e., PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3). at least one of.
  • the terminal performs a discarding operation on the concatenated data packet, which may also include:
  • the PDCP layer of the terminal When the concatenated data packet has been submitted to the bottom layer (RLC layer), the PDCP layer of the terminal provides discard indication information to the RLC layer associated with the PDCP layer; wherein the discard indication information is used to assist The RLC layer discards the received concatenated data packet.
  • PDCP concatenates the three data packets PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 received from the upper layer into one PDCP SDU (cascade data packet).
  • cascade data packet When the cascade data packet is associated with
  • the target timer times out if the PDCP PDU corresponding to the cascaded PDCP SDU has been submitted to the RLC layer, the PDCP layer provides discard indication information to the RLC layer to instruct the RLC layer to discard the received PDCP PDU.
  • the cascaded data packet is associated with a target timer for timing, so that the terminal can determine when to perform the discard operation on the cascaded data packet.
  • it also clarifies how the terminal performs the discarding operation on the cascaded data packet. , effectively improves the terminal's management of cascaded data packets, and can also avoid resource overhead caused by continued sending of unnecessary data packets, thereby saving terminal overhead.
  • the concatenated data packet is associated with at least two target timers, wherein one target timer corresponds to one sub-data packet. That is, each word packet forming a concatenated packet is associated with a target timer.
  • the terminal starts the target timer when the startup conditions are met, including:
  • the terminal When a sub-data packet associated with the concatenated data packet reaches the PDCP layer of the terminal, the terminal starts a target timer corresponding to the sub-data packet.
  • the terminal when PDCP receives the first sub-data packet (such as PDCP SDU#1) from the upper layer, the terminal starts the Target timer; when PDCP receives the second sub-data packet (such as PDCP SDU#2) from the upper layer, the terminal starts the target timer associated with the PDCP SDU#2; when PDCP receives the last sub-data packet (such as PDCP SDU#2) from the upper layer For example, when PDCP SDU#3), the terminal starts the target timer associated with the PDCP SDU#3. In this way, the terminal can start the target timer associated with each sub-data packet based on the arrival time of the sub-data packets forming the cascade data packet, so as to
  • the terminal when the target timer times out, the terminal performs a discard operation on the concatenated data packet, including any one of the following:
  • the terminal When all of the at least two target timers expire, the terminal performs a discarding operation on the concatenated data packet;
  • the terminal discards the first sub-data packet.
  • the terminal when all target timers corresponding to sub-data packets associated with the concatenated data packet time out, the terminal performs a discard operation on the concatenated data packet.
  • the discarded concatenated data packets include one or more of the following: SDUs corresponding to the concatenated data packets (such as concatenated PDCP SDUs), PDUs corresponding to the concatenated data packets (such as PDCP PDUs corresponding to PDCP SDUs).
  • SDUs corresponding to the concatenated data packets such as concatenated PDCP SDUs
  • PDUs corresponding to the concatenated data packets such as PDCP PDUs corresponding to PDCP SDUs.
  • PDCP concatenates the three data packets PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 received from the upper layer into one PDCP SDU (concatenated data packet).
  • the target timers corresponding to the sub-data packets have all timed out, that is, the target timer #1 corresponding to PDCP SDU#1, the target timer #2 corresponding to PDCP SDU#2, and the target timer #3 corresponding to PDCP SDU#3 have all timed out.
  • the terminal discards the PDCP SDU and the PDCP PDU corresponding to the PDCP SDU.
  • the terminal discards the first sub-data packet. For example, PDCP concatenates the three data packets PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 received from the upper layer into one PDCP SDU (concatenated data packet). If the target corresponding to PDCP SDU#1 When timer #1 times out, the terminal discards the PDCP SDU #1 packet. Additionally, if the PDCP PDU corresponding to the concatenated PDCP SDU has been generated, PDCP can also discard the generated PDCP PDU.
  • the method also includes:
  • the terminal reassembles the concatenated data packet.
  • the lower layer may be an RLC layer.
  • the terminal can reorganize the concatenated data packet, for example, update the header information of the concatenated data packet to implement reassembly.
  • the terminal reassembles the concatenated data packet, including at least one of the following:
  • the terminal deletes the data corresponding to the first sub-data packet in the cascade data packet
  • the terminal updates the header information of the concatenated data packet after deleting the data corresponding to the first sub-data packet;
  • the terminal performs a security update operation on the concatenated data packet after deleting the data corresponding to the first sub-data packet.
  • the terminal may The corresponding data of a sub-data packet in the cascade data packet is deleted, thereby realizing the reorganization of the cascade data packet.
  • PDCP concatenates the three data packets PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 received from the upper layer into one PDCP SDU (concatenated data packet).
  • the target timer corresponding to the sub-data packet (such as PDCP SDU#1) times out, and PDCP deletes the data corresponding to PDCP SDU#1 in the cascaded PDCP SDU.
  • the terminal when the first target timer corresponding to the first sub-data packet times out, if the concatenated data packet associated with the first sub-data packet is not submitted to the RLC layer, the terminal will Delete the corresponding data of one sub-data packet in the cascade data packet, and update the header information of the cascade data packet after deleting the corresponding data of the first sub-data packet, thereby realizing the reorganization of the cascade data packet.
  • the terminal when the first target timer corresponding to the first sub-data packet times out, if the concatenated data packet associated with the first sub-data packet is not submitted to the RLC layer, the terminal will The corresponding data of the first sub-data packet in the cascade data packet is deleted, and a security update operation is performed on the cascade data packet after the corresponding data of the first sub-data packet is deleted, thereby realizing the reorganization of the cascade data packet.
  • PDCP concatenates the three data packets PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 received from the upper layer into one PDCP SDU (concatenated data packet).
  • the target timer corresponding to the sub-data packet (such as PDCP SDU#1) times out, PDCP deletes the data corresponding to PDCP SDU#1 in the cascaded PDCP SDU, and deletes the cascaded PDCP data corresponding to PDCP SDU#1
  • the SDU re-performs security processing operations, such as integrity protection operations, such as recalculating integrity protection parameters (Message Authentication Code for Integrity, MAC-I).
  • the terminal updates the header information of the concatenated data packet after deleting the data corresponding to the first sub-data packet, including:
  • the terminal updates the first information field of the concatenated data packet after deleting the data corresponding to the first sub-data packet, and the first information field is used to indicate the deletion of the concatenated data packet after deleting the data corresponding to the first sub-data packet.
  • Connection packet size is used to indicate the deletion of the concatenated data packet after deleting the data corresponding to the first sub-data packet.
  • the terminal will send the first sub-data packet to the RLC layer.
  • Delete the corresponding data in the concatenated data packet and update the first information field of the concatenated data packet.
  • the first information field may be carried in the header information of the concatenated data packet, so as to realize the deletion of the concatenated data packet. Update of header information. It can be understood that after the data corresponding to the first sub-data packet is deleted, the packet size of the concatenated data packet also changes, and the first information field is used to indicate that the data corresponding to the first sub-data packet is deleted.
  • the final size of the cascade data packet can then allow the bottom layer to accurately know the packet size of the received cascade data packet based on the first information field, so as to facilitate the bottom layer's processing of the cascade data packet.
  • the terminal when the concatenated data packet is associated with at least two target timers, and one target timer corresponds to one sub-data packet, the terminal performs a discarding operation on the concatenated data packet including at least one of the following: item:
  • the terminal discards the concatenated SDU corresponding to the concatenated data packet
  • the terminal discards the concatenated PDU corresponding to the concatenated data packet
  • the terminal discards all sub-data packets associated with the concatenated data packet.
  • the terminal can discard the cascade SDU corresponding to the cascade data packet (such as cascade PDCP SDU) and/or discard the cascade
  • the cascade PDU corresponding to the data packet such as the cascade PDCP PDU corresponding to the cascade PDCP SDU); or, the terminal may also discard all sub-data packets associated with the cascade data packet.
  • the terminal performs a discarding operation on the concatenated data packet, which may also include:
  • the PDCP layer of the terminal When the concatenated data packet has been submitted to the bottom layer (RLC layer), the PDCP layer of the terminal provides discard indication information to the RLC layer associated with the PDCP layer; wherein the discard indication information is used to assist The RLC layer discards the received concatenated data packet.
  • the PDCP layer can provide discard indication information to the RLC layer to Assist the RLC layer to discard the received concatenated data packet. For example, PDCP concatenates the three data packets PDCP SDU#1, PDCP SDU#2, and PDCP SDU#3 received from the upper layer into one PDCP SDU (concatenated data packet).
  • PDCP provides discarding indication information to the RLC layer.
  • the discarding indication information is used to assist the RLC layer. Discard the entire concatenated packet, that is, discard the concatenated PDCP SDU.
  • the terminal when the concatenated data packet has been submitted to the RLC layer, the terminal can send discard indication information to the RLC layer through the PDCP layer to assist the RLC layer in discarding the received concatenated data packet, thereby also It is possible to discard the cascaded data packets that have been submitted to the RLC layer to better manage the cascaded data packets and avoid the resource overhead caused by the continued sending of unnecessary data packets to save terminal overhead and resources. .
  • the execution subject may be a data packet discarding processing device.
  • the processing method of data packet discarding performed by the data packet discarding processing apparatus is used as an example to illustrate the data packet discarding processing apparatus provided by the embodiment of the present application.
  • FIG. 4 is a structural diagram of a data packet discarding processing device provided by an embodiment of the present application.
  • the data packet discarding processing device 400 includes:
  • Start module 401 used to start the target timer when the startup conditions are met
  • the discarding module 402 is configured to perform a discarding operation on the concatenated data packet when the target timer times out;
  • the cascaded data packet is a data packet formed by concatenating at least two sub-data packets, and the cascaded data packet is associated with an encapsulation header.
  • the concatenated data packet is associated with a target timer.
  • the startup conditions include any of the following:
  • the cascaded data packet is submitted to the radio link control RLC layer;
  • the first sub-data packet associated with the cascaded data packet reaches the Packet Data Convergence Protocol PDCP layer;
  • the M-th sub-data packet associated with the cascade data packet reaches the PDCP layer, where the M may be a protocol agreement or configured by the network side;
  • the last sub-packet associated with the concatenated data packet reaches the PDCP layer.
  • the discarding module 402 is also configured to perform at least one of the following:
  • the discarding module 402 is also used to:
  • the discard indication information is used to assist the RLC layer in discarding the received concatenated data packet.
  • the concatenated data packet is associated with at least two target timers
  • a target timer corresponds to a sub-data packet.
  • the startup module 401 is also used to:
  • a target timer corresponding to the sub-data packet is started.
  • the discard module 402 is also used to perform any of the following:
  • the first sub-data packet is discarded.
  • the device when the first target timer corresponding to the first sub-data packet times out, the device further includes:
  • a reassembly module configured to reassemble the concatenated data packet when the concatenated data packet associated with the first sub-data packet is not submitted to the bottom layer.
  • the recombination module is also used to perform at least one of the following:
  • the recombination module is also used to:
  • the startup module 401 starts the target timer when the startup conditions are met.
  • the discard module 402 performs a discard operation on the concatenated data packet. In this way, the device can determine when to discard the cascaded data packets through the timing of the target timer, thereby better managing the cascaded data packets and avoiding unnecessary continuation of the data packets. Additional resource overhead caused by sending.
  • the data packet discard processing device 400 in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or may be a component in the electronic device, such as an integrated circuit or chip.
  • the electronic device may be a terminal or other devices other than the terminal.
  • terminals may include but are not limited to the types of terminals 11 listed above, and other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., which are not specifically limited in the embodiment of this application.
  • NAS Network Attached Storage
  • the data packet discard processing device 400 provided by the embodiment of the present application can implement each process implemented by the terminal in the method embodiment of Figure 3, and achieve the same technical effect. To avoid duplication, details will not be described here.
  • this embodiment of the present application also provides a communication device 500, which includes a processor 501 and a memory 502.
  • the memory 502 stores programs or instructions that can be run on the processor 501, such as , when the communication device 500 is a terminal, when the program or instruction is executed by the processor 501, each step of the method embodiment in Figure 2 is implemented, and the same technical effect can be achieved. To avoid duplication, the details will not be described here.
  • Embodiments of the present application also provide a terminal, including a processor and a communication interface.
  • the processor is configured to start a target timer when the startup conditions are met. When the target timer times out, discard the cascade data packet. Operation; wherein, the cascaded data packet is a data packet formed by concatenating at least two sub-data packets, and the cascaded data packet is associated with an encapsulation header.
  • This terminal embodiment corresponds to the above-mentioned terminal-side method embodiment.
  • Each implementation process and implementation manner of the above-mentioned method embodiment can be applied to this terminal embodiment, and can achieve the same technical effect.
  • FIG. 6 is a schematic diagram of the hardware structure of a terminal that implements an embodiment of the present application.
  • the terminal 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, etc. At least some parts.
  • the terminal 600 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processor 610 through a power management system, thereby managing charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal structure shown in FIG. 6 does not constitute a limitation on the terminal.
  • the terminal may include more or fewer components than shown in the figure, or some components may be combined or arranged differently, which will not be described again here.
  • the input unit 604 may include a graphics processing unit (Graphics Processing Unit, GPU) 6041 and a microphone 6042.
  • the graphics processor 6041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras).
  • the display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 607 includes a touch panel 6071 and at least one of other input devices 6072 .
  • Touch panel 6071 also called touch screen.
  • the touch panel 6071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 6072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • the radio frequency unit 601 after receiving downlink data from the network side device, can transmit it to the processor 610 for processing; in addition, the radio frequency unit 601 can send uplink data to the network side device.
  • the radio frequency unit 601 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.
  • Memory 609 may be used to store software programs or instructions as well as various data.
  • the memory 609 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc.
  • memory 609 may include volatile memory or non-volatile memory, or memory 609 may include both volatile and non-volatile memory.
  • non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
  • RAM Random Access Memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM Double Data Rate SDRAM
  • DDRSDRAM double data rate synchronous dynamic random access memory
  • Enhanced SDRAM, ESDRAM enhanced synchronous dynamic random access memory
  • Synch link DRAM synchronous link dynamic random access memory
  • SLDRAM direct memory bus
  • the processor 610 may include one or more processing units; optionally, the processor 610 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 610.
  • the processor 610 is used to start the target timer when the startup conditions are met.
  • the cascaded data packet is a data packet formed by concatenating at least two sub-data packets, and the cascaded data packet is associated with an encapsulation header.
  • the concatenated data packet is associated with a target timer.
  • the startup conditions include any of the following:
  • the cascaded data packet is submitted to the radio link control RLC layer;
  • the first sub-data packet associated with the concatenated data packet reaches the Packet Data Convergence Protocol PDCP layer of the terminal;
  • the M-th sub-data packet associated with the concatenated data packet reaches the PDCP layer of the terminal, where the M may be a protocol agreement or configured on the network side;
  • the last sub-data packet associated with the concatenated data packet reaches the PDCP layer of the terminal.
  • processor 610 is also configured to perform at least one of the following:
  • processor 610 is also used to:
  • the discard indication information is used to assist the RLC layer in discarding the received concatenated data packet.
  • the concatenated data packet is associated with at least two target timers
  • a target timer corresponds to a sub-data packet.
  • processor 610 is also used to:
  • a target timer corresponding to the sub-data packet is started.
  • processor 610 is also used to perform any of the following:
  • the first sub-data packet is discarded.
  • the processor 610 when the first target timer corresponding to the first sub-data packet times out, the processor 610 is also configured to:
  • the concatenated data packet associated with the first sub-data packet is not delivered to the bottom layer, the concatenated data packet is reassembled.
  • processor 610 is also configured to perform at least one of the following:
  • processor 610 is also used to:
  • the terminal starts the target timer when the startup conditions are met.
  • the terminal performs a discard operation on the concatenated data packet.
  • the terminal can set the target The timer is used to determine when to discard the cascaded data packets, so as to better manage the cascaded data packets and avoid additional resource overhead caused by the continued sending of unnecessary data packets.
  • Embodiments of the present application also provide a readable storage medium, which stores a program or instructions.
  • a program or instructions When the program or instructions are executed by a processor, each process of the above-mentioned packet discarding processing method embodiment is implemented, and can achieve the same technical effect, so to avoid repetition, we will not repeat them here.
  • the processor is the processor in the terminal described in the above embodiment.
  • the readable storage medium includes computer readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disk, etc.
  • An embodiment of the present application further provides a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the above-mentioned data packet discarding processing method.
  • Each process of the embodiment can achieve the same technical effect, so to avoid repetition, it will not be described again here.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-chip or system-on-chip, etc.
  • Embodiments of the present application further provide a computer program/program product.
  • the computer program/program product is stored in a storage medium.
  • the computer program/program product is executed by at least one processor to implement the above-mentioned data packet discarding process.
  • Each process of the method embodiment can achieve the same technical effect, so to avoid repetition, it will not be described again here.
  • Embodiments of the present application also provide a communication system, including: a terminal and a network-side device.
  • the terminal may be configured to perform the steps of the data packet discarding processing method as described above.
  • the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
  • the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to related technologies.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of this application.

Landscapes

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

Abstract

本申请公开了一种数据包丢弃的处理方法、装置、终端及可读存储介质,属于通信技术领域,本申请实施例的数据包丢弃的处理方法包括:终端在满足启动条件的情况下启动目标定时器;在所述目标定时器超时的情况下,所述终端对级联数据包执行丢弃操作;其中,所述级联数据包为将至少两个子数据包进行级联形成的数据包,所述级联数据包关联一个封装包头。

Description

数据包丢弃的处理方法、装置、终端及可读存储介质
相关申请的交叉引用
本申请主张在2022年05月09日在中国提交的中国专利申请No.202210532378.0的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种数据包丢弃的处理方法、装置、终端及可读存储介质。
背景技术
目前,分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)层对每一个从上层接收到的数据包是单独进行处理的,而每个单独处理的数据包需要单独关联PDCP封装包头,导致对终端造成了较大的处理负荷以及头开销。终端对于接收到的数据包可能需要进行丢弃操作,而如何处理PDCP数据包的丢弃仍不明确,导致终端对于PDCP数据包的丢弃处理较为混乱。
发明内容
本申请实施例提供一种数据包丢弃的处理方法、装置、终端及可读存储介质,能够解决相关技术中终端对于处理PDCP数据包的丢弃过程仍不明确的问题。
第一方面,提供了一种数据包丢弃的处理方法,包括:
终端在满足启动条件的情况下启动目标定时器;
在所述目标定时器超时的情况下,所述终端对级联数据包执行丢弃操作;
其中,所述级联数据包为将至少两个子数据包进行级联形成的数据包,所述级联数据包关联一个封装包头。
第二方面,提供了一种数据包丢弃的处理装置,包括:
启动模块,用于在满足启动条件的情况下启动目标定时器;
丢弃模块,用于在所述目标定时器超时的情况下,对级联数据包执行丢弃操作;
其中,所述级联数据包为将至少两个子数据包进行级联形成的数据包,所述级联数据包关联一个封装包头。
第三方面,提供了一种终端,该终端包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的数据包丢弃的处理方法的步骤。
第四方面,提供了一种终端,包括处理器及通信接口,其中,所述处理器用于在满足启动条件的情况下启动目标定时器,在所述目标定时器超时的情况下,对级联数据包执行丢弃操作;
其中,所述级联数据包为将至少两个子数据包进行级联形成的数据包,所述级联数据包关联一个封装包头。
第五方面,提供了一种通信系统,包括:终端及网络侧设备,所述终端可用于执行如第一方面所述的数据包丢弃的处理方法的步骤。
第六方面,提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的数据包丢弃的处理方法的步骤。
第七方面,提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的数据包丢弃的处理方法。
第八方面,提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现如第一方面所述的数据包丢弃的处理方法。
在本申请实施例中,终端在满足启动条件的情况下启动目标定时器,在所述目标定时器超时的情况下,则终端对级联数据包执行丢弃操作。这样,也就使得终端能够通过目标定时器的计时,来确定何时对级联数据包执行丢弃,进而能够更好地实现的对级联数据包的管理,避免不必要的数据包继续发送导致的额外的资源开销。
附图说明
图1是本申请实施例可应用的一种无线通信系统的框图;
图2是适用于本申请实施例的一种NR用户面(User Plane,UP)协议架构示意图;
图3是本申请实施例提供的一种数据包丢弃的处理方法的流程图;
图4是本申请实施例提供的一种数据包丢弃的处理装置的结构图;
图5是本申请实施例提供的一种通信设备的结构图;
图6是本申请实施例提供的一种终端的结构图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换, 以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”所区别的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”一般表示前后关联对象是一种“或”的关系。
值得指出的是,本申请实施例所描述的技术不限于长期演进型(Long Term Evolution,LTE)/LTE的演进(LTE-Advanced,LTE-A)系统,还可用于其他无线通信系统,诸如码分多址(Code Division Multiple Access,CDMA)、时分多址(Time Division Multiple Access,TDMA)、频分多址(Frequency Division Multiple Access,FDMA)、正交频分多址(Orthogonal Frequency Division Multiple Access,OFDMA)、单载波频分多址(Single-carrier Frequency Division Multiple Access,SC-FDMA)和其他系统。本申请实施例中的术语“系统”和“网络”常被可互换地使用,所描述的技术既可用于以上提及的系统和无线电技术,也可用于其他系统和无线电技术。以下描述出于示例目的描述了新空口(New Radio,NR)系统,并且在以下大部分描述中使用NR术语,但是这些技术也可应用于NR系统应用以外的应用,如第6代(6th Generation,6G)通信系统。
图1示出本申请实施例可应用的一种无线通信系统的框图。无线通信系统包括终端11和网络侧设备12。其中,终端11可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)或称为笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)、掌上电脑、上网本、超级移动个人计算机(ultra-mobile personal computer,UMPC)、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴式设备(Wearable Device)、车载设备(Vehicle User Equipment,VUE)、行人终端(Pedestrian User Equipment,PUE)、智能家居(具有无线通信功能的家居设备,如冰箱、电视、洗衣机或者家具等)、游戏机、个人计算机(personal computer,PC)、柜员机或者自助机等终端侧设备,可穿戴式设备包括:智能手表、智能手环、智能耳机、智能眼镜、智能首饰(智能手镯、智能手链、智能戒指、智能项链、智能脚镯、智能脚链等)、智能腕带、智能服装等。需要说明的是,在本申请实施例并不限定终端11的具体类型。网络侧设备12可以包括接入网设备或核心网设备,其中,接入网设备也可以称为无线接入网设备、无线接入网(Radio Access Network,RAN)、无线接入网功能或无线接入网单元。接入网设备可以包括基站、无线局域网(Wireless Local Area Network,WLAN)接入点、无线保真(Wireless Fidelity,WiFi)节点等,基站可被称为节点B、演进节点B(eNB)、接入点、基收发机站(Base Transceiver Station,BTS)、无线电基站、无线电收发机、基本服务集(Basic Service Set,BSS)、扩展服务集(Extended Service Set,ESS)、家用B节点、家用演进型B节点、发送接收点(Transmitting Receiving Point,TRP)或所述领域中其他某个合适的术语,只要达到相同的技术效果,所述基站不限于特定技术词汇,需要说明的是,在本申请实施例中仅以NR系统中的基站为例进行介绍,并不限定基站的具体类型。
为更好地理解本申请实施例提供的技术方案,以下对本申请实施例中可能涉及的相关概念进行解释说明。
分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)功能简介
请参照图2,图2是适用于本申请实施例的一种NR用户面(User Plane,UP)协议架构示意图,NR UP协议架构由服务数据适应协议(Service Data Adaptation Protocol,SDAP)、PDCP、无线链路控制(Radio Link Control,RLC)、媒体接入控制(Medium Access Control,MAC)和物理层(Physical,PHY)组成。PDCP从上层SDAP接收到的数据包为PDCP服务数据单元(Service Data Unit,SDU),经PDCP层处理并关联了PDCP层封装包头的数据包为PDCP协议数据单元(Protocol Data Unit,PDU)。PDCP层需要对每一个接收到的PDCP SDU进行处理(如安全处理,关联PDCP头(header)等),以生成PDCP PDU。NR还引入预处理功能,因此,对于PDCP处理完并生成的PDCP PDU,可以直接递交到RLC。
下面结合附图,通过一些实施例及其应用场景对本申请实施例提供的数据包丢弃的处理方法进行详细地说明。
请参照图3,图3是本申请实施例提供的一种数据包丢弃的处理方法的流程图,如图3所示,所述方法包括以下步骤:
步骤301、终端在满足启动条件的情况下启动目标定时器;
步骤302、在所述目标定时器超时的情况下,所述终端对级联数据包执行丢弃操作。
其中,所述级联数据包为将至少两个子数据包进行级联形成的数据包,所述级联数据包关联一个封装包头。
需要说明地,终端能够对目标业务的数据包执行级联操作,例如终端PDCP层可将从上层接收到的三个PDCP SDU数据包级联成一个PDCP SDU级联数据包,该级联数据包只关联一个封装包头,进而也就能够有效减少终端的处理负荷及头开销。
另外需要说明的是,在本申请实施例中,子数据包指的是终端PDCP从上层(如SDAP层)接收到的数据包。由于UE将从上层接收到的多个数据包进行级联以形成一个级联数据包,为便于理解上述多个数据包(如上述三个PDCP SDU数据包)和级联数据包的关系,因此将上述多个数据包称为级联数据包的子数据包。
本申请实施例中,终端通过启动目标定时器来进行计时,当目标定时器超时的情况下,则对级联数据包执行丢弃操作。其中,所述目标定时器可以是与级联数据包关联的定时器,也即通过特定的定时器来进行计时,以执行对级联数据包的丢弃操作。
可选地,可以是终端所有的级联数据包关联一个目标定时器,或者也可以是每一个级联数据包各自关联一个目标定时器,或者还可以是形成级联数据包的每一个子数据包各自关联一个目标定时器。例如,若级联数据包关联一个目标定时器,当所述目标定时器超时,终端可以是对与所述目标定时器关联的级联数据包执行丢弃操作;若级联数据包的子数据包各自关联一个目标定时器,当目标定时器超时,终端可以是对于目标定时器关联的子数 据包执行丢弃操作。需要说明地,所述终端对级联数据包的丢弃操作还可以是其他的可能情况,后续实施例中将进行说明,此处不做具体赘述。
另外需要说明的是,上述的目标定时器可以是基于业务数据包的时延需求设定的。示例性的,所述目标定时器的定时器值可以是由网络侧配置并提供给UE的。网络侧可以基于业务数据在空口传输的时延需求(如5ms)来设置目标定时器的定时器值。
本申请实施例中,终端在满足启动条件的情况下启动目标定时器,在所述目标定时器超时的情况下,则终端对级联数据包执行丢弃操作。这样,也就使得终端能够通过目标定时器的计时,来确定何时对级联数据包执行丢弃,进而能够更好地实现的对级联数据包的管理,避免不必要的数据包继续发送导致的额外的资源开销。
可选地,在本申请实施例的一种实施方式中,所述级联数据包与一个目标定时器关联。例如,所述目标定时器也可以称为级联定时器,终端的所有级联数据包可以是关联所述级联定时器,或者一个级联数据包关联一个级联定时器,通过所述级联定时器的计时,来确定何时对关联的级联数据包执行丢弃操作,以更好地实现对级联数据包的管理。
可选地,在该实施方式中,所述启动条件包括如下任意一项:
所述级联数据包递交到RLC层;
与所述级联数据包关联的第一个子数据包到达所述终端的PDCP层;
与所述级联数据包关联的第M个子数据包到达所述终端的PDCP层;其中,所述M可以是协议约定,或是网络侧配置的。
与所述级联数据包关联的最后一个子数据包到达所述终端的PDCP层。
例如,在级联数据包递交到RLC层(或者也称底层)时,终端启动与所述级联数据包关联的目标定时器。示例性地,PDCP将从上层接收到的PDCP SDU#1、PDCP SDU#2、PDCP SDU#3三个数据包级联成一个PDCP SDU(级联数据包),在将该级联PDCP SDU对应的PDCP PDU递交到底层(如RLC层)时,启动与所述级联PDCP SDU关联的目标定时器。
或者,在级联数据包关联的第一个子数据包到达终端的PDCP层时,终端启动与所述级联数据包关联的目标定时器。示例性地,PDCP将从上层接收到的PDCP SDU#1、PDCP SDU#2、PDCP SDU#3三个数据包级联成一个PDCP SDU(级联数据包),在该级联PDCP SDU对应的第一个PDCP SDU(如PDCP SDU#1)到达PDCP层时,终端启动与该级联PDCP SDU关联的目标定时器。作为另外一种示例,假设网络侧配置PDCP可级联的数据包个数为3,则PDCP在从上层接收到3n-2(n为正整数)个数据包时,启动与级联数据包关联的目标定时器。需要说明的是,所述目标定时器可以是新定义的定时器(如级联定时器),或者也可以是相关技术中的丢弃定时器(discard timer);若为丢弃定时器,PDCP层在从上层接收到级联数据包的第一个子数据包(如PDCP SDU#1)时,启动丢弃定时器,在PDCP层从上层接收到级联数据包的其他子数据包(如PDCP SDU#2、PDCP SDU#3)时,不启动丢弃定时器。
或者,在级联数据包关联的第M(例如网络侧配置M=2)个子数据包到达终端的PDCP层时,终端启动与所述级联数据包关联的目标定时器。示例性地,PDCP将从上层接收到的PDCP SDU#1、PDCP SDU#2、PDCP SDU#3三个数据包级联成一个PDCP SDU(级联数据包),在该级联PDCP SDU对应的第二个PDCP SDU(如PDCP SDU#2)到达PDCP层时,终端启动与该级联PDCP SDU关联的目标定时器。作为另外一种示例,假设网络侧配置PDCP可级联的数据包个数为3,则PDCP在从上层接收到3n-1(n为正整数)个数据包时,启动与级联数据包关联的目标定时器。需要说明的是,所述目标定时器可以是新定义的定时器(如级联定时器),或者也可以是相关技术中的丢弃定时器(discard timer);若为丢弃定时器,PDCP层在从上层接收到级联数据包的第二个子数据包(如PDCP SDU#2)时,启动丢弃定时器,在PDCP层从上层接收到级联数据包的其他子数据包(如PDCP SDU#1、PDCP SDU#3)时,不启动丢弃定时器。
或者,终端也可以是在级联数据包关联的最后一个子数据包到达PDCP层时,启动与所述级联数据包关联的目标定时器。示例性地,PDCP将从上层接收到的PDCP SDU#1、PDCP SDU#2、PDCP SDU#3三个数据包级联成一个PDCP SDU(级联数据包),在该级联PDCP SDU对应的最后一个PDCP SDU(如PDCP SDU#3)到达PDCP层时,终端启动与该级联PDCP SDU关联的目标定时器。作为另外一种示例,假设网络侧配置PDCP可级联的数据包个数为3,则PDCP在从上层接收到3n(n为正整数)个数据包时,启动与级联数据包关联的目标定时器。需要说明的是,所述目标定时器可以是新定义的定时器(如级联定时器),或者也可以是相关技术中的丢弃定时器(discard timer);若为丢弃定时器,PDCP层在从上层接收到级联数据包的最后一个子数据包(如PDCP SDU#3)时,启动丢弃定时器,在PDCP层从上层接收到级联数据包的其他子数据包(如PDCP SDU#1、PDCP SDU#2)时,不启动丢弃定时器。
可选地,所述终端对级联数据包执行丢弃操作,包括以下至少一项:
终端丢弃所述级联数据包对应的级联SDU;
终端丢弃所述级联数据包对应的级联PDU;
终端丢弃与所述级联数据包关联的全部子数据包。
本申请实施例中,在级联数据包与一个目标定时器关联的情况下,若目标定时器超时,终端可以是丢弃与所述级联数据包关联的数据包。其中,与级联数据包关联的数据包包括以下一项或多项:级联数据包对应的级联SDU(如级联PDCP SDU)、级联数据包对应的级联PDU(如级联PDCP SDU对应的PDCP PDU)、与级联数据包关联的全部子数据包(也即形成所述级联数据包的全部子数据包)。
示例性地,PDCP将从上层接收到的PDCP SDU#1、PDCP SDU#2、PDCP SDU#3三个数据包级联成一个PDCP SDU(级联数据包),当该级联数据包关联的目标定时器超时,PDCP层丢弃级联PDCP SDU、级联PDCP SDU对应的PDCP PDU、组成级联PDCP SDU的子数据包(也即PDCP SDU#1、PDCP SDU#2、PDCP SDU#3)中的至少一项。
可选地,所述终端对级联数据包执行丢弃操作,还可以包括:
在所述级联数据包已经递交到底层(RLC层)的情况下,所述终端的PDCP层向与所述PDCP层关联的RLC层提供丢弃指示信息;其中,所述丢弃指示信息用于辅助所述RLC层丢弃接收到的所述级联数据包。
示例性地,PDCP将从上层接收到的PDCP SDU#1、PDCP SDU#2、PDCP SDU#3三个数据包级联成一个PDCP SDU(级联数据包),当该级联数据包关联的目标定时器超时,若级联PDCP SDU对应的PDCP PDU已经递交到RLC层,则PDCP层向RLC层提供丢弃指示信息,以指示RLC层丢弃接收到的所述PDCP PDU。
本申请实施例中,通过级联数据包关联一个目标定时器来进行计时,使得终端能够明确在何时对级联数据包执行丢弃操作,另外也明确了终端对级联数据包如何执行丢弃操作,有效提升了终端对于级联数据包的管理,也能够避免不必要的数据包继续发送导致的资源开销,进而以节省终端开销。
可选地,在本申请实施例的另一种实施方式中,所述级联数据包与至少两个目标定时器关联,其中,一个目标定时器与一个子数据包对应。也就是说,形成级联数据包的每个字数据包各自关联一个目标定时器。
可选地,在该实施方式下,所述终端在满足启动条件的情况下启动目标定时器,包括:
在与所述级联数据包关联的子数据包到达所述终端的PDCP层的情况下,终端启动与所述子数据包对应的目标计时器。
例如,假设网络侧配置PDCP可级联的数据包个数为3,则PDCP在从上层接收到第一个子数据包(如PDCP SDU#1)时,终端启动与该PDCP SDU#1关联的目标计时器;在PDCP从上层接收到第二个子数据包(如PDCP SDU#2)时,终端启动与该PDCP SDU#2关联的目标计时器;在PDCP从上层接收到最后一个子数据包(如PDCP SDU#3)时,终端启动与该PDCP SDU#3关联的目标计时器。这样,终端也就能够基于形成级联数据包的子数据包到达的时间,来分别启动每个子数据包各自关联的目标计时器,以
可选地,该实施方式下,所述在所述目标定时器超时的情况下,所述终端对级联数据包执行丢弃操作,包括如下任意一项:
在所述至少两个目标定时器全部超时的情况下,所述终端对级联数据包执行丢弃操作;
在与第一子数据包对应的第一目标定时器超时的情况下,终端丢弃所述第一子数据包。
例如,在一种实施方案中,在所有与级联数据包关联的子数据包对应的目标定时器全部超时的情况下,则终端对所述级联数据包执行丢弃操作。其中,丢弃的所述级联数据包包括以下一项或多项:级联数据包对应的SDU(如级联PDCP SDU)、级联数据包对应的PDU(如PDCP SDU对应的PDCP PDU)。示例性地,PDCP将从上层接收到的PDCP SDU#1、PDCP SDU#2、PDCP SDU#3三个数据包级联成一个PDCP SDU(级联数据包),当所有与级联数据包关联的子数据包对应的目标定时都超时,也即PDCP SDU#1对应的目标定时器#1、PDCP SDU#2对应的目标定时器#2、PDCP SDU#3对应的目标定时器#3均超时的情况 下,则终端丢弃PDCP SDU以及PDCP SDU对应的PDCP PDU。
或者,在另一种实施方案中,在级联数据包关联的第一子数据包对应的第一目标定时器超时的情况下,则终端丢弃该第一子数据包。示例性地,PDCP将从上层接收到的PDCP SDU#1、PDCP SDU#2、PDCP SDU#3三个数据包级联成一个PDCP SDU(级联数据包),若PDCP SDU#1对应的目标计时器#1超时,则终端丢弃该PDCP SDU#1数据包。额外地,如果级联PDCP SDU对应的PDCP PDU已经生成,PDCP还可以丢弃已经生成的所述PDCP PDU。
可选地,所述方法还包括:
在与所述第一子数据包关联的级联数据包未递交到下层的情况下,所述终端重组所述级联数据包。
其中,所述下层可以是RLC层。例如,若级联数据包还未递交到RLC层,则终端可以重组所述级联数据包,例如可以是对级联数据包的包头信息进行更新以实现重组。
可选地,所述终端重组所述级联数据包,包括以下至少一项:
所述终端将所述级联数据包中与第一子数据包对应的数据删除;
所述终端对删除第一子数据包对应数据后的所述级联数据包的包头信息进行更新;
所述终端对删除第一子数据包对应数据后的所述级联数据包执行安全更新操作。
例如,在一种实施方式中,在第一子数据包对应的第一目标定时器超时的情况下,若该第一子数据包关联的级联数据包未递交到RLC层,终端可以将第一子数据包在所述级联数据包中对应的数据删除,进而以实现对级联数据包的重组。示例性地,PDCP将从上层接收到的PDCP SDU#1、PDCP SDU#2、PDCP SDU#3三个数据包级联成一个PDCP SDU(级联数据包),当与该级联PDCP SDU关联的子数据包(如PDCP SDU#1)对应的目标定时器超时,PDCP将该级联PDCP SDU中与PDCP SDU#1对应的数据删除。
或者,在另一种实施方式中,在第一子数据包对应的第一目标定时器超时的情况下,若该第一子数据包关联的级联数据包未递交到RLC层,终端将第一子数据包在所述级联数据包中对应的数据删除,并对删除了第一子数据包对应数据后的级联数据包的包头信息进行更新,进而以实现对级联数据包的重组。
又或者,在另一种实施方式中,在第一子数据包对应的第一目标定时器超时的情况下,若该第一子数据包关联的级联数据包未递交到RLC层,终端将第一子数据包在所述级联数据包中对应的数据删除,并对删除了第一子数据包对应数据后的级联数据包执行安全更新操作,进而以实现对级联数据包的重组。示例性地,PDCP将从上层接收到的PDCP SDU#1、PDCP SDU#2、PDCP SDU#3三个数据包级联成一个PDCP SDU(级联数据包),当与该级联PDCP SDU关联的子数据包(如PDCP SDU#1)对应的目标定时器超时,PDCP将该级联PDCP SDU中与PDCP SDU#1对应的数据删除,并将删除了PDCP SDU#1对应数据的级联PDCP SDU重新进行安全处理操作,例如完整性保护操作,如重新计算完整性保护参数(Message Authentication Code for Integrity,MAC-I)。
可选地,所述终端对删除第一子数据包对应数据后的所述级联数据包的包头信息进行更新,包括:
所述终端对删除第一子数据包对应数据后的所述级联数据包的第一信息域进行更新,所述第一信息域用于指示删除第一子数据包对应数据后的所述级联数据包大小。
例如,在第一子数据包对应的第一目标定时器超时的情况下,若该第一子数据包关联的级联数据包未递交到RLC层,终端将第一子数据包在所述级联数据包中对应的数据删除,并更新所述级联数据包的第一信息域,所述第一信息域可以是携带在级联数据包的包头信息中,进而以实现对级联数据包包头信息的更新。可以理解地,在删除了第一子数据包对应的数据后,所述级联数据包的包大小也即发生了变化,所述第一信息域用于指示删除了第一子数据包对应数据后的所述级联数据包大小,进而也就能够让底层基于所述第一信息域准确获知接收到的级联数据包的包大小,以助于底层对于级联数据包的处理。
本申请实施例中,在级联数据包与至少两个目标定时器关联,其中一个目标定时器与一个子数据包对应的情况下,所述终端对级联数据包执行丢弃操作包括以下至少一项:
终端丢弃所述级联数据包对应的级联SDU;
终端丢弃所述级联数据包对应的级联PDU;
终端丢弃与所述级联数据包关联的全部子数据包。
例如,在级联数据包关联的子数据包各自对应的目标定时器均超时的情况下,终端可以是丢弃级联数据包对应的级联SDU(如级联PDCP SDU)和/或丢弃级联数据包对应的级联PDU(如级联PDCP SDU对应的级联PDCP PDU);或者,终端还可以是丢弃与所述级联数据包关联的全部子数据包。
可选地,所述终端对级联数据包执行丢弃操作,还可以包括:
在所述级联数据包已经递交到底层(RLC层)的情况下,所述终端的PDCP层向与所述PDCP层关联的RLC层提供丢弃指示信息;其中,所述丢弃指示信息用于辅助所述RLC层丢弃接收到的所述级联数据包。
具体地,在级联数据包关联的子数据包各自对应的目标定时器均超时的情况下,若所述级联数据包已经递交到RLC层,PDCP层可以向RLC层提供丢弃指示信息,以辅助所述RLC层丢弃接收到的所述级联数据包。示例性地,PDCP将从上层接收到的PDCP SDU#1、PDCP SDU#2、PDCP SDU#3三个数据包级联成一个PDCP SDU(级联数据包),当所有子数据包各自对应的目标定时器都超时,也即PDCP SDU#1、PDCP SDU#2、PDCP SDU#3各自对应的目标定时器都超时,PDCP向RLC层提供丢弃指示信息,所述丢弃指示信息用于辅助RLC层丢弃整个级联数据包,也即丢弃级联PDCP SDU。
本申请实施例中,在级联数据包已经递交到RLC层的情况下,终端能够通过PDCP层向RLC层发送丢弃指示信息,以辅助RLC层丢弃接收到的所述级联数据包,进而也就能够对已经递交到RLC层的级联数据包执行丢弃操作,以更好地实现对级联数据包的管理,避免不必要的数据包的继续发送导致的资源开销,以节省终端开销和资源。
本申请实施例提供的数据包丢弃的处理方法,执行主体可以为数据包丢弃的处理装置。本申请实施例中以数据包丢弃的处理装置执行数据包丢弃的处理方法为例,说明本申请实施例提供的数据包丢弃的处理装置。
请参照图4,图4是本申请实施例提供的一种数据包丢弃的处理装置的结构图。如图4所示,所述数据包丢弃的处理装置400包括:
启动模块401,用于在满足启动条件的情况下启动目标定时器;
丢弃模块402,用于在所述目标定时器超时的情况下,对级联数据包执行丢弃操作;
其中,所述级联数据包为将至少两个子数据包进行级联形成的数据包,所述级联数据包关联一个封装包头。
可选地,所述级联数据包与一个目标定时器关联。
可选地,所述启动条件包括如下任意一项:
所述级联数据包递交到无线链路控制RLC层;
与所述级联数据包关联的第一个子数据包到达分组数据汇聚协议PDCP层;
与所述级联数据包关联的第M个子数据包到达PDCP层,其中,所述M可以是协议约定或是网络侧配置的;
与所述级联数据包关联的最后一个子数据包到达PDCP层。
可选地,所述丢弃模块402还用于执行以下至少一项:
丢弃所述级联数据包对应的级联服务数据单元SDU;
丢弃所述级联数据包对应的级联协议数据单元PDU;
丢弃与所述级联数据包关联的全部子数据包。
可选地,所述丢弃模块402还用于:
在所述级联数据包已经递交到底层的情况下,基于PDCP层向与所述PDCP层关联的RLC层提供丢弃指示信息;
其中,所述丢弃指示信息用于辅助所述RLC层丢弃接收到的所述级联数据包。
可选地,所述级联数据包与至少两个目标定时器关联;
其中,一个目标定时器与一个子数据包对应。
可选地,所述启动模块401还用于:
在与所述级联数据包关联的子数据包到达所述装置的PDCP层的情况下,启动与所述子数据包对应的目标定时器。
可选地,所述丢弃模块402还用于执行如下任意一项:
在所述至少两个目标定时器全部超时的情况下,对级联数据包执行丢弃操作;
在与第一子数据包对应的第一目标定时器超时的情况下,丢弃所述第一子数据包。
可选地,在与第一子数据包对应的第一目标定时器超时的情况下,所述装置还包括:
重组模块,用于在与所述第一子数据包关联的级联数据包未递交到底层的情况下,重组所述级联数据包。
可选地,所述重组模块还用于执行以下至少一项:
将所述级联数据包中与第一子数据包对应的数据删除;
对删除第一子数据包对应数据后的所述级联数据包的包头信息进行更新;
对删除第一子数据包对应数据后的所述级联数据包执行安全更新操作。
可选地,所述重组模块还用于:
对删除第一子数据包对应数据后的所述级联数据包的第一信息域进行更新,所述第一信息域用于指示删除第一子数据包对应数据后的所述级联数据包大小。
本申请实施例中,启动模块401在满足启动条件的情况下启动目标定时器,在所述目标定时器超时的情况下,则丢弃模块402对级联数据包执行丢弃操作。这样,也就使得所述装置能够通过目标定时器的计时,来确定何时对级联数据包执行丢弃,进而能够更好地实现的对级联数据包的管理,避免不必要的数据包继续发送导致的额外的资源开销。
本申请实施例中的数据包丢弃的处理装置400以是电子设备,例如具有操作系统的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,终端可以包括但不限于上述所列举的终端11的类型,其他设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)等,本申请实施例不作具体限定。
本申请实施例提供的数据包丢弃的处理装置400能够实现图3方法实施例中终端实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。
可选地,如图5所示,本申请实施例还提供一种通信设备500,包括处理器501和存储器502,存储器502上存储有可在所述处理器501上运行的程序或指令,例如,该通信设备500为终端时,该程序或指令被处理器501执行时实现上述图2方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例还提供一种终端,包括处理器和通信接口,处理器用于在满足启动条件的情况下启动目标定时器,在所述目标定时器超时的情况下,对级联数据包执行丢弃操作;其中,所述级联数据包为将至少两个子数据包进行级联形成的数据包,所述级联数据包关联一个封装包头。该终端实施例与上述终端侧方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该终端实施例中,且能达到相同的技术效果。具体地,图6为实现本申请实施例的一种终端的硬件结构示意图。
该终端600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609以及处理器610等中的至少部分部件。
本领域技术人员可以理解,终端600还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图6中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
应理解的是,本申请实施例中,输入单元604可以包括图形处理单元(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元606可包括显示面板6061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板6061。用户输入单元607包括触控面板6071以及其他输入设备6072中的至少一种。触控面板6071,也称为触摸屏。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
本申请实施例中,射频单元601接收来自网络侧设备的下行数据后,可以传输给处理器610进行处理;另外,射频单元601可以向网络侧设备发送上行数据。通常,射频单元601包括但不限于天线、放大器、收发信机、耦合器、低噪声放大器、双工器等。
存储器609可用于存储软件程序或指令以及各种数据。存储器609可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器609可以包括易失性存储器或非易失性存储器,或者,存储器609可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器609包括但不限于这些和任意其它适合类型的存储器。
处理器610可包括一个或多个处理单元;可选地,处理器610集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。
其中,处理器610,用于在满足启动条件的情况下启动目标定时器;以及,
在所述目标定时器超时的情况下,对级联数据包执行丢弃操作;
其中,所述级联数据包为将至少两个子数据包进行级联形成的数据包,所述级联数据包关联一个封装包头。
可选地,所述级联数据包与一个目标定时器关联。
可选地,所述启动条件包括如下任意一项:
所述级联数据包递交到无线链路控制RLC层;
与所述级联数据包关联的第一个子数据包到达所述终端的分组数据汇聚协议PDCP层;
与所述级联数据包关联的第M个子数据包到达所述终端的PDCP层,其中,所述M可以是协议约定或是网络侧配置的;
与所述级联数据包关联的最后一个子数据包到达所述终端的PDCP层。
可选地,所述处理器610,还用于执行以下至少一项:
丢弃所述级联数据包对应的级联服务数据单元SDU;
丢弃所述级联数据包对应的级联协议数据单元PDU;
丢弃与所述级联数据包关联的全部子数据包。
可选地,所述处理器610,还用于:
在所述级联数据包已经递交到底层的情况下,基于PDCP层向与所述PDCP层关联的RLC层提供丢弃指示信息;
其中,所述丢弃指示信息用于辅助所述RLC层丢弃接收到的所述级联数据包。
可选地,所述级联数据包与至少两个目标定时器关联;
其中,一个目标定时器与一个子数据包对应。
可选地,所述处理器610,还用于:
在与所述级联数据包关联的子数据包到达所述终端的PDCP层的情况下,启动与所述子数据包对应的目标定时器。
可选地,所述处理器610,还用于执行如下任意一项:
在所述至少两个目标定时器全部超时的情况下,对级联数据包执行丢弃操作;
在与第一子数据包对应的第一目标定时器超时的情况下,丢弃所述第一子数据包。
可选地,在与第一子数据包对应的第一目标定时器超时的情况下,所述处理器610,还用于:
在与所述第一子数据包关联的级联数据包未递交到底层的情况下,重组所述级联数据包。
可选地,所述处理器610,还用于执行以下至少一项:
将所述级联数据包中与第一子数据包对应的数据删除;
对删除第一子数据包对应数据后的所述级联数据包的包头信息进行更新;
对删除第一子数据包对应数据后的所述级联数据包执行安全更新操作。
可选地,所述处理器610,还用于:
对删除第一子数据包对应数据后的所述级联数据包的第一信息域进行更新,所述第一信息域用于指示删除第一子数据包对应数据后的所述级联数据包大小。
本申请实施例中,终端在满足启动条件的情况下启动目标定时器,在所述目标定时器超时的情况下,则终端对级联数据包执行丢弃操作。这样,也就使得终端能够通过目标定 时器的计时,来确定何时对级联数据包执行丢弃,进而能够更好地实现的对级联数据包的管理,避免不必要的数据包继续发送导致的额外的资源开销。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述数据包丢弃的处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的终端中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述数据包丢弃的处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。
本申请实施例另提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现上述数据包丢弃的处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例还提供了一种通信系统,包括:终端及网络侧设备,所述终端可用于执行如上所述的数据包丢弃的处理方法的步骤。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在 本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (24)

  1. 一种数据包丢弃的处理方法,包括:
    终端在满足启动条件的情况下启动目标定时器;
    在所述目标定时器超时的情况下,所述终端对级联数据包执行丢弃操作;
    其中,所述级联数据包为将至少两个子数据包进行级联形成的数据包,所述级联数据包关联一个封装包头。
  2. 根据权利要求1所述的方法,其中,所述级联数据包与一个目标定时器关联。
  3. 根据权利要求2所述的方法,其中,所述启动条件包括如下任意一项:
    所述级联数据包递交到无线链路控制RLC层;
    与所述级联数据包关联的第一个子数据包到达所述终端的分组数据汇聚协议PDCP层;
    与所述级联数据包关联的第M个子数据包到达所述终端的PDCP层,其中,所述M可以是协议约定或是网络侧配置的;
    与所述级联数据包关联的最后一个子数据包到达所述终端的PDCP层。
  4. 根据权利要求1所述的方法,其中,所述终端对级联数据包执行丢弃操作,包括以下至少一项:
    终端丢弃所述级联数据包对应的级联服务数据单元SDU;
    终端丢弃所述级联数据包对应的级联协议数据单元PDU;
    终端丢弃与所述级联数据包关联的全部子数据包。
  5. 根据权利要求1所述的方法,其中,所述终端对级联数据包执行丢弃操作,包括:
    在所述级联数据包已经递交到底层的情况下,所述终端的PDCP层向与所述PDCP层关联的RLC层提供丢弃指示信息;
    其中,所述丢弃指示信息用于辅助所述RLC层丢弃接收到的所述级联数据包。
  6. 根据权利要求1所述的方法,其中,所述级联数据包与至少两个目标定时器关联;
    其中,一个目标定时器与一个子数据包对应。
  7. 根据权利要求6所述的方法,其中,所述终端在满足启动条件的情况下启动目标定时器,包括:
    在与所述级联数据包关联的子数据包到达所述终端的PDCP层的情况下,终端启动与所述子数据包对应的目标定时器。
  8. 根据权利要求6所述的方法,其中,所述在所述目标定时器超时的情况下,所述终端对级联数据包执行丢弃操作,包括如下任意一项:
    在所述至少两个目标定时器全部超时的情况下,所述终端对级联数据包执行丢弃操作;
    在与第一子数据包对应的第一目标定时器超时的情况下,所述终端丢弃所述第一子数据包。
  9. 根据权利要求8所述的方法,其中,在与第一子数据包对应的第一目标定时器超时的情况下,所述方法还包括:
    在与所述第一子数据包关联的级联数据包未递交到底层的情况下,所述终端重组所述级联数据包。
  10. 根据权利要求9所述的方法,其中,所述终端重组所述级联数据包,包括以下至少一项:
    所述终端将所述级联数据包中与第一子数据包对应的数据删除;
    所述终端对删除第一子数据包对应数据后的所述级联数据包的包头信息进行更新;
    所述终端对删除第一子数据包对应数据后的所述级联数据包执行安全更新操作。
  11. 根据权利要求10所述的方法,其中,所述终端对删除第一子数据包对应数据后的所述级联数据包的包头信息进行更新,包括:
    所述终端对删除第一子数据包对应数据后的所述级联数据包的第一信息域进行更新,所述第一信息域用于指示删除第一子数据包对应数据后的所述级联数据包大小。
  12. 一种数据包丢弃的处理装置,包括:
    启动模块,用于在满足启动条件的情况下启动目标定时器;
    丢弃模块,用于在所述目标定时器超时的情况下,对级联数据包执行丢弃操作;
    其中,所述级联数据包为将至少两个子数据包进行级联形成的数据包,所述级联数据包关联一个封装包头。
  13. 根据权利要求12所述的装置,其中,所述级联数据包与一个目标定时器关联。
  14. 根据权利要求13所述的装置,其中,所述启动条件包括如下任意一项:
    所述级联数据包递交到无线链路控制RLC层;
    与所述级联数据包关联的第一个子数据包到达分组数据汇聚协议PDCP层;
    与所述级联数据包关联的第M个子数据包到达PDCP层,其中,所述M可以是协议约定或是网络侧配置的;
    与所述级联数据包关联的最后一个子数据包到达PDCP层。
  15. 根据权利要求12所述的装置,其中,所述丢弃模块还用于执行以下至少一项:
    丢弃所述级联数据包对应的级联服务数据单元SDU;
    丢弃所述级联数据包对应的级联协议数据单元PDU;
    丢弃与所述级联数据包关联的全部子数据包。
  16. 根据权利要求12所述的装置,其中,所述丢弃模块还用于:
    在所述级联数据包已经递交到底层的情况下,基于PDCP层向与所述PDCP层关联的RLC层提供丢弃指示信息;
    其中,所述丢弃指示信息用于辅助所述RLC层丢弃接收到的所述级联数据包。
  17. 根据权利要求12所述的装置,其中,所述级联数据包与至少两个目标定时器关联;
    其中,一个目标定时器与一个子数据包对应。
  18. 根据权利要求17所述的装置,其中,所述启动模块还用于:
    在与所述级联数据包关联的子数据包到达所述装置的PDCP层的情况下,启动与所述子数据包对应的目标定时器。
  19. 根据权利要求17所述的装置,其中,所述丢弃模块还用于执行如下任意一项:
    在所述至少两个目标定时器全部超时的情况下,对级联数据包执行丢弃操作;
    在与第一子数据包对应的第一目标定时器超时的情况下,丢弃所述第一子数据包。
  20. 根据权利要求19所述的装置,其中,在与第一子数据包对应的第一目标定时器超时的情况下,所述装置还包括:
    重组模块,用于在与所述第一子数据包关联的级联数据包未递交到底层的情况下,重组所述级联数据包。
  21. 根据权利要求20所述的装置,其中,所述重组模块还用于执行以下至少一项:
    将所述级联数据包中与第一子数据包对应的数据删除;
    对删除第一子数据包对应数据后的所述级联数据包的包头信息进行更新;
    对删除第一子数据包对应数据后的所述级联数据包执行安全更新操作。
  22. 根据权利要求21所述的装置,其中,所述重组模块还用于:
    对删除第一子数据包对应数据后的所述级联数据包的第一信息域进行更新,所述第一信息域用于指示删除第一子数据包对应数据后的所述级联数据包大小。
  23. 一种终端,包括处理器和存储器,其中,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-11中任一项所述的数据包丢弃的处理方法的步骤。
  24. 一种可读存储介质,所述可读存储介质上存储程序或指令,其中,所述程序或指令被处理器执行时实现如权利要求1-11中任一项所述的数据包丢弃的处理方法的步骤。
PCT/CN2023/092431 2022-05-09 2023-05-06 数据包丢弃的处理方法、装置、终端及可读存储介质 WO2023217014A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210532378.0 2022-05-09
CN202210532378.0A CN117082005A (zh) 2022-05-09 2022-05-09 数据包丢弃的处理方法、装置、终端及可读存储介质

Publications (1)

Publication Number Publication Date
WO2023217014A1 true WO2023217014A1 (zh) 2023-11-16

Family

ID=88701064

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/092431 WO2023217014A1 (zh) 2022-05-09 2023-05-06 数据包丢弃的处理方法、装置、终端及可读存储介质

Country Status (2)

Country Link
CN (1) CN117082005A (zh)
WO (1) WO2023217014A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009082848A1 (fr) * 2007-12-28 2009-07-09 Zte Corporation Procédé de réinitialisation d'entité de commande de liaison radio
CN107787009A (zh) * 2016-08-26 2018-03-09 中兴通讯股份有限公司 拥塞处理方法、装置及系统
CN109413692A (zh) * 2017-08-18 2019-03-01 深圳市海思半导体有限公司 传输方法、发送端和接收端
CN115334588A (zh) * 2021-05-10 2022-11-11 华为技术有限公司 一种数据传输方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009082848A1 (fr) * 2007-12-28 2009-07-09 Zte Corporation Procédé de réinitialisation d'entité de commande de liaison radio
CN107787009A (zh) * 2016-08-26 2018-03-09 中兴通讯股份有限公司 拥塞处理方法、装置及系统
CN109413692A (zh) * 2017-08-18 2019-03-01 深圳市海思半导体有限公司 传输方法、发送端和接收端
CN115334588A (zh) * 2021-05-10 2022-11-11 华为技术有限公司 一种数据传输方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ERICSSON: "RLC Window Operation", 3GPP DRAFT; R2-073229_RLC_WINDOW_OPERATION, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG2, no. Athens, Greece; 20070815, 15 August 2007 (2007-08-15), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP050135956 *

Also Published As

Publication number Publication date
CN117082005A (zh) 2023-11-17

Similar Documents

Publication Publication Date Title
WO2020007340A1 (zh) Pucch冲突的处理方法和终端
WO2021037148A1 (zh) 数据传输方法及终端
TWI762686B (zh) 資料傳輸方法及相關產品
US11570624B2 (en) Integrity protection method, terminal and base station
WO2020020029A1 (zh) 密钥更新方法、终端及网络侧设备
US20240040430A1 (en) Transmission Processing Method and Communications Device
CN107104760B (zh) 一种传输数据包的方法、客户端以及服务器
WO2023217014A1 (zh) 数据包丢弃的处理方法、装置、终端及可读存储介质
WO2019184699A1 (zh) 数据发送方法、接收方法及用户设备
WO2019137425A1 (zh) 重配置方法、终端及基站
WO2023217013A1 (zh) 数据包级联的处理方法、装置、终端及可读存储介质
US20220201564A1 (en) Data transmission method, terminal, and network node
CN113543040B (zh) 数据处理方法、数据处理装置及通信设备
WO2024114536A1 (zh) 数据接收方法、装置、网络侧设备及终端设备
WO2023066114A1 (zh) 数据处理方法、装置及终端
WO2024114642A2 (zh) 数据包的处理方法及通信设备
WO2023208048A1 (zh) 小区切换方法、装置、终端及网络侧设备
WO2024012279A1 (zh) 信息传输方法、装置及设备
WO2023143450A1 (zh) 数据处理规则的配置方法、终端及网络侧设备
WO2023217012A1 (zh) 数据传输方法、信息发送方法、终端及网络侧设备
WO2023066106A1 (zh) 数据丢弃方法、装置、终端及网络侧设备
WO2023030329A1 (zh) 数据传输方法和设备
WO2023134757A1 (zh) 切换配置指示方法、终端及网络侧设备
WO2023093636A1 (zh) 信息上报方法、配置方法、装置、终端及网络侧设备
WO2023041016A1 (zh) 多播业务的状态变量指示方法和设备

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

Country of ref document: EP

Kind code of ref document: A1