Uplink data transmission method and device, equipment and storage medium

By receiving downlink control information in the terminal device and determining uplink data using PDCP cache data, and requesting PUSCH resources based on the amount of resources to be sent by the BSR, the problem of large delay and low efficiency of uplink data transmission in the prior art is solved, and more efficient uplink data transmission is achieved.

CN120224422APending Publication Date: 2025-06-27CHENGDU TD TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510264252.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-06
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

In the prior art, the uplink data transmission time delay is high and the efficiency is low, mainly because the terminal device needs to request PUSCH resources from the base station every time it transmits.

Method used

By receiving the uplink resource amount in the downlink control information DCI, combining the cached data of the uplink packet data aggregation protocol PDCP in the terminal device, the uplink data is determined, and whether the second cached data exists. If it does not exist, the amount of resources to be sent for the BSR is reported according to the buffer zone status, and the physical uplink shared channel PUSCH is determined, and the PUSCH is sent.

Benefits of technology

This method reduces the number of requests for base station resources, improves the efficiency of uplink data transmission, and reduces transmission delay.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120224422A_ABST
    Figure CN120224422A_ABST
Patent Text Reader

Abstract

The invention provides an uplink data transmission method and device, equipment and a storage medium. Relates to the technical field of communication. The method comprises: receiving downlink control information (DCI), the DCI comprising an uplink resource quantity of a physical uplink shared channel (PUSCH) resource allocated by a base station; determining uplink data according to the uplink resource quantity and first cache data of an uplink packet data convergence protocol PDCP in the terminal equipment; judging whether second cache data exists in the uplink PDCP or not; if not, determining a to-be-sent resource quantity corresponding to a buffer status report (BSR), the to-be-sent resource quantity being greater than a first threshold; and determining a physical uplink shared channel (PUSCH) according to the uplink data and the quantity of resources to be sent, and sending the PUSCH. According to the method provided by the invention, the uplink data transmission efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technologies, and in particular, to an uplink data transmission method, apparatus, device, and storage medium. Background Art

[0002] In the NR (New Radio) system, the base station generally allocates uplink resources to the terminal periodically. In order to send uplink data, the terminal requests physical uplink shared channel (PUSCH) resources from the base station through a scheduling request (SR).

[0003] In the prior art, when the terminal performs uplink data transmission with the base station, if there is no PUSCH resource available for the terminal to send uplink data, the terminal may send an SR to the base station to request PUSCH resources. However, every time the terminal performs uplink data transmission, it has to request PUSCH resources from the base station, which increases the delay of uplink data transmission and results in low efficiency of uplink data transmission. Summary of the Invention

[0004] This application provides an uplink data transmission method, apparatus, device, and storage medium to solve the problem of long delay in uplink data transmission and low efficiency of uplink data transmission in the prior art.

[0005] In a first aspect, this application provides an uplink data transmission method applied to a terminal device, including:

[0006] Receiving downlink control information DCI, where the DCI includes the uplink resource amount of the physical uplink shared channel PUSCH allocated by the base station;

[0007] Determining uplink data according to the uplink resource amount and the first buffered data of the uplink packet data convergence protocol PDCP in the terminal device;

[0008] Judging whether there is second buffered data in the uplink PDCP;

[0009] If not, determining the resource amount to be sent corresponding to the buffer status report BSR, where the resource amount to be sent is greater than a first threshold;

[0010] Determining the physical uplink shared channel PUSCH according to the uplink data and the resource amount to be sent, and sending the PUSCH.

[0011] In some possible embodiments, determining the resource amount to be sent corresponding to the buffer status report BSR includes:

[0012] Obtain the delay duration corresponding to the uplink PDCP, where the delay duration is used to indicate the duration for which the first data packet corresponding to the uplink PDCP stays in the uplink PDCP;

[0013] Determine the resource amount to be sent according to the delay duration, or determine a preset resource amount as the resource amount to be sent.

[0014] In some possible embodiments, determining the resource amount to be sent according to the delay duration includes:

[0015] Obtain a first resource amount and a second resource amount corresponding to the resource amount to be sent, where the second resource amount is greater than the first resource amount;

[0016] If the delay duration is less than a first time delay, determine the resource amount to be sent according to the second resource amount;

[0017] If the delay duration is greater than a second time delay, determine the resource amount to be sent according to the first resource amount, where the second time delay is greater than the first time delay;

[0018] If the delay duration is greater than or equal to the first time delay and less than or equal to the second time delay, determine the uplink resource amount as the resource amount to be sent.

[0019] In some possible embodiments, determining the resource amount to be sent according to the second resource amount includes:

[0020] Determine the sum of the uplink resource amount and an adjustment value as a first adjusted resource amount;

[0021] If the second resource amount is greater than or equal to the first adjusted resource amount, determine the second resource amount as the resource amount to be sent;

[0022] If the second resource amount is less than the first adjusted resource amount, determine the first adjusted resource amount as the resource amount to be sent.

[0023] In some possible embodiments, determining the resource amount to be sent according to the first resource amount includes:

[0024] Determine the difference between the uplink resource amount and the adjustment value as a second adjusted resource amount;

