Data packet discarding method, device, apparatus and storage medium

By prioritizing and discarding data packets in the terminal, the problem of inflexible data packet discarding methods in existing technologies is solved, enabling priority transmission of important data packets under network congestion and improving the reliability of the communication system.

CN116368783BActive Publication Date: 2025-12-26BEIJING XIAOMI MOBILE SOFTWARE CO LTD

Patent Information

Application Number
CN202380008312.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-16
Publication Date
2025-12-26
Estimated Expiration
2043-02-16

AI Technical Summary

Technical Problem

In existing technologies, the way terminals discard data packets when they determine that a timer has expired or when they receive an instruction from a network device lacks flexibility and cannot effectively guarantee the transmission reliability of highly important data packets.

Method used

By prioritizing data packets, the terminal discards low-importance data packets and transmits high-importance data packets, utilizing the PDCP layer for packet priority determination and discarding.

Benefits of technology

It improves the communication reliability of terminals under network congestion, ensures the priority transmission of important data packets, and enhances the stability of the communication system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116368783B_ABST
    Figure CN116368783B_ABST
Patent Text Reader

Abstract

The application discloses a data packet discarding method and device, equipment and a storage medium, and relates to the field of mobile communication. The method comprises the following steps: a terminal discards data packets corresponding to a target priority based on the priority of the data packets. The application provides a discarding scheme based on the priority of the data packets, ensures that data packets with low importance are preferentially discarded, data packets with high importance are preferentially transmitted, and the reliability of communication of the terminal is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of mobile communication, in particular to a data packet discarding method, device, equipment and storage medium. BACKGROUND

[0002] In a mobile communication system, when a terminal determines that a timer expires or receives a discarding instruction indicated by a network device, the terminal discards data packets. However, the above-mentioned discarding data packet method has limitations, and a new data packet discarding scheme is urgently needed. SUMMARY

[0003] Embodiments of the present application provide a data packet discarding method, device, equipment and storage medium, which ensures to discard data packets with low importance in priority and transmit data packets with high importance in priority, thereby ensuring the reliability of terminal communication. The technical solution is as follows:

[0004] According to an aspect of the present application, a data packet discarding method is provided, the method is executed by a terminal, and the method comprises:

[0005] Discarding data packets corresponding to a target priority based on the priority of the data packets.

[0006] According to an aspect of the present application, a data packet discarding device is provided, the device comprises:

[0007] A processing module configured to discard data packets corresponding to a target priority based on the priority of the data packets.

[0008] According to an aspect of the present application, a terminal is provided, which comprises a processor, a transceiver connected to the processor, a memory for storing executable instructions of the processor, and wherein the processor is configured to load and execute the executable instructions to implement the data packet discarding method of the above-mentioned aspect.

[0009] According to an aspect of the present application, a communication system is provided, which comprises a terminal and a network device, the terminal is configured to implement the data packet discarding method of the above-mentioned aspect, and the network device is configured to implement the data packet discarding method.

[0010] According to an aspect of the present application, a computer readable storage medium is provided, which stores executable program codes, the executable program codes are loaded and executed by a processor to implement the data packet discarding method of the above-mentioned aspect.

[0011] According to an aspect of the present application, a chip is provided, which comprises a programmable logic circuit and / or program instructions, and when the chip is running on a terminal, it is configured to implement the data packet discarding method of the above-mentioned aspect.

[0012] According to an aspect of the present application, a computer program product is provided for implementing the data packet discarding method of the above aspect when the computer program product is executed by a processor of a terminal.

[0013] The present application provides a data packet discarding scheme based on the priority of the data packet, which ensures that the data packet with low importance is discarded preferentially and the data packet with high importance is transmitted preferentially, thereby ensuring the reliability of the communication of the terminal. BRIEF DESCRIPTION OF DRAWINGS

[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort based on these drawings.

[0015] Figure 1 A structural block diagram of a communication protocol layer provided by an exemplary embodiment of the present application is shown;

[0016] Figure 2 A schematic diagram of data packet transmission in a communication protocol layer provided by an exemplary embodiment of the present application is shown;

[0017] Figure 3 A block diagram of a communication system provided by an exemplary embodiment of the present application is shown;

[0018] Figure 4 A flow chart of a data packet discarding method provided by an exemplary embodiment of the present application is shown;

[0019] Figure 5 A block diagram of a data packet discarding apparatus provided by an exemplary embodiment of the present application is shown;

[0020] Figure 6 A block diagram of another data packet discarding apparatus provided by an exemplary embodiment of the present application is shown;

[0021] Figure 7 A structural schematic diagram of a communication device provided by an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail with reference to the drawings.

[0023] The exemplary embodiments will be described in detail herein with reference to the attached drawings; Figure 1 is a diagram illustrating an example of a system for providing a service according to an exemplary embodiment of the present application;

[0024] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0025] It is to be understood that the singular forms "a", "an", and "the" include plural referents unless the context clearly dictates otherwise. It will be further understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. It is also to be understood that the term such as "and / or" includes any and all possibilities of the combination of that

