CN117111722A - Power consumption adjustment method and device, electronic equipment and readable storage medium - Google Patents

Power consumption adjustment method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN117111722A
CN117111722A CN202311184111.8A CN202311184111A CN117111722A CN 117111722 A CN117111722 A CN 117111722A CN 202311184111 A CN202311184111 A CN 202311184111A CN 117111722 A CN117111722 A CN 117111722A
Authority
CN
China
Prior art keywords
power consumption
data processor
parameter information
temperature
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311184111.8A
Other languages
Chinese (zh)
Inventor
罗征武
曾志祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202311184111.8A priority Critical patent/CN117111722A/en
Publication of CN117111722A publication Critical patent/CN117111722A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The application discloses a method and a device for adjusting power consumption, electronic equipment and a readable storage medium, and belongs to the technical field of mobile terminals. The power consumption adjusting method is applied to electronic equipment, the electronic equipment comprises a data processor, and the method comprises the following steps: acquiring the power consumption level of the data processor, wherein the power consumption level is determined according to the parameter information of the data processor; and adjusting the running power of the load in the electronic equipment according to the power consumption level of the data processor.

Description

Power consumption adjustment method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of mobile terminals, and particularly relates to a method and a device for adjusting power consumption, electronic equipment and a readable storage medium.
Background
With the development of the intellectualization of electronic devices, the application of the electronic devices is becoming wider and wider. In an electronic device, a chip can be used as a data processor to be a basis for the operation of the electronic device, and the power consumption of the data processor is an important factor affecting the standby time, the battery life and the user experience of the electronic device.
Although the process of the data processor is more advanced, the process deviation cannot be completely avoided in the process of manufacturing the data processor, so that even the data processors with the same model are different from each other in the process of manufacturing the data processor, the power consumption is inconsistent. Therefore, when the electronic equipment is used as a using terminal of the data processor, and the power consumption of different data processors is inconsistent, obvious differences exist in standby time and battery life of different electronic equipment.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method, an apparatus, an electronic device, and a readable storage medium for adjusting power consumption, which can adjust power consumption of a load in the electronic device, and reduce differences in standby time and battery life between the electronic devices.
In a first aspect, an embodiment of the present application provides a method for adjusting power consumption, where the method is applied to an electronic device, and the electronic device includes a data processor, and the method includes:
acquiring the power consumption level of the data processor, wherein the power consumption level is determined according to the parameter information of the data processor;
and adjusting the running power of the load in the electronic equipment according to the power consumption level of the data processor.
In a second aspect, an embodiment of the present application provides a device for adjusting power consumption, where the device is applied to an electronic device, and the electronic device includes a data processor, and the device includes:
the acquisition module is used for acquiring the power consumption level of the data processor, wherein the power consumption level is determined according to the parameter information of the data processor;
and the adjusting module is used for adjusting the running power of the load in the electronic equipment according to the power consumption level of the data processor.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method as in the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, the actual power consumption of each data processor can be reflected by acquiring the power consumption level of the data processor in the electronic device, wherein the power consumption level of the data processor is determined according to the first parameter information of the data processor. Based on this, the electronic device can adjust the operating power of the load in the electronic device according to the power consumption level of the data processor. Because in different electronic devices, the running power of the load in the electronic device is adjusted based on the power consumption level of the data processor, the power consumption of the electronic device comprising the data processor is basically consistent, and the differences of standby time and battery life among the electronic devices are effectively reduced.
Drawings
Fig. 1 is a schematic diagram of a power consumption adjustment system according to an embodiment of the present application;
fig. 2 is a flow chart of a method for adjusting power consumption according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating another power consumption adjustment method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a power consumption adjusting device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 6 is a schematic hardware structure of another electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
With the development of the intellectualization of electronic devices, the application of the electronic devices is becoming wider and wider. In an electronic device, a chip can be used as a data processor to be a basis for the operation of the electronic device, and the power consumption of the data processor is an important factor affecting the standby time, the battery life and the user experience of the electronic device.
Although the process of the data processor is more advanced, the process deviation cannot be completely avoided in the process of manufacturing the data processor, so that even the data processors with the same model are different from each other in the process of manufacturing the data processor, the power consumption is inconsistent. Therefore, when the electronic equipment is used as a using terminal of the data processor, and the power consumption of different data processors is inconsistent, obvious differences exist in standby time and battery life of different electronic equipment.
Aiming at the technical problems, the embodiment of the application provides a power consumption adjusting method, a device, electronic equipment and a readable storage medium, which can adjust the power consumption of a load in the electronic equipment and reduce the differences of standby time and battery life among the electronic equipment.
The method, the device, the electronic equipment and the readable storage medium for adjusting the power consumption provided by the embodiment of the application are described in detail through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a power consumption adjustment system according to an embodiment of the present application, and the power consumption adjustment system, with reference to fig. 1, may include a data processor 101, a communication unit 102, an audio unit 103, a display unit 104, a temperature control unit 105, a temperature sensor unit 106, a digital-to-analog conversion unit 107, a sampling resistor unit 108, a power supply unit 109, a camera unit 110, and a storage unit 120.
In particular, the electronic device may comprise at least one data processor on which the microelectronic device is integrated. The data processor 101 may perform operations and data processing to provide a variety of functions to a user. By way of example, electronic devices such as cell phones, tablet computers, notebook computers, palm top computers or Ultra Mobile Personal Computers (UMPC) and the like. Chips in electronic devices are devices with data processing functions, such as a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), an embedded Neural network processor (Neural-network Processing Units, NPU), and an analog device signal processor (Analog Devices Signal Processing, ADSP).
The user may obtain the intrinsic parameter information corresponding to each data processor in the electronic device through the data processor 101, and determine the power consumption level of the data processor based on the intrinsic parameter information. In the process of operating the data processor in the electronic equipment, the operating power of the load in the electronic equipment can be adjusted according to the power consumption level of the data processor.
By way of example, loads of the electronic device such as the data processor, the communication unit 102, the audio unit 103, the display unit 104, and the camera unit 110. Specifically, in the electronic device, the temperature control unit 105 and the temperature sensor unit 106 may be used to control the temperature of the data processor, to maintain the temperature of the data processor stable, and thereby reduce fluctuations in power consumption of the data processor.
Based on the above, the power consumption of the electronic equipment comprising the data processor can be basically consistent, and further, the standby time and the difference of the battery life between the electronic equipment can be effectively reduced.
Based on the above-mentioned power consumption system for adjusting the device, the power consumption adjusting method provided by the embodiment of the application is described in detail below.
Fig. 2 is a flowchart of a method for adjusting power consumption of a device according to an embodiment of the present application, and in combination with the method shown in fig. 2, the method for adjusting power consumption of a device may specifically include step 210 and step 220.
Step 210, obtaining a power consumption level of the data processor, wherein the power consumption level is determined according to first parameter information of the data processor;
step 220, adjusting the running power of the load in the electronic device according to the power consumption level of the data processor.
The above steps are described in detail below, and are specifically described below.
In particular, to step 210 described above, at least one data processor may be included in the electronic device. The first parameter information of the data processor may be a parameter value of an intrinsic parameter of the data processor. The first parameter information of the data processor can be obtained through testing, and the inherent parameters of the data processor such as static power consumption, total load capacitance and the like.
After the first parameter information of the data processor is determined, the actual power consumption of the data processor can be determined by combining the first parameter information, and the power consumption level corresponding to the actual power consumption can be determined.
Optionally, after determining the power consumption level of the data processor, the power consumption level of the data processor may be stored, and when the data processor runs, the power consumption level corresponding to the data processor may be directly read. In yet another alternative example, the electronic device may also test the power consumption level of each data processor according to a preset period, and when the power consumption level changes, the stored power consumption level may be updated according to the changed power consumption level.
In some embodiments, the number of one or more data processors that may be concurrently operating in an electronic device is not particularly limited herein, where multiple means two or more. In an exemplary case where the electronic device simultaneously operates a plurality of data processors, the power consumption level of each data processor may be obtained separately, so that an operation policy may be determined in combination with the power consumption level corresponding to each data processor to adjust the operation power of the load in the electronic device.
Next, the above step 220 is related to adjusting the operation power of the load in the electronic device according to the power consumption level of the data processor, wherein the load of the electronic device is, for example, the data processor itself, the communication unit, the audio unit, the display unit, the camera unit, etc.
According to the embodiment of the application, the power consumption level of the data processor is determined according to the first parameter information of the data processor, so that the actual power consumption of each data processor can be reflected; in addition, in different electronic devices, the running power of the load in the electronic device is adjusted based on the power consumption level of the data processor, so that the power consumption of the electronic device comprising the data processor is basically consistent, and the differences of standby time and battery life among the electronic devices are effectively reduced.
In some embodiments of the present application, the power consumption level of the data processor is obtained, and in particular, reference may be made to steps 2101 to 2103.
Step 2101, acquiring first parameter information, wherein the first parameter information comprises a first static power consumption and a first total load capacitance of a data processor;
step 2102, determining actual power consumption of a data processor according to the first static power consumption and the first total load capacitance;
step 2103, determining a power consumption level of the data processor according to the difference between the actual power consumption and the reference power consumption.
In particular, by testing the data processor, a first static power consumption and a first total load capacitance of the data processor may be determined.
When determining the actual power consumption of the data processor, the actual power consumption of the data processor may be determined in combination with the power consumption influencing factor, for example, based on the first power consumption influencing factor corresponding to the first static power consumption and the second power consumption influencing factor corresponding to the first total load capacitance, the actual power consumption of the data processor may be obtained. Next, a power consumption level of the data processor may be determined according to a difference between the actual power consumption and the reference power consumption.
As a specific example, the larger the difference between the actual power consumption and the reference power consumption, the larger the power consumption level of the data processor, and the larger the power consumption level, the higher the power consumption of the data processor.
According to the embodiment of the application, the power consumption level of the data processor is determined, and the running power of the load in the electronic equipment can be adjusted on the basis of the power consumption level of the data processor in different electronic equipment, so that the power consumption of the electronic equipment comprising the data processor is basically consistent, and further the differences of standby time and battery life among the electronic equipment are effectively reduced.
In some embodiments, the first parameter information may be determined based on second parameter information obtained from multiple tests, respectively. Specifically, the obtaining of the first parameter information may refer to the following steps: acquiring second parameter information obtained by each test, wherein the second parameter information comprises second static power consumption and second total load capacitance; determining average static power consumption of the data processor and average total load capacitance of the data processor according to the N second static power consumption and the N second total load capacitances; and determining the actual power consumption of the data processor according to the average static power consumption and the average total load capacitance.
It can be understood that N is a positive integer, and the second parameter information is obtained by performing multiple tests on the data processor, so that the average static power consumption and the average total load capacitance can be calculated. According to the embodiment of the application, the average static power consumption and the average total load capacitance are used as the first static power consumption and the first total load capacitance of the data processor, so that the accuracy of actual power consumption can be improved.
As a specific example, the test conditions include at least two different test information, the test information including a supply voltage to the data processor and an operating frequency of the data processor, wherein the different test information includes different supply voltages and/or different operating frequencies therebetween:
specifically, in the nth test, controlling the temperature of the data processor to be in a preset temperature range, and acquiring operation data which respectively correspond to the data processor based on different test information, wherein the operation data comprises operation current of the data processor, and N is more than or equal to 1 and less than or equal to N; and determining second parameter information corresponding to the nth test according to the test information and the running currents corresponding to different test information.
For example, taking the test condition including two pieces of test information as the example, the two pieces of test information are respectively a first piece of test information and a second piece of test information, and the first piece of test information includes a first power supply voltage V 1 And a first operating frequency F 1 The second power supply voltage V is included in the second test information 2 And a second operating frequency F 2
During the test, the temperature of the data processor can be controlled by the temperature control unit and the temperature sensor unit, so that the temperature of the data processor is kept stable, for example, the temperature of the data processor can be controlled at 25 ℃. Next, the control data processor is based on the first supply voltage V 1 And a first operating frequency F 1 Run and obtain a first running current I of the data processor by acquisition 1 . Specifically, for example, a combination of a sampling resistor unit and a digital-to-analog conversion unit may collect an operating current of a target data processor. Thus, based on the first operating current I1 and the first supply voltage V1, the total power of the data processor can be obtained, as shown in equation (1). Meanwhile, the total power of the data processor is also equal to the sum of the static power and the dynamic power by combining the total power of the data processor, and the total power of the data processor can be obtained as shown in a formula (2).
P 1 =V 1 *I 1 (1)
P 1 = Ps 1 + Pw 1 = Ps 1 +0.5*V 1 2 *F 1 C L (2)
Wherein, ps 1 For the second static power, pw 1 Is dynamic power and Pw 1 =0.5*V 1 2 *F 1 C L ,V 1 For the first supply voltage, F 1 Is the first operating frequency. C (C) L Is the second total load capacitance. The second static power Ps in equation (2) 1 And a second total load capacitance C L Is an unknown quantity.
In case the temperature of the data processor is controlled to 25 degrees celsius, it is also necessary to control the data processor based on the second supply voltage V 2 And a second operating frequency F 2 Run and obtain a second running current I of the data processor by acquisition 2 . Illustratively, a combination of a sampling resistor unit and a digital-to-analog conversion unit may collect the operating current of the data processor. Thus, based on the second operating current I 2 And a second supply voltage V 2 The total power of the data processor can be obtained as shown in equation (3). Meanwhile, the total power of the data processor is also equal to the sum of the static power and the dynamic power, and the total power of the data processor can be obtained as shown in a formula (4).
P 2 =V 2 *I 2 (3)
P 2 = Ps 2 + Pw 2 = Ps 2 +0.5*V 2 2 *F 2 C L (4)
Wherein, ps 2 For the second static power, pw 2 Is dynamic power and Pw 2 =0.5*V 2 2 *F 2 C L ,V 2 For a second supply voltage, F 2 Is the second operating frequency. C (C) L Is the second total load capacitance. The second static power Ps in equation (4) 2 And a second total load capacitance C L Is an unknown quantity.
The solution equations for the set of parameters can be combined with equations (1) to (4), as shown in equations (5) and (6).
P 1 =V 1 *I 1 =Ps 1 + Pw 1 = Ps 1 +0.5*V 1 2 *F 1 C L (5)
P 2 =V 2 *I 2 = Ps 2 + Pw 2 = Ps 2 +0.5*V 2 2 *F 2 C L (6)
Because the temperature of the data processor is maintained at 25 ℃ in the test process, that is, the temperature of the data processor is not changed, and the total load capacitance is not changed in the same test process, the total load capacitance is C L And Ps 1 =Ps 2 . In the process of solving the equation set, P 1 、P 2 、V 1 、F 1 、V 2 、F 2 Are known values. By subtracting equation (6) from equation (5), C can be obtained first L And then C is carried out L Substituting the initial static power Ps into the equation (5) and the equation (6) respectively 1
Based on the steps, the second parameter information corresponding to the nth test can be obtained, and N second parameter information can be obtained after N steps. It will be appreciated that the data processor may be controlled at different temperatures during different testing procedures. However, in one test procedure, the temperature of the data processor needs to be kept consistent, so as to calculate the second parameter information corresponding to each test procedure, including the second static power consumption and the second total load capacitance.
According to the embodiment of the application, after N second static power consumption and N second total load electricity are calculated, the average static power consumption and the average total load capacitance can be calculated respectively and used as the first static power consumption and the first total load capacitance of the data processor, so that the accuracy of actual power consumption can be improved.
In some embodiments of the present application, fig. 3 is a flowchart of another method for adjusting power consumption provided in the embodiment of the present application, and after power consumption of a target data processor in an electronic device is obtained, as shown in fig. 3, the running power of a load in the electronic device is adjusted according to the power consumption level of the data processor, and the following steps may be referred to specifically:
step 2201, acquiring a first temperature of a data processor and a second temperature of an electronic device when the power consumption level is greater than a preset power consumption level;
in step 2202, when the first temperature is greater than the first temperature threshold and/or the second temperature is greater than the second temperature threshold, the operating power of the load in the electronic device is adjusted according to the operating policy corresponding to the power consumption level.
In particular, the first temperature may be a temperature of the data processor and the second temperature may be a surface temperature of the electronic device. Wherein the average value of the temperature of the data processor itself and the surface temperature of the electronic device affects the power consumption. For example, as temperature increases, power consumption of the data processor increases. Thus, after the first temperature of the target data processor and the second temperature of the electronic device are acquired, it may be determined whether the first temperature is greater than a first temperature threshold and whether the second temperature is greater than a second temperature threshold, respectively. And under the condition that any one of the first temperature and the second temperature exceeds the corresponding temperature threshold value, adjusting the operation power of the load in the electronic equipment according to the operation strategy corresponding to the power consumption level.
According to the embodiment of the application, by detecting the temperature of the data processor and the temperature of the electronic equipment, the running power of the load in the electronic equipment can be regulated in time according to the running strategy control corresponding to the power consumption level, and the whole temperature of the electronic equipment can be effectively prevented from being raised, so that the touch feeling of a user using the electronic equipment is prevented from being influenced.
In some embodiments of the application, the operational control strategy comprises at least any one of the following control strategies: data processor control strategy, display control strategy, audio control strategy.
For example, the data processor control policy may include at least one of control information of an operating frequency and allocation information of an operating resource.
In particular, the operating frequency of the data processor is proportional to the power consumption level, i.e. the higher the power consumption level, the higher the operating frequency of the data processor. The size of the operating resources of the data processor is proportional to said power consumption level, i.e. the higher the power consumption level the larger the operating resources of the data processor.
Thus, in case that the power consumption level is greater than the preset power consumption level, the control policy may include any one of control information for reducing the operating frequency of the data processor and allocation information for reducing the operating resources, thereby reducing the power consumption of the data processor.
According to the embodiment of the application, the power consumption of the data processor can be controlled, and the power consumption of the data processor in different electronic equipment can be basically consistent, so that the differences of standby time and battery life between the electronic equipment are effectively reduced.
In some embodiments, in the case where the load includes a display unit, the display control policy may include at least any one of adjustment information of display brightness, adjustment information of display gray scale, adjustment information of image resolution, adjustment information of image frame rate, and adjustment information of image refresh rate.
By way of example, power consumption of a display unit in an electronic device may be reduced by any of reducing display brightness, reducing display gray scale, reducing image resolution, reducing image frame rate, and reducing image refresh rate.
Therefore, when the power consumption level is larger than the preset power consumption level, the power consumption of the display unit can be controlled by reducing any one of the adjustment information of the display brightness, the adjustment information of the display gray level, the adjustment information of the image resolution, the adjustment information of the image frame rate and the adjustment information of the image refresh rate, so that the cruising use time of the electronic equipment is controlled within the preset duration, and the differences of standby time and battery life among the electronic equipment are effectively reduced.
In some embodiments, where the load comprises an audio output unit, the audio control strategy comprises volume adjustment information and/or adjustment information of the frequency response curve. By reducing the output volume of the audio unit and reducing the response range corresponding to the frequency response curve, the power consumption of the audio unit in the electronic device can be reduced.
Therefore, under the condition that the power consumption level is larger than the preset power consumption level, the output volume of the audio unit is reduced by using the brother, and any one of the response range adjusting information corresponding to the frequency response curve is reduced, so that the power consumption of the audio unit can be controlled, the duration of the electronic equipment is controlled within the preset duration, and the differences of standby time and battery life among the electronic equipment are effectively reduced.
It can be understood that the operation power of any one of the data processor, the display unit and the audio output unit can be adjusted simultaneously based on the operation control strategy, any two of them can be adjusted simultaneously, and the operation powers of the three can be adjusted simultaneously.
According to the power consumption adjusting method provided by the embodiment of the application, the execution main body can be the power consumption adjusting device. In the embodiment of the present application, an example of a method for adjusting power consumption performed by a power consumption adjusting device is described.
Fig. 4 is a schematic structural diagram of a power consumption adjusting device according to an embodiment of the present application, where the power consumption adjusting device may be applied to an electronic device, and the electronic device includes at least one data processor. The power consumption adjustment means may comprise an acquisition module 410 and an adjustment module 420.
An obtaining module 410, configured to obtain a power consumption level of the data processor, where the power consumption level is determined according to first parameter information of the data processor;
the adjusting module 420 is configured to adjust an operating power of a load in the electronic device according to the power consumption level of the data processor.
According to the embodiment of the application, the power consumption level of the data processor is determined according to the first parameter information of the data processor, so that the actual power consumption of each data processor can be reflected; in addition, in different electronic devices, the running power of the load in the electronic device is adjusted based on the power consumption level of the data processor, so that the power consumption of the electronic device comprising the data processor is basically consistent, and the differences of standby time and battery life among the electronic devices are effectively reduced.
In some embodiments, the apparatus further comprises a processing module;
The acquiring module 410 is further configured to acquire first parameter information, where the first parameter information includes a first static power consumption and a first total load capacitance of the data processor;
the processing module is also used for determining the actual power consumption of the data processor according to the first static power consumption and the first total load capacitance;
and the processing module is also used for determining the power consumption level of the data processor according to the difference value between the actual power consumption and the reference power consumption.
According to the embodiment of the application, the power consumption level of the data processor is determined, and the running power of the load in the electronic equipment can be adjusted on the basis of the power consumption level of the data processor in different electronic equipment, so that the power consumption of the electronic equipment comprising the data processor is basically consistent, and further the differences of standby time and battery life among the electronic equipment are effectively reduced.
In some embodiments, the number of tests is N;
the obtaining module 410 is further configured to obtain second parameter information obtained by each test, where the second parameter information includes a second static power consumption and a second total load capacitance;
the processing module is also used for determining the average static power consumption of the data processor and the average total load capacitance of the data processor according to the N second static power consumption and the N second total load capacitances;
The actual power consumption of the data processor is determined based on the average static power consumption and the average total load capacitance.
According to the embodiment of the application, the average static power consumption and the average total load capacitance are used as the first static power consumption and the first total load capacitance of the data processor, so that the accuracy of actual power consumption can be improved.
In some embodiments, the test conditions include at least two different test information, the test information including a supply voltage to the data processor and an operating frequency of the data processor, wherein the different test information includes different supply voltages and/or different operating frequencies therebetween:
the acquiring module 410 is further configured to control the temperature of the data processor to be within a preset temperature range during the nth test, and acquire operation data corresponding to the data processor based on different test information, where the operation data includes an operation current of the data processor, and N is greater than or equal to 1 and less than or equal to N;
the processing module is further used for determining second parameter information corresponding to the nth test according to the test information and the running currents corresponding to different test information.
According to the embodiment of the application, after N second static power consumption and N second total load electricity are calculated, the average static power consumption and the average total load capacitance can be calculated respectively and used as the first static power consumption and the first total load capacitance of the data processor, so that the accuracy of actual power consumption can be improved.
In some embodiments, the obtaining module 410 is further configured to obtain a first temperature of the data processor and a second temperature of the electronic device when the power consumption level is greater than a preset power consumption level;
the adjusting module 420 is further configured to adjust an operation power of a load in the electronic device according to an operation policy control corresponding to the power consumption level when the first temperature is greater than the first temperature threshold and/or the second temperature is greater than the second temperature threshold.
According to the embodiment of the application, by detecting the temperature of the data processor and the temperature of the electronic equipment, the running power of the load in the electronic equipment can be regulated in time according to the running strategy control corresponding to the power consumption level, and the whole temperature of the electronic equipment can be effectively prevented from being raised, so that the touch feeling of a user using the electronic equipment is prevented from being influenced.
In some embodiments, the operational control strategy includes at least any one of the following: data processor control strategy, display control strategy, audio control strategy.
The power consumption adjusting device in the embodiment of the application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The power consumption adjusting device in the embodiment of the application can be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The power consumption adjusting device provided by the embodiment of the application can realize each process realized by the power consumption adjusting method embodiment, and in order to avoid repetition, the description is omitted.
Optionally, as shown in fig. 5, the embodiment of the present application further provides an electronic device 500, including a processor 501 and a memory 502, where the memory 502 stores a program or an instruction that can be executed on the processor 501, and the program or the instruction implements each step of the above-mentioned power consumption adjustment method embodiment when executed by the processor 501, and the steps achieve the same technical effects, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, and processor 610.
Those skilled in the art will appreciate that the electronic device 600 may further include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 610 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
A processor 610, configured to obtain a power consumption level of the data processor, where the power consumption level is determined according to first parameter information of the data processor;
the processor 610 is configured to adjust an operating power of a load in the electronic device according to a power consumption level of the data processor.
According to the embodiment of the application, the power consumption level of the data processor is determined according to the first parameter information of the data processor, so that the actual power consumption of each data processor can be reflected; in addition, in different electronic devices, the running power of the load in the electronic device is adjusted based on the power consumption level of the data processor, so that the power consumption of the electronic device comprising the data processor is basically consistent, and the differences of standby time and battery life among the electronic devices are effectively reduced.
In some embodiments, the processor 610 is further configured to obtain first parameter information, where the first parameter information includes a first static power consumption and a first total load capacitance of the data processor;
the processor 610 is further configured to determine an actual power consumption of the data processor according to the first static power consumption and the first total load capacitance;
the processor 610 is further configured to determine a power consumption level of the data processor according to a difference between the actual power consumption and the reference power consumption.
According to the embodiment of the application, the power consumption level of the data processor is determined, and the running power of the load in the electronic equipment can be adjusted on the basis of the power consumption level of the data processor in different electronic equipment, so that the power consumption of the electronic equipment comprising the data processor is basically consistent, and further the differences of standby time and battery life among the electronic equipment are effectively reduced.
In some embodiments, the number of tests is N;
the processor 610 is further configured to obtain second parameter information obtained by each test, where the second parameter information includes a second static power consumption and a second total load capacitance;
the processor 610 is further configured to determine an average static power consumption of the data processor and an average total load capacitance of the data processor according to the N second static power consumptions and the N second total load capacitances;
The actual power consumption of the data processor is determined based on the average static power consumption and the average total load capacitance.
According to the embodiment of the application, the average static power consumption and the average total load capacitance are used as the first static power consumption and the first total load capacitance of the data processor, so that the accuracy of actual power consumption can be improved.
In some embodiments, the test conditions include at least two different test information, the test information including a supply voltage to the data processor and an operating frequency of the data processor, wherein the different test information includes different supply voltages and/or different operating frequencies therebetween:
the processor 610 is further configured to control, in an nth test, the temperature of the data processor to be within a preset temperature range, and obtain operation data corresponding to the data processor based on different test information, where the operation data includes an operation current of the data processor, and N is greater than or equal to 1 and less than or equal to N;
the processor 610 is further configured to determine second parameter information corresponding to an nth test according to the test information and the running currents corresponding to different test information.
According to the embodiment of the application, after N second static power consumption and N second total load electricity are calculated, the average static power consumption and the average total load capacitance can be calculated respectively and used as the first static power consumption and the first total load capacitance of the data processor, so that the accuracy of actual power consumption can be improved.
In some embodiments, the processor 610 is further configured to obtain a first temperature of the data processor and a second temperature of the electronic device if the power consumption level is greater than a preset power consumption level;
the processor 610 is further configured to adjust an operating power of a load in the electronic device according to an operation policy control corresponding to the power consumption level when the first temperature is greater than the first temperature threshold and/or the second temperature is greater than the second temperature threshold.
According to the embodiment of the application, by detecting the temperature of the data processor and the temperature of the electronic equipment, the running power of the load in the electronic equipment can be regulated in time according to the running strategy control corresponding to the power consumption level, and the whole temperature of the electronic equipment can be effectively prevented from being raised, so that the touch feeling of a user using the electronic equipment is prevented from being influenced.
In some embodiments, the operational control strategy includes at least any one of the following: data processor control strategy, display control strategy, audio control strategy.
It should be understood that in an embodiment of the present application, the input unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes image data of still pictures or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes at least one of a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts of a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 609 may include volatile memory or nonvolatile memory, or the memory 609 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 609 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
The processor 610 may include one or more processing units; optionally, the processor 610 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above-mentioned power consumption adjustment method embodiment, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or instructions, the processes of the above-mentioned power consumption adjusting method embodiment can be realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the above-described embodiments of the power consumption adjustment method, and achieve the same technical effects, and for avoiding repetition, a detailed description is omitted herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (12)