[0025] If the first resource amount is greater than or equal to the second adjusted resource amount, determine the second adjusted resource amount as the resource amount to be sent;

[0026] If the first resource amount is less than the second adjusted resource amount, determine the first resource amount as the resource amount to be sent.

[0027] In some possible embodiments, determining the amount of resources to be sent according to the delay duration includes:

[0028] Obtain a correspondence function;

[0029] Determine the amount of resources to be sent according to the correspondence function and the delay duration.

[0030] In some possible embodiments, determining uplink data according to the uplink resource amount and the first cached data of the uplink packet data convergence protocol (PDCP) in the terminal device includes:

[0031] If the uplink resource amount is greater than the amount of cached data corresponding to the first cached data, then determine the amount of padding packet data according to the uplink resource amount and the amount of cached data, and determine the padding packet corresponding to the amount of padding packet data and the cached data as the uplink data.

[0032] If the downlink resource amount is less than or equal to the amount of cached data, then determine the uplink data corresponding to the downlink resource amount from the cached data.

[0033] In some possible embodiments, after determining whether there is second cached data in the uplink PDCP, it further includes:

[0034] If so, determine the amount of cached data corresponding to the second cached data;

[0035] Determine the amount of cached data as the amount of resources to be sent.

[0036] In a second aspect, an embodiment of the present application provides a transmission device for uplink data, which is applied to a terminal device and includes a receiving module, a first determination module, a judgment module, a second determination module, a third determination module, and a sending module:

[0037] The receiving module is configured to receive downlink control information (DCI), and the DCI includes the uplink resource amount of the physical uplink shared channel (PUSCH) resources allocated by the base station;

[0038] The first determination module is configured to determine uplink data according to the uplink resource amount and the first cached data of the uplink packet data convergence protocol (PDCP) in the terminal device;

[0039] The judgment module is configured to judge whether there is second cached data in the uplink PDCP;

[0040] The second determination module is configured to, if not, determine the amount of resources to be sent corresponding to the buffer status report (BSR), and the amount of resources to be sent is greater than a first threshold;

[0041] The third determination module is configured to determine a Physical Uplink Shared Channel (PUSCH) according to the uplink data and the resource amount to be transmitted.

[0042] The sending module is configured to send the PUSCH.

[0043] In some possible embodiments, the second determination module is specifically configured to:

[0044] Obtain a delay duration corresponding to the uplink PDCP, where the delay duration is used to indicate the duration for which the first data packet corresponding to the uplink PDCP stays in the uplink PDCP;

[0045] Determine the resource amount to be transmitted according to the delay duration, or determine a preset resource amount as the resource amount to be transmitted.

[0046] In some possible embodiments, the second determination module is specifically configured to:

[0047] Obtain a first resource amount and a second resource amount corresponding to the resource amount to be transmitted, where the second resource amount is greater than the first resource amount;

[0048] If the delay duration is less than a first time delay, determine the resource amount to be transmitted according to the second resource amount;

[0049] If the delay duration is greater than a second time delay, determine the resource amount to be transmitted according to the first resource amount, where the second time delay is greater than the first time delay;

[0050] If the delay duration is greater than or equal to the first time delay and less than or equal to the second time delay, determine the uplink resource amount as the resource amount to be transmitted.

[0051] In some possible embodiments, the second determination module is specifically configured to:

[0052] Determine the sum of the uplink resource amount and an adjustment value as a first adjusted resource amount;

[0053] If the second resource amount is greater than or equal to the first adjusted resource amount, determine the second resource amount as the resource amount to be transmitted;

[0054] If the second resource amount is less than the first adjusted resource amount, determine the first adjusted resource amount as the resource amount to be transmitted.

[0055] In some possible embodiments, the second determination module is specifically configured to:

[0056] Determine the difference between the uplink resource amount and an adjustment value as a second adjusted resource amount;

[0057] If the first resource amount is greater than or equal to the second adjusted resource amount, then determine the second adjusted resource amount as the resource amount to be sent;

[0058] If the first resource amount is less than the second adjusted resource amount, then determine the first resource amount as the resource amount to be sent.

[0059] In some possible embodiments, the second determination module is specifically configured to:

[0060] Obtain a correspondence function;

[0061] Determine the resource amount to be sent according to the correspondence function and the delay duration.

[0062] In some possible embodiments, the first determination module is specifically configured to:

[0063] If the uplink resource amount is greater than the amount of cached data corresponding to the first cached data, then determine the padding packet data amount according to the uplink resource amount and the amount of cached data, and determine the padding packet corresponding to the padding packet data amount and the cached data as the uplink data.

[0064] If the downlink resource amount is less than or equal to the amount of cached data, then determine the uplink data corresponding to the downlink resource amount from the cached data.

[0065] In some possible embodiments, the apparatus further includes a fourth determination module and a fifth determination module:

[0066] The fourth determination module is configured to, if so, determine the amount of cached data corresponding to the second cached data;

[0067] The fifth determination module is configured to determine the amount of cached data as the resource amount to be sent.