[0026] It is to be understood that the singular forms "a", "an", and "the" include plural referents unless the context clearly dictates otherwise. It will be further understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. It is also to be understood that the term such as "and / or" includes any and all possibilities of the combination of that

[0027] First, the terms related to the present application are explained.

[0028] PDCP(Packet Data Convergence Protocol, packet data convergence protocol) layer: the PDCP layer is used to implement IP header compression. Among them, the PDCP layer performs IP header compression to reduce the number of bits transmitted through the wireless interface encryption and integrity protection. And at the time of handover, the PDCP layer also handles retransmission, in-order delivery and deduplication. Among them, at the time of handover, the PDCP forwards the undelivered downlink data packets from the old gNB to the new gNB. At the time of handover, the PDCP layer in the terminal will also be responsible for retransmitting all uplink data packets that have not been delivered to the gNB due to the clearing of the HARQ (Hybrid Automatic Repeat reQuest, hybrid automatic repeat request) buffer. In this case, some PDU (Protocol Data Unit, protocol data unit) may be received repeatedly, that is, through two connections of the old gNB and the new gNB. In this case, the PDCP will delete the repeatedly received data packets.

[0029] Among them, the PDCP layer belongs to the wireless protocol architecture. In some embodiments, the wireless protocol architecture includes user plane protocols and control plane protocols. Below, the wireless protocol architecture of the user plane protocol is explained. Referring to Figure 1 , the wireless protocol architecture of the user plane protocol includes an SDAP (Service Data Adaption Protocol, service data adjustment protocol) layer, a PDCP layer, an RLC (Radio Link Control, radio link control) layer, a MAC (Media Access Control, media access control) layer and a PHY (Physics Layer, physical layer) layer, and the SDAP layer, the PDCP layer, the RLC layer, the MAC layer and the PHY layer are connected in sequence.

[0030] Among them, the SDAP layer is responsible for mapping QoS (Quality of Service, quality of service) bearers to radio bearers according to QoS requirements. And mark the data packets in the uplink and downlink with QoS flow identifiers.

[0031] The RLC layer divides the RLC SDU (Service Data Unit, service data unit) from the PDCP layer into RLC PDUs. It is also necessary to retransmit the PDU received in error and delete the duplicate PDU.

[0032] The MAC layer is responsible for logical channel multiplexing, HARQ retransmission, scheduling and scheduling-related functions, including handling different numerologies. When carrier aggregation is used, it is also responsible for data multiplexing and demultiplexing across multiple component carriers.

[0033] The PHY layer is responsible for encoding, physical layer HARQ processing, modulation, multi-antenna processing, and mapping the signal onto corresponding physical time-frequency resources. It is also responsible for mapping transport channels to physical channels.

[0034] Next, the data packets transmitted by each layer in the user plane protocol are described. Referring to Figure 2 , the transmission process of the data packet is as follows:

[0035] The terminal receives the data packet, processes the IP packet through the SDAP layer to obtain an SDAP SDU, adds a header to the SDAP SDU to obtain an SDAP PDU, sends the SDAP PDU to the PDCP layer, the PDCP layer receives the SDAP PDU, that is, a PDCP SDU, adds a header to the PDCP SDU to obtain a PDCP PDU, sends the PDCP PDU to the RLC layer, the RLC layer receives the PDCP PDU, that is, an RLC SDU, adds a header to the RLC SDU to obtain an RLC PDU, sends the RLC PDU to the MAC layer, the MAC layer receives the RLC PDU, that is, a MAC SDU, adds a header to the MAC SDU to obtain a MAC PDU, sends the MAC PDU to the PHY layer, and the PHY layer groups the MAC PDU to obtain a PHY SDU.

[0036] Secondly, the application scenario of the present application is described.

[0037] Figure 3 A block diagram of a communication system provided by an example embodiment of the present application is shown, which can include a terminal 10 and a network device 20.

[0038] The number of terminals 10 is usually multiple, and one or more terminals 10 can be distributed in a cell managed by each network device 20. The terminal 10 can include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem with wireless communication functions, and various forms of user equipment (User Equipment, UE), mobile stations (Mobile Station, MS), etc. For convenience of description, the above-mentioned devices are collectively referred to as terminals in the embodiments of the present application.

