Uplink data transmission method and apparatus, terminal device, and storage medium
By determining the amount of report data based on the operating information and the amount of data to be transmitted through the modem of the terminal device, and sending the BSR to the network device, the problem of large uplink data transmission latency is solved, and more efficient resource allocation and transmission are achieved.
Patent Information
- Application Number
- CN202210379071.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-12
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2042-04-12
AI Technical Summary
In wireless communication networks, the uplink data transmission latency of user equipment is relatively high, resulting in a poor user experience. Existing technologies are unable to effectively reduce uplink data transmission latency.
The terminal device's modem determines the amount of report data that is greater than the amount of data to be transmitted based on the operating information and the amount of uplink data to be transmitted, and sends a Buffer Status Report (BSR) to the network device to request more uplink resources.
By dynamically adjusting the amount of report data, terminal devices can effectively reduce uplink data transmission latency, improve resource utilization efficiency, and reduce transmission delay.
Smart Images

Figure CN114867063B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data transmission technology, and in particular to an uplink data transmission method, apparatus, terminal device, and storage medium. Background Technology
[0002] In typical wireless communication networks (such as Long Term Evolution (LTE) networks), to avoid wasting resources, if a User Equipment (UE) has no uplink data to transmit, the Base Station (BS) will not allocate uplink resources to the UE. Therefore, when a UE wants to upload data, it needs to send a Buffer Status Report (BSR) to the BS to request uplink resources. However, with the development of communication technology, the demand for uplink and / or downlink transmission is increasing, leading to greater transmission latency and a poor user experience. Therefore, how to effectively reduce uplink data transmission latency is a problem worthy of research. Summary of the Invention
[0003] The present invention aims to at least partially solve one of the technical problems in the related art.
[0004] Therefore, the first objective of this invention is to propose an uplink data transmission method that, when the operating information of the terminal device meets the set conditions, determines the amount of report data based on the amount of uplink data to be transmitted, and sends a BSR to the network device based on the amount of report data, thereby solving the problem of large uplink transmission delay.
[0005] The second objective of this invention is to propose another method for uplink data transmission.
[0006] The third objective of this invention is to provide an uplink data transmission device.
[0007] The fourth objective of this invention is to provide another uplink data transmission device.
[0008] The fifth objective of this invention is to provide a terminal device.
[0009] The sixth objective of this invention is to provide a non-transient computer-readable storage medium.
[0010] To achieve the above objectives, a first aspect of the present invention provides an uplink data transmission method, executed by a modem of a terminal device, comprising:
[0011] In response to the terminal device's operating information meeting set conditions, the report data volume is determined based on the amount of uplink data to be transmitted, wherein the report data volume is greater than the amount of uplink data to be transmitted;
[0012] Based on the reported data volume, a Cache Status Report (BSR) is sent to the network device.
[0013] Optionally, as a first possible implementation of the first aspect, the step of determining the report data volume based on the amount of uplink data to be transmitted, in response to the terminal device's operating information meeting set conditions, includes:
[0014] In response to the terminal device's operating information meeting the set conditions, the amount of cached data occupied by the uplink data to be transmitted in the terminal device's cache is queried.
[0015] Determine the initial value of the offset data amount based on the amount of cached data;
[0016] The amount of report data is determined based on the initial value of the offset data amount and the sum of the amount of uplink data to be transmitted.
[0017] Alternatively, as a second possible implementation of the first aspect, the method further includes:
[0018] Receive uplink resources allocated by the network device based on the amount of report data in the BSR;
[0019] The uplink data is transmitted using the uplink resources;
[0020] In response to the presence of idle resources in the uplink resources that are not used for uplink data transmission, the offset data amount is reduced;
[0021] In response to the absence of the idle resource in the uplink resources, the offset data amount is increased until the adjusted offset data amount reaches the upper limit of the set value.
[0022] Optionally, as a third possible implementation of the first aspect, sending Buffer Status Report (BSR) information to the network device based on the reported data volume includes:
[0023] In response to the presence of the uplink data to be transmitted, the BSR is sent to the network device.
[0024] Alternatively, as a fourth possible implementation of the first aspect, the method further includes:
[0025] In response to the absence of the uplink data to be transmitted, listen for downlink data;
[0026] Upon detecting downlink data, the BSR is sent to the network device.
[0027] Optionally, as a fifth possible implementation of the first aspect, sending Buffer Status Report (BSR) information to the network device based on the reported data volume includes:
[0028] In response to the timeout of either the first timer or the second timer, a BSR is sent to the network device;
[0029] The first timer is used to keep track of the retransmission interval based on the retransmission mechanism.
[0030] The second timer is used to start timing after the first timer times out, and the timing duration of the second timer is shorter than the retransmission interval duration of the first timer.
[0031] Optionally, as a sixth possible implementation of the first aspect, the runtime information includes at least one of the application running in the foreground and the amount of data to be transmitted for upload generated per unit time.
[0032] The set conditions include at least one of the following:
[0033] The application running in the foreground is the configuration application;
[0034] The amount of data to be uploaded generated per unit time is greater than a set threshold.
[0035] In the uplink data transmission method of this invention, the modem of the terminal device determines the report data volume based on the amount of uplink data to be transmitted, in response to the terminal device's operating information meeting set conditions. Then, it sends a Buffer Status Report (BSR) to the network device based on the report data volume. Thus, the modem of the terminal device can determine the report data volume based on the amount of uplink data to be transmitted, and send a BSR to the network device based on the report data volume, even when the terminal device's operating information meets the set conditions, thereby solving the problem of large uplink transmission latency.
[0036] To achieve the above objectives, a second aspect of the present invention provides another uplink data transmission method, executed by the application processor of a terminal device, comprising:
[0037] Collect the operating information of the terminal device;
[0038] In response to the terminal device's operating information meeting set conditions, the modem is triggered to determine the report data volume based on the amount of uplink data to be transmitted, and to send a buffer status report (BSR) to the network device based on the report data volume, wherein the report data volume is greater than the amount of uplink data to be transmitted.
[0039] Optionally, as a possible implementation of the second aspect, the runtime information includes at least one of the application running in the foreground and the amount of data to be transmitted for upload generated per unit time.
[0040] The set conditions include at least one of the following:
[0041] The application running in the foreground is the configuration application;
[0042] The amount of data to be uploaded generated per unit time is greater than a set threshold.
[0043] In the uplink data transmission method of this invention, the application processor of the terminal device collects the terminal device's operating information. In response to the terminal device's operating information meeting set conditions, it triggers the modem to determine the report data volume based on the amount of uplink data to be transmitted, and sends a Buffer Status Report (BSR) to the network device based on the report data volume. The report data volume is greater than the amount of uplink data to be transmitted. Therefore, by collecting the terminal device's operating information, the application processor can trigger the modem to determine the report data volume based on the amount of uplink data to be transmitted and send the report data to the network device when the terminal device's operating information meets set conditions, thus solving the problem of large uplink transmission latency.
[0044] To achieve the above objectives, a third aspect of the present invention provides an uplink data transmission apparatus, comprising:
[0045] The determination module is used to determine the report data volume based on the data volume of the uplink data to be transmitted, in response to the fact that the operating information of the terminal device meets the set conditions, wherein the report data volume is greater than the data volume of the uplink data to be transmitted;
[0046] The first sending module is used to send Buffer Status Report (BSR) information to the network device according to the amount of report data.
[0047] Optionally, as a first possible implementation of the third aspect, the determining module includes:
[0048] The query unit is used to query the amount of cached data occupied by the uplink data to be transmitted in the cache of the terminal device in response to the fact that the operating information of the terminal device meets the set conditions.
[0049] The first determining unit is used to determine the initial value of the offset data amount based on the amount of cached data;
[0050] The second determining unit is used to determine the amount of report data based on the initial value of the offset data amount and the sum of the amount of uplink data to be transmitted.
[0051] Alternatively, as a second possible implementation of the third aspect, the apparatus further includes:
[0052] A receiving module is configured to receive uplink resources allocated by the network device based on the amount of report data in the BSR;
[0053] A transmission module is used to transmit the uplink data using the uplink resources;
[0054] The first processing module is used to reduce the offset data amount in response to the existence of idle resources in the uplink resources that are not used for uplink data transmission;
[0055] The second processing module is used to increase the offset data amount in response to the absence of the idle resource in the uplink resource, until the adjusted offset data amount is the upper limit of the set value.
[0056] Optionally, as a third possible implementation of the third aspect, the first sending module is further configured to:
[0057] In response to the presence of the uplink data to be transmitted, the BSR is sent to the network device.
[0058] Alternatively, as a fourth possible implementation of the third aspect, the apparatus further includes:
[0059] The monitoring module is used to monitor downlink data in response to the absence of the uplink data to be transmitted;
[0060] The second sending module is used to send the BSR to the network device when downlink data is detected.
[0061] Optionally, as a fifth possible implementation of the third aspect, the first sending module is further configured to:
[0062] In response to the timeout of either the first timer or the second timer, a BSR is sent to the network device;
[0063] The first timer is used to keep track of the retransmission interval based on the retransmission mechanism.
[0064] The second timer is used to start timing after the first timer times out, and the timing duration of the second timer is shorter than the retransmission interval duration of the first timer.
[0065] Optionally, as a sixth possible implementation of the third aspect, the runtime information includes at least one of the application running in the foreground and the amount of data to be transmitted for upload generated per unit time.
[0066] The set conditions include at least one of the following:
[0067] The application running in the foreground is the configuration application;
[0068] The amount of data to be uploaded generated per unit time is greater than a set threshold.
[0069] In the uplink data transmission device of this invention, the modem of the terminal device determines the report data volume based on the amount of uplink data to be transmitted, in response to the terminal device's operating information meeting set conditions. Then, it sends a Buffer Status Report (BSR) to the network device based on the report data volume. Thus, the modem of the terminal device can determine the report data volume based on the amount of uplink data to be transmitted, and send a BSR to the network device based on the report data volume, when the terminal device's operating information meets the set conditions, thereby solving the problem of large uplink transmission latency.
[0070] To achieve the above objectives, a fourth aspect of the present invention provides another uplink data transmission apparatus, comprising:
[0071] The acquisition module is used to collect the operating information of the terminal device;
[0072] The triggering module is used to, in response to the terminal device's operating information meeting set conditions, trigger the modem to determine the report data volume based on the data volume of the uplink data to be transmitted, and to send a buffer status report (BSR) to the network device based on the report data volume, wherein the report data volume is greater than the data volume of the uplink data to be transmitted.
[0073] Optionally, as a possible implementation of the fourth aspect, the runtime information includes at least one of the application running in the foreground and the amount of data to be transmitted for upload generated per unit time.
[0074] The set conditions include at least one of the following:
[0075] The application running in the foreground is the configuration application;
[0076] The amount of data to be uploaded generated per unit time is greater than a set threshold.
[0077] In the uplink data transmission device of this invention, the application processor of the terminal device collects the terminal device's operating information. In response to the terminal device's operating information meeting set conditions, it triggers the modem to determine the report data volume based on the amount of uplink data to be transmitted, and sends a Buffer Status Report (BSR) to the network device based on the report data volume. The report data volume is greater than the amount of uplink data to be transmitted. Therefore, by collecting the terminal device's operating information, the application processor can trigger the modem to determine the report data volume based on the amount of uplink data to be transmitted and send the report data to the network device when the terminal device's operating information meets set conditions, thus solving the problem of large uplink transmission latency.
[0078] To achieve the above objectives, a fifth aspect of the present invention provides a terminal device, characterized in that it comprises:
[0079] An application processor, and a modem connected to the application processor;
[0080] The application processor is configured to execute the method described in the second aspect;
[0081] The modem is used to perform the method described in the first aspect.
[0082] To achieve the above objectives, a sixth aspect of the present invention provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are configured to cause the computer to perform the method described in the first aspect, or to perform the method described in the second aspect.
[0083] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0084] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0085] Figure 1 This is a flowchart illustrating an uplink data transmission method provided in an embodiment of the present invention.
[0086] Figure 2 This is a flowchart illustrating another uplink data transmission method provided in an embodiment of the present invention;
[0087] Figure 3This is a flowchart illustrating another uplink data transmission method provided in an embodiment of the present invention;
[0088] Figure 4 This is a flowchart illustrating another uplink data transmission method provided in an embodiment of the present invention;
[0089] Figure 5 This is a flowchart illustrating another uplink data transmission method provided in an embodiment of the present invention;
[0090] Figure 6 This is a flowchart illustrating another uplink data transmission method provided in an embodiment of the present invention;
[0091] Figure 7 This is a schematic diagram illustrating the principle of an uplink data transmission method provided in an embodiment of the present invention.
[0092] Figure 8 This is a schematic diagram of the structure of an uplink data transmission device provided in an embodiment of the present invention;
[0093] Figure 9 This is a schematic diagram of another uplink data transmission device provided in an embodiment of the present invention;
[0094] Figure 10 This is a schematic diagram of another uplink data transmission device provided in an embodiment of the present invention; and
[0095] Figure 11 This is a schematic diagram of another uplink data transmission device provided in an embodiment of the present invention. Detailed Implementation
[0096] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention.
[0097] The uplink data transmission method, apparatus, terminal device, and storage medium of the present invention are described below with reference to the accompanying drawings.
[0098] Figure 1 This is a flowchart illustrating an uplink data transmission method provided in an embodiment of the present invention.
[0099] In related technologies, the amount of uplink data resources allocated by the BS is determined based on predefined parameters in the UE's BSR message and its own algorithm. When BS resources are sufficient and the network environment is good, the BS can satisfy the UE's uplink resource requests as much as possible. However, when BS resources are limited, the transmission delay during uplink data transmission is relatively large.
[0100] To address this issue, embodiments of the present invention provide an uplink data transmission method. This method, when the terminal device's operating information meets set conditions, determines the report data volume based on the amount of uplink data to be transmitted, and sends a BSR (Browser Report) to the network device based on this report data volume. This solves the problem of high uplink transmission latency. Figure 1 As shown, the uplink data transmission method includes the following steps:
[0101] Step 101: In response to the terminal device's operating information meeting the set conditions, determine the report data volume based on the amount of uplink data to be transmitted, wherein the report data volume is greater than the amount of uplink data to be transmitted.
[0102] It should be noted that the uplink data transmission method provided in this embodiment can be executed by the modem of the terminal device. The terminal device can be understood as any stationary or mobile device with communication capabilities and capable of data transmission, such as mobile devices like laptops, smartphones, in-vehicle devices, and wearable devices, or stationary devices like desktop computers, or other types of devices; this embodiment does not impose any limitations on this. A modem is an abbreviation for modulator and demodulator, an electronic device capable of modulation and demodulation functions required for communication. At the transmitting end, it modulates the digital signal generated by the computer's serial port into an analog signal that can be transmitted over a telephone line; at the receiving end, it converts the analog signal input to the computer into a corresponding digital signal and sends it to the computer interface, thereby enabling communication between any two devices.
[0103] The runtime information includes at least one of the following: the application running in the foreground and the amount of data to be uploaded generated per unit time. The setting conditions include at least one of the following:
[0104] Applications running in the foreground are called configuration applications;
[0105] The amount of data to be uploaded generated per unit time exceeds the set threshold.
[0106] In this embodiment, the determination of the application to be set and the specific value of the threshold are not limited. Optionally, they can be set based on human experience. For example, the application to be set can be any game APP, and the threshold can be set to 100MB (megabyte). Alternatively, they can be dynamically adjusted according to actual application needs. This embodiment does not impose any restrictions on this.
[0107] In this embodiment, the modem of the terminal device can determine the amount of reported data based on the amount of uplink data to be transmitted, provided that the operating information of the terminal device meets the set conditions. The amount of reported data is greater than the amount of uplink data to be transmitted.
[0108] In one possible implementation of this embodiment, the terminal device's operating information only includes foreground applications. If the terminal device's operating information meets a set condition, then the foreground application indicated by the terminal device's operating information is a designated application. Therefore, the terminal device's modem can determine the amount of uplink data to be transmitted based on the amount of uplink data to be transmitted, provided that the foreground application indicated by the terminal device's operating information is a designated application.
[0109] In another possible implementation of this embodiment, the terminal device's operating information only includes the amount of uploaded data to be transmitted generated per unit time. The terminal device's operating information meets a set condition: the amount of uploaded data to be transmitted generated per unit time, as indicated by the terminal device's operating information, is greater than a set threshold. Therefore, the terminal device's modem can determine the report data amount based on the amount of uplink data to be transmitted when the amount of uploaded data to be transmitted generated per unit time, as indicated by the terminal device's operating information, is greater than the set threshold.
[0110] In another possible implementation of this embodiment, the terminal device's operating information includes both the foreground application and the amount of uploaded data to be transmitted generated per unit time. In this case, the terminal device's operating information meets set conditions: either the foreground application indicated by the operating information is a set application, or the amount of uploaded data to be transmitted generated per unit time, as indicated by the operating information, is greater than a set threshold. Therefore, the terminal device's modem can determine the report data volume based on the amount of uplink data to be transmitted, provided that the foreground application indicated by the operating information is a set application, or the amount of uploaded data to be transmitted generated per unit time, as indicated by the operating information, is greater than the set threshold.
[0111] It is understandable that, since the determined report data size needs to be greater than the amount of uplink data to be transmitted, after determining the amount of uplink data to be transmitted, any value greater than the amount of uplink data to be transmitted can be used as the determined report data size. For example, when the amount of uplink data to be transmitted is 100MB, any value greater than 100MB can be used as the determined report data size. Optionally, 110MB or 200MB can be used as the determined report data size; this embodiment does not impose any restrictions on this.
[0112] Step 102: Based on the amount of report data, send a Buffer Status Report (BSR) to the network device.
[0113] The Buffer Status Report (BSR) is used to indicate the amount of uplink resources that the network device needs to allocate to the terminal device. In this embodiment, the network device can refer to an entity on the network side used to send or receive information, such as a base station, a Transmission Point (TP), a Transmission and Receiver Point (TRP), a relay device, or other network devices with base station functions, etc. This embodiment does not impose any restrictions on this.
[0114] In this embodiment, the terminal device's modem sends a Buffer Status Report (BSR) to the network device based on the amount of report data determined in the previous step. As one possible implementation, the terminal device's modem can write the amount of report data determined in the previous step into the BSR and send it to the network device to obtain uplink resources equal to the amount of report data.
[0115] It should be noted that since the amount of the reported data is greater than the amount of the uplink data to be transmitted, this method can be used to request the network device to allocate more uplink resources to the terminal device, effectively reducing uplink data transmission latency.
[0116] In the uplink data transmission method of this invention, the modem of the terminal device determines the report data volume based on the amount of uplink data to be transmitted, in response to the terminal device's operating information meeting set conditions. Then, it sends a Buffer Status Report (BSR) to the network device based on the report data volume. Thus, the modem of the terminal device can determine the report data volume based on the amount of uplink data to be transmitted, and send a BSR to the network device based on the report data volume, even when the terminal device's operating information meets the set conditions, thereby solving the problem of large uplink transmission latency.
[0117] As can be seen from the above analysis, in this embodiment of the invention, it is necessary to determine the amount of report data based on the amount of uplink data to be transmitted. In order to clearly explain how this invention determines the amount of report data based on the amount of uplink data to be transmitted, this invention also proposes an uplink data transmission method.
[0118] Figure 2 This is a flowchart illustrating another uplink data transmission method provided in an embodiment of the present invention.
[0119] like Figure 2 As shown, the uplink data transmission method may include the following steps:
[0120] Step 201: In response to the terminal device's operating information meeting the set conditions, query the amount of cached data occupied by the uplink data to be transmitted in the terminal device's cache.
[0121] Similarly, the uplink data transmission method provided in this embodiment is also executed by the modem of the terminal device. The terminal device can be understood as any stationary or mobile device with communication capabilities and capable of data transmission, such as mobile devices like laptops, smartphones, in-vehicle devices, and wearable devices, or stationary devices like desktop computers, or other types of devices; this embodiment does not impose any limitations on this. A modem is an abbreviation for modulator and demodulator, an electronic device capable of modulation and demodulation functions required for communication. At the transmitting end, it modulates the digital signal generated by the computer's serial port into an analog signal that can be transmitted over a telephone line; at the receiving end, it converts the analog signal input to the computer into a corresponding digital signal and sends it to the computer interface, thereby enabling communication between any two devices.
[0122] The runtime information includes at least one of the following: the application running in the foreground and the amount of data to be uploaded generated per unit time. The setting conditions include at least one of the following:
[0123] Applications running in the foreground are called configuration applications;
[0124] The amount of data to be uploaded generated per unit time exceeds the set threshold.
[0125] In this embodiment, the determination of the application to be set and the specific value of the threshold are not limited. Optionally, they can be set based on human experience. For example, the application to be set can be any game APP, and the threshold can be set to 100MB (megabyte). Alternatively, they can be dynamically adjusted according to actual application needs. This embodiment does not impose any restrictions on this.
[0126] In this embodiment, the modem of the terminal device can query the amount of cached data occupied by the uplink data to be transmitted in the terminal device's buffer when the terminal device's operating information meets the set conditions, in order to determine the amount of reported data. As one possible implementation, the modem of the terminal device can determine the amount of cached data occupied by the uplink data to be transmitted in the terminal device's buffer by querying the space occupied by the uplink data to be transmitted in the terminal device's buffer when the terminal device's operating information meets the set conditions.
[0127] Similarly, the conditions under which the terminal device's operating information meets the set criteria can include the following three situations:
[0128] First, the terminal device's operating information only includes applications running in the foreground. Therefore, if the terminal device's operating information meets the set conditions, then the application running in the foreground as indicated by the terminal device's operating information is the set application.
[0129] Second, the terminal device's operation information only includes the amount of data to be uploaded and transmitted generated per unit time. Therefore, if the terminal device's operation information meets the set conditions, it means that the amount of data to be uploaded and transmitted generated per unit time as indicated by the terminal device's operation information is greater than the set threshold.
[0130] Third, the terminal device's operating information includes both the application running in the foreground and the amount of data to be uploaded generated per unit time. In this case, the terminal device's operating information meets the set conditions, either by the application running in the foreground indicated by the terminal device's operating information being a set application, or by the amount of data to be uploaded generated per unit time indicated by the terminal device's operating information being greater than a set threshold.
[0131] Step 202: Determine the initial value of the offset data amount based on the amount of cached data.
[0132] In this embodiment, the modem of the terminal device can determine the initial value of the offset data amount based on the amount of buffered data occupied by the uplink data to be transmitted in the terminal device's buffer, as obtained from the query. As one possible implementation, a `bsr_req_buffer_offset` variable can be added to the modem of the terminal device. This variable represents the offset data amount, and its initial value is set to the size of the space occupied by the uplink data to be transmitted in the terminal device's buffer. This allows the initial value of the offset data amount to be determined based on the amount of buffered data occupied by the uplink data to be transmitted in the terminal device's buffer.
[0133] Step 203: Determine the report data volume based on the initial value of the offset data volume and the sum of the data volume of the uplink data to be transmitted.
[0134] In this embodiment, the modem of the terminal device can determine the reported data amount by summing the initial value of the offset data amount and the amount of uplink data to be transmitted. That is, when a bsr_req_buffer_offset variable is added to the modem of the terminal device, since the bsr_req_buffer_offset variable represents the offset data amount, the determined reported data amount is the sum of the amount of uplink data to be transmitted and the initial value of the bsr_req_buffer_offset variable.
[0135] Step 204: Based on the amount of report data, send Buffer Status Report (BSR) information to the network device.
[0136] It should be noted that the execution process of this step can refer to the execution process of step 102 in the previous embodiment, and the principle is the same, so it will not be repeated here.
[0137] In the uplink data transmission method of this invention, the modem of the terminal device, in response to the terminal device's operating information meeting set conditions, queries the amount of cached data occupied by the uplink data to be transmitted in the terminal device's cache. Based on the amount of cached data, it determines the initial value of the offset data amount, and then determines the report data amount based on the sum of the initial value of the offset data amount and the amount of uplink data to be transmitted. This can trigger multiple resource requests, enabling the network device to allocate more uplink resources to the terminal device than the uplink resources required for the data to be transmitted, thereby effectively reducing uplink data transmission latency.
[0138] To clearly illustrate the above embodiments, this embodiment provides another uplink data transmission method. Figure 3 This is a schematic flowchart illustrating another uplink data transmission method provided in an embodiment of the present invention. It should be noted that this embodiment of the present invention is applicable to scenarios requiring uplink data transmission.
[0139] like Figure 3 As shown, the uplink data transmission method may include the following steps:
[0140] Step 301: In response to the terminal device's operating information meeting the set conditions, query the amount of cached data occupied by the uplink data to be transmitted in the terminal device's cache.
[0141] Step 302: Determine the initial value of the offset data amount based on the amount of cached data.
[0142] Step 303: Determine the report data volume based on the initial value of the offset data volume and the sum of the data volume of the uplink data to be transmitted.
[0143] Step 304: Based on the amount of reported data, send a Buffer Status Report (BSR) to the network device.
[0144] It should be noted that the execution process of steps 301-304 can refer to the execution process of steps 201-204 in the previous embodiment, and the principle is the same, so it will not be repeated here.
[0145] Step 305: Receive uplink resources allocated by the network device based on the amount of report data in the BSR.
[0146] It is understandable that after receiving a BSR from the terminal device's modem, the network device will allocate the uplink resources required by the terminal device based on the amount of report data in the BSR, and then send it to the terminal device's modem. Therefore, in this embodiment, after the terminal device's modem has sent a BSR to the network device, it can receive the uplink resources allocated by the network device based on the amount of report data in the BSR.
[0147] Understandably, in scenarios requiring uplink data transmission, having a larger reported data volume than the amount of uplink data to be transmitted can effectively reduce uplink data transmission latency. However, there's a possibility that some received uplink resources are idle and not used for uplink data transmission, resulting in resource waste. Conversely, if all received uplink resources are used for uploading data, there's a possibility that the received uplink resources may not be sufficient to cover the upload data to be transmitted, thus failing to effectively reduce uplink data transmission latency. Therefore, it's necessary to dynamically adjust the offset data volume value.
[0148] Step 306: In response to the existence of idle resources in the uplink resources that are not used for uplink data transmission, reduce the offset data amount.
[0149] In this embodiment, the modem of the terminal device can avoid wasting uplink resources by reducing the offset data amount when there are idle resources in the uplink resources that are not used for uplink data transmission. For example, if a bsr_req_buffer_offset variable is added to the modem of the terminal device, when the uploaded data to be transmitted fails to fully utilize the requested uplink resources multiple times, it indicates that the amount of uploaded data to be transmitted is smaller than the received uplink resources. In other words, there are idle resources in the uplink resources that are not used for uplink data transmission. Since the bsr_req_buffer_offset variable represents the offset data amount, its value can be set to half of its current value to reduce the offset data amount, thereby reducing the amount of uplink resources requested and avoiding waste of uplink resources.
[0150] Step 307: In response to the absence of idle resources in the uplink resources, increase the offset data amount until the adjusted offset data amount reaches the upper limit of the set value.
[0151] In this embodiment, the modem of the terminal device can effectively reduce uplink data transmission latency by increasing the offset data amount until the adjusted offset data amount reaches the upper limit of a set value, even when there are no idle resources in the uplink resources. This embodiment does not limit the specific value of the upper limit; optionally, it can be set based on manual experience. For example, the upper limit can be set to the initial value of the offset data amount, or it can be dynamically adjusted according to actual application needs. This embodiment does not impose any restrictions on this.
[0152] For example, if a `bsr_req_buffer_offset` variable is added to the modem of the terminal device, and uplink resources are fully utilized every time during uplink data transmission, it indicates that the amount of data to be transmitted may be larger than the received uplink resources. In other words, there are no idle resources in the uplink. Since the `bsr_req_buffer_offset` variable represents the offset data amount, its value can be checked to see if it reaches the set upper limit. If it does, it means that maximum optimization has been achieved, and no adjustment is needed. However, if the value does not reach the upper limit, its value can be increased until it reaches the upper limit, thereby increasing the offset data amount, increasing the amount of uplink resources requested, and reducing uplink data transmission latency.
[0153] In the uplink data transmission method of this invention, the modem of the terminal device receives uplink resources allocated by the network device based on the reported data volume in the BSR. In response to the existence of idle resources not used for uplink data transmission, the modem reduces the offset data volume; or, in response to the absence of idle resources, it increases the offset data volume until the adjusted offset data volume reaches a set upper limit. This allows for dynamic adjustment of the offset data volume, avoiding waste of uplink resources and effectively reducing uplink data transmission latency.
[0154] As can be seen from the above analysis, in this embodiment of the invention, it is necessary to send a cache status report (BSR) to the network device according to the amount of report data. In order to clearly explain how this invention sends the cache status report (BSR) to the network device according to the amount of report data, this invention also proposes an uplink data transmission method.
[0155] Figure 4 This is a flowchart illustrating an uplink data transmission method provided in an embodiment of the present invention.
[0156] like Figure 4 As shown, the uplink data transmission method may include the following steps:
[0157] Step 401: In response to the terminal device's operating information meeting the set conditions, determine the report data volume based on the amount of uplink data to be transmitted, wherein the report data volume is greater than the amount of uplink data to be transmitted.
[0158] It should be noted that the execution process of this step can be referred to the execution process of step 101 in the above embodiment, and the principle is the same, so it will not be repeated here.
[0159] Step 402: In response to the existence of uplink data to be transmitted, a BSR is sent to the network device based on the reported data volume.
[0160] Similarly, the BSR is used to indicate the amount of uplink resources that the network device needs to allocate to the terminal device. The network device can refer to an entity on the network side used to send or receive information, such as a base station, or a transmission point (TP), transmission and receiver point (TRP), relay device, or other network devices with base station functions, etc. This embodiment does not limit this.
[0161] It should be noted that when a terminal device needs to transmit uplink data, normally the terminal device has uplink data to be transmitted and the uplink data to be transmitted exists in the terminal device's buffer. However, it is also possible that the terminal device receives downlink data and needs to transmit the corresponding uplink data, but the corresponding uplink data to be transmitted does not yet exist in the terminal device's buffer. Therefore, different processing is required for different situations.
[0162] In this embodiment, the modem of the terminal device can send a BSR to the network device based on the amount of report data determined in the previous step, provided that there is uplink data to be transmitted. It should be noted that "uplink data to be transmitted" here means that the terminal device's buffer contains uplink data to be transmitted, i.e., the terminal device's buffer is not empty. As one possible implementation, the modem of the terminal device can, when the terminal device's buffer is not empty, write the amount of report data determined in the previous step into the BSR and send it to the network device to obtain uplink resources equal to the amount of report data.
[0163] Step 403: In response to the absence of uplink data to be transmitted, listen for downlink data.
[0164] In this embodiment, the modem of the terminal device can listen for downlink data even when there is no uplink data to be transmitted, so that it can send a BSR to the network device when downlink data is detected. It should be noted that "no uplink data to be transmitted" here means that there is no uplink data to be transmitted in the terminal device's buffer, i.e., the terminal device's buffer is empty. In other words, this embodiment enables the terminal device's modem to initiate a BSR to request uplink resources from the network device even when downlink data is detected, provided that there is no uplink data to be transmitted in the terminal device's buffer (i.e., the buffer is empty).
[0165] Step 404: Upon detecting downlink data, send a BSR to the network device.
[0166] Understandably, downlink data is often accompanied by uplink data. That is, after receiving downlink data, the terminal device needs to transmit corresponding uplink data. Therefore, the terminal device's modem can send a BSR (Bill of Reports) to the network device upon detecting downlink data. As one possible implementation, the terminal device's modem can, upon detecting downlink data, write the amount of report data determined in the previous step into the BSR and send it to the network device to obtain uplink resources equal to the amount of report data.
[0167] In the uplink data transmission method of this invention, the modem of the terminal device can send a BSR (Background Report) to the network device based on the reported data volume when there is uplink data to be transmitted, or, when there is no uplink data to be transmitted, it can listen for downlink data and send a BSR to the network device when downlink data is detected. This enables pre-allocation of uplink resources, allowing the network device to allocate uplink resources in advance, so that as soon as uplink data to be transmitted is available in the terminal device's buffer, it can be transmitted.
[0168] The previous embodiment provided a possible implementation of sending Buffer Status Report (BSR) information to network devices based on the amount of report data. This embodiment provides another possible implementation of sending Buffer Status Report (BSR) information to network devices based on the amount of report data. Figure 5 This is a flowchart illustrating another uplink data transmission method provided in an embodiment of the present invention.
[0169] like Figure 5 As shown, the uplink data transmission method may include the following steps:
[0170] Step 501: In response to the terminal device's operating information meeting the set conditions, determine the report data volume based on the amount of uplink data to be transmitted, wherein the report data volume is greater than the amount of uplink data to be transmitted.
[0171] It should be noted that the execution process of this step can be referred to the execution process of step 101 in the above embodiment, and the principle is the same, so it will not be repeated here.
[0172] Step 502: In response to the timeout of either the first timer or the second timer, send a BSR to the network device.
[0173] The first timer is used to time the retransmission interval based on the retransmission mechanism; the second timer is used to time the retransmission after the first timer times out, and the timing duration of the second timer is shorter than the retransmission interval duration of the first timer.
[0174] Understandably, in related technologies, the UE often sends multiple BSRs to the BS before the BS allocates uplink resources to the UE. Therefore, a retransmission mechanism exists, which uses a retxBSR-Timer to remind the BS to allocate the corresponding resources to the UE. Specifically, the UE retransmits the BSR every retxBSR-Timer interval.
[0175] In this embodiment, the BSR retransmission mechanism is updated by setting two timers to improve BSR retransmission efficiency. Specifically, a first timer is set to count the retransmission interval based on the retransmission mechanism, and a second timer is set to count after the first timer expires. The second timer's countdown time is shorter than the first timer's retransmission interval. Therefore, if either the first or second timer expires, the BSR is retransmitted to the network device. The first timer can be understood as the retxBSR-Timer in the retransmission mechanism. The specific value of the second timer is not limited in this embodiment. Optionally, it can be set based on experience; for example, the second timer can be set to half the first timer's countdown timer. Alternatively, it can be dynamically adjusted according to actual application needs. This embodiment does not impose any restrictions on this.
[0176] In the uplink data transmission method of this invention, the modem of the terminal device can send a BSR to the network device in response to the timeout of either the first timer or the second timer. Therefore, by shortening the BSR retransmission interval, the BSR retransmission mechanism can be updated, improving BSR retransmission efficiency and enabling faster acquisition of the required uplink resources.
[0177] It should be noted that the above embodiments are described from the perspective of the modem of the terminal device. To more clearly illustrate the uplink data transmission process, this embodiment of the invention provides a possible implementation of the uplink data transmission method from the perspective of the application processor of the terminal device. Figure 6This is a flowchart illustrating another uplink data transmission method provided in an embodiment of the present invention.
[0178] like Figure 6 As shown, the uplink data transmission method may include the following steps:
[0179] Step 601: Collect the operating information of the terminal device.
[0180] It should be noted that the uplink data transmission method provided in this embodiment can be executed by the application processor of the terminal device. The terminal device can be understood as any stationary or mobile device with communication capabilities and capable of data transmission, such as mobile devices like laptops, smartphones, in-vehicle devices, and wearable devices, or stationary devices like desktop computers, or other types of devices; this embodiment does not impose any limitations on this. The application processor (Multimedia Application Processor, MAP) is a very large-scale integrated circuit that extends audio and video functions and dedicated interfaces on top of a low-power CPU.
[0181] The runtime information includes at least one of the following: the application running in the foreground and the amount of data to be uploaded generated per unit time.
[0182] In this embodiment, the application processor of the terminal device can trigger the modem to determine the amount of report data based on the amount of uplink data to be transmitted, and send a buffer status report (BSR) to the network device based on the amount of report data by collecting the operating information of the terminal device.
[0183] Optionally, if the terminal device's operating information only includes the foreground application, the terminal device's application processor only needs to collect the foreground application. Alternatively, if the terminal device's operating information only includes the amount of data to be uploaded generated per unit time, the terminal device's application processor only needs to collect the amount of data to be uploaded generated per unit time. Alternatively, if the terminal device's operating information includes both the foreground application and the amount of data to be uploaded generated per unit time, the terminal device's application processor needs to collect both the foreground application and the amount of data to be uploaded generated per unit time. This embodiment does not impose any restrictions on this.
[0184] Step 602: In response to the terminal device's operating information meeting the set conditions, the modem is triggered to determine the report data volume based on the amount of uplink data to be transmitted, and to send a buffer status report (BSR) to the network device based on the report data volume, wherein the report data volume is greater than the amount of uplink data to be transmitted.
[0185] The set conditions include at least one of the following:
[0186] Applications running in the foreground are called configuration applications;
[0187] The amount of data to be uploaded generated per unit time exceeds the set threshold.
[0188] In this embodiment, the determination of the application to be set and the specific value of the threshold are not limited. Optionally, they can be set based on human experience. For example, the application to be set can be any game APP, and the threshold can be set to 100MB (megabyte). Alternatively, they can be dynamically adjusted according to actual application needs. This embodiment does not impose any restrictions on this.
[0189] In this embodiment, after the application processor of the terminal device has collected the operating information of the terminal device, it can trigger the modem to determine the amount of report data based on the amount of uplink data to be transmitted, and send a buffer status report (BSR) to the network device based on the amount of report data, provided that the operating information of the terminal device meets the set conditions. The amount of report data is greater than the amount of uplink data to be transmitted.
[0190] In the uplink data transmission method of this invention, the application processor of the terminal device collects the terminal device's operating information. In response to the terminal device's operating information meeting set conditions, it triggers the modem to determine the report data volume based on the amount of uplink data to be transmitted, and sends a Buffer Status Report (BSR) to the network device based on the report data volume. The report data volume is greater than the amount of uplink data to be transmitted. Therefore, by collecting the terminal device's operating information, the application processor can trigger the modem to determine the report data volume based on the amount of uplink data to be transmitted and send the report data to the network device when the terminal device's operating information meets set conditions, thus solving the problem of large uplink transmission latency.
[0191] To illustrate the above embodiments more clearly, examples are given below.
[0192] Figure 7 This is a schematic diagram illustrating the principle of an uplink data transmission method provided in an embodiment of the present invention.
[0193] like Figure 7 As shown, the uplink data transmission method may include the following steps:
[0194] Step 701: In response to the application processor of the terminal device detecting that the operating information of the terminal device meets the set conditions, the terminal device is determined to enter the low latency upload mode.
[0195] Here, the terminal device can be determined to enter low-latency upload mode when its application processor detects that the device's operating information meets the set conditions. These conditions mean that an application required to enable low-latency upload mode is in the foreground, or that the low-latency upload detection module detects that the user is continuously uploading data, and the amount of data to be transmitted per unit time exceeds a set threshold.
[0196] Step 702: The application processor of the terminal device sends a low-latency optimization mode enable message to the modem of the terminal device.
[0197] Here, after determining that the terminal device has entered upload low-latency mode, the application processor of the terminal device can send a low-latency optimization mode enable message to the terminal device's modem. As one possible implementation, when the terminal device enters upload low-latency mode, the application processor can send the low-latency optimization mode enable message to the terminal device's modem via a new message interface (e.g., a new low_upload_mode message interface).
[0198] Under the opposite conditions, when the application processor of the terminal device detects that the terminal device's operating information does not meet the set conditions, the low-latency upload mode is turned off through the same message interface.
[0199] Step 703: The modem of the terminal device receives a low-latency optimization mode enable message sent by the application processor of the terminal device.
[0200] Here, after the application processor of the terminal device sends a low-latency optimization mode enable message to the modem of the terminal device, the modem of the terminal device can receive the low-latency optimization mode enable message sent by the application processor of the terminal device.
[0201] Step 704: When the modem of the terminal device needs to send a BSR to the network device to request uplink resources, the amount of uplink resources requested carried in the BSR is expanded to the sum of the initial value of the amount of uplink data to be transmitted and the amount of offset data.
[0202] Here, a `bsr_req_buffer_offset` variable can be added to the modem of the terminal device. This variable represents the amount of offset data, and its initial value is set to the size of the space occupied by the uplink data to be transmitted in the terminal device's buffer. Therefore, when the terminal device's modem needs to send a BSR (Browser Request Scheduler) to the network device to request uplink resources, the amount of uplink resources requested in the BSR is expanded to the sum of the amount of uplink data to be transmitted and the initial value of the offset data, i.e., the sum of the amount of uplink data to be transmitted and the initial value of the `bsr_req_buffer_offset` variable. This allows the network device to allocate more uplink resources to the terminal device, reducing uplink transmission latency.
[0203] Step 705: When the modem of the terminal device receives downlink data, it sends a BSR to the network device to request uplink resources.
[0204] Here, when the terminal device's modem receives downlink data, it can send a BSR (Browser Request) to the network device to request uplink resources, regardless of whether there is uplink data to be transmitted in the terminal device's buffer. This is because downlink data is often accompanied by uplink data. Therefore, even if the terminal device's buffer is empty, it can still trigger the terminal device's modem to initiate a BSR to request uplink resources from the network device. This allows the network device to allocate uplink resources in advance, enabling the terminal device to transmit as soon as uplink data becomes available.
[0205] In summary, by responding to the terminal device's application processor detecting that the terminal device's operating information meets the set conditions, and determining that the terminal device has entered the low-latency upload mode, the terminal device's application processor sends a low-latency optimization mode enable message to the terminal device's modem. After the terminal device's modem receives the low-latency optimization mode enable message from the terminal device's application processor, if the terminal device's modem needs to send a BSR to the network device to request uplink resources, the amount of uplink resources requested in the BSR is expanded to the sum of the initial values of the amount of uplink data to be transmitted and the offset data amount. Furthermore, if the terminal device's modem receives downlink data, it sends a BSR to the network device to request uplink resources. This effectively reduces uplink data transmission latency.
[0206] With the above Figures 1 to 5 Corresponding to the uplink data transmission method provided in the embodiments, the present invention also provides an uplink data transmission device. Because the uplink data transmission device provided in the embodiments of the present invention is similar to the one described above... Figures 1 to 5The uplink data transmission method provided in the embodiments corresponds to the uplink data transmission method provided in the embodiments of the present invention, and therefore the implementation of the uplink data transmission method is also applicable to the uplink data transmission device provided in the embodiments of the present invention, and will not be described in detail in the embodiments of the present invention.
[0207] Figure 8 This is a schematic diagram of an uplink data transmission device provided in an embodiment of the present invention.
[0208] like Figure 8 As shown, the uplink data transmission device includes: a determination module 81 and a first transmission module 82.
[0209] The determination module 81 is used to determine the report data volume based on the data volume of the uplink data to be transmitted in response to the terminal device's operating information meeting the set conditions, wherein the report data volume is greater than the data volume of the uplink data to be transmitted.
[0210] The first sending module 82 is used to send buffer status report information (BSR) to the network device according to the amount of report data.
[0211] Furthermore, in one possible implementation of this embodiment of the invention, the determining module 81 includes:
[0212] The query unit is used to query the amount of cached data occupied by the uplink data to be transmitted in the cache of the terminal device in response to the terminal device's operating information meeting the set conditions.
[0213] The first determining unit is used to determine the initial value of the offset data amount based on the amount of cached data;
[0214] The second determining unit is used to determine the amount of report data based on the initial value of the offset data amount and the sum of the amount of uplink data to be transmitted.
[0215] Based on the above embodiment, this embodiment of the invention also provides a possible implementation of the uplink data transmission device. Figure 8 This is a schematic diagram of another uplink data transmission device provided in an embodiment of the present invention. Based on the previous embodiment, the uplink data transmission device further includes: a receiving module 83, a transmitting module 84, a first processing module 85, and a second processing module 86.
[0216] The receiving module 83 is used to receive uplink resources allocated by the network device based on the amount of report data in the BSR;
[0217] Transmission module 84 is used to transmit uplink data using uplink resources;
[0218] The first processing module 85 is used to reduce the offset data amount in response to the existence of idle resources in the uplink resources that are not used for uplink data transmission.
[0219] The second processing module 86 is used to increase the offset data volume in response to the absence of idle resources in the uplink resources, until the adjusted offset data volume reaches the upper limit of the set value.
[0220] Furthermore, in one possible implementation of this invention, the first sending module 82 is further configured to:
[0221] In response to the presence of uplink data to be transmitted, a BSR is sent to the network device.
[0222] Based on the above embodiments, this invention also provides a possible implementation of an uplink data transmission device. Figure 9 This is a schematic diagram of another uplink data transmission device provided in an embodiment of the present invention. Based on the above embodiment, the uplink data transmission device further includes: a monitoring module 87 and a second sending module 88.
[0223] The monitoring module 87 is used to monitor the downlink data in response to the absence of the uplink data to be transmitted;
[0224] The second sending module 88 is used to send the BSR to the network device when downlink data is detected.
[0225] Furthermore, in one possible implementation of this invention, the first sending module 82 is further configured to:
[0226] In response to the timeout of either the first timer or the second timer, a BSR is sent to the network device;
[0227] The first timer is used to time the retransmission interval based on the retransmission mechanism.
[0228] The second timer is used to start timing after the first timer expires. The timing duration of the second timer is shorter than the retransmission interval of the first timer.
[0229] Furthermore, in one possible implementation of this invention, the runtime information includes at least one of the application running in the foreground and the amount of data to be uploaded generated per unit time.
[0230] The conditions to be set include at least one of the following:
[0231] Applications running in the foreground are called configuration applications;
[0232] The amount of data to be uploaded generated per unit time exceeds the set threshold.
[0233] In the uplink data transmission device of this invention, the modem of the terminal device determines the report data volume based on the amount of uplink data to be transmitted, in response to the terminal device's operating information meeting set conditions. Then, it sends a Buffer Status Report (BSR) to the network device based on the report data volume. Thus, the modem of the terminal device can determine the report data volume based on the amount of uplink data to be transmitted, and send a BSR to the network device based on the report data volume, when the terminal device's operating information meets the set conditions, thereby solving the problem of large uplink transmission latency.
[0234] With the above Figure 6 Corresponding to the uplink data transmission method provided in the embodiments, the present invention also provides an uplink data transmission device. Because the uplink data transmission device provided in the embodiments of the present invention is similar to the one described above... Figure 6 The uplink data transmission method provided in the embodiments corresponds to the uplink data transmission method provided in the embodiments of the present invention, and therefore the implementation of the uplink data transmission method is also applicable to the uplink data transmission device provided in the embodiments of the present invention, and will not be described in detail in the embodiments of the present invention.
[0235] Figure 11 This is a schematic diagram of an uplink data transmission device provided in an embodiment of the present invention.
[0236] like Figure 11 As shown, the uplink data transmission device includes: a data acquisition module 1101 and a triggering module 1102.
[0237] The data acquisition module 1101 is used to collect the operating information of the terminal device;
[0238] Trigger module 1102 is used to trigger the modem to determine the amount of report data based on the amount of uplink data to be transmitted, and to send buffer status report information (BSR) to the network device based on the amount of report data, in response to the terminal device's operating information meeting the set conditions. The amount of report data is greater than the amount of uplink data to be transmitted.
[0239] Furthermore, in one possible implementation of this invention, the runtime information includes at least one of the application running in the foreground and the amount of data to be uploaded generated per unit time.
[0240] The conditions to be set include at least one of the following:
[0241] Applications running in the foreground are called configuration applications;
[0242] The amount of data to be uploaded generated per unit time exceeds the set threshold.
[0243] In the uplink data transmission device of this invention, the application processor of the terminal device collects the terminal device's operating information. In response to the terminal device's operating information meeting set conditions, it triggers the modem to determine the report data volume based on the amount of uplink data to be transmitted, and sends a Buffer Status Report (BSR) to the network device based on the report data volume. The report data volume is greater than the amount of uplink data to be transmitted. Therefore, by collecting the terminal device's operating information, the application processor can trigger the modem to determine the report data volume based on the amount of uplink data to be transmitted and send the report data to the network device when the terminal device's operating information meets set conditions, thus solving the problem of large uplink transmission latency.
[0244] To achieve the above objectives, a fifth aspect of the present invention provides a terminal device, characterized in that it comprises:
[0245] An application processor, and a modem connected to the application processor;
[0246] The application processor is used to execute the above. Figure 6 The uplink data transmission method provided in the embodiment;
[0247] The modem is used to perform the above. Figures 1 to 5 The uplink data transmission method provided in the embodiment.
[0248] To achieve the above objectives, a sixth aspect of the present invention provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the uplink data transmission method proposed in any of the above embodiments of the present invention.
[0249] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0250] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0251] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of preferred embodiments of the invention includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of the invention pertain.
[0252] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0253] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented using any of the following techniques known in the art, or a combination thereof: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0254] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0255] Furthermore, the functional units in the various embodiments of the present invention can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0256] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present invention.
Claims
1. An uplink data transmission method, characterized by, The method is executed by a modem of a terminal device, and comprises the following steps: in response to running information of the terminal device meeting a set condition, querying a cache data amount occupied by to-be-transmitted uplink data in a cache of the terminal device; determining an initial value of an offset data amount according to the cache data amount, the initial value of the offset data amount being used to reflect a space size occupied by the to-be-transmitted uplink data in the cache of the terminal device; determining a reporting data amount according to a sum of the initial value of the offset data amount and a data amount of the to-be-transmitted uplink data, wherein the reporting data amount is greater than the data amount of the to-be-transmitted uplink data; sending, to a network device, buffer status report information (BSR) according to the reporting data amount.
2. The method of claim 1, wherein, The method further comprises the following steps: receiving uplink resources allocated by the network device according to the reporting data amount in the BSR; transmitting the uplink data by using the uplink resources; in response to the existence of idle resources in the uplink resources which are not used for uplink data transmission, reducing the offset data amount; in response to the non-existence of the idle resources in the uplink resources, increasing the offset data amount until the adjusted offset data amount reaches a set upper limit.
3. The method according to any of claims 1-2, characterized in that, The sending, to the network device, of the BSR according to the reporting data amount comprises the following steps: in response to the existence of the to-be-transmitted uplink data, sending the BSR to the network device.
4. The method of claim 3, wherein, The method further comprises the following steps: in response to the non-existence of the to-be-transmitted uplink data, listening to downlink data; in a case where downlink data is listened to, sending the BSR to the network device.
5. The method according to any of claims 1-2, characterized by, The sending, to the network device, of the BSR according to the reporting data amount comprises the following steps: in response to the expiration of any one of a first timer and a second timer, sending the BSR to the network device; the first timer is used to count time based on a retransmission interval length of a retransmission mechanism; the second timer is used to count time after the expiration of the first timer, and the counting time length of the second timer is shorter than the retransmission interval length of the first timer.
6. The method according to any one of claims 1-2, characterized in that, The running information comprises at least one of an application program in foreground running and a data amount of to-be-transmitted uplink data generated in a unit time; The set condition comprises at least one of the following: the application program in foreground running is a set application program; the data amount of the to-be-transmitted uplink data generated in the unit time is greater than a set threshold.
7. An uplink data transmission method, characterized by, The method is executed by an application processor of a terminal device, and comprises the following steps: collecting running information of the terminal device; In response to the running information of the terminal device meeting a set condition, a modem is triggered to query a cache data amount of the uplink data to be transmitted in the cache of the terminal device; an initial value of an offset data amount is determined according to the cache data amount, the initial value of the offset data amount being used to reflect a space size occupied by the uplink data to be transmitted in the buffer of the terminal device; a reporting data amount is determined according to a sum of the initial value of the offset data amount and a data amount of the uplink data to be transmitted, and a buffer status report information (BSR) is sent to a network device according to the reporting data amount, wherein the reporting data amount is greater than the data amount of the uplink data to be transmitted.
8. The method of claim 7, wherein, The running information includes at least one of an application program in foreground running and a data amount of the uplink data to be transmitted generated in a unit time; The set condition includes at least one of the following: The application program in foreground running is a set application program; The data amount of the uplink data to be transmitted generated in the unit time is greater than a set threshold.
9. An uplink data transmission apparatus, characterized by comprising: The method comprises: A determining module is configured to query, in response to the running information of the terminal device meeting a set condition, a cache data amount of the uplink data to be transmitted in the cache of the terminal device; An initial value of an offset data amount is determined according to the cache data amount, the initial value of the offset data amount being used to reflect a space size occupied by the uplink data to be transmitted in the buffer of the terminal device; A reporting data amount is determined according to a sum of the initial value of the offset data amount and a data amount of the uplink data to be transmitted, wherein the reporting data amount is greater than the data amount of the uplink data to be transmitted; A first sending module is configured to send, according to the reporting data amount, a buffer status report information (BSR) to a network device.
10. An apparatus for uplink data transmission, the apparatus comprising: The method comprises: A collecting module is configured to collect running information of a terminal device; A triggering module is configured to trigger, in response to the running information of the terminal device meeting a set condition, a modem to query a cache data amount of the uplink data to be transmitted in the cache of the terminal device; An initial value of an offset data amount is determined according to the cache data amount, the initial value of the offset data amount being used to reflect a space size occupied by the uplink data to be transmitted in the buffer of the terminal device; a reporting data amount is determined according to a sum of the initial value of the offset data amount and a data amount of the uplink data to be transmitted, and a buffer status report information (BSR) is sent to a network device according to the reporting data amount, wherein the reporting data amount is greater than the data amount of the uplink data to be transmitted.
11. A terminal device, comprising: The method comprises: An application processor and a modem connected with the application processor; The application processor is configured to execute the method of any one of claims 7-8; The modem is configured to execute the method of any one of claims 1-6.
12. A non-transitory computer readable storage medium having stored thereon computer instructions, wherein, The computer instructions are used to make the computer execute the method of any one of claims 1-6, or execute the method of any one of claims 7-8.
Citation Information
Cited By
Buffer size signaling
US12689939B2
Buffer size signaling
US20240340690A1