[0068] In a third aspect, an embodiment of the present application provides an electronic device, including: at least one processor and a memory; the memory stores computer-executable instructions; the at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the transmission method of the uplink data as described in the first aspect and various possible designs of the first aspect above.

[0069] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the transmission method of the uplink data as described in the first aspect and various possible designs of the first aspect above is implemented.

[0070] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program which, when executed by a processor, implements the method for transmitting uplink data described in the first aspect above and various possible designs of the first aspect.

[0071] The method, apparatus, device, and storage medium for transmitting uplink data provided in the present application can determine uplink data according to the uplink resource amount and the first buffered data of the Packet Data Convergence Protocol (PDCP) in the terminal device; determine whether there is second buffered data in the uplink PDCP; if not, determine the resource amount to be transmitted corresponding to the Buffer Status Report (BSR), where the resource amount to be transmitted is greater than a first threshold; determine a Physical Uplink Shared Channel (PUSCH) according to the uplink data and the resource amount to be transmitted, and transmit the PUSCH. In the above process, after the buffered data in the uplink PDCP of the terminal device is sent, the terminal device still requests resources from the base station through the BSR, so that the base station can always provide PUSCH resources to the base station. When the terminal device needs to send uplink data to the base station, it can directly perform uplink data transmission without requesting resources through the Scheduling Request (SR), which can improve the efficiency of uplink data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present application and used together with the specification to explain the principles of the present application.

[0073] Figure 1 FIG. is a schematic diagram of an application scenario provided by an embodiment of the present application;

[0074] Figure 2 FIG. is a schematic flowchart of a method for transmitting uplink data provided by an embodiment of the present application;

[0075] Figure 3 FIG. is a schematic flowchart of another method for transmitting uplink data provided by an embodiment of the present application;

[0076] Figure 4 FIG. is an interaction schematic diagram provided by an embodiment of the present application;

[0077] Figure 5 FIG. is a schematic structural diagram of an apparatus for transmitting uplink data provided by an embodiment of the present application;

[0078] Figure 6 FIG. is a schematic structural diagram of an electronic device provided by an embodiment of the present application.

[0079] Through the above accompanying drawings, specific embodiments of the present application have been shown, and there will be more detailed descriptions hereinafter. These accompanying drawings and the textual descriptions are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. Detailed implementation manners

[0080] Here, exemplary embodiments will be described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0081] In the embodiments of the present application, the term "at least one" means one or more. "Multiple" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single item or plural items. For example, at least one of a, b, or c can represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, or c can include one element or multiple elements.

[0082] In the embodiments of the present application, the term "and / or" describes the association relationship between associated objects and indicates that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0083] In the embodiments of the present application, the descriptions such as first and second are only for schematic and differentiating the described objects, without an order, nor do they particularly limit the number of objects in the embodiments of the present application, and cannot constitute any limitation to the embodiments of the present application. For example, the descriptions such as using the first cache data and the second cache data are only for differentiating different cache data, rather than indicating different priorities or importance degrees of these two cache data.

[0084] In the embodiments of the present application, "exemplary", "in some embodiments", "in other embodiments", etc. are used to give examples, illustrations or explanations. Any embodiment or design solution described as "exemplary" in the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Exactly speaking, the use of the word "exemplary" aims to present concepts in a specific way.

[0085] The terminal device involved in the embodiments of the present application can also be referred to as a UE, including various forms of access terminals, user units, user stations, mobile stations, mobile stations (mobile station, MS), remote stations, remote terminals, mobile devices, user terminals, wireless communication devices, user agents or user devices. The UE can also be a cellular phone, cordless phone, session initiation protocol (SIP) phone, wireless local loop (WLL) station, personal digital assistant (PDA), handheld device with wireless communication function, computing device or other processing device connected to a wireless modem, in-vehicle device, wearable device, terminal in a 5G network or a terminal in a future evolved public land mobile network (PLMN), etc. The embodiments of the present application are not limited thereto.

[0086] The base station involved in the embodiments of the present application may include multiple cells that provide services to UEs. According to different specific application scenarios, the base station may also be referred to as an access point, or may be a device in the access network that communicates with wireless terminals through one or more sectors over the air interface, or other names. For example, the base station involved in the embodiments of the present application may be an evolved network device (evolutional Node B, eNB or e-NodeB) in an LTE system, a 5G base station (gNB) in a 5G network architecture (next generationsystem), etc., or may also be a Home evolved Node B (HeNB), relay node, femto, pico, network test device, etc. The embodiments of the present application are not limited thereto.

[0087] Figure 1 It is a schematic diagram of an application scenario provided for the embodiments of the present application. Please refer to Figure 1 , which may include a terminal device 101 and a base station 102.

[0088] The terminal device 101 can be a RedCap (Reduced Capability) device. RedCap is a key technology in the 5G NR (NewRadio) standard, aiming to provide a more efficient and lower-cost connection method for Internet of Things (IoT) and machine type communication (MTC) devices. The terminal device 101 can communicate with the base station 102 via 5G and / or 4G.