[0039] The network device 20 is a device deployed in an access network to provide wireless communication functions for the terminal 10. For the convenience of description, the device for providing wireless communication functions for the terminal 10 in the embodiments of the present application is collectively referred to as a network device. The network device 20 and the terminal 10 can establish a connection through an air interface, so as to communicate through the connection, including the interaction of signaling and data. The number of network devices 20 can be multiple, and two adjacent network devices 20 can also communicate through wired or wireless means. The terminal 10 can perform beam report transmission between different network devices 20, that is, establish a connection with different network devices 20.

[0040] The network device 20 can include various forms of macro base stations, micro base stations, relay stations, access points, and the like. In systems using different wireless access technologies, the names of devices with network device functions can be different, for example, in a 5G NR (New Radio) system, it is called gNodeB or gNB. With the evolution of communication technology, the name of "network device" can change.

[0041] The "5G NR system" in the embodiments of the present application can also be referred to as a 5G system or an NR system, but those skilled in the art can understand its meaning. The technical solutions described in the embodiments of the present application can be applicable to the 5G NR system, and can also be applicable to the subsequent evolution system of the 5G NR system.

[0042] Figure 4 A flowchart of a data packet discarding method provided by an example embodiment of the present application is shown, which can be applied to a terminal as shown in Figure 3 The method includes at least part of the following content:

[0043] Step 401: The terminal discards data packets corresponding to a target priority based on the priority of the data packets.

[0044] The priority can be understood as the importance of the data packet or a dimension of a data packet classification attribute order. Specifically, the order can be performed according to the importance of the data (such as different Packet set importance), the type of service (such as I frame, P frame, video stream, audio stream, etc.), Qos flow ID or sub Qos flow ID, etc.

[0045] In some embodiments, the higher the priority of the data packet, the higher the importance of the data packet. It can also be understood that the priority of the data packet is directly proportional to the importance of the data packet. The target priority refers to the priority of the data packet that needs to be discarded by the terminal. It can also be understood that the target priority is one of the priorities of the data packet.

[0046] In some embodiments, the data packet belongs to a data packet set, and the data packet set includes at least one data packet. Optionally, the data packets included in one data packet set have the same priority. For example, if the priority of the data packet set is 1, the priority of the at least one data packet included in the data packet set is also 1.

[0047] Optionally, in the embodiments of the present application, the value of the priority is inversely proportional to the priority of the data packet. It can also be understood that the lower the value of the priority of the data packet, the higher the priority of the data packet, and the higher the value of the priority of the data packet, the lower the priority of the data packet.

[0048] In some embodiments, the data packet is a PDCP data packet. Optionally, the data packet is a PDU data packet in the PDCP data packet, or the data packet is an SDU data packet in the PDCP data packet. In some embodiments, the terminal discards the PDCP data packet through the PDCP layer.

[0049] Next, the source of the PDCP data packet is described. Referring to Figure 1 or Figure 2 , the PDCP layer is located between the SDAP layer and the RLC layer, and it can also be understood that the data packet of the PDCP layer is obtained by interacting between the PDCP layer and the SDAP layer or the RLC layer.

[0050] Optionally, the source of the PDCP data packet is the SDAP layer. The SDAP layer sends an SDAP PDU to the PDCP layer, and the PDCP layer receives the SDAP PDU sent by the SDAP layer to obtain a PDCP SDU, that is, the PDCP SDU is the same as the SDAP PDU. Optionally, the PDCP layer adds a header to the PDCP SDU to obtain a PDCP PDU.

[0051] Optionally, the source of the PDCP data packet is the RLC layer. The RLC layer sends an RLC SDU to the PDCP layer, and the PDCP layer receives the RLC SDU sent by the RLC layer to obtain a PDCP PDU, that is, the RLC SDU is the same as the PDCP PDU. Optionally, the PDCP layer removes the header from the PDCP PDU to obtain a PDCP SDU.

[0052] The SDU data packet refers to an unprocessed data packet entering each sublayer. The PDU data packet refers to a data packet in a specific format after being processed by the sublayer. Alternatively, it can also be understood that the original data of the SDU service data unit is the PDU of the upper layer protocol.

[0053] For example, the sublayer refers to Figure 1 or Figure 2Any one of the SDAP layer, the PDCP layer, the RLC layer, the MAC layer and the PHY layer in the illustrated embodiment.

[0054] In some embodiments, the terminal discards the data packet corresponding to the target priority through the PDCP layer involved in the above-mentioned embodiments. That is, the terminal discards the PDCP SDU or discards the PDCP PDU through the PDCP layer.

