CN107357673A - A kind of method, terminal and computer-readable recording medium for detecting abnormal power consumption - Google Patents

A kind of method, terminal and computer-readable recording medium for detecting abnormal power consumption Download PDF

Info

Publication number
CN107357673A
CN107357673A CN201710508965.5A CN201710508965A CN107357673A CN 107357673 A CN107357673 A CN 107357673A CN 201710508965 A CN201710508965 A CN 201710508965A CN 107357673 A CN107357673 A CN 107357673A
Authority
CN
China
Prior art keywords
terminal
dump energy
difference threshold
difference
power consumption
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.)
Withdrawn
Application number
CN201710508965.5A
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201710508965.5A priority Critical patent/CN107357673A/en
Publication of CN107357673A publication Critical patent/CN107357673A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the invention discloses a kind of method, terminal and computer-readable recording medium for detecting abnormal power consumption, wherein method includes:If current time is default detection moment, the dump energy of terminal and history dump energy data of the terminal in default detection moment before current time are obtained;Average residual electricity and first difference threshold of the terminal in default detection moment are determined according to history dump energy data;Judge whether dump energy and the absolute value of the difference of average residual electricity are more than the first difference threshold;If judged result, which is dump energy and the absolute value of the difference of average residual electricity, is more than the first difference threshold;Then judge that the power consumption of terminal is abnormal.Use habit of the embodiments of the invention according to user to terminal, it can timely and accurately differentiate whether the power consumption of terminal is abnormal by the method for statistical analysis, so as to take counter-measure in time, ensure the cruising time of terminal, improve the usage experience of user.

Description

A kind of method, terminal and computer-readable recording medium for detecting abnormal power consumption
Technical field
The present invention relates to the detection technique field in the communications field, more particularly to a kind of method for detecting abnormal power consumption, end End and computer-readable recording medium.
Background technology
With the rapid development in telecommunications field, terminal has more and more intelligent and hommization designs, accordingly , the application installed in terminal is also more and more, also causes the power consumption of terminal to aggravate thereupon, stand-by time it is short almost into For the common fault of all intelligent terminals, once standby 3,4 days of function machine epoch, therefore, the stand-by time of terminal turned into history The problem of must not being currently not concerned with.In the prior art, all it is to count power consumption to realize to the power consumption detection applied in terminal.When When some application is not used in user, terminal detects that the power consumption of some application is excessive, then it is assumed that some application is power consumption Application or have the situation of abnormal power consumption.At this moment, user can keep the electricity of terminal by closing some application Consumption.However, using prior art implementation, due to being in the thing for some a large amount of abnormal power consumption of application generation occurred After reality, what terminal just detected, then to this, some application is closed again by terminal or user, and at this moment, terminal has disappeared Electricity is consumed, now closing some application can only mend the fold after the sheep is lost.Or be statistics dump energy, sent out when having arrived warning value Go out low battery prompting, but actually this prompting is late, does not have too big help for extending cell phone duration, because The utilization rate of this these prompting function does not have very high.
The content of the invention
The embodiment provides a kind of method, terminal and computer-readable storage medium for detecting abnormal power consumption Matter, it is intended to solve the problems, such as that current terminal timely and effectively can not differentiate to the electricity abnormal wear of terminal.
In a first aspect, the embodiments of the invention provide a kind of method for detecting abnormal power consumption, it includes:
If current time is default detection moment, the dump energy of terminal is obtained and in the current time foregoing description History dump energy data of the terminal in the default detection moment;
Average residual electricity of the terminal in the default detection moment is determined according to the history dump energy data And first difference threshold;
Judge whether the dump energy and the absolute value of the difference of average residual electricity are more than first difference threshold;
If judged result, which is the dump energy and the absolute value of the difference of the average residual electricity, is more than described first Difference threshold, then judge that the power consumption of the terminal is abnormal.
Second aspect, the embodiment of the present invention also provide a kind of terminal, and it includes:
Acquiring unit, if being default detection moment for current time, obtain the dump energy of terminal and work as described History dump energy data of the preceding moment foregoing description terminal in the default detection moment;
First determining unit, for determining the terminal in the default detection according to the history dump energy data The average residual electricity and the first difference threshold at quarter;
Judging unit, it is described whether the absolute value for judging the dump energy and the difference of average residual electricity is more than First difference threshold;
Identifying unit, if the judged result for the judging unit is the dump energy and the average residual electricity The absolute value of difference be more than first difference threshold;Then judge that the power consumption of the terminal is abnormal.
The third aspect, the embodiments of the invention provide another terminal, and it includes processor, input equipment, output equipment And memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store Terminal is supported to perform the application code of the above method, the processor is arranged to perform the side of above-mentioned first aspect Method.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor The method for stating the above-mentioned first aspect of computing device.
In an embodiment of the present invention, the use habit according to user to terminal, by using the method energy of statistical analysis Whether enough power consumptions for timely and accurately differentiating terminal are abnormal, so as to take counter-measure in time, ensure the continuation of the journey of terminal Time, avoid user from being absorbed among awkward situation caused by not enough power supply, improve the usage experience of user.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it is required in being described below to embodiment to use Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram of method for detecting abnormal power consumption provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow diagram of the method for detection exception power consumption that another embodiment of the present invention provides;
Fig. 3 is a kind of schematic flow diagram of the method for detection exception power consumption that another embodiment of the present invention provides;
Fig. 4 is provided in an embodiment of the present invention on a kind of normal distribution for the method dump energy for detecting abnormal power consumption Figure;
Fig. 5 is a kind of method dump energy and the scatter diagram of time for detecting abnormal power consumption provided in an embodiment of the present invention;
Fig. 6 is the schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 7 is the schematic block diagram of the first determining unit in Fig. 6;
Fig. 8 is the schematic block diagram for the terminal that another embodiment of the present invention provides;
Fig. 9 is the schematic block diagram for the terminal that another embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
Referring to Fig. 1, it is a kind of schematic flow diagram for the method for detecting abnormal power consumption provided in an embodiment of the present invention, should Method comprises the following steps:
S101, if current time is default detection moment, obtain terminal dump energy and the current time it History dump energy data of the preceding terminal in the default detection moment.
Using during mobile terminal, different users may have a different use habits, but same user Terminal usage behavior can have certain regularity, and this causes the dump energy of terminal also to have certain regularity.Such as In most cases, terminal is in some fixed time (such as daily 12:00) dump energy, does not have notable difference Trend, both will not continuous rise, also will not continuous decrease, fluctuation also will not often occur.
In specific implementation, the default detection moment among one day is preset, for example, each integral point moment can be set as Default detection moment, now preset between detection moment at intervals of 1 hour.It should be noted that default detection moment and Interval between default detection moment can be by user's sets itself, and the present invention does not do specific restriction to this.During default detection Interval between quarter is shorter, and the accuracy finally judged is higher, therefore in order to more meticulously observe terminal residual electric quantity data Fluctuation situation, the interval of the dump energy data of acquisition can be sub-divided into minute.
When current time is default detection moment, the current dump energy of terminal is obtained, and before current time Terminal presets the history dump energy data of detection moment at this.History dump energy data are included in terminal before current time In the dump energy data that this presets detection moment.For example, it is assumed that default detection moment is 12:00, then history dump energy Data are included in the same day 12:Before 00, terminal is 12:The dump energy data at 00 this moment.Specifically, it can be the same day 12:In all number of days before 00, terminal is 12:The dump energy data at 00 this moment, or be the same day 12:Before 00 Terminal is 12 in preset number of days:The dump energy data at 00 this moment.
S102, average residual of the terminal in the default detection moment is determined according to the history dump energy data Electricity and the first difference threshold.
In specific implementation, the history dump energy data for presetting detection moment at this to terminal carry out statistical analysis, it is determined that Terminal presets the average residual electricity and standard deviation of the history dump energy data of detection moment at this.Standard deviation, which represents, to be gone through The fluctuation situation of history dump energy data, standard deviation is bigger, illustrates that the fluctuation of history dump energy data is bigger;Standard deviation is got over It is small, illustrate that the fluctuation of history dump energy data is smaller.
First difference threshold represents that terminal when the dump energy of default detection moment is in normal range (NR), is put down with described The maximum difference of equal dump energy.In the present embodiment, according to the average residual electricity and standard deviation of history dump energy data To determine the first difference threshold.For example, when the standard deviation of history dump energy data is smaller, illustrate terminal in default detection The probability that larger deviation occurs for the dump energy at quarter and average residual electricity is smaller, and now the first difference threshold can take one smaller Value.When the standard deviation of history dump energy data is larger, illustrate dump energy of the terminal in default detection moment with being averaged The possibility that larger deviation occurs for dump energy is larger, and now the first difference threshold can take a larger value.
S103, judges whether the dump energy and the absolute value of the difference of average residual electricity are more than first difference Threshold value.
In specific implementation, the dump energy of comparison terminal and the absolute value and the first difference threshold of the difference of average residual electricity The size of value, if the absolute value is not more than the first difference threshold, illustrate that the dump energy of terminal falls in the normal of dump energy In the range of, now judge that the power consumption of the terminal is normal.
In another embodiment, abnormity point is determined by setting bound, by average residual electricity and the first difference The difference of threshold value be set to lower limit (LCL), by average residual electricity and the first difference threshold and be set to the upper limit (UCL).Refer to figure 5, dump energy-time diagram it is four regions by two horizontal lines of the UCL upper limits and LCL lower limits, then falls within center line both sides The sample point in two regions be normal point, the area sample fallen within beyond two horizontal lines of UCL and LCL is exactly exceptional value.
S104, if judged result, which is the dump energy and the absolute value of the difference of average residual electricity, is more than described first Difference threshold, then judge that the power consumption of the terminal is abnormal.
If the absolute value is more than the first difference threshold, illustrate that the dump energy of terminal falls the normal range (NR) in dump energy In addition, now judge that the power consumption of the terminal is abnormal.
In the present embodiment, the use habit according to user to terminal can be accurate in time by using the method for statistical analysis Really differentiate whether the power consumption of terminal is abnormal, so as to take counter-measure in time, ensures the cruising time of terminal, avoids User is absorbed among awkward situation caused by not enough power supply, improves the usage experience of user.
Referring to Fig. 2, it is a kind of exemplary flow of the method for detection exception power consumption that another embodiment of the present invention provides Figure, this method comprise the following steps:
S201, if current time is default detection moment, obtain terminal dump energy and the current time it History dump energy data of the preceding terminal in the default detection moment.
Wherein, the terminal is described in the preset number of days before the history dump energy data are the current time The dump energy data of default detection moment.
Using during mobile terminal, different users may have a different use habits, but same user Terminal usage behavior can have certain regularity, and this causes the dump energy of terminal also to have certain regularity.Such as In most cases, terminal is in some fixed time (such as daily 12:00) dump energy, does not have notable difference Trend, both will not continuous rise, also will not continuous decrease, fluctuation also will not often occur.
In specific implementation, the default detection moment among one day is preset, for example, each integral point moment can be set as Default detection moment, now preset between detection moment at intervals of 1 hour.It should be noted that default detection moment and Interval between default detection moment can be by user's sets itself, and the present invention does not do specific restriction to this.
When current time is default detection moment, the current dump energy of terminal is obtained, and before current time Terminal presets the history dump energy data of detection moment at this.In the present embodiment, history dump energy data decimation is to work as Terminal presets the dump energy data of detection moment at this in preset number of days before the preceding moment, such as can choose current time Terminal presets the dump energy data of detection moment at this in 90 days before.Enter by taking a more specifically default detection moment as an example Row explanation, such as current time are 12:00, the moment is default detection moment, then historical data refers to 90 days in the past often One day 12:The data acquisition system of dump energy corresponding to 00 is as history dump energy data.
Sample of the data in (such as 90 days) for the previous period at current time as analysis is chosen, can more embody user In recent service condition, therefore it may be such that the result of judgement is more accurate.
S202, determine that the terminal is in the average of the dump energy data of the default detection moment in the preset number of days And standard deviation.
In specific implementation, to terminal in the preset number of days before current time terminal preset the residue of detection moment at this Electric quantity data carries out statistical analysis, determines that terminal terminal in the preset number of days presets the dump energy data of detection moment at this Mean μ and standard deviation sigma.
S203, using the average as the average residual electricity, and determined according to the average and the standard deviation Normal distribution and default first probable value determine first difference threshold.
In specific implementation, by terminal, terminal presets the dump energy data of detection moment at this in above-mentioned preset number of days Average presets the average residual electricity of detection moment as terminal at this.
Fig. 4 is referred to, is fitted to obtain a normal distribution according to the mean μ and standard deviation sigma, can by the normal distribution The dump energy for presetting detection moment at this to terminal is predicted.Such as the probability that dump energy falls at (μ-σ, μ+σ) is 68.26%th, the probability that dump energy falls at (μ -2 σ, μ+2 σ) is that 95.46% and dump energy fall in the general of (μ -3 σ, μ+3 σ) Rate is 99.74%.
The normal probability of dump energy is preset in the present embodiment, then further according to the determine the probability dump energy just Normal scope (midpoint of the scope is average residual electricity μ).
For example, the normal probability of dump energy is being set as 68.26%, as long as now terminal presets detection moment at this Dump energy fall and think that the dump energy of terminal is normal in the range of (μ-σ, μ+σ), otherwise it is assumed that the dump energy of terminal It is abnormal.Or the normal probability of dump energy is being set as 95.46%, as long as now terminal presets the surplus of detection moment at this Remaining electricity falls thinks that the dump energy of terminal is normal in the range of (μ -2 σ, μ+2 σ), otherwise it is assumed that the dump energy of terminal is different Often.
Afterwards, first difference threshold is determined according to the normal range (NR) of dump energy.Wherein, first difference threshold Equal to the half of normal range (NR) length.
For example, when if the first probable value is set as 68.26%, the normal range (NR) of dump energy is (μ-σ, μ+σ), and first is poor It is worth the standard deviation that threshold value is above-mentioned normal distribution;In probability setting 95.46% that dump energy is normal, dump energy is just Normal scope is twice of the standard deviation that (μ -2 σ, μ+2 σ) first difference threshold is above-mentioned normal distribution.
It should be noted that by the normal probability of dump energy be set as between 68.26% to 95.46% certain without exception During rate value, a certain value of first difference threshold between the standard deviation sigma and twice of σ of standard deviation 2, the tool of first difference threshold Body value can determine according to identified probable value and the normal distribution.
S204, judges whether the dump energy and the absolute value of the difference of average residual electricity are more than first difference Threshold value.
In specific implementation, the dump energy of comparison terminal and the absolute value and the first difference threshold of the difference of average residual electricity The size of value, if the absolute value is not more than the first difference threshold, illustrate that the dump energy of terminal falls in the normal of dump energy In the range of, now judge that the power consumption of the terminal is normal.
In another embodiment, abnormity point is determined by setting bound, by average residual electricity and the first difference The difference of threshold value be set to lower limit (LCL), by average residual electricity and the first difference threshold and be set to the upper limit (UCL).Refer to figure 5, dump energy-time diagram it is four regions by two horizontal lines of the UCL upper limits and LCL lower limits, then falls within center line both sides The sample point in two regions be normal point, the area sample fallen within beyond two horizontal lines of UCL and LCL is exactly exceptional value.
S205, if judged result, which is the dump energy and the absolute value of the difference of average residual electricity, is more than described first Difference threshold, then judge that the power consumption of the terminal is abnormal.
If the absolute value is more than the first difference threshold, illustrate that the dump energy of terminal falls the normal range (NR) in dump energy In addition, now judge that the power consumption of the terminal is abnormal.
S206, determine that second is poor respectively according to the normal distribution and default second probable value and the 3rd probable value It is worth threshold value and the 3rd difference threshold.
Wherein, second difference threshold is more than first difference threshold, and the 3rd difference threshold is more than described the Two difference thresholds.
In specific implementation, the second probable value and the 3rd probable value are preset, wherein the second probable value is default terminal The probability of moderate exception power consumption does not occur, the 3rd probable value is the probability that severe exception power consumption does not occur for default terminal.
Then according to method similar in step S203, it is determined that the second difference threshold corresponding with the second probable value and The 3rd difference threshold corresponding with the 3rd probable value.
Preferably, first difference threshold is the standard deviation of the normal distribution, and second difference threshold is twice The standard deviation of the normal distribution, the 3rd difference threshold are the standard deviation of normal distribution described in three times.
S207, if the absolute value of the difference of the dump energy and average residual electricity is more than the first difference threshold and less In second difference threshold, then slight power consumption abnormity early warning information is sent to the user.
In specific implementation, if dump energy and the absolute value of the difference of average residual electricity of the terminal at current time are more than First difference threshold and it is not more than second difference threshold, then it is abnormal judges that terminal currently belongs to slight power consumption.Now, to institute State user and send slight power consumption abnormity early warning information.The mode that sends of warning information includes vibrations, the tinkle of bells, voice broadcast, word At least one of push.Such as pre-warning signal be preset as word push when, judge the power consumption at current time for slight power consumption When abnormal, then user's " power consumption is slightly higher than usually, it is noted that " can be reminded by the form of word suspended window.
S208, if the absolute value of the difference of the dump energy and average residual electricity be more than second difference threshold and No more than the 3rd difference threshold, then moderate power consumption abnormity early warning information is sent to the user.
In specific implementation, if dump energy and the absolute value of the difference of average residual electricity of the terminal at current time are more than Second difference threshold and it is not more than the 3rd difference threshold, then judges that terminal currently belongs to moderate power consumption exception.Now, to institute State user and send moderate power consumption abnormity early warning information.The mode that sends of warning information includes vibrations, the tinkle of bells, voice broadcast, word At least one of push.Such as pre-warning signal be preset as word push when, judge the power consumption at current time for severe power consumption When abnormal, then it can remind user that " power consumption asks whether inspection system normally transports higher than usually by the form of word suspended window OK ".
S209, if the dump energy and the absolute value of the difference of average residual electricity are more than the 3rd difference threshold, Then severe power consumption abnormity early warning information is sent to the user.
In specific implementation, if dump energy and the absolute value of the difference of average residual electricity of the terminal at current time are more than 3rd difference threshold, then judge that terminal currently belongs to severe power consumption exception.Now, it is different to user transmission severe power consumption Normal warning information.The mode that sends of warning information includes at least one of vibrations, the tinkle of bells, voice broadcast, word push.Such as When pre-warning signal is preset as word push, when judging the power consumption at current time for severe power consumption exception, then it can be hanged by word The form of floating window remind user " power consumption is significantly higher than usually, ask inspection system whether normal operation ".
It should be noted that a kind of preferred scheme that the example of the above-mentioned warning information provided, which is only the present embodiment, to be provided, Based on the core concept of the present invention, those skilled in the art can also take other warning information, and this can't influence this hair Bright protection domain.
S210, if judged result is the absolute value of the difference of the dump energy and average residual electricity no more than described the One difference threshold, then judge that the power consumption of the terminal is normal.
If the absolute value is not more than the first difference threshold, illustrate that the dump energy of terminal falls the normal model in dump energy Within enclosing, now judge that the power consumption of the terminal is normal.
Referring to Fig. 3, it is a kind of exemplary flow of the method for detection exception power consumption that another embodiment of the present invention provides Figure, this method comprise the following steps:
S301, if current time is default detection moment, obtain terminal dump energy and the current time it History dump energy data of the preceding terminal in the default detection moment.
Wherein, the terminal is described in the preset number of days before the history dump energy data are the current time The dump energy data of default detection moment.
Using during mobile terminal, different users may have a different use habits, but same user Terminal usage behavior can have certain regularity, and this causes the dump energy of terminal also to have certain regularity.Such as In most cases, terminal is in some fixed time (such as daily 12:00) dump energy, does not have notable difference Trend, both will not continuous rise, also will not continuous decrease, fluctuation also will not often occur.
In specific implementation, the default detection moment among one day is preset, for example, each integral point moment can be set as Default detection moment, now preset between detection moment at intervals of 1 hour.It should be noted that default detection moment and Interval between default detection moment can be by user's sets itself, and the present invention does not do specific restriction to this.
When current time is default detection moment, the current dump energy of terminal is obtained, and before current time Terminal presets the history dump energy data of detection moment at this.In the present embodiment, history dump energy data decimation is to work as Terminal presets the dump energy data of detection moment at this in preset number of days before the preceding moment, such as can choose current time Terminal presets the dump energy data of detection moment at this in 90 days before.
Sample of the data in (such as 90 days) for the previous period at current time as analysis is chosen, can more embody user In recent service condition, therefore it may be such that the result of judgement is more accurate.
S302, determine that the terminal is in the average of the dump energy data of the default detection moment in the preset number of days And standard deviation.
In specific implementation, to terminal in the preset number of days before current time terminal preset the residue of detection moment at this Electric quantity data carries out statistical analysis, determines that terminal terminal in the preset number of days presets the dump energy data of detection moment at this Average and standard deviation.
S303, using the average as the average residual electricity, and determined according to the average and the standard deviation Normal distribution and default first probable value determine first difference threshold.
In specific implementation, by terminal, terminal presets the dump energy data of detection moment at this in above-mentioned preset number of days Average presets the average residual electricity of detection moment as terminal at this.
Fig. 4 is referred to, is fitted to obtain a normal distribution according to the mean μ and standard deviation sigma, can by the normal distribution The dump energy for presetting detection moment at this to terminal is predicted.Such as the probability that dump energy falls at (μ-σ, μ+σ) is 68.26%th, the probability that dump energy falls at (μ -2 σ, μ+2 σ) is that 95.46% and dump energy fall in the general of (μ -3 σ, μ+3 σ) Rate is 99.74%.
The normal probability of dump energy is preset in the present embodiment, then further according to the determine the probability dump energy just Normal scope (midpoint of the scope is average residual electricity μ).
For example, the normal probability of dump energy is being set as 68.26%, as long as now terminal presets detection moment at this Dump energy fall and think that the dump energy of terminal is normal in the range of (μ-σ, μ+σ), otherwise it is assumed that the dump energy of terminal It is abnormal.Or the normal probability of dump energy is being set as 95.46%, as long as now terminal presets the surplus of detection moment at this Remaining electricity falls thinks that the dump energy of terminal is normal in the range of (μ -2 σ, μ+2 σ), otherwise it is assumed that the dump energy of terminal is different Often.
Afterwards, first difference threshold is determined according to the normal range (NR) of dump energy.Wherein, first difference threshold Equal to the half of normal range (NR) length.
For example, when if the first probable value is set as 68.26%, the normal range (NR) of dump energy is (μ-σ, μ+σ), and first is poor It is worth the standard deviation that threshold value is above-mentioned normal distribution;In probability setting 95.46% that dump energy is normal, dump energy is just Normal scope is twice of the standard deviation that (μ -2 σ, μ+2 σ) first difference threshold is above-mentioned normal distribution.
It should be noted that by the normal probability of dump energy be set as between 68.26% to 95.46% certain without exception During rate value, a certain value of first difference threshold between the standard deviation sigma and twice of σ of standard deviation 2, the tool of first difference threshold Body value can determine according to identified probable value and the normal distribution.
S304, judges whether the dump energy and the absolute value of the difference of average residual electricity are more than first difference Threshold value.
In specific implementation, the dump energy of comparison terminal and the absolute value and the first difference threshold of the difference of average residual electricity The size of value, if the absolute value is not more than the first difference threshold, illustrate that the dump energy of terminal falls in the normal of dump energy In the range of, now judge that the power consumption of the terminal is normal.
In another embodiment, abnormity point is determined by setting bound, by average residual electricity and the first difference The difference of threshold value be set to lower limit (LCL), by average residual electricity and the first difference threshold and be set to the upper limit (UCL).Refer to figure 5, dump energy-time diagram it is four regions by two horizontal lines of the UCL upper limits and LCL lower limits, then falls within center line both sides The sample point in two regions be normal point, the area sample fallen within beyond two horizontal lines of UCL and LCL is exactly exceptional value.
S305, if judged result, which is the dump energy and the absolute value of the difference of average residual electricity, is more than described first Difference threshold, then judge that the power consumption of the terminal is abnormal.
If the absolute value is more than the first difference threshold, illustrate that the dump energy of terminal falls the normal range (NR) in dump energy In addition, now judge that the power consumption of the terminal is abnormal.
S306, determine that second is poor respectively according to the normal distribution and default second probable value and the 3rd probable value It is worth threshold value and the 3rd difference threshold.
Wherein, second difference threshold is more than first difference threshold, and the 3rd difference threshold is more than described the Two difference thresholds.
In specific implementation, the second probable value and the 3rd probable value are preset, wherein the second probable value is default terminal The probability of moderate exception power consumption does not occur, the 3rd probable value is the probability that severe exception power consumption does not occur for default terminal.
Then according to method similar in step S203, it is determined that the second difference threshold corresponding with the second probable value and The 3rd difference threshold corresponding with the 3rd probable value.
Preferably, first difference threshold is the standard deviation of the normal distribution, and second difference threshold is twice The standard deviation of the normal distribution, standard deviation of the 3rd difference threshold for normal state described in three times respectively.
S307, if the absolute value of the difference of the dump energy and average residual electricity is more than the first difference threshold and less In second difference threshold, then slight power consumption abnormity early warning information is sent to the user, and it is low to control the terminal to open Level battery saving mode.
In specific implementation, if dump energy and the absolute value of the difference of average residual electricity of the terminal at current time are more than First difference threshold and it is not more than second difference threshold, then it is abnormal judges that terminal currently belongs to slight power consumption.Now, a side Face, slight power consumption abnormity early warning information, the service condition of call user's attention electricity are sent to the user.The hair of warning information Going out mode includes at least one of vibrations, the tinkle of bells, voice broadcast, word push.Such as pre-warning signal is preset as word push When, when judging the power consumption at current time for slight power consumption exception, then user's " electricity consumption can be reminded by the form of word suspended window Amount is slightly higher than usually, it is noted that ".
On the other hand, terminal is controlled to open rudimentary battery saving mode, it is bright that rudimentary battery saving mode includes regulation dormancy time, screen Degree.
S308, if the absolute value of the difference of the dump energy and average residual electricity be more than second difference threshold and No more than the 3rd difference threshold, then moderate power consumption abnormity early warning information is sent to the user, and controlled in the terminal unlatching Level battery saving mode.
In specific implementation, if dump energy and the absolute value of the difference of average residual electricity of the terminal at current time are more than Second difference threshold and it is not more than the 3rd difference threshold, then judges that terminal currently belongs to moderate power consumption exception.Now, a side Face, moderate power consumption abnormity early warning information is sent to the user.The mode that sends of warning information is broadcast including vibrations, the tinkle of bells, voice At least one of report, word push.Such as pre-warning signal be preset as word push when, judge that the power consumption at current time is attached most importance to When spending power consumption exception, then it can remind user " whether just power consumption asks inspection system higher than usually by the form of word suspended window Often operation ".
On the other hand, the terminal is controlled to open intermediate battery saving mode, intermediate battery saving mode includes starting power saving theme, closed Close the power saving project such as bluetooth, WiFi.
S309, if the dump energy and the absolute value of the difference of average residual electricity are more than the 3rd difference threshold, Severe power consumption abnormity early warning information then is sent to the user, and controls the terminal to open ultimate attainment battery saving mode.
In specific implementation, if dump energy and the absolute value of the difference of average residual electricity of the terminal at current time are more than 3rd difference threshold, then judge that terminal currently belongs to severe power consumption exception.Now, on the one hand, send weight to the user Spend power consumption abnormity early warning information.The mode that sends of warning information is included in vibrations, the tinkle of bells, voice broadcast, word push at least One of.Such as pre-warning signal be preset as word push when, when judging the power consumption at current time for severe power consumption exception, then can lead to Cross word suspended window form remind user " power consumption be significantly higher than usually, ask inspection system whether normal operation ".
On the other hand, terminal is controlled to open ultimate attainment battery saving mode, ultimate attainment battery saving mode includes opening extremely simple desktop, reduces screen Curtain power consumption, using only the function on white list.
It should be noted that the above-mentioned warning information provided and the example of battery saving mode are only one that the present embodiment provides Kind preferred scheme, based on the core concept of the present invention, those skilled in the art can also take other warning information and province Power mode, this can't influence protection scope of the present invention.
S310, if judged result is the absolute value of the difference of the dump energy and average residual electricity no more than described the One difference threshold, then judge that the power consumption of the terminal is normal.
If the absolute value is not more than the first difference threshold, illustrate that the dump energy of terminal falls the normal model in dump energy Within enclosing, now judge that the power consumption of the terminal is normal.
Referring to Fig. 6, Fig. 6 is terminal structure schematic diagram provided in an embodiment of the present invention.
Based on a kind of method of above-mentioned detection exception power consumption, the present invention also provides a kind of terminal 60, and it includes obtaining list First 61, first determining unit 62, judging unit 63 and identifying unit 64, wherein:
Acquiring unit 61, if being default detection moment for current time, obtain the dump energy of terminal and described History dump energy data of the current time foregoing description terminal in the default detection moment.
First determining unit 62, for determining the terminal in the default detection according to the history dump energy data The average residual electricity and the first difference threshold at moment.
Judging unit 63, for judging whether the dump energy and the absolute value of the difference of average residual electricity are more than institute State the first difference threshold.
Identifying unit 64, if the judged result for the judging unit 63 is the dump energy and average residual electricity The absolute value of difference be more than first difference threshold;Then judge that the power consumption of the terminal is abnormal.
Fig. 7 is refer to, further, the history dump energy data is in the preset number of days before the current time For the terminal in the dump energy data of the default detection moment, first determining unit includes the second determining unit 621 And the 3rd determining unit 622, wherein:
Second determining unit 621, for determining that the terminal is in the surplus of the default detection moment in the preset number of days The average and standard deviation of remaining electric quantity data;
3rd determining unit 622, for using the average as the average residual electricity, and according to the average and institute Normal distribution determined by standard deviation and default first probable value are stated to determine first difference threshold.
Fig. 8 is refer to, further, the terminal also includes the 4th determining unit 65, at first processing units 66, second The processing unit 68 of unit 67 and the 3rd is managed, wherein:
4th determining unit 65, for according to the normal distribution and default second probable value and the 3rd probable value come The second difference threshold and the 3rd difference threshold are determined respectively, wherein second difference threshold is more than the first difference threshold Value, the 3rd difference threshold are more than second difference threshold.
First processing units 66, if the absolute value for the dump energy and the difference of average residual electricity is not more than institute The second difference threshold is stated, then sends slight power consumption abnormity early warning information to the user, and controls the terminal to open rudimentary province Power mode.
Second processing unit 67, if being more than for the dump energy and the absolute value of the difference of average residual electricity described Second difference threshold and it is not more than the 3rd difference threshold, then sends moderate power consumption abnormity early warning information to the user, and control The terminal opens intermediate battery saving mode.
3rd processing unit 68, if being more than for the dump energy and the absolute value of the difference of average residual electricity described 3rd difference threshold, then severe power consumption abnormity early warning information is sent to the user, and control the terminal to open advanced power saving Pattern.
Wherein, first difference threshold is the standard deviation, and second difference threshold is twice of standard deviation, institute It is standard deviation described in three times to state the 3rd difference threshold.
Fig. 9 is referred to, is a kind of terminal schematic block diagram that another embodiment of the present invention provides.The present embodiment as depicted In terminal 900 can include:One or more processors 901;One or more input equipments 902, one or more output Equipment 903 and memory 904.Above-mentioned processor 901, input equipment 902, output equipment 903 and memory 904 pass through bus 905 connections.Memory 902 is used for store instruction, and processor 901 is used for the instruction that run memory 902 stores, and performs as follows Operation:
If current time is default detection moment, the dump energy of terminal is obtained and in the current time foregoing description History dump energy data of the terminal in the default detection moment;The terminal is determined according to the history dump energy data In the average residual electricity and the first difference threshold of the default detection moment;Judge the dump energy and average residual electricity Whether the absolute value of the difference of amount is more than first difference threshold;If judged result is the dump energy and average residual electricity The absolute value of the difference of amount is more than first difference threshold;Then judge that the power consumption of the terminal is abnormal.
Further, the terminal exists in the preset number of days before the history dump energy data are the current time The dump energy data of the default detection moment;The processor 901 also performs following operation:
Determine the terminal in the preset number of days in the average of the dump energy data of the default detection moment and Standard deviation;Using the average as the average residual electricity, and the normal state according to determined by the average and the standard deviation Distribution and default first probable value determine first difference threshold.
Further, the processor 901 also performs following operation:
Second difference threshold is determined according to the normal distribution and default second probable value and the 3rd probable value respectively Value and the 3rd difference threshold, wherein second difference threshold is more than first difference threshold, the 3rd difference threshold More than second difference threshold;If the dump energy and the absolute value of the difference of average residual electricity are not more than described second Difference threshold, then send slight power consumption abnormity early warning information to the user;If the dump energy and average residual electricity The absolute value of difference is more than second difference threshold and is not more than the 3rd difference threshold, then sends moderate power consumption to the user Abnormity early warning information;If the dump energy and the absolute value of the difference of average residual electricity are more than the 3rd difference threshold, Then severe power consumption abnormity early warning information is sent to the user.
Further, the processor 901 also performs following operation:
If the dump energy and the absolute value of the difference of average residual electricity are not more than second difference threshold, control Make the terminal and open rudimentary battery saving mode;If the dump energy and the absolute value of the difference of average residual electricity are more than described Second difference threshold and it is not more than the 3rd difference threshold, then controls the terminal to open intermediate battery saving mode;If the remaining electricity The absolute value of amount and the difference of average residual electricity is more than the 3rd difference threshold, then controls the terminal to open ultimate attainment power saving Pattern.
Preferably, first difference threshold is the standard deviation, and second difference threshold is twice of standard deviation, 3rd difference threshold is standard deviation described in three times.
It should be appreciated that in embodiments of the present invention, alleged processor 901 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 902 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint Directional information), microphone etc., output equipment 903 can include display (LCD etc.), loudspeaker etc..
The memory 904 can include read-only storage and random access memory, and to processor 801 provide instruction and Data.The a part of of memory 904 can also include nonvolatile RAM.For example, memory 904 can also be deposited Store up the information of device type.
In specific implementation, processor 901, input equipment 902, output equipment 903 described in the embodiment of the present invention can The implementation described in a kind of method for detecting abnormal power consumption provided in an embodiment of the present invention is performed, also can perform the present invention The implementation of terminal described by embodiment, will not be repeated here.
A kind of computer-readable recording medium, the computer-readable storage medium are provided in another embodiment of the invention Matter is stored with computer program, and the computer program is realized when being executed by processor:
If current time is default detection moment, the dump energy of terminal is obtained and in the current time foregoing description History dump energy data of the terminal in the default detection moment;The terminal is determined according to the history dump energy data In the average residual electricity and the first difference threshold of the default detection moment;Judge the dump energy and average residual electricity Whether the absolute value of the difference of amount is more than first difference threshold;If judged result is the dump energy and average residual electricity The absolute value of the difference of amount is more than first difference threshold;Then judge that the power consumption of the terminal is abnormal.
Further, the terminal exists in the preset number of days before the history dump energy data are the current time The dump energy data of the default detection moment;The computer program is also realized when being executed by processor:
Determine the terminal in the preset number of days in the average of the dump energy data of the default detection moment and Standard deviation;Using the average as the average residual electricity, and the normal state according to determined by the average and the standard deviation Distribution and default first probable value determine first difference threshold.
Further, also realized when the computer program is executed by processor:
Second difference threshold is determined according to the normal distribution and default second probable value and the 3rd probable value respectively Value and the 3rd difference threshold, wherein second difference threshold is more than first difference threshold, the 3rd difference threshold More than second difference threshold;If the dump energy and the absolute value of the difference of average residual electricity are not more than described second Difference threshold, then send slight power consumption abnormity early warning information to the user;If the dump energy and average residual electricity The absolute value of difference is more than second difference threshold and is not more than the 3rd difference threshold, then sends moderate power consumption to the user Abnormity early warning information;If the dump energy and the absolute value of the difference of average residual electricity are more than the 3rd difference threshold, Then severe power consumption abnormity early warning information is sent to the user.
Further, also realized when the computer program is executed by processor:
If the dump energy and the absolute value of the difference of average residual electricity are not more than second difference threshold, control Make the terminal and open rudimentary battery saving mode;If the dump energy and the absolute value of the difference of average residual electricity are more than described Second difference threshold and it is not more than the 3rd difference threshold, then controls the terminal to open intermediate battery saving mode;If the remaining electricity The absolute value of amount and the difference of average residual electricity is more than the 3rd difference threshold, then controls the terminal to open ultimate attainment power saving Pattern.
Preferably, first difference threshold is the standard deviation, and second difference threshold is twice of standard deviation, 3rd difference threshold is standard deviation described in three times.
The computer-readable recording medium can be the internal storage unit of the terminal described in foregoing any embodiment, example Such as the hard disk or internal memory of terminal.The computer-readable recording medium can also be the External memory equipment of the terminal, such as The plug-in type hard disk being equipped with the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the computer-readable recording medium can also be wrapped both Including the internal storage unit of the terminal also includes External memory equipment.The computer-readable recording medium is described for storing Other programs and data needed for computer program and the terminal.The computer-readable recording medium can be also used for temporarily When store the data that has exported or will export.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially Industry technical staff can realize described function using distinct methods to each specific application, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided by the present invention, it should be understood that disclosed terminal and method, it can be passed through Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit Connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain be defined.

Claims (10)

  1. A kind of 1. method for detecting abnormal power consumption, it is characterised in that including:
    If current time is default detection moment, the dump energy of terminal is obtained and in the current time foregoing description terminal In the history dump energy data of the default detection moment;
    According to the history dump energy data determine the terminal in the average residual electricity of the default detection moment and First difference threshold;
    Judge whether the dump energy and the absolute value of the difference of average residual electricity are more than first difference threshold;
    If judged result, which is the dump energy and the absolute value of the difference of the average residual electricity, is more than first difference Threshold value, then judge that the power consumption of the terminal is abnormal.
  2. 2. according to the method for claim 1, it is characterised in that the history dump energy data be the current time it Dump energy data of the terminal in the default detection moment in preceding preset number of days;It is described remaining electric according to the history Amount data determine average residual electricity and first difference threshold of the terminal in the default detection moment, including:
    Determine that the terminal is in the average and standard of the dump energy data of the default detection moment in the preset number of days Difference;
    Using the average as the average residual electricity, and the normal distribution according to determined by the average and the standard deviation And default first probable value determines first difference threshold.
  3. 3. according to the method for claim 2, it is characterised in that after the power consumption exception of the terminal is judged, the side Method also includes:
    According to the normal distribution and default second probable value and the 3rd probable value come determine respectively the second difference threshold with And the 3rd difference threshold, wherein second difference threshold is more than first difference threshold, the 3rd difference threshold is more than Second difference threshold;
    If the absolute value of the difference of the dump energy and average residual electricity is not more than second difference threshold, to described User sends slight power consumption abnormity early warning information;
    If the absolute value of the difference of the dump energy and average residual electricity is more than second difference threshold and no more than the Three difference thresholds, then send moderate power consumption abnormity early warning information to the user;
    If the dump energy and the absolute value of the difference of average residual electricity are more than the 3rd difference threshold, to the use Family sends severe power consumption abnormity early warning information.
  4. 4. according to the method for claim 3, it is characterised in that methods described also includes:
    If the dump energy and the absolute value of the difference of average residual electricity are not more than second difference threshold, institute is controlled State terminal and open rudimentary battery saving mode;
    If the absolute value of the difference of the dump energy and average residual electricity is more than second difference threshold and no more than the Three difference thresholds, then the terminal is controlled to open intermediate battery saving mode;
    If the absolute value of the difference of the dump energy and average residual electricity is more than the 3rd difference threshold, control described in Terminal opens ultimate attainment battery saving mode.
  5. 5. according to the method described in any one of claim 3 or 4, it is characterised in that:First difference threshold is the standard Difference, second difference threshold are twice of standard deviation, and the 3rd difference threshold is standard deviation described in three times.
  6. A kind of 6. terminal, it is characterised in that including:
    Acquiring unit, if being default detection moment for current time, obtain the dump energy of terminal and when described current Carve history dump energy data of the foregoing description terminal in the default detection moment;
    First determining unit, for determining the terminal in the default detection moment according to the history dump energy data Average residual electricity and the first difference threshold;
    Judging unit, for judging whether the dump energy and the absolute value of the difference of average residual electricity are more than described first Difference threshold;
    Identifying unit, if the judged result for the judging unit is the difference of the dump energy and the average residual electricity The absolute value of value is more than first difference threshold, then judges that the power consumption of the terminal is abnormal.
  7. 7. terminal as claimed in claim 6, it is characterised in that before the history dump energy data are the current time Preset number of days in the terminal the default detection moment dump energy data;First determining unit includes:
    Second determining unit, for determining that the terminal is in the dump energy number of the default detection moment in the preset number of days According to average and standard deviation;
    3rd determining unit, for using the average as the average residual electricity, and according to the average and the standard Normal distribution determined by difference and default first probable value determine first difference threshold.
  8. 8. terminal as claimed in claim 7, it is characterised in that also include:
    4th determining unit, for true come difference according to the normal distribution and default second probable value and the 3rd probable value Fixed second difference threshold and the 3rd difference threshold, wherein second difference threshold is more than first difference threshold, it is described 3rd difference threshold is more than second difference threshold;
    First processing units, if being not more than described second for the dump energy and the absolute value of the difference of average residual electricity Difference threshold, then slight power consumption abnormity early warning information is sent to the user, and control the terminal to open rudimentary battery saving mode;
    Second processing unit, if it is poor to be more than described second for the dump energy and the absolute value of the difference of average residual electricity It is worth threshold value and is not more than the 3rd difference threshold, then sends moderate power consumption abnormity early warning information to the user, and control the end Open intermediate battery saving mode in end;
    3rd processing unit, if it is poor to be more than the described 3rd for the dump energy and the absolute value of the difference of average residual electricity It is worth threshold value, then sends severe power consumption abnormity early warning information to the user, and controls the terminal to open ultimate attainment battery saving mode;
    Wherein, first difference threshold is the standard deviation, and second difference threshold is twice of standard deviation, described Three difference thresholds are standard deviation described in three times.
  9. 9. a kind of terminal, it is characterised in that the processor, defeated including processor, input equipment, output equipment and memory Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store application code, the processing Device is arranged to call described program code, performs the method as described in claim any one of 1-5.
  10. A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the computing device such as right when being executed by a processor It is required that the method described in any one of 1-5.