[0089] When the terminal device 101 has uplink data packets to send, the terminal device 101 can send an uplink scheduling request (SR) to the base station 102. The terminal device 101 determines that there are data packets to be sent and then sends an SR to the base station 102, and there is a request waiting duration for the SR. After receiving the SR, the base station 102 sends downlink control information (DCI) on the Physical Downlink Control Channel (PDCCH). The terminal device 102 can receive the DCI, and the DCI may include the uplink resource amount of the Physical Uplink Shared Channel (PUSCH) resources allocated by the base station 102 to the terminal device 101.

[0090] The terminal device 101 can send a PUSCH, and the PUSCH includes uplink data corresponding to the uplink resource amount and a Buffer Status Report (BSR). The BSR is used to indicate to the base station 102 the amount of data in the uplink Packet Data Convergence Protocol (PDCP) buffer of the terminal device 101.

[0091] In the prior art, when the terminal device performs uplink data transmission with the base station, if there is no PUSCH resource for the terminal device to send uplink data, the terminal can send an SR to the base station to request PUSCH resources. However, each time the terminal performs uplink data transmission, it has to request PUSCH resources from the base station, which increases the delay of uplink data transmission and results in low efficiency of uplink data transmission.

[0092] Please refer to Figure 1 , when the base station 102 receives a BSR greater than 0, the base station 102 will continue to schedule resources for the terminal device 101. If the terminal device 101 sends a BSR greater than 0 to the base station 102 when there is no data packet to send, then when there is data to be sent at the terminal device 101, it can directly send the data through the PUSCH.

[0093] In the uplink data transmission method provided by this application, uplink data can be determined based on the uplink resource amount and the first buffered data of the uplink packet data convergence protocol (PDCP) in the terminal device; it is determined whether there is second buffered data in the uplink PDCP; if not, the resource amount to be transmitted corresponding to the buffer status report (BSR) is determined, and the resource amount to be transmitted is greater than the first threshold; based on the uplink data and the resource amount to be transmitted, a physical uplink shared channel (PUSCH) is determined and the PUSCH is transmitted. In the above process, after the buffered data in the uplink PDCP of the terminal device is sent, resources are still requested from the base station through the BSR, so that the base station can always provide PUSCH resources to the base station, enabling the terminal device to directly perform uplink data transmission without requesting resources through the scheduling request (SR) when it needs to send uplink data to the base station, which can improve the efficiency of uplink data transmission.

[0094] The technical solution of this application and how the technical solution of this application solves the above technical problems will be described in detail below with specific embodiments. These specific embodiments below can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.

[0095] Figure 2 It is a schematic flowchart of a method for transmitting uplink data provided by an embodiment of this application. Please refer to Figure 2 The method may include:

[0096] S201. Receive downlink control information (DCI).

[0097] The execution subject of the embodiment of this application may be a terminal device or an uplink data transmission device disposed in the terminal device. The uplink data transmission device may be implemented by software or by a combination of software and hardware.

[0098] The DCI may include the uplink resource amount of the physical uplink shared channel (PUSCH) resources allocated by the base station, where the uplink resource amount may be used to indicate the data amount corresponding to the uplink data transmitted by the terminal device through the PUSCH resources.

[0099] S202. Determine uplink data based on the uplink resource amount and the first buffered data of the uplink packet data convergence protocol (PDCP) in the terminal device.

[0100] The PDCP layer is located in the L2 layer of the 5G protocol stack. PDCP can be used for data segmentation and recombination, header compression and decompression, encryption and decryption, and buffer management.

[0101] The PDCP layer of the terminal device caches the data packets to be transmitted. When the user equipment (UE) has data to send, the data packets are stored in the PDCP buffer and wait for the allocation of uplink resources.

[0102] In some possible embodiments, if the uplink resource amount is greater than the buffer data amount corresponding to the first buffer data, then according to the uplink resource amount and the buffer data amount, the padding packet data amount is determined, and the padding packet corresponding to the padding packet data amount and the buffer data are determined as the uplink data.

[0103] The padding packet is a Padding packet, which refers to adding extra padding data to a data packet to meet specific length requirements or alignment requirements.

[0104] In some possible embodiments, if the downlink resource amount is less than or equal to the buffer data amount, then in the buffer data, the uplink data corresponding to the downlink resource amount is determined.

[0105] S203. Determine whether there is second buffer data in the uplink PDCP.

[0106] If there is no second buffer data in the uplink PDCP, that is, the buffer of the uplink PDCP is empty, it means there is no data to be sent.

[0107] If there is no second buffer data in the uplink PDCP, that is, the buffer of the uplink PDCP is not empty, it means there is data to be sent.

[0108] S204. If not, then determine the resource amount to be sent corresponding to the buffer status report BSR.

[0109] The BSR can be used to inform the base station of the buffer status of the terminal device, that is, how much data the terminal device still needs to send. The resource amount to be sent is the specific data amount corresponding to the BSR.

[0110] The resource amount to be sent is greater than the first threshold, and the first threshold can be 0.