[0055] In some embodiments, the discarded data packet can include discarding a plurality of data packets associated with each other, such as discarding a plurality of data packets belonging to a data packet set.

[0056] It should be noted that the priority of the data packet is taken as an example for description in the embodiments of the present application. In another embodiment, the priority of the data packet is indicated by a priority identifier. Optionally, the priority identifier is a priority identifier of a data packet set. For example, the priority identifier of the data packet set is PDU Set importance (PDU set importance).

[0057] In some embodiments, the data packet set also has other parameters in addition to the priority identifier. For example, the other parameters include at least one of a data packet set serial number, a starting data packet of the data packet set, an ending data packet of the data packet set, a number of data packets included in the data packet set, and a data packet serial number included in the data packet set.

[0058] It should be noted that the data packet in the embodiments of the present application is a data packet in an XR (Extended Reality, extended reality) service scenario. The data packet in the XR service scenario includes two types of data packets, and the priorities of different types of data packets are also different.

[0059] In some embodiments, the XR service involves multi-modal data streams. Multi-modal data is data input from the same device or different devices (including sensors) that describes the same service / application, which may be output to one or more destination device terminals. Each data stream in multi-modal data often has certain or even strong correlation, such as synchronization of audio and video streams, synchronization of haptics and vision, etc. The data streams of such media services, between the data streams, and the requirements of these service data streams for network transmission, all have some common characteristics, and effective identification and utilization of these characteristics will be more helpful for network and service transmission, control, and also more helpful for service guarantee and user experience.

[0060] In some embodiments, the data packets in the XR service scenario include I-frame data packets and P-frame data packets, and the importance of the I-frame data packets is higher than that of the P-frame data packets. Optionally, the terminal can decode the I-frame data packets alone, or it can be understood that the terminal needs to use I-frame decoding, and the P-frame cannot be decoded alone.

[0061] The present application provides a scheme of discarding data packets based on their priorities, which ensures that data packets with low importance are discarded preferentially, and data packets with high importance are transmitted preferentially, thereby ensuring the reliability of communication of the terminal.

[0062] In a possible implementation manner, the terminal performs a process of discarding data packets based on the priorities of the data packets when it is determined that a certain condition is met. The following describes the condition under which the terminal performs the process.

[0063] In some embodiments, when the terminal determines that the network is in a congested state, it discards data packets corresponding to a target priority based on the priorities of the data packets.

[0064] The congested state refers to a state in which the amount of data transmitted by the network is small and cannot meet the transmission demand. In the embodiments of the present application, if the terminal determines that the network is in a congested state, it means that the network state at this time cannot meet the transmission of data packets, and part of the data packets need to be discarded. Therefore, the terminal discards data packets corresponding to a target priority based on the priorities of the data packets.

[0065] In some embodiments, the target priority is a priority of a preset value. The preset value is agreed by a communication protocol, or is configured by a network device, or is configured in other manners, which is not limited in the embodiments of the present application.

[0066] In the embodiments of the present application, when the terminal detects that the network is congested, it discards data packets with a priority of a preset value. It can also be understood that when the terminal detects that the network is congested, it discards data packets of a fixed type.

[0067] For example, if the data packets include I-frame data packets and P-frame data packets, the priority of the data packets of the I-frame type is 1, and the priority of the data packets of the P-frame type is 2. When the terminal detects that the network is congested, it discards data packets with a priority of 2. It can also be understood that when the terminal detects that the network is congested, it discards data packets of the P-frame type.

[0068] In other embodiments, the target priority is the lowest priority among a plurality of data packets.

[0069] In the embodiments of the present application, when the terminal detects network congestion, the data packets need to be discarded, and for multiple data packets in the terminal, the data packets with lower priority can be discarded preferentially to ensure that the data packets with high priority are transmitted preferentially. Optionally, the priority of the data packet is used to indicate the importance of the data packet, that is, the terminal can preferentially discard the data packet with low importance to ensure that the data packet with high importance is transmitted preferentially.

[0070] Optionally, when the terminal detects network congestion, the data packets are sorted in order from low to high priority, and the data packets are discarded in turn according to the sorted order until the remaining data packets can be transmitted by the network.

[0071] In the scheme provided by the embodiments of the present application, when the terminal determines network congestion, the data packets with fixed priority or lower priority are discarded, and the data packets with high importance are transmitted preferentially, thereby ensuring the reliability of the terminal in communication.

[0072] It should be noted that the embodiments of the present application are described by taking the terminal detecting network congestion as an example. How the terminal determines network congestion is described below.

[0073] In some embodiments, the terminal obtains a PDCP layer measurement result, and determines that the network is in a congestion state when the PDCP layer measurement result reaches a predetermined measurement result.

