CN104092835A - Power consumption anomaly detection method and device for mobile terminal - Google Patents

Power consumption anomaly detection method and device for mobile terminal Download PDF

Info

Publication number
CN104092835A
CN104092835A CN201410374631.XA CN201410374631A CN104092835A CN 104092835 A CN104092835 A CN 104092835A CN 201410374631 A CN201410374631 A CN 201410374631A CN 104092835 A CN104092835 A CN 104092835A
Authority
CN
China
Prior art keywords
mobile terminal
current
power consumption
mode
under
Prior art date
Application number
CN201410374631.XA
Other languages
Chinese (zh)
Other versions
CN104092835B (en
Inventor
黄园
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Priority to CN201410374631.XA priority Critical patent/CN104092835B/en
Publication of CN104092835A publication Critical patent/CN104092835A/en
Application granted granted Critical
Publication of CN104092835B publication Critical patent/CN104092835B/en

Links

Classifications

    • Y02D10/34

Abstract

The invention discloses a power consumption anomaly detection method and a power consumption anomaly detection device for a mobile terminal. The power consumption anomaly detection method for the mobile terminal comprises the following steps: controlling the mobile terminal to circularly run in more than two working modes; detecting the power consumption rate of the mobile terminal; if the power consumption rate exceeds a preset power consumption rate threshold value and the mobile terminal is in a screen-out state at present, recording and storing a journal file corresponding to the mobile terminal in the current state; if the power consumption rate exceeds the preset power consumption rate threshold value and the mobile terminal is in a bright screen state at present, judging whether the work current value of the mobile terminal exceeds a preset work current threshold value or not in the current working mode; if yes, recording and storing the journal file corresponding to the mobile terminal in the current state; if not, returning to perform the step of detecting the power consumption rate of the mobile terminal and the subsequent steps. According to the technical scheme, the method and the device can effectively improve the power consumption anomaly debugging efficiency of the mobile terminal.

Description

A kind of mobile terminal power consumption method for detecting abnormality and device

Technical field

The present invention relates to field of mobile terminals, be specifically related to a kind of mobile terminal power consumption method for detecting abnormality and device.

Background technology

Be accompanied by the develop rapidly of mobile Internet, mobile terminal (for example smart mobile phone, panel computer, personal digital assistant (PDA, Personal Digital Assistant)) become an indispensable part in people's life, in order to meet people's demand, the hardware performance of mobile terminal is also in continuous lifting, and along with the lifting of mobile terminal hardware performance, the power problems of mobile terminal is also more and more outstanding.

The conventional abnormal adjustment method of mobile terminal power consumption need to expend the plenty of time and manpower goes to pinpoint the problems, reproduction problem, usually can affect the whole development progress of project.

Summary of the invention

The invention provides a kind of mobile terminal power consumption method for detecting abnormality and device, for improving the abnormal debugging efficiency of mobile terminal power consumption.

First aspect present invention provides a kind of mobile terminal power consumption method for detecting abnormality to comprise:

Within the default power consumption abnormality detection cycle, control mobile terminal circular flow in two or more mode of operations;

Detect the electric quantity consumption speed of above-mentioned mobile terminal;

If the current current drain speed of above-mentioned mobile terminal surpasses default electric quantity consumption speed threshold value corresponding to the mode of operation with the current operation of above-mentioned mobile terminal, and above-mentioned mobile terminal is current in putting out screen state: according to the current state of above-mentioned mobile terminal, record and store journal file corresponding under above-mentioned mobile terminal current state;

If the current current drain speed of above-mentioned mobile terminal surpasses default electric quantity consumption speed threshold value corresponding to the mode of operation with the current operation of above-mentioned mobile terminal, and above-mentioned mobile terminal is current in bright screen state:

Obtain the working current value under above-mentioned mobile terminal work at present pattern;

Judge whether the working current value under above-mentioned mobile terminal work at present pattern surpasses default operating current threshold value corresponding to the mode of operation with the current operation of above-mentioned mobile terminal;

If surpass, according to the current state of above-mentioned mobile terminal, record and store journal file corresponding under above-mentioned mobile terminal current state;

If be no more than, return to step and the subsequent step of the electric quantity consumption speed of carrying out the above-mentioned mobile terminal of above-mentioned detection.

Second aspect present invention provides a kind of mobile terminal power consumption abnormal detector, comprising:

Control unit, within the power consumption abnormality detection cycle default, controls mobile terminal circular flow in two or more mode of operations;

Detecting unit, for detection of the electric quantity consumption speed of above-mentioned mobile terminal;

Record storage unit, for surpassing default electric quantity consumption speed threshold value corresponding to the mode of operation with the current operation of above-mentioned mobile terminal when the current current drain speed of above-mentioned mobile terminal, and above-mentioned mobile terminal is current when putting out screen state, according to the current state of above-mentioned mobile terminal, record and store journal file corresponding under above-mentioned mobile terminal current state;

Acquiring unit, for surpassing default electric quantity consumption speed threshold value corresponding to the mode of operation with the current operation of above-mentioned mobile terminal when the current current drain speed of above-mentioned mobile terminal, and above-mentioned mobile terminal is current when bright screen state, obtain the working current value under above-mentioned mobile terminal work at present pattern;

Judging unit, for judging whether the working current value under the above-mentioned mobile terminal work at present pattern that above-mentioned acquiring unit obtains surpasses default operating current threshold value corresponding to the mode of operation with the current operation of above-mentioned mobile terminal;

Above-mentioned record storage unit, also for when judgment result is that of above-mentioned judging unit is, records and stores journal file corresponding under above-mentioned mobile terminal current state according to the current state of above-mentioned mobile terminal.

From technique scheme of the present invention, in the present invention, control the operation of mobile terminal analog subscriber, make mobile terminal circular flow in two or more mode of operations, and detect the electric quantity consumption speed of mobile terminal, according to the electric quantity consumption speed of mobile terminal, judge whether mobile terminal occurs extremely, record and the journal file of memory mobile terminal when abnormal when appearance is abnormal, by the abnormal situation of intelligent decision mobile terminal power consumption, saved repeated manual operation, and, due to record and storage is the journal file of mobile terminal when abnormal, the journal file of storage has stronger specific aim, can effectively improve the abnormal debugging efficiency of mobile terminal power consumption, and then the development progress of assurance mobile terminal.

Accompanying drawing explanation

In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.

Fig. 1 is embodiment schematic flow sheet of a kind of mobile terminal power consumption method for detecting abnormality provided by the invention;

Fig. 2 is example structure schematic diagram of a kind of mobile terminal power consumption abnormal detector provided by the invention.

Embodiment

For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, but not whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.

The embodiment of the present invention provides a kind of mobile terminal power consumption method for detecting abnormality, and said method comprises: within the default power consumption abnormality detection cycle, control mobile terminal circular flow in two or more mode of operations; Detect the electric quantity consumption speed of above-mentioned mobile terminal; If the current current drain speed of above-mentioned mobile terminal surpasses default electric quantity consumption speed threshold value corresponding to the mode of operation with the current operation of above-mentioned mobile terminal, and above-mentioned mobile terminal is current in putting out screen state: according to the current state of above-mentioned mobile terminal, record and store journal file corresponding under above-mentioned mobile terminal current state; If the current current drain speed of above-mentioned mobile terminal surpasses default electric quantity consumption speed threshold value corresponding to the mode of operation with the current operation of above-mentioned mobile terminal, and above-mentioned mobile terminal is current in bright screen state: obtain the working current value under above-mentioned mobile terminal work at present pattern; Judge whether the working current value under above-mentioned mobile terminal work at present pattern surpasses default operating current threshold value corresponding to the mode of operation with the current operation of above-mentioned mobile terminal; If surpass, according to the current state of above-mentioned mobile terminal, record and store journal file corresponding under above-mentioned mobile terminal current state; If be no more than, return and carry out the circular flow of above-mentioned control mobile terminal in step and the subsequent step of two or more mode of operations.The embodiment of the present invention also provides corresponding mobile terminal power consumption abnormal detector.Below be elaborated respectively.

A kind of mobile terminal power consumption the method for detecting abnormality below embodiment of the present invention being provided, refers to Fig. 1, and the mobile terminal power consumption method for detecting abnormality in the embodiment of the present invention comprises:

101,, within the default power consumption abnormality detection cycle, control mobile terminal circular flow in two or more mode of operations;

In the embodiment of the present invention, are set one or more power consumption abnormality detection cycles, the duration in power consumption abnormality detection cycle can be set according to actual needs.

Within the power consumption abnormality detection cycle, mobile terminal power consumption abnormal detector moves application program or the script on above-mentioned mobile terminal, to control mobile terminal circular flow in two or more mode of operations.

Optionally, control mobile terminal circular flow in following two or more mode of operation arbitrarily: video play mode, music playing mode, call mode, exposal model, mode of network accessing and put out screen standby mode.

102, detect the electric quantity consumption speed of above-mentioned mobile terminal;

Optionally, mobile terminal power consumption abnormal detector regularly detects the dump energy of above-mentioned mobile terminal, the dump energy that this detection is obtained deducts the dump energy that front one-time detection obtains, just can obtain the electric quantity consumption amount of mobile terminal between twice detection period, in the time interval by the electric quantity consumption amount of mobile terminal between twice detection period divided by this twice detection, can detect the electric quantity consumption speed of this above-mentioned mobile terminal.

103, when the current current drain speed of above-mentioned mobile terminal surpasses electric quantity consumption speed threshold value corresponding to the default mode of operation with the current operation of above-mentioned mobile terminal, judge that above-mentioned mobile terminal is current in putting out screen state or bright screen state;

In the embodiment of the present invention, every kind of mode of operation moving for mobile terminal arranges corresponding electric quantity consumption speed threshold value, the electric quantity consumption speed threshold value that different working modes is corresponding can obtain by repeatedly measuring, summing up, and, for different mobile terminals, because hardware platform may be different, therefore, electric quantity consumption speed threshold value can be according to the different inchings of running business into particular one of hardware platform, that is, corresponding electric quantity consumption speed threshold value may be different under same mode of operation for different mobile terminal.Or, also mobile terminal can be divided into bright screen state and put out screen state, for mobile terminal is at bright screen state with put out screen state one electric quantity consumption speed threshold value is set respectively, and do not distinguish concrete mode of operation.

When the current current drain speed of above-mentioned mobile terminal surpasses electric quantity consumption speed threshold value corresponding to the default mode of operation with the current operation of above-mentioned mobile terminal, mobile terminal power consumption abnormal detector judges that above-mentioned mobile terminal is current whether in putting out screen state, if in putting out screen state, perform step 104, if in bright screen state, perform step 105.

104, according to the current state of above-mentioned mobile terminal, record and store journal file corresponding under above-mentioned mobile terminal current state;

In the embodiment of the present invention, mobile terminal power consumption abnormal detector records the current state of above-mentioned mobile terminal, and stores in journal file (being log file) corresponding under above-mentioned mobile terminal current state.

Optionally, the current state of above-mentioned mobile terminal includes but not limited to: current electric quantity Expenditure Levels, current screen sectional drawing, current process state, current cpu occupancy and current network state.

Under default situations, journal file will be buffered in Installed System Memory, therefore for ease of follow-up, according to journal file, the power consumption of mobile terminal is debugged extremely, optionally, mobile terminal power consumption abnormal detector, record journal file corresponding under above-mentioned mobile terminal current state according to the current state of above-mentioned mobile terminal after, stores journal file corresponding under the above-mentioned mobile terminal current state of record in the catalogue of appointment into by timestamp.

105, obtain the working current value under above-mentioned mobile terminal work at present pattern;

In the embodiment of the present invention, mobile terminal power consumption abnormal detector can gather above-mentioned mobile terminal under work at present pattern one moment working current value, as the working current value under above-mentioned mobile terminal work at present pattern.

Optionally, in order to improve the accuracy of judged result, mobile terminal power consumption abnormal detector gather under above-mentioned mobile terminal work at present pattern N moment working current value, wherein, above-mentioned N is not less than 2; Calculate above-mentioned N moment working current value mean value, as the working current value under above-mentioned mobile terminal work at present pattern.

106, judge whether the working current value under above-mentioned mobile terminal work at present pattern surpasses default operating current threshold value corresponding to the mode of operation with the current operation of above-mentioned mobile terminal;

Optionally, every kind of mode of operation moving for mobile terminal arranges corresponding current reference standard (being also operating current threshold value), the operating current threshold value that different working modes is corresponding can obtain by repeatedly measuring, summing up, and, for different mobile terminals, because hardware platform may be different, therefore, operating current threshold value can be according to the different inchings of running business into particular one of hardware platform, that is, corresponding operating current threshold value may be different under same mode of operation for different mobile terminal.Or, also mobile terminal can be divided into bright screen state and put out screen state, for mobile terminal is at bright screen state with put out screen state one operating current threshold value is set respectively, and do not distinguish concrete mode of operation.

Mobile terminal power consumption abnormal detector judges whether the working current value under above-mentioned mobile terminal work at present pattern surpasses default operating current threshold value corresponding to the mode of operation with the current operation of above-mentioned mobile terminal, if the working current value under above-mentioned mobile terminal work at present pattern surpasses default operating current threshold value corresponding to the mode of operation with the current operation of above-mentioned mobile terminal, perform step 104, if the working current value under above-mentioned mobile terminal work at present pattern is no more than default operating current threshold value corresponding to the mode of operation with the current operation of above-mentioned mobile terminal, return to execution step 102.

Optionally, when the above-mentioned power consumption abnormality detection cycle arrives, mobile terminal power consumption abnormal detector is derived the journal file of above-mentioned power consumption abnormality detection cycle memory storage from the catalogue of appointment, to the power consumption of above-mentioned mobile terminal is debugged extremely according to the journal file of deriving.Or, mobile terminal power consumption abnormal detector also can not derived the journal file of above-mentioned power consumption abnormality detection cycle memory storage,, when staff need to extremely further debug the power consumption of above-mentioned mobile terminal, in the catalogue of appointment, check or derive corresponding journal file.

It should be noted that, mobile terminal power consumption abnormal detector in the embodiment of the present invention can be a functional module in mobile terminal, be in integrated and mobile terminal, or, mobile terminal power consumption abnormal detector in the embodiment of the present invention can be also a kind of device that is independent of mobile terminal, is not construed as limiting herein.Mobile terminal in the embodiment of the present invention includes but not limited to that smart mobile phone, panel computer, PDA etc. need to carry out the terminal equipment of power consumption abnormality detection.

From technique scheme of the present invention, in the present invention, control the operation of mobile terminal analog subscriber, make mobile terminal circular flow in two or more mode of operations, and detect the electric quantity consumption speed of mobile terminal, according to the electric quantity consumption speed of mobile terminal, judge whether mobile terminal occurs extremely, record and the journal file of memory mobile terminal when abnormal when appearance is abnormal, by the abnormal situation of intelligent decision mobile terminal power consumption, saved repeated manual operation, and, due to record and storage is the journal file of mobile terminal when abnormal, the journal file of storage has stronger specific aim, can effectively improve the abnormal debugging efficiency of mobile terminal power consumption, and then the development progress of assurance mobile terminal.

With a concrete application scenarios, the mobile terminal power consumption method for detecting abnormality in the embodiment of the present invention is described below:

1, measure and set mobile terminal under bright screen state and put out operating current threshold value under screen state that (for example, operating current threshold value while setting bright screen state is 500 milliamperes, operating current threshold value while putting out screen state is 20 milliamperes) and electric quantity consumption speed (for example, electric quantity consumption speed while setting bright screen state is 10% per hour, and the electric quantity consumption speed while putting out screen state is 2% per hour).

2, the mobile terminal program of automatic aging that brings into operation, loop video playback, music, converse, take pictures, accesses network, the operation of putting out the analog subscribers such as screen standby, wherein, the program of automatic aging refers to application program or the script operating on this mobile terminal, be used for controlling this mobile terminal and loop some operation, such as loop play video, circulation call, circulation shooting etc.

3, mobile terminal starts a service, regularly detect the dump energy of mobile terminal, if find, certain electric quantity consumption speed detecting surpasses the electric quantity consumption speed threshold value of setting, start to carry out operating current detection: at mobile terminal during in bright screen state, directly repeatedly read moment operating current, and average to reduce the probability of erroneous judgement, whether the working current value that obtains of judgement surpasses the mobile terminal the set operating current threshold value under bright screen state, if enter step 4, otherwise repeated execution of steps 3; When mobile terminal shields holding state in putting out, due to direct reading current, directly use the electric quantity consumption speed measuring, the mobile terminal whether working current value that judgement obtains surpasses setting is in the electric quantity consumption speed of putting out under screen state, if enter step 4, otherwise repeated execution of steps 3.

4, judge that power consumption to be detected abnormal, the current state of mobile terminal (for example electric quantity consumption situation, screenshot capture, process status, cpu occupancy, network state etc.) is saved in log file, and the log of buffer memory in system is derived, by timestamp, store the catalogue of appointment into.

5, burn-in test completed after the test period, and the log preserving is derived and analyzed, and if desired reappeared problem, can repeating step 3 and step 4.

The embodiment of the present invention also provides a kind of mobile terminal power consumption abnormal detector, and as shown in Figure 2, the mobile terminal power consumption abnormal detector 200 in the embodiment of the present invention comprises:

Control unit 201, within the power consumption abnormality detection cycle default, controls mobile terminal circular flow in two or more mode of operations;

Detecting unit 202, for detection of the electric quantity consumption speed of above-mentioned mobile terminal;

Record storage unit 203, for surpassing default electric quantity consumption speed threshold value corresponding to the mode of operation with the current operation of above-mentioned mobile terminal when the current current drain speed of above-mentioned mobile terminal, and above-mentioned mobile terminal is current when putting out screen state, according to the current state of above-mentioned mobile terminal, record and store journal file corresponding under above-mentioned mobile terminal current state;

Acquiring unit 204, for surpassing default electric quantity consumption speed threshold value corresponding to the mode of operation with the current operation of above-mentioned mobile terminal when the current current drain speed of above-mentioned mobile terminal, and above-mentioned mobile terminal is current when bright screen state, obtain the working current value under above-mentioned mobile terminal work at present pattern;

Judging unit 205, for judging whether the working current value under the above-mentioned mobile terminal work at present pattern that acquiring unit 204 obtains surpasses default operating current threshold value corresponding to the mode of operation with the current operation of above-mentioned mobile terminal;

Record storage unit 203, also for when judgment result is that of judging unit 205 is, records and stores journal file corresponding under above-mentioned mobile terminal current state according to the current state of above-mentioned mobile terminal.

Optionally, control unit 201 specifically for: control mobile terminal circular flow in following two or more mode of operation arbitrarily: video play mode, music playing mode, call mode, exposal model, mode of network accessing and put out screen standby mode.

Optionally, on basis embodiment illustrated in fig. 2, acquiring unit 204 also comprises: collecting unit, for gather under above-mentioned mobile terminal work at present pattern N moment working current value, wherein, above-mentioned N is not less than 2; Computing unit, for calculate above-mentioned N moment working current value mean value, as the working current value under above-mentioned mobile terminal work at present pattern.

Optionally, record storage unit 203 specifically for: when the current current drain speed of above-mentioned mobile terminal surpasses default electric quantity consumption speed threshold value corresponding to the mode of operation with the current operation of above-mentioned mobile terminal, and above-mentioned mobile terminal is current when putting out screen state, or, when judgment result is that of judging unit 205 is, according to the current state of above-mentioned mobile terminal, record journal file corresponding under above-mentioned mobile terminal current state; By timestamp, journal file corresponding under above-mentioned mobile terminal current state is stored into the catalogue of appointment.

Optionally, the mobile terminal power consumption abnormal detector in the embodiment of the present invention also comprises: lead-out unit, for when the above-mentioned power consumption abnormality detection cycle arrives, from the catalogue of appointment, derive the journal file of above-mentioned power consumption abnormality detection cycle memory storage.

It should be noted that, mobile terminal power consumption abnormal detector in the embodiment of the present invention can be a functional module in mobile terminal, be in integrated and mobile terminal, or, mobile terminal power consumption abnormal detector in the embodiment of the present invention can be also a kind of device that is independent of mobile terminal, is not construed as limiting herein.Mobile terminal in the embodiment of the present invention includes but not limited to that smart mobile phone, panel computer, PDA etc. need to carry out the terminal equipment of power consumption abnormality detection.

It should be noted that, mobile terminal power consumption abnormal detector in the embodiment of the present invention can be as the mobile terminal power consumption abnormal detector of mentioning in above-mentioned embodiment of the method, can be for realizing the whole technical schemes in said method embodiment, the function of its each functional module can be according to the method specific implementation in said method embodiment, its specific implementation process can, with reference to the associated description in above-described embodiment, repeat no more herein.

From technique scheme of the present invention, in the present invention, control the operation of mobile terminal analog subscriber, make mobile terminal circular flow in two or more mode of operations, and detect the electric quantity consumption speed of mobile terminal, according to the electric quantity consumption speed of mobile terminal, judge whether mobile terminal occurs extremely, record and the journal file of memory mobile terminal when abnormal when appearance is abnormal, by the abnormal situation of intelligent decision mobile terminal power consumption, saved repeated manual operation, and, due to record and storage is the journal file of mobile terminal when abnormal, the journal file of storage has stronger specific aim, can effectively improve the abnormal debugging efficiency of mobile terminal power consumption, and then the development progress of assurance mobile terminal.

In the several embodiment that provide in the application, should be understood that disclosed apparatus and method can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.

The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.

In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.

If the form of SFU software functional unit of usining described integrated unit realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.Understanding based on such, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), the various media that can be program code stored such as random access memory (RAM, Random Access Memory), magnetic disc or CD.

It should be noted that, for aforesaid each embodiment of the method, for easy description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because according to the present invention, some step can adopt other order or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and related action and module might not be all that the present invention is necessary.

In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part of detailed description, can be referring to the associated description of other embodiment.

It is more than the description to a kind of mobile terminal power consumption method for detecting abnormality provided by the present invention and device, for one of ordinary skill in the art, thought according to the embodiment of the present invention, all will change in specific embodiments and applications, to sum up, this description should not be construed as limitation of the present invention.

Claims (10)

1. a mobile terminal power consumption method for detecting abnormality, is characterized in that, comprising:
Within the default power consumption abnormality detection cycle, control mobile terminal circular flow in two or more mode of operations;
Detect the electric quantity consumption speed of described mobile terminal;
If the current current drain speed of described mobile terminal surpasses default electric quantity consumption speed threshold value corresponding to the mode of operation with the current operation of described mobile terminal, and described mobile terminal is current in putting out screen state: according to the current state of described mobile terminal, record and store journal file corresponding under described mobile terminal current state;
If the current current drain speed of described mobile terminal surpasses default electric quantity consumption speed threshold value corresponding to the mode of operation with the current operation of described mobile terminal, and described mobile terminal is current in bright screen state:
Obtain the working current value under described mobile terminal work at present pattern;
Judge whether the working current value under described mobile terminal work at present pattern surpasses default operating current threshold value corresponding to the mode of operation with the current operation of described mobile terminal;
If surpass, according to the current state of described mobile terminal, record and store journal file corresponding under described mobile terminal current state;
If be no more than, return to step and the subsequent step of the electric quantity consumption speed of carrying out the described mobile terminal of described detection.
2. method according to claim 1, is characterized in that, the circular flow of described control mobile terminal, in two or more mode of operations, comprising:
Control mobile terminal circular flow in following two or more mode of operation arbitrarily: video play mode, music playing mode, call mode, exposal model, mode of network accessing and put out screen standby mode.
3. method according to claim 1 and 2, is characterized in that, described in obtain the working current value under described mobile terminal work at present pattern, comprising:
Gather under described mobile terminal work at present pattern N moment working current value, wherein, described N is not less than 2;
Calculate described N moment working current value mean value, as the working current value under described mobile terminal work at present pattern.
4. method according to claim 1 and 2, is characterized in that, the described current state according to described mobile terminal records and store journal file corresponding under described mobile terminal current state, comprising:
According to the current state of described mobile terminal, record journal file corresponding under described mobile terminal current state;
By timestamp, journal file corresponding under described mobile terminal current state is stored into the catalogue of appointment.
5. method according to claim 4, is characterized in that, described method also comprises:
When the described power consumption abnormality detection cycle arrives, from the catalogue of described appointment, derive the journal file of described power consumption abnormality detection cycle memory storage.
6. a mobile terminal power consumption abnormal detector, is characterized in that, comprising:
Control unit, within the power consumption abnormality detection cycle default, controls mobile terminal circular flow in two or more mode of operations;
Detecting unit, for detection of the electric quantity consumption speed of described mobile terminal;
Record storage unit, for surpassing default electric quantity consumption speed threshold value corresponding to the mode of operation with the current operation of described mobile terminal when the current current drain speed of described mobile terminal, and described mobile terminal is current when putting out screen state, according to the current state of described mobile terminal, record and store journal file corresponding under described mobile terminal current state;
Acquiring unit, for surpassing default electric quantity consumption speed threshold value corresponding to the mode of operation with the current operation of described mobile terminal when the current current drain speed of described mobile terminal, and described mobile terminal is current when bright screen state, obtain the working current value under described mobile terminal work at present pattern;
Judging unit, for judging whether the working current value under the described mobile terminal work at present pattern that described acquiring unit obtains surpasses default operating current threshold value corresponding to the mode of operation with the current operation of described mobile terminal;
Described record storage unit, also for when judgment result is that of described judging unit is, records and stores journal file corresponding under described mobile terminal current state according to the current state of described mobile terminal.
7. mobile terminal power consumption abnormal detector according to claim 6, it is characterized in that, described control unit specifically for: control mobile terminal circular flow in following two or more mode of operation arbitrarily: video play mode, music playing mode, call mode, exposal model, mode of network accessing and put out screen standby mode.
8. according to the mobile terminal power consumption abnormal detector described in claim 6 or 7, it is characterized in that,
Described acquiring unit comprises:
Collecting unit, for gather under described mobile terminal work at present pattern N moment working current value, wherein, described N is not less than 2;
Computing unit, for calculate described N moment working current value mean value, as the working current value under described mobile terminal work at present pattern.
9. according to the mobile terminal power consumption abnormal detector described in claim 6 or 7, it is characterized in that,
Described record storage unit specifically for: when the current current drain speed of described mobile terminal surpasses default electric quantity consumption speed threshold value corresponding to the mode of operation with the current operation of described mobile terminal, and described mobile terminal is current when putting out screen state, or, when judgment result is that of described judging unit is, according to the current state of described mobile terminal, record journal file corresponding under described mobile terminal current state; By timestamp, journal file corresponding under described mobile terminal current state is stored into the catalogue of appointment.
10. mobile terminal power consumption abnormal detector according to claim 9, is characterized in that, described mobile terminal power consumption abnormal detector also comprises:
Lead-out unit for when the described power consumption abnormality detection cycle arrives, is derived the journal file of described power consumption abnormality detection cycle memory storage from the catalogue of described appointment.
CN201410374631.XA 2014-07-31 2014-07-31 A kind of mobile terminal power consumption method for detecting abnormality and device CN104092835B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410374631.XA CN104092835B (en) 2014-07-31 2014-07-31 A kind of mobile terminal power consumption method for detecting abnormality and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410374631.XA CN104092835B (en) 2014-07-31 2014-07-31 A kind of mobile terminal power consumption method for detecting abnormality and device