[0111] That is to say, even if the terminal device does not store the data to be sent, it can still feedback to the base station through the BSR that there is data to be sent, so that the base station can allocate resources to the terminal device. When the terminal device needs to perform uplink data transmission, it can directly send through the PUSCH without requesting resources through the SR and waiting for the base station to allocate resources, which can improve the uplink data transmission efficiency.

[0112] In some possible embodiments, a preset resource amount can be obtained and determined as the resource amount to be sent. Among them, the value range of the preset resource amount can be 1 to 4096 bytes. For example, the preset resource amount can be 512 bytes.

[0113] In some possible embodiments, the delay duration corresponding to the uplink PDCP can be obtained; according to the delay duration, the resource amount to be sent is determined, or the preset resource amount is determined as the resource amount to be sent.

[0114] The delay duration can be used to indicate the duration for which the first data packet corresponding to the uplink PDCP stays in the uplink PDCP.

[0115] For the specific implementation process, reference can be made to the embodiments below, and details will not be elaborated here.

[0116] S205. Determine a physical uplink shared channel (PUSCH) according to the uplink data and the amount of resources to be sent, and send the PUSCH.

[0117] The PUSCH also includes a Power Headroom Report (PHR). The PHR is used to indicate the power headroom of the terminal device to the base station, where the power headroom is the difference between the current transmission power of the terminal device and the maximum allowable transmission power.

[0118] In some possible embodiments, in the communication settings interface of the terminal device, the terminal device can choose to enable the uplink data transmission method provided in the embodiments of the present application, or can also disable the uplink data transmission method provided in the embodiments of the present application.

[0119] The uplink data transmission method provided in the embodiments of the present application can determine uplink data according to the uplink resource amount and the first buffered data of the uplink packet data convergence protocol (PDCP) in the terminal device; determine whether there is second buffered data in the uplink PDCP; if not, determine the amount of resources to be sent corresponding to the buffer status report (BSR), and the amount of resources to be sent is greater than a first threshold; determine a physical uplink shared channel (PUSCH) according to the uplink data and the amount of resources to be sent, and send the PUSCH. In the above process, after the buffered data in the uplink PDCP of the terminal device is sent, the terminal device can still request resources from the base station through the BSR, so that the base station can always provide PUSCH resources to the base station. When the terminal device needs to send uplink data to the base station, it does not need to request resources through the scheduling request (SR), and can directly perform uplink data transmission, which can improve the efficiency of uplink data transmission.

[0120] Figure 3 It is a schematic flowchart of another uplink data transmission method provided in the embodiments of the present application. Please refer to Figure 3 This method may include:

[0121] S301. Receive downlink control information (DCI).

[0122] S302. Determine uplink data according to the uplink resource amount and the first buffered data of the uplink packet data convergence protocol (PDCP) in the terminal device.

[0123] For the implementation processes of S301 - S302, reference can be made to the implementation processes of S201 - S202, and details will not be elaborated here.

[0124] S303. Determine whether there is second buffered data in the uplink PDCP;

[0125] If not, perform step S304;

[0126] If so, perform step S306.

[0127] S304. Obtain the delay duration corresponding to the uplink PDCP.

[0128] The delay duration can be used to indicate the duration for which the first data packet corresponding to the uplink PDCP stays in the uplink PDCP.

[0129] If the delay duration is shorter, the base station can allocate more resources, the congestion level of the base station is lower, and the terminal device can apply for more resources; if the delay duration is longer, the base station can allocate fewer resources, the congestion level of the base station is higher, and the terminal device can apply for fewer resources.

[0130] S305. Determine the amount of resources to be sent according to the delay duration.

[0131] The specific implementation process of determining the amount of resources to be sent according to the delay duration can refer to the following two methods.

[0132] Method 1: Determine the amount of resources to be sent corresponding to the delay duration by setting a range interval.

[0133] Specifically, the first amount of resources and the second amount of resources corresponding to the amount of resources to be sent can be obtained, and the second amount of resources is greater than the first amount of resources; if the delay duration is less than the first time delay, the amount of resources to be sent is determined according to the second amount of resources; if the delay duration is greater than the second time delay, the amount of resources to be sent is determined according to the first amount of resources, and the second time delay is greater than the first time delay; if the delay duration is greater than or equal to the first time delay and less than or equal to the second time delay, the uplink resource amount is determined as the amount of resources to be sent.

[0134] The first amount of resources is used to indicate the minimum amount of resources, and the second amount of resources is used to indicate the maximum amount of resources.

[0135] The first threshold can be the first amount of resources or 0.

[0136] The following formula can be referred to:

[0137]

[0138] where T is the delay duration, T low is the first time delay, T high is the second time delay, M DATA (n) is the amount of resources to be sent corresponding to the current time n, M DATA(n - 1) is the amount of resources to be sent corresponding to the previous moment n - 1 (i.e., the uplink resource amount at the current moment), M min is the first resource amount, M max is the second resource amount, and α is the adjustment value.

[0139] If the delay duration is shorter, the base station can allocate more resources, the congestion degree of the base station is lower, the terminal device can request more resources, and the amount of resources to be sent is larger.