[0074] The predetermined measurement result is agreed by a communication protocol, or is configured by a network device, or is configured in other manners, which is not limited in the embodiments of the present application.

[0075] In the embodiments of the present application, the terminal can perform PDCP layer measurement on the transmitted data packets to obtain a PDCP layer measurement result, and determine whether the network is in a congestion state based on the comparison between the obtained measurement result and the predetermined measurement result.

[0076] Optionally, the PDCP layer measurement result obtained by the terminal is measured based on the data packets in each data packet set. It can also be understood that when the terminal performs PDCP layer measurement, the data packets in a data packet set are measured to obtain the PDCP layer measurement result corresponding to the data packet set. The data packet set includes at least one data packet. That is, when the terminal performs PDCP layer measurement, at least one data packet included in the data packet set is measured by PDCP layer to obtain the PDCP layer measurement result.

[0077] It should be noted that the embodiment of the present application is based on the measurement of the PDCP layer measurement result based on the data packets of each data packet set. In another embodiment, the PDCP layer measurement result is measured based on the data packets of each data packet set attribute. That is, the terminal performs PDCP layer measurement on data packets with the same attribute. Alternatively, the terminal determines the data packet set with the same attribute, performs PDCP layer measurement on the data packets included in the data packet set with the same attribute, and obtains the PDCP layer measurement result.

[0078] The attribute refers to the priority of the data packet set. It can also be understood that the priority of the data packet set is the same, which means that the attributes of the data packet set are the same, and the priority of the data packet set is different, which means that the attributes of the data packet set are different.

[0079] Alternatively, the PDCP layer measurement result obtained by the terminal is measured based on the data packets of each DRB (Data Radio Bearer, data radio bearer), and each DRB includes at least one data packet set. It can also be understood that when the terminal performs PDCP layer measurement, it will measure the data packets in the data packet set in a DRB, and then obtain the PDCP layer measurement result of the DRB. If the DRB includes at least one data packet set, and each data packet set includes at least one data packet. That is, when the terminal performs PDCP layer measurement, it performs PDCP layer measurement on at least one data packet included in at least one data packet set included in the DRB to obtain the PDCP layer measurement result.

[0080] In some embodiments, in the case where the queuing time of the data packet transmission reaches the preset time, it is determined that the PDCP layer measurement result reaches the predetermined measurement result.

[0081] The preset time is agreed by the communication protocol, or configured by the network device, or configured by the terminal, or configured in other ways, and the embodiment of the present application is not limited.

[0082] Alternatively, the queuing time of the data packet transmission refers to the time from the arrival of the data packet in the terminal to the uplink grant of the transmission data packet. It should be noted that the queuing time in the embodiment of the present application includes the time of obtaining the grant resource by the terminal. The time of the grant resource refers to the time from sending SR or RACH to obtaining the first grant.

[0083] For example, if the queuing time of the data packet transmission is 40 ms, and the preset time length is 30 ms, it is determined that the queuing time of the data packet transmission is greater than the preset time length, and the terminal determines that the network is in a congestion state. If the queuing time of the data packet transmission is 20 ms, and the preset time length is 30 ms, it is determined that the queuing time of the data packet transmission is less than the preset time length, and the terminal determines that the network is not in a congestion state.

[0084] It should be noted that the queuing time of the data packet transmission in the embodiment of the present application is the PDCP layer measurement result, and the preset time length is the predetermined measurement result.

[0085] Optionally, the terminal includes a plurality of data packets for transmission, and the terminal obtains an average queuing time of the queuing time of the plurality of data packet transmissions, and determines whether the PDCP layer measurement result reaches the predetermined measurement result according to whether the average queuing time reaches the preset time length.

[0086] It should be noted that the average queuing time in the embodiment of the present application is the PDCP layer measurement result, and the preset time length is the predetermined measurement result.

[0087] In other embodiments, in a case where the ratio of the number of target data packets to the number of total data packets reaches a preset ratio, it is determined that the PDCP layer measurement result reaches the predetermined measurement result, and the target data packet is a data packet with a queuing time reaching a preset time length.

[0088] The preset ratio is agreed by a communication protocol, or configured by a network device, or configured by a terminal, or configured in other manners, which is not limited in the embodiment of the present application.

[0089] In the embodiment of the present application, the terminal can count the total number of data packets to be transmitted and the first number of data packets with a queuing time reaching a preset time length, calculate the ratio of the first number to the total number, and if it is determined that the ratio is greater than the preset ratio, it indicates that the PDCP layer measurement result reaches the predetermined measurement result, and if it is determined that the ratio is less than the preset ratio, it indicates that the PDCP layer measurement result does not reach the predetermined measurement result.