CN201710508965.5A 2017-06-28 2017-06-28 A kind of method, terminal and computer-readable recording medium for detecting abnormal power consumption Withdrawn CN107357673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710508965.5A CN107357673A (en) 2017-06-28 2017-06-28 A kind of method, terminal and computer-readable recording medium for detecting abnormal power consumption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710508965.5A CN107357673A (en) 2017-06-28 2017-06-28 A kind of method, terminal and computer-readable recording medium for detecting abnormal power consumption

Publications (1)

Publication Number Publication Date
CN107357673A true CN107357673A (en) 2017-11-17

Family

ID=60273272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710508965.5A Withdrawn CN107357673A (en) 2017-06-28 2017-06-28 A kind of method, terminal and computer-readable recording medium for detecting abnormal power consumption

Country Status (1)

Country Link
CN (1) CN107357673A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108197156A (en) * 2017-12-08 2018-06-22 囯网河北省电力有限公司电力科学研究院 The abnormal electricity data restorative procedure and terminal device of power information acquisition system
CN108520430A (en) * 2018-03-23 2018-09-11 西安艾润物联网技术服务有限责任公司 Car park payment exception analysis method, equipment and computer readable storage medium
CN109272728A (en) * 2018-09-05 2019-01-25 云丁智能科技(北京)有限公司 A kind of electric quantity managing method and device
CN109636163A (en) * 2018-12-03 2019-04-16 国网北京市电力公司 The determination method and device of multiplexing electric abnormality
CN109813775A (en) * 2017-11-20 2019-05-28 上海观流智能科技有限公司 Specific ion detection method, system, computer readable storage medium and equipment
CN110020000A (en) * 2017-12-22 2019-07-16 北京金风慧能技术有限公司 Determine the method and apparatus of abnormal air speed data
CN110456690A (en) * 2019-07-23 2019-11-15 安徽集弘物联科技有限公司 A kind of intelligent type comprehensive managing power consumption control system
CN110596453A (en) * 2019-08-26 2019-12-20 威胜集团有限公司 Electromagnetic induction eddy current heating equipment start monitoring method and device and storage medium
CN111361310A (en) * 2020-03-24 2020-07-03 厦门汉印电子技术有限公司 RFID-based carbon ribbon authenticity identification method and device, printer and storage medium
CN112083340A (en) * 2019-06-13 2020-12-15 上海杰之能软件科技有限公司 Storage battery pack performance detection method and device, storage medium and terminal
CN112448429A (en) * 2019-08-30 2021-03-05 Oppo广东移动通信有限公司 Control method, terminal and computer storage medium
CN112904135A (en) * 2021-03-08 2021-06-04 深圳市欧瑞博科技股份有限公司 Intelligent detection method and device for power consumption of door lock and computer readable storage medium
CN113702785A (en) * 2021-08-30 2021-11-26 中防通用河北电信技术有限公司 Method for judging fault arc
US11423721B2 (en) 2018-07-25 2022-08-23 Yunding Network Technology (Beijing) Co., Ltd. Methods and systems for controlling an intelligent device
US11989989B2 (en) 2018-07-25 2024-05-21 Yunding Network Technology (Beijing) Co., Ltd. Methods and systems for controlling an intelligent device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103065199A (en) * 2012-12-18 2013-04-24 广东电网公司电力科学研究院 Electric vehicle charging station load forecasting method
CN104571447A (en) * 2014-12-01 2015-04-29 深圳市金立通信设备有限公司 Terminal
CN104731301A (en) * 2013-12-20 2015-06-24 贝壳网际(北京)安全技术有限公司 Mobile terminal, power-saving operation method of mobile terminal, power-saving operation system of mobile terminal
CN104794535A (en) * 2015-04-16 2015-07-22 清华大学 Leading industry based electricity demand prediction and early warning method
CN105759608A (en) * 2016-02-26 2016-07-13 北京邮电大学 Energy-saving method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103065199A (en) * 2012-12-18 2013-04-24 广东电网公司电力科学研究院 Electric vehicle charging station load forecasting method
CN104731301A (en) * 2013-12-20 2015-06-24 贝壳网际(北京)安全技术有限公司 Mobile terminal, power-saving operation method of mobile terminal, power-saving operation system of mobile terminal
CN104571447A (en) * 2014-12-01 2015-04-29 深圳市金立通信设备有限公司 Terminal
CN104794535A (en) * 2015-04-16 2015-07-22 清华大学 Leading industry based electricity demand prediction and early warning method
CN105759608A (en) * 2016-02-26 2016-07-13 北京邮电大学 Energy-saving method and system

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109813775A (en) * 2017-11-20 2019-05-28 上海观流智能科技有限公司 Specific ion detection method, system, computer readable storage medium and equipment
CN108197156A (en) * 2017-12-08 2018-06-22 囯网河北省电力有限公司电力科学研究院 The abnormal electricity data restorative procedure and terminal device of power information acquisition system
CN108197156B (en) * 2017-12-08 2020-10-16 囯网河北省电力有限公司电力科学研究院 Abnormal electric quantity data restoration method of electricity consumption information acquisition system and terminal equipment
CN110020000A (en) * 2017-12-22 2019-07-16 北京金风慧能技术有限公司 Determine the method and apparatus of abnormal air speed data
CN110020000B (en) * 2017-12-22 2021-04-13 北京金风慧能技术有限公司 Method and device for judging abnormal wind speed data
CN108520430A (en) * 2018-03-23 2018-09-11 西安艾润物联网技术服务有限责任公司 Car park payment exception analysis method, equipment and computer readable storage medium
US11989989B2 (en) 2018-07-25 2024-05-21 Yunding Network Technology (Beijing) Co., Ltd. Methods and systems for controlling an intelligent device
US11423721B2 (en) 2018-07-25 2022-08-23 Yunding Network Technology (Beijing) Co., Ltd. Methods and systems for controlling an intelligent device
CN109272728A (en) * 2018-09-05 2019-01-25 云丁智能科技(北京)有限公司 A kind of electric quantity managing method and device
CN109636163A (en) * 2018-12-03 2019-04-16 国网北京市电力公司 The determination method and device of multiplexing electric abnormality
CN112083340A (en) * 2019-06-13 2020-12-15 上海杰之能软件科技有限公司 Storage battery pack performance detection method and device, storage medium and terminal
CN112083340B (en) * 2019-06-13 2023-11-14 上海杰之能软件科技有限公司 Storage battery performance detection method and device, storage medium and terminal
CN110456690A (en) * 2019-07-23 2019-11-15 安徽集弘物联科技有限公司 A kind of intelligent type comprehensive managing power consumption control system
CN110596453B (en) * 2019-08-26 2021-07-06 威胜集团有限公司 Electromagnetic induction eddy current heating equipment start monitoring method and device and storage medium
CN110596453A (en) * 2019-08-26 2019-12-20 威胜集团有限公司 Electromagnetic induction eddy current heating equipment start monitoring method and device and storage medium
CN112448429A (en) * 2019-08-30 2021-03-05 Oppo广东移动通信有限公司 Control method, terminal and computer storage medium
CN112448429B (en) * 2019-08-30 2022-11-04 Oppo广东移动通信有限公司 Control method, terminal and computer storage medium
CN111361310A (en) * 2020-03-24 2020-07-03 厦门汉印电子技术有限公司 RFID-based carbon ribbon authenticity identification method and device, printer and storage medium
CN112904135A (en) * 2021-03-08 2021-06-04 深圳市欧瑞博科技股份有限公司 Intelligent detection method and device for power consumption of door lock and computer readable storage medium
CN113702785A (en) * 2021-08-30 2021-11-26 中防通用河北电信技术有限公司 Method for judging fault arc