[0140] Specifically, when the delay duration is less than the first delay, the sum of the uplink resource amount and the adjustment value can be determined as the first adjusted resource amount; if the second resource amount is greater than or equal to the first adjusted resource amount, the second resource amount is determined as the amount of resources to be sent; if the second resource amount is less than the first adjusted resource amount, the first adjusted resource amount is determined as the amount of resources to be sent.

[0141] If the delay duration is longer, the base station can allocate fewer resources, the congestion degree of the base station is higher, the terminal device can request fewer resources, and the amount of resources to be sent is smaller.

[0142] Specifically, when the delay duration is greater than the second delay, the difference between the uplink resource amount and the adjustment value can be determined as the second adjusted resource amount; if the first resource amount is greater than or equal to the second adjusted resource amount, the second adjusted resource amount is determined as the amount of resources to be sent; if the first resource amount is less than the second adjusted resource amount, the first resource amount is determined as the amount of resources to be sent.

[0143] The value ranges of the first delay and the second delay can be between (0, 500), and the unit is millisecond ms.

[0144] In some possible embodiments, the first delay can be 10 ms and the second delay can be 50 ms.

[0145] In some possible embodiments, the first resource amount can be 1024 bytes and the second resource amount can be 256 bytes.

[0146] In the embodiments of the present application, by obtaining the first resource amount and the second resource amount corresponding to the amount of resources to be sent, when the delay duration is less than the first delay, the amount of resources to be sent is determined according to the second resource amount; when the delay duration is greater than the second delay, the amount of resources to be sent is determined according to the first resource amount; when the delay duration is greater than or equal to the first delay and less than or equal to the second delay, the uplink resource amount is determined as the amount of resources to be sent. The amount of resources to be sent can be determined according to the delay situation, so that when the base station is relatively congested, the resource request amount can be reduced, thereby reducing the impact on the base station when processing information of other terminal devices.

[0147] Method 2: Determine the adaptive size of the amount of resources to be sent through a correspondence function.

[0148] Specifically, a correspondence function can be obtained; based on the correspondence function and the delay duration, the amount of resources to be sent is determined.

[0149] Multiple historical delay durations and the amount of resources sent corresponding to each historical delay duration can be obtained. By analyzing and processing the relationship between the multiple historical delay durations and the amount of resources sent corresponding to each historical delay duration, a correspondence function can be obtained.

[0150] In some possible embodiments, through a neural network, the multiple historical delay durations and the amount of resources sent corresponding to each historical delay duration are learned to obtain a relationship model corresponding to the correspondence function. When the delay duration is input into the relationship model, the amount of resources to be sent can be obtained.

[0151] In some possible embodiments, through correlation analysis, the relationship between each historical delay duration and the amount of resources sent corresponding to it is determined to obtain the correspondence function.

[0152] In the embodiments of the present application, by using the correspondence function to determine the amount of resources to be sent, the flexibility of requesting resources from the base station can be improved.

[0153] S306. Determine the amount of cached data corresponding to the second cached data.

[0154] In the uplink PDCP, the first cached data to be sent can be cached. After receiving the DCI, according to the amount of uplink resources allocated in the DCI, the uplink data corresponding to the amount of uplink resources is determined from the first cached data cached in the uplink PDCP, and the uplink data is sent through the PUSCH.

[0155] There may be second cached data in the uplink PDCP that needs to be sent through the PUSCH next time, and the amount of cached data corresponding to the second cached data can be determined.

[0156] S307. Determine the amount of cached data as the amount of resources to be sent.

[0157] The amount of cached data can be determined as the amount of resources to be sent to request resources from the base station.

[0158] S308. Determine the physical uplink shared channel PUSCH according to the uplink data and the amount of resources to be sent, and send the PUSCH.

[0159] The execution process of S308 can refer to the execution process of S205 and will not be elaborated here.

[0160] The uplink data transmission method provided by the embodiments of this application can, after the cached data in the uplink PDCP of the terminal device is sent, still request resources from the base station through the BSR, so that the base station can always provide PUSCH resources to the base station. When the terminal device needs to send uplink data to the base station, it does not need to request resources through the SR and can directly perform uplink data transmission, which can improve the efficiency of uplink data transmission. At the same time, when there is no cached data in the uplink PDCP, when requesting resources from the base station through the BSR, the congestion situation of the base station can be determined according to the delay duration when the base station processes the first data packet corresponding to the uplink PDCP, and then the amount of resources to be sent corresponding to the BSR can be determined, which can improve the flexibility of resource requests. When the base station is relatively congested, reducing the amount of resources to be sent can reduce the occupation of base station resources and improve the processing capacity of the base station.

[0161] Figure 4 It is an interaction schematic diagram provided by the embodiments of this application. Please refer to Figure 4 , including the terminal device 101 and the base station 102. When there is no uplink data packet in the uplink PDCP of the terminal device 101, in the PUSCH, the padding packet can be used to occupy the resource position in the PUSCH. At the same time, the amount of resources to be sent corresponding to the BSR is greater than the first threshold (the first threshold is 0 in the figure), so that the base station 102 can continue to schedule resources for the terminal device 101. After there is an uplink data packet in the terminal device 101, the uplink data packet can be directly uploaded in the PUSCH, which can improve the efficiency of uplink data transmission.