[0090] It should be noted that the ratio of the number of target data packets to the number of total data packets in the embodiment of the present application is the PDCP layer measurement result, and the preset ratio is the predetermined measurement result.

[0091] It should be noted that the embodiment of the present application is explained by taking the terminal determining that the network is congested and discarding data packets of a target priority according to the priority of the data packets as an example. In another embodiment, when the terminal determines that the network is not congested, the terminal does not need to discard data packets of a target priority according to the priority of the data packets.

[0092] It should be noted that the network device in the embodiments of the present application can also send indication information to the terminal, the indication information being used to instruct the terminal to discard data packets according to the priority of the data packets, and after receiving the indication information, the terminal can determine whether the network is congested in the manner of DRB, and further determine whether to discard the data packets according to the priority of the data packets. Alternatively, the terminal is configured to perform PDCP measurement based on DRB or based on a data packet set, and the terminal determines that the scheme of determining whether the network is congested and further determining whether to discard the data packets according to the priority of the data packets can be executed.

[0093] In some embodiments, the data packet corresponds to a timer, and the duration of the timer has a positive correlation with the priority of the data packet; and the terminal discards the data packet corresponding to the first timer when determining that the first timer is expired.

[0094] The duration of the timer has a positive correlation with the priority of the data packet, that is, the higher the priority of the data packet is, the longer the duration of the timer corresponding to the data packet is. In the embodiments of the present application, if the first timer is expired, it means that the timer corresponding to the data packet with low priority is expired first, that is, the terminal discards the data packet with low priority.

[0095] Optionally, when the first timer is expired, all data packets in the data packet set to which the data packet corresponding to the first timer belongs are discarded.

[0096] When the first timer is expired, all data packets in the data packet set to which the data packet corresponding to the first timer belongs are discarded, which can be that all data packets in the data packet set to which the data packet corresponding to the first timer belongs are discarded according to the expiration of the first timer corresponding to any one data packet in the data packet set, or that all data packets in the data packet set to which the data packet corresponding to the first timer belongs are discarded according to the expiration of the first timer corresponding to more than a threshold proportion of data packets in the data packet set. For the former, when the first timer corresponding to any one data packet in the data packet set is expired, all data packets in the data packet set are discarded. For the latter, when the first timers corresponding to more than a threshold proportion of data packets in the data packet set are expired, all data packets in the data packet set are discarded.

[0097] When the terminal determines that the first timer is expired, not only the data packet corresponding to the first timer is discarded, but also the data packet set to which the data packet belongs is determined, and all data packets in the data packet set are discarded.

[0098] Optionally, each data packet in the terminal corresponds to a timer, and the data packet set includes multiple data packets, and the timer length of each data packet can be the same or different, but since the multiple data packets belonging to the same data packet set affect each other, if the timer of any data packet expires, the terminal will discard the data packet, and other data packets belonging to the same data packet set will also be affected, so the terminal will also discard other data packets belonging to the same data packet set synchronously.

[0099] In some embodiments, the terminal configures the timer corresponding to the data packet with a corresponding timer length according to the priority of the data packet. For example, the priority of the data packet includes priority 1 and priority 2, that is, the terminal includes two types of data packets, wherein the timer corresponding to the data packet with priority 1 has a timer length of length 1, the timer corresponding to the data packet with priority 2 has a timer length of length 2, and length 1 is not less than length 2.

[0100] Optionally, when it is determined that the first timer expires, the terminal discards all data packets in the data packet set corresponding to the first timer.

[0101] In the embodiments of the present application, each data packet set corresponds to a timer, and it can also be understood that the data packets included in the same data packet set correspond to the same timer length. Therefore, when the terminal determines that the first timer expires, it discards all data packets in the data packet set corresponding to the first timer.

[0102] In some embodiments, the terminal configures the timer corresponding to the data packet set with a corresponding timer length according to the priority of the data packet set. For example, the priority of the data packet set includes priority 1 and priority 2, that is, the terminal includes two types of data packet sets, wherein the timer corresponding to the data packet set with priority 1 has a timer length of length 1, the timer corresponding to the data packet set with priority 2 has a timer length of length 2, and length 1 is not less than length 2.

[0103] It should be noted that in the embodiments of the present application, the data packets are configured with different timers, and it is determined that the scheme of determining whether to discard the data packets according to the priority of the data packets according to whether the timer expires can be executed.

[0104] In some embodiments, the network device sends configuration signaling to the terminal, and executes the scheme on a specific DRB, that is, the configuration signaling is used to configure different timer lengths for different data packet attributes in the terminal, and at this time, the terminal determines to execute the scheme of determining whether to discard the data packets according to the priority of the data packets according to whether the timer expires in the case that different data packets are configured with different timer attributes.

[0105] It should be noted that the above embodiments can be split into new embodiments, or combined with other embodiments to form new embodiments, and the present application does not limit the combination of embodiments.

[0106] For example, the scheme of determining whether the network is congested and the scheme of determining whether the timer is timed out can be combined to determine whether to discard the data packet of the target priority.

[0107] In some embodiments, if the terminal determines that the network is not congested, the terminal does not need to start the scheme of configuring different timer durations for different data packet attributes to discard the data packet. That is, the terminal does not need to configure different timer durations for different data packet attributes.

[0108] In some other embodiments, if the terminal determines that the network is congested, the terminal configures different timer durations for different data packet attributes, and when it is determined that the timer is timed out, the data packet corresponding to the timed-out timer is discarded. Further, if the terminal detects that the network is not congested, the terminal no longer starts the scheme of configuring different timer durations for different data packet attributes, that is, a unified timer is used to discard the data packet.

[0109] Figure 5 A block diagram of a data packet discarding apparatus provided by an exemplary embodiment of the present application is shown in FIG. 5. Figure 5 The apparatus includes:

[0110] The processing module 501 is configured to discard the data packet corresponding to the target priority based on the priority of the data packet.

[0111] In some embodiments, the processing module 501 is configured to discard the data packet corresponding to the target priority based on the priority of the data packet when it is determined that the network is in a congested state.

[0112] In some embodiments, the target priority is a priority of a preset value; or the target priority is a lowest priority among a plurality of data packets.

[0113] In some embodiments, the apparatus further includes: Figure 6 The acquisition module 502 is configured to acquire a PDCP layer measurement result.

[0114] The processing module 501 is further configured to determine that the network is in a congested state when it is determined that the PDCP layer measurement result reaches a predetermined measurement result.

[0115]

[0116] ​In some embodiments, the PDCP layer measurement result is measured based on data packets of each data packet set, the data packet set including at least one data packet; or the PDCP layer measurement result is measured based on data packets of each DRB, the each DRB including at least one data packet set.

[0117] In some embodiments, the processing module 501 is further configured to:

[0118] In a case where the queuing duration of the data packets reaches a preset duration, it is determined that the PDCP layer measurement result reaches the predetermined measurement result.

[0119] Or,

[0120] In a case where a ratio of a number of target data packets to a number of total data packets reaches a preset ratio, it is determined that the PDCP layer measurement result reaches the predetermined measurement result, the target data packet being a data packet with a queuing duration reaching the preset duration.

[0121] In some embodiments, the data packet corresponds to a timer, and a timer duration is in a positive correlation with a priority of the data packet; the processing module is configured to discard the data packet corresponding to the first timer when it is determined that the first timer is expired.

[0122] In some embodiments, the first timer corresponds to a data packet, and the processing module 301 is configured to discard all data packets in a data packet set to which the data packet corresponding to the first timer belongs when it is determined that the first timer is expired.

[0123] In some embodiments, the first timer corresponds to a data packet set, and the processing module 301 is configured to discard all data packets in the data packet set corresponding to the first timer when it is determined that the first timer is expired.

[0124] In some embodiments, the apparatus further includes: Figure 6

[0125] The configuration module 503 is configured to configure a timer with a corresponding timer duration for the data packet according to a priority of the data packet.

[0126] In some embodiments, the apparatus further includes: Figure 6

[0127] The receiving module 504 is configured to receive indication information, the indication information being used to instruct the terminal to discard according to a priority of a data packet of a DRB.

[0128] In some embodiments, the data packet is a PDU data packet, or the data packet is an SDU data packet.​​

[0129] It should be noted that the apparatus provided by the above-mentioned embodiments, when realizing its functions, is only exemplified by the above-mentioned division of each functional module, and in actual application, the above-mentioned functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above-described functions. In addition, the apparatus and method embodiments provided by the above-mentioned embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be described here.

[0130] Figure 7 A structural schematic diagram of a communication device provided by an example embodiment of the present application is shown, which includes a processor 701, a receiver 702, a transmitter 703, a memory 704 and a bus 707.

[0131] The processor 701 includes one or more processing cores. The processor 701 executes various functional applications and information processing by running software programs and modules.

[0132] The receiver 702 and the transmitter 703 can be implemented as a communication component, which can be a communication chip.

[0133] The memory 704 is connected to the processor 701 through the bus 707.

[0134] The memory 704 can be used to store at least one program code, and the processor 701 is configured to execute the at least one program code to implement each step in the above-mentioned method embodiments.