Similar Documents

Publication Publication Date Title
CN107357673A (en) A kind of method, terminal and computer-readable recording medium for detecting abnormal power consumption
CN107483751B (en) Terminal device, electric quantity distribution method thereof and computer-readable storage medium
CN107528922A (en) A kind of information push method, terminal and computer-readable recording medium
CN107844189A (en) A kind of method, system, terminal and computer-readable recording medium for reducing blank screen power consumption
CN106502687A (en) A kind of method and terminal for entering resting state
CN104967731B (en) A kind of terminal notifying method and terminal
CN106569585A (en) Method and terminal of managing application program process
CN105824393A (en) System on chip, method of managing power thereof, and electronic device
CN106951057A (en) The control method and mobile terminal of application
CN107889203A (en) A kind of electricity saving method, device, computer installation and computer-readable recording medium
CN107608724A (en) A kind of method, terminal and computer-readable recording medium for managing application program
CN107885479A (en) A kind of method for regulation of sound volume, terminal device and computer-readable medium
CN107943269A (en) Schedule job control method, device, terminal device and storage medium
CN106156583A (en) A kind of method of speech unlocking and terminal
CN107843844A (en) A kind of method, terminal and computer-readable recording medium for calibrating charge value
CN107506017A (en) Charging reminding method and device, electronic equipment and computer-readable recording medium
CN108712559A (en) A kind of disturbance-free method, system and terminal device
CN111479016A (en) Terminal use duration reminding method and device, terminal and storage medium
CN107197082A (en) A kind of information prompting method and terminal
CN108089970A (en) Predict method, terminal and the storage medium of remaining capacity up time
CN107463350A (en) A kind of footmark method of adjustment and terminal
CN107479806A (en) The method and terminal of a kind of changing interface
CN106249837A (en) A kind of method preventing terminal power down and terminal
CN106650409B (en) A kind of terminal control method and terminal
CN107861855A (en) A kind of method, terminal, system and computer-readable recording medium for reducing abnormal power consumption

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

Application publication date: 20171117