[0162] Figure 5 It is a schematic structural diagram of an uplink data transmission device provided by the embodiments of this application. Please refer to Figure 5 , the uplink data transmission device 500 may include a receiving module 501, a first determining module 502, a judging module 503, a second determining module 504, a third determining module 505, and a sending module 506:

[0163] The receiving module 501 is configured to receive downlink control information DCI, and the DCI includes the amount of uplink resources of the physical uplink shared channel PUSCH allocated by the base station;

[0164] The first determining module 502 is configured to determine uplink data according to the amount of uplink resources and the first cached data of the uplink packet data convergence protocol PDCP in the terminal device;

[0165] The judging module 503 is configured to judge whether there is second cached data in the uplink PDCP;

[0166] The second determining module 504 is configured to, if not, determine the amount of resources to be sent corresponding to the buffer status report BSR, and the amount of resources to be sent is greater than the first threshold;

[0167] The third determination module 505 is configured to determine a Physical Uplink Shared Channel (PUSCH) according to uplink data and the amount of resources to be transmitted.

[0168] The sending module 506 is configured to send the PUSCH.

[0169] The data transmission device provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments, and the implementation principles and beneficial effects are similar, which will not be elaborated here.

[0170] In some possible embodiments, the second determination module 504 is specifically configured to:

[0171] Obtain the delay duration corresponding to the uplink PDCP, where the delay duration is used to indicate the duration for which the first data packet corresponding to the uplink PDCP stays in the uplink PDCP.

[0172] Determine the amount of resources to be transmitted according to the delay duration, or determine the preset amount of resources as the amount of resources to be transmitted.

[0173] In some possible embodiments, the second determination module 504 is specifically configured to:

[0174] Obtain a first amount of resources and a second amount of resources corresponding to the amount of resources to be transmitted, where the second amount of resources is greater than the first amount of resources.

[0175] If the delay duration is less than the first time delay, determine the amount of resources to be transmitted according to the second amount of resources.

[0176] If the delay duration is greater than the second time delay, determine the amount of resources to be transmitted according to the first amount of resources, where the second time delay is greater than the first time delay.

[0177] If the delay duration is greater than or equal to the first time delay and less than or equal to the second time delay, determine the uplink amount of resources as the amount of resources to be transmitted.

[0178] In some possible embodiments, the second determination module 504 is specifically configured to:

[0179] Determine the sum of the uplink amount of resources and the adjustment value as the first adjusted amount of resources.

[0180] If the second amount of resources is greater than or equal to the first adjusted amount of resources, determine the second amount of resources as the amount of resources to be transmitted.

[0181] If the second amount of resources is less than the first adjusted amount of resources, determine the first adjusted amount of resources as the amount of resources to be transmitted.

[0182] In some possible embodiments, the second determination module 504 is specifically configured to:

[0183] Determine the difference between the uplink resource amount and the adjustment value as the second adjusted resource amount;

[0184] If the first resource amount is greater than or equal to the second adjusted resource amount, determine the second adjusted resource amount as the resource amount to be sent;

[0185] If the first resource amount is less than the second adjusted resource amount, determine the first resource amount as the resource amount to be sent.

[0186] In some possible embodiments, the second determination module 504 is specifically configured to:

[0187] Obtain the correspondence function;

[0188] Determine the resource amount to be sent according to the correspondence function and the delay duration.

[0189] In some possible embodiments, the first determination module 502 is specifically configured to:

[0190] If the uplink resource amount is greater than the cache data amount corresponding to the first cache data, determine the padding packet data amount according to the uplink resource amount and the cache data amount, and determine the padding packet corresponding to the padding packet data amount and the cache data as the uplink data.

[0191] If the downlink resource amount is less than or equal to the cache data amount, determine the uplink data corresponding to the downlink resource amount in the cache data.

[0192] In some possible embodiments, the apparatus further includes a fourth determination module and a fifth determination module:

[0193] The fourth determination module is configured to determine the cache data amount corresponding to the second cache data if it is;

[0194] The fifth determination module is configured to determine the cache data amount as the resource amount to be sent.

[0195] The data transmission apparatus provided in the embodiments of the present application can execute the technical solutions shown in the above method embodiments, and its implementation principles and beneficial effects are similar, and will not be described in detail here.

[0196] Figure 6 It is a schematic structural diagram of an electronic device provided in an embodiment of the present application. Please refer to Figure 6 , the electronic device 600 may include at least one processor 601 and a memory 602. Exemplarily, the processor 601 and the memory 602 are connected to each other through a bus 603.

[0197] The memory 602 stores computer execution instructions;

[0198] The processor 601 executes the computer-executable instructions stored in the memory 602, so that the processor 601 executes the uplink data transmission method as shown in the above method embodiments.

[0199] Correspondingly, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, they are used to implement the uplink data transmission method of the above method embodiments.

[0200] Correspondingly, an embodiment of the present application can also provide a computer program product, including a computer program, which when executed by a processor, can implement the uplink data transmission method shown in the above method embodiments.

[0201] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0202] The present invention is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, and the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0203] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0204] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 steps of the functions specified in one block or multiple blocks.

[0205] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and memory.

[0206] The memory may include non-permanent memory in the computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.

[0207] Computer-readable media includes permanent and non-permanent, removable and non-removable media and can be implemented by any method or technology for information storage. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.

[0208] It should also be noted that the term "comprising", "including" or any other variation thereof is intended to cover non-exclusive inclusion, so that a process, method, commodity or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, commodity or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the existence of additional identical elements in the process, method, commodity or device comprising the element.

[0209] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.

Claims

1. A method for transmitting uplink data, characterized in that: Applied to terminal equipment, including: receiving downlink control information DCI, where the DCI includes an uplink resource amount of a physical uplink shared channel PUSCH resource allocated by a base station; Determining uplink data according to the uplink resource amount and first cache data of an uplink packet data convergence protocol PDCP in the terminal device; Determining whether there is second cache data in the uplink PDCP; If not, determining the amount of resources to be sent corresponding to the buffer status report BSR, and the amount of resources to be sent is greater than the first threshold; A physical uplink shared channel PUSCH is determined according to the uplink data and the amount of resources to be sent, and the PUSCH is sent.

2. The method according to claim 1, characterized in that: Determining the amount of resources to be sent corresponding to the buffer status report BSR includes: Obtaining a delay duration corresponding to the uplink PDCP, where the delay duration is used to indicate a duration for which a first data packet corresponding to the uplink PDCP stays in the uplink PDCP; The amount of resources to be sent is determined according to the delay duration, or a preset amount of resources is determined as the amount of resources to be sent.

3. The method according to claim 2, characterized in that Determining the amount of resources to be sent according to the delay duration includes: Acquire a first resource amount and a second resource amount corresponding to the to-be-sent resource amount, wherein the second resource amount is greater than the first resource amount; If the delay duration is less than the first delay, determining the amount of resources to be sent according to the second amount of resources; If the delay time is greater than a second delay, determining the amount of resources to be sent according to the first amount of resources, and the second delay is greater than the first delay; If the delay time is greater than or equal to the first delay and less than or equal to the second delay, the uplink resource amount is determined as the to-be-sent resource amount.

4. The method according to claim 3, characterized in that Determining the amount of resources to be sent according to the second amount of resources includes: Determine the sum of the uplink resource amount and the adjustment value as the first adjusted resource amount; If the second resource amount is greater than or equal to the first adjusted resource amount, determining the second resource amount as the resource amount to be sent; If the second resource amount is less than the first adjusted resource amount, the first adjusted resource amount is determined as the to-be-sent resource amount.

5. The method according to claim 3, characterized in that: Determining the amount of resources to be sent according to the first amount of resources includes: Determine the difference between the uplink resource amount and the adjustment value as the second adjusted resource amount; If the first resource amount is greater than or equal to the second adjusted resource amount, determining the second adjusted resource amount as the to-be-sent resource amount; If the first resource amount is less than the second adjusted resource amount, the first resource amount is determined as the to-be-sent resource amount.

6. The method according to claim 2, characterized in that Determining the amount of resources to be sent according to the delay duration includes: Get the corresponding relationship function; The amount of resources to be sent is determined according to the corresponding relationship function and the delay duration.

7. The method according to any one of claims 1 to 6, characterized in that: Determining uplink data according to the uplink resource amount and first cache data of an uplink packet data convergence protocol PDCP in the terminal device includes: If the uplink resource amount is greater than the cache data amount corresponding to the first cache data, determining the padding packet data amount according to the uplink resource amount and the cache data amount, and determining the padding packet corresponding to the padding packet data amount and the cache data as the uplink data; If the uplink resource amount is less than or equal to the buffered data amount, uplink data corresponding to the uplink resource amount is determined in the buffered data.

8. The method according to any one of claims 1 to 7, characterized in that: After determining whether the uplink PDCP has second cache data, the method further includes: If yes, determining the amount of cache data corresponding to the second cache data; The cached data amount is determined as the to-be-sent resource amount of the BSR.

9. A transmission device for uplink data, characterized in that: Applied to terminal equipment, including a receiving module, a first determining module, a judging module, a second determining module, a third determining module and a sending module: The receiving module is used to receive downlink control information DCI, where the DCI includes the uplink resource amount of the physical uplink shared channel PUSCH resource allocated by the base station; The first determination module is used to determine the uplink data according to the uplink resource amount and the first cache data of the uplink packet data convergence protocol PDCP in the terminal device; The judging module is used to judge whether there is second cache data in the uplink PDCP; The second determination module is used to, if not, determine the amount of resources to be sent corresponding to the buffer status report BSR, and the amount of resources to be sent is greater than the first threshold; The third determination module is used to determine a physical uplink shared channel PUSCH according to the uplink data and the amount of resources to be sent; The sending module is used to send the PUSCH.

10. An electronic device, characterized in that: The method comprises at least one processor and a memory; the memory stores computer-executable instructions; the at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the method according to any one of claims 1 to 7.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the method according to any one of claims 1 to 7 is implemented.

12. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.