Data volume reporting method, and apparatus, device and storage medium

WO2026165866A1PCT designated stage Publication Date: 2026-08-13GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-02-07
Publication Date
2026-08-13

Smart Images

  • Figure CN2025076347_13082026_PF_FP_ABST
    Figure CN2025076347_13082026_PF_FP_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of mobile communications. Disclosed are a data volume reporting method, and an apparatus, a device and a storage medium. The method comprises: reporting first information, wherein the first information comprises respective data volume information of one or more parts of a first LCG, and data volume information of an n-th part of the first LCG is used for reflecting data volumes of one or more first data packets and one or more second data packets, the one or more first data packets comprising: a data packet with remaining time within a remaining-time interval corresponding to the n-th part, and / or a data packet for which the shortest remaining time corresponding to a data packet set to which same belongs falls within the remaining-time interval corresponding to the n-th part, and the one or more second data packets preceding any one of the one or more first data packets, where n is a positive integer. The present application can implement accurate scheduling of uplink transmission resources, thereby meeting the transmission requirements of delay-critical data packets without wasting transmission resources.
Need to check novelty before this filing date? Find Prior Art

Description

Data volume reporting method and device, equipment and storage medium TECHNICAL FIELD

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

[0002] In the fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G) new air interface (New Radio, NR), the network device can configure the delay status report (Delay Status Report, DSR) mechanism for the terminal device, and the terminal device will report the delay information (also known as the remaining time) and the corresponding data volume information of the buffered data packet to the network device under the condition of meeting the DSR reporting condition. Through the reporting of the DSR information, the network device can understand the remaining time of the data packet buffered by the terminal device, and / or assist the network device in scheduling.

[0003] The data volume reporting process of the terminal device needs to be further discussed and researched. SUMMARY

[0004] The present application provides a data volume reporting method, device, equipment and storage medium. The technical solution is as follows:

[0005] According to an aspect of the present application, a data volume reporting method is provided, which is executed by a terminal device, and the method comprises:

[0006] reporting first information, wherein the first information comprises data volume information of one or more parts of a first logical channel group (Logical Channel Group, LCG) respectively, and the data volume information of the nth part of the first LCG is used to reflect the data volume of one or more first data packets and one or more second data packets;

[0007] Wherein, the one or more first data packets comprise: data packets whose remaining time is located in the remaining time interval corresponding to the nth part, and / or data packets whose corresponding shortest remaining time is located in the remaining time interval corresponding to the nth part, and the one or more second data packets are before any one of the one or more first data packets, and n is a positive integer.

[0008] According to another aspect of the present application, a data volume reporting method is provided, which is executed by a network device, and the method comprises:

[0009] The terminal device receives first information, which includes data volume information of one or more parts of the first LCG, and the data volume information of the nth part of the first LCG is used to reflect the data volume of one or more first data packets and one or more second data packets.

[0010] Wherein, the one or more first data packets include: data packets whose remaining time is within the remaining time interval corresponding to the nth part, and / or, data packets whose shortest remaining time is within the remaining time interval corresponding to the nth part of the data packet set to which they belong, and the one or more second data packets are preceding any one of the one or more first data packets, where n is a positive integer.

[0011] According to another aspect of this application, a terminal device is provided, the terminal device comprising:

[0012] The sending module is used to report first information, which includes data volume information of one or more parts of the first LCG, and the data volume information of the nth part of the first LCG is used to reflect the data volume of one or more first data packets and one or more second data packets.

[0013] Wherein, the one or more first data packets include: data packets whose remaining time is within the remaining time interval corresponding to the nth part, and / or, data packets whose shortest remaining time is within the remaining time interval corresponding to the nth part of the data packet set to which they belong, and the one or more second data packets are preceding any one of the one or more first data packets, where n is a positive integer.

[0014] According to another aspect of this application, a network device is provided, the network device comprising:

[0015] The receiving module is used to receive first information reported by the terminal device. The first information includes data volume information of one or more parts of the first LCG. The data volume information of the nth part of the first LCG is used to reflect the data volume of one or more first data packets and one or more second data packets.

[0016] Wherein, the one or more first data packets include: data packets whose remaining time is within the remaining time interval corresponding to the nth part, and / or, data packets whose shortest remaining time is within the remaining time interval corresponding to the nth part of the data packet set to which they belong, and the one or more second data packets are preceding any one of the one or more first data packets, where n is a positive integer.

[0017] According to another aspect of the present application, a terminal device is provided, comprising: a processor; a transceiver connected to the processor; wherein the transceiver is configured to report first information, the first information comprising data volume information of one or more portions of a first LCG, the data volume information of an nth portion of the first LCG reflecting data volume of one or more first data packets and one or more second data packets;

[0018] wherein the one or more first data packets comprise: data packets whose remaining time is within a remaining time interval corresponding to the nth portion, and / or data packets whose shortest remaining time corresponding to a data packet set to which the data packets belong is within the remaining time interval corresponding to the nth portion, the one or more second data packets being before any one of the one or more first data packets, and n is a positive integer.

[0019] According to another aspect of the present application, a network device is provided, comprising: a processor; a transceiver connected to the processor; wherein the transceiver is configured to receive first information reported by a terminal device, the first information comprising data volume information of one or more portions of a first LCG, the data volume information of an nth portion of the first LCG reflecting data volume of one or more first data packets and one or more second data packets;

[0020] wherein the one or more first data packets comprise: data packets whose remaining time is within a remaining time interval corresponding to the nth portion, and / or data packets whose shortest remaining time corresponding to a data packet set to which the data packets belong is within the remaining time interval corresponding to the nth portion, the one or more second data packets being before any one of the one or more first data packets, and n is a positive integer.

[0021] According to another aspect of the present application, a computer readable storage medium is provided, the computer readable storage medium storing a computer program, the computer program being configured to be executed by a processor to implement the above-mentioned data volume reporting method.

[0022] According to another aspect of the present application, a chip is provided, the chip comprising programmable logic circuitry and / or program instructions, when the chip is running on a communication device, the chip is configured to report first information, the first information comprising data volume information of one or more portions of a first LCG, the data volume information of an nth portion of the first LCG reflecting data volume of one or more first data packets and one or more second data packets;

[0023] The one or more first data packets comprise: a data packet whose remaining time is located in a remaining time interval corresponding to the nth part, and / or a data packet whose corresponding data packet set's shortest remaining time is located in a remaining time interval corresponding to the nth part, the one or more second data packets are before any one of the one or more first data packets, and n is a positive integer.

[0024] According to another aspect of the present application, a computer program product is provided, which comprises computer instructions stored in a computer readable storage medium; a processor of a communication device reads the computer instructions from the computer readable storage medium and executes the computer instructions, so that the communication device implements the data volume reporting method.

[0025] According to another aspect of the present application, a computer program is provided, which is executed by a processor of a communication device to implement the data volume reporting method.

[0026] The technical scheme provided by the embodiments of the present application has at least the following beneficial effects:

[0027] By reporting the first information comprising the data volume information of each part of the one or more parts of the first LCG, since the data volume information of the nth part can reflect not only the data volume of the one or more first data packets corresponding to the nth part, but also the data volume of the second data packet before the first data packet, the network device can accurately schedule the uplink transmission resource according to the data volume information of each part of the at least one LCG, so as to meet the transmission requirement of the delay critical data packet without wasting the transmission resource. It is avoided that the scheduled uplink transmission resource is not enough due to being occupied by other preceding data packets, or it is avoided that too much uplink transmission resource is scheduled due to the network device's worry about insufficient resource, thereby causing resource waste. BRIEF DESCRIPTION OF DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. 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 creative effort.

[0029] FIG. 1 is a schematic diagram of a DSR MAC CE provided by an example embodiment of the present application;

[0030] FIG. 2 is a schematic diagram of a system architecture of a communication system provided by an example embodiment of the present application;

[0031] FIG. 3 is a flowchart of a data volume reporting method provided by an example embodiment of the present application;

[0032] Figure 4 is a schematic diagram of PDCP layer data volume calculation according to one example embodiment of the present application;

[0033] Figure 5 is a schematic diagram of PDCP layer data volume calculation according to one example embodiment of the present application;

[0034] Figure 6 is a schematic diagram of DSR MAC CE according to one example embodiment of the present application;

[0035] Figure 7 is a schematic diagram of DSR MAC CE according to one example embodiment of the present application;

[0036] Figure 8 is a schematic diagram of DSR MAC CE according to one example embodiment of the present application;

[0037] Figure 9 is a flow chart of a data volume reporting method according to one example embodiment of the present application;

[0038] Figure 10 is a flow chart of a data volume reporting method according to one example embodiment of the present application;

[0039] Figure 11 is a flow chart of uplink scheduling according to one example embodiment of the present application;

[0040] Figure 12 is a block diagram of a terminal device according to one example embodiment of the present application;

[0041] Figure 13 is a block diagram of a network device according to one example embodiment of the present application;

[0042] Figure 14 is a schematic diagram of a communication device according to one example embodiment of the present application. DETAILED DESCRIPTION

[0043] For the purpose of clarity, technical solution, and advantages of the present application, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings. Herein, exemplary embodiments will be described in detail with examples shown in the drawings. In the following description related to the drawings, the same reference numerals in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all the embodiments consistent with the present application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the present application as detailed in the appended claims. All other embodiments obtained by those of ordinary skill in the art without creative work based on the embodiments in the present application belong to the scope of protection of the present application. The terms used in the present disclosure are merely for the purpose of describing specific embodiments and are not intended to limit the present disclosure. The singular forms "a," "an," and "the" as used in the present disclosure and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and includes any or all possible combinations of one or more associated listed items. It should be understood that although the terms first, second, third, etc. can be employed in the present disclosure to describe various information, the information should not be limited to these terms. These terms are merely used to distinguish one piece of information from another piece of the same type. For example, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information without departing from the scope of the present disclosure. Depending on the context, the word "if' as used herein can be interpreted as meaning "when" or "upon determination" or "in response to a determination."

[0044] The technical solutions described in some embodiments of the present application can be applied to various communication systems, for example: Global System for Mobile Communications (GSM), Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS) system, Long Term Evolution (LTE) system, Advanced Long Term Evolution (LTE-A) system, New Radio (NR) system, evolved system of NR system, LTE-based access to unlicensed spectrum (LTE-U) system, NR-based access to unlicensed spectrum (NR-U) system, Non-Terrestrial Networks (NTN) system, Universal Mobile Telecommunication System (UMTS), Wireless Local Area Networks (WLAN) system, Wireless Fidelity (WiFi) system, 5th Generation Mobile Communication Technology (5G) system, cellular Internet of Things system, cellular passive Internet of Things system, and can also be applied to the evolved system after 5G NR system, and can also be applied to 6th Generation Mobile Communication Technology (6G) system and the evolved system thereafter.

[0045] It should be understood that in some embodiments of the present application, "5G" can also be referred to as "5G NR" or "NR".

[0046] It should be understood that in the description of the embodiments of the present application, the term "corresponding" can represent a direct or indirect corresponding relationship between the two, can also represent an associated relationship between the two, or can indicate a relationship such as indicated, configured, and configured.

[0047] DSR mechanism for 5G NR is introduced:

[0048] In 5G NR, a network device can configure a terminal device with a DSR mechanism. The terminal device will report the delay information and the corresponding data volume information of the buffered data (or data packets) to the network device if the DSR reporting condition is met. Through the reporting of DSR information, the network device can understand the remaining time of the data packets buffered by the terminal device, and / or assist the network in scheduling. Whether to trigger DSR is determined according to whether the remaining delay of the Packet Data Convergence Protocol (PDCP) discard timer is less than a threshold. The reported data volume is the data volume of delay-critical data (or delay-critical data packets). Delay-critical data is data whose remaining delay of the PDCP discard timer is less than the threshold.

[0049] When the network device activates the PDCP data packet discard function based on PSI (Protocol Data Unit (PDU) Set Importance), the PDU set with lower importance will maintain a discard timer for low importance (discardTimerForLowImportance). Correspondingly, such data packets will not be included in the triggering of DSR and the data volume reported by DSR even if the remaining delay is small.

[0050] MAC layer DSR process is introduced:

[0051] The DSR process is used to provide the network device with the delay status of the LCG. The delay status of the LCG includes the remaining time, which is the minimum remaining value of the PDCP discard timer (discardTimer) running in the PDCP service data unit (SDU) buffered for the LCG but not yet transmitted in any media access control (MAC) PDU, and the total amount of delay-critical uplink (UL) data provided by the data volume calculation process specified for the related radio link control (RLC) entity and PDCP entity for the LCG.

[0052] The Radio Resource Control (RRC) controls the DSR procedure by configuring the following parameters: remainingTimeThreshold (per LCG): remaining time threshold for logical channels within an LCG to trigger a DSR.

[0053] If a DSR is configured for an LCG, the MAC entity shall, for each logical channel within the LCG: trigger a DSR for the logical channel if all PDCP SDUs buffered for the logical channel are not transmitted in any MAC PDU, are not reported as data volume in a DSR MAC Control Element (MAC CE), the minimum remaining value of the running PDCP discard timer is below the remaining time threshold of the LCG, and if the logical channel has no DSR pending for processing.

[0054] If there is at least one DSR pending for processing, the MAC entity shall: if UL-Shared Channel (SCH) resources are available for a new transmission and due to logical channel prioritization, the resources of the UL-SCH can accommodate a DSR MAC CE and its sub-headers; instruct the multiplexing and assembly procedures to generate a DSR MAC CE as specified in the protocol; otherwise, if the DSR procedure has not triggered a Scheduling Request (SR) pending for the same logical channel as this DSR; trigger a Scheduling Request.

[0055] The availability of UL-SCH resources for transmitting a DSR MAC CE follows the criteria in the protocol.

[0056] A PDCP SDU is considered associated to a DSR if it is not transmitted in any MAC PDU and is a delay critical PDCP SDU associated to the logical channel that triggered the DSR. A MAC PDU shall contain at most one DSR MAC CE. A MAC PDU shall not contain a DSR MAC CE if it includes all PDCP SDUs related to all pending DSRs.

[0057] Once a DSR is triggered, it is considered pending until it is cancelled. The MAC entity shall cancel a pending DSR when all PDCP SDUs associated to the DSR are discarded, or when a MAC PDU is transmitted and this MAC PDU includes a DSR MAC CE containing the delay information of all PDCP SDUs associated to the DSR, or when a MAC PDU is transmitted and this MAC PDU includes all PDCP SDUs associated to the DSR.

[0058] If the MAC PDU can accommodate all PDCP SDUs associated with all pending DSRs but is not sufficient to additionally accommodate the DSR MAC CE and its subheader, whether the MAC entity includes the DSR MAC CE in the MAC PDU depends on the terminal device implementation.

[0059] DSR MAC CE is introduced as follows:

[0060] The DSR MAC CE is identified by a MAC subheader and an eLCID. The fields in the DSR MAC CE are defined as follows:

[0061] LCG i : This field indicates the presence of the delay information (i.e. the Remaining Time and Buffer Size fields) for the LCG i . The LCG i field set to 1 indicates that the delay information for the LCG i has been reported. The LCG i field set to 0 indicates that the delay information for the LCG i has not been reported.

[0062] Remaining Time: This field indicates the shortest remaining value of the PDCP discard timer running on all PDCP SDUs buffered for the LCG but not yet transmitted in any MAC PDU at the first symbol of the first Physical Uplink Shared Channel (PUSCH) transmission that includes this DSR MAC CE. The length of this field is 6 bits. This field is present only if the corresponding Buffer Size field indicates a non-zero buffer size; otherwise, this field is reserved and set to 0. If present, the value r in this field indicates the remaining time in the range (r, r+1] ms.

[0063] BT (Buffer Size Table, BS Table): The BT field is used to indicate a Buffer Size Table that defines the mapping of the 8-bit value of the Buffer Size (BS) field to the actual buffer size. This field is present only if the corresponding LCG is configured with additionalBS-TableAllowed and the corresponding Buffer Size field indicates a non-zero buffer size; otherwise, this field is reserved and

[0064] Buffer Size: This field indicates the total amount of delay-critical UL data of the LCG after the MAC PDU is built. If the corresponding LCG is configured with additionalBS-TableAllowed, and the total amount of delay-critical UL data of the LCG is within the range of the specified buffer size, the MAC entity shall use one specified buffer size table to set the value of this field; otherwise, the MAC entity shall use another. This field is expressed in bytes, and the length of this field is 8 bits.

[0065] R: Reserved bit, set to 0.

[0066] When a MAC PDU containing a DSR MAC CE is to be built, the DSR MAC CE shall include the delay information of all LCGs with pending DSRs. Exemplarily, FIG. 1 is a schematic diagram of a DSR MAC CE provided by an exemplary embodiment of the present application. As shown in FIG. 1, the remaining time, BT and buffer size fields of the LCGs shall be reported in two consecutive octets. The three fields of different LCGs shall be arranged in ascending order in the DSR MAC CE. i

[0067] The data amount calculation of the PDCP layer DSR is introduced as follows:

[0068] Delay-critical PDCP SDU: If pdu-SetDiscard is not configured, it includes the PDCP SDU whose remaining time before the discard timer expires is less than remainingTimeThreshold. If pdu-SetDiscard is configured, it includes the PDCP SDU belonging to the PDU set, wherein at least one PDCP SDU in the set has a remaining time before the discard timer expires less than remainingTimeThreshold.

[0069] In order to report the MAC delay status, the transmitting PDCP entity shall consider the following as delay-critical PDCP data amount:

[0070] ​delay critical PDCP SDU that is not constructed into a PDCP data PDU; PDCP data PDU that contains a delay critical PDCP SDU and has not been submitted to lower layers; PDCP control PDU; PDCP SDU that is retransmitted according to the protocol for an acknowledged mode (AM) data radio bearer (DRB); PDCP data PDU that is retransmitted according to the protocol for an AM DRB.

[0071] The transmitting PDCP entity provides a delay critical indication of a PDCP data PDU to lower layers in the following cases:

[0072] The PDCP data PDU has been submitted to lower layers, and the associated PDCP SDU becomes a delay critical PDCP SDU; or, the PDCP data PDU is submitted to lower layers, and the associated PDCP SDU is already a delay critical PDCP SDU.

[0073] The data volume calculation for RLC layer DSR is introduced as follows:

[0074] Delay critical RLC SDU: RLC SDU associated with a PDCP PDU indicated as delay critical by PDCP.

[0075] For reporting the MAC delay status, the terminal device shall consider the following as delay critical RLC data volume:

[0076] Delay critical RLC SDU and delay critical RLC SDU segment that has not yet been included in a RLC data PDU; RLC data PDU waiting for initial transmission and containing a delay critical RLC SDU or delay critical RLC SDU segment; RLC data PDU (RLC AM) waiting for retransmission.

[0077] In addition, if a STATUS PDU has been triggered and t-StatusProhibit is not running or has expired, the terminal device shall estimate the size of the STATUS PDU to be transmitted in the next transmission opportunity and consider it as part of the RLC data volume for the MAC buffer status report and as delay critical RLC data volume for the MAC delay status report.

[0078] The DSR enhancements in extended reality (XR) are introduced as follows:

[0079] One of the current research directions is to consider scheduling enhancements for latency. For example: specify support for enhanced functionality for UL scheduling to achieve high XR capacity while meeting latency requirements / avoiding too late PDUs; specify additional logical channel priority handling using packet delay / deadline information; specify enhanced DSR reporting for LCGs with multiple pairs of residual time and buffer size.

[0080] Current DSR enhancements consider reporting multiple pairs of latency information and corresponding data volume information for one LCG to the network, which can help the network understand more detailed data volume and residual time, and facilitate the network to better perform uplink scheduling, so that the latency-sensitive data of the terminal device can be transmitted in time. For example: the network should be able to configure multiple residual time thresholds for reporting for each LCG to report multiple pairs of residual time and buffer size for each LCG; for enhanced DSR, there will be a single triggering threshold; based on the multiple reporting time threshold levels configured for the LCG, the buffered data is divided into multiple parts. DSR indicates the following information for each part with BS>0: buffer size of each part data volume; the shortest residual time in the PDCP SDU of each part buffer; a bit indication can indicate whether there is a pair / another pair of residual time information and buffer size information in the associated LCG in the new DSR MAC CE; let the network configure the triggering and reporting thresholds without constraints; the terminal device can also support including non-delay critical / sensitive data (or non-delay critical data packets) before delay critical data in the buffer size calculation of DSR, which is an indication of the capability to the network (NW).

[0081] For DSR, for one LCG (consisting of multiple logical channels (LCHs)), the network indicates one triggering threshold and multiple reporting thresholds for the terminal device to report multiple pairs of latency information and corresponding data volume information for one LCG through DSR MAC CE. Among them, the relationship between the triggering threshold and the multiple reporting thresholds is not constrained, and depends entirely on network configuration.

[0082] Therefore, for one LCG, the data buffered in the terminal's buffer will be divided into multiple parts according to the multiple reporting thresholds (reporting time thresholds), and for each part with a data volume greater than 0, the following information is reported through the DSR MAC CE:

[0083] Data volume information of each portion; the shortest residual time in the PDCP SDU buffered in each portion.

[0084] In addition, for the data volume calculation of the DSR, the terminal device can support that some non-delay critical data before the delay critical data in the buffer is also calculated.

[0085] According to the foregoing, in the data volume calculation reported by the DSR, it is considered that some non-delay critical data before the delay critical data packet in the buffer of the terminal device is also calculated. Because, based on the implementation of the terminal device, the processing of the data packet in the buffer usually follows the first-in first-out, so the non-delay critical data packet before the delay critical data packet in the buffer may consume the resources scheduled for the delay critical data packet, causing the delay critical data packet to be discarded due to timeout. If the transmission of the non-delay critical data packet has an impact on the transmission of the delay critical data packet, but the information of the non-delay critical data packet is not reported through any signaling, the network device may not know the existence of the non-delay critical data packet, and will not schedule enough uplink grant (UL grant) to the terminal device.

[0086] However, merely calculating some non-delay critical data before the delay critical data packet in the buffer into the data volume is not enough to completely solve the above problem, because there are not only some non-delay critical data before. And for the process of "calculating non-delay critical data before delay critical data packet", further discussion and research are also needed.