1. A method for adjusting power consumption, the method being applied to an electronic device, the electronic device including a data processor, the method comprising:
acquiring the power consumption level of the data processor, wherein the power consumption level is determined according to first parameter information of the data processor;
and adjusting the running power of the load in the electronic equipment according to the power consumption level of the data processor.
2. The method of claim 1, wherein the obtaining the power consumption level of the data processor comprises:
acquiring the first parameter information, wherein the first parameter information comprises first static power consumption and first total load capacitance of the data processor;
determining the actual power consumption of the data processor according to the first static power consumption and the first total load capacitance;
and determining the power consumption level of the data processor according to the difference value between the actual power consumption and the reference power consumption.
3. The method according to claim 2, wherein the first parameter information is determined according to a plurality of second parameter information obtained by N tests, respectively, and the obtaining the first parameter information includes:
Acquiring second parameter information obtained by each test, wherein the second parameter information comprises second static power consumption and second total load capacitance;
determining average static power consumption of the data processor and average total load capacitance of the data processor according to the N second static power consumption and the N second total load capacitances;
and determining the actual power consumption of the data processor according to the average static power consumption and the average total load capacitance.
4. A method according to claim 3, wherein the test conditions comprise at least two different test information, the test information comprising a supply voltage of the data processor and an operating frequency of the data processor, wherein the different test information comprises different supply voltages and/or different operating frequencies therebetween:
the obtaining the second parameter information obtained by each test comprises the following steps:
in the nth test, controlling the temperature of the data processor to be in a preset temperature range, and acquiring operation data which respectively correspond to the data processor based on different test information, wherein the operation data comprises operation current of the data processor, and N is more than or equal to 1 and less than or equal to N;
And determining second parameter information corresponding to the nth test according to the test information and the running currents corresponding to the different test information.
5. The method of claim 1, wherein adjusting the operating power of the load in the electronic device according to the power consumption level of the data processor comprises:
acquiring a first temperature of the data processor and a second temperature of the electronic device under the condition that the power consumption level is larger than a preset power consumption level;
and under the condition that the first temperature is greater than a first temperature threshold value and/or the second temperature is greater than a second temperature threshold value, controlling according to an operation strategy corresponding to the power consumption level, and adjusting the operation power of the load in the electronic equipment.
6. The method of claim 1, wherein the operational control strategy comprises at least any one of the following control strategies: data processor control strategy, display control strategy, audio control strategy.
7. An apparatus for adjusting power consumption, the apparatus being applied to an electronic device, the electronic device including a data processor, the apparatus comprising:
the acquisition module is used for acquiring the power consumption level of the data processor, wherein the power consumption level is determined according to the first parameter information of the data processor;
And the adjusting module is used for adjusting the running power of the load in the electronic equipment according to the power consumption level of the data processor.
8. The apparatus of claim 7, further comprising a processing module;
the acquisition module is further configured to acquire the first parameter information, where the first parameter information includes a first static power consumption and a first total load capacitance of the data processor;
the processing module is further configured to determine an actual power consumption of the data processor according to the first static power consumption and the first total load capacitance;
the processing module is further configured to determine a power consumption level of the data processor according to a difference between the actual power consumption and the reference power consumption.
9. The apparatus of claim 8, wherein the first parameter information is determined according to a plurality of second parameter information obtained by N tests, respectively, the number of tests being N;
the acquisition module is further used for acquiring second parameter information obtained by each test, wherein the second parameter information comprises second static power consumption and second total load capacitance;
the processing module is further configured to determine an average static power consumption of the data processor and an average total load capacitance of the data processor according to the N second static power consumption and the N second total load capacitances;
And determining the actual power consumption of the data processor according to the average static power consumption and the average total load capacitance.
10. The apparatus of claim 9, wherein the test conditions include at least two different test information, the test information including a supply voltage to the data processor and an operating frequency of the data processor, wherein the different test information includes different supply voltages and/or different operating frequencies therebetween:
the acquisition module is further used for controlling the temperature of the data processor to be in a preset temperature range in the nth test, and acquiring operation data respectively corresponding to the data processor based on different test information, wherein the operation data comprises operation current of the data processor, and N is more than or equal to 1 and less than or equal to N;
the processing module is further configured to determine second parameter information corresponding to the nth test according to the test information and the running currents corresponding to the different test information.
11. The apparatus of claim 7, wherein the device comprises a plurality of sensors,
the acquiring module is further configured to acquire a first temperature of the data processor and a second temperature of the electronic device when the power consumption level is greater than a preset power consumption level;
The adjusting module is further configured to adjust the operating power of the load in the electronic device according to the operation policy control corresponding to the power consumption level when the first temperature is greater than a first temperature threshold and/or the second temperature is greater than a second temperature threshold.
12. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method of adjusting power consumption according to any one of claims 1-6.
CN202311184111.8A 2023-09-13 2023-09-13 Power consumption adjustment method and device, electronic equipment and readable storage medium Pending CN117111722A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311184111.8A CN117111722A (en) 2023-09-13 2023-09-13 Power consumption adjustment method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311184111.8A CN117111722A (en) 2023-09-13 2023-09-13 Power consumption adjustment method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN117111722A true CN117111722A (en) 2023-11-24

