CN107566624B - Display method for power consumption and temperature of terminal, terminal and computer readable storage medium - Google Patents

Display method for power consumption and temperature of terminal, terminal and computer readable storage medium Download PDF

Info

Publication number
CN107566624B
CN107566624B CN201710741205.9A CN201710741205A CN107566624B CN 107566624 B CN107566624 B CN 107566624B CN 201710741205 A CN201710741205 A CN 201710741205A CN 107566624 B CN107566624 B CN 107566624B
Authority
CN
China
Prior art keywords
terminal
power consumption
temperature
difference
current
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.)
Active
Application number
CN201710741205.9A
Other languages
Chinese (zh)
Other versions
CN107566624A (en
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 CN201710741205.9A priority Critical patent/CN107566624B/en
Publication of CN107566624A publication Critical patent/CN107566624A/en
Application granted granted Critical
Publication of CN107566624B publication Critical patent/CN107566624B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Telephone Function (AREA)

Abstract

The invention provides a display method of power consumption and temperature of a terminal and the terminal, wherein the display method of the power consumption and the temperature of the terminal comprises the following steps: acquiring current operating parameters of a terminal and the current mainboard temperature of the terminal; determining a power consumption estimation value and a temperature estimation value of the terminal according to the current operating parameter, the current mainboard temperature and a corresponding relation between the predetermined operating parameter and the power consumption and temperature variation; displaying the power consumption estimated value and the temperature estimated value on the terminal; wherein the operating parameters include: foreground running task, access network type, screen brightness, terminal play volume and background running task. Therefore, the scheme of the invention can estimate the temperature condition and the power consumption condition of the terminal, so as to forecast the user, enable the user to sense the temperature and the power consumption condition of the terminal in advance, improve the understanding of the user on the temperature and the power consumption of the terminal, and reduce the situations of heating and power consumption increase of the terminal.

Description

Display method for power consumption and temperature of terminal, terminal and computer readable storage medium
Technical Field
The invention relates to the technical field of terminal control, in particular to a display method of power consumption and temperature of a terminal and the terminal.
Background
With the development of smart phones, the endurance and heat dissipation capabilities of mobile phones increasingly become the focus of user attention and complaints, and meanwhile, the mobile phones are heated and the power consumption is increased due to the fact that the mobile phones are abnormal or the ambient temperature is too high. When the mobile phone generates heat, in order to prevent the internal hardware circuit of the mobile phone from being damaged due to the heat, the user can only pause the use of the mobile phone until the temperature of the mobile phone automatically returns to normal. When the power consumption of the mobile phone is increased, the user can only pause to use the mobile phone in order to avoid the influence of excessive power consumption on normal communication.
In addition, in the current solution, generally, the heating or power consumption condition fed back to the client is only subjected to simple system upgrade, or a mobile phone is replaced to solve the heating and power consumption complaint, or the client is visited again to find that the condition is caused by the client perception. However, this does not really reflect the problems that the customer encounters, nor does the user distinguish how long the situation can be used.
Therefore, the user cannot perceive the temperature condition and the power consumption condition of the terminal, so that the terminal often generates heat and the power consumption is increased in the operation process of the user, the use of the user is influenced, and the use satisfaction degree of the user on the terminal is reduced.
Disclosure of Invention
The embodiment of the invention provides a method for displaying power consumption and temperature of a terminal and the terminal, and aims to solve the problems that in the prior art, a user cannot sense the temperature condition and the power consumption condition of the terminal, so that the terminal is heated and the power consumption is increased frequently in the operation process of the user.
The embodiment of the invention provides a method for displaying power consumption and temperature of a terminal, which comprises the following steps:
acquiring current operating parameters of a terminal and the current mainboard temperature of the terminal;
determining a power consumption estimation value and a temperature estimation value of the terminal according to the current operation parameter, the current mainboard temperature and a corresponding relation between a predetermined operation parameter and power consumption and temperature variation;
displaying the power consumption estimate and the temperature estimate on the terminal;
wherein the operating parameters include: foreground running task, access network type, screen brightness, terminal play volume and background running task.
An embodiment of the present invention further provides a terminal, including:
the system comprises a parameter acquisition module, a parameter acquisition module and a control module, wherein the parameter acquisition module is used for acquiring current operation parameters of a terminal and current mainboard temperature of the terminal;
the power consumption and temperature estimation module is used for determining a power consumption estimation value and a temperature estimation value of the terminal according to the current operation parameter, the current mainboard temperature and the corresponding relation between the predetermined operation parameter and the power consumption and temperature variation;
the first display module is used for displaying the power consumption estimated value and the temperature estimated value on the terminal;
wherein the operating parameters include: foreground running task, access network type, screen brightness, terminal play volume and background running task.
The embodiment of the invention also provides a terminal, which comprises a memory, a processor and a display program of the power consumption and the temperature of the terminal, wherein the display program is stored on the memory and can run on the processor; and the processor realizes the display method of the power consumption and the temperature of the terminal when executing the display program of the power consumption and the temperature of the terminal.
An embodiment of the present invention also provides a computer-readable storage medium, on which a display program of power consumption and temperature of a terminal is stored, and when executed by a processor, the display program of power consumption and temperature of a terminal implements the steps in the display method of power consumption and temperature of a terminal described above.
The embodiment of the invention has the beneficial effects that:
according to the embodiment of the invention, the temperature condition and the power consumption condition of the terminal can be estimated according to the current operation parameter of the terminal, the current mainboard temperature and the corresponding relation between the predetermined operation parameter and the power consumption and the temperature variation, so that the forecast is made for the user, the user can sense the temperature and the power consumption condition of the terminal in advance, the understanding of the user on the temperature and the power consumption of the terminal is improved, the situations of heating and power consumption increase of the terminal are reduced, and the satisfaction degree of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart illustrating a method for displaying power consumption and temperature of a terminal according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for displaying power consumption and temperature of another terminal according to an embodiment of the present invention;
fig. 3 is a block diagram of a terminal according to an embodiment of the present invention;
fig. 4 shows a second block diagram of a terminal according to an embodiment of the present invention;
fig. 5 is a block diagram illustrating a structure of another terminal according to an embodiment of the present invention;
fig. 6 is a block diagram of another terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a method for displaying power consumption and temperature of a terminal, as shown in fig. 1, the method including:
step 101: the method comprises the steps of obtaining current operation parameters of a terminal and the current mainboard temperature of the terminal.
The temperature condition and the power consumption condition of the terminal in the using process are related to the operation condition and the current temperature of the terminal, so that the current operation parameters of the terminal and the current mainboard temperature need to be acquired in order to predict the temperature condition and the power consumption condition of the terminal.
Step 102: and determining a power consumption estimation value and a temperature estimation value of the terminal according to the current operation parameter, the current mainboard temperature and a corresponding relation between a predetermined operation parameter and power consumption and temperature variation.
In the embodiment of the invention, the power consumption and the temperature variation of the terminal under different operation parameters are predetermined, so that the corresponding relation between the different operation parameters and the power consumption and the temperature variation is determined, and the power consumption condition and the temperature condition of the terminal can be estimated according to the current operation parameters and the current mainboard temperature of the terminal obtained in the step 101, so as to forecast for a user.
Preferably, the operating parameters include: foreground running task, access network type, screen brightness, terminal play volume and background running task. The operation parameters specifically include parameter items, which are not limited to the above, and other parameter items may be further added, so that the accuracy of estimating the temperature condition and the power consumption condition of the terminal according to the operation parameters is higher.
Step 103: displaying the power consumption estimate and the temperature estimate on the terminal.
The power consumption estimate and the temperature estimate are determined in step 102, and thus represent the highest possible power consumption and temperature values that the terminal may consume during subsequent use. Therefore, the power consumption estimated value and the temperature estimated value are displayed on the terminal, and the power consumption and the temperature of the terminal in the later use process are forecasted for the user, so that the user can sense the temperature and the power consumption condition of the terminal in advance, the understanding of the user on the temperature and the power consumption of the terminal is improved, and the satisfaction degree of the user is improved.
Therefore, according to the embodiment of the invention, the temperature condition and the power consumption condition of the terminal can be estimated according to the current operation parameter of the terminal, the current mainboard temperature and the corresponding relation between the predetermined operation parameter and the power consumption and the temperature variation, so that the forecast is made for the user, the user can sense the temperature and the power consumption condition of the terminal in advance, the understanding of the user on the temperature and the power consumption of the terminal is improved, the situations of heating and power consumption increase of the terminal are reduced, and the satisfaction degree of the user is improved.
An embodiment of the present invention provides a method for displaying power consumption and temperature of a terminal, as shown in fig. 2, the method including:
step 201: the method comprises the steps of obtaining current operation parameters of a terminal and the current mainboard temperature of the terminal.
The temperature condition and the power consumption condition of the terminal in the using process are related to the operation condition and the current temperature of the terminal, so that the current operation parameters of the terminal and the current mainboard temperature need to be acquired in order to predict the temperature condition and the power consumption condition of the terminal.
Step 202: and searching a target operation parameter matched with the current operation parameter in a predetermined corresponding relation between the operation parameter and the power consumption and temperature variation.
And the foreground running task in the current running parameter is consistent with the foreground running task in the target running parameter, and the access network type in the current running parameter is consistent with the access network type in the target running parameter.
In the embodiment of the present invention, the power consumption and the temperature variation of the terminal under different operation parameters are predetermined, so as to determine the corresponding relationship between the different operation parameters and the power consumption and the temperature variation, and further, the power consumption condition and the temperature condition of the terminal can be estimated according to the current operation parameter and the current motherboard temperature of the terminal obtained in step 201, so as to forecast the user.
In the using process of the terminal, conditions affecting the temperature and the power consumption are various, for example, different application scenes (i.e., foreground running tasks), different access networks, different screen brightness, different volume when the terminal is placed outside, different background running tasks, and the like all result in different temperatures and different power consumptions. The embodiment of the invention estimates the temperature and the power consumption condition of the terminal from the main factors influencing the temperature and the power consumption of the terminal, thereby forecasting the user, leading the user to sense the temperature and the power consumption condition of the terminal in advance, improving the understanding of the user on the temperature and the power consumption of the terminal and improving the satisfaction degree of the user.
Thus, preferably, the running parameters include a foreground running task, an access network type, screen brightness, a terminal outgoing volume size, and a background running task.
Step 203: and determining the power consumption estimation value of the terminal according to the screen brightness, the terminal play volume and the background running task in the current running parameters, the screen brightness, the terminal play volume and the background running task in the target running parameters and the power consumption corresponding to the target running parameters.
The screen brightness, the terminal external playback volume and the background running task in the current running parameters may all have a certain deviation from the screen brightness, the terminal external playback volume and the background running task in the target running parameters, so that a certain deviation exists between the power consumption estimated value of the terminal and the power consumption corresponding to the target running parameters, and therefore, in order to ensure the accuracy of the power consumption estimated value of the terminal, the estimated difference of the screen brightness, the volume and the power consumption generated by the background running task needs to be considered.
Thus, further, step 203 comprises:
acquiring a first difference value between the screen brightness in the current operation parameter and the screen brightness in the target operation parameter, and a second difference value between the terminal play volume in the current operation parameter and the terminal play volume in the target operation parameter;
determining a first power consumption estimated difference corresponding to the first difference according to a corresponding relation between a predetermined screen brightness difference and a predetermined power consumption estimated difference;
determining a second power consumption estimated difference corresponding to the second difference according to the corresponding relation between the predetermined terminal play volume difference and the power consumption estimated difference;
determining a third power consumption estimated difference value generated by the background running task according to the corresponding relation between the predetermined background running task and the power consumption estimated difference value;
and determining a power consumption estimation value of the terminal according to the first power consumption estimated difference value, the second power consumption estimated difference value, the third power consumption estimated difference value and the power consumption corresponding to the target operation parameter.
Namely, the embodiment of the invention determines the corresponding relation between the screen brightness difference and the power consumption estimated difference, the corresponding relation between the terminal external playback volume difference and the power consumption estimated difference, and the corresponding relation between the background running task and the power consumption estimated difference in advance, thereby determining the estimated total difference of the power consumption generated by the screen brightness, the terminal external playback volume and the background running task, and further determining the estimated value of the power consumption of the terminal according to the estimated total difference of the power consumption and the power consumption corresponding to the target running parameter.
Specifically, if the estimated power consumption value is expressed by the power consumption current and the power consumption in the predetermined correspondence relationship between the different operation parameters and the power consumption and the temperature variation is also expressed by the power consumption current, for example,
when the target operation parameter and the power consumption current corresponding to the target operation parameter are expressed as follows:
the foreground running task is a game A, the access network is WIFI, the screen brightness is 150cd, the terminal external sound volume is 63db, the background running task comprises a first application, and the power consumption current is 550 mA;
if the current operation parameters include that the foreground operation task is an A-style game, the access network is WIFI, the screen brightness is 210cd, the terminal play volume is 53db, and the background operation task comprises a first application and a second application;
comparing the current operation parameter with each parameter in the target operation parameters, the screen brightness deviation is +60cd, the volume size deviation is-10 db, and the background operation task deviation is a background task deviation.
And because it is predetermined that the power consumption current is deviated by 30mA when the screen brightness difference is between 120cd and 60cd, and the power consumption current is deviated by 60mA when the terminal playing volume difference is between 64db and 0db, and the power consumption current is deviated by 30mA every time there is a background running task, the estimated value of the power consumption of the terminal is 550mA +30mA-60mA +30 mA-550 mA.
Step 204: and determining the temperature estimation value of the terminal according to the screen brightness, the terminal play volume and the background running task in the current running parameters, the screen brightness, the terminal play volume and the background running task in the target running parameters, and the temperature variation corresponding to the target running parameters.
The screen brightness, the terminal external playback volume and the background running task in the current running parameters may all have a certain deviation from the screen brightness, the terminal external playback volume and the background running task in the target running parameters, so that a certain deviation exists in the temperature estimation value of the terminal.
Thus, further, step 204 comprises:
acquiring a first difference value between the screen brightness in the current operation parameter and the screen brightness in the target operation parameter, and a second difference value between the terminal play volume in the current operation parameter and the terminal play volume in the target operation parameter;
determining a first temperature estimated difference corresponding to the first difference according to a predetermined corresponding relation between the screen brightness difference and the temperature estimated difference;
determining a second temperature estimated difference corresponding to the second difference according to a predetermined corresponding relation between the difference of the volume of the played sound outside the terminal and the temperature estimated difference;
determining a third temperature estimation difference value generated by the background running task according to the corresponding relation between the predetermined background running task and the temperature estimation difference value;
and determining the temperature estimation value of the terminal according to the first temperature estimation difference value, the second temperature estimation difference value, the third temperature estimation difference value and the temperature variation corresponding to the target operation parameter.
Namely, the embodiment of the invention determines the corresponding relation between the screen brightness difference and the temperature estimated difference, the corresponding relation between the terminal external playback volume difference and the temperature estimated difference, and the corresponding relation between the background running task and the temperature estimated difference in advance, thereby determining the temperature estimated total difference generated by the screen brightness, the terminal external playback volume and the background running task, and further determining the temperature estimated value of the terminal according to the temperature estimated total difference and the temperature variation corresponding to the target running parameter.
Specifically, for example, when the target operating parameter and the amount of temperature change corresponding to the target operating parameter are expressed as follows:
the foreground running task is a game A, the access network is WIFI, the screen brightness is 150cd, the terminal external sound volume is 63db, the background running task comprises a first application, and the temperature variation is improved by 6 ℃;
if the current operation parameters comprise that the foreground operation task is a game of A, the access network is WIFI, the screen brightness is 210cd, the terminal play volume is 53db, the background operation task comprises a first application and a second application, and the current mainboard temperature is 35 ℃;
comparing the current operation parameter with each parameter in the target operation parameters, the screen brightness deviation is +60cd, the volume size deviation is-10 db, and the background operation task deviation is a background task deviation.
And because it is predetermined that the estimated temperature deviation is 2 ℃ when the screen brightness difference is between 120cd and 60cd, and the estimated temperature deviation is 1 ℃ when the terminal play volume difference is between 64db and 0db, and the power consumption current deviation is 0.5 ℃ when each background running task exists, the estimated temperature value of the terminal is 35 ℃ +6 ℃ +2 ℃ -1 ℃ +0.5 ℃ + 42.5 ℃.
Step 205: displaying the power consumption estimate and the temperature estimate on the terminal.
The power consumption estimate and the temperature estimate are determined by steps 203 and 204, and thus represent the highest possible values of power consumption and temperature that the terminal may consume during subsequent use. Therefore, the power consumption estimated value and the temperature estimated value are displayed on the terminal, and the power consumption and the temperature of the terminal in the later use process are forecasted for the user, so that the user can sense the temperature and the power consumption condition of the terminal in advance, the understanding of the user on the temperature and the power consumption of the terminal is improved, and the satisfaction degree of the user is improved.
Preferably, when the power consumption estimated value is a power consumption current value, after determining the power consumption estimated value and the temperature estimated value of the terminal, the embodiment of the present invention further includes:
acquiring the battery capacity of the terminal, and acquiring the power consumption rate of the terminal according to the battery capacity and the power consumption current value; displaying the power consumption rate on the terminal; wherein the power consumption rate represents a time taken by the terminal to consume every 1% of the power.
The power consumption rate of the terminal is further determined according to the battery capacity of the terminal and the estimation of the current power consumption current of the terminal, so that a user can sense the power consumption speed of the terminal, and the use satisfaction degree of the user is further improved.
Further, the step of obtaining the power consumption rate of the terminal according to the battery capacity and the power consumption current value includes: and substituting the battery capacity C and the power consumption current value B into a first preset formula Y-1% C/B60, and determining the terminal power consumption rate Y.
For example, if the battery capacity C is 4000mAh and the consumption current B is 550mA, the consumption rate Y is 1% × 4000/550 ≈ 60 ≈ 4.4min, i.e., the time taken by the terminal to consume one percent of the electricity is 4.4 minutes.
Preferably, when the power consumption estimated value is a power consumption current value, after determining the power consumption estimated value and the temperature estimated value of the terminal, the embodiment of the present invention further includes:
acquiring the battery capacity and the current remaining power percentage of the terminal, and acquiring the power consumption duration of the current remaining power of the terminal according to the battery capacity, the current remaining power percentage and the power consumption current value; and displaying the power utilization duration of the current residual power of the terminal on the terminal.
The method comprises the steps of obtaining the current power consumption duration of the terminal, and estimating the current power consumption current of the terminal according to the current power consumption current of the terminal and the battery capacity of the terminal, namely further determining the current power consumption duration of the current remaining current of the terminal according to the current remaining capacity percentage of the terminal and the estimation of the current power consumption current of the terminal, so that a user can sense the subsequent power consumption duration of the terminal, further preparation is made for the subsequent use arrangement of the terminal, and the use satisfaction.
Further, the step of obtaining the power consumption duration of the current remaining power of the terminal according to the battery capacity, the current remaining power percentage and the power consumption current value includes:
and substituting the battery capacity C, the current residual capacity percentage D and the power consumption current value B into a second preset formula Z (D C/B) to obtain the power consumption duration Z of the current residual capacity of the terminal.
For example, if the battery capacity C is 4000mAh, the current remaining capacity percentage D is 50%, and the consumption current value B is 550mA, the power consumption duration Z of the current remaining capacity of the terminal is 50% × 4000/550 ≈ 3.6h, that is, the current remaining 50% of the capacity of the terminal can be used for 3.6 hours.
Preferably, before step 201, the embodiment of the present invention further comprises: judging whether the running time of the foreground running task of the terminal reaches a preset threshold value or not, and executing the step of acquiring the current running parameters of the terminal and the current mainboard temperature of the terminal when the running time of the foreground running task of the terminal reaches the preset threshold value.
The method comprises the steps that when a foreground of the terminal starts to operate a certain task, timing is started, and when the timing time reaches a preset threshold value, power consumption and temperature of the terminal are estimated, so that the situation that due to the fact that a user touches the terminal by mistake to execute a certain application, unnecessary estimation of the power consumption and the temperature of the terminal is generated is avoided, the operation space of the terminal is saved, and partial electric quantity is saved.
Furthermore, after step 205, it is preferable to further include: and judging whether the power consumption estimation value exceeds a first preset value or not and whether the temperature estimation value exceeds a second preset value or not, and sending prompt information of abnormal use of the terminal to an after-sale system of the terminal when the power consumption estimation value exceeds the first preset value or the temperature estimation value exceeds the second preset value.
Namely, after the power consumption condition and the temperature condition of the terminal are estimated through the steps, if the power consumption and the temperature of the terminal are found to be abnormal, the terminal can be triggered to automatically feed back to the after-sales system, and therefore relevant workers of the after-sales system can conveniently process the abnormal condition in time.
Therefore, according to the embodiment of the invention, the corresponding relation between the power consumption and the temperature variation under different operation parameters is perfected in advance according to the system test, the influences of the foreground operation task, the access network type, the screen brightness, the terminal play volume, the background operation task and the like on the power consumption and the temperature variation are fully considered, and the temperature condition and the power consumption condition of the terminal are estimated, so that the forecast is made for the user, the user can sense the temperature and the power consumption condition of the terminal in advance, the understanding of the user on the temperature and the power consumption of the terminal is improved, the situations of terminal heating and power consumption increase are reduced, and the satisfaction degree of the user is improved.
An embodiment of the present invention further provides a terminal, as shown in fig. 3, where the terminal 300 includes:
a parameter obtaining module 301, configured to obtain a current operating parameter of a terminal and a current motherboard temperature of the terminal;
a power consumption and temperature estimation module 302, configured to determine a power consumption estimation value and a temperature estimation value of the terminal according to the current operating parameter and the current motherboard temperature, and a predetermined correspondence between the operating parameter and the power consumption and temperature variation;
a first display module 303, configured to display the power consumption estimation value and the temperature estimation value on the terminal;
wherein the operating parameters include: foreground running task, access network type, screen brightness, terminal play volume and background running task.
Preferably, when the operation parameters include a foreground operation task, an access network type, a screen brightness, a terminal volume, and a background operation task, as shown in fig. 4, the power consumption and temperature estimation module 302 includes:
a searching unit 3021, configured to search for a target operation parameter matched with the current operation parameter in a predetermined correspondence relationship between the operation parameter and power consumption and a temperature variation, where a foreground operation task in the current operation parameter is consistent with a foreground operation task in the target operation parameter, and an access network type in the current operation parameter is consistent with an access network type in the target operation parameter;
a power consumption estimating unit 3022, configured to determine a power consumption estimated value of the terminal according to the screen brightness, the terminal external playback volume, and the background running task in the current running parameter, the screen brightness, the terminal external playback volume, and the background running task in the target running parameter, and the power consumption corresponding to the target running parameter;
and the temperature estimation unit 3023 is configured to determine the temperature estimation value of the terminal according to the screen brightness, the terminal volume and the background running task in the current running parameter, the screen brightness, the terminal volume and the background running task in the target running parameter, and the temperature variation corresponding to the target running parameter.
Preferably, as shown in fig. 4, the power consumption prediction unit 3022 includes:
a first difference obtaining subunit 30221, configured to obtain a first difference between the screen brightness in the current operation parameter and the screen brightness in the target operation parameter, and a second difference between the terminal play volume in the current operation parameter and the terminal play volume in the target operation parameter;
a first estimated difference obtaining subunit 30222, configured to determine, according to a predetermined correspondence between a screen brightness difference and a power consumption estimated difference, a first power consumption estimated difference corresponding to the first difference;
a second estimated difference obtaining subunit 30223, configured to determine, according to a predetermined correspondence between a difference in the volume of the terminal played back and an estimated difference in power consumption, a second estimated difference in power consumption corresponding to the second difference;
a third estimated difference obtaining subunit 30224, configured to determine, according to a predetermined correspondence between the background running task and the power consumption estimated difference, a third power consumption estimated difference generated due to the background running task;
a power consumption estimation subunit 30225, configured to determine a power consumption estimation value of the terminal according to the first power consumption estimation difference, the second power consumption estimation difference, the third power consumption estimation difference, and the power consumption corresponding to the target operation parameter.
Preferably, as shown in fig. 4, the temperature estimation unit 3023 includes:
a second difference obtaining subunit 30231, configured to obtain a first difference between the screen brightness in the current operation parameter and the screen brightness in the target operation parameter, and a second difference between the terminal play volume in the current operation parameter and the terminal play volume in the target operation parameter;
a fourth estimated difference obtaining subunit 30232, configured to determine, according to a predetermined correspondence between a screen brightness difference and a temperature estimated difference, a first temperature estimated difference corresponding to the first difference;
a fifth estimated difference obtaining subunit 30233, configured to determine, according to a predetermined correspondence between a difference in the volume of the terminal played back and the estimated temperature difference, a second estimated temperature difference corresponding to the second difference;
a sixth estimated difference obtaining subunit 30234, configured to determine, according to a predetermined correspondence between the background running task and the temperature estimated difference, a third temperature estimated difference generated due to the background running task;
a temperature estimation subunit 30235, configured to determine a temperature estimation value of the terminal according to the first temperature estimation difference, the second temperature estimation difference, the third temperature estimation difference, and the temperature variation corresponding to the target operating parameter.
Preferably, the power consumption estimation value is a power consumption current value; as shown in fig. 4, the terminal 300 further includes:
a power consumption rate determining module 304, configured to obtain a battery capacity of the terminal, and obtain a power consumption rate of the terminal according to the battery capacity and the power consumption current value;
a second display module 305 for displaying the power consumption rate on the terminal;
wherein the power consumption rate represents a time taken by the terminal to consume every 1% of the power.
Further, the power consumption rate determining module 304 is specifically configured to:
and substituting the battery capacity C and the power consumption current value B into a first preset formula Y-1% C/B60, and determining the terminal power consumption rate Y.
Preferably, the power consumption estimation value is a power consumption current value; as shown in fig. 4, the terminal 300 further includes:
the power consumption duration determining module 306 is configured to obtain a battery capacity and a current remaining power percentage of the terminal, and obtain a power consumption duration of the current remaining power of the terminal according to the battery capacity, the current remaining power percentage, and the power consumption current value;
and a third display module 307, configured to display the power consumption duration of the current remaining power of the terminal on the terminal.
Further, the power consumption duration determining module 306 is specifically configured to:
and substituting the battery capacity C, the current residual capacity percentage D and the power consumption current value B into a second preset formula Z (D C/B) to obtain the power consumption duration Z of the current residual capacity of the terminal.
Preferably, the terminal 300 further includes:
the judging module is configured to judge whether the running time of a foreground running task of the terminal reaches a preset threshold, and trigger the parameter obtaining module 301 to obtain the current running parameter of the terminal and the current motherboard temperature of the terminal when the running time of the foreground running task of the terminal reaches the preset threshold.
As can be seen from the above, in the embodiment of the present invention, the parameter obtaining module 301 obtains the current operating parameter of the terminal and the current motherboard temperature of the terminal, so as to trigger the power consumption and temperature estimating module 302 to determine the power consumption estimation value and the temperature estimation value of the terminal according to the current operating parameter and the current motherboard temperature, and the predetermined corresponding relationship between the operating parameter and the power consumption and temperature variation, and further trigger the first display module 303 to display the power consumption estimation value and the temperature estimation value on the terminal. Therefore, the embodiment of the invention can estimate the temperature condition and the power consumption condition of the terminal, so as to forecast the user, enable the user to sense the temperature and the power consumption condition of the terminal in advance, improve the understanding of the user on the temperature and the power consumption of the terminal, reduce the conditions of terminal heating and power consumption increase and improve the satisfaction degree of the user.
The embodiment of the invention also provides a terminal, which comprises a memory, a processor and a display program of the power consumption and the temperature of the terminal, wherein the display program is stored on the memory and can run on the processor; the processor implements the display method of the power consumption and the temperature of the terminal when executing the display program of the power consumption and the temperature of the terminal.
An embodiment of the present invention also provides a computer-readable storage medium on which a display program of power consumption and temperature of a terminal is stored, which when executed by a processor implements the steps in the display method of power consumption and temperature of a terminal as described above.
The embodiment of the invention also provides a terminal, which can be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), a vehicle-mounted computer or the like. Specifically, as shown in fig. 5, the terminal 500 includes a Radio Frequency (RF) circuit 510, a memory 520, an input unit 530, a display unit 540, a processor 560, an audio circuit 570, a wifi (wireless fidelity) module 580, and a power supply 590.
The input unit 530 may be used to receive numeric or character information input by a user and generate signal inputs related to user settings and function control of the terminal 500, among other things. Specifically, in the embodiment of the present invention, the input unit 530 may include a touch panel 531. The touch panel 531, also called a touch screen, can collect touch operations of a user (for example, operations of the user on the touch panel 531 by using a finger, a stylus pen, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program.
Alternatively, the touch panel 531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, sends it to the processor 560, and can receive and execute commands from the processor 560. In addition, the touch panel 531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 531, the input unit 530 may further include other input devices 532, and the other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among other things, the display unit 540 may be used to display information input by the user or information provided to the user and various menu interfaces of the terminal 500. The display unit 540 may include a display panel 541, and optionally, the display panel 541 may be configured in the form of an LCD or an Organic Light-Emitting Diode (OLED), or the like.
It should be noted that the touch panel 531 may cover the display panel 541 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 560 to determine the type of the touch event, and then the processor 560 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 560 is a control center of the terminal 500, connects various parts of the entire cellular phone using various interfaces and lines, and performs various functions of the terminal 500 and processes data by operating or executing software programs and/or modules stored in the first memory 521 and calling data stored in the second memory 522, thereby integrally monitoring the terminal 500. The second memory 522 stores therein a predetermined correspondence relationship between the operation parameter and the power consumption and the temperature variation. Optionally, processor 560 may include one or more processing units.
In the embodiment of the present invention, the processor 560 may obtain a current operating parameter of the terminal and a current motherboard temperature of the terminal, so as to determine a power consumption estimation value and a temperature estimation value of the terminal according to the current operating parameter and the current motherboard temperature, and a predetermined correspondence between the operating parameter and power consumption and temperature variation, and further control the display unit 540 to display the power consumption estimation value and the temperature estimation value on the terminal; wherein the operating parameters include: foreground running task, access network type, screen brightness, terminal play volume and background running task.
Preferably, when the operation parameters include a foreground operation task, an access network type, screen brightness, an amount of play of the terminal, and a background operation task, the processor 560 determines the power consumption estimation value and the temperature estimation value of the terminal according to the current operation parameter, the current motherboard temperature, and a predetermined correspondence between the operation parameter, the power consumption, and the temperature variation, and is specifically configured to:
searching a target operation parameter matched with the current operation parameter in a predetermined corresponding relation between the operation parameter and the power consumption and temperature variation, wherein a foreground operation task in the current operation parameter is consistent with a foreground operation task in the target operation parameter, and an access network type in the current operation parameter is consistent with an access network type in the target operation parameter;
determining a power consumption estimation value of the terminal according to the screen brightness, the terminal play volume and the background running task in the current running parameters, the screen brightness, the terminal play volume and the background running task in the target running parameters and the power consumption corresponding to the target running parameters;
and determining the temperature estimation value of the terminal according to the screen brightness, the terminal play volume and the background running task in the current running parameters, the screen brightness, the terminal play volume and the background running task in the target running parameters, and the temperature variation corresponding to the target running parameters.
Preferably, when determining the power consumption estimation value of the terminal according to the screen brightness, the terminal volume and the background running task in the current running parameter, the screen brightness, the terminal volume and the background running task in the target running parameter, and the power consumption corresponding to the target running parameter, the processor 560 is specifically configured to:
acquiring a first difference value between the screen brightness in the current operation parameter and the screen brightness in the target operation parameter, and a second difference value between the terminal play volume in the current operation parameter and the terminal play volume in the target operation parameter;
determining a first power consumption estimated difference corresponding to the first difference according to a corresponding relation between a predetermined screen brightness difference and a predetermined power consumption estimated difference;
determining a second power consumption estimated difference corresponding to the second difference according to the corresponding relation between the predetermined terminal play volume difference and the power consumption estimated difference;
determining a third power consumption estimated difference value generated by the background running task according to the corresponding relation between the predetermined background running task and the power consumption estimated difference value;
and determining a power consumption estimation value of the terminal according to the first power consumption estimated difference value, the second power consumption estimated difference value, the third power consumption estimated difference value and the power consumption corresponding to the target operation parameter.
Preferably, when determining the temperature estimation value of the terminal according to the screen brightness, the terminal volume and the background running task in the current running parameter, the screen brightness, the terminal volume and the background running task in the target running parameter, and the temperature variation corresponding to the target running parameter, the processor 560 is specifically configured to:
acquiring a first difference value between the screen brightness in the current operation parameter and the screen brightness in the target operation parameter, and a second difference value between the terminal play volume in the current operation parameter and the terminal play volume in the target operation parameter;
determining a first temperature estimated difference corresponding to the first difference according to a predetermined corresponding relation between the screen brightness difference and the temperature estimated difference;
determining a second temperature estimated difference corresponding to the second difference according to a predetermined corresponding relation between the difference of the volume of the played sound outside the terminal and the temperature estimated difference;
determining a third temperature estimation difference value generated by the background running task according to the corresponding relation between the predetermined background running task and the temperature estimation difference value;
and determining the temperature estimation value of the terminal according to the first temperature estimation difference value, the second temperature estimation difference value, the third temperature estimation difference value and the temperature variation corresponding to the target operation parameter.
Preferably, the estimated power consumption value is a power consumption current value, and the processor 560, after determining the estimated power consumption value and the estimated temperature value of the terminal, is further configured to:
acquiring the battery capacity of the terminal, and acquiring the power consumption rate of the terminal according to the battery capacity and the power consumption current value, so that the power consumption rate is displayed on the terminal through a display unit 540;
wherein the power consumption rate represents a time taken by the terminal to consume every 1% of the power.
Preferably, the power consumption estimation value is a power consumption current value; processor 560, after determining the power consumption estimate and the temperature estimate for the terminal, is further configured to: acquiring the battery capacity and the current remaining power percentage of the terminal, and acquiring the power consumption duration of the current remaining power of the terminal according to the battery capacity, the current remaining power percentage and the power consumption current value, so that the power consumption duration of the current remaining power of the terminal is displayed on the terminal through a display unit 540.
The terminal 500 can implement the processes implemented by the terminal in the foregoing embodiments, and in order to avoid repetition, the detailed description is omitted here.
The terminal 500 of the embodiment of the invention can estimate the temperature condition and the power consumption condition of the terminal according to the current operation parameter of the terminal, the current mainboard temperature and the corresponding relation between the predetermined operation parameter and the power consumption and the temperature variation, thereby forecasting the user, leading the user to sense the temperature and the power consumption condition of the terminal in advance, improving the understanding of the user on the temperature and the power consumption of the terminal, reducing the conditions of terminal heating and power consumption increase and improving the satisfaction degree of the user.
An embodiment of the present invention further provides a terminal, as shown in fig. 6, where the terminal 600 includes: at least one processor 601, memory 602, at least one network interface 604, a user interface 603, and a display module 606. The various components in terminal 600 are coupled together by a bus system 605. It is understood that the bus system 605 is used to enable communications among the components. The bus system 605 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 605 in fig. 6.
The user interface 603 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that the memory 602 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data rate Synchronous Dynamic random access memory (ddr SDRAM ), Enhanced Synchronous SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 602 of the subject systems and methods is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 602 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 6021 and application programs 6022.
The operating system 6021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application program 6022 includes various application programs such as a Media Player (Media Player), a Browser (Browser), and the like, and is used to implement various application services. A program implementing the method of an embodiment of the invention can be included in the application program 6022.
In the embodiment of the present invention, the memory 602 stores the predetermined corresponding relationship between the operation parameters, the power consumption and the temperature variation in the present invention. By calling a program or instructions stored in memory 602, and in particular, stored in application program 6022.
In the embodiment of the present invention, the processor 601 can obtain a current operating parameter of the terminal and a current motherboard temperature of the terminal, so as to determine a power consumption estimation value and a temperature estimation value of the terminal according to the current operating parameter and the current motherboard temperature, and a predetermined correspondence between the operating parameter and power consumption and temperature variation, and further control the display module 606 to display the power consumption estimation value and the temperature estimation value on the terminal; wherein the operating parameters include: foreground running task, access network type, screen brightness, terminal play volume and background running task.
The method disclosed by the above-mentioned embodiment of the present invention can be applied to the processor 601, or implemented by the processor 601. The processor 601 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 601. The Processor 601 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602 and completes the steps of the method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented in one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions of the present Application, or a combination thereof.
For a software implementation, the techniques of an embodiment of the invention may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions of the embodiments of the invention. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Preferably, when the operation parameters include a foreground operation task, an access network type, screen brightness, an amount of play of the terminal, and a background operation task, the processor 601 is specifically configured to, when determining the power consumption estimation value and the temperature estimation value of the terminal according to the current operation parameter, the current motherboard temperature, and a predetermined correspondence between the operation parameter, the power consumption, and the temperature variation amount:
searching a target operation parameter matched with the current operation parameter in a predetermined corresponding relation between the operation parameter and the power consumption and temperature variation, wherein a foreground operation task in the current operation parameter is consistent with a foreground operation task in the target operation parameter, and an access network type in the current operation parameter is consistent with an access network type in the target operation parameter;
determining a power consumption estimation value of the terminal according to the screen brightness, the terminal play volume and the background running task in the current running parameters, the screen brightness, the terminal play volume and the background running task in the target running parameters and the power consumption corresponding to the target running parameters;
and determining the temperature estimation value of the terminal according to the screen brightness, the terminal play volume and the background running task in the current running parameters, the screen brightness, the terminal play volume and the background running task in the target running parameters, and the temperature variation corresponding to the target running parameters.
Preferably, when determining the power consumption estimation value of the terminal according to the screen brightness, the terminal volume and the background running task in the current running parameters, the screen brightness, the terminal volume and the background running task in the target running parameters, and the power consumption corresponding to the target running parameters, the processor 601 is specifically configured to:
acquiring a first difference value between the screen brightness in the current operation parameter and the screen brightness in the target operation parameter, and a second difference value between the terminal play volume in the current operation parameter and the terminal play volume in the target operation parameter;
determining a first power consumption estimated difference corresponding to the first difference according to a corresponding relation between a predetermined screen brightness difference and a predetermined power consumption estimated difference;
determining a second power consumption estimated difference corresponding to the second difference according to the corresponding relation between the predetermined terminal play volume difference and the power consumption estimated difference;
determining a third power consumption estimated difference value generated by the background running task according to the corresponding relation between the predetermined background running task and the power consumption estimated difference value;
and determining a power consumption estimation value of the terminal according to the first power consumption estimated difference value, the second power consumption estimated difference value, the third power consumption estimated difference value and the power consumption corresponding to the target operation parameter.
Preferably, when determining the temperature estimation value of the terminal according to the screen brightness, the terminal volume and the background running task in the current running parameters, the screen brightness, the terminal volume and the background running task in the target running parameters, and the temperature variation corresponding to the target running parameters, the processor 601 is specifically configured to:
acquiring a first difference value between the screen brightness in the current operation parameter and the screen brightness in the target operation parameter, and a second difference value between the terminal play volume in the current operation parameter and the terminal play volume in the target operation parameter;
determining a first temperature estimated difference corresponding to the first difference according to a predetermined corresponding relation between the screen brightness difference and the temperature estimated difference;
determining a second temperature estimated difference corresponding to the second difference according to a predetermined corresponding relation between the difference of the volume of the played sound outside the terminal and the temperature estimated difference;
determining a third temperature estimation difference value generated by the background running task according to the corresponding relation between the predetermined background running task and the temperature estimation difference value;
and determining the temperature estimation value of the terminal according to the first temperature estimation difference value, the second temperature estimation difference value, the third temperature estimation difference value and the temperature variation corresponding to the target operation parameter.
Preferably, the estimated power consumption value is a power consumption current value, and the processor 601, after determining the estimated power consumption value and the estimated temperature value of the terminal, is further configured to:
acquiring the battery capacity of the terminal, and acquiring the power consumption rate of the terminal according to the battery capacity and the power consumption current value, so that the power consumption rate is displayed on the terminal through a display module 606;
wherein the power consumption rate represents a time taken by the terminal to consume every 1% of the power.
Preferably, the power consumption estimation value is a power consumption current value; processor 601, after determining the power consumption estimate and the temperature estimate for the terminal, is further configured to: acquiring the battery capacity and the current remaining power percentage of the terminal, and acquiring the power consumption duration of the current remaining power of the terminal according to the battery capacity, the current remaining power percentage and the power consumption current value, so that the power consumption duration of the current remaining power of the terminal is displayed on the terminal through a display module 606.
The terminal 600 can implement each process implemented by the terminal in the foregoing embodiments, and is not described here again to avoid repetition.
The terminal 600 of the embodiment of the invention can estimate the temperature condition and the power consumption condition of the terminal according to the current operation parameter of the terminal, the current mainboard temperature and the corresponding relation between the predetermined operation parameter and the power consumption and the temperature variation, thereby forecasting the user, leading the user to sense the temperature and the power consumption condition of the terminal in advance, improving the understanding of the user on the temperature and the power consumption of the terminal, reducing the conditions of terminal heating and power consumption increase and improving the satisfaction degree of the user.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for displaying power consumption and temperature of a terminal is characterized by comprising the following steps:
acquiring current operating parameters of a terminal and the current mainboard temperature of the terminal;
determining a power consumption estimation value and a temperature estimation value of the terminal according to the current operation parameter, the current mainboard temperature and a corresponding relation between a predetermined operation parameter and power consumption and temperature variation;
displaying the power consumption estimate and the temperature estimate on the terminal;
wherein the operating parameters include: one or more of foreground running tasks, access network types, screen brightness, terminal play volume and background running tasks;
when the operation parameters include foreground operation tasks, access network types, screen brightness, terminal play volume and background operation tasks, the step of determining the power consumption estimation value and the temperature estimation value of the terminal according to the current operation parameters, the current mainboard temperature and the corresponding relation of the predetermined operation parameters, power consumption and temperature variation includes:
searching a target operation parameter matched with the current operation parameter in a predetermined corresponding relation between the operation parameter and the power consumption and temperature variation, wherein a foreground operation task in the current operation parameter is consistent with a foreground operation task in the target operation parameter, and an access network type in the current operation parameter is consistent with an access network type in the target operation parameter;
determining a power consumption estimation value of the terminal according to the screen brightness, the terminal play volume and the background running task in the current running parameters, the screen brightness, the terminal play volume and the background running task in the target running parameters and the power consumption corresponding to the target running parameters;
determining a temperature estimation value of the terminal according to the screen brightness, the terminal play volume and the background running task in the current running parameters, the screen brightness, the terminal play volume and the background running task in the target running parameters, and the temperature variation corresponding to the target running parameters;
the step of determining the power consumption estimation value of the terminal according to the screen brightness, the terminal play volume and the background running task in the current running parameters, the screen brightness, the terminal play volume and the background running task in the target running parameters and the power consumption corresponding to the target running parameters comprises the following steps:
acquiring a first difference value between the screen brightness in the current operation parameter and the screen brightness in the target operation parameter, and a second difference value between the terminal play volume in the current operation parameter and the terminal play volume in the target operation parameter;
determining a first power consumption estimated difference corresponding to the first difference according to a corresponding relation between a predetermined screen brightness difference and a predetermined power consumption estimated difference;
determining a second power consumption estimated difference corresponding to the second difference according to the corresponding relation between the predetermined terminal play volume difference and the power consumption estimated difference;
determining a third power consumption estimated difference value generated by the background running task according to the corresponding relation between the predetermined background running task and the power consumption estimated difference value;
and determining a power consumption estimation value of the terminal according to the first power consumption estimated difference value, the second power consumption estimated difference value, the third power consumption estimated difference value and the power consumption corresponding to the target operation parameter.
2. The method according to claim 1, wherein the step of determining the temperature estimation value of the terminal according to the screen brightness, the terminal volume and the background running task in the current running parameters, the screen brightness, the terminal volume and the background running task in the target running parameters, and the temperature variation corresponding to the target running parameters comprises:
acquiring a first difference value between the screen brightness in the current operation parameter and the screen brightness in the target operation parameter, and a second difference value between the terminal play volume in the current operation parameter and the terminal play volume in the target operation parameter;
determining a first temperature estimated difference corresponding to the first difference according to a predetermined corresponding relation between the screen brightness difference and the temperature estimated difference;
determining a second temperature estimated difference corresponding to the second difference according to a predetermined corresponding relation between the difference of the volume of the played sound outside the terminal and the temperature estimated difference;
determining a third temperature estimation difference value generated by the background running task according to the corresponding relation between the predetermined background running task and the temperature estimation difference value;
and determining the temperature estimation value of the terminal according to the first temperature estimation difference value, the second temperature estimation difference value, the third temperature estimation difference value and the temperature variation corresponding to the target operation parameter.
3. The method of claim 1, wherein the power consumption estimate is a power consumption current value;
after the step of determining the power consumption estimate and the temperature estimate for the terminal, the method further comprises:
acquiring the battery capacity of the terminal, and acquiring the power consumption rate of the terminal according to the battery capacity and the power consumption current value;
displaying the power consumption rate on the terminal;
wherein the power consumption rate represents a time taken by the terminal to consume every 1% of the power.
4. The method of claim 1, wherein the power consumption estimate is a power consumption current value;
after the step of determining the power consumption estimate and the temperature estimate for the terminal, the method further comprises:
acquiring the battery capacity and the current remaining power percentage of the terminal, and acquiring the power consumption duration of the current remaining power of the terminal according to the battery capacity, the current remaining power percentage and the power consumption current value;
and displaying the power utilization duration of the current residual power of the terminal on the terminal.
5. A terminal, comprising:
the system comprises a parameter acquisition module, a parameter acquisition module and a control module, wherein the parameter acquisition module is used for acquiring current operation parameters of a terminal and current mainboard temperature of the terminal;
the power consumption and temperature estimation module is used for determining a power consumption estimation value and a temperature estimation value of the terminal according to the current operation parameter, the current mainboard temperature and the corresponding relation between the predetermined operation parameter and the power consumption and temperature variation;
the first display module is used for displaying the power consumption estimated value and the temperature estimated value on the terminal;
wherein the operating parameters include: one or more of foreground running tasks, access network types, screen brightness, terminal play volume and background running tasks;
when the operation parameters include a foreground operation task, an access network type, screen brightness, a terminal play volume and a background operation task, the power consumption and temperature estimation module comprises:
the searching unit is used for searching a target operation parameter matched with the current operation parameter in a predetermined corresponding relation between the operation parameter and the power consumption and temperature variation, wherein a foreground operation task in the current operation parameter is consistent with a foreground operation task in the target operation parameter, and an access network type in the current operation parameter is consistent with an access network type in the target operation parameter;
the power consumption estimation unit is used for determining the power consumption estimation value of the terminal according to the screen brightness, the terminal external playback volume and the background running task in the current running parameters, the screen brightness, the terminal external playback volume and the background running task in the target running parameters and the power consumption corresponding to the target running parameters;
the temperature pre-estimation unit is used for determining the temperature estimation value of the terminal according to the screen brightness, the terminal external playback volume and the background running task in the current running parameters, the screen brightness, the terminal external playback volume and the background running task in the target running parameters and the temperature variation corresponding to the target running parameters;
the power consumption estimation unit comprises:
a first difference obtaining subunit, configured to obtain a first difference between the screen brightness in the current operation parameter and the screen brightness in the target operation parameter, and a second difference between the terminal play volume in the current operation parameter and the terminal play volume in the target operation parameter;
the first estimated difference obtaining subunit is configured to determine, according to a predetermined correspondence between a screen brightness difference and a power consumption estimated difference, a first power consumption estimated difference corresponding to the first difference;
a second estimated difference obtaining subunit, configured to determine, according to a predetermined correspondence between a difference in the terminal volume played back and a power consumption estimated difference, a second power consumption estimated difference corresponding to the second difference;
a third estimated difference obtaining subunit, configured to determine, according to a predetermined correspondence between the background running task and the power consumption estimated difference, a third power consumption estimated difference generated due to the background running task;
and the power consumption estimation subunit is used for determining the power consumption estimation value of the terminal according to the first power consumption estimation difference value, the second power consumption estimation difference value, the third power consumption estimation difference value and the power consumption corresponding to the target operation parameter.
6. The terminal of claim 5, wherein the temperature estimation unit comprises:
a second difference obtaining subunit, configured to obtain a first difference between the screen brightness in the current operation parameter and the screen brightness in the target operation parameter, and a second difference between the terminal play volume in the current operation parameter and the terminal play volume in the target operation parameter;
a fourth estimated difference obtaining subunit, configured to determine, according to a predetermined correspondence between a screen brightness difference and a temperature estimated difference, a first temperature estimated difference corresponding to the first difference;
a fifth estimated difference obtaining subunit, configured to determine, according to a predetermined correspondence between a difference in the amount of play-out from the terminal and the estimated temperature difference, a second estimated temperature difference corresponding to the second difference;
a sixth estimated difference obtaining subunit, configured to determine, according to a predetermined correspondence between the background running task and the temperature estimated difference, a third temperature estimated difference generated due to the background running task;
and the temperature estimation subunit is used for determining the temperature estimation value of the terminal according to the first temperature estimation difference value, the second temperature estimation difference value, the third temperature estimation difference value and the temperature variation corresponding to the target operation parameter.
7. The terminal of claim 5, wherein the power consumption estimate is a power consumption current value;
the terminal further comprises:
the power consumption rate determining module is used for acquiring the battery capacity of the terminal and acquiring the power consumption rate of the terminal according to the battery capacity and the power consumption current value;
the second display module is used for displaying the power consumption rate on the terminal;
wherein the power consumption rate represents a time taken by the terminal to consume every 1% of the power.
8. The terminal of claim 5, wherein the power consumption estimate is a power consumption current value;
the terminal further comprises:
the power consumption duration determining module is used for acquiring the battery capacity and the current remaining power percentage of the terminal and acquiring the power consumption duration of the current remaining power of the terminal according to the battery capacity, the current remaining power percentage and the power consumption current value;
and the third display module is used for displaying the power utilization duration of the current residual power of the terminal on the terminal.
9. A terminal comprising a memory, a processor and a display program of power consumption and temperature of the terminal stored on said memory and operable on said processor; characterized in that the processor implements the display method of power consumption and temperature of the terminal according to any one of claims 1 to 4 when executing the display program of power consumption and temperature of the terminal.
10. A computer-readable storage medium on which a display program of power consumption and temperature of a terminal is stored, characterized in that the display program of power consumption and temperature of a terminal implements the steps in the display method of power consumption and temperature of a terminal according to any one of claims 1-4 when executed by a processor.
CN201710741205.9A 2017-08-25 2017-08-25 Display method for power consumption and temperature of terminal, terminal and computer readable storage medium Active CN107566624B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710741205.9A CN107566624B (en) 2017-08-25 2017-08-25 Display method for power consumption and temperature of terminal, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710741205.9A CN107566624B (en) 2017-08-25 2017-08-25 Display method for power consumption and temperature of terminal, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107566624A CN107566624A (en) 2018-01-09
CN107566624B true CN107566624B (en) 2020-09-11

Family

ID=60975868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710741205.9A Active CN107566624B (en) 2017-08-25 2017-08-25 Display method for power consumption and temperature of terminal, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107566624B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102330254B1 (en) * 2017-04-07 2021-11-23 삼성전자주식회사 Method for controlling of traffic and an electronic device thereof
CN109254644B (en) * 2018-08-16 2021-11-23 中国平安人寿保险股份有限公司 Electric quantity display control method, device, terminal and computer readable storage medium
CN109151963A (en) * 2018-08-27 2019-01-04 惠州Tcl移动通信有限公司 Switching method, storage device and the mobile terminal at mobile terminal communication interface
CN114222978A (en) * 2019-10-21 2022-03-22 深圳市欢太科技有限公司 Power consumption information processing method and device, electronic equipment and storage medium
CN113720494A (en) * 2021-08-09 2021-11-30 Oppo广东移动通信有限公司 Temperature detection method, device, equipment and storage medium
CN114679218A (en) * 2022-03-16 2022-06-28 新华三技术有限公司 Optical module power consumption determination method and device
CN117413236A (en) * 2022-05-13 2024-01-16 北京小米移动软件有限公司 Terminal control method, device, readable storage medium and chip

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098392A (en) * 2011-01-25 2011-06-15 中兴通讯股份有限公司 Energy-saving device and method for portable terminal
CN103323786A (en) * 2013-06-24 2013-09-25 贝壳网际(北京)安全技术有限公司 Method, device and equipment for detecting service life of battery
CN103488269A (en) * 2012-06-12 2014-01-01 索尼公司 Electronic apparatus, calculation method, program, and information processing apparatus
CN103543405A (en) * 2012-07-17 2014-01-29 联发科技股份有限公司 Method for performing power consumption management, and associated apparatus
CN105100429A (en) * 2015-06-08 2015-11-25 北京金山安全软件有限公司 Method and device for determining use time of residual electric quantity of mobile terminal
CN105630594A (en) * 2015-11-25 2016-06-01 东莞酷派软件技术有限公司 Terminal control method, terminal control device and terminal
CN106201821A (en) * 2016-06-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Terminal control method, terminal control mechanism and terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156530B (en) * 2010-09-30 2013-08-28 华为终端有限公司 Power consumption management method and device thereof for mobile terminal
CN104849664A (en) * 2014-02-17 2015-08-19 中国移动通信集团公司 Method for determining residual use duration of terminal, and terminal
US20170205868A1 (en) * 2016-01-19 2017-07-20 Tatung Company Method of analyzing power usage and electronic apparatus thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098392A (en) * 2011-01-25 2011-06-15 中兴通讯股份有限公司 Energy-saving device and method for portable terminal
CN103488269A (en) * 2012-06-12 2014-01-01 索尼公司 Electronic apparatus, calculation method, program, and information processing apparatus
CN103543405A (en) * 2012-07-17 2014-01-29 联发科技股份有限公司 Method for performing power consumption management, and associated apparatus
CN103323786A (en) * 2013-06-24 2013-09-25 贝壳网际(北京)安全技术有限公司 Method, device and equipment for detecting service life of battery
CN105100429A (en) * 2015-06-08 2015-11-25 北京金山安全软件有限公司 Method and device for determining use time of residual electric quantity of mobile terminal
CN105630594A (en) * 2015-11-25 2016-06-01 东莞酷派软件技术有限公司 Terminal control method, terminal control device and terminal
CN106201821A (en) * 2016-06-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Terminal control method, terminal control mechanism and terminal

Also Published As

Publication number Publication date
CN107566624A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN107566624B (en) Display method for power consumption and temperature of terminal, terminal and computer readable storage medium
CN107526492B (en) Interface display method of application program and mobile terminal
CN106372110B (en) Recommendation method of application program and mobile terminal
CN105895979B (en) Terminal charging method and terminal
US10884611B2 (en) Method and apparatus for controlling touch screen of terminal, and terminal
CN107741820B (en) Input method keyboard display method and mobile terminal
EP3537773A1 (en) Method for configuring discontinuous reception parameter, mobile terminal and base station
CN107608863B (en) Calibration method for electric quantity display and mobile terminal
WO2018040891A1 (en) Information display method and mobile terminal
CN107219988B (en) Interface operation guiding method and mobile terminal
CN106570372B (en) A kind of the starting method and mobile terminal of application program
CN106951335B (en) Process daemon method and mobile terminal
CN107562473B (en) Application program display method and mobile terminal
CN107566622B (en) Temperature control method and mobile terminal
EP3506093A1 (en) Application process management method and terminal device
CN107221347B (en) Audio playing method and terminal
US20140195794A1 (en) Electronic device with baseboard management controller updating system
CN106873891B (en) Touch operation method and mobile terminal
CN106293813B (en) Application recommendation method and mobile terminal
CN107562262B (en) Method for responding touch operation, terminal and computer readable storage medium
CN107153546A (en) A kind of video broadcasting method and mobile device
CN106991150B (en) Webpage data display method and mobile terminal
CN106250146B (en) Application demand processing method and device
US20140282058A1 (en) Electronic device with a funiction of applying applications of different operating systems, system and method thereof
CN106534482B (en) Method and device for managing application programs of mobile terminal

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
GR01 Patent grant
GR01 Patent grant