CN108415551A - A kind of detection process method of application program power consumption exception - Google Patents

A kind of detection process method of application program power consumption exception Download PDF

Info

Publication number
CN108415551A
CN108415551A CN201810248761.7A CN201810248761A CN108415551A CN 108415551 A CN108415551 A CN 108415551A CN 201810248761 A CN201810248761 A CN 201810248761A CN 108415551 A CN108415551 A CN 108415551A
Authority
CN
China
Prior art keywords
power consumption
limit value
application program
variance
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810248761.7A
Other languages
Chinese (zh)
Inventor
王随州
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongguan Huarui Electronic Technology Co Ltd
Original Assignee
Dongguan Huarui Electronic Technology 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 Dongguan Huarui Electronic Technology Co Ltd filed Critical Dongguan Huarui Electronic Technology Co Ltd
Priority to CN201810248761.7A priority Critical patent/CN108415551A/en
Publication of CN108415551A publication Critical patent/CN108415551A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a kind of detection process methods of application program power consumption exception, by the way that power consumption upper limit value and power consumption lower limiting value is arranged;Beyond setting power consumption upper limit value or the power consumption less than power consumption lower limiting value in statistics application program, and calculate variance, judge the variance of each application program whether beyond default value corresponding thereto, if, the power consumption upper limit value and power consumption lower limiting value of corresponding application program are then adjusted, and controls each application program of the variance beyond default value and restarts.Detection process method disclosed by the invention can dynamically adjust power consumption upper limit value and power consumption lower limiting value, can also keep the stability of terminal power consumption amount when power consumption exception, facility is provided to the use of terminal for user.

Description

