IP Library Granted Patent US 12707457
Granted Patent B2
US 12707457 · App. 18/260,253 · Granted Aug 11, 2026

Uplink resource pre-application method and related device

Inventors: Haiquan Yang (Shanghai, CN); Bingguang Peng (Shanghai, CN); Ning He (Shanghai, CN); Lingchen Huang (Hangzhou, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04W72/1268
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12707457
App. No.
18/260,253
Granted
Aug 11, 2026
Kind
B2
Abstract

Embodiments of this application provide an uplink resource pre-application method and a related device. An electronic device may predict encoding duration of a to-be-sent data packet in an application (APP), determine an encoding completion moment of the to-be-sent data packet, and send an uplink scheduling request to a network device before the encoding completion moment of the to-be-sent data packet, to apply for an uplink resource for the to-be-sent data packet in advance. In this way, a latency of sending uplink data by the electronic device may be reduced, and power consumption of the electronic device may be reduced.

Claims (20)

1 . A communication method, comprising: encoding, by an electronic device, to- be-sent data to generate a to-be-sent data packet; predicting, by the electronic device, at an encoding start moment to of the to-be-sent data packet, encoding duration M of the to-be-sent data packet, and determining an encoding completion moment t1 of the to-be-sent data packet based on the encoding duration M of the to-be-sent data packet; starting, by the electronic device, a timer having an expiration moment t2 of the timer earlier than the encoding completion moment t1 of the to-be-sent data packet, wherein a time interval from the expiration moment t2 of the timer to a moment of sending a first scheduling request (SR) after the encoding completion moment t1 of the to-be-sent data packet is one SR periodicity; sending, by the electronic device, an SR to a network device at the expiration moment t2 of the timer; receiving, by the electronic device, uplink grant information sent by the network device;

and sending, by the electronic device, the to-be-sent data packet at the encoding completion moment t1 of the to-be-sent data packet by using an uplink resource indicated by the uplink grant information, wherein the expiration moment t2 of the timer is equal to a start moment t3 of the timer plus duration T of the timer, and the duration T of the timer is equal to duration from the start moment t3 of the timer to the encoding completion moment t1 of the to-be-sent data packet minus a time interval M3;

and the encoding completion moment t1 of the to-be-sent data packet is equal to the encoding start moment t0 of the to-be-sent data packet plus the encoding duration M of the to-be-sent data packet;

and the time interval M3 is equal to a time interval M1 plus a time interval M2, wherein the time interval M1 is a time interval from the expiration moment t2 of the timer to a moment at which the electronic device receives the uplink grant information, and the time interval M2 is a time interval from the moment at which the electronic device receives the uplink grant information to the encoding completion moment t1 of the to-be-sent data packet.

2 . The method of claim 1 , the method further comprising: determining, by the electronic device, at least one of the time interval M1 or the time interval M2 based on one or more network configuration parameters from the network device.

3 . The method of claim 1 , wherein the electronic device comprises: an application layer, a modem, and an application interface layer used for communication between the application layer and the modem, the application interface layer provides a first interface used by the application layer to transmit the encoding completion moment t1 of the to-be-sent data packet to the application interface layer.

4 . The method of claim 1 , wherein the electronic device comprises: an application layer, a modem, and an application interface layer used for communication between the application layer and the modem, the application interface layer provides a second interface used by the application interface layer to transmit an attention (AT) command to the modem, wherein the AT command carries at least one of the encoding completion moment t1 of the to-be-sent data packet, and the AT command is used to instruct the modem to start the timer.

5 . The method according to claim 1 , wherein the step of sending the SR to the network device at the expiration moment t2 of the timer is performed on the following condition: the encoding completion moment t1 of the to-be-sent data packet is earlier than a first moment, the first moment is equal to the expiration moment t2 of the timer plus a time interval M1 and a half of the SR periodicity, and the time interval M1 is a time interval from the expiration moment t2 of the timer to the moment at which the electronic device receives the uplink grant information.

6 . The method of claim 1 , wherein the to-be-sent data is image data captured by the electronic device.

7 . The method of claim 1 , wherein the sending the to-be-sent data packet at the encoding completion moment t1 of the to-be-sent data packet by using an uplink resource indicated by the uplink grant information comprises: if an arrival moment of the uplink grant information is earlier than the expiration moment t2, using, by the electronic device, a padding data packet to process an uplink resource allocated by the network device.

8 . An electronic device, comprising: one or more processors; and a non-transitory memory configured to store processor-executable instructions that, when executed by the one or more processors, cause the electronic device to perform: encoding to-be-sent data to generate a to-be-sent data packet; predicting at an encoding start moment t0 of the to-be-sent data packet, encoding duration M of the to-be-sent data packet; determining an encoding completion moment t1 of the to-be-sent data packet based on the encoding duration M of the to-be-sent data packet; starting a timer having an expiration moment t2 earlier than the encoding completion moment t1 of the to-be-sent data packet, wherein a time interval from the expiration moment t2 of the timer to a moment of sending a first scheduling request (SR) after the encoding completion moment t1 of the to-be-sent data packet is one SR periodicity; sending an SR to a network device at the expiration moment t2 of the timer; receiving uplink grant information sent by the network device; and sending the to-be-sent data packet at the encoding completion moment t1 of the to-be-sent data packet by using an uplink resource indicated by the uplink grant information, wherein the expiration moment t2 of the timer is equal to a start moment t3 of the timer plus duration T of the timer, and the duration T of the timer is equal to duration from the start moment t3 of the timer to the encoding completion moment t1 of the to-be-sent data packet minus a time interval M3; and the encoding completion moment t1 of the to-be-sent data packet is equal to the encoding start moment to of the to-be-sent data packet plus the encoding duration M of the to-be-sent data packet; and the time interval M3 is equal to a time interval M1 plus a time interval M2, wherein the time interval M1 is a time interval from the expiration moment t2 of the timer to a moment at which the electronic device receives the uplink grant information, and the time interval M2 is a time interval from the moment at which the electronic device receives the uplink grant information to the encoding completion moment t1 of the to-be-sent data packet.

9 . The electronic device of claim 8 , wherein the processor-executable instructions further cause the electronic device to perform: determining at least one of the time interval M1 or the time interval M2 based on one or more network configuration parameters from the network device.

10 . The electronic device according to claim 8 , wherein the electronic device comprises: an application layer, a modem, and an application interface layer used for communication between the application layer and the modem, the application interface layer provides a first interface used by the application layer to transmit the encoding completion moment t1 of the to-be-sent data packet to the application interface layer.

11 . The electronic device of claim 8 , wherein the electronic device comprises: an application layer, a modem, and an application interface layer used for communication between the application layer and the modem, the application interface layer provides a second interface used by the application interface layer to transmit an attention (AT) command to the modem, wherein the AT command carries the encoding completion moment t1 of the to-be-sent data packet, and the AT command is used to instruct the modem to start the timer.

12 . The electronic device of claim 8 , wherein the step of the sending the SR to the network device at the expiration moment t2 of the timer is performed under the following condition: the encoding completion moment t1 of the to-be-sent data packet is earlier than a first moment, the first moment is equal to the expiration moment t2 of the timer plus the time interval M1 and a half of the SR periodicity, and the time interval ML is the time interval from the expiration moment t2 of the timer to the moment at which the electronic device receives the uplink grant information.

13 . The electronic device of claim 8 , wherein the to-be-sent data is image data captured by the electronic device.

14 . The electronic device of claim 8 , wherein the sending the to-be-sent data packet at the encoding completion moment t1 of the to-be-sent data packet by using an uplink resource indicated by the uplink grant information comprises: if an arrival moment of the uplink grant information is earlier than the expiration moment t2, using, by the electronic device, a padding data packet to process an uplink resource allocated by the network device.

15 . Anon-transitory memory, comprising instructions, wherein when the instructions are run on an electronic device, the electronic device is enabled to perform the following steps: encoding to-be-sent data to generate a to-be-sent data packet; predicting at an encoding start moment t0 of the to-be-sent data packet, encoding duration M of the to-be-sent data packet, and determining an encoding completion moment t1 of the to-be-sent data packet based on the encoding duration M of the to-be-sent data packet; starting a timer having an expiration moment t2 earlier than the encoding completion moment t1 of the to-be-sent data packet, wherein a time interval from the expiration moment t2 of the timer to a moment of sending a first scheduling request (SR) after the encoding completion moment t1 of the to-be-sent data packet is one SR periodicity; sending an SR to a network device at the expiration moment t2 of the timer; receiving uplink grant information sent by the network device; and sending the to-be-sent data packet at the encoding completion moment t1 of the to-be-sent data packet by using an uplink resource indicated by the uplink grant information, wherein the expiration moment t2 of the timer is equal to a start moment t3 of the timer plus duration T of the timer, and the duration T of the timer is equal to duration from the start moment t3 of the timer to the encoding completion moment t1 of the to-be-sent data packet minus a time interval M3; and the encoding completion moment t1 of the to-be-sent data packet is equal to the encoding start moment to of the to-be-sent data packet plus the encoding duration M of the to-be-sent data packet; and the time interval M3 is equal to a time interval M1 plus a time interval M2, wherein the time interval M1 is a time interval from the expiration moment t2 of the timer to a moment at which the electronic device receives the uplink grant information, and the time interval M2 is a time interval from the moment at which the electronic device receives the uplink grant information to the encoding completion moment t1 of the to-be-sent data packet.

16 . The non-transitory memory of claim 15 , wherein at least one of the time interval M1 or the time interval M2 is determined by the electronic device based on one or more network configuration parameters from the network device.

17 . The non-transitory memory of claim 15 , wherein the sending the to-be-sent data packet at the encoding completion moment t1 of the to-be-sent data packet by using an uplink resource indicated by the uplink grant information comprises: if an arrival moment of the uplink grant information is earlier than the expiration moment t2, using, by the electronic device, a padding data packet to process an uplink resource allocated by the network device.