Publications (2)

Publication Number Publication Date
CN104092835A true CN104092835A (en) 2014-10-08
CN104092835B CN104092835B (en) 2016-08-24

Family

ID=51640515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410374631.XA CN104092835B (en) 2014-07-31 2014-07-31 A kind of mobile terminal power consumption method for detecting abnormality and device

Country Status (1)

Country Link
CN (1) CN104092835B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486779A (en) * 2014-12-05 2015-04-01 沈阳晨讯希姆通科技有限公司 Slow clock test method for mobile communication terminal and test system thereof
CN104991192A (en) * 2015-05-28 2015-10-21 努比亚技术有限公司 Battery power loss detecting method and device and mobile terminal
CN105764086A (en) * 2014-12-18 2016-07-13 中国移动通信集团终端有限公司 Terminal endurance performance detecting method and system
WO2016177219A1 (en) * 2015-09-22 2016-11-10 中兴通讯股份有限公司 Method and apparatus for detecting power consumption abnormality
CN106455018A (en) * 2016-09-26 2017-02-22 维沃移动通信有限公司 Video call processing method and mobile terminal
CN106534437A (en) * 2016-10-20 2017-03-22 上海斐讯数据通信技术有限公司 System and method for testing power consumption of mobile terminal
CN106559567A (en) * 2016-11-15 2017-04-05 捷开通讯(深圳)有限公司 High current control method and mobile communication terminal
WO2018103379A1 (en) * 2016-12-07 2018-06-14 广东欧珀移动通信有限公司 Terminal monitoring method and mobile terminal
CN108200280A (en) * 2017-12-28 2018-06-22 上海传英信息技术有限公司 power consumption analysis method and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369243A (en) * 2007-08-13 2009-02-18 英业达股份有限公司 Power consumption state test method
US20090061845A1 (en) * 2007-09-03 2009-03-05 James King Systems and methods for mobile phone validation
CN103297587A (en) * 2012-02-23 2013-09-11 宇龙计算机通信科技(深圳)有限公司 Terminal and method for detecting and processing stand-by power consumption abnormity
CN103458445A (en) * 2012-05-31 2013-12-18 北京鼹鼠科技发展有限公司 Android-based communication terminal testing method and device
CN103500138A (en) * 2013-09-30 2014-01-08 东莞宇龙通信科技有限公司 Power management method and system and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369243A (en) * 2007-08-13 2009-02-18 英业达股份有限公司 Power consumption state test method
US20090061845A1 (en) * 2007-09-03 2009-03-05 James King Systems and methods for mobile phone validation
CN103297587A (en) * 2012-02-23 2013-09-11 宇龙计算机通信科技(深圳)有限公司 Terminal and method for detecting and processing stand-by power consumption abnormity
CN103458445A (en) * 2012-05-31 2013-12-18 北京鼹鼠科技发展有限公司 Android-based communication terminal testing method and device
CN103500138A (en) * 2013-09-30 2014-01-08 东莞宇龙通信科技有限公司 Power management method and system and mobile terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486779A (en) * 2014-12-05 2015-04-01 沈阳晨讯希姆通科技有限公司 Slow clock test method for mobile communication terminal and test system thereof
CN105764086A (en) * 2014-12-18 2016-07-13 中国移动通信集团终端有限公司 Terminal endurance performance detecting method and system
CN105764086B (en) * 2014-12-18 2019-02-26 中国移动通信集团终端有限公司 A kind of terminal duration performance detection method and system
CN104991192A (en) * 2015-05-28 2015-10-21 努比亚技术有限公司 Battery power loss detecting method and device and mobile terminal
WO2016177219A1 (en) * 2015-09-22 2016-11-10 中兴通讯股份有限公司 Method and apparatus for detecting power consumption abnormality
CN106455018A (en) * 2016-09-26 2017-02-22 维沃移动通信有限公司 Video call processing method and mobile terminal
CN106534437A (en) * 2016-10-20 2017-03-22 上海斐讯数据通信技术有限公司 System and method for testing power consumption of mobile terminal
CN106559567A (en) * 2016-11-15 2017-04-05 捷开通讯(深圳)有限公司 High current control method and mobile communication terminal
WO2018103379A1 (en) * 2016-12-07 2018-06-14 广东欧珀移动通信有限公司 Terminal monitoring method and mobile terminal
CN108200280A (en) * 2017-12-28 2018-06-22 上海传英信息技术有限公司 power consumption analysis method and terminal