[0087] The method provided in the application can realize the following process in which the terminal device reports the data volume calculation result of the DSR: performing the data volume calculation of each part of the LCG in ascending order of the residual time interval (for example, [ThreshR_1, ThreshR_2)>=[ThreshR_2, ThreshR_3)>=[ThreshR_3, ThreshR_4]); for the data volume calculation of one part of the LCG (for example, [ThreshR_n, ThreshR_(n+1)), in addition to the UL data packets whose residual time is within the two reporting thresholds (ThreshR_n, ThreshR_(n+1)), if any UL data packet before the UL data packets in the cache is not calculated in the previous one or more parts, the terminal device also needs to calculate the data volume of the UL data packet which is not calculated before in the part. For example, in the process of calculating the data volume of the part corresponding to [ThreshR_2, ThreshR_3), in addition to the first data packet whose residual time is within [ThreshR_2, ThreshR_3), if any second data packet before the first data packet in the cache is not calculated in the part corresponding to [ThreshR_1, ThreshR_2) before [ThreshR_2, ThreshR_3), the terminal device also needs to calculate the data volume of the second data packet which is not calculated before in the part corresponding to [ThreshR_2, ThreshR_3). Alternatively, for the data volume calculation of the part before the triggering threshold, the terminal device is allowed not to calculate the data volume of the UL data packet which is not calculated before. Through the above method, the data volume is calculated and reported to the network device, and the network device can accurately schedule the uplink transmission resource according to the data volume information of each part of the at least one LCG, so as to meet the transmission requirement of the delay critical data packet without waste. The scheduled uplink transmission resource is avoided from being occupied by other previous data packets, or the network device is avoided from scheduling too much uplink transmission resource due to the worry of not enough, thereby causing resource waste.

[0088] FIG. 2 is a schematic diagram of the system architecture of a communication system 200 provided in an example embodiment of the application. The system architecture can include a terminal device 10, an access network device 20 and a core network device 30.

[0089] The terminal device 10 can refer to a UE (User Equipment), an access terminal device, a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal device, a mobile device, a wireless communication device, a user agent, or a user apparatus. Alternatively, the terminal device can also be a cellular phone, a cordless phone, a SIP (Session Initiation Protocol) phone, a WLL (Wireless Local Loop) station, a PDA (Personal Digital Assistant), a handheld device with wireless communication function, a computing device, or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a 5GS (5th Generation System), or a terminal device in a future evolved PLMN (Public Land Mobile Network), etc., and the embodiments of the present application are not limited thereto. For the convenience of description, the above-mentioned devices are collectively referred to as terminal devices.

[0090] It should be noted that the number of terminal devices 10 is usually multiple, and one or more terminal devices 10 can be distributed in the cell managed by each access network device 20. In addition, one or more terminal devices 10 can also be distributed outside the cell managed by the access network device 20. Among them, different terminal devices 10 can communicate based on sidelink.

[0091] The access network device 20 is a device deployed in an access network to provide wireless communication functions for the terminal device 10. The access 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 access network device functions can be different, for example, in a 5G NR system, it is called gNodeB or gNB. As communication technology evolves, the name of the "access network device" may change. For ease of description, in the embodiments of the present application, the above-mentioned devices that provide wireless communication functions for the terminal device 10 are collectively referred to as access network devices. Optionally, through the access network device 20, a communication relationship can be established between the terminal device 10 and the core network device 30. Illustratively, in a long term evolution (Long Term Evolution, LTE) system, the access network device 20 can be an EUTRAN (Evolved Universal Terrestrial Radio Access Network) or one or more eNodeBs in the EUTRAN; in a 5G NR system, the access network device 20 can be a RAN (Radio Access Network) or one or more gNBs in the RAN.

[0092] The main function of the core network device 30 is to provide user connection, management of users, and completion of bearer for services, and to provide an interface to an external network as a bearer network. For example, the core network device in a 5G NR system can include an AMF (Access and Mobility Management Function) entity, a UPF (User Plane Function) entity, and an SMF (Session Management Function) entity, and the like. The access network device 20 and the core network device 30 can be collectively referred to as network devices.

[0093] In one example, the access network device 20 and the core network device 30 communicate with each other through some air technology, such as an NG interface in a 5G NR system. The access network device 20 and the terminal device 10 communicate with each other through some air technology, such as a Uu interface. The terminal device 10 and the terminal device 10 communicate with each other through some air technology, such as a PC5 interface.

[0094] FIG. 3 is a flowchart of a data volume reporting method according to an example embodiment of the present application. The method can be performed by a terminal device. The method includes:

[0095] Step 302: reporting first information, the first information comprising data volume information of one or more portions of the first LCG respectively.

[0096] The one or more portions of the first LCG comprise an nth portion of the first LCG, each portion of the first LCG can be understood as a set of at least one data packet buffered for the first LCG, and n is a positive integer. In some embodiments, the first LCG comprises any LCG of the terminal device. The data volume information of the nth portion of the first LCG is used to reflect data volumes of one or more first data packets and one or more second data packets. In some embodiments, the first data packets and the second data packets are data packets buffered for the LCG. In some embodiments, the data volume information of the nth portion of the first LCG is calculated by the terminal device according to the data volumes of the one or more first data packets and the one or more second data packets.

[0097] The one or more first data packets comprise: a data packet whose remaining time is in the time interval corresponding to the nth portion, and / or a data packet whose corresponding data packet set's shortest remaining time is in the time interval corresponding to the nth portion. Each portion of the first LCG corresponds to a time interval, and the remaining time of a data packet in the first LCG reflects the time remaining until the data packet is discarded, such as the time remaining until the end of a discard timer. The shortest remaining time of a data packet set is the minimum of the remaining times of the data packets in the data packet set. In some embodiments, the data packet set comprises a PDU set. In some embodiments, the multiple portions correspond to different time intervals, and the multiple portions are arranged in ascending order of the time intervals. The data amount of the one or more first data packets is not reflected by the data amount information of the one or more portions before the nth portion. For example, the time interval corresponding to the nth portion is (ThreshR_(n-1), ThreshR_n], and in the case that the one or more first data packets only satisfy that the remaining time is in the time interval corresponding to the nth portion, the terminal device performs data amount calculation to include the data amount of the one or more data packets whose remaining time is in (ThreshR_(n-1), ThreshR_n]. In the case that the one or more first data packets not only need to satisfy that the remaining time is in the time interval corresponding to the nth portion, but also need to satisfy that the data amount of the one or more first data packets is not reflected by the data amount information of the one or more portions before the nth portion, the terminal device performs data amount calculation to include the data amount of the one or more data packets whose remaining time is in (ThreshR_(n-1), ThreshR_n] and whose data amount is not calculated in the portions before the portion corresponding to (ThreshR_(n-1), ThreshR_n]. In some embodiments, the first data packet comprises at least one of: an RLC SDU; an RLC PDU; a PDCP SDU; and a PDCP PDU.

[0098] In some embodiments, the first data packet comprises a PDCP SDU. In a case where the first parameter is not configured, the PDCP SDU satisfies a remaining time to a discard timer timeout being less than or equal to the first time and greater than or equal to the second time; in a case where the first parameter is configured, the PDCP SDU belongs to a PDU set in which there is at least one PDCP SDU satisfying a remaining time to a discard timer timeout being less than or equal to the first time and greater than or equal to the second time. The first parameter is used to indicate a data packet set to which the current data packet belongs or to indicate a discard PDU set, and the first parameter can be pdu-SetDiscard. The first time is a right endpoint of a remaining time interval corresponding to the nth portion, and the second time is a left endpoint of the remaining time interval corresponding to the nth portion. For example, the left endpoint of the remaining time interval corresponding to the nth portion is ThreshR_(n-1), and the right endpoint of the remaining time interval corresponding to the nth portion is ThreshR_n. The PDCP SDU of the nth portion comprises: if the pdu-SetDiscard is not configured, the PDCP SDU satisfies a remaining time to a discard timer timeout being less than or equal to ThreshR_n and greater than or equal to ThreshR_(n-1); if the pdu-SetDiscard is configured, the PDCP SDU belongs to a PDU set in which there is at least one PDCP SDU satisfying a remaining time to a discard timer timeout being less than or equal to ThreshR_n and greater than or equal to ThreshR_(n-1).

[0099] The one or more second data packets are before any one of the one or more first data packets. The second data packet before the first data packet can be understood as a data packet that is cached before the first data packet, or a data packet that is in a buffer of the terminal device and is arranged before the first data packet in sequence. In some embodiments, the second data packet comprises at least one of: an RLC SDU; an RLC PDU; a PDCP SDU; and a PDCP PDU.

[0100] In some embodiments, the PDU comprises at least one of a data PDU (Data PDU) and a control PDU (Control PDU), the PDCP PDU comprises at least one of a PDCP data PDU (PDCP Data PDU) and a PDCP control PDU (PDCP Control PDU), and the RLC PDU comprises at least one of an RLC data PDU (RLC Data PDU) and an RLC control PDU (RLC Control PDU).

[0101] In some embodiments, the first information further comprises at least one of the following information in addition to the data volume information of the first LCG: index information of the first LCG; latency information of one or more portions of the first LCG respectively; and a first bit corresponding to each portion of the first LCG.

[0102] The index information of the first LCG is used to indicate whether there is latency information of the first LCG. In some embodiments, the latency information of the nth portion of the first LCG is the shortest remaining time of the one or more first data packets, and / or is the shortest remaining time corresponding to the data packet set in which the one or more first data packets are located. In some embodiments, the latency information of the nth portion of the first LCG is the shortest remaining time of at least one of the following: the one or more first data packets; each data packet in the data packet set in which the one or more first data packets are located. Each data packet in the data packet set can be understood as all data packets in the data packet set, or can be understood as data packets other than the first data packets. For example, in the case where the one or more first data packets include data packets whose remaining time is within the remaining time interval corresponding to the nth portion, the latency information of the nth portion of the first LCG is the shortest remaining time of the one or more first data packets; in the case where the one or more first data packets include data packets whose shortest remaining time corresponding to the data packet set to which the data packets belong is within the remaining time interval corresponding to the nth portion, the latency information of the nth portion of the first LCG is the shortest remaining time of each data packet in the data packet set in which the one or more first data packets are located; in the case where the one or more first data packets include data packets whose remaining time is within the remaining time interval corresponding to the nth portion, and data packets whose shortest remaining time corresponding to the data packet set to which the data packets belong is within the remaining time interval corresponding to the nth portion, the latency information of the nth portion of the first LCG is the shortest remaining time of the one or more first data packets and the shortest remaining time of each data packet in the data packet set in which the one or more first data packets are located. It should be noted that the determination of the first data packets used to calculate the shortest remaining time can also be combined with the above-mentioned definition that "the data amount of the one or more first data packets is not reflected by the data amount information of the one or more portions before the nth portion". In some embodiments, the data amount information and the latency information of the same portion of the first LCG form a pair of latency information and data amount information, and in the case where the first LCG has multiple portions, the first LCG corresponds to multiple pairs of latency information and data amount information. The first bit is used to indicate whether there is a next portion after each portion of the first LCG. In some embodiments, in the case where the first bit is 1, it indicates that there is a next portion after the portion corresponding to the first bit in the first LCG; in the case where the first bit is 0, it indicates that there is no next portion after the portion corresponding to the first bit in the first LCG, i.e. the portion corresponding to the first bit is the last portion in the first LCG. In some embodiments, the first bit is an R bit (Reserved bit, R-bit), and the first bit is equivalent to / replaceable by an End-Marker (E) field.

[0103] In some embodiments, the first information further comprises information of one or more LCGs other than the first LCG, and the information of the LCs other than the first LCG can refer to the first LCG, which will not be repeated herein. In some embodiments, the first information comprises a DSR MAC CE.

[0104] In some embodiments, the first LCG comprises a plurality of parts. The plurality of parts correspond to different remaining time intervals, and the plurality of parts are arranged in ascending order of the remaining time intervals. The data amount of the one or more second data packets is not reflected by the data amount information of the one or more parts before the nth part.

[0105] For example, the nth part corresponds to a remaining time interval of (ThreshR_(n-1), ThreshR_n], and the terminal device performs data amount calculation to include the data amount of the one or more first data packets with a remaining time in the interval (ThreshR_(n-1), ThreshR_n]. Moreover, if there is one or more second data packets before any one of the one or more first data packets in the buffer, and the data amount of the one or more second data packets is not calculated in the data amount calculation of the one or more parts before the nth part, the terminal device should calculate the data amount of the one or more second data packets in the data amount of the nth part.

[0106] In some embodiments, in the case that the remaining time in the remaining time interval corresponding to the nth part is less than or equal to the first threshold, the data amount information of the nth part of the first LCG is used to reflect the data amount of the one or more first data packets and the one or more second data packets. In some embodiments, the remaining time in the remaining time interval corresponding to the nth part is less than or equal to the first threshold, including that the left endpoint or the right endpoint of the remaining time interval corresponding to the nth part is less than or equal to the first threshold. The first threshold is a threshold on remaining time for triggering a DSR for a logical channel within an LCG. In some embodiments, the first threshold is equivalent to / replaceable by a triggering threshold, and the first threshold can be represented as ThreshT.

[0107] In some embodiments, the first LCG includes an nth+k portion, and the data amount information of the nth+k portion is used to reflect the data amount of one or more third data packets when the remaining time in the remaining time interval corresponding to the nth+k portion is greater than the first threshold. In some embodiments, the remaining time in the remaining time interval corresponding to the nth+k portion is greater than the first threshold, including that the left end point or the right end point of the remaining time interval corresponding to the nth+k portion is greater than the first threshold. The remaining time of the one or more third data packets is located in the remaining time interval corresponding to the nth+k portion, and k is a positive integer. The third data packet can be referred to the introduction of the first data packet, and the embodiments of the present application do not repeat it here.

[0108] It should be noted that the above content can be understood as that for the portion corresponding to the remaining time interval in which the left end point or the right end point is greater than the first threshold, the terminal device can not calculate the data amount of the one or more second data packets in the portion, that is, the enhancement of calculating the data amount of the one or more second data packets is only applicable to the portion corresponding to the remaining time interval in which the left end point or the right end point is less than or equal to the first threshold.

[0109] In some embodiments, the plurality of portions of the first LCG are obtained by dividing the data packets in the first LCG by a plurality of remaining time intervals. The plurality of remaining time intervals are obtained by dividing a plurality of second thresholds, and the one or more second thresholds are set for the remaining time for DSR reporting for the first LCG (one or more thresholds on remaining time for DSR reporting for an LCG). In some embodiments, the second threshold is equivalent to / replaceable by a reporting threshold (reporting threshold), and the second threshold can be represented as ThreshR.

[0110] For example, the second threshold values include ThreshR_0, ThreshR_1, ThreshR_2, ThreshR_3, ThreshR_4, and the plurality of residual time intervals obtained by the plurality of second threshold values include (ThreshR_0, ThreshR_1], (ThreshR_1, ThreshR_2], (ThreshR_2, ThreshR_3], (ThreshR_3, ThreshR_4]. Wherein, ThreshR_0 = 0 time units, ThreshR_1 = 10 time units, ThreshR_2 = 20 time units, ThreshR_3 = 30 time units, and ThreshR_4 = 40 time units. ThreshR_0 can not be explicitly configured. The first part corresponds to (0, 10], the second part corresponds to (10, 20], the third part corresponds to (20, 30], and the fourth part corresponds to (30, 40].

[0111] In some embodiments, the first threshold value and the one or more second threshold values are configured by the network device, for example, are configured by the network device through DSR configuration information. In some embodiments, the DSR configuration information is configured per LCG (per-LCG). In some embodiments, the DSR configuration information is carried in RRC signaling.

[0112] The calculation process for the data volume is as follows:

[0113] In some embodiments, the terminal device performs data volume calculation for the first LCG according to the plurality of second threshold values to obtain data volume information of the first LCG. In some embodiments, the terminal device calculates the data volume of each part of the first LCG in ascending order of the residual time interval. For example, for an LCG, the terminal device calculates the data volume of each part of the LCG in ascending order. Each part corresponds to a plurality of different residual time intervals segmented by the plurality of second threshold values. For example, the terminal device calculates the data volume of each part of the first LCG in the order of (ThreshR_0, ThreshR_1] = > (ThreshR_1, ThreshR_2] = > (ThreshR_2, ThreshR_3] = > (ThreshR_3, ThreshR_4].

[0114] In some embodiments, the data volume calculation is performed by the PDCP entity and / or the RLC entity associated with the LCH in the first LCG. The data volume calculation process of the PDCP entity belongs to the PDCP layer behavior, which is used for data volume calculation of each part related to the PDCP layer. The PDCP entity can also be used to provide indication information for data volume calculation of the RLC layer. The data volume calculation process of the RLC entity belongs to the RLC layer behavior, which is used for data volume calculation of each part related to the RLC layer.

[0115] In some embodiments, the transmitting PDCP entity of the terminal device should calculate and provide the MAC entity with the data volume of each portion in ascending order. In the process of calculating the PDCP layer data volume of the n-th portion by the PDCP entity, at least one of the following is used to calculate the PDCP layer data volume of the n-th portion: the n-portion PDCP SDUs for which no PDCP Data PDUs have been constructed; the PDCP Data PDUs that contain the n-portion PDCP SDUs and have not been submitted to lower layers; PDCP Control PDUs; for AM DRBs, the PDCP SDUs to be retransmitted according to clause 5.1.2 (PDCP entity re-establishment) and clause 5.13 (Uplink data switching); for AM DRBs, the PDCP Data PDUs to be retransmitted according to clause 5.5 Data recovery.

[0116] In some embodiments, the PDCP Control PDUs are only applicable to the first portion. For AM DRBs, the PDCP SDUs to be retransmitted according to clause 5.1.2 (PDCP entity re-establishment) and clause 5.13 (Uplink data switching) are only applicable to the first portion. For AM DRBs, the PDCP Data PDUs to be retransmitted according to clause 5.5 Data recovery are only applicable to the first portion.

[0117] In some embodiments, the transmitting PDCP entity of the terminal device should also consider the following data as the PDCP layer data amount of the n-portion: PDCP SDUs and / or PDCP PDUs in the DRB buffer, which are not yet included in a PDCP PDU (PDCP data PDU) and / or are not yet submitted to the lower layer, and which are not included in the data amount calculation of one or more portions (e.g., 1st, 2nd, …, n-1th portions) before the n-portion.

[0118] In some embodiments, the n-portion RLC SDU includes RLC SDUs corresponding to a PDCP PDU indicated as n-portion PDCP PDU by the PDCP entity. The RLC entity of the terminal device should calculate and provide the data amount of each portion to the MAC entity in ascending order. In the process of calculating the RLC layer data amount of the n-portion by the RLC entity, at least one of the following is used to calculate the RLC layer data amount of the n-portion: n-portion RLC SDUs and n-portion RLC SDU segments that have not yet been included in an RLC data PDU; RLC data PDUs pending for initial transmission and containing a n-portion RLC SDU or a n-portion RLC SDU segment; RLC data PDUs that are pending for retransmission (for RLC AM); and RLC control PDUs.

[0119] In some embodiments, the RLC PDUs waiting for retransmission are only applied to the first portion.

[0120] In some embodiments, the RLC entity of the terminal device should also consider the following data as the RLC layer data amount of the n-portion: the RLC SDUs, RLC SDU segments and / or RLC PDUs before any of the "RLC SDUs and / or RLC SDU segments of the n-portion not contained in the RLC PDU" and / or "RLC SDUs and / or RLC SDU segments of the n-portion contained in the RLC PDU and waiting for initial transmission" in the RLC buffer, and these RLC SDUs, RLC SDU segments and / or RLC PDUs are not calculated in the data amount calculation process of the previous one or more portions (e.g. the 1st, 2nd,..., n-1th portions).

[0121] In some embodiments, the PDCP entity is configured to indicate the PDCP PDUs (PDCP Data PDUs) of each portion respectively by indication information (n-portion indication information), e.g. the PDCP entity is configured to provide the indication information of the PDCP Data PDU of the n-portion to the lower layers (e.g. RLC layer).

[0122] In some embodiments, the PDCP entity is configured to indicate the PDCP PDUs of each portion respectively by indication information in at least one of the following cases: the PDCP PDU (PDCP Data PDU) has already been submitted to lower layers and the corresponding PDCP SDU becomes a n-portion PDCP SDU (the PDCP Data PDU has already been submitted to lower layers and the corresponding PDCP SDU becomes a n-portion PDCP SDU); the PDCP PDU (PDCP Data PDU) is submitted to lower layers and the corresponding PDCP SDU is already a n-portion PDCP SDU (the PDCP Data PDU is submitted to lower layers and the corresponding PDCP SDU is already a n-portion PDCP SDU).

[0123] For example, FIG. 4 is a schematic diagram of PDCP layer data volume calculation provided by an example embodiment of the present application. As shown in FIG. 4, the terminal device sequentially calculates data volumes of D1-D8 for the first LCG buffered data packets. D1, D3, and D5 are low priority data packets. The remaining time of D2 is 4 time units, the remaining time of D4 is 8 time units, the remaining time of D6 is 15 time units, the remaining time of D7 is 16 time units, and the remaining time of D8 is 35 time units. The first LCG has four parts corresponding to the remaining time intervals (0, 10], (10, 20], (20, 30], and (30, 40], respectively. In the process of calculating the data volume of the first part, the terminal device calculates data volumes of D1, D2, D3, and D4, wherein the remaining time of D2 and D4 is located in the remaining time interval corresponding to the first part, D1 is a data packet before D2, and D3 is a data packet before D4. In the process of calculating the data volume of the second part, the terminal device calculates data volumes of D5, D6, and D7, wherein the remaining time of D6 and D7 is located in the remaining time interval corresponding to the second part, and D5 is a data packet before D6. There is no data packet in the remaining time interval corresponding to the third part. In the process of calculating the data volume of the fourth part, the terminal device calculates the data volume of D8, wherein the remaining time of D8 is located in the remaining time interval corresponding to the fourth part.

[0124] For example, FIG. 5 is a schematic diagram of PDCP layer data volume calculation provided by an example embodiment of the application. As shown in FIG. 5, D2 and D7 belong to data packet set #1, and D6 and D8 belong to data packet set #2. In the process of calculating the data volume of the first part, the terminal device calculates data volume of D1, D2, D3, D4, D5, D6, and D7, wherein the remaining time of D2 and D4 is located in the remaining time interval corresponding the first part, and D7 belongs to the same data packet set #1 as D2. D1 is a data packet before D2, D3 is a data packet before D4, D5 and D6 are data packets before D7. In the process of calculating the data volume of the second part, since the data volume of D6 and D7 is calculated in the first part, the terminal device does not calculate the data volume of D6 and D7 in the second part, and the terminal device calculates the data volume of D8, wherein the shortest remaining time of the data packet set #2 to which D8 belongs is located in the remaining time interval corresponding to the second part. There is no data packet in the remaining time interval corresponding to the third part, and there is no data packet in the remaining time interval corresponding to the fourth part.

[0125] For the generation process of the first information:

[0126] In some embodiments, the terminal device generates the first information according to the result of the data volume calculation. In some embodiments, the generation of the first information is performed by a MAC entity, and the generation of the first information belongs to the MAC layer behavior. In some embodiments, the MAC entity generates the first information according to the data volume of each part calculated by the RLC entity and the PDCP entity respectively. The first information includes at least one of the following information: index information of the LCG, time delay information and data volume information of each part of at least one LCG. In some embodiments, each part also corresponds to a first bit (R-bit) for indicating whether there is a next part after the part.

[0127] In some embodiments, taking the first information as an example of the DSR MAC CE, FIG. 6 is a schematic diagram of the DSR MAC CE provided by an exemplary embodiment of the present application. As shown in FIG. 6, the DSR MAC CE includes at least one of the following information:

[0128] Index information of the LCG (LCG i ): used to indicate the presence / absence of the LCG i time delay information;

[0129] Remaining time of the nth portion: indicates the shortest remaining value of running PDCP discard timer among all PDCP SDUs that are buffered for the LCG but have not been transmitted in any MAC PDU within the range of the nth portion (i.e. greater than or equal to ThresR_(n-1) and less than ThresR_n). For example, the shortest remaining value of running PDCP discardTimer among all PDCP SDUs that are buffered for an LCG but have not been transmitted in any MAC PDU, at the time of the first symbol of the first PUSCH transmission that includes this DSR MAC CE (the shortest remaining value within (ThresR_(n-1), ThresR_n] of running PDCP discardTimer among all PDCP SDUs that are buffered for an LCG but have not been transmitted in any MAC PDU, at the time of the first symbol of the first PUSCH transmission that includes this DSR MAC CE); and / or, indicates the shortest remaining time of running PDCP discard timer corresponding to one or more PDCP SDUs that meet the first condition among all PDCP SDUs that are buffered for the LCG but have not been transmitted in any MAC PDU. The first condition includes at least one of the following: the remaining time of running PDCP discard timer corresponding to the PDCP SDU is within the range of the nth portion; the shortest remaining time corresponding to the PDU set to which the PDCP SDU belongs is within the range of the nth portion; the data volume of the PDCP SDU is not calculated in the portion before the nth portion;

[0130] BT: Please refer to the relevant content in the foregoing, which is not repeated here;

[0131] Buffer size (data volume information of the nth portion): indicates the total data volume of the UL data packets of the nth portion of the LCG after the generation of this MAC PDU, which is obtained according to the data volume calculation process of the RLC entity and the PDCP entity for the nth portion, respectively;

[0132] E (End-Marker bit): value 1 indicates that there is a next part in the current LCG, 0 indicates that there is no next part, i.e., this is the last part. For example, the E of the first n-1 parts of the nth part of an LCG is always 1, and the E of the last part is always 0, for example, 1110.

[0133] In some embodiments, the DSR MAC CE should contain delay information, and when constructing the MAC PDU containing the DSR MAC CE, the DSR MAC CE should include the delay information of at least one part of all LCGs with pending DSRs. In some embodiments, for the delay information of one part of one LCG, the remaining time, BT, data volume information and End-Marker field of the part should be reported in two consecutive bytes. In some embodiments, in the DSR MAC CE, the delay information of multiple parts in the same LCG is arranged in ascending order of parts. In some embodiments, in the DSR MAC CE, the delay information of multiple parts of different LCGs is arranged in ascending order of LCGs i .

[0134] For example, FIG. 7 is a schematic diagram of a DSR MAC CE provided by an example embodiment of the present application. After calculating the data volumes of the four parts of the first LCG through the calculation process shown in FIG. 4, the DSR MAC CE shown in FIG. 7 can be generated according to the calculation results, and the DSR MAC CE shown in FIG. 7 is only for the first LCG. For example, FIG. 8 is a schematic diagram of a DSR MAC CE provided by an example embodiment of the present application. After calculating the data volumes of the four parts of the first LCG through the calculation process shown in FIG. 5, the DSR MAC CE shown in FIG. 8 can be generated according to the calculation results, and the DSR MAC CE shown in FIG. 8 is only for the first LCG.

[0135] In some embodiments, the terminal device receives the uplink scheduling of the network device. The uplink scheduling is determined according to the first information, and the resource of the uplink scheduling is greater than or equal to the data volume of the nth part. For example, the terminal device reports the DSR MAC CE, so that the network device can schedule appropriate uplink transmission resources according to the DSR information reported by the terminal, so that the delay-critical data packet can be sent in time.

[0136] In summary, the method provided in the embodiment can report the first information including the data amount information of each of one or more parts of the first LCG. The data amount information of the nth part can reflect the data amount of one or more first data packets corresponding to the nth part and the data amount of the second data packet before the first data packet. Therefore, the network device can accurately schedule the uplink transmission resource according to the data amount information of each part of the at least one LCG, so as to meet the transmission requirement of the delay-sensitive data packet without wasting the transmission resource. The scheduled uplink transmission resource is not occupied by other preceding data packets, or the network device does not schedule too much uplink transmission resource due to the concern of insufficient resource.

[0137] The method provided in the embodiment can also arrange the parts of the LCG in ascending order of the residual time interval, and reflect the data amount of the second data packet that has not been calculated before by the data amount information of the nth part. Therefore, the network device can accurately know the data amount of the data packet corresponding to different residual time of different residual time interval, so as to more accurately schedule the uplink transmission resource for the delay-sensitive data packet by the network device, thereby ensuring that the delay-sensitive data packet can be transmitted in time and avoid being discarded. When the residual time interval is less than or equal to the first threshold, the data amount information reflects the data amount of the first data packet and the second data packet, which helps to ensure that sufficient uplink transmission resource is scheduled for the delay-sensitive data packet with a shorter residual time to be discarded, so as to ensure that the delay-sensitive data packet can be transmitted in time and avoid being discarded. The plurality of second thresholds can be used to divide the plurality of residual time intervals, so as to calculate the data amount according to the delay-sensitive degree of the data packet. The data amount of the data packet to be discarded in time can be calculated in ascending order of the residual time interval, so as to ensure that the data packet can be transmitted in time and avoid being discarded. The uplink scheduling can be performed according to the first information, so that the network device can accurately schedule the uplink transmission resource according to the first information, thereby meeting the transmission requirement of the delay-sensitive data packet without wasting the transmission resource.

[0138] FIG. 9 is a flowchart of a method for reporting data amount provided in an example embodiment of the present application. The method can be performed by a network device. The method includes:

[0139] Step 902: receiving the first information reported by the terminal device, the first information including the data amount information of each of one or more parts of the first LCG.

[0140] The one or more portions of the first LCG include an nth portion of the first LCG, n being a positive integer. The data amount information of the nth portion of the first LCG is used to reflect data amounts of the one or more first data packets and the one or more second data packets. In some embodiments, the first data packets and the second data packets are data packets buffered by the LCG. In some embodiments, the data amount information of the nth portion of the first LCG is calculated by the terminal device according to the data amounts of the one or more first data packets and the one or more second data packets.

[0141] It should be noted that the first data packets and the second data packets can be understood with reference to related contents in other embodiments of the present application, which will not be repeated here. The first information can be understood with reference to related contents in other embodiments of the present application, which will not be repeated here.

[0142] In some embodiments, in a case where the remaining time in the remaining time interval corresponding to the nth portion is less than or equal to a first threshold, the data amount information of the nth portion of the first LCG is used to reflect data amounts of the one or more first data packets and the one or more second data packets.

[0143] In some embodiments, the first LCG includes an nth+k portion, and in a case where the remaining time in the remaining time interval corresponding to the nth+k portion is greater than the first threshold, the data amount information of the nth+k portion is used to reflect data amounts of one or more third data packets. The remaining time of the one or more third data packets is located in the remaining time interval corresponding to the nth+k portion, and k is a positive integer. The third data packets can be understood with reference to the first data packets, which will not be repeated here.

[0144] In some embodiments, the plurality of portions of the first LCG are obtained by dividing the data packets in the first LCG by a plurality of remaining time intervals. The plurality of remaining time intervals are obtained by dividing a plurality of second thresholds. The one or more second thresholds are set for the remaining time of the DSR reported for the first LCG.

[0145] In some embodiments, the network device sends an uplink schedule to the terminal device. The uplink schedule is determined according to the first information, and a resource of the uplink schedule is greater than or equal to the data amount of the nth portion.

[0146] It should be noted that the data amount calculation process of the first LCG and the generation process of the first information can be understood with reference to related contents in other embodiments of the present application, which are not repeated here.

[0147] In summary, the method provided in this embodiment, by reporting the first information including the data amount information of each of one or more parts of the first LCG, since the data amount information of the nth part can reflect not only the data amount of one or more first data packets corresponding to the nth part, but also the data amount of second data packets before the first data packets, the network device can accurately schedule uplink transmission resources according to the data amount information of each part of at least one LCG, so as to meet the transmission requirement of delay-critical data packets without wasting transmission resources. It avoids that the scheduled uplink transmission resources are not enough due to being occupied by other preceding data packets, or it avoids that too many uplink transmission resources are scheduled due to the concern of the network device that the resources are not enough, thereby causing resource waste.

[0148] The method provided in this embodiment can also enable the network device to accurately know the data amount of data packets corresponding to different remaining time intervals, so that the network device can more accurately schedule uplink transmission resources for delay-critical data packets, thereby ensuring that the delay-critical data packets can be transmitted in time and avoid being discarded. By making the data amount information reflect the data amount of the first data packets and the second data packets when the remaining time interval is less than or equal to the first threshold, it is helpful to ensure that enough uplink transmission resources are scheduled for delay-critical data packets with a shorter remaining time to be discarded, thereby ensuring that the delay-critical data packets can be transmitted in time and avoid being discarded. By dividing the plurality of remaining time intervals by the plurality of second thresholds, the data amount can be calculated according to the delay-critical degree of the data packets. By scheduling the uplink according to the first information, the network device can accurately schedule the uplink transmission resources according to the first information, so as to meet the transmission requirement of delay-critical data packets without wasting transmission resources.

[0149] FIG. 10 is a flowchart of a method for reporting data amount provided in an example embodiment of the present application. The method can be used in the system shown in FIG. 2. The method includes:

[0150] Step 1002: The terminal device reports first information to the network device.

[0151] The first information includes data amount information of each of one or more parts of the first LCG. The one or more parts of the first LCG include an nth part of the first LCG, and n is a positive integer. The data amount information of the nth part of the first LCG is used to reflect the data amount of one or more first data packets and one or more second data packets. In some embodiments, the first data packets and the second data packets are data packets buffered by the LCG. In some embodiments, the data amount information of the nth part of the first LCG is calculated by the terminal device according to the data amount of the one or more first data packets and the one or more second data packets.

[0152] It should be noted that the first data packet and the second data packet can refer to the related content in other embodiments of the present application, and will not be repeated here. The first information can refer to the related content in other embodiments of the present application, and will not be repeated here.

[0153] In some embodiments, when the remaining time in the remaining time interval corresponding to the nth part is less than or equal to the first threshold, the data amount information of the nth part of the first LCG is used to reflect the data amount of one or more first data packets and one or more second data packets.

[0154] In some embodiments, the first LCG includes an nth+k part, and when the remaining time in the remaining time interval corresponding to the nth+k part is greater than the first threshold, the data amount information of the nth+k part is used to reflect the data amount of one or more third data packets. The remaining time of the one or more third data packets is located in the remaining time interval corresponding to the nth+k part, and k is a positive integer. The third data packet can refer to the introduction of the first data packet, and the embodiments of the present application will not be repeated here.

[0155] In some embodiments, the plurality of parts of the first LCG is obtained by dividing the data packets in the first LCG by a plurality of remaining time intervals. The plurality of remaining time intervals is obtained by dividing a plurality of second thresholds, and the one or more second thresholds are set for the remaining time of the DSR reported for the first LCG.

[0156] It should be noted that the data amount calculation process of the first LCG and the generation process of the first information can refer to the related content in other embodiments of the present application, and will not repeated here.

[0157] Step 1004: The terminal device receives the uplink scheduling of the network device.

[0158] The uplink scheduling is determined according to the first information, and the resource of the uplink scheduling is greater than or equal to the data amount of the nth part.

[0159] In the embodiment, steps 1002 and 1004 are optional, and one of the steps can be omitted or replaced in different embodiments.

[0160] Step 1002 can be implemented as an independent embodiment, such as a data amount reporting method on the terminal device side or a data amount reporting method on the network device side. Step 1004 can be implemented as an independent embodiment, such as an uplink scheduling method on the terminal device side or an uplink scheduling method on the network device side.

[0161] Taking the first information in the embodiments of the present application as an example, the DSR MAC CE, FIG. 11 is a flowchart of uplink scheduling provided by one exemplary embodiment of the present application. As shown in FIG. 11, in step S1, the terminal device receives the DSR configuration information sent by the network device, and the DSR configuration information includes a trigger threshold and one or more reporting thresholds. In step S2, the terminal device triggers DSR reporting. In some embodiments, if the first LCG is configured with DSR, the MAC entity shall, for each LCH of the first LCG: if the minimum remaining value of the running PDCP discard timer is below the trigger threshold of the first LCG, and if there is no DSR pending for this LCH, trigger DSR for this LCH. In step S3, the terminal device performs data volume calculation and generates a DSR MAC CE, which can refer to the related content in the foregoing, and will not be repeated here. In step S4, the terminal device reports the DSR (DSR MAC CE) to the network device. In step S5, the network device performs uplink authorization (UL grant) to the terminal device to schedule uplink transmission resources to the terminal device according to the DSR MAC CE.

[0162] In summary, the method provided by the embodiments, by reporting the first information containing the data volume information of one or more parts of the first LCG, the data volume information of the nth part can not only reflect the data volume of one or more first data packets corresponding to the nth part, but also reflect the data volume of the second data packet before the first data packet, so that the network device can accurately schedule uplink transmission resources according to the data volume information of each part of the at least one LCG, thereby meeting the transmission requirements of delay-critical data packets without wasting transmission resources. Avoid scheduling uplink transmission resources that are not enough for other preceding data packets, or avoid scheduling too much uplink transmission resources due to the network device's concern about insufficient resources, thereby causing resource waste.

[0163] The method provided in the embodiment can also make the network device accurately know the data amount of the data packet corresponding to different remaining time intervals, so that the network device can more accurately schedule uplink transmission resources for the delay-critical data packet, thereby ensuring that the delay-critical data packet can be transmitted in time and avoid being discarded. The data amount information reflects the data amount of the first data packet and the second data packet when the remaining time interval is less than or equal to the first threshold, which helps to ensure that sufficient uplink transmission resources are scheduled for the delay-critical data packet with a shorter remaining time to be discarded, thereby ensuring that the delay-critical data packet can be transmitted in time and avoid being discarded. The multiple second thresholds divide the multiple remaining time intervals, which can realize the calculation of the data amount according to the delay-critical degree of the data packet. The data amount of each part is calculated in ascending order of the remaining time interval, which can preferentially calculate the data amount of the data packet to be discarded in time to avoid being discarded. The network device can accurately schedule uplink transmission resources according to the first information, thereby meeting the transmission requirements of the delay-critical data packet without wasting transmission resources.

[0164] It should be noted that the order of the method steps provided in the embodiments of the present application can be appropriately adjusted, the steps can be increased or decreased as appropriate, and the steps can be freely combined to form new embodiments. Any person skilled in the art can easily think of changes within the scope of the technology disclosed in the present application, which should be covered within the protection scope of the present application, and therefore will not be described again. In addition, the order of the above-mentioned different cases does not have a preferred meaning, but is only for convenience of description.

[0165] FIG. 12 is a block diagram of a terminal device provided in an example embodiment of the present application. The device can be implemented as a terminal device or a part of a terminal device by software or hardware or a combination of both. The device includes a sending module 1201, a calculating module 1202, a generating module 1203, and a receiving module 1204.

[0166] The sending module 1201 is configured to report first information, the first information including data amount information of one or more parts of a first LCG.

[0167] The one or more portions of the first LCG include an nth portion of the first LCG, n being a positive integer. The data amount information of the nth portion of the first LCG is used to reflect data amounts of the one or more first data packets and the one or more second data packets. In some embodiments, the data amount information of the nth portion of the first LCG is calculated by the terminal device according to the data amounts of the one or more first data packets and the one or more second data packets.

[0168] It should be noted that the first data packet and the second data packet can be referred to the related content in other embodiments of the present application, which will not be repeated here. The first information can be referred to the related content in other embodiments of the present application, which will not be repeated here.

[0169] In some embodiments, in a case that the remaining time in the remaining time interval corresponding to the nth portion is less than or equal to the first threshold, the data amount information of the nth portion of the first LCG is used to reflect the data amounts of the one or more first data packets and the one or more second data packets.

[0170] In some embodiments, the first LCG includes an nth+k portion, and in a case that the remaining time in the remaining time interval corresponding to the nth+k portion is greater than the first threshold, the data amount information of the nth+k portion is used to reflect the data amounts of the one or more third data packets. The remaining time of the one or more third data packets is located in the remaining time interval corresponding to the nth+k portion, and k is a positive integer. The third data packet can be referred to the introduction of the first data packet, which will not be repeated here.

[0171] In some embodiments, the plurality of portions of the first LCG are obtained by dividing the data packets in the first LCG by the plurality of remaining time intervals. The plurality of remaining time intervals are obtained by dividing by the plurality of second thresholds, and the one or more second thresholds are set for the remaining time of the DSR reported for the first LCG.

[0172] The calculation process of the data amount is as follows:

[0173] In some embodiments, the calculation module 1202 is configured to perform the data amount calculation of the first LCG according to the plurality of second thresholds to obtain the data amount information of the first LCG. In some embodiments, the calculation module 1202 is configured to calculate the data amount of each portion of the first LCG in ascending order of the remaining time interval.

[0174] In some embodiments, the calculation of the data amount is performed by the PDCP entity and / or the RLC entity associated with the LCH in the first LCG.

[0175] In some embodiments, the transmitting PDCP entity of the terminal device should calculate and provide the MAC entity with the data volume of each portion in ascending order. In the process of calculating the PDCP layer data volume of the nth portion by the PDCP entity, at least one of the following is used to calculate the PDCP layer data volume of the nth portion: PDCP SDU in the nth portion that has not been constructed into a PDCP PDU (PDCP data PDU); PDCP PDU (PDCP data PDU) containing PDCP SDU in the nth portion and not submitted to the lower layer; PDCP control PDU; for AM DRB, PDCP SDU retransmitted according to PDCP entity reconstruction and / or uplink data switching; for AM DRB, PDCP PDU retransmitted according to data recovery.

[0176] In some embodiments, the transmitting PDCP entity of the terminal device should also consider the following data as the PDCP layer data volume of the nth portion: PDCP SDU and / or PDCP PDU in the DRB buffer before any one of "PDCP SDU in the nth portion that has not been constructed into a PDCP PDU (PDCP data PDU)" and / or "PDCP PDU (PDCP data PDU) containing PDCP SDU in the nth portion and not submitted to the lower layer", and these PDCP SDU and / or PDCP PDU are not calculated in the data volume calculation process of one or more portions before the nth portion.

[0177] In some embodiments, the nth portion RLC SDU includes the RLC SDU associated with the PDCP PDU indicated by the PDCP entity. The RLC entity of the terminal device should calculate and provide the MAC entity with the data volume of each portion in ascending order. In the process of calculating the RLC layer data volume of the nth portion by the RLC entity, at least one of the following is used to calculate the RLC layer data volume of the nth portion: RLC SDU and / or RLC SDU segment of the nth portion that is not contained in the RLC PDU (RLC data PDU); RLC PDU (RLC data PDU) containing RLC SDU and / or RLC SDU segment of the nth portion and waiting for initial transmission; RLC PDU (RLC data PDU) waiting for retransmission (for RLC AM); RLC control PDU.

[0178] In some embodiments, the RLC entity of the terminal device should also consider the following data as the RLC layer data amount of the nthpart: the RLC SDUs, RLC SDU segments and / or RLC PDUs before any one of the "RLC SDU of the nthpart and / or RLC SDU segment of the nthpart not contained in the RLC PDU" and / or "RLC PDU containing the RLC SDU of the nthpart and / or RLC SDU segment of the nthpart and waiting for initial transmission" in the RLC buffer, and these RLC SDUs, RLC SDU segments and / or RLC PDUs are not calculated in the data amount calculation process of the previous one or more parts.

[0179] In some embodiments, the PDCP entity is configured to indicate the PDCP PDU (PDCP data PDU) of each part by indication information respectively, for example, the PDCP entity is configured to provide the indication information of the PDCP data PDU of the nthpart to the lower layer.

[0180] In some embodiments, the PDCP entity is configured to indicate the PDCP PDU of each part by indication information respectively in at least one of the following cases: the PDCP PDU (PDCP data PDU) has been submitted to the lower layer, and the associated PDCP SDU becomes the PDCP SDU of the nthpart; the PDCP PDU (PDCP data PDU) is submitted to the lower layer, and the associated PDCP SDU becomes the PDCP SDU of the nthpart.

[0181] The generation process of the first information is as follows:

[0182] In some embodiments, the generation module 1203 is configured to generate the first information according to the result of the data amount calculation. In some embodiments, the generation of the first information is performed by the MAC entity, and the generation of the first information belongs to the MAC layer behavior. In some embodiments, the MAC entity generates the first information according to the data amount of each part calculated by the RLC entity and the PDCP entity respectively. The first information includes at least one of the following information: the index information of the LCG, the delay information and the data amount information of each part of at least one LCG. In some embodiments, each part also corresponds to a first bit (R-bit) for indicating whether there is a next part after the part.

[0183] In some embodiments, taking the DSR MAC CE with the first information as an example, the DSR MAC CE includes at least one of the following information: the index information of the LCG (LCG i ); the remaining time of the nthpart; BT; buffer size; E (End-Marker bit).

[0184] In some embodiments, the receiving module 1204 is configured to receive an uplink schedule of the network device. The uplink schedule is determined according to the first information, and a resource of the uplink schedule is greater than or equal to the data amount of the nth part of the first LCG.

[0185] FIG. 13 is a block diagram of a network device according to an example embodiment of the present application. The device can be implemented as a network device or a part of a network device by software or hardware or a combination of both. The device includes a receiving module 1301 and a sending module 1302.

[0186] The receiving module 1301 is configured to receive first information reported by a terminal device. The first information includes data amount information of one or more parts of a first LCG.

[0187] The one or more parts of the first LCG include an nth part of the first LCG, and n is a positive integer. The data amount information of the nth part of the first LCG is used to reflect data amounts of one or more first data packets and one or more second data packets. In some embodiments, the first data packets and the second data packets are data packets buffered by the LCG. In some embodiments, the data amount information of the nth part of the first LCG is calculated by the terminal device according to the data amounts of the one or more first data packets and the one or more second data packets.

[0188] It should be noted that the first data packets and the second data packets can be understood in the light of the related content in other embodiments of the present application, which will not be repeated here. The first information can be understood in the light of the related content in other embodiments of the present application, which will not be repeated here.

[0189] In some embodiments, in a case where a remaining time in a remaining time interval corresponding to the nth part is less than or equal to a first threshold, the data amount information of the nth part of the first LCG is used to reflect the data amounts of the one or more first data packets and the one or more second data packets.

[0190] In some embodiments, the first LCG includes an nth+k part, and in a case where a remaining time in a remaining time interval corresponding to the nth+k part is greater than the first threshold, data amount information of the nth+k part is used to reflect data amounts of one or more third data packets. The remaining time of the one or more third data packets is located in the remaining time interval corresponding to the nth+k part, and k is a positive integer. The third data packets can be understood in the light of the first data packets, which will not be repeated here.

[0191] In some embodiments, the plurality of portions of the first LCG are obtained by dividing the data packets in the first LCG by a plurality of remaining time intervals. The plurality of remaining time intervals are divided by a plurality of second thresholds, and one or more of the second thresholds are set for the remaining time of reporting the DSR for the first LCG.

[0192] In some embodiments, the sending module 1302 is configured to send an uplink schedule to the terminal device. The uplink schedule is determined according to the first information, and a resource of the uplink schedule is greater than or equal to the data amount of the nth portion.

[0193] It should be noted that the data amount calculation process of the first LCG and the generation process of the first information can refer to the related content in other embodiments of the present application, and will not be repeated here.

[0194] It should be noted that the apparatus provided in the above embodiments is only used as an example to divide the above-mentioned various functional modules when realizing its functions. In actual applications, the above-mentioned functions can be completed by different functional modules according to actual needs, that is, the content structure of the device is divided into different functional modules to complete all or part of the above-described functions.

[0195] As for the apparatus in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments of the method, and will not be described in detail here.

[0196] FIG. 14 is a structural schematic diagram of a communication device (network device or terminal device) provided in an embodiment of the present application. The communication device can include a processor 1401, a receiver 1402, a transmitter 1403, a memory 1404, and a bus 1405.

[0197] The processor 1401 includes one or more processing cores. The processor 1401 performs various functional applications and information processing by running software programs and modules.

[0198] The receiver 1402 and the transmitter 1403 can be implemented as a transceiver 1406, which can be a communication chip.

[0199] The memory 1404 is connected to the processor 1401 through the bus 1405. The memory 1404 can be used to store computer programs, and the processor 1401 is configured to execute the computer programs to implement each step performed by the network device or the terminal in the above method embodiments.

[0200] In addition, the memory 1404 can be implemented by any type of volatile or nonvolatile storage devices or a combination thereof, including but not limited to: RAM (Random-Access Memory) and ROM (Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other solid-state storage technology, CD-ROM (Compact Disc Read-Only Memory), DVD (Digital Video Disc), or other optical storage, magnetic cassettes, magnetic tapes, magnetic disk storage, or other magnetic storage devices.

[0201] In some embodiments, in the case of the communication device being implemented as a terminal device, the transmitter 1403 is configured to report first information, the first information including data amount information of each of one or more parts of a first LCG, the data amount information of an nth part of the first LCG reflecting data amounts of one or more first data packets and one or more second data packets, wherein the one or more first data packets include data packets whose remaining time is located in a remaining time interval corresponding to the nth part and / or data packets whose shortest remaining time corresponding to a data packet set is located in the remaining time interval corresponding to the nth part, the one or more second data packets being before any one of the one or more first data packets, and n being a positive integer. The transmitter 1403 can also be configured to perform other sending-related steps performed by the terminal device in the various embodiments described above. The receiver 1402 is configured to receive uplink scheduling of a network device, wherein a resource of the uplink scheduling is greater than or equal to the data amount of the nth part. The receiver 1402 can also be configured to perform other receiving-related steps performed by the terminal device in the various embodiments described above. The processor 1401 is configured to calculate the data amount of each part of the first LCG in ascending order of the remaining time interval. The processor 1401 can also be configured to perform other processing-related steps performed by the terminal device in the various embodiments described above.

[0202] In some embodiments, in the case where the communication device is implemented as a network device, the receiver 1402 is configured to receive first information reported by a terminal device, the first information comprising data volume information of one or more portions of a first LCG respectively, the data volume information of an nth portion of the first LCG reflecting data volume of one or more first data packets and one or more second data packets, wherein the one or more first data packets comprise data packets whose remaining time is located in a remaining time interval corresponding to the nth portion, and / or data packets whose shortest remaining time corresponding to a data packet set to which the data packets belong is located in the remaining time interval corresponding to the nth portion, the one or more second data packets being before any one of the one or more first data packets, and n being a positive integer. The receiver 1402 can also be configured to perform other receiving related steps performed by the terminal device in the various embodiments described above. The transmitter 1403 is configured to send uplink scheduling to the terminal device, wherein a resource of the uplink scheduling is greater than or equal to the data volume of the nth portion. The transmitter 1403 can also be configured to perform other sending related steps performed by the network device in the various embodiments described above.

[0203] The embodiment of the application further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, the computer program is used for being executed by a processor of a terminal device to report first information, the first information comprises data amount information of one or more parts of a first LCG, the data amount information of an nth part of the first LCG is used for reflecting data amounts of one or more first data packets and one or more second data packets, wherein the one or more first data packets comprise data packets whose remaining time is located in a remaining time interval corresponding to the nth part, and / or data packets whose shortest remaining time corresponding to a data packet set is located in the remaining time interval corresponding to the nth part, the one or more second data packets are before any one of the one or more first data packets, and n is a positive integer; and the computer program is used for being executed by the processor of the terminal device to implement other steps performed by the terminal device in the various embodiments. And / or, the computer program is used for being executed by a processor of a network device to receive the first information reported by the terminal device, the first information comprises data amount information of one or more parts of a first LCG, the data amount information of an nth part of the first LCG is used for reflecting data amounts of one or more first data packets and one or more second data packets, wherein the one or more first data packets comprise data packets whose remaining time is located in a remaining time interval corresponding to the nth part, and / or data packets whose shortest remaining time corresponding to a data packet set is located in the remaining time interval corresponding to the nth part, the one or more second data packets are before any one of the one or more first data packets, and n is a positive integer; and the computer program is used for being executed by the processor of the network device to implement other steps performed by the network device in the various embodiments.

[0204] In some embodiments, the computer readable storage medium can include a ROM (Read-Only Memory), a RAM (Random-Access Memory), a SSD (Solid State Drives), an optical disc, or the like. The random access memory can include a ReRAM (Resistance Random Access Memory) and a DRAM (Dynamic Random Access Memory).

[0205] The embodiment of the present application further provides a chip, which comprises a programmable logic circuit and / or program instructions, and is used for reporting first information when the chip is running on a terminal device, wherein the first information comprises data volume information of one or more parts of a first LCG, and the data volume information of an nth part of the first LCG is used for reflecting data volume of one or more first data packets and one or more second data packets; wherein the one or more first data packets comprise data packets whose remaining time is located in a remaining time interval corresponding to the nth part, and / or data packets whose shortest remaining time corresponding to a data packet set is located in the remaining time interval corresponding to the nth part, the one or more second data packets are before any one of the one or more first data packets, and n is a positive integer; and is used for performing other steps executed by the terminal device in the above-mentioned various embodiments. And / or, when the chip is running on a network device, is used for receiving the first information reported by the terminal device, wherein the first information comprises data volume information of one or more parts of a first LCG, and the data volume information of an nth part of the first LCG is used for reflecting data volume of one or more first data packets and one or more second data packets; wherein the one or more first data packets comprise data packets whose remaining time is located in a remaining time interval corresponding to the nth part, and / or data packets whose shortest remaining time corresponding to a data packet set is located in the remaining time interval corresponding to the nth part, the one or more second data packets are before any one of the one or more first data packets, and n is a positive integer; and is used for performing other steps executed by the network device in the above-mentioned various embodiments.

[0206] The embodiment of the present application further provides a computer program product or computer program, which comprises computer instructions stored in a computer readable storage medium, and a processor of a communication device reads and executes the computer instructions from the computer readable storage medium, so as to realize each step in the above-mentioned data volume reporting method.

[0207] Those skilled in the art should realize that, in the above-mentioned one or more examples, the functions described in the embodiment of the present application can be realized by hardware, software, firmware or any combination thereof. When realized by software, these functions can be stored in a computer readable medium or transmitted as one or more instructions or codes on a computer readable medium. The computer readable medium comprises a computer storage medium and a communication medium, wherein the communication medium comprises any medium facilitating transmission of computer programs from one place to another. The storage medium can be any available medium accessible by a general or special purpose computer.

[0208] The above merely provides exemplary embodiments of the present application, but 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 data volume reporting method, characterized in that, The method is performed by a terminal device, and the method comprises: reporting first information, the first information comprising data volume information of one or more parts of a first logical channel group (LCG) respectively, the data volume information of an nth part of the first LCG being used to reflect data volume of one or more first data packets and one or more second data packets; wherein the one or more first data packets comprise data packets whose remaining time is located in a remaining time interval corresponding to the nth part, and / or data packets whose shortest remaining time corresponding to a data packet set to which the data packets belong is located in the remaining time interval corresponding to the nth part, the one or more second data packets being before any one of the one or more first data packets, and n being a positive integer.

2. The method of claim 1, wherein, The first LCG comprises a plurality of parts. wherein the plurality of parts correspond to different remaining time intervals, the plurality of parts are arranged in ascending order of the remaining time intervals, and data volume of the one or more second data packets is not reflected by data volume information of one or more parts before the nth part.

3. The method according to claim 1 or 2, characterized in that, The first LCG comprises a plurality of parts. wherein the plurality of parts correspond to different remaining time intervals, the plurality of parts are arranged in ascending order of the remaining time intervals, and data volume of the one or more first data packets is not reflected by data volume information of one or more parts before the nth part.

4. The method according to any one of claims 1 to 3, characterized in that, In a case where remaining time in a remaining time interval corresponding to the nth part is less than or equal to a first threshold value, the data volume information of the nth part of the first LCG is used to reflect data volume of the one or more first data packets and the one or more second data packets. wherein the first threshold value is set for a remaining time at which a delay status report (DSR) is triggered for a logical channel (LCH) in the first LCG.

5. The method according to any one of claims 1 to 4, characterized in that, The first LCG comprises an nth+k part, in a case where remaining time in a remaining time interval corresponding to the nth+k part is greater than the first threshold value, data volume information of the nth+k part is used to reflect data volume of one or more third data packets; wherein the one or more third data packets have remaining time located in the remaining time interval corresponding to the nth+k part, and k is a positive integer.

6. The method according to any one of claims 1 to 5, characterized in that, The plurality of parts of the first LCG are obtained by dividing data packets in the first LCG by a plurality of remaining time intervals; wherein the plurality of remaining time intervals are obtained by dividing a plurality of second threshold values, and the second threshold value is set for a remaining time at which a DSR is reported for the first LCG.

7. The method according to any one of claims 1 to 6, characterized in that, The first data packet comprises at least one of: a radio link control (RLC) service data unit (SDU), an RLC protocol data unit (PDU), a packet data convergence protocol (PDCP) SDU, and a PDCP PDU.

8. The method according to any one of claims 1 to 7, characterized in that, The first data packet comprises a PDCP SDU; in a case where a first parameter is not configured, the PDCP SDU satisfies a condition that remaining time to a discard timer timeout is less than or equal to a first time and greater than or equal to a second time. In a case where the first parameter is configured, the PDCP SDU belongs to a PDU set, and there is at least one PDCP SDU in the PDU set that satisfies a condition that a remaining time to a timeout of the discard timer is less than or equal to the first time and greater than or equal to the second time. The first parameter is used to indicate a discarded PDU set, the first time is a right end point of a remaining time interval corresponding to the nth portion, and the second time is a left end point of the remaining time interval corresponding to the nth portion.

9. The method according to any one of claims 1 to 8, characterized in that, The method further includes: The data amount of each portion of the first LCG is calculated in ascending order of the remaining time interval.

10. The method of claim 9, wherein, The data amount is calculated by a PDCP entity and / or an RLC entity associated with an LCH in the first LCG.

11. The method of claim 10, wherein, In the process of calculating the PDCP layer data amount of the nth portion by the PDCP entity, at least one of the following is used to calculate the PDCP layer data amount of the nth portion: PDCP SDU that is not constructed into a PDCP PDU in the PDCP SDU of the nth portion; PDCP PDU that contains the PDCP SDU of the nth portion and is not submitted to a lower layer; PDCP control PDU; for an AM data radio bearer (DRB), a PDCP SDU that is retransmitted according to PDCP entity reconstruction and / or uplink data switching; and for an AM DRB, a PDCP PDU that is retransmitted according to data recovery.

12. The method according to claim 10 or 11, characterized in that, In the process of calculating the RLC layer data amount of the nth portion by the RLC entity, at least one of the following is used to calculate the RLC layer data amount of the nth portion: RLC SDU and / or RLC SDU segment of the nth portion that is not contained in an RLC PDU and / or an RLC PDU that contains the RLC SDU and / or RLC SDU segment of the nth portion and waits for initial transmission; RLC PDU that waits for retransmission; and RLC control PDU.

13. The method of claim 12, wherein, The RLC SDU of the nth portion includes an RLC SDU associated with the PDCP PDU of the nth portion indicated by the PDCP entity.

14. The method of claim 13, wherein, The PDCP entity is configured to indicate the PDCP PDU of each portion by indication information.

15. The method of claim 14, wherein, In at least one of the following cases, the PDCP entity is configured to indicate the PDCP PDU of each portion by the indication information: The PDCP PDU has been submitted to a lower layer, and the associated PDCP SDU becomes the PDCP SDU of the nth portion; The PDCP PDU is submitted to a lower layer, and the associated PDCP SDU becomes the PDCP PDU of the nth portion.

16. The method of any one of claims 9 to 15, wherein, The method further includes: The first information is generated according to a result of the data amount calculation.

17. The method of claim 16, wherein, The first information is generated by a medium access control (MAC) entity.

18. The method of any one of claims 1 to 17, wherein, The first information further includes at least one of the following: Index information of the first LCG; time delay information of each of one or more parts of the first LCG; and a first bit corresponding to each part of the first LCG; The first bit is used to indicate whether there is a next part after each part of the first LCG.

19. The method of claim 18, wherein, The time delay information of the nth part of the first LCG is the shortest remaining time in the remaining time corresponding to at least one of the following data packets: The one or more first data packets; and each data packet in a data packet set in which the one or more first data packets are located.

20. The method of any one of claims 1 to 19, wherein, The method further comprises: receiving uplink scheduling of the network device; The resource of the uplink scheduling is greater than or equal to the data amount of the nth part.

21. The method of any one of claims 1 to 20, wherein, The first information includes a DSR medium access control control element (MAC CE).

22. A data volume reporting method, comprising: The method is performed by a network device, and the method comprises: receiving first information reported by a terminal device, the first information comprising data amount information of one or more parts of a first LCG, the data amount information of an nth part of the first LCG being used to reflect data amounts of one or more first data packets and one or more second data packets; The one or more first data packets comprise data packets whose remaining time is within a remaining time interval corresponding to the nth part, and / or data packets whose shortest remaining time corresponding to a data packet set is within the remaining time interval corresponding to the nth part, the one or more second data packets being before any one of the one or more first data packets, and n is a positive integer.

23. The method of claim 22, wherein, The first LCG comprises a plurality of parts; The plurality of parts correspond to different remaining time intervals, the plurality of parts are arranged in ascending order of the remaining time intervals, and the data amount of the one or more second data packets is not reflected by data amount information of one or more parts before the nth part.

24. The method of claim 22 or 23, wherein, The first LCG comprises a plurality of parts; The plurality of parts correspond to different remaining time intervals, the plurality of parts are arranged in ascending order of the remaining time intervals, and the data amount of the one or more first data packets is not reflected by data amount information of one or more parts before the nth part.

25. The method of any one of claims 22 to 24, wherein, In a case where a remaining time in a remaining time interval corresponding to the nth part is less than or equal to a first threshold value, the data amount information of the nth part of the first LCG is used to reflect the data amounts of the one or more first data packets and the one or more second data packets; The first threshold value is set for a remaining time of triggering DSR for an LCH in the first LCG.

26. The method of any one of claims 22 to 25, wherein, The first LCG comprises an nth+k part, and in a case where a remaining time in a remaining time interval corresponding to the nth+k part is greater than the first threshold value, data amount information of the nth+k part is used to reflect data amounts of one or more third data packets; The one or more third data packets have a remaining time within the remaining time interval corresponding to the nth+k part, and k is a positive integer.

27. The method of any one of claims 22 to 26, wherein, The multiple parts of the first LCG are obtained by dividing the data packets in the first LCG by multiple remaining time intervals; The multiple remaining time intervals are divided by multiple second thresholds, and the second threshold is set for the remaining time of reporting the DSR on the first LCG.

28. The method of any one of claims 22 to 27, wherein, The first data packet includes at least one of the following: RLC SDU, RLC PDU, PDCP SDU, and PDCP PDU.

29. The method of any one of claims 22 to 28, wherein, The first data packet includes PDCP SDU. In the case where the first parameter is not configured, the PDCP SDU satisfies that the remaining time to the discard timer timeout is less than or equal to the first time and greater than or equal to the second time; In the case where the first parameter is configured, the PDCP SDU belongs to a PDU set, and there is at least one PDCP SDU in the PDU set that satisfies that the remaining time to the discard timer timeout is less than or equal to the first time and greater than or equal to the second time. The first parameter is used to indicate a discard PDU set, the first time is the right endpoint of the remaining time interval corresponding to the nth part, and the second time is the left endpoint of the remaining time interval corresponding to the nth part.

30. The method of any one of claims 22 to 29, wherein, The first information further includes at least one of the following information: Index information of the first LCG, time delay information of one or more parts of the first LCG, and a first bit corresponding to each part of the first LCG. The first bit is used to indicate whether there is a next part after each part of the first LCG.

31. The method of claim 30, wherein, The time delay information of the nth part of the first LCG is the shortest remaining time in the following at least one of the remaining time corresponding to the data packet: The one or more first data packets and each data packet in the data packet set in which the one or more first data packets are located.

32. The method of any one of claims 22 to 31, wherein, The method further includes: Sending an uplink schedule to a terminal device; The resource of the uplink schedule is greater than or equal to the data amount of the nth part.

33. The method of any one of claims 22 to 32, wherein, The first information includes a DSR MAC CE.

34. A terminal device, comprising: The terminal device includes: A sending module configured to report first information, the first information including data amount information of one or more parts of a first LCG, and the data amount information of an nth part of the first LCG being used to reflect data amounts of one or more first data packets and one or more second data packets; The one or more first data packets include data packets whose remaining time is located in a remaining time interval corresponding to the nth part, and / or data packets whose corresponding shortest remaining time is located in the remaining time interval corresponding to the nth part, and the one or more second data packets are before any one of the one or more first data packets, and n is a positive integer.

35. A network device, comprising: The network device includes: The receiving module is used to receive first information reported by the terminal device. The first information includes data volume information of one or more parts of the first LCG. The data volume information of the nth part of the first LCG is used to reflect the data volume of one or more first data packets and one or more second data packets. Wherein, the one or more first data packets include: data packets whose remaining time is within the remaining time interval corresponding to the nth part, and / or, data packets whose shortest remaining time is within the remaining time interval corresponding to the nth part of the data packet set to which they belong, and the one or more second data packets are preceding any one of the one or more first data packets, where n is a positive integer.

36. A terminal device, comprising: The terminal device includes: processor; A transceiver connected to the processor; The transceiver is used to report first information, which includes data volume information of one or more parts of the first LCG. The data volume information of the nth part of the first LCG is used to reflect the data volume of one or more first data packets and one or more second data packets. Wherein, the one or more first data packets include: data packets whose remaining time is within the remaining time interval corresponding to the nth part, and / or, data packets whose shortest remaining time is within the remaining time interval corresponding to the nth part of the data packet set to which they belong, and the one or more second data packets are preceding any one of the one or more first data packets, where n is a positive integer.

37. A network device, comprising: The network device includes: processor; A transceiver connected to the processor; The transceiver is used to receive first information reported by the terminal device. The first information includes data volume information of one or more parts of the first LCG. The data volume information of the nth part of the first LCG is used to reflect the data volume of one or more first data packets and one or more second data packets. Wherein, the one or more first data packets include: data packets whose remaining time is within the remaining time interval corresponding to the nth part, and / or, data packets whose shortest remaining time is within the remaining time interval corresponding to the nth part of the data packet set to which they belong, and the one or more second data packets are preceding any one of the one or more first data packets, where n is a positive integer.

38. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that is executed by a processor to implement the data reporting method according to any one of claims 1 to 33.

39. A chip, characterized by The chip includes programmable logic circuits and / or program instructions. When the chip is running on a communication device, it is used to report first information. The first information includes data volume information of one or more parts of the first LCG. The data volume information of the nth part of the first LCG is used to reflect the data volume of one or more first data packets and one or more second data packets. The one or more first data packets comprise: a data packet whose remaining time is located in a remaining time interval corresponding to the nth part, and / or a data packet whose corresponding data packet set's shortest remaining time is located in a remaining time interval corresponding to the nth part, the one or more second data packets are before any one of the one or more first data packets, and n is a positive integer.

40. A computer program product, characterised in that, The computer program product comprises computer instructions stored in a computer readable storage medium; a processor of a communication device reads the computer instructions from the computer readable storage medium and executes the computer instructions, so that the communication device implements the data volume reporting method in any one of claims 1 to 33.

41. A computer program, characterized in that, The computer program is executed by a processor of a communication device to implement the data volume reporting method in any one of claims 1 to 33.