[0135] In addition, the communication device can be a terminal or a network device. The memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, including but not limited to: a magnetic or optical disk, an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a static random access memory (SRAM), a read-only memory (ROM), a magnetic storage, a flash memory, a programmable read-only memory (PROM).

[0136] In an example embodiment, a computer readable storage medium is also provided, and the readable storage medium stores executable program codes, which are loaded and executed by a processor to implement the packet discarding method performed by the communication device provided by each method embodiment.

[0137] In an example embodiment, a chip is provided, which includes a programmable logic circuit and / or program instructions, and when the chip is running on a terminal or a network device, it is used to implement the packet discarding method as provided by each method embodiment.

[0138] In an example embodiment, a communication system is provided, which includes a terminal and a network device, the terminal is configured to implement the packet discarding method as described above, and the network device is configured to implement the packet discarding method as described above.

[0139] In an example embodiment, a computer program product is provided, which, when executed by a processor of a terminal or a network device, is configured to implement the packet discarding method provided by each of the method embodiments described above.

[0140] Those skilled in the art can understand that all or part of the steps of the above-mentioned embodiments can be completed by hardware, or can be instructed by a program to complete the related hardware, and the program can be stored in a computer readable storage medium, and the storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0141] The above only describes optional embodiments of the present application and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method of packet discard, the method comprising: The method is performed by a terminal, and the method comprises: receiving configuration signaling, the configuration signaling being used for instructing the terminal to discard data packets of a specific data radio bearer (DRB) according to priorities of the data packets of the specific DRB; configuring a timer with a corresponding timing duration for the data packets of the specific DRB according to the priorities of the data packets of the specific DRB, the timing duration of the timer corresponding to the data packets of the specific DRB being in a positive correlation with the priorities of the data packets of the specific DRB; starting the timer with the corresponding timing duration configured for the data packets of the specific DRB upon determining that a network is in a congestion state; discarding all data packets in a data packet set to which the data packets corresponding to a first timer belong upon determining that the first timer is timed out; stopping the timer with the corresponding timing duration configured for the data packets of the DRB upon determining that the network is not in the congestion state, and discarding the data packets using a uniform timer; wherein the data packets are PDU data packets.

2. The method of claim 1, wherein, The method further comprises: obtaining a packet data convergence protocol (PDCP) layer measurement result; determining that the network is in the congestion state upon determining that the PDCP layer measurement result reaches a predetermined measurement result.

3. The method of claim 2, wherein, The method further comprises: determining that the PDCP layer measurement result reaches the predetermined measurement result upon determining that a queuing duration of data packet transmission reaches a preset duration; or determining that the PDCP layer measurement result reaches the predetermined measurement result upon determining that a ratio of a number of target data packets to a number of total data packets reaches a preset ratio, the target data packets being data packets with a queuing duration reaching the preset duration.

4. The method of claim 1, wherein, The method further comprises: receiving instruction information, the instruction information being used for instructing the terminal to discard the data packets according to priorities of the data packets of the DRB.

5. A data packet discarding apparatus characterized by comprising: The apparatus comprises: a receiving module configured to receive configuration signaling, the configuration signaling being used for instructing the terminal to discard data packets of a specific data radio bearer (DRB) according to priorities of the data packets of the specific DRB; a configuration module configured to configure a timer with a corresponding timing duration for the data packets of the specific DRB according to the priorities of the data packets of the specific DRB, the timing duration of the timer corresponding to the data packets of the specific DRB being in a positive correlation with the priorities of the data packets of the specific DRB, and start the timer with the corresponding timing duration configured for the data packets of the specific DRB upon determining that a network is in a congestion state; a processing module configured to discard the data packets corresponding to a first timer upon determining that the first timer is timed out, and stop the timer with the corresponding timing duration configured for the data packets of the DRB upon determining that the network is not in the congestion state, and discard the data packets using a uniform timer; wherein the data packets are PDU data packets.

6. A terminal, characterized by comprising: The terminal comprises: a processor; a transceiver connected to the processor; wherein the processor is configured to load and execute executable instructions to implement the data packet discarding method according to any one of claims 1 to 4.

7. A computer readable storage medium characterized by The readable storage medium has stored executable program codes, the executable program codes are loaded and executed by the processor to realize the data packet discarding method as any one of claims 1 to 4.

Citation Information

Patent Citations

  • Adjustment method and equipment of rate in data transmission

    CN102761388A

  • Data transmission method, communication equipment, terminal and base station

    CN108419275A

Cited By

  • Data packet discarding method and device, equipment and storage medium

    CN121356739A