Also Published As

Publication number Publication date
CN104092835B (en) 2016-08-24

Similar Documents

Publication Publication Date Title
EP3480692A1 (en) Methods and systems for preloading applications and generating prediction models
US10521244B2 (en) Information handling system configuration parameter history management
US20170111814A1 (en) Methods and Systems for Performance Monitoring for Mobile Applications
CN102819313B (en) Operating method of terminal equipment and terminal equipment
US8713680B2 (en) Method and apparatus for modeling computer program behaviour for behavioural detection of malicious program
US9285857B2 (en) Application idle current drain measurement
CN103294161B (en) Electronic installation
US8473789B2 (en) Memory leak monitoring system and associated methods
US7703094B2 (en) Adaptive and dynamic filtering of threaded programs
CN103488544B (en) Detect the treating method and apparatus of slow dish
KR101477179B1 (en) Method And Mobile Terminal For Determining and Displaying Power Efficiency of Application
CN103329108B (en) Proving installation
US20100138811A1 (en) Dynamic Performance Profiling
CN103425574B (en) A kind of method and device of test application program
CN103605450A (en) Application icon display method and intelligent terminal
CN103186740A (en) Automatic detection method for Android malicious software
CN104268055B (en) The monitoring method and device of a kind of program exception
CN104598380A (en) Method and system for automatic testing based on control
US20100131952A1 (en) Assistance In Performing Action Responsive To Detected Event
CN104076904B (en) Control the method and device of mobile terminal hardware state
CN102521758B (en) Ad attention analysis method based on Principle of Statistics
WO2014153273A1 (en) Application testing and analysis
CN103530221B (en) A kind of android system Program behavior and interface operation mapping method
CN102736725B (en) A kind of energy saving of hard disks control method, device and central processing unit
CN103136471B (en) A kind of malice Android application program detection method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.