Method for determining the frequency of a central processing unit and a user equipment
Abstract
A method for determining the frequency of a CPU is provided. The method includes establishing a wireless connection with a network via a transceiver of a UE. The method includes determining the CPU frequency upper bound via the CPU of the UE. The method includes increasing the frequency of the CPU, until a first parameter of the wireless connection remains the same value for a predetermined duration via the CPU. The frequency of the CPU will not be increased beyond the CPU frequency upper bound. The method includes decreasing the frequency of the CPU until a second parameter of the wireless connection changes, in response to a determination that the first parameter of the wireless connection remains the same value for the predetermined duration via the CPU.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method for determining the frequency of a central processing unit, comprising:
establishing, via a transceiver of a user equipment (UE), a wireless connection with a network; determining, via a central processing unit (CPU) of the UE, a CPU frequency upper bound; increasing, via the CPU, a frequency of the CPU, until a first parameter of the wireless connection remains the same value for a predetermined duration, wherein the frequency of the CPU is limited to be lower than the CPU frequency upper bound; and decreasing, via the CPU, the frequency of the CPU until a second parameter of the wireless connection changes, in response to a determination that the first parameter of the wireless connection remains the same value for the predetermined duration.
2 . The method as claimed in claim 1 , further comprising:
determining, via the CPU, a maximum throughput according to a maximum available bandwidth of the wireless connection, wherein the maximum throughput is the maximum throughput that the wireless connection is able to achieve; determining, via the CPU, the CPU frequency upper bound according to the maximum throughput of the wireless connection, wherein the CPU frequency upper bound is the lowest frequency required to achieve the maximum throughput.
3 . The method as claimed in claim 1 , further comprising:
receiving, via the transceiver, an indication information that indicates a maximum throughput of the wireless connection from the network; and determining, via the CPU, the CPU frequency upper bound according to the maximum throughput of the wireless connection, wherein the CPU frequency upper bound is the lowest frequency required to achieve the maximum throughput.
4 . The method as claimed in claim 1 , further comprising:
determining, via the CPU, the CPU frequency upper bound is the maximum frequency of the CPU, when an amount of date required to be transmitted through the UE is smaller than a maximum achievable throughput of the UE; determining, via the CPU, the CPU frequency upper bound is a value smaller than the maximum frequency of the CPU, when the amount of date required to be transmitted through the UE is larger than the maximum achievable throughput of the UE; wherein the maximum achievable throughput of the UE is the throughput achieved using the CPU working at the maximum frequency of the CPU before an over-temperature protection mechanism is triggered.
5 . The method as claimed in claim 1 , wherein the UE comprises a sensor for sensing human close to the UE, wherein the method further comprises:
determining, via the CPU, the CPU frequency upper bound is a first CPU frequency upper bound, when a sensing result of the sensor indicates that a human is located within a predetermined distance of the UE; and determining, via the CPU, the CPU frequency upper bound is a second CPU frequency upper bound, when the sensing result of the sensor indicates that no human is located within the predetermined distance of the UE; wherein the first CPU frequency upper bound is lower than the second CPU frequency upper bound.
6 . The method as claimed in claim 1 , wherein the operation of increasing the frequency of the CPU until the first parameter of the wireless connection remains the same value for the predetermined duration comprises:
determining, via the CPU, whether the first parameter of the wireless connection remains the same value for the predetermined duration; increasing, via the CPU, the frequency of the CPU by a first value, and determining again whether the first parameter of the wireless connection remains the same value for the predetermined duration, in response to a determination that the first parameter of the wireless connection doesn't remain the same value for the predetermined duration; wherein the operation of decreasing the frequency of the CPU until the second parameter of the wireless connection changes comprises: determining, via the CPU, whether the second parameter of the wireless connection changes; decreasing, via the CPU, the frequency of the CPU by a second value and determining whether the second parameter of the wireless connection changes again, in response to a determination that the second parameter of the wireless connection doesn't change; increasing, via the CPU, the frequency of the CPU by the second value, in response to a determination that the second parameter of the wireless connection changes.
7 . The method as claimed in claim 6 , wherein the first value is higher than the second value.
8 . The method as claimed in claim 1 , wherein the CPU comprises multiple cores, wherein the method further comprises:
determining, via the CPU, which core(s) of the CPU will be boosted, based on hardware configurations of the cores; and wherein the operation of increasing the frequency of the CPU until the parameter of the wireless connection remains the same value for the predetermined duration comprises:
increasing, via the CPU, the frequency of the core(s) that is determined to be boosted.
9 . The method as claimed in claim 1 , wherein the CPU comprises multiple cores, wherein the method further comprises:
determining, via the CPU, to separate tasks into multiple workers/tasklets and dispatch the workers/tasklets to different cores, when a throughput of the wireless connection is higher than a first threshold; determining, via the CPU, to combine the tasks and use one of the cores to process the combined tasks, when the throughput is lower than a second threshold.
10 . The method as claimed in claim 1 , wherein the CPU comprises multiple cores, wherein the method further comprises:
determining, via the CPU, which core(s) of the CPU will be used to process a task; and determining, via the CPU, to use the core with the lowest process capability to process the task, when the throughput is lower than a threshold.
11 . The method as claimed in claim 1 , further comprising:
determining, via the CPU, a new CPU frequency upper bound, in response to an amount that the throughput of the wireless connection changes being greater than a threshold.
12 . The method as claimed in claim 1 , wherein the first parameter and the second parameter of the wireless connection is: amount of upper level packets, received signal strength indication (RSSI), the throughput, or packet error rate (PER).
13 . A user equipment (UE), comprising:
a transceiver, configured to establish a wireless connection with a network; and a central processing unit (CPU), configured to:
determine a CPU frequency upper bound according;
increase a frequency of the CPU, until a first parameter of the wireless connection remains the same value for a predetermined duration, wherein the frequency of the CPU is limited to be lower than the CPU frequency upper bound; and
decrease the frequency of the CPU until a second parameter of the wireless connection changes, in response to a determination that the first parameter of the wireless connection remains the same value for the predetermined duration.
14 . The UE as claimed in claim 13 , wherein the CPU is further configured to:
determine a maximum throughput according to a maximum available bandwidth of the wireless connection, wherein the maximum throughput is the maximum throughput that the wireless connection is able to achieve; determine the CPU frequency upper bound according to the maximum throughput of the wireless connection, wherein the CPU frequency upper bound is the lowest frequency required to achieve the maximum throughput.
15 . The UE as claimed in claim 13 , wherein the transceiver is further configured to receive an indication information that indicates a maximum throughput of the wireless connection from the network;
wherein the CPU is further configured to: determine the CPU frequency upper bound according to the maximum throughput of the wireless connection, wherein the CPU frequency upper bound is the lowest frequency required to achieve the maximum throughput.
16 . The UE as claimed in claim 13 , wherein the CPU is further configured to:
determine the CPU frequency upper bound is the maximum frequency of the CPU, when an amount of date required to be transmitted through the UE is smaller than a maximum achievable throughput of the UE; determine the CPU frequency upper bound is a value smaller than the maximum frequency of the CPU, when the amount of date required to be transmitted through the UE is larger than the maximum achievable throughput of the UE; wherein the maximum achievable throughput of the UE is the throughput achieved using the CPU working at the maximum frequency of the CPU before an over-temperature protection mechanism is triggered.
17 . The UE as claimed in claim 13 , wherein the UE further comprises a sensor for sensing human close to the UE, wherein the CPU is further configured to:
determine the CPU frequency upper bound is a first CPU frequency upper bound, when a sensing result of the sensor indicates that a human is located within a predetermined distance of the UE; and determine the CPU frequency upper bound is a second CPU frequency upper bound, when the sensing result of the sensor indicates that no human is located within the predetermined distance of the UE; wherein the first CPU frequency upper bound is lower than the second CPU frequency upper bound.
18 . The UE as claimed in claim 13 , wherein the operation of increasing the frequency of the CPU until the first parameter of the wireless connection remains the same value for the predetermined duration comprises:
determining, via the CPU, whether the first parameter of the wireless connection remains the same value for the predetermined duration; increasing, via the CPU, the frequency of the CPU by a first value, and determining again whether the first parameter of the wireless connection remains the same value for a predetermined duration, in response to a determination that the first parameter of the wireless connection doesn't remain the same value for a predetermined duration; wherein the operation of decreasing the frequency of the CPU until the second parameter of the wireless connection changes comprises: determining, via the CPU, whether the second parameter of the wireless connection changes; decreasing, via the CPU, the frequency of the CPU by a second value and determining whether second parameter of the wireless connection changes again, in response to a determination that the second parameter of the wireless connection doesn't change; increasing, via the CPU, the frequency of the CPU by the second value, in response to a determination that the second parameter of the wireless connection changes.
19 . The UE as claimed in claim 18 , wherein the first value is higher than the second value.
20 . The UE as claimed in claim 13 , wherein the CPU comprises multiple cores, wherein the CPU is further configured to:
determine which core(s) of the CPU will be boosted, based on the hardware configurations of the cores; wherein the operation of increasing the frequency of the CPU until the parameter of the wireless connection remains the same value for the predetermined duration comprises: increasing, via the CPU, the frequency of the core(s) that is determined to be boosted.
21 . The UE as claimed in claim 13 , wherein the CPU is further configured to:
determine a new CPU frequency upper bound, in response to an amount that the throughput of the wireless connection changes being greater than a threshold.
22 . The UE as claimed in claim 13 , wherein the first parameter and the second parameter of the wireless connection is: amount of upper level packets, received signal strength indication (RSSI), the throughput, or packet error rate (PER).
23 . The UE as claimed in claim 13 , wherein the CPU comprises multiple cores, wherein the CPU is further configured to:
determine to separate tasks into multiple workers/tasklets and dispatch the workers/tasklets to different cores, when a throughput of the wireless connection is higher than a first threshold; determine to combine the tasks and use one of the cores to process the combined tasks, when the throughput is lower than a second threshold.
24 . The UE as claimed in claim 13 , wherein the CPU comprises multiple cores, wherein the CPU is further configured to:
determine which core(s) of the CPU will be used to process a task; and determine to use the core with the lowest process capability to process a task, when the throughput is lower than a threshold.Join the waitlist — get patent alerts
Track US2025386383A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.