Family

ID=88811002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311184111.8A Pending CN117111722A (en) 2023-09-13 2023-09-13 Power consumption adjustment method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN117111722A (en)

Similar Documents

Publication Publication Date Title
WO2021238473A1 (en) Screen refresh rate adjusting method and apparatus, electronic device, and storage medium
US11277798B2 (en) Method for reducing power consumption of terminal, and terminal
TW201405305A (en) Terminal device and operating method thereof
CN109272917B (en) Screen brightness adjusting method and device, storage medium and electronic equipment
CN112286338B (en) Chip control method, chip control device, electronic equipment and storage medium
CN114063675A (en) Temperature control method and device
CN107341094B (en) Method and device for measuring time consumed by starting item
US20170300108A1 (en) Applicaiton low power control and the apparatus using the same
CN113031752A (en) Chip voltage adjusting method, performance testing method and device and electronic equipment
CN117389402A (en) Image processing method and device and electronic equipment
CN117111722A (en) Power consumption adjustment method and device, electronic equipment and readable storage medium
CN109669528B (en) Terminal processing component control method and device, computer equipment and storage medium
CN112965551A (en) Heating control method and device for loudspeaker
CN111767136B (en) Process management method, terminal and device with storage function
CN114327714A (en) Application program control method, device, equipment and medium
CN112216888A (en) Charging method and device and electronic equipment
CN114337872B (en) Network signal measurement method and device
CN114089876B (en) Wallpaper display method, wallpaper display device, computer equipment and storage medium
CN110611127B (en) Battery management method, device, storage medium and electronic equipment
CN112243152A (en) Method for adjusting picture size, intelligent terminal and storage medium
CN116320719A (en) Shooting method and device and electronic equipment
CN107295175A (en) A kind of display control method, device, storage medium and the mobile terminal of mobile terminal electricity
CN117524035A (en) Display panel compensation method, device, computer equipment and storage medium
CN117215398A (en) Voltage adjustment method, device, electronic equipment and readable storage medium
CN116302541A (en) Resource performance adjusting method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination