Communication method, apparatus, terminal and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- VIVO MOBILE COMM CO LTD
- Filing Date
- 2025-01-24
- Publication Date
- 2026-07-24
Smart Images

Figure CN122458089A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communication technology, specifically relating to a communication method, device, terminal, and storage medium. Background Technology
[0002] The 3rd Generation Partnership Project (3GPP) Release 19 (R19) agrees to support configuring multiple remaining delay budget reporting thresholds for a Logical Channel Group (LCG). Each remaining delay budget reporting threshold corresponds to a remaining delay budget range, used to configure the terminal to generate multiple pairs of delay status information for that LCG to generate a Delay Status Report (DSR). Each delay status information pair corresponds to: the sum of the data size of data packet A, and the remaining delay budget of the data packet with the smallest remaining delay budget in data packet A. Data packet A is the data packet to be transmitted in the LCG whose remaining delay budget falls within the remaining delay budget range of any given delay status information pair.
[0003] In related technologies, when generating DSR for an LCG, since one or more data packets to be transmitted included in the LCG may have been delivered to the Radio Link Control (RLC) layer by the terminal's Packet Data Convergence Protocol (PDCP) layer, both the PDCP layer and the RLC layer need to separately count the amount of data corresponding to each delay state information pair when generating the amount of data corresponding to each delay state information pair for an LCG. For example, taking 10 data packets to be transmitted in the LCG, namely data packets 1 to 10, assuming that the remaining delay budget of data packets 1 to 4 is within the remaining delay budget of delay status information pair 1, and data packets 1 and 2 are submitted to the RLC layer by the PDCP layer, then when the terminal's PDCP layer calculates the amount of data corresponding to delay status information pair 1, it needs to calculate the sum of the amounts of data packets 3 and 4. When the terminal's RLC layer calculates the amount of data corresponding to delay status information pair 1, it needs to calculate the sum of the amounts of data packets 1 and 2. Then, the sum of the amounts of data calculated by the PDCP layer and the RLC layer is determined as the amount of data corresponding to delay status information pair 1, thereby generating delay status information.
[0004] However, for data packets already submitted to the RLC layer, since the RLC layer lacks the remaining delay budget for the data packets, it cannot determine the range of the remaining delay budget corresponding to the data packets. Therefore, when calculating the data volume corresponding to a delay status information pair, the RLC layer cannot determine which data packets to be transmitted should be included in the data volume corresponding to that delay status information pair. Therefore, how the terminal generates the delay status information for the LCG when data from the LCG is submitted to the RLC layer by the PDCP layer is a problem that urgently needs to be solved. Summary of the Invention
[0005] This application provides a communication method, apparatus, terminal, and storage medium. When data in an LCG is submitted from the PDCP layer to the RLC layer, the terminal can generate latency status information of the LCG.
[0006] In a first aspect, a communication method is provided, executed by a terminal, the method comprising: the terminal's RLC layer receiving data packets and delay-related information from the terminal's PDCP layer of a first LCG; wherein the delay-related information includes at least one of the following: the remaining delay budget range corresponding to the data packet; the sequence number of the remaining delay budget range corresponding to the data packet; and the sequence number of the delay status information pair corresponding to the data packet; the terminal's RLC layer calculating a first data volume corresponding to the remaining delay budget range based on the delay-related information and the data packet.
[0007] Secondly, a communication method is provided, executed by a terminal, the method comprising: the PDCP layer of the terminal receiving information of a data packet from the RLC layer of the terminal, the data packet being a data packet of the first LCG that is transmitted from the PDCP layer to the RLC layer, the information of the data packet including: the data packet sequence number and the data volume of the data packet; the PDCP layer of the terminal calculating a third data volume based on the information of the data packet, the third data volume being the data volume corresponding to the remaining delay budget range of the data packet.
[0008] Thirdly, a communication device is provided, comprising: a receiving module and a processing module. The receiving module is configured to receive data packets and latency-related information from the PDCP layer of a terminal in a first LCG; wherein the latency-related information includes at least one of the following: the remaining latency budget range corresponding to the data packet; the sequence number of the remaining latency budget range corresponding to the data packet; and the sequence number of the latency status information pair corresponding to the data packet. The processing module is configured to, based on the latency-related information and data packets received by the receiving module, calculate a first data volume corresponding to the remaining latency budget range.
[0009] Fourthly, a communication device is provided, comprising: a receiving module and a processing module; the receiving module is used to receive information of data packets from the RLC layer of a terminal, wherein the data packets are data packets of a first LCG transmitted to the RLC layer by the PDCP layer, and the information of the data packets includes: the data packet sequence number and the data volume of the data packets. The processing module is used to calculate a third data volume based on the information of the data packets received by the receiving module, wherein the third data volume is the data volume corresponding to the remaining delay budget range of the data packets.
[0010] Fifthly, a communication device is provided, the device being configured to perform the steps of the method described in the first aspect, or to implement the steps of the method described in the second aspect.
[0011] In a sixth aspect, a terminal is provided, the terminal including a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method as described in the first aspect.
[0012] In a seventh aspect, a terminal is provided, including a processor and a communication interface, wherein the communication interface is used to receive data packets and latency-related information from the PDCP layer of a first LCG; wherein the latency-related information includes at least one of the following: the remaining latency budget range corresponding to the data packet; the sequence number of the remaining latency budget range corresponding to the data packet; and the sequence number of the latency status information pair corresponding to the data packet; the processor is used to calculate a first data volume corresponding to the remaining latency budget range based on the latency-related information and data packets received by the communication interface.
[0013] Eighthly, a terminal is provided, the terminal including a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method as described in the second aspect.
[0014] Ninthly, a terminal is provided, including a processor and a communication interface, wherein the communication interface is used to receive information about data packets from the RLC layer of the terminal, the data packets being data packets of a first LCG transmitted to the RLC layer by the PDCP layer, and the information about the data packets including: the data packet sequence number and the data volume. The processor is used to calculate a third data volume based on the information about the data packets received by the communication interface, the third data volume being the data volume corresponding to the remaining delay budget range of the data packet.
[0015] In a tenth aspect, a readable storage medium is provided, on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect, or implement the steps of the method described in the second aspect.
[0016] Eleventhly, a chip is provided, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to run a program or instructions to implement the steps of the method described in the first aspect, or to implement the steps of the method described in the second aspect.
[0017] In a twelfth aspect, a computer program / program product is provided, which is stored in a storage medium and is executed by at least one processor to implement the steps of the method as described in the first aspect, or to implement the steps of the method as described in the second aspect.
[0018] In this embodiment of the application, the RLC layer of the terminal receives data packets and latency-related information from the PDCP layer of the terminal in the first LCG; wherein, the latency-related information includes at least one of the following: the remaining latency budget range corresponding to the data packet; the sequence number of the remaining latency budget range corresponding to the data packet; the sequence number of the latency status information pair corresponding to the data packet; the RLC layer of the terminal calculates the first data volume corresponding to the remaining latency budget range based on the latency-related information and the data packet. In this scheme, since the terminal's RLC layer can receive the data packets of the first LCG transmitted by the terminal's PDCP layer, as well as at least one of the following: the remaining delay budget range corresponding to the received data packet, the sequence number of the remaining delay budget range corresponding to the data packet, and the sequence number of the delay status information pair corresponding to the data packet, i.e., the aforementioned delay-related information, when the terminal's RLC layer calculates the first data volume corresponding to the aforementioned remaining delay budget range, it can determine whether the data volume of the received data packet should be included in the first data volume based on the aforementioned delay-related information. This allows the terminal to generate the delay status information corresponding to the remaining delay budget range, i.e., the delay status information of the first LCG, based on the first data volume calculated by the RLC layer and the data volume corresponding to the remaining delay budget range calculated by the PDCP layer. Attached Figure Description
[0019] Figure 1 This is a schematic diagram of the architecture of a wireless communication system provided in an embodiment of this application;
[0020] Figure 2 This is a schematic diagram illustrating an example of a DSR format provided in an embodiment of this application;
[0021] Figure 3 This is one of the flowcharts illustrating a communication method provided in an embodiment of this application;
[0022] Figure 4 This is a schematic diagram illustrating an example of a data packet for an LCH provided in an embodiment of this application;
[0023] Figure 5 This is a second schematic flowchart of a communication method provided in an embodiment of this application;
[0024] Figure 6 This is one of the structural schematic diagrams of a communication device provided in the embodiments of this application;
[0025] Figure 7 This is a second schematic diagram of the structure of a communication device provided in the embodiments of this application;
[0026] Figure 8 This is a schematic diagram of the hardware structure of a communication device provided in an embodiment of this application;
[0027] Figure 9 This is a schematic diagram of the hardware structure of a terminal provided in an embodiment of this application. Detailed Implementation
[0028] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0029] The terms "first," "second," etc., used in this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same class, not limited in number; for example, the first object can be one or more. Furthermore, "or" in this application indicates at least one of the connected objects. For example, the scope of protection for "A or B" covers at least three scenarios: Scenario 1: including A but not B; Scenario 2: including B but not A; Scenario 3: including both A and B. In addition, the terms "A and / or B," "at least one of A and B," and "at least one of A or B" also cover at least the above three scenarios. The character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0030] The term "instruction" in this application can be either a direct instruction (or explicit instruction) or an indirect instruction (or implicit instruction). A direct instruction can be understood as the sender explicitly informing the receiver of specific information, the required operation, or the requested result in the instruction sent. An indirect instruction can be understood as the receiver determining the corresponding information based on the instruction sent by the sender, or making a judgment and determining the required operation or requested result based on the judgment result.
[0031] It is worth noting that the technologies described in this application are not limited to Long Term Evolution (LTE) / LTE-Advanced (LTE-A) systems, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA), or other systems. The terms "system" and "network" in this application are often used interchangeably, and the described technologies can be used with the systems and radio technologies mentioned above, as well as with other systems and radio technologies. The following description describes New Radio (NR) systems for illustrative purposes, and the term NR is used in most of the following description; however, these technologies can also be applied to systems other than NR systems, such as 6th generation (6G) radio systems. th Generation 6G communication system.
[0032] Figure 1This diagram illustrates a block diagram of a wireless communication system applicable to embodiments of this application. The wireless communication system includes a terminal 11 and a network-side device 12. The terminal 11 can also be referred to as User Equipment (UE), and can be a mobile phone, tablet computer, laptop computer, notebook computer, personal digital assistant (PDA), handheld computer, netbook, ultra-mobile personal computer (UMPC), mobile internet device (MID), augmented reality (AR), virtual reality (VR) device, robot, wearable device, flight vehicle, vehicle user equipment (VUE), shipboard equipment, pedestrian user equipment (PUE), smart home devices (home appliances with wireless communication capabilities, such as refrigerators, televisions, washing machines, or furniture), game consoles, personal computers (PCs), ATMs, or self-service machines, etc. Wearable devices include: smartwatches, smart bracelets, smart earphones, smart glasses, smart jewelry (smart bracelets, smart chains, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. Among these, in-vehicle devices can also be referred to as in-vehicle terminals, in-vehicle controllers, in-vehicle modules, in-vehicle components, in-vehicle chips, or in-vehicle units, etc. It should be noted that the specific type of terminal 11 is not limited in this application embodiment. Network-side equipment 12 may include access network equipment or core network equipment, wherein access network equipment may also be referred to as Radio Access Network (RAN) equipment, radio access network function, or radio access network unit. Access network equipment may include base stations, Wireless Local Area Network (WLAN) access points (APs), or Wireless Fidelity (WiFi) nodes, etc.Among them, base stations can be referred to as Node B (NB), Evolved Node B (eNB), Next Generation Node B (gNB), New Radio Node B (NR Node B), Access Point, Relay Base Station (RBS), Serving Base Station (SBS), Base Transceiver Station (BTS), Radio Base Station, Radio Transceiver, Basic Service Set (BSS), Extended Service Set (ESS), Home Node B (HNB), Home Evolved Node B, Transmit / Receive Point (TRP), Non-Terrestrial Network (NTN) equipment (such as satellite or high altitude platform stations). The term "base station" can be any suitable term in the field, such as "station" or any other appropriate term in the relevant field, as long as the same technical effect is achieved. The term "base station" is not limited to specific technical terms. It should be noted that the embodiments of this application only use the base station in the NR system as an example for introduction, and do not limit the specific type of base station.
[0033] Core network equipment, also known as core network nodes, core network functions, or core network elements, includes, but is not limited to, at least one of the following: Mobility Management Entity (MME), Access and Mobility Management Function (AMF), Session Management Function (SMF), User Plane Function (UPF), Policy Control Function (PCF), Policy and Charging Rules Function (PCRF), Edge Application Server Discovery Function (EASDF), Unified Data Management (UDM), Unified Data Repository (UDR), Home Subscriber Server (HSS), Centralized network configuration (CNC), Network Repository Function (NRF), Network Exposure Function (NEF), Local NEF (L-NEF), and Binding Support. Functions include BSF, Application Function (AF), Location Management Function (LMF), Gateway Mobile Location Centre (GMLC), Network Data Analytics Function (NWDAF), and Non-Terrestrial Network (NTN) equipment (such as satellite or high altitude platform station).It should be noted that the embodiments of this application only use the core network equipment in the NR system as an example for introduction, and do not limit the specific type of core network equipment. If the name of the core network equipment mentioned in the embodiments of this application changes in subsequent protocol versions (e.g., 6G), it is also within the scope of protection of this application.
[0034] Optionally, the core network equipment can be implemented by one or more functional modules in a single device, or by multiple devices working together; this application does not specifically limit this. It is understood that the aforementioned functional modules can be network elements in hardware devices, software functional modules running on dedicated hardware, or virtualized functional modules instantiated on a platform (e.g., a cloud platform).
[0035] To facilitate understanding of the solution in this application, the relevant technologies involved in this application will be explained below.
[0036] 1. XR services
[0037] Extended Reality (XR) services include AR (Augmented Reality) services, VR (Virtual Reality) services, and Mixed Reality (MR) services. Currently, popular XR services use H.264 encoding technology to compress image data, achieving the goals of saving bandwidth and ensuring image quality. Existing H.264 technology encodes image data into three types of image frames:
[0038] (1) An I-frame (Intra-coded picture) is a complete image frame that can generate and render images without relying on other frames;
[0039] (2) P-frame (Predicted picture) only contains image change information relative to the previous frame. The receiver needs to combine the previous frames to generate the current frame and complete the display on the receiving terminal.
[0040] (3) B-frame (Bidirectional predicted picture), used to indicate the changes in the current frame relative to the preceding and following frames. The receiver needs to combine the preceding and following frames to generate the current frame.
[0041] The preceding and following frames refer to the order based on the frame presentation time or the image acquisition time at the source. The actual sending and receiving times may be adjusted according to the image decoding time of the receiver. For example, the sender can send frames in the order of the receiver's image frame decoding time.
[0042] Different frame types correspond to different frame encoding methods, resulting in varying degrees of image compression. I-frames have the lowest compression level (i.e., the largest frame data size), P-frames have the moderate compression level (i.e., the moderate frame data size), and B-frames have the highest compression level (i.e., the smallest frame data size).
[0043] There are two transmission methods for XR images: transmission based on frame slice combination and transmission based on group of pitctures (GoP).
[0044] (1) Transmission method based on frame slice combination: a data frame is cut into multiple data blocks, and then the slices of multiple image frames are distributed and combined into multiple data blocks for transmission, so as to achieve the purpose of smoothing the traffic of an XR service data stream. This method greatly reduces the traffic fluctuation caused by the difference in I / P / B frame data volume, but the cross transmission between image frames significantly increases the transmission delay of image frames.
[0045] (2) Frame Set-Based Transmission: Based on the periodicity of the video stream, video frames are divided into video frame sets according to the period of the I-frame. An I-frame and all P-frames and B-frames preceding the next I-frame constitute a frame set. Image frames are transmitted and played at the receiver according to the frame period, and the time interval between the arrival times of adjacent image frames is one frame period. The frame set-based transmission method avoids the mixed transmission of image frames, ensuring timely transmission of generated image frames. Due to the different compression levels among I, P, and B frames, the frame data rate fluctuates.
[0046] 2. Protocol Data Unit (PDU) group for XR services
[0047] Currently, in 3GPP discussions, XR service data is modeled as a PDU set. A PDU set includes a group of PDUs, allowing for Quality of Service (QoS) management based on PDU sets during data transmission in the wireless network. Depending on the different video data transmission methods described above, one PDU set can correspond to one image frame, such as a complete P-frame or B-frame, or an XR service data slice. Another image frame can contain several PDU sets. For example, when image frames are transmitted according to the left and right eye lines of sight, the left-eye image data of one image frame corresponds to one PDU set, and the right-eye image data corresponds to another PDU set. Furthermore, when images are transmitted along the visual axis and non-visual axis directions, the visual axis image data corresponds to one PDU set, and the non-visual axis image data corresponds to another PDU set. The above are merely illustrative examples of PDU set modeling; other forms of PDU set modeling may exist and do not constitute a limitation on the implementation of this patent.
[0048] 3. Transmission of XR services in NR networks
[0049] According to the current 3GPP protocol, when an uplink XR data packet from a UE arrives in the PDCP layer buffer from the application layer, a PDCP discard timer is started with the initial value pre-configured by the base station. During the operation of the PDCP discard timer, the base station can schedule the UE to transmit the data packet to the base station. If the corresponding PDCP discard timer expires and the data is still not successfully transmitted, the data packet is discarded.
[0050] 4. Packet Delay Budget (PDB)
[0051] Different services have different QoS management requirements. In 3GPP networks, QoS parameters include service data rate requirements, service data transmission latency requirements, and service data transmission reliability requirements (e.g., packet loss rate). The network can set different QoS parameters based on the user experience goals of different services.
[0052] For latency-sensitive services, end-to-end latency requirements are generally quite stringent. Based on these end-to-end latency requirements, the latency budget for each segment of the data transmission path is determined. When latency-sensitive service data is transmitted over the 3GPP air interface, the network determines the corresponding air interface latency budget and schedules resources to ensure that data transmission is completed within the given latency budget.
[0053] According to the current protocol, the PDB window of a data packet or the delay budget (PSDB) window of a data packet set can be understood as the runtime window of the corresponding PDCP discardTimer, that is, the time window between the start of the PDCP discardTimer and the timeout of the PDCP discardTimer. If the PDCP discardTimer times out and the corresponding data packet has not been successfully transmitted, the PDCP entity will discard the PDCP PDU or the corresponding RLCPDU that has not been successfully transmitted.
[0054] When transmitting XR image data, the network can be configured to transmit data based on PDU sets. In this case, the network can configure the air interface transmission delay budget for each PDU set. The data packets contained in a PDU set correspond to a transmission window determined according to the PSDB. Based on the current conclusions, the network can configure the UE's corresponding PDCP discardTimer according to the PSDB to determine the transmission window of the PDU set or the data packets belonging to the PDU set.
[0055] 5. Latency status reporting and emergency uplink latency data
[0056] In Release 18 (3GPP TS 38.321v18.0, 3GPP TS 38.331v18.0), the protocol supports reporting latency status by LCG. When the remaining latency budget of the data with the smallest remaining latency budget in an LCG falls below a pre-configured threshold (remainingTimeThreshold), a latency status report for that LCG can be triggered. Data in an LCG with a remaining latency budget below this threshold is called latency-critical data. In an LCG's latency status report, the UE indicates the remaining latency budget of the data with the smallest remaining latency budget in an LCG and the amount of buffered data whose remaining latency budget is below the preset threshold. In the Release 18 standard, when an LCG triggers latency status information reporting, it only reports a pair of remaining latency budget values and the corresponding amount of latency-critical data.
[0057] In the PDCP protocol, the PDCP entity corresponding to a Logical Channel (LCH) determines the remaining delay budget of a data packet based on the residual time of the packet's discardTimer.
[0058] Figure 2The DSR format defined for R18 can be found in protocol 38.321v18.1.0. LCGi indicates whether the delay state information of LCG i is included in the DSR, where i∈[0,7]. The delay state information of an LCG includes:
[0059] (1)BT indicates whether the Buffer Status Report (BSR) table uses the table defined in the protocol prior to R18 or the new BSR table defined in R18;
[0060] (2) Remaining Time Budget;
[0061] (3) The amount of data corresponding to the time-delay emergency data.
[0062] Furthermore, according to the existing PDCP protocol, when the discardTimer residual value of a PDCP Service Data Unit (SDU) is lower than the remainingTimeThreshold, and the corresponding RLC PDU has not been submitted to the Medium Access Control (MAC) layer's MAC PDU for transmission, the PDCP SDU can be identified as urgent delay data. If the PDCP SDU has already been submitted to the RLC layer, the PDCP layer sends a delay urgency indication to the RLC layer. The RLC layer will include data packets with corresponding delay urgency indications that have not been submitted to the MAC PDU for transmission in the amount of urgent delay data. In addition, for PDCP status PDUs, RLC status PDUs, and RLC PDUs waiting for retransmission in RLC Acknowledged Mode (AM), as well as RLC PDUs whose discardTimer has expired but which the UE has not discarded to maintain the continuity of the RLC PDU sequence number, these will also be included in the amount of urgent delay data by the RLC layer. For an LCG, the sum of the latency urgent data calculated by the corresponding PDCP layer and the latency urgent data calculated by the corresponding RLC layer is the latency urgent data amount of that LCG.
[0063] In the discussions of R19, it has been agreed to support configuring multiple remaining latency budget reporting thresholds for an LCG, corresponding to multiple remaining latency budget ranges. This is used to configure the UE to generate multiple pairs of latency status information reports for that LCG, containing "remaining latency budget and corresponding data volume". As an example, when the base station configures N remaining latency budget reporting thresholds (RRTT) for the UE's LCG 1, in ascending order: RRTT1, RRTT2, ..., RRTTN, it can report a maximum of N pairs of latency status information for LCG1, containing "remaining latency budget and corresponding data volume". The first latency status information corresponds to the remaining latency budget and the data volume of the data packet with the smallest remaining latency budget among the data whose remaining latency budget is less than RRTT1; the nth (n>1) latency status information corresponds to the remaining latency budget and the data volume of the data packet with the smallest remaining latency budget among the data packets whose remaining latency budget is in the range [RRTTn-1, RRTTn). The protocol can also stipulate that when the base station configures N RRTTs for the UE's LCG 1, in ascending order: RRTT1, RRTT2, ..., RRTTN, the UE can generate a delay status report for the UE including up to N+1 delay status information pairs. The remaining delay budget range corresponding to the first delay status information pair is the same as the remaining delay budget range corresponding to the nth (n<=N) delay status information pair. The remaining delay budget range of the N+1th delay status information pair is [RRTTN, +∞).
[0064] The communication method provided in this application will be described in detail below with reference to the accompanying drawings and through some embodiments and application scenarios.
[0065] In this embodiment, since the RLC layer of the terminal can receive the data packet of the first LCG transmitted by the PDCP layer of the terminal, and receive at least one of the following: the remaining delay budget range corresponding to the data packet, the sequence number of the remaining delay budget range corresponding to the data packet, and the sequence number of the delay status information pair corresponding to the data packet, i.e. the aforementioned delay-related information, when the RLC layer of the terminal calculates the first data volume corresponding to the remaining delay budget range, it can determine whether the data volume of the received data packet should be included in the first data volume based on the aforementioned delay-related information. This allows the terminal to generate the delay status information corresponding to the remaining delay budget range, i.e., the delay status information of the first LCG, based on the first data volume calculated by the RLC layer and the data volume corresponding to the remaining delay budget range calculated by the PDCP layer.
[0066] Figure 3 A flowchart illustrating the communication method provided in the embodiments of this application is shown below. Figure 3As shown, the communication method may include the following steps 201 and 202.
[0067] Step 201: The RLC layer of the terminal receives data packets and latency-related information from the PDCP layer of the first LCG.
[0068] In some embodiments of this application, the above-mentioned data packet can be understood as: the data packet of the first LCG being passed from the PDCP layer to the RLC layer.
[0069] In some embodiments of this application, the aforementioned latency-related information refers to latency-related information corresponding to data packets.
[0070] It is understandable that when the data packet of the first LCG is passed from the PDCP layer to the RLC layer, the terminal's PDCP layer can also send the latency-related information corresponding to the data packet to the terminal's RLC layer.
[0071] In the embodiments of this application, the aforementioned latency-related information includes at least one of the following:
[0072] The remaining latency budget range corresponding to the data packet;
[0073] The sequence number of the remaining delay budget range corresponding to the data packet;
[0074] The sequence number of the delay status information pair corresponding to the data packet.
[0075] Step 202: The terminal's RLC layer calculates the first data volume corresponding to the remaining latency budget range based on latency-related information and data packets.
[0076] In some embodiments of this application, the first data volume corresponding to the remaining latency budget range of the terminal statistics can be understood as: the data volume of all data packets whose remaining latency budget of the first LCG is within the aforementioned remaining latency budget range.
[0077] In some embodiments of this application, the first data volume corresponding to the remaining latency budget range of the terminal statistics can be understood as: the first data volume corresponding to the latency status information pair corresponding to the remaining latency budget range of the terminal statistics.
[0078] In some embodiments of this application, the remaining latency budget range corresponding to the data packet can be understood as: the remaining latency budget range in which the remaining latency budget of the data packet is located.
[0079] In some embodiments of this application, when a data packet is passed from the PDCP layer to the RLC layer, the PDCP layer of the terminal can determine the remaining delay budget range corresponding to the data packet based on the remaining delay budget of the data packet, and then send the remaining delay budget range corresponding to the data packet to the RLC layer.
[0080] In some embodiments of this application, when the aforementioned latency-related information includes the latency budget range corresponding to the data packet, after the terminal's RLC layer receives the latency-related information, when calculating the first data volume corresponding to the aforementioned latency budget range, it can determine whether the data volume of the data packet should be included in the first data volume based on the latency-related information.
[0081] In some examples, when calculating the first data volume corresponding to the aforementioned latency budget range, if the latency budget range is the same as the remaining latency budget range corresponding to the data packet, the terminal's RLC layer can include the data volume of the data packet in the first data volume.
[0082] It is understandable that when the terminal's RLC layer is calculating the amount of data corresponding to any latency budget range, it can include the amount of data of all data packets of the first LCG cached in the RLC layer corresponding to any latency budget range in the amount of data corresponding to any latency budget range.
[0083] In some embodiments of this application, the sequence number of the remaining delay budget range corresponding to the data packet can be understood as: the sequence number of the remaining delay budget range in which the remaining delay budget of the data packet is located.
[0084] In some embodiments of this application, when a data packet is passed from the PDCP layer to the RLC layer, the PDCP layer of the terminal can determine the remaining delay budget range corresponding to the data packet based on the remaining delay budget of the data packet, and then send the sequence number of the remaining delay budget range corresponding to the data packet to the RLC layer.
[0085] In some embodiments of this application, when the aforementioned latency-related information includes the sequence number of the latency budget range corresponding to the data packet, after the terminal's RLC layer receives the latency-related information, when calculating the first data volume corresponding to the aforementioned latency budget range, it can determine whether the data volume of the data packet should be included in the first data volume based on the sequence number of the latency budget range corresponding to the data packet.
[0086] In some examples, when calculating the first data volume corresponding to the aforementioned latency budget range, if the sequence number of the latency budget range is the same as the sequence number of the latency budget range corresponding to the data packet, the terminal's RLC layer can include the data volume of the data packet in the first data volume.
[0087] It is understandable that when the terminal's RLC layer is calculating the amount of data corresponding to any latency budget range, it can include the amount of data of at least one data packet A of the first LCG cached in the RLC layer into the amount of data corresponding to any latency budget range, and the sequence number of the remaining latency budget range corresponding to at least one data packet A is the same as the sequence number of any latency budget range.
[0088] In some embodiments of this application, the sequence number of the remaining delay budget range corresponding to the data packet may include any of the following:
[0089] The sequence number of the delay status information pair corresponding to the remaining delay budget range of the data packet;
[0090] The sequence number of the delay status information pair corresponding to the data packet.
[0091] In some embodiments of this application, the sequence number of the delay status information pair corresponding to the above data packet can be understood as: the sequence number of the delay status information pair corresponding to the remaining delay budget range in which the remaining delay budget of the data packet is located.
[0092] In some embodiments of this application, the remaining delay budget range corresponds one-to-one with the delay status information.
[0093] In some embodiments of this application, the correspondence between the remaining delay budget range and the delay state information pairs can be found in the following description:
[0094] When the first LCG is configured with N remaining latency budget reporting thresholds, the N remaining latency budget reporting thresholds can correspond to N remaining latency budget ranges or N+1 remaining latency budget ranges. For each remaining latency budget range, the terminal can report a pair of latency status information, where N is a positive integer.
[0095] Among them, any delay status information pair may include: the data volume of all data packets corresponding to the remaining delay budget range of the first LCG corresponding to any delay status information pair, and the remaining delay budget value of the data packet with the smallest remaining delay budget among all data packets;
[0096] For example: when two remaining latency budget reporting thresholds are configured in the first LCG, and the two remaining latency budget reporting thresholds are 5 and 8 respectively, the two remaining latency budget reporting thresholds can correspond to two remaining latency budget ranges, and the two remaining latency budget ranges are (0, 5) and [5, 8) respectively, then the terminal can report two pairs of latency status information; or, the two remaining latency budget reporting thresholds can correspond to three remaining latency budget ranges, and the three remaining latency budget ranges are (0, 5), [5, 8), and [8, ∞) respectively, then the terminal can report three pairs of latency status information. Taking the first LCG as an example, which is configured with two remaining latency budget reporting thresholds: 5 and 8, and the two remaining latency budget reporting thresholds correspond to three remaining latency budget ranges, the terminal needs to report three pairs of latency status information. The three pairs of latency status information are: latency status information pair 1, latency status information pair 2, and latency status information pair 3. Latency status information pair 1 corresponds to the remaining latency budget range (0, 5), latency status information pair 2 corresponds to the remaining latency budget range [5, 8), and latency status information pair 3 corresponds to the remaining latency budget range [8, ∞). Taking latency status information pair 1 as an example, latency status information pair 1 can include: the data volume of all data packets of the first LCG corresponding to the remaining latency budget range (0, 5) of latency status information pair 1, and the remaining latency budget value of the data packet with the smallest remaining latency budget among all data packets.
[0097] In some embodiments of this application, when a data packet is transmitted from the PDCP layer to the RLC layer, the PDCP layer of the terminal can obtain the latency status information pair corresponding to the remaining latency budget range of the data packet, and then send the sequence number of the latency status information pair to the RLC layer.
[0098] In some embodiments of this application, the first data volume corresponding to the remaining latency budget range mentioned above can also be understood as: the first data volume corresponding to the latency status information pair corresponding to the remaining latency budget range, that is, the terminal directly counts the corresponding data volume according to the sequence number of the latency status information pair.
[0099] In some embodiments of this application, when the aforementioned latency-related information includes the sequence number of a latency status information pair, after the terminal's RLC layer receives the latency-related information, when calculating the first data volume corresponding to the aforementioned latency budget range, it can determine whether the data volume of the data packet should be included in the first data volume based on the sequence number of the latency status information pair corresponding to the latency budget range and the sequence number of the latency status information pair included in the latency-related information.
[0100] In some examples, when the sequence number of the delay state information pair included in the delay-related information is the same as the sequence number of the delay state information pair corresponding to the delay budget range, the terminal's RLC layer can include the data volume of the data packet in the first data volume.
[0101] It can be understood that when the terminal's RLC layer counts the amount of data corresponding to any latency budget range, it counts the corresponding amount of data according to the sequence number of the latency state information pair corresponding to any latency budget range. That is, the amount of data of at least one data packet B of the first LCG cached in the RLC layer is included in the amount of data corresponding to any latency budget range. The sequence number of the latency state information pair corresponding to at least one data packet B is the same as the sequence number of the latency state information pair corresponding to any latency budget range, or the sequence number of the latency state information pair corresponding to the remaining latency budget range of at least one data packet B is the same as the sequence number of the latency state information pair corresponding to any latency budget range.
[0102] This application provides a communication method. Since the RLC layer of the terminal can receive the data packet of the first LCG transmitted by the PDCP layer of the terminal, and at least one of the following: the remaining delay budget range corresponding to the received data packet, the sequence number of the remaining delay budget range corresponding to the data packet, and the sequence number of the delay status information pair corresponding to the data packet, i.e., the aforementioned delay-related information, when the RLC layer of the terminal calculates the first data volume corresponding to the remaining delay budget range, it can determine whether the data volume of the received data packet should be included in the first data volume based on the aforementioned delay-related information. This allows the terminal to generate the delay status information corresponding to the remaining delay budget range, i.e., the delay status information of the first LCG, based on the first data volume calculated by the RLC layer and the data volume corresponding to the remaining delay budget range calculated by the PDCP layer.
[0103] In some embodiments of this application, the communication method provided in the embodiments of this application may further include the following step 301.
[0104] It should be noted that the terminal may execute step 301 before executing step 201.
[0105] Step 301: The PDCP layer of the terminal sends latency-related information to the RLC layer of the terminal.
[0106] In some embodiments of this application, the terminal's PDCP layer can simultaneously send data packets and latency-related information to the terminal's RLC layer; or, after sending data packets to the terminal's RLC layer, it can then send latency-related information to the terminal's RLC layer. The specific method can be determined based on actual usage requirements, and this application does not limit this.
[0107] In some embodiments of this application, step 301 described above can be implemented by step 301a as follows.
[0108] Step 301a: If the remaining delay budget of the data packet is within the remaining delay budget range, the PDCP layer of the terminal sends delay-related information to the RLC layer of the terminal.
[0109] Example 1: Suppose the network-side device configures two remaining latency budget reporting thresholds for the first LCG. If the two remaining latency budget reporting thresholds are 5 and 8 respectively from low to high, then the terminal can report three pairs of latency status information for the first LCG. The first latency status information pair 1 corresponds to the remaining latency budget range (0, 5), the second latency status information pair 2 corresponds to the remaining latency budget range [5, 8), and the third latency status information pair 3 corresponds to the remaining latency budget range [8, ∞).
[0110] If the remaining delay budget of the data packet of the first LCG is within the remaining delay budget range [5, 8), the PDCP layer of the terminal can send the remaining delay budget range [5, 8) corresponding to the data packet and / or the delay status information pair 2 corresponding to the remaining delay budget range of the data packet to the RLC layer of the terminal, with the sequence number "2".
[0111] In some embodiments of this application, the communication method provided in the embodiments of this application may further include the following step 401.
[0112] It should be noted that the terminal can execute step 401 below after executing step 301.
[0113] Step 401: When the remaining delay budget range corresponding to the data packet changes, the PDCP layer of the terminal sends the third delay-related information to the RLC layer of the terminal.
[0114] In the embodiments of this application, the aforementioned third delay-related information includes at least one of the following:
[0115] The revised remaining latency budget range corresponding to the data packet;
[0116] The sequence number of the changed remaining delay budget range corresponding to the data packet;
[0117] The sequence number of the delay status information pair corresponding to the changed remaining delay budget range of the data packet.
[0118] It is understandable that as time goes by, the remaining latency budget of a data packet will change, which will cause the range of the remaining latency budget corresponding to the data packet to change. When the range of the remaining latency budget corresponding to the data packet changes, the PDCP layer of the terminal can send the relevant information about the changed latency of the data packet to the RLC layer of the terminal.
[0119] It should be noted that for the detailed steps regarding the third delay-related information mentioned above, please refer to the description of the delay-related information corresponding to the data packets in the above embodiments, which will not be repeated here.
[0120] In some embodiments of this application, step 301 described above can be implemented by step 301b described below.
[0121] Step 301b: If the remaining delay budget of the data packet with the smallest remaining delay budget in the first LCG is less than or equal to the first preset threshold, the PDCP layer of the terminal sends delay-related information to the RLC layer of the terminal.
[0122] In the embodiments of this application, the first preset threshold value is the remaining latency budget threshold used to trigger the latency status information reporting of the first LCG.
[0123] In some embodiments of this application, triggering the delay status information report of the first LCG can be understood as triggering the DSR report of the first LCG.
[0124] It is understandable that as time goes by, the remaining latency budget of data packets will change continuously, causing the range of the remaining latency budget corresponding to the data packets to also change continuously. In order to avoid frequently sending the changed latency-related information of data packets from the PDCP layer to the RLC layer, the terminal's PDCP layer can send the latency-related information of data packets to the terminal's RLC layer only after triggering DSR reporting.
[0125] In some embodiments of this application, the PDCP layer of the terminal can send the latency-related information of the data packet to the RLC layer of the terminal when the MAC layer of the terminal generates the DSR of the first LCG.
[0126] Thus, since the terminal's PDCP layer only sends the latency-related information of the data packet to the terminal's RLC layer after triggering the DSR report, it can avoid the terminal's PDCP layer frequently sending the changed latency-related information of the data packet to the RLC layer when the remaining latency budget range corresponding to the data packet keeps changing, thereby saving the terminal's power consumption.
[0127] In some embodiments of this application, after the terminal's RLC layer generates the DSR of the first LCG based on the changed latency-related information corresponding to the data packet, the latency-related information corresponding to the data packet previously received by the terminal's RLC layer becomes invalid.
[0128] In some embodiments of this application, the data packet includes a first data packet and a second data packet, and the latency-related information includes a first latency-related information and a second latency-related information, wherein the first latency-related information corresponds to the first data packet and the second latency-related information corresponds to the second data packet.
[0129] In some embodiments of this application, the aforementioned first delay-related information includes at least one of the following:
[0130] The first remaining delay budget range corresponding to the first data packet;
[0131] The sequence number of the first remaining delay budget range corresponding to the first data packet;
[0132] The sequence number of the delay status information pair corresponding to the first data packet;
[0133] In some embodiments of this application, the aforementioned second delay-related information includes at least one of the following:
[0134] The second remaining delay budget range corresponding to the second data packet;
[0135] The sequence number of the second remaining delay budget range corresponding to the second data packet;
[0136] The sequence number of the delay status information pair corresponding to the second data packet.
[0137] It should be noted that for the detailed steps regarding the first and second delay-related information, please refer to the description of the delay-related information corresponding to the data packets in the above embodiments, which will not be repeated here.
[0138] In some embodiments of this application, the first data volume includes: the data volume corresponding to the first remaining latency budget range and the data volume corresponding to the second remaining latency budget range; the above step 202 can be specifically implemented by the following step 202a.
[0139] Step 202a: The terminal's RLC layer calculates the amount of data corresponding to the first remaining latency budget range based on the first latency-related information and the first data packet, and calculates the amount of data corresponding to the second remaining latency budget range based on the second latency-related information and the second data packet.
[0140] In some embodiments of this application, the first data packet and the second data packet are data packets of the first LCH of the first LCG, and the transmission position of the second data packet on the first LCH is located before the transmission position of the first data packet on the first LCH; the "the RLC layer of the terminal calculates the amount of data corresponding to the first remaining delay budget range based on the first delay-related information and the first data packet" in step 202a above can be specifically implemented by step 202b below.
[0141] Step 202b: If the second data packet satisfies the first condition, the terminal's RLC layer includes the data volume of the second data packet in the data volume corresponding to the first remaining delay budget range.
[0142] In the embodiments of this application, the first condition mentioned above includes at least one of the following:
[0143] The second data packet does not contain corresponding latency-related information from the PDCP layer;
[0144] The terminal's RLC layer did not receive the second delay-related information corresponding to the second data packet from the terminal's PDCP layer;
[0145] The terminal's RLC layer receives second latency-related information from the terminal's PDCP layer. The second latency-related information includes the fact that the lower limit of the second remaining latency budget range corresponding to the second data packet is greater than the upper limit of the first remaining latency budget range corresponding to the first data packet.
[0146] The terminal's RLC layer receives the second delay-related information from the terminal's PDCP layer. The second delay-related information includes the sequence number of the second remaining delay budget range corresponding to the second data packet being greater than the sequence number of the first remaining delay budget range corresponding to the first data packet.
[0147] The RLC layer of the terminal receives the second delay-related information from the PDCP layer of the terminal. The second delay-related information includes a delay status information pair corresponding to the second data packet whose sequence number is greater than the delay status information pair corresponding to the first data packet.
[0148] In some embodiments of this application, the absence of corresponding delay-related information from the PDCP layer in the second data packet can be divided into two cases: Case 1: The RLC layer of the terminal does not receive the second delay-related information corresponding to the second data packet from the PDCP layer of the terminal; Case 2: The data packet type of the second data packet is any of the following: RLC control PDU, RLC status PDU, retransmission RLC PDU in RLCAM mode, PDCP control PDU, PDCP status PDU.
[0149] It is understandable that if the second data packet does not have corresponding delay-related information from the PDCP layer, and the transmission position of the second data packet on the first LCH is before the transmission position of the first data packet on the first LCH, the terminal's RLC layer can include the data volume of both the first data packet and the data volume of the second data packet in the data volume corresponding to the first remaining delay budget range.
[0150] It is understandable that network-side devices allocate resources based on the data volume corresponding to the first remaining latency budget range reported by the terminal. When the terminal's RLC layer does not include the data volume of the second data packet in the data volume corresponding to the first remaining latency budget range, the resources allocated by the network-side devices will also decrease accordingly. Furthermore, since the transmission position of the second data packet on the first LCH precedes that of the first data packet, the second data packet will be allocated resources before the first data packet. Therefore, it is possible that after the second data packet is transmitted, the resources allocated by the network-side devices are insufficient, preventing the timely transmission of the first data packet. The solution in this application includes the data volumes of both the first and second data packets in the data volume corresponding to the first remaining latency budget range, allowing the network-side devices to allocate sufficient resources for transmitting the data packets corresponding to the first remaining latency budget range. This means transmitting the data packets corresponding to the latency status information pairs within the first remaining latency budget range, preventing data packets from being dropped due to delayed transmission.
[0151] In some embodiments of this application, when the lower limit of the remaining delay budget range corresponding to the second data packet is greater than the upper limit of the first remaining delay budget range corresponding to the first data packet, and the transmission position of the second data packet on the first LCH is before the transmission position of the first data packet on the first LCH, the RLC layer of the terminal can include the data volume of the first data packet and the data volume of the second data packet in the data volume corresponding to the first remaining delay budget range.
[0152] Example 2, combined with Example 1, such as Figure 4 As shown, assuming the data packets of the first LCH included in the first LCG, which are transmitted from the terminal's PDCP layer to the terminal's RLC layer, are data packets 1 to 11, the remaining delay budget for data packet 1 is 0ms, the remaining delay budget for data packet 2 is 1ms, the remaining delay budget for data packet 3 is 2ms, the remaining delay budget for data packet 4 is 4ms, the remaining delay budget for data packet 5 is 6ms, the remaining delay budget for data packet 6 is 9ms, the remaining delay budget for data packet 7 is 9ms, and the remaining delay budget for data packet 8 is 7ms, data... The remaining delay budget for packet 9 is 9ms, the remaining delay budget for packet 10 is 12ms, and the remaining delay budget for packet 11 is 11ms. The remaining delay budgets for packets 1 to 4 are within the remaining delay budget range (0,5) of delay status information pair 1. The remaining delay budgets for packets 5, 6, and 8 are within the remaining delay budget range [5,8) of delay status information pair 2. The remaining delay budgets for packets 7 and packets 9 to 11 are within the remaining delay budget range [8,∞) of delay status information pair 3.
[0153] When the second delay-related information includes the remaining delay budget range (i.e., the second remaining delay budget range mentioned above) corresponding to data packet 7 (i.e., the second data packet mentioned above) being [8,∞), and the terminal's RLC layer determining, based on the remaining delay budget range [8,∞) corresponding to data packet 7, that the lower limit of the remaining delay budget range [8,∞) corresponding to data packet 7 is greater than the upper limit of the remaining delay budget range [5,8) corresponding to data packet 8 (i.e., the first data packet mentioned above) [5,8), and the transmission position of data packet 7 on the first LCH is before the transmission position of data packet 8 on the first LCH, the terminal's RLC layer can include both the data volume of data packet 7 and the data volume of data packet 8 in the data volume corresponding to the remaining delay budget range [5,8) when calculating the data volume corresponding to the remaining delay budget range [5,8).
[0154] In some embodiments of this application, when the RLC layer of the terminal receives second delay-related information from the PDCP layer of the terminal, and the sequence number of the second remaining delay budget range corresponding to the second data packet included in the second delay-related information is greater than the sequence number of the first remaining delay budget range corresponding to the first data packet, and the transmission position of the second data packet on the first LCH is before the transmission position of the first data packet on the first LCH, the RLC layer of the terminal can include the data volume of the first data packet and the data volume of the second data packet in the data volume corresponding to the first remaining delay budget range.
[0155] Example 3, combined with Example 2, such as Figure 4 As shown, when the second delay-related information includes the sequence number "3" of the remaining delay budget range [8,∞) corresponding to data packet 7, and the first delay-related information includes the sequence number "2" of the remaining delay budget range [5,8) corresponding to data packet 8, and the transmission position of data packet 7 on the first LCH is before the transmission position of data packet 8 on the first LCH, the RLC layer of the terminal can include both the data volume of data packet 7 and the data volume of data packet 8 in the data volume corresponding to the remaining delay budget range [5,8) when calculating the data volume.
[0156] In some embodiments of this application, when the lower limit of the remaining delay budget range corresponding to the second data packet is greater than the upper limit of the first remaining delay budget range corresponding to the first data packet, the sequence number of the delay status information pair corresponding to the second data packet is also greater than the sequence number of the delay status information pair corresponding to the first data packet.
[0157] In some embodiments of this application, when the RLC layer of the terminal receives the second delay-related information from the PDCP layer of the terminal, and the sequence number of the delay status information pair corresponding to the second data packet included in the second delay-related information is greater than the sequence number of the delay status information pair corresponding to the first data packet, and the transmission position of the second data packet on the first LCH is before the transmission position of the first data packet on the first LCH, the RLC layer of the terminal can include the data volume of the first data packet and the data volume of the second data packet in the data volume corresponding to the first remaining delay budget range.
[0158] Example 4, combined with Example 2, such as Figure 4 As shown, assuming the remaining delay budgets of data packets 1 to 4 are within the remaining delay budget range (0, 5), then the delay status information pair corresponding to data packets 1 to 4 is 1; the remaining delay budgets of data packets 5, 6, and 8 are within the remaining delay budget range [5, 8), then the delay status information pair corresponding to data packets 5, 6, and 8 is 2; the remaining delay budgets of data packets 7 and 9 to 11 are within the remaining delay budget range [8, ∞), then the delay status information pair corresponding to data packets 7 and 9 to 11 is 3.
[0159] When the second delay-related information includes the sequence number "3" of delay status information pair 3 corresponding to data packet 7, and the first delay-related information includes the sequence number "2" of delay status information pair 2 corresponding to data packet 8, and the transmission position of data packet 7 on the first LCH is before the transmission position of data packet 8 on the first LCH, the RLC layer of the terminal can include both the data volume of data packet 7 and the data volume of data packet 8 in the data volume corresponding to the remaining delay budget range [5,8) when calculating the data volume.
[0160] It is understandable that network-side devices allocate resources based on the amount of data reported by the terminal. If the data volume of data packet 7 is not included in the remaining delay budget range [5,8), the resources allocated by the network-side devices will be reduced accordingly. Therefore, it is possible that after transmitting data packet 7, the resources allocated by the network-side devices are insufficient, and data packet 8 cannot be transmitted in time. By including the data volume of both data packet 7 and data packet 8 in the remaining delay budget range [5,8) of this application, the network-side devices can allocate sufficient resources for transmitting the data packets corresponding to delay status information pair 2, avoiding the possibility of data packets being dropped due to failure to be transmitted in time.
[0161] In some embodiments of this application, when the first data packet includes data packets in the first PDU set of the first LCH, and the transmission position of the second data packet on the first LCH is between the transmission positions of data packets in the first PDU set, the RLC layer of the terminal can include the data volume of the second data packet in the data volume corresponding to the first remaining delay budget range.
[0162] It is understandable that if the data volume of a PDU set in the first LCH should be included in the data volume corresponding to the first remaining delay budget range, then the other data packets sandwiched between the first and last data packets to be transmitted in that PDU set (i.e., the aforementioned second data packet) should also be included in the data volume corresponding to the first remaining delay budget range. This is because the receiving end processes data information as a whole, and the wireless network should transmit the PDU set as a whole as much as possible. Including the data packets sandwiched between data packets in a PDU set in the data volume corresponding to the same remaining delay budget range, i.e., the data volume corresponding to the same delay status information pair, is beneficial for the network-side device to allocate wireless resources based on the data volume of the delay status information pair, thus transmitting the complete PDU set to the receiving end.
[0163] In some embodiments of this application, step 202 described above can be implemented by step 202c or step 202d as described below.
[0164] Step 202c: Based on latency-related information and data packets, the terminal's RLC layer counts the amount of data corresponding to the first remaining latency budget range and the amount of data corresponding to the second remaining latency budget range in ascending order of the sequence number of the remaining latency budget range or the sequence number of the latency status information pair corresponding to the remaining latency range.
[0165] Example 5, combined with Example 3, such as Figure 4As shown, since the sequence number "2" corresponding to the remaining delay budget range [5,8) is less than the sequence number "3" corresponding to the remaining delay budget range [8,∞), the terminal's RLC layer can first count the amount of data corresponding to the remaining delay budget range [5,8), i.e., the amount of data corresponding to delay status information pair 2. Taking the first delay-related information received by the terminal's RLC layer as including the sequence number "2" of delay status information pair 2 corresponding to data packet 8, and the second delay-related information as including the sequence number "3" of delay status information pair 3 corresponding to data packet 7, the terminal's RLC layer can include the amount of data packet 8 in the amount of data corresponding to delay status information pair 2 based on the first delay-related information. Furthermore, since the sequence number of delay status information pair 3 corresponding to data packet 7 is greater than the sequence number of delay status information pair 2, and the transmission position of data packet 7 on the first LCH is before the transmission position of data packet 8 on the first LCH, the terminal's RLC layer can also include data packet 7 in the amount of data corresponding to delay status information pair 2. Then the terminal's RLC layer can calculate the amount of data corresponding to the remaining latency budget range [8,∞), that is, the data packets 9 to 11 are included in the amount of data corresponding to latency status information pair 3.
[0166] It's understandable that if the terminal's RLC layer counts the data volume corresponding to the first and second remaining latency budget ranges sequentially from largest to smallest, based on the remaining latency budget range number, some data with shorter remaining latency budgets may not be transmitted in a timely manner. For example... Figure 4 As shown, according to the remaining delay budget of data packet 8, the data volume of data packet 8 should be included in the data volume corresponding to delay status information pair 2. However, if the terminal's RLC layer first counts the data volume corresponding to delay status information pair 3, since the remaining delay budgets of data packets 11 and 7 are both within the remaining delay budget range [8,∞) corresponding to delay status information pair 3, the data volumes of data packets 7 to 11 will be included in the data volume corresponding to delay status information pair 3, resulting in data packet 8 not being transmitted in time.
[0167] Thus, since the terminal's RLC layer can count the data volume corresponding to the first remaining delay budget range and the data volume corresponding to the second remaining delay budget range in ascending order of the remaining delay budget range number, it can ensure that the data volume of data packets with longer remaining delay budgets interspersed between data packets with shorter remaining delay budgets is included in the data volume corresponding to the delay status information pair of the data packets with shorter remaining delay budgets. This is beneficial for network-side devices to allocate radio resources in a timely manner for the transmission of data with shorter remaining delay budgets.
[0168] Step 202d: Based on latency-related information and data packets, the terminal's RLC layer calculates the amount of data corresponding to the first remaining latency budget range, and then calculates the amount of data corresponding to the second remaining latency budget range.
[0169] In the embodiments of this application, the upper limit of the first remaining delay budget range is less than the lower limit of the second remaining delay budget range.
[0170] For example, the first remaining latency budget range is [5, 8), and the second remaining latency budget range is [8, ∞). The upper limit of the first remaining latency budget range [5, 8) is less than the lower limit of the second remaining latency budget range [8, ∞). Therefore, the terminal's RLC layer can first count the amount of data corresponding to the first remaining latency budget range, and then count the amount of data corresponding to the second remaining latency budget range.
[0171] In some embodiments of this application, the upper limit of the first remaining delay budget range is less than the lower limit of the second remaining delay budget range, which is equivalent to the sequence number of the first remaining delay budget range being less than the sequence number of the second remaining delay budget range, and the sequence number of the delay state information pair corresponding to the first remaining delay budget range being less than the sequence number of the delay state information pair corresponding to the second remaining delay budget range.
[0172] Thus, since the upper limit of the first remaining delay budget range is less than the lower limit of the second remaining delay budget range, the terminal's RLC layer can first count the data volume corresponding to the first remaining delay budget range and then count the data volume corresponding to the second remaining delay budget range. Therefore, it can be ensured that the data volume of data packets with longer remaining delay budgets interspersed between data packets with shorter remaining delay budgets is included in the data volume corresponding to the remaining delay budget range of the data packets with shorter remaining delay budgets. In other words, it can be ensured that the data volume of data packets with longer remaining delay budgets interspersed between data packets with shorter remaining delay budgets is included in the data volume corresponding to the delay status information pair of the data packets with shorter remaining delay budgets. This is beneficial for network-side devices to allocate radio resources in a timely manner for the transmission of data with shorter remaining delay budgets.
[0173] In some embodiments of this application, the first LCG corresponds to at least one delay state information pair, and the remaining delay budget range corresponding to at least one delay state information pair includes the remaining delay budget range corresponding to the data packet; the upper limit of the remaining delay budget range corresponding to the data packet is less than the lower limit of the third remaining delay budget range, and the third remaining delay budget range is any remaining delay budget range other than the remaining delay budget range corresponding to at least one delay state information pair; the above step 202 can be specifically implemented by the following step 202e.
[0174] Step 202e: The terminal's RLC layer includes the data volume of the third data packet in the first data volume.
[0175] In the embodiments of this application, the data packet type of the aforementioned third data packet includes any of the following: RLC control PDU, RLC status PDU, RLC retransmission RLC PDU in RLC AM mode, PDCP control PDU, and PDCP status PDU.
[0176] It can be understood that the remaining delay budget range corresponding to the data packet is the smallest remaining delay budget range among the remaining delay budget ranges corresponding to at least one delay state information pair.
[0177] It is understandable that when the terminal's RLC layer counts the first data volume, it can include the data volume of the aforementioned third data packet in the first data volume.
[0178] It is understandable that after the terminal obtains uplink transmission permission, the third data packet is given priority in allocating radio resources. This means the third data packet will receive radio resources before the data packet corresponding to the latency state information pair with the smallest remaining latency budget. To ensure that the network-side device allocates sufficient radio resources in a timely manner for the data packets corresponding to the latency state information pairs with the smallest remaining latency budget (i.e., the latency state information pairs corresponding to the remaining latency budget range of the aforementioned data packets), the third data packet can be included in the data volume corresponding to the latency state information pair with the smallest remaining latency budget. In other words, the third data packet is included in the aforementioned first data volume. This ensures that when the network-side device allocates uplink resources based on the data volume corresponding to the latency state information pair with the smallest remaining latency budget, the allocated radio resources are sufficient to cover the transmission of the data packets corresponding to the latency state information pair with the smallest remaining latency budget after allocating resources for the third data packet. It is also understandable that if the third data packet is included in the data volume corresponding to the latency state information pair with the largest remaining latency budget, the network-side device may not allocate uplink transmission resources in a timely manner, resulting in the data in the third data packet with the shorter remaining latency budget being discarded and not transmitted in time.
[0179] In some embodiments of this application, the communication method provided in the embodiments of this application may further include the following steps 501 and 502.
[0180] It should be noted that the terminal may execute step 501 before executing step 301, or execute step 501 after executing step 301. This application embodiment does not limit this.
[0181] Step 501: The terminal's PDCP layer calculates the second data volume corresponding to the remaining latency budget range based on the data cached by the PDCP layer.
[0182] It is understandable that the PDCP layer of the terminal can calculate the amount of data corresponding to each remaining latency budget range based on the data of the first LCG that has not been submitted to the RLC layer by the PDCP layer, that is, calculate the amount of data corresponding to each latency state information pair of the first LCG.
[0183] Step 502: The terminal generates latency status information corresponding to the remaining latency budget range based on the first data volume and the second data volume.
[0184] Specifically, the terminal can calculate the sum of the first data volume and the second data volume, and then generate latency status information corresponding to the remaining latency budget range based on the sum of the first data volume and the second data volume, and the remaining latency budget of the data packet with the smallest remaining latency budget corresponding to the remaining latency budget range.
[0185] In some embodiments of this application, the terminal can generate latency status information corresponding to each remaining latency budget range of the first LCG in order to generate and report the DSR of the first LCG.
[0186] Thus, since the PDCP layer and RLC layer can respectively calculate the amount of data corresponding to the remaining latency budget range, the terminal can obtain accurate data amount information corresponding to the remaining latency budget range. This allows the terminal to accurately reflect the radio resources required for the corresponding data transmission to complete the time slot information, so that the network-side equipment can accurately determine the amount of radio resources to be allocated to complete the data transmission corresponding to the remaining latency budget range.
[0187] In some embodiments of this application, the latency budget range includes a first remaining latency budget range and a second remaining latency budget range; the above step 501 can be specifically implemented by the following steps 501a or 501b.
[0188] Step 501a: The terminal's PDCP layer, based on the data cached by the PDCP layer, calculates the amount of data corresponding to the first remaining latency budget range and the amount of data corresponding to the second remaining latency budget range in ascending order of the sequence number of the remaining latency budget range or the sequence number of the latency status information pair corresponding to the remaining latency budget range.
[0189] For example, if the sequence number of the latency status information pair corresponding to the first remaining latency budget range is "2" and the sequence number of the latency status information pair corresponding to the second remaining latency budget range is "3", then the terminal's RLC layer can first count the amount of data corresponding to the first remaining latency budget range and then count the amount of data corresponding to the second remaining latency budget range.
[0190] Thus, since the PDCP layer of the terminal can count the amount of data corresponding to the first remaining delay budget range and the amount of data corresponding to the second remaining delay budget range in ascending order according to the sequence number of the remaining delay budget range or the sequence number of the delay status information pair corresponding to the remaining delay budget range, it can ensure that the amount of data of data packets with longer remaining delay budgets interspersed between data packets with shorter remaining delay budgets is included in the amount of data corresponding to the remaining delay budget range of the data packets with shorter remaining delay budgets. This is beneficial for network-side devices to allocate radio resources in a timely manner for the transmission of data with shorter remaining delay budgets.
[0191] It should be noted that, for the data cached by the PDCP layer of the terminal, the detailed steps for counting the data volume corresponding to the first remaining latency budget range and the second remaining latency budget range in ascending order of the sequence number of the remaining latency budget range or the sequence number of the latency status information pair corresponding to the remaining latency budget range can be found in step 202c above. The detailed steps for counting the data volume corresponding to the first remaining latency budget range and the second remaining latency budget range in ascending order of the sequence number of the remaining latency budget range or the sequence number of the latency status information pair corresponding to the remaining latency range are not repeated here.
[0192] Step 501b: Based on the information in the data packets, the PDCP layer of the terminal calculates the amount of data corresponding to the first remaining latency budget range and then calculates the amount of data corresponding to the second remaining latency budget range.
[0193] In the embodiments of this application, the upper limit of the first remaining delay budget range is less than the lower limit of the second remaining delay budget range.
[0194] Thus, since the upper limit of the first remaining latency budget range is less than the lower limit of the second remaining latency budget range, the PDCP layer of the terminal can first count the amount of data corresponding to the first remaining latency budget range, and then count the amount of data corresponding to the second remaining latency budget range. Therefore, it can be ensured that the amount of data of data packets with longer remaining latency budgets interspersed between data packets with shorter remaining latency budgets is included in the amount of data corresponding to the remaining latency budget range of the data packets with shorter remaining latency budgets. This is beneficial for network-side devices to allocate radio resources in a timely manner for the transmission of data with shorter remaining latency budgets.
[0195] It should be noted that, for the terminal's PDCP layer, based on data packet information, after calculating the data volume corresponding to the first remaining latency budget range, the detailed steps for calculating the data volume corresponding to the second remaining latency budget range after calculating the data volume corresponding to the first remaining latency budget range can be found in step 202d above. The detailed steps for the terminal's RLC layer, based on latency-related information and data packets, after calculating the data volume corresponding to the first remaining latency budget range, are not repeated here.
[0196] In some embodiments of this application, the first LCG corresponds to at least one delay state information pair, and the remaining delay budget range corresponding to at least one delay state information pair includes the remaining delay budget range corresponding to the data packet; the upper limit of the remaining delay budget range corresponding to the data packet is less than the lower limit of the third remaining delay budget range, and the third remaining delay budget range is any remaining delay budget range other than the remaining delay budget range corresponding to at least one delay state information pair; the above step 501 can be specifically implemented by the following step 501c.
[0197] Step 501c: The terminal's PDCP layer includes the data volume of the fourth data packet in the second data volume.
[0198] In the embodiments of this application, the fourth data packet includes at least one of the following: PDCP control PDU and PDCP status PDU.
[0199] It is understandable that when the terminal's PDCP layer is counting the second data volume, it can include the data volume of the aforementioned fourth data packet in the second data volume.
[0200] It is understandable that after the terminal obtains uplink transmission permission, the fourth data packet is given priority in allocating radio resources. In other words, the fourth data packet will receive radio resources before the data packet corresponding to the latency state information pair with the smallest remaining latency budget. In order to ensure that the network-side device allocates sufficient radio resources in a timely manner for the data packet corresponding to the latency state information pair with the smallest remaining latency budget, the fourth data packet can be counted in the data volume of the latency state information pair with the smallest remaining latency budget. That is, the fourth data packet is counted in the second data volume mentioned above. This way, when the network-side device allocates uplink resources based on the data volume of the latency state information pair with the smallest remaining latency budget, the allocated radio resources are sufficient to have enough remaining resources for the transmission of the data packet corresponding to the latency state information pair with the smallest remaining latency budget after allocating resources for the fourth data packet.
[0201] It should be noted that when the terminal's first LCG is configured to report multiple delay status information pairs, for each delay-critical data packet of each LCH within that first LCG, the terminal's PDCP layer no longer sends a delay-critical indication to the terminal's RLC layer. This is because the RLC layer will calculate the corresponding data volume for each delay status information pair based on the multiple remaining delay budget thresholds, and no longer needs to calculate the delay-critical data volume of the first LCG based on the delay-critical indication. In other words, when the first LCG is configured to report DSR but not to report multiple delay status information pairs, the terminal's PDCP layer needs to send a delay-critical indication to the terminal's RLC layer for each delay-critical data packet of each LCH within that first LCG.
[0202] Figure 5 A flowchart illustrating the communication method provided in the embodiments of this application is shown below. Figure 5 As shown, the communication method may include the following steps 601 and 602.
[0203] Step 601: The PDCP layer of the terminal receives information about the data packets from the RLC layer of the terminal.
[0204] In the embodiments of this application, the above-mentioned data packet is a data packet of the first LCG that is transmitted from the PDCP layer to the RLC layer, and the information of the data packet includes: the data packet sequence number and the data volume of the data packet.
[0205] It is understandable that after the data packet is passed from the terminal's PDCP layer to the terminal's RLC layer, the terminal's PDCP layer can receive the information of the data packet.
[0206] In some embodiments of this application, the communication method provided in the embodiments of this application may further include the following step 701.
[0207] It should be noted that the terminal may execute step 701 before executing step 601.
[0208] Step 701: The terminal's RLC layer sends data packet information to the terminal's PDCP layer.
[0209] It is understandable that after the data packet is transmitted from the terminal's PDCP layer to the terminal's RLC layer, the terminal's RLC layer can send the data packet information to the terminal's PDCP layer.
[0210] In some embodiments of this application, the RLC layer of the terminal may send data packet information to the PDCP layer of the terminal upon receiving a first request information from the PDCP layer of the terminal.
[0211] In some embodiments of this application, the first request information is used to request the RLC layer of the terminal to send information about data packets that are passed from the PDCP layer to the RLC layer to the PDCP layer of the terminal.
[0212] In some embodiments of this application, step 701 described above can be implemented by step 701a as follows.
[0213] Step 701a: If the remaining delay budget of the data packet with the smallest remaining delay budget in the first LCG is less than or equal to the first preset threshold, the RLC layer of the terminal sends the data packet information to the PDCP layer of the terminal.
[0214] In the embodiments of this application, the first preset threshold value is the remaining latency budget threshold used to trigger the latency status information reporting of the first LCG.
[0215] In some embodiments of this application, triggering the delay status information report of the first LCG can be understood as triggering the DSR report of the first LCG.
[0216] In some embodiments of this application, the RLC layer of the terminal may send data packet information to the PDCP layer of the terminal when the MAC layer of the terminal generates the DSR of the first LCG.
[0217] Thus, since the terminal's RLC layer can also send data packet information to the terminal's PDCP layer after triggering DSR reporting, the flexibility of the terminal's RLC layer in sending data packet information that has been passed from the PDCP layer to the RLC layer to the terminal's PDCP layer is improved.
[0218] Step 602: The terminal's PDCP layer counts the third data volume based on the information in the data packets.
[0219] In the embodiments of this application, the third data volume is the data volume corresponding to the remaining latency budget range of the data packet.
[0220] It is understandable that after the terminal's PDCP layer receives the information of the data packet, it can determine the remaining delay budget range corresponding to the data packet based on the remaining delay budget of the data packet. Then, when counting the amount of data corresponding to the remaining delay budget range of the data packet, the amount of data of the data packet can be included in the third data volume.
[0221] This application provides a communication method. Since the PDCP layer of the terminal can receive the data packet information after the data packet of the first LCG is transmitted to the RLC layer by the PDCP layer, the PDCP layer of the terminal can include the data packet data amount in the third data amount based on the data packet information when the PDCP layer of the terminal counts the third data amount corresponding to the remaining delay budget range of the data packet. This allows the terminal to generate the delay status information corresponding to the remaining delay budget range, i.e. the delay status information of the first LCG, based on the third data amount.
[0222] In some embodiments of this application, the data packet includes a first data packet and a second data packet, and the information of the data packet includes: the information of the first data packet and the information of the second data packet. The remaining latency budget range includes a first remaining latency budget range and a second remaining latency budget range. The first data packet corresponds to the first remaining latency budget range, and the second data packet corresponds to the second remaining latency budget range.
[0223] In some embodiments of this application, the third data volume includes: the data volume corresponding to the first remaining delay budget range and the data volume corresponding to the second remaining delay budget range; the above step 602 can be specifically implemented by the following step 602a.
[0224] Step 602a: The PDCP layer of the terminal calculates the amount of data corresponding to the first remaining latency budget range based on the information of the first data packet, and calculates the amount of data corresponding to the second remaining latency budget range based on the information of the second data packet.
[0225] In some embodiments of this application, the first data packet and the second data packet are data packets of the first LCH of the first LCG, and the transmission position of the second data packet on the first LCH is located before the transmission position of the first data packet on the first LCH; the "the PDCP layer of the terminal calculates the amount of data corresponding to the first remaining delay budget range based on the information of the first data packet" in the above step 602a can be specifically implemented by the following step 602b.
[0226] Step 602b: If the second data packet satisfies the second condition, the PDCP layer of the terminal includes the data volume of the second data packet in the data volume corresponding to the first remaining delay budget range.
[0227] In the embodiments of this application, the second condition mentioned above includes at least one of the following:
[0228] The second data packet does not have a corresponding remaining delay budget range;
[0229] The sequence number of the remaining delay budget range corresponding to the second data packet is greater than the sequence number of the first remaining delay budget range corresponding to the first data packet;
[0230] The lower limit of the remaining latency budget range corresponding to the second data packet is greater than the upper limit of the first remaining latency budget range corresponding to the first data packet.
[0231] In some embodiments of this application, when the data packet type of the second data packet is any of the following: PDCP control PDU, PDCP status PDU, the second data packet does not have a corresponding remaining delay budget range.
[0232] It is understandable that if the second data packet does not have a corresponding remaining delay budget range and the transmission position of the second data packet on the first LCH is before the transmission position of the first data packet on the first LCH, the PDCP layer of the terminal can include the data volume of the second data packet and the data volume of the first data packet in the data volume corresponding to the first remaining delay budget range.
[0233] It is understandable that network-side devices allocate resources according to the data volume corresponding to the first remaining latency budget range. When the terminal's PDCP layer does not include the data volume of the second data packet in the data volume corresponding to the first remaining latency budget range, the resources allocated by the network-side devices will also be reduced accordingly. Furthermore, since the transmission position of the second data packet on the first LCH precedes that of the first data packet, the second data packet will be allocated resources before the first data packet. Therefore, it is possible that after the second data packet is transmitted, the resources allocated by the network-side devices are insufficient, and the first data packet cannot be transmitted in time. The solution in this application includes the data volume of both the second and first data packets in the data volume corresponding to the first remaining latency budget range, allowing the network-side devices to allocate sufficient resources for transmitting the data packets corresponding to the latency status information pairs within the first remaining latency budget range, thus preventing data packets from being dropped due to failure to be transmitted in time.
[0234] In some embodiments of this application, when the sequence number of the remaining delay budget range corresponding to the second data packet is greater than the sequence number of the remaining delay budget range corresponding to the first data packet, and the transmission position of the second data packet on the first LCH is before the transmission position of the first data packet on the first LCH, the RLC layer of the terminal can include the data volume of the first data packet and the data volume of the second data packet in the data volume corresponding to the first remaining delay budget range.
[0235] In some embodiments of this application, when the lower limit of the remaining delay budget range of the second data packet is greater than the upper limit of the first remaining delay budget range corresponding to the first data packet, and the transmission position of the second data packet on the first LCH is before the transmission position of the first data packet on the first LCH, the RLC layer of the terminal can include both the data volume of the second data packet and the data volume of the first data packet in the data volume corresponding to the first remaining delay budget range.
[0236] In some embodiments of this application, the second condition may further include: the sequence number of the delay status information pair corresponding to the second data packet is greater than the sequence number of the delay status information pair corresponding to the first data packet.
[0237] In some embodiments of this application, when the lower limit of the remaining delay budget range of the second data packet is greater than the upper limit of the first remaining delay budget range corresponding to the first data packet, the sequence number of the delay status information pair corresponding to the second data packet is also greater than the sequence number of the delay status information pair corresponding to the first data packet.
[0238] In some embodiments of this application, when the sequence number of the delay state information pair corresponding to the second data packet is greater than the sequence number of the delay state information pair corresponding to the first data packet, and the transmission position of the second data packet on the first LCH is before the transmission position of the first data packet on the first LCH, the RLC layer of the terminal can include the data volume of the second data packet and the data volume of the first data packet in the data volume corresponding to the first remaining delay budget range.
[0239] It should be noted that, for the detailed steps of the terminal's PDCP layer including the data volume of the second data packet in the data volume corresponding to the first remaining delay budget range when the second data packet meets the second condition, please refer to the detailed description of the terminal's RLC layer including the data volume of the second data packet in the data volume corresponding to the first remaining delay budget range when the second data packet meets the first condition in step 202b above, which will not be repeated here.
[0240] In some embodiments of this application, step 602 described above can be implemented by step 602c or step 602d as described below.
[0241] Step 602c: Based on the information in the data packets, the PDCP layer of the terminal counts the amount of data corresponding to the first remaining delay budget range and the amount of data corresponding to the second remaining delay budget range in ascending order of the remaining delay budget range number.
[0242] In some embodiments of this application, the PDCP layer of the terminal can, based on the information of the data packets, also count the amount of data corresponding to the first remaining delay budget range and the amount of data corresponding to the second remaining delay budget range in ascending order of the sequence number of the delay status information pairs corresponding to the remaining delay budget range.
[0243] Example 6: Assuming the sequence number of the first remaining delay budget range is less than the sequence number of the second remaining delay budget range, the PDCP layer of the terminal can first count the amount of data corresponding to the first remaining delay budget range. Since the first data packet corresponds to the first remaining delay budget range, the PDCP layer of the terminal can include the data amount of the first data packet included in the information of the first data packet in the amount of data corresponding to the first remaining delay budget range. Then, if the transmission position of the second data packet on the first LCH is before the transmission position of the first data packet on the first LCH, the PDCP layer of the terminal can also include the data amount of the second data packet in the amount of data corresponding to the first remaining delay budget range. After counting the amount of data corresponding to the first remaining delay budget range, the PDCP layer of the terminal can count the amount of data corresponding to the second remaining delay budget range.
[0244] It is understandable that if the PDCP layer of the terminal counts the amount of data corresponding to the first remaining latency budget range and the second remaining latency budget range in descending order according to the sequence number of the remaining latency budget range, it will result in some data with short remaining latency budgets not being transmitted in time.
[0245] Thus, since the PDCP layer of the terminal can count the data volume corresponding to the first remaining delay budget range and the data volume corresponding to the second remaining delay budget range in ascending order of the remaining delay budget range number, it can ensure that the data volume of data packets with longer remaining delay budgets that are interspersed between data packets with shorter remaining delay budgets are included in the data volume corresponding to the remaining delay budget range of the data packets with shorter remaining delay budgets. This is beneficial for network-side devices to allocate radio resources in a timely manner for the transmission of data with shorter remaining delay budgets.
[0246] It should be noted that the detailed steps for the PDCP layer of the terminal to count the data volume corresponding to the first remaining delay budget range and the second remaining delay budget range in ascending order based on the information of the data packets can be found in step 202c above. The detailed steps for the RLC layer of the terminal to count the data volume corresponding to the first remaining delay budget range and the second remaining delay budget range in ascending order based on the information of the delay-related information and data packets, or the sequence number of the delay status information pair corresponding to the remaining delay range, are not repeated here.
[0247] Step 602d: Based on the information in the data packets, the PDCP layer of the terminal calculates the amount of data corresponding to the first remaining latency budget range, and then calculates the amount of data corresponding to the second remaining latency budget range.
[0248] In the embodiments of this application, the upper limit of the first remaining delay budget range is less than the lower limit of the second remaining delay budget range.
[0249] In some embodiments of this application, the upper limit of the first remaining delay budget range is less than the lower limit of the second remaining delay budget range, which is equivalent to the sequence number of the first remaining delay budget range being less than the sequence number of the second remaining delay budget range, and the sequence number of the delay state information pair corresponding to the first remaining delay budget range being less than the sequence number of the delay state information pair corresponding to the second remaining delay budget range.
[0250] Thus, since the upper limit of the first remaining latency budget range is less than the lower limit of the second remaining latency budget range, the PDCP layer of the terminal can first count the amount of data corresponding to the first remaining latency budget range, and then count the amount of data corresponding to the second remaining latency budget range. Therefore, it can be ensured that the amount of data of data packets with longer remaining latency budgets interspersed between data packets with shorter remaining latency budgets is included in the amount of data corresponding to the remaining latency budget range of the data packets with shorter remaining latency budgets. This is beneficial for network-side devices to allocate radio resources in a timely manner for the transmission of data with shorter remaining latency budgets.
[0251] It should be noted that, for the terminal's PDCP layer based on data packet information, after calculating the data volume corresponding to the first remaining latency budget range, the detailed steps for calculating the data volume corresponding to the second remaining latency budget range can be found in step 202d above, which describes in detail how the terminal's RLC layer, based on latency-related information and data packets, calculates the data volume corresponding to the second remaining latency budget range after calculating the data volume corresponding to the first remaining latency budget range. This will not be repeated here.
[0252] In some embodiments of this application, the first LCG corresponds to at least one delay state information pair, and the remaining delay budget range corresponding to at least one delay state information pair includes the remaining delay budget range corresponding to the data packet; the upper limit of the remaining delay budget range corresponding to the data packet is less than the lower limit of the fourth remaining delay budget range, and the fourth remaining delay budget range is any remaining delay budget range other than the remaining delay budget range corresponding to at least one delay state information pair; the above step 602 can be specifically implemented by the following step 602e.
[0253] Step 602e: The terminal's PDCP layer includes the data volume of the fifth data packet in the third data volume.
[0254] In the embodiments of this application, the data packet type of the fifth data packet mentioned above includes any one of the following: PDCP control PDU, PDCP status PDU.
[0255] It is understandable that when the terminal's PDCP layer is counting the third data volume, it can include the data volume of the aforementioned fifth data packet in the third data volume.
[0256] It is understandable that after the terminal obtains uplink transmission permission, the fifth data packet is given priority in allocating radio resources. In other words, the fifth data packet will receive radio resources before the data packet corresponding to the latency state information pair with the smallest remaining latency budget. In order to ensure that the network-side device allocates sufficient radio resources in a timely manner for the data packet corresponding to the latency state information pair with the smallest remaining latency budget, the fifth data packet can be included in the data volume corresponding to the latency state information pair with the smallest remaining latency budget. This way, when the network-side device allocates uplink resources based on the data volume corresponding to the latency state information pair with the smallest remaining latency budget, the allocated radio resources are sufficient to have enough remaining resources for the transmission of the data packet corresponding to the latency state information pair with the smallest remaining latency budget after allocating resources for the fifth data packet.
[0257] In some embodiments of this application, the communication method provided in the embodiments of this application may further include the following step 702.
[0258] It should be noted that the terminal can execute step 702 below after executing step 602.
[0259] Step 702: The terminal generates latency status information corresponding to the remaining latency budget range based on the third data volume.
[0260] In some embodiments of this application, the first LCG corresponds to at least one delay state information pair, and the remaining delay budget range corresponding to at least one delay state information pair includes the remaining delay budget range corresponding to the data packet; the upper limit of the remaining delay budget range corresponding to the data packet is less than the lower limit of the fourth remaining delay budget range, and the fourth remaining delay budget range is any remaining delay budget range other than the remaining delay budget range corresponding to at least one delay state information pair; the communication method provided in the embodiments of this application may further include the following step 801.
[0261] It should be noted that the terminal may execute step 801 before executing step 701; or, may execute step 801 after executing step 701.
[0262] Step 801: The terminal's RLC layer includes the data volume of the sixth data packet in the fourth data volume corresponding to the remaining delay budget range.
[0263] In the embodiments of this application, the data packet type of the sixth data packet mentioned above includes any one of the following: RLC control PDU, RLC status PDU, and RLC retransmission PDU in RLC AM mode.
[0264] In the embodiments of this application, the latency status information corresponding to the remaining latency budget range is generated by the terminal based on the third data volume and the fourth data volume.
[0265] It is understandable that the terminal's RLC layer not only sends the information of the data packets that are passed from the PDCP layer to the RLC layer to the terminal's PDCP layer, but also, for the special sixth data packet, the terminal's RLC layer needs to include the data volume of the sixth data packet in the fourth data volume corresponding to the remaining delay budget range.
[0266] In some embodiments of this application, the terminal can generate latency status information corresponding to the remaining latency budget range based on the third data volume corresponding to the remaining latency budget range statistically calculated by the terminal's PDCP layer and the fourth data volume corresponding to the remaining latency budget range statistically calculated by the terminal's RLC layer.
[0267] Specifically, the terminal can calculate the sum of the third and fourth data volumes, and then, based on the sum of the third and fourth data volumes and the remaining latency budget of the data packet with the smallest remaining latency budget within the remaining latency budget range, generate latency status information corresponding to the remaining latency budget range.
[0268] The communication method provided in this application can be executed by a communication device. This application uses the example of a communication device executing the communication method to illustrate the communication device provided in this application.
[0269] This application provides a communication device. As an example, the communication device may be a communication equipment or a component within a communication equipment, such as a chip. The communication equipment may be a terminal. Exemplarily, the terminal may include, but is not limited to, the types of terminals 11 listed above; this application does not impose specific limitations.
[0270] The communication device includes a receiving module, a transmitting module, and a processing module. These modules can be implemented in software or hardware. When implemented in hardware, the processing module can be implemented by a processor. For example, the processor can include general-purpose processors, special-purpose processors, etc., such as central processing units (CPUs), microprocessors, digital signal processors (DSPs), artificial intelligence (AI) processors, graphics processing units (GPUs), application-specific integrated circuits (ASICs), network processors (NPs), field-programmable gate arrays (FPGAs), or other programmable logic devices, gate circuits, transistors, discrete hardware components, etc. The receiving and transmitting modules can be implemented by a communication interface, which can include one or more of the following: transceivers, pins, circuits, buses, radio frequency units, etc.
[0271] Specifically, the communication device includes communication device 800 or communication device 900;
[0272] See Figure 6 When the communication device is a terminal or a component in a terminal, the communication device 800 includes a receiving module 801 for receiving data packets and delay-related information from the PDCP layer of the first LCG from the terminal.
[0273] Among them, latency-related information includes at least one of the following:
[0274] The remaining latency budget range corresponding to the data packet;
[0275] The sequence number of the remaining delay budget range corresponding to the data packet;
[0276] The sequence number of the delay status information pair corresponding to the data packet;
[0277] The processing module 802 is used to calculate the first data volume corresponding to the remaining delay budget range based on the delay-related information and data packets received by the receiving module 801.
[0278] The communication device provided in this application embodiment can receive data packets of the first LCG transmitted by the terminal's PDCP layer, as well as at least one of the following: the remaining delay budget range corresponding to the received data packet, the sequence number of the remaining delay budget range corresponding to the data packet, and the sequence number of the delay status information pair corresponding to the data packet, i.e., the aforementioned delay-related information. Therefore, when the terminal's RLC layer counts the first data volume corresponding to the remaining delay budget range, it can determine whether the data volume of the received data packet should be included in the first data volume based on the aforementioned delay-related information. This allows the terminal to generate delay status information corresponding to the remaining delay budget range, i.e., the delay status information of the first LCG, based on the first data volume counted by the RLC layer and the data volume corresponding to the remaining delay budget range counted by the PDCP layer.
[0279] In one possible implementation, the sequence number of the remaining delay budget range includes either: the sequence number of the delay state information pair corresponding to the remaining delay budget range of the data packet; or the sequence number of the delay state information pair corresponding to the data packet.
[0280] In one possible implementation, the communication device 800 further includes: a transmitting module; the transmitting module is used to transmit delay-related information to the RLC layer of the terminal.
[0281] In one possible implementation, the sending module is specifically used to send latency-related information to the RLC layer of the terminal when the remaining latency budget of the data packet is within the range of the remaining latency budget.
[0282] In one possible implementation, the sending module is specifically configured to send latency-related information to the RLC layer of the terminal when the remaining latency budget of the data packet with the smallest remaining latency budget in the first LCG is less than or equal to a first preset threshold value; wherein the first preset threshold value is a remaining latency budget threshold used to trigger the latency status information reporting of the first LCG.
[0283] In one possible implementation, the data packet includes a first data packet and a second data packet, and the delay-related information includes a first delay-related information and a second delay-related information, wherein the first delay-related information corresponds to the first data packet and the second delay-related information corresponds to the second data packet;
[0284] The first delay-related information includes at least one of the following:
[0285] The first remaining delay budget range corresponding to the first data packet;
[0286] The sequence number of the first remaining delay budget range corresponding to the first data packet;
[0287] The sequence number of the delay status information pair corresponding to the first data packet;
[0288] The second delay-related information includes at least one of the following:
[0289] The second remaining delay budget range corresponding to the second data packet;
[0290] The sequence number of the second remaining delay budget range corresponding to the second data packet;
[0291] The sequence number of the delay status information pair corresponding to the second data packet.
[0292] In one possible implementation, the processing module 802 is specifically used to, based on latency-related information and data packets, sequentially count the amount of data corresponding to the first remaining latency budget range and the amount of data corresponding to the second remaining latency budget range, in ascending order, according to the sequence number of the remaining latency budget range or the sequence number of the latency status information pair corresponding to the remaining latency budget range.
[0293] In one possible implementation, the processing module 802 is specifically used to calculate the amount of data corresponding to the first remaining delay budget range after calculating the amount of data corresponding to the first remaining delay budget range based on delay-related information and data packets, wherein the upper limit of the first remaining delay budget range is less than the lower limit of the second remaining delay budget range.
[0294] In one possible implementation, the first data volume includes: the data volume corresponding to the first remaining delay budget range and the data volume corresponding to the second remaining delay budget range; the processing module 802 is specifically used to calculate the data volume corresponding to the first remaining delay budget range based on the first delay-related information and the first data packet, and to calculate the data volume corresponding to the second remaining delay budget range based on the second delay-related information and the second data packet.
[0295] In one possible implementation, the first data packet and the second data packet are data packets of the first LCH of the first LCG, and the transmission position of the second data packet on the first LCH is located before the transmission position of the first data packet on the first LCH; the processing module 802 is specifically used to include the data volume of the second data packet in the data volume corresponding to the first remaining delay budget range when the second data packet meets the first condition.
[0296] The first condition includes at least one of the following:
[0297] The second data packet does not contain corresponding latency-related information from the PDCP layer;
[0298] The terminal's RLC layer did not receive the second delay-related information corresponding to the second data packet from the terminal's PDCP layer;
[0299] The terminal's RLC layer receives second latency-related information from the terminal's PDCP layer. The second latency-related information includes the fact that the lower limit of the second remaining latency budget range corresponding to the second data packet is greater than the upper limit of the first remaining latency budget range corresponding to the first data packet.
[0300] The terminal's RLC layer receives the second delay-related information from the terminal's PDCP layer. The second delay-related information includes the sequence number of the second remaining delay budget range corresponding to the second data packet being greater than the sequence number of the first remaining delay budget range corresponding to the first data packet.
[0301] The terminal's RLC layer receives the second delay-related information from the terminal's PDCP layer. The second delay-related information includes the sequence number of the delay status information pair corresponding to the second data packet, which is greater than the sequence number of the delay status information pair corresponding to the first data packet.
[0302] In one possible implementation, the first LCG corresponds to at least one delay state information pair, and the remaining delay budget range corresponding to at least one delay state information pair includes the remaining delay budget range corresponding to the data packet; the upper limit of the remaining delay budget range corresponding to the data packet is less than the lower limit of the third remaining delay budget range, and the third remaining delay budget range is any remaining delay budget range other than the remaining delay budget range corresponding to at least one delay state information pair; the processing module 802 is specifically used to include the data volume of the third data packet in the first data volume; wherein, the data packet type of the third data packet includes any of the following: RLC control PDU, RLC status PDU, RLC retransmission RLC PDU in RLC AM mode, PDCP control PDU, PDCP status PDU.
[0303] In one possible implementation, the sending module is also configured to send third delay-related information to the RLC layer of the terminal when the remaining delay budget range corresponding to the data packet changes;
[0304] The third delay-related information includes at least one of the following:
[0305] The revised remaining latency budget range corresponding to the data packet;
[0306] The sequence number of the changed remaining delay budget range corresponding to the data packet;
[0307] The sequence number of the delay status information pair corresponding to the changed remaining delay budget range of the data packet.
[0308] In one possible implementation, the processing module 802 is further configured to, based on the data cached in the PDCP layer, calculate the second data volume corresponding to the remaining latency budget range, and generate latency status information corresponding to the remaining latency budget range based on the first data volume and the second data volume.
[0309] In one possible implementation, the latency budget range includes a first remaining latency budget range and a second remaining latency budget range;
[0310] Processing module 802 is specifically used for any of the following:
[0311] Based on the data cached by the PDCP layer, the data volume corresponding to the first remaining latency budget range and the data volume corresponding to the second remaining latency budget range are counted in ascending order according to the sequence number of the remaining latency budget range or the sequence number of the latency status information pair corresponding to the remaining latency budget range.
[0312] Based on the data cached by the PDCP layer, after calculating the amount of data corresponding to the first remaining latency budget range, the amount of data corresponding to the second remaining latency budget range is calculated. The upper limit of the first remaining latency budget range is less than the lower limit of the second remaining latency budget range.
[0313] In one possible implementation, the first LCG corresponds to at least one delay state information pair, and the remaining delay budget range corresponding to the at least one delay state information pair includes the remaining delay budget range corresponding to the data packet; the upper limit of the remaining delay budget range corresponding to the data packet is less than the lower limit of the third remaining delay budget range, and the third remaining delay budget range is any remaining delay budget range other than the remaining delay budget range corresponding to the at least one delay state information pair; the processing module 802 is specifically used to include the data volume of the fourth data packet in the second data volume;
[0314] The fourth data packet includes at least one of the following: PDCP control PDU and PDCP status PDU.
[0315] See Figure 7 When the communication device is a terminal or a component in a terminal, the communication device 900 includes a receiving module 901 for receiving information of a data packet from the RLC layer of the terminal. The data packet is a data packet of the first LCG that is transmitted from the PDCP layer to the RLC layer. The information of the data packet includes: the data packet sequence number and the data size of the data packet.
[0316] The processing module 902 is used to calculate a third data quantity based on the information of the data packets received by the receiving module 901. The third data quantity is the data quantity corresponding to the remaining delay budget range of the data packets.
[0317] The communication device provided in this application embodiment can receive the data packet information of the terminal's PDCP layer after the data packet of the first LCG is transmitted to the RLC layer by the PDCP layer. Therefore, when the terminal's PDCP layer counts the data packet data amount into the third data amount corresponding to the remaining delay budget range of the data packet, it can count the data amount of the data packet into the third data amount based on the data packet information. This allows the terminal to generate the delay status information corresponding to the remaining delay budget range, i.e., the delay status information of the first LCG, based on the third data amount.
[0318] In one possible implementation, the processing module 902 is used to generate delay status information corresponding to the remaining delay budget range based on the third data volume.
[0319] In one possible implementation, the communication device 900 provided in this application embodiment further includes: a sending module; the sending module is used to send data packet information to the PDCP layer of the terminal.
[0320] In one possible implementation, the sending module is specifically configured to send data packet information to the PDCP layer of the terminal when the remaining delay budget of the data packet with the smallest remaining delay budget of the first LCG is less than or equal to a first preset threshold value; wherein the first preset threshold value is a remaining delay budget threshold used to trigger the delay status information reporting of the first LCG.
[0321] In one possible implementation, the data packet includes a first data packet and a second data packet, the information of the data packet includes: information of the first data packet and information of the second data packet, the remaining delay budget range includes a first remaining delay budget range and a second remaining delay budget range, the first data packet corresponds to the first remaining delay budget range, and the second data packet corresponds to the second remaining delay budget range.
[0322] In one possible implementation, processing module 902 is specifically used for any of the following:
[0323] Based on the information of the data packets received by the receiving module 901, the data volume corresponding to the first remaining delay budget range and the data volume corresponding to the second remaining delay budget range are counted in ascending order according to the sequence number of the remaining delay budget range.
[0324] Based on the information of the data packets received by the receiving module 901, after calculating the amount of data corresponding to the first remaining delay budget range, the amount of data corresponding to the second remaining delay budget range is calculated. The upper limit of the first remaining delay budget range is less than the lower limit of the second remaining delay budget range.
[0325] In one possible implementation, the third data volume includes: the data volume corresponding to the first remaining delay budget range and the data volume corresponding to the second remaining delay budget range;
[0326] The processing module 902 is specifically used to calculate the amount of data corresponding to the first remaining delay budget range based on the information of the first data packet, and to calculate the amount of data corresponding to the second remaining delay budget range based on the information of the second data packet.
[0327] In one possible implementation, the first data packet and the second data packet are data packets of the first LCH of the first LCG, and the transmission position of the second data packet on the first LCH is located before the transmission position of the first data packet on the first LCH; the processing module 902 is specifically used to include the data volume of the second data packet in the data volume corresponding to the first remaining delay budget range when the second data packet meets the second condition.
[0328] The second condition includes at least one of the following:
[0329] The second data packet does not have a corresponding remaining delay budget range;
[0330] The sequence number of the remaining delay budget range corresponding to the second data packet is greater than the sequence number of the first remaining delay budget range corresponding to the first data packet;
[0331] The lower limit of the remaining latency budget range corresponding to the second data packet is greater than the upper limit of the first remaining latency budget range corresponding to the first data packet.
[0332] In one possible implementation, the first LCG corresponds to at least one delay state information pair, and the remaining delay budget range corresponding to at least one delay state information pair includes the remaining delay budget range corresponding to the data packet.
[0333] The upper limit of the remaining delay budget range corresponding to the data packet is less than the lower limit of the fourth remaining delay budget range, which is any remaining delay budget range other than the remaining delay budget range corresponding to at least one delay status information pair; the processing module 902 is specifically used to include the data volume of the fifth data packet in the third data volume; wherein, the data packet type of the fifth data packet includes any of the following: PDCP control PDU, PDCP status PDU.
[0334] The communication device provided in this application embodiment can implement the various processes implemented in the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0335] like Figure 8As shown, this application embodiment also provides a communication device 2000, including a processor 2001 and a memory 2002. The memory 2002 stores a program or instructions that can be executed on the processor 2001. For example, when the communication device 2000 is a terminal, when the program or instructions are executed by the processor 2001, they implement the various steps of the above-described communication method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0336] This application also provides a terminal, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps in the above method embodiments. This terminal embodiment corresponds to the above terminal-side method embodiments; all implementation processes and methods of the above method embodiments can be applied to this terminal embodiment and achieve the same technical effect. The terminal can be... Figure 6 The communication device shown, or Figure 7 The communication device shown. Specifically, Figure 9 A schematic diagram of the hardware structure of a terminal to implement an embodiment of this application.
[0337] The terminal 100 includes, but is not limited to, at least some of the following components: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
[0338] Those skilled in the art will understand that the terminal 100 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 110 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 9 The terminal structure shown does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0339] It should be understood that, in this embodiment, the input unit 104 may include a graphics processor 1041 and a microphone 1042. The graphics processor 1041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.
[0340] In this embodiment, after receiving downlink data from the network-side device, the radio frequency unit 101 can transmit it to the processor 110 for processing; in addition, the radio frequency unit 101 can send uplink data to the network-side device. Typically, the radio frequency unit 101 includes, but is not limited to, antennas, amplifiers, transceivers, couplers, low-noise amplifiers, duplexers, etc.
[0341] The memory 109 can be used to store software programs or instructions, as well as various data. The memory 109 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 109 may include volatile memory or non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.
[0342] Processor 110 may include one or more processing units; optionally, processor 110 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 110.
[0343] In the terminal Figure 6 In the case of the communication device shown:
[0344] The radio frequency unit 101 is used to receive data packets and latency-related information from the PDCP layer of the terminal in the first LCG.
[0345] Among them, latency-related information includes at least one of the following:
[0346] The remaining latency budget range corresponding to the data packet;
[0347] The sequence number of the remaining delay budget range corresponding to the data packet;
[0348] The sequence number of the delay status information pair corresponding to the data packet;
[0349] The processor 110 is used to calculate the first data volume corresponding to the remaining delay budget range based on the delay-related information and data packets received by the radio frequency unit 101.
[0350] The terminal provided in this application embodiment can receive data packets of the first LCG transmitted by the terminal's PDCP layer, as well as at least one of the following: the remaining latency budget range corresponding to the received data packet, the sequence number of the remaining latency budget range corresponding to the data packet, and the sequence number of the latency status information pair corresponding to the data packet, i.e., the aforementioned latency-related information. Therefore, when the terminal's RLC layer counts the first data volume corresponding to the aforementioned remaining latency budget range, it can determine whether the data volume of the received data packet should be included in the first data volume based on the aforementioned latency-related information. This allows the terminal to generate latency status information corresponding to the remaining latency budget range, i.e., the latency status information of the first LCG, based on the first data volume counted by the RLC layer and the data volume corresponding to the remaining latency budget range counted by the PDCP layer.
[0351] In the terminal Figure 7 In the case of the communication device shown:
[0352] The radio frequency unit 101 is used to receive information from the RLC layer of the terminal. The data packet is the data packet of the first LCG that is transmitted from the PDCP layer to the RLC layer. The information of the data packet includes: the data packet sequence number and the data volume of the data packet.
[0353] The processor 110 is used to calculate a third data quantity based on the information of the data packets received by the radio frequency unit 101. The third data quantity is the data quantity corresponding to the remaining delay budget range of the data packets.
[0354] The terminal provided in this application embodiment can receive the data packet information after the data packet of the first LCG is transmitted to the RLC layer by the PDCP layer. Therefore, when the PDCP layer of the terminal counts the data packet in the third data quantity corresponding to the remaining delay budget range of the data packet, it can include the data quantity of the data packet in the third data quantity based on the data packet information. This allows the terminal to generate the delay status information corresponding to the remaining delay budget range, i.e. the delay status information of the first LCG, based on the third data quantity.
[0355] It is understood that the implementation process of each implementation method mentioned in this embodiment can refer to the relevant description of the above method embodiments and achieve the same or corresponding technical effects. To avoid repetition, it will not be described again here.
[0356] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described communication method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.
[0357] The processor mentioned above is either the processor in the terminal described in the above embodiments or the processor in the network-side device. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk. In some examples, the readable storage medium may be a non-transient readable storage medium.
[0358] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described communication method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0359] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0360] This application also provides a computer program / program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described communication method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0361] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0362] From the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of computer software products plus necessary general-purpose hardware platforms, and of course, they can also be implemented by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, magnetic disk, optical disk, etc.), and the computer software product includes several instructions to cause the terminal or network-side device to execute the methods described in the various embodiments of this application.
[0363] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other implementations under the guidance of this application without departing from the spirit and scope of the claims. All of these implementations are within the protection scope of this application.
Claims
1. A communication method, characterized in that, The method includes: The terminal's Radio Link Control (RLC) layer receives data packets and delay-related information from the Packet Data Convergence Protocol (PDCP) layer of the first Logical Channel Group (LCG). The time delay-related information includes at least one of the following: The remaining latency budget range corresponding to the data packet; The sequence number of the remaining delay budget range corresponding to the data packet; The sequence number of the delay status information pair corresponding to the data packet; The RLC layer of the terminal calculates the first data volume corresponding to the remaining latency budget range based on the latency-related information and the data packets.
2. The method according to claim 1, characterized in that, The sequence number of the remaining delay budget range includes any one of the following: The sequence number of the delay status information pair corresponding to the remaining delay budget range of the data packet; The sequence number of the delay status information pair corresponding to the data packet.
3. The method according to claim 1, characterized in that, The method further includes: The PDCP layer of the terminal sends the latency-related information to the RLC layer of the terminal.
4. The method according to claim 3, characterized in that, The PDCP layer of the terminal sends the latency-related information to the RLC layer of the terminal, including: If the remaining latency budget of the data packet is within the range of the remaining latency budget, the PDCP layer of the terminal sends the latency-related information to the RLC layer of the terminal.
5. The method according to claim 3, characterized in that, The PDCP layer of the terminal sends the latency-related information to the RLC layer of the terminal, including: If the remaining latency budget of the data packet with the smallest remaining latency budget in the first LCG is less than or equal to a first preset threshold, the PDCP layer of the terminal sends the latency-related information to the RLC layer of the terminal. The first preset threshold value is the remaining latency budget threshold used to trigger the latency status information reporting of the first LCG.
6. The method according to any one of claims 1 to 5, characterized in that, The data packet includes a first data packet and a second data packet, and the latency-related information includes a first latency-related information and a second latency-related information, wherein the first latency-related information corresponds to the first data packet, and the second latency-related information corresponds to the second data packet; The first delay-related information includes at least one of the following: The first remaining latency budget range corresponding to the first data packet; The sequence number of the first remaining delay budget range corresponding to the first data packet; The sequence number of the delay status information pair corresponding to the first data packet; The second delay-related information includes at least one of the following: The second remaining delay budget range corresponding to the second data packet; The sequence number of the second remaining delay budget range corresponding to the second data packet; The sequence number of the delay status information pair corresponding to the second data packet.
7. The method according to claim 6, characterized in that, The RLC layer of the terminal, based on the latency-related information and the data packets, calculates the first data volume corresponding to the remaining latency budget range, including: The RLC layer of the terminal, based on the latency-related information and the data packet, counts the amount of data corresponding to the first remaining latency budget range and the amount of data corresponding to the second remaining latency budget range in ascending order, according to the sequence number of the remaining latency budget range or the sequence number of the latency status information pair corresponding to the remaining latency budget range.
8. The method according to claim 6, characterized in that, The RLC layer of the terminal, based on the latency-related information and the data packets, calculates the first data volume corresponding to the remaining latency budget range, including: Based on the latency-related information and the data packets, the RLC layer of the terminal calculates the amount of data corresponding to the first remaining latency budget range, and then calculates the amount of data corresponding to the second remaining latency budget range. The upper limit of the first remaining latency budget range is less than the lower limit of the second remaining latency budget range.
9. The method according to claim 6, characterized in that, The first data volume includes: the data volume corresponding to the first remaining latency budget range and the data volume corresponding to the second remaining latency budget range; The RLC layer of the terminal, based on the latency-related information and the data packets, calculates the first data volume corresponding to the remaining latency budget range, including: The terminal's RLC layer calculates the amount of data corresponding to the first remaining latency budget range based on the first latency-related information and the first data packet, and calculates the amount of data corresponding to the second remaining latency budget range based on the second latency-related information and the second data packet.
10. The method according to claim 9, characterized in that, The first data packet and the second data packet are data packets of the first logical channel (LCH) of the first LCG, and the transmission position of the second data packet on the first LCH is before the transmission position of the first data packet on the first LCH. The terminal's RLC layer, based on the first latency-related information and the first data packet, calculates the amount of data corresponding to the first remaining latency budget range, including: If the second data packet satisfies the first condition, the RLC layer of the terminal will include the data volume of the second data packet in the data volume corresponding to the first remaining latency budget range; The first condition includes at least one of the following: The second data packet does not contain any corresponding latency-related information from the PDCP layer; The RLC layer of the terminal did not receive the second delay-related information corresponding to the second data packet from the PDCP layer of the terminal; The RLC layer of the terminal receives the second latency-related information from the PDCP layer of the terminal. The second latency-related information includes the lower limit of the second remaining latency budget range corresponding to the second data packet being greater than the upper limit of the first remaining latency budget range corresponding to the first data packet. The RLC layer of the terminal receives the second latency-related information from the PDCP layer of the terminal. The second latency-related information includes the sequence number of the second remaining latency budget range corresponding to the second data packet being greater than the sequence number of the first remaining latency budget range corresponding to the first data packet. The RLC layer of the terminal receives the second delay-related information from the PDCP layer of the terminal. The second delay-related information includes a delay status information pair corresponding to the second data packet whose sequence number is greater than the delay status information pair corresponding to the first data packet.
11. The method according to any one of claims 1 to 5, characterized in that, The first LCG corresponds to at least one delay state information pair, and the remaining delay budget range corresponding to the at least one delay state information pair includes the remaining delay budget range corresponding to the data packet; The upper limit of the remaining delay budget range corresponding to the data packet is less than the lower limit of the third remaining delay budget range, and the third remaining delay budget range is any remaining delay budget range other than the remaining delay budget range corresponding to the at least one delay state information pair. The RLC layer of the terminal, based on the latency-related information and the data packets, calculates the first data volume corresponding to the remaining latency budget range, including: The RLC layer of the terminal includes the data volume of the third data packet in the first data volume; The data packet type of the third data packet includes any of the following: RLC control PDU, RLC status PDU, RLC acknowledgment retransmission RLC PDU in AM mode, PDCP control PDU, and PDCP status PDU.
12. The method according to any one of claims 1 to 11, characterized in that, The method further includes: When the remaining latency budget range corresponding to the data packet changes, the PDCP layer of the terminal sends a third latency-related information to the RLC layer of the terminal; The third time delay-related information includes at least one of the following: The changed remaining latency budget range corresponding to the data packet; The sequence number of the changed remaining delay budget range corresponding to the data packet; The sequence number of the delay status information pair corresponding to the changed remaining delay budget range of the data packet.
13. The method according to any one of claims 1 to 11, characterized in that, The method further includes: The PDCP layer of the terminal calculates the second data volume corresponding to the remaining latency budget range based on the data cached by the PDCP layer. The terminal generates latency status information corresponding to the remaining latency budget range based on the first data volume and the second data volume.
14. The method according to claim 13, characterized in that, The latency budget range includes a first remaining latency budget range and a second remaining latency budget range; the PDCP layer of the terminal, based on the data cached by the PDCP layer, calculates the second data volume corresponding to the remaining latency budget range, including any one of the following: The PDCP layer of the terminal, based on the data cached by the PDCP layer, counts the amount of data corresponding to the first remaining latency budget range and the amount of data corresponding to the second remaining latency budget range in ascending order of the sequence number of the remaining latency budget range or the sequence number of the latency status information pair corresponding to the remaining latency budget range. The terminal's PDCP layer, based on the data cached by the PDCP layer, calculates the amount of data corresponding to the first remaining latency budget range after completing the calculation of the amount of data corresponding to the second remaining latency budget range. The upper limit of the first remaining latency budget range is less than the lower limit of the second remaining latency budget range.
15. The method according to claim 13 or 14, characterized in that, The first LCG corresponds to at least one delay state information pair, and the remaining delay budget range corresponding to the at least one delay state information pair includes the remaining delay budget range corresponding to the data packet; The upper limit of the remaining delay budget range corresponding to the data packet is less than the lower limit of the third remaining delay budget range, and the third remaining delay budget range is any remaining delay budget range other than the remaining delay budget range corresponding to the at least one delay state information pair. The terminal's PDCP layer, based on the data cached by the PDCP layer, calculates the second data volume corresponding to the remaining latency budget range, including: The PDCP layer of the terminal includes the data volume of the fourth data packet in the second data volume; The fourth data packet includes at least one of the following: PDCP control PDU and PDCP status PDU.
16. A communication method, characterized in that, The method includes: The PDCP layer of the terminal receives information about a data packet from the RLC layer of the terminal. The data packet is a data packet of the first LCG that is passed from the PDCP layer to the RLC layer. The information of the data packet includes: the data packet sequence number and the data size of the data packet. The PDCP layer of the terminal calculates a third data volume based on the information of the data packet. The third data volume is the data volume corresponding to the remaining latency budget range of the data packet.
17. The method according to claim 16, characterized in that, The method further includes: The terminal generates latency status information corresponding to the remaining latency budget range based on the third data volume.
18. The method according to claim 16 or 17, characterized in that, The method further includes: The RLC layer of the terminal sends the information of the data packet to the PDCP layer of the terminal.
19. The method according to claim 18, characterized in that, The information sent by the RLC layer of the terminal to the PDCP layer of the terminal includes: If the remaining latency budget of the data packet with the smallest remaining latency budget in the first LCG is less than or equal to a first preset threshold, the RLC layer of the terminal sends the information of the data packet to the PDCP layer of the terminal. The first preset threshold value is the remaining latency budget threshold used to trigger the latency status information reporting of the first LCG.
20. The method according to any one of claims 16 to 19, characterized in that, The data packet includes a first data packet and a second data packet. The information of the data packet includes the information of the first data packet and the information of the second data packet. The remaining latency budget range includes a first remaining latency budget range and a second remaining latency budget range. The first data packet corresponds to the first remaining latency budget range, and the second data packet corresponds to the second remaining latency budget range.
21. The method according to claim 20, characterized in that, The PDCP layer of the terminal calculates the third data volume based on the information in the data packet, including any one of the following: Based on the information in the data packet, the PDCP layer of the terminal counts the amount of data corresponding to the first remaining latency budget range and the amount of data corresponding to the second remaining latency budget range in ascending order of the sequence number of the remaining latency budget range. Based on the information in the data packet, the PDCP layer of the terminal calculates the amount of data corresponding to the first remaining latency budget range after completing the calculation of the amount of data corresponding to the second remaining latency budget range. The upper limit of the first remaining latency budget range is less than the lower limit of the second remaining latency budget range.
22. The method according to claim 20, characterized in that, The third data volume includes: the data volume corresponding to the first remaining latency budget range and the data volume corresponding to the second remaining latency budget range; The PDCP layer of the terminal calculates the third data volume based on the information in the data packet, including: The PDCP layer of the terminal calculates the amount of data corresponding to the first remaining latency budget range based on the information of the first data packet, and calculates the amount of data corresponding to the second remaining latency budget range based on the information of the second data packet.
23. The method according to claim 22, characterized in that, The first data packet and the second data packet are data packets of the first LCH of the first LCG, and the transmission position of the second data packet on the first LCH is before the transmission position of the first data packet on the first LCH. The PDCP layer of the terminal calculates the amount of data corresponding to the first remaining latency budget range based on the information in the first data packet, including: If the second data packet satisfies the second condition, the PDCP layer of the terminal will include the data volume of the second data packet in the data volume corresponding to the first remaining latency budget range; The second condition includes at least one of the following: The second data packet does not have a corresponding remaining delay budget range; The sequence number of the remaining delay budget range corresponding to the second data packet is greater than the sequence number of the first remaining delay budget range corresponding to the first data packet; The lower limit of the remaining latency budget range corresponding to the second data packet is greater than the upper limit of the first remaining latency budget range corresponding to the first data packet.
24. The method according to any one of claims 16 to 19, characterized in that, The first LCG corresponds to at least one delay state information pair, and the remaining delay budget range corresponding to the at least one delay state information pair includes the remaining delay budget range corresponding to the data packet; The upper limit of the remaining delay budget range corresponding to the data packet is less than the lower limit of the fourth remaining delay budget range, and the fourth remaining delay budget range is any remaining delay budget range other than the remaining delay budget range corresponding to the at least one delay state information pair. The PDCP layer of the terminal calculates a third data volume based on the information in the data packet, including: The PDCP layer of the terminal includes the data volume of the fifth data packet in the third data volume; The data packet type of the fifth data packet includes any of the following: PDCP control PDU, PDCP status PDU.
25. A communication device, characterized in that, The device includes: a receiving module and a processing module; The receiving module is used to receive data packets and latency-related information from the PDCP layer of the terminal in the first LCG. The time delay-related information includes at least one of the following: The remaining latency budget range corresponding to the data packet; The sequence number of the remaining delay budget range corresponding to the data packet; The sequence number of the delay status information pair corresponding to the data packet; The processing module is used to calculate the first data volume corresponding to the remaining latency budget range based on the latency-related information received by the receiving module and the data packet.
26. The apparatus according to claim 25, characterized in that, The sequence number of the remaining delay budget range includes any one of the following: The sequence number of the delay status information pair corresponding to the remaining delay budget range of the data packet; The sequence number of the delay status information pair corresponding to the data packet.
27. The apparatus according to claim 25, characterized in that, The device further includes: a transmitting module; The sending module is used to send the latency-related information to the RLC layer of the terminal.
28. The apparatus according to claim 27, characterized in that, The sending module is specifically used to send the latency-related information to the RLC layer of the terminal when the remaining latency budget of the data packet is within the range of the remaining latency budget.
29. The apparatus according to claim 27, characterized in that, The sending module is specifically used to send the latency-related information to the RLC layer of the terminal when the remaining latency budget of the data packet with the smallest remaining latency budget of the first LCG is less than or equal to a first preset threshold value. The first preset threshold value is the remaining latency budget threshold used to trigger the latency status information reporting of the first LCG.
30. The apparatus according to any one of claims 25 to 29, characterized in that, The data packet includes a first data packet and a second data packet, and the latency-related information includes a first latency-related information and a second latency-related information, wherein the first latency-related information corresponds to the first data packet, and the second latency-related information corresponds to the second data packet; The first delay-related information includes at least one of the following: The first remaining latency budget range corresponding to the first data packet; The sequence number of the first remaining delay budget range corresponding to the first data packet; The sequence number of the delay status information pair corresponding to the first data packet; The second delay-related information includes at least one of the following: The second remaining delay budget range corresponding to the second data packet; The sequence number of the second remaining delay budget range corresponding to the second data packet; The sequence number of the delay status information pair corresponding to the second data packet.
31. The apparatus according to claim 30, characterized in that, The processing module is specifically used to, based on the latency-related information and the data packet, sequentially count the amount of data corresponding to the first remaining latency budget range and the amount of data corresponding to the second remaining latency budget range in ascending order, according to the sequence number of the remaining latency budget range or the sequence number of the latency status information pair corresponding to the remaining latency budget range.
32. The apparatus according to claim 30, characterized in that, The processing module is specifically used to, based on the latency-related information and the data packet, after calculating the amount of data corresponding to the first remaining latency budget range, calculate the amount of data corresponding to the second remaining latency budget range, wherein the upper limit of the first remaining latency budget range is less than the lower limit of the second remaining latency budget range.
33. The apparatus according to claim 30, characterized in that, The first data volume includes: the data volume corresponding to the first remaining latency budget range and the data volume corresponding to the second remaining latency budget range; The processing module is specifically used to calculate the amount of data corresponding to the first remaining latency budget range based on the first latency-related information and the first data packet, and to calculate the amount of data corresponding to the second remaining latency budget range based on the second latency-related information and the second data packet.
34. The apparatus according to claim 33, characterized in that, The first data packet and the second data packet are data packets of the first LCH of the first LCG, and the transmission position of the second data packet on the first LCH is before the transmission position of the first data packet on the first LCH. The processing module is specifically used to include the data volume of the second data packet in the data volume corresponding to the first remaining delay budget range when the second data packet meets the first condition. The first condition includes at least one of the following: The second data packet does not contain any corresponding latency-related information from the PDCP layer; The RLC layer of the terminal did not receive the second delay-related information corresponding to the second data packet from the PDCP layer of the terminal; The RLC layer of the terminal receives the second latency-related information from the PDCP layer of the terminal. The second latency-related information includes the lower limit of the second remaining latency budget range corresponding to the second data packet being greater than the upper limit of the first remaining latency budget range corresponding to the first data packet. The RLC layer of the terminal receives the second latency-related information from the PDCP layer of the terminal. The second latency-related information includes the sequence number of the second remaining latency budget range corresponding to the second data packet being greater than the sequence number of the first remaining latency budget range corresponding to the first data packet. The RLC layer of the terminal receives the second delay-related information from the PDCP layer of the terminal. The second delay-related information includes a delay status information pair corresponding to the second data packet whose sequence number is greater than the delay status information pair corresponding to the first data packet.
35. The apparatus according to any one of claims 25 to 29, characterized in that, The first LCG corresponds to at least one delay state information pair, and the remaining delay budget range corresponding to the at least one delay state information pair includes the remaining delay budget range corresponding to the data packet; The upper limit of the remaining delay budget range corresponding to the data packet is less than the lower limit of the third remaining delay budget range, and the third remaining delay budget range is any remaining delay budget range other than the remaining delay budget range corresponding to the at least one delay state information pair. The processing module is specifically used to include the data volume of the third data packet in the first data volume; The data packet type of the third data packet includes any of the following: RLC control PDU, RLC status PDU, retransmission RLC PDU in RLCAM mode, PDCP control PDU, and PDCP status PDU.
36. The apparatus according to any one of claims 25 to 35, characterized in that, The sending module is also configured to send third delay-related information to the RLC layer of the terminal when the remaining delay budget range corresponding to the data packet changes; The third time delay-related information includes at least one of the following: The changed remaining latency budget range corresponding to the data packet; The sequence number of the changed remaining delay budget range corresponding to the data packet; The sequence number of the delay status information pair corresponding to the changed remaining delay budget range of the data packet.
37. The apparatus according to any one of claims 25 to 35, characterized in that, The processing module is further configured to, based on the data cached in the PDCP layer, calculate the second data volume corresponding to the remaining latency budget range, and generate latency status information corresponding to the remaining latency budget range based on the first data volume and the second data volume.
38. The apparatus according to claim 37, characterized in that, The latency budget range includes a first remaining latency budget range and a second remaining latency budget range; The processing module is specifically used for any of the following: Based on the data cached by the PDCP layer, the data volume corresponding to the first remaining latency budget range and the data volume corresponding to the second remaining latency budget range are counted in ascending order according to the sequence number of the remaining latency budget range or the sequence number of the latency status information pair corresponding to the remaining latency budget range. Based on the data cached by the PDCP layer, after calculating the amount of data corresponding to the first remaining latency budget range, the amount of data corresponding to the second remaining latency budget range is calculated. The upper limit of the first remaining latency budget range is less than the lower limit of the second remaining latency budget range.
39. The apparatus according to claim 37 or 38, characterized in that, The first LCG corresponds to at least one delay state information pair, and the remaining delay budget range corresponding to the at least one delay state information pair includes the remaining delay budget range corresponding to the data packet; The upper limit of the remaining delay budget range corresponding to the data packet is less than the lower limit of the third remaining delay budget range, and the third remaining delay budget range is any remaining delay budget range other than the remaining delay budget range corresponding to the at least one delay state information pair. The processing module is specifically used to include the data volume of the fourth data packet in the second data volume; The fourth data packet includes at least one of the following: PDCP control PDU and PDCP status PDU.
40. A communication device, characterized in that, The device includes: a receiving module and a processing module; The receiving module is used to receive information about data packets from the RLC layer of the terminal. The data packets are data packets of the first LCG that are transmitted from the PDCP layer to the RLC layer. The information about the data packets includes: the data packet sequence number and the data size of the data packets. The processing module is used to calculate a third data quantity based on the information of the data packet received by the receiving module. The third data quantity is the data quantity corresponding to the remaining delay budget range of the data packet.
41. The apparatus according to claim 40, characterized in that, The processing module is also used to generate latency status information corresponding to the remaining latency budget range based on the third data volume.
42. The apparatus according to claim 40 or 41, characterized in that, The device further includes: a transmitting module; The sending module is used to send the data packet information to the PDCP layer of the terminal.
43. The apparatus according to claim 42, characterized in that, The sending module is specifically used to send the information of the data packet to the PDCP layer of the terminal when the remaining delay budget of the data packet with the smallest remaining delay budget of the first LCG is less than or equal to a first preset threshold value. The first preset threshold value is the remaining latency budget threshold used to trigger the latency status information reporting of the first LCG.
44. The apparatus according to any one of claims 40 to 43, characterized in that, The data packet includes a first data packet and a second data packet. The information of the data packet includes the information of the first data packet and the information of the second data packet. The remaining latency budget range includes a first remaining latency budget range and a second remaining latency budget range. The first data packet corresponds to the first remaining latency budget range, and the second data packet corresponds to the second remaining latency budget range.
45. The apparatus according to claim 44, characterized in that, The processing module is specifically used for any of the following: Based on the information of the data packet received by the receiving module, the data volume corresponding to the first remaining delay budget range and the data volume corresponding to the second remaining delay budget range are counted in ascending order according to the sequence number of the remaining delay budget range; Based on the information of the data packets received by the receiving module, after calculating the amount of data corresponding to the first remaining delay budget range, the amount of data corresponding to the second remaining delay budget range is calculated, and the upper limit of the first remaining delay budget range is less than the lower limit of the second remaining delay budget range.
46. The apparatus according to claim 44, characterized in that, The third data volume includes: the data volume corresponding to the first remaining latency budget range and the data volume corresponding to the second remaining latency budget range; The processing module is specifically used to calculate the amount of data corresponding to the first remaining latency budget range based on the information of the first data packet, and to calculate the amount of data corresponding to the second remaining latency budget range based on the information of the second data packet.
47. The apparatus according to claim 46, characterized in that, The first data packet and the second data packet are data packets of the first LCH of the first LCG, and the transmission position of the second data packet on the first LCH is before the transmission position of the first data packet on the first LCH. The processing module is specifically used to include the data volume of the second data packet in the data volume corresponding to the first remaining delay budget range when the second data packet meets the second condition. The second condition includes at least one of the following: The second data packet does not have a corresponding remaining delay budget range; The sequence number of the remaining delay budget range corresponding to the second data packet is greater than the sequence number of the first remaining delay budget range corresponding to the first data packet; The lower limit of the remaining latency budget range corresponding to the second data packet is greater than the upper limit of the first remaining latency budget range corresponding to the first data packet.
48. The apparatus according to any one of claims 40 to 43, characterized in that, The first LCG corresponds to at least one delay state information pair, and the remaining delay budget range corresponding to the at least one delay state information pair includes the remaining delay budget range corresponding to the data packet; The upper limit of the remaining delay budget range corresponding to the data packet is less than the lower limit of the fourth remaining delay budget range, and the fourth remaining delay budget range is any remaining delay budget range other than the remaining delay budget range corresponding to the at least one delay state information pair. The processing module is specifically used to include the data volume of the fifth data packet in the third data volume; The data packet type of the fifth data packet includes any of the following: PDCP control PDU, PDCP status PDU.
49. A terminal, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the communication method as described in any one of claims 1 to 15, or to implement the steps of the communication method as described in any one of claims 16 to 24.
50. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the communication method as described in any one of claims 1 to 15, or implement the steps of the communication method as described in any one of claims 16 to 24.