Method for detecting and processing abnormal power consumption of application program
Technical Field
The invention relates to the technical field of terminal control, in particular to a method for detecting and processing abnormal power consumption of an application program.
Background
With the continuous development of intelligent terminals, for example: at present, the usage amount of smart phones in society is increasing, and the smart phones are generally used for communication, and also used for various functions such as photographing, lighting or video playing, and the like, so that the daily needs of users are met.
However, in the prior art, since the smart phone serving as the mobile terminal is carried by a user for use, the smart phone needs to be charged by the battery frequently, so that the normal operation electric quantity of each application program is ensured. Often, due to the system of the terminal itself or due to possible abnormality of the application program itself, power consumption abnormality often occurs in the use process of the terminal, and the rapid loss of the electric quantity causes frequent charging or abnormal use of the terminal, which brings inconvenience to users.
Therefore, the prior art is yet to be further improved.
Disclosure of Invention
In view of the defects in the prior art, the invention aims to provide a method for detecting and processing abnormal power consumption of an application program for a user, and overcomes the defect that the power consumption of the application program installed on a terminal in the prior art is abnormal and cannot be controlled in a self-adaptive manner.
The invention provides a method for detecting and processing power consumption abnormity of an application program, wherein the method comprises the following steps:
setting an upper limit value and a lower limit value of power consumption of each application program on the terminal within a preset time;
collecting the power consumption of each application program on the terminal within the preset time, and counting the power consumption exceeding a set power consumption upper limit value or lower than a power consumption lower limit value;
calculating the variance of each application program according to the counted power consumption of each application program;
judging whether the variance of each application program exceeds a preset value corresponding to the variance, if so, adjusting the upper limit value and the lower limit value of the power consumption of the corresponding application program, and controlling each application program with the variance exceeding the preset value to restart;
collecting the power consumption of each restarted application program within preset time, counting the power consumption exceeding the adjusted upper limit value and lower limit value of the power consumption in the newly collected power consumption, and calculating the variance;
judging whether the variance exceeds a preset value corresponding to the variance; if yes, the application program is controlled to be closed, and power consumption abnormity reminding is output.
Optionally, after the step of outputting the power consumption abnormality prompt, the method further includes:
outputting an application program list with abnormal power consumption, and acquiring power consumption log information of each application program in the application program list;
and obtaining abnormal application programs with the power consumption exceeding the upper limit value of the power consumption for many times according to the historical power consumption of each application program contained in the power consumption log information, and controlling the abnormal application programs to be uninstalled and updated.
Optionally, after the step of outputting the power consumption abnormality prompt, the method further includes:
and outputting an application program list with abnormal power consumption, judging whether the abnormal power consumption is abnormal of the CPU according to a system memory occupied by the application program running in the application program list with the abnormal power consumption, and if so, restarting the control terminal.
Optionally, after the step of outputting the power consumption abnormality prompt, the method further includes:
outputting an application program list with abnormal power consumption, and acquiring a stored historical application program list;
judging whether the application programs with the power consumption ranking in the top N have power consumption abnormal application programs which do not appear in the historical application program list or not;
and if so, controlling the power consumption abnormal application program to close the background running program and restart the power consumption abnormal application program.
Optionally, the calculation formula used in the step of calculating the variance according to the counted power consumption of each application program is as follows:
wherein,i.e. each counted power consumption, and n is the number of counted power consumptions.
Optionally, when the variance of the application program exceeds the preset value corresponding to the variance, the step of adjusting the upper limit value and the lower limit value of the power consumption amount of the corresponding application program includes:
and controlling the adjustment of the upper power consumption limit value and the lower power consumption limit value according to the relation between the variance and the adjustment of the upper power consumption limit value and the lower power consumption limit value.
The relationship between the variance and the adjustment of the power consumption amount upper limit value and the power consumption amount lower limit value is as follows: the difference between the upper power consumption limit value and the lower power consumption limit value is in direct proportion to the variance.
Optionally, the corresponding relationship between the variance and the adjustment of the upper power consumption limit and the lower power consumption limit further includes:
the corresponding relation between the variance and the adjustment of the upper limit value and the lower limit value of the power consumption is as follows: if the variance is larger than the first value, the upper limit value of the power consumption is increased, and the lower limit value of the power consumption is reduced;
if the variance is smaller than the second numerical value, reducing the upper limit value of the power consumption and simultaneously increasing the lower limit value of the power consumption;
the first value is greater than the second value.
Optionally, the corresponding relationship between the variance and the adjustment of the upper power consumption limit and the lower power consumption limit further includes:
if the variance is between the first value and the second value, the upper power consumption limit and the lower power consumption limit are kept unchanged.
Optionally, the corresponding relationship between the variance and the adjustment of the upper power consumption limit and the lower power consumption limit further includes:
when the variance is larger than a first value, determining a difference value A between the variance and the first value X, wherein the adjusted upper limit value of the power consumption is as follows: (1+ (A/X). times.original power consumption upper limit value, and the adjusted power consumption lower limit value is the original power consumption lower limit value/(1 + (A/X).
Optionally, the corresponding relationship between the variance and the adjustment of the upper power consumption limit and the lower power consumption limit further includes: when the variance is smaller than the second value, determining a difference value A between the variance and the first value X, wherein the adjusted upper limit value of the power consumption is as follows: (1+ (A/X) multiplied by the original upper limit value of the power consumption, and the adjusted lower limit value of the power consumption is (1-C) multiplied by the original upper limit value of the power consumption, wherein C is the proportion of the obtained power consumption exceeding the original upper limit value of the power consumption or the original lower limit value of the power consumption.
The invention provides a method for detecting and processing abnormal power consumption of application programs, which comprises the steps of setting an upper limit value and a lower limit value of the power consumption of each application program on a terminal within preset time; collecting the power consumption of each application program on the terminal within the preset time, and counting the power consumption exceeding a set power consumption upper limit value or lower than a power consumption lower limit value; calculating the variance of each application program according to the counted power consumption of each application program, judging whether the variance of each application program exceeds a preset value corresponding to the variance, if so, adjusting the upper limit value and the lower limit value of the power consumption of the corresponding application program, and controlling each application program of which the variance exceeds the preset value to restart; collecting the power consumption of each restarted application program within preset time, counting the power consumption exceeding the adjusted upper limit value and lower limit value of the power consumption in the newly collected power consumption, and calculating the variance; judging whether the variance exceeds a preset value corresponding to the variance; if yes, the application program is controlled to be closed, and power consumption abnormity reminding is output. The detection processing method disclosed by the invention can dynamically adjust the upper limit value and the lower limit value of the power consumption, and can keep the stability of the power consumption of the terminal when the power consumption is abnormal, thereby providing convenience for a user to use the terminal.
Drawings
FIG. 1 is a flowchart illustrating steps of a method for detecting and processing power consumption abnormality of an application according to 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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
In order to overcome the defects that the power consumption of a mobile phone is too fast due to equipment or other reasons and the power control needs to be performed manually in the prior art, the invention discloses a method for detecting and processing abnormal power consumption of an application program, as shown in fig. 1, wherein the control method comprises the following steps:
the invention provides a method for detecting and processing power consumption abnormity of an application program, wherein the method comprises the following steps:
s101, setting the upper limit value and the lower limit value of the power consumption of each application program on the terminal within preset time.
In order to analyze the power consumption of the terminal battery within a certain time, in the step, an upper power consumption limit value and a lower power consumption limit value are firstly set, and the current power consumption state of the mobile phone battery is analyzed and judged according to the difference value between the actual power consumption of the terminal battery and the upper power consumption limit value and the lower power consumption limit value.
It is conceivable that the terminal may be a mobile terminal, or may also be an intelligent device such as a desktop computer, an intelligent television, or an intelligent wearable device.
And S102, collecting the power consumption of each application program on the terminal within the preset time, and counting the power consumption exceeding the set power consumption upper limit value or being lower than the power consumption lower limit value.
The method comprises the steps of collecting the power consumption of a terminal within a preset time, wherein the preset time can be the power consumption of one day or several hours, judging whether the power consumption exceeds an upper power consumption limit value or is lower than a lower power consumption limit value or not in the time period according to the collected power consumption, and counting all the power consumption exceeding the upper power consumption limit value and being lower than the lower power consumption limit value if the power consumption exceeds the upper power consumption limit value or is lower than the lower power consumption limit value.
And S103, calculating the variance of each application program according to the counted power consumption of each application program.
The plurality of power consumptions counted in step S102 are calculated, and the variance of the plurality of power consumptions is calculated.
Specifically, in this step, the variance calculation is performed by the following variance calculation formula:
wherein,i.e. each counted power consumption, and n is the number of counted power consumptions.
The variance can reflect the discrete degree of a group of data, and the variance of the actual power consumption value can reflect the power consumption fluctuation condition of the terminal battery in a period of time.
And S104, judging whether the variance of each application program exceeds a preset value corresponding to the variance, if so, adjusting the upper limit value and the lower limit value of the power consumption of the corresponding application program, and controlling each application program with the variance exceeding the preset value to restart.
Since it is necessary to determine whether the variance of each application exceeds a preset value in this step, it is conceivable that the preset values are respectively set for different applications, such as: the preset value that the video applied and set up is greater than the preset value of social software, therefore the video is applied the electric quantity that the power consumption is far greater than social software when using, and generally not in the backstage operation when not using, consequently does not consume the electric quantity, and social software then general user can select to operate in the backstage, but based on what it sent is mostly picture and characters, therefore the power consumption is less than the video and applies, therefore other software: the map software or the navigation software and the like can set different preset values according to different use habits of the map software or the navigation software, and each application judges whether the variance exceeds the preset value or not according to the difference of the preset values.
Optionally, when the variance of the application program exceeds the preset value corresponding to the variance, the step of adjusting the upper limit value and the lower limit value of the power consumption amount of the corresponding application program includes:
and controlling the adjustment of the upper power consumption limit value and the lower power consumption limit value according to the relation between the variance and the adjustment of the upper power consumption limit value and the lower power consumption limit value.
The relationship between the variance and the adjustment of the power consumption amount upper limit value and the power consumption amount lower limit value is as follows: the difference between the upper power consumption limit value and the lower power consumption limit value is in direct proportion to the variance.
In order to realize more accurate adjustment of the upper power consumption value and the lower power consumption value, the preset values in this step include two values, one is a first value and the other is a second value, and the first value is greater than the second value, specifically, the corresponding relationship between the variance and the adjustment of the upper power consumption value and the lower power consumption value further includes:
the corresponding relation between the variance and the adjustment of the upper limit value and the lower limit value of the power consumption is as follows: if the variance is larger than the first value, the upper limit value of the power consumption is increased, and the lower limit value of the power consumption is reduced;
if the variance is smaller than the second numerical value, reducing the upper limit value of the power consumption and simultaneously increasing the lower limit value of the power consumption;
the first value is greater than the second value.
Optionally, the corresponding relationship between the variance and the adjustment of the upper power consumption limit and the lower power consumption limit further includes:
if the variance is between the first value and the second value, the upper power consumption limit and the lower power consumption limit are kept unchanged.
And S105, collecting the power consumption of each restarted application program within preset time, counting the power consumption exceeding the adjusted upper limit value and lower limit value of the power consumption in the newly collected power consumption, and calculating the variance.
S106, judging whether the variance exceeds a preset value corresponding to the variance; if yes, the application program is controlled to be closed, and power consumption abnormity reminding is output.
After the application program with the power consumption exceeding the upper limit value is restarted, the situation that the power consumption fluctuation of the application program is large and the power consumption exceeds the upper limit value is detected, the situation that the power consumption is large possibly caused by system faults or other reasons can be solved, the terminal cannot solve the problem that the power consumption is large in a self-detection mode, and the power consumption abnormity is sent to remind a user to solve the problem manually.
Since the detection calculation in steps S101 to S106 can detect that the current terminal contains the application program whose power consumption exceeds its upper limit, in order to better implement processing of the detected abnormal power consumption, it is preferable that the step of outputting the power consumption abnormal alert further includes:
outputting an application program list with abnormal power consumption, and acquiring power consumption log information of each application program in the application program list;
and obtaining abnormal application programs with the power consumption exceeding the upper limit value of the power consumption for many times according to the historical power consumption of each application program contained in the power consumption log information, and controlling the abnormal application programs to be uninstalled and updated.
Because the power consumption abnormity of a certain application program can be obtained according to the historical information within a period of time, the controller is unloaded and a new version is reinstalled, and the defect of overhigh power consumption is overcome.
Optionally, after the step of outputting the power consumption abnormality prompt, the method further includes:
and outputting an application program list with abnormal power consumption, judging whether the abnormal power consumption is abnormal of the CPU according to a system memory occupied by the application program running in the application program list with the abnormal power consumption, and if so, restarting the control terminal.
And simply judging whether the whole power consumption of the terminal is increased due to the CPU of the terminal according to the list of the application programs with abnormal power consumption, and if so, restarting the terminal to overcome the defect of the abnormal power consumption.
Optionally, after the step of outputting the power consumption abnormality prompt, the method further includes:
outputting an application program list with abnormal power consumption, and acquiring a stored historical application program list;
judging whether the application programs with the power consumption ranking in the top N have power consumption abnormal application programs which do not appear in the historical application program list or not;
and if so, controlling the power consumption abnormal application program to close the background running program and restart the power consumption abnormal application program.
Because a certain application program may have power consumption abnormality for the first time, the control unit closes the background running program of the application program, restarts the application program, detects the power consumption of the application program again, and judges whether to uninstall and update the application program.
Optionally, the corresponding relationship between the variance and the adjustment of the upper power consumption limit and the lower power consumption limit further includes:
when the variance is larger than a first value, determining a difference value A between the variance and the first value X, wherein the adjusted upper limit value of the power consumption is as follows: (1+ (A/X). times.original power consumption upper limit value, and the adjusted power consumption lower limit value is the original power consumption lower limit value/(1 + (A/X).
For example, if the original upper limit is 10, the original lower limit is 4, X is 7, and the variance is 9, a is 9-7 to 2, the adjusted power consumption amount upper limit is (1+ (2/7)) × 10 to 12.8, and the adjusted power consumption amount lower limit is 4/(1+ (2/7)) -3.1.
When the variance is smaller than the second data, determining a difference value B between the variance and the second data, wherein the adjusted upper limit value of the power consumption is as follows: the original power consumption upper limit value/(1 + (B/Y)), and the adjusted lower limit value is (1+ (B/Y)) × the original power consumption lower limit value.
For example, if the original upper limit is 10, the original lower limit is 4, Y is 3.5, and the variance is 2, B is 3.5 to 2 — 1.5, the adjusted upper limit is 10/(1+ (1.5/3.5)) -7, and the adjusted lower limit is (1+ (1.5/3.5)) × 4 — 5.7.
For special case handling when the variance is less than the second data:
when the variance is smaller than the second data, the upper limit value needs to be adjusted down and the lower limit value needs to be adjusted up, so that a certain contradiction may occur, namely the upper limit value is lower than the lower limit value after the adjustment is finished.
For example, if the original power consumption amount upper limit value is 10, the original power consumption amount lower limit value is 4, the second data is 3.5, and the variance is 0.5, the difference B between the variance and the second data is 3.5 to 0.5, the adjusted power consumption amount upper limit value is 10/(1+ (3/3.5)) -5.4, and the adjusted power consumption amount lower limit value is (1+ (3/3.5)) × 4-7.4, the power consumption amount upper limit value is lower than the power consumption amount lower limit value, which causes a contradiction.
In this case, in order to better detect the power consumption amount, the correspondence relationship between the variance and the adjustment of the upper power consumption amount limit and the lower power consumption amount limit further includes: when the variance is smaller than the second value, determining a difference value A between the variance and the first value X, wherein the adjusted upper limit value of the power consumption is as follows: (1+ (A/X) multiplied by the original upper limit value of the power consumption, and the adjusted lower limit value of the power consumption is (1-C) multiplied by the original upper limit value of the power consumption, wherein C is the proportion of the obtained power consumption exceeding the original upper limit value of the power consumption or the original lower limit value of the power consumption.
In the above case, the upper power consumption amount limit, i.e., the upper power consumption amount limit is preferably adjusted to 5.4, but the lower adjusted power consumption amount limit is: (1-C) multiplied by the original upper limit value of the power consumption, wherein C is the proportion of the obtained power consumption exceeding the original upper limit value or the original lower limit value of the power consumption, in an extreme case, all the power consumption exceeds the original upper limit value or the original lower limit value of the power consumption, C is 1, the lower limit value is 0, and if all the power consumption does not exceed the original upper limit value or the original lower limit value of the power consumption, C is 0, and the lower limit value is equal to the upper limit value.
For example, if the original upper limit is 10, the original lower limit is 4, and the collected power consumption amounts are 10, respectively, (12), (9), (8.5), (7), (5), (4.8), (4.4), (4.1), (3), and 1, the number of the exceeded upper limit of the power consumption amount is 3: 12. when C is 0.3 and the power consumption amount upper limit value is adjusted to 5.4, the power consumption amount lower limit value is adjusted to (1-0.3) × 5.4 — 3.8.
The invention provides a method for detecting and processing abnormal power consumption of application programs, which comprises the steps of setting an upper limit value and a lower limit value of the power consumption of each application program on a terminal within preset time; collecting the power consumption of each application program on the terminal within the preset time, and counting the power consumption exceeding a set power consumption upper limit value or lower than a power consumption lower limit value; calculating the variance of each application program according to the counted power consumption of each application program, judging whether the variance of each application program exceeds a preset value corresponding to the variance, if so, adjusting the upper limit value and the lower limit value of the power consumption of the corresponding application program, and controlling each application program of which the variance exceeds the preset value to restart; collecting the power consumption of each restarted application program within preset time, counting the power consumption exceeding the adjusted upper limit value and lower limit value of the power consumption in the newly collected power consumption, and calculating the variance; judging whether the variance exceeds a preset value corresponding to the variance; if yes, the application program is controlled to be closed, and power consumption abnormity reminding is output. The detection processing method disclosed by the invention can dynamically adjust the upper limit value and the lower limit value of the power consumption, and can keep the stability of the power consumption of the terminal when the power consumption is abnormal, thereby providing convenience for a user to use the terminal.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for detecting and processing power consumption abnormity of an application program is characterized by comprising the following steps:
setting an upper limit value and a lower limit value of power consumption of each application program on the terminal within a preset time;
collecting the power consumption of each application program on the terminal within the preset time, and counting the power consumption exceeding a set power consumption upper limit value or lower than a power consumption lower limit value;
calculating variance according to the counted power consumption of each application program;
judging whether the variance exceeds a preset value corresponding to the variance, if so, adjusting the upper limit value and the lower limit value of the power consumption of the corresponding application program, and controlling each application program of which the variance exceeds the preset value to restart;
collecting the power consumption of each restarted application program within preset time, counting the power consumption exceeding the adjusted upper limit value and lower limit value of the power consumption in the newly collected power consumption, and calculating the variance;
judging whether the variance exceeds a preset value corresponding to the variance; if yes, the application program is controlled to be closed, and power consumption abnormity reminding is output.
2. The method for detecting and processing power consumption abnormality of application program according to claim 1, further comprising, after the step of outputting the power consumption abnormality prompt:
outputting an application program list with abnormal power consumption, and acquiring power consumption log information of each application program in the application program list;
and obtaining abnormal application programs with the power consumption exceeding the upper limit value of the power consumption for many times according to the historical power consumption of each application program contained in the power consumption log information, and controlling the abnormal application programs to be uninstalled and updated.
3. The method for detecting and processing power consumption abnormality of application program according to claim 1, further comprising, after the step of outputting the power consumption abnormality prompt:
and outputting an application program list with abnormal power consumption, judging whether the abnormal power consumption is abnormal of the CPU according to a system memory occupied by the application program running in the application program list with the abnormal power consumption, and if so, restarting the control terminal.
4. The method for detecting and processing power consumption abnormality of application program according to claim 1, further comprising, after the step of outputting the power consumption abnormality prompt:
outputting an application program list with abnormal power consumption, and acquiring a stored historical application program list;
judging whether the application programs with the power consumption ranking in the top N have power consumption abnormal application programs which do not appear in the historical application program list or not;
and if so, controlling the power consumption abnormal application program to close the background running program and restart the power consumption abnormal application program.
5. The method for detecting and processing power consumption abnormality of application programs according to claim 1, wherein the calculation formula used in the step of calculating the variance from the counted power consumption amounts of the respective application programs is:
wherein,i.e. each counted power consumption, and n is the number of counted power consumptions.
6. The method for detecting and processing power consumption abnormality of application program according to claim 5, wherein the step of adjusting the upper limit value and the lower limit value of the power consumption of the corresponding application program when the variance exceeds the preset value corresponding to the variance comprises:
and controlling the adjustment of the upper power consumption limit value and the lower power consumption limit value according to the relation between the variance and the adjustment of the upper power consumption limit value and the lower power consumption limit value.
The relationship between the variance and the adjustment of the power consumption amount upper limit value and the power consumption amount lower limit value is as follows: the difference between the upper power consumption limit value and the lower power consumption limit value is in direct proportion to the variance.
7. The method according to claim 6, wherein the adjusting the correspondence between the variance and the upper power consumption limit value and the lower power consumption limit value further comprises:
the corresponding relation between the variance and the adjustment of the upper limit value and the lower limit value of the power consumption is as follows: if the variance is larger than the first value, the upper limit value of the power consumption is increased, and the lower limit value of the power consumption is reduced;
if the variance is smaller than the second numerical value, reducing the upper limit value of the power consumption and simultaneously increasing the lower limit value of the power consumption;
the first value is greater than the second value.
8. The method according to claim 7, wherein the adjusting the correspondence between the variance and the upper power consumption limit value and the lower power consumption limit value further comprises:
if the variance is between the first value and the second value, the upper power consumption limit and the lower power consumption limit are kept unchanged.
9. The method according to claim 8, wherein the adjusting the correspondence between the variance and the upper power consumption limit value and the lower power consumption limit value further comprises:
when the variance is larger than a first value, determining a difference value A between the variance and the first value X, wherein the adjusted upper limit value of the power consumption is as follows: (1+ (A/X). times.original power consumption upper limit value, and the adjusted power consumption lower limit value is the original power consumption lower limit value/(1 + (A/X).
10. The method according to claim 6, wherein the adjusting the correspondence between the variance and the upper power consumption limit value and the lower power consumption limit value further comprises: when the variance is smaller than the second value, determining a difference value A between the variance and the first value X, wherein the adjusted upper limit value of the power consumption is as follows: (1+ (A/X) multiplied by the original upper limit value of the power consumption, and the adjusted lower limit value of the power consumption is (1-C) multiplied by the original upper limit value of the power consumption, wherein C is the proportion of the obtained power consumption exceeding the original upper limit value of the power consumption or the original lower limit value of the power consumption.
CN201810248761.7A 2018-03-25 2018-03-25 A kind of detection process method of application program power consumption exception Pending CN108415551A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810248761.7A CN108415551A (en) 2018-03-25 2018-03-25 A kind of detection process method of application program power consumption exception

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810248761.7A CN108415551A (en) 2018-03-25 2018-03-25 A kind of detection process method of application program power consumption exception

Publications (1)

Publication Number Publication Date
CN108415551A true CN108415551A (en) 2018-08-17

Family

ID=63132481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810248761.7A Pending CN108415551A (en) 2018-03-25 2018-03-25 A kind of detection process method of application program power consumption exception

Country Status (1)

Country Link
CN (1) CN108415551A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588515A (en) * 2009-06-30 2009-11-25 北京空间机电研究所 Self-adaptive real-time adjusting method for dynamic range of linear array remote sensing CCD camera
US20120020160A1 (en) * 2010-07-21 2012-01-26 Kabushiki Kaisha Toshiba Nonvolatile semiconductor memory device and writing method thereof
CN103500002A (en) * 2013-09-17 2014-01-08 小米科技有限责任公司 Method, device and terminal equipment for managing application program
CN103729052A (en) * 2013-12-31 2014-04-16 贝壳网际(北京)安全技术有限公司 Processing method and system for power consumption of application program and mobile terminal
CN105373482A (en) * 2015-12-23 2016-03-02 北京金山安全软件有限公司 Method and device for detecting abnormal power consumption of application program and electronic equipment
CN106258644A (en) * 2016-10-31 2017-01-04 深圳前海弘稼科技有限公司 The temperature control method of crop greenhouse and temperature-adjusting device
CN106557146A (en) * 2015-09-28 2017-04-05 北京金山安全软件有限公司 Power saving method, device and terminal
WO2017128067A1 (en) * 2016-01-26 2017-08-03 陈学良 Method and system for detecting power consumption of mobile phone application programs
CN107450704A (en) * 2016-05-31 2017-12-08 中兴通讯股份有限公司 A kind of control method, device and the terminal of terminal abnormal power consumption
CN108121638A (en) * 2017-12-21 2018-06-05 曙光信息产业股份有限公司 Server flattens platform power consumption optimization method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588515A (en) * 2009-06-30 2009-11-25 北京空间机电研究所 Self-adaptive real-time adjusting method for dynamic range of linear array remote sensing CCD camera
US20120020160A1 (en) * 2010-07-21 2012-01-26 Kabushiki Kaisha Toshiba Nonvolatile semiconductor memory device and writing method thereof
CN103500002A (en) * 2013-09-17 2014-01-08 小米科技有限责任公司 Method, device and terminal equipment for managing application program
CN103729052A (en) * 2013-12-31 2014-04-16 贝壳网际(北京)安全技术有限公司 Processing method and system for power consumption of application program and mobile terminal
CN106557146A (en) * 2015-09-28 2017-04-05 北京金山安全软件有限公司 Power saving method, device and terminal
CN105373482A (en) * 2015-12-23 2016-03-02 北京金山安全软件有限公司 Method and device for detecting abnormal power consumption of application program and electronic equipment
WO2017128067A1 (en) * 2016-01-26 2017-08-03 陈学良 Method and system for detecting power consumption of mobile phone application programs
CN107450704A (en) * 2016-05-31 2017-12-08 中兴通讯股份有限公司 A kind of control method, device and the terminal of terminal abnormal power consumption
CN106258644A (en) * 2016-10-31 2017-01-04 深圳前海弘稼科技有限公司 The temperature control method of crop greenhouse and temperature-adjusting device
CN108121638A (en) * 2017-12-21 2018-06-05 曙光信息产业股份有限公司 Server flattens platform power consumption optimization method and device

Similar Documents

Publication Publication Date Title
EP3062204B1 (en) Panel displaying method, portable electronic device and recording medium using the method
CN110022347B (en) Application management method and mobile terminal
CN106557135B (en) processor temperature regulation and control method and device
EP2881838B1 (en) Adjustment method and boot method for power-off threshold voltage and electronic device thereof
CN110221921A (en) EMS memory management process, terminal and computer readable storage medium
US20140216129A1 (en) Portable sensor device with a gas sensor and low-power mode
US20120233480A1 (en) Power saving notification system, terminal device, power saving notification method, and power saving notification program
US9549374B2 (en) Mobile terminal operating based on use pattern and controlling method thereof
CN112997134A (en) Application icon display method and device, storage medium and electronic equipment
CN109656349A (en) Electricity saving method, terminal and the computer readable storage medium of terminal
CN107218702B (en) Air conditioner, air conditioner frequency adjusting method and computer readable storage medium
CN107807730B (en) Using method for cleaning, device, storage medium and electronic equipment
CN112307381A (en) Page loading method and device, storage medium and electronic equipment
CN108038050B (en) Performance adjusting method and device, storage medium and electronic equipment
CN103402003A (en) Method and mobile terminal for controlling starting up/shutdown
CN108415551A (en) A kind of detection process method of application program power consumption exception
CN110336680B (en) Network broadcast control method, system, electronic equipment and storage medium
CN116184851A (en) Sleep mode adjusting method, device, terminal and storage medium
CN116632786A (en) Automatic protection method, device, equipment and storage medium for constant-current power supply abnormality
CN103533184A (en) Method for reducing standby power consumption of mobile phone
CN116069367A (en) Method, terminal, computer equipment and storage medium for updating application programs in batches
CN108494963A (en) A kind of brightness control method of mobile phone display screen
CN109916019A (en) Control method, device and the storage medium of conditioner
US11079827B2 (en) Cognitive battery state of charge recalibration
CN115219930A (en) Vehicle storage battery aging early warning method and device, electronic equipment and storage medium

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180817