CN104182337A - Power consumption testing method and device and mobile terminal - Google Patents

Power consumption testing method and device and mobile terminal Download PDF

Info

Publication number
CN104182337A
CN104182337A CN201410404946.4A CN201410404946A CN104182337A CN 104182337 A CN104182337 A CN 104182337A CN 201410404946 A CN201410404946 A CN 201410404946A CN 104182337 A CN104182337 A CN 104182337A
Authority
CN
China
Prior art keywords
measured
application program
mobile terminal
screen state
current data
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.)
Granted
Application number
CN201410404946.4A
Other languages
Chinese (zh)
Other versions
CN104182337B (en
Inventor
岳闯
韦慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410404946.4A priority Critical patent/CN104182337B/en
Publication of CN104182337A publication Critical patent/CN104182337A/en
Application granted granted Critical
Publication of CN104182337B publication Critical patent/CN104182337B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention belongs to the field of mobile terminals and provides a power consumption testing method and device and a mobile terminal. The power consumption testing method includes a step A, determining a target to be tested; a step B, starting and running one application program to be tested of the target to be tested; a step C, controlling the mobile terminal to turn off the screen; a step D, reading electric current data of the mobile terminal in a screen-turn off state within preset time and at the preset point in time after the current application program to be tested runs; a step E, controlling the mobile terminal to turn on the screen, starting and running the next application program to be tested and after returning back to the step C, acquiring all the electric current data of the mobile terminal in the screen-turn off state after all the application programs to be tested run; a step F, after running all the application programs to be tested, comparing the electric current data of the mobile terminal in the screen-turn off state with preset reference data, and determining the application program affecting battery life according to the comparison result. Hence, the application program causing short battery life can be found.

Description

A kind of power consumption test method, device and mobile terminal
Technical field
The invention belongs to field of mobile terminals, relate in particular to a kind of power consumption test method, device and mobile terminal.
Background technology
Along with the fast development in intelligent machine market, each mobile terminal manufacturer is in order to improve the competitive power of self product, compare with except promoting hardware configuration, now also turn on gradually the competition of soft capability, the self-developed mobile terminal operating system of enriching constantly, increase a large amount of application programs, and major applications program is all integrated towards " cloud ".Due to the explosive growth of third party application on Android platform, on mobile terminal, be flooded with various application programs, the application program that every mobile terminal of minimum estimation loads generally can not be less than 40.Load so many application program, meet user in function in, being accompanied by another one problem occurs: some application program is in the time of design, because design specifications is rigorous not, cause some application program continuous waken system still in the time of running background, cause the power consumption of mobile terminal to increase, reduce cruising time.
But, existing power consumption test method is the flying power that the Overall Power Consumption data while moving under some scenes are calculated mobile terminal by monitoring mobile terminal, this method is to be mainly used in the continuation of the journey evaluation and test of different model machinery compartment, cause the reason that shorten cruising time not help for searching on mobile terminal, especially at present the third party application quantity on electronic market is various, getting rid of preset application program existing problems or external third party application causes shorten cruising time, is the more thorny thing of part.
Summary of the invention
The embodiment of the present invention provides a kind of power consumption test method, device and mobile terminal, is intended to solve the power consumption test method that prior art provides, and cannot find the problem of the application program that causes the decline of mobile terminal flying power.
On the one hand, provide a kind of power consumption test method, described method comprises:
Steps A, determine object to be measured, described to be measured to as if one or at least two application programs to be measured;
Step B, startup also move an application program to be measured in object to be measured;
Step C, control mobile terminal enter the screen state that puts out;
Step D, enter and put out screen state from mobile terminal, read in Preset Time, Preset Time point is upper, after current application program to be measured is moved, the current data that enters the mobile terminal that puts out screen state;
Step e, control mobile terminal enter bright screen state, first start and move the next one application program to be measured in object to be measured, return to again step C, until obtain in object to be measured after all application programs to be measured operations the current data that enters the mobile terminal that puts out screen state;
Step F, by after each application program to be measured operation in object to be measured, enter the current data of the mobile terminal that puts out screen state and default reference data and compare, according to the definite application program that affects cruising time of comparative result.
Further, the current data of mobile terminal is stored in database table, and the title of database table is the application name of application program to be measured.
Further, described step F is specially:
By in database table corresponding application program to be measured, on Preset Time point, enter the current data of the mobile terminal that puts out screen state and default reference data and compare, if there is the current data of predetermined number to be all greater than reference data, application program to be measured is the application program that affects cruising time.
Further, comprise in described step F:
Database table corresponding application program to be measured is projected in a two-dimentional form, and every a line of described two-dimentional form represents that all Preset Time points of an application program to be measured are upper, the current data that enters the mobile terminal that puts out screen state;
The current data comprising according to described two-dimentional form generates after each application program operation to be measured, enters the current curve diagram of the mobile terminal that puts out screen state;
Described current curve diagram and the datum line being generated by preset reference data are compared, depart from the degree of described datum line according to described current curve diagram and determine the application program that affects cruising time.
Further, before step C, also comprise:
The operation that application program to be measured is specified, analog subscriber is commonly used use scenes.
On the other hand, provide a kind of power consumption test device, described device comprises:
Object determining unit to be measured, for determining object to be measured, described to be measured to liking one or at least two application programs to be measured;
Application running unit, for starting and move an application program to be measured of object to be measured;
Put out screen unit, enter for controlling mobile terminal the screen state that puts out;
Put out screen electric current acquiring unit, put out screen state for entering from mobile terminal, read in Preset Time, Preset Time point is upper, after current application program to be measured is moved, the current data that enters the mobile terminal that puts out screen state;
Bright screen unit, be used for controlling mobile terminal and enter bright screen state, first start and move the next one application program to be measured in object to be measured, recycle put out described in calling screen unit and described in put out screen electric current acquiring unit, until obtain in object to be measured after all application programs to be measured operations the current data that enters the mobile terminal that puts out screen state;
Comparing unit, for by after each object to be measured application program operation to be measured, enters the current data of the mobile terminal that puts out screen state and default reference data and compares, and determines the application program that affects cruising time according to comparative result.
Further, the current data of mobile terminal is stored in database table, and the title of database table is the application name of application program to be measured;
Described comparing unit is by database table corresponding application program to be measured, on Preset Time point, entering the current data of the mobile terminal that puts out screen state and default reference data compares, if there is the current data of predetermined number to be all greater than reference data, application program to be measured is the application program that affects cruising time.
Further, the current data of described mobile terminal is stored in database table, and the title of database table is the application name of application program to be measured, and described comparing unit comprises:
Projection module, for database table corresponding application program to be measured being projected to a two-dimentional form, every a line of described two-dimentional form represents that all Preset Time points of an application program to be measured are upper, the current data that enters the mobile terminal that puts out screen state;
Current curve diagram generation module, generates after each application program operation to be measured for the current data comprising according to described two-dimentional form, enters the current curve diagram of the mobile terminal that puts out screen state;
Comparing module, for described current curve diagram and the datum line being generated by preset reference data are compared, departs from the degree of described datum line and determines the application program that affects cruising time according to described current curve diagram.
Further, described device also comprises:
Scenario simulation unit, for the operation that application program to be measured is specified, analog subscriber is commonly used use scenes.
Another aspect, a kind of mobile terminal, is characterized in that, described mobile terminal comprises power consumption test device as above.
In the embodiment of the present invention, after application program operation to be measured, the current data that test enters the mobile terminal that puts out screen state, compares the current data recording and reference data, judges according to comparative result whether application program to be measured is the application program that affects mobile terminal flying power.Compare existing mobile terminal power consumption method of testing, can find and on mobile terminal, cause the application program shortening cruising time, thereby find the reason shortening cruising time.
Brief description of the drawings
Fig. 1 is the realization flow figure of the power consumption test method that provides of the embodiment of the present invention one;
Fig. 2 is the realization flow figure of the power consumption test method that provides of the embodiment of the present invention two;
Fig. 3 is the structured flowchart of the power consumption test device that provides of the embodiment of the present invention three;
Fig. 4 is the structured flowchart of the power consumption test device that provides of the embodiment of the present invention four.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
In embodiments of the present invention, after application program operation to be measured, the current data that test enters the mobile terminal that puts out screen state, compares the current data recording and reference data, judges according to comparative result whether application program to be measured is the application program that affects mobile terminal flying power.
Below in conjunction with specific embodiment, realization of the present invention is described in detail:
Embodiment mono-
Fig. 1 shows the realization flow of the power consumption test method that the embodiment of the present invention one provides, and details are as follows:
In step S101, determine object to be measured, described to be measured to liking one or at least two application programs to be measured.
In embodiments of the present invention, on mobile terminal, install after application program to be tested, in memory file system/system/app and/filename of apk file under data/app catalogue, and show these filenames in user interface.
Wherein, a corresponding application program of filename.User interface is supported mark, Quan Xuan, multiselect operation, to facilitate user to select one or at least two application programs as measurand according to these filenames voluntarily.
Wherein, apk file is the file with .apk suffix in filename, and apk is the application file form of Android system.
In step S102, start and move an application program to be measured in object to be measured.
In embodiments of the present invention, choose after object to be measured, mobile terminal receives the enabled instruction of input, starts and moves one of them application program to be measured in object to be measured according to this enabled instruction.
In step S103, control mobile terminal and enter the screen state that puts out.
In embodiments of the present invention, start after the application program to be measured of selecting, selected application program to be measured brings into operation.Mobile terminal receives and puts out after screen instruction, puts out screen instruction control mobile terminal and enters the screen state that puts out according to this.
Wherein, if selected application program normal operation to be measured, receives and put out after screen instruction, mobile terminal can enter dormant state, otherwise mobile terminal can dormancy.
In step S104, enter and put out screen state from mobile terminal, read in Preset Time, Preset Time point is upper, after current application program to be measured is moved, the current data that enters the mobile terminal that puts out screen state.
In embodiments of the present invention, Preset Time is 2 minutes, and Preset Time point is from receiving the time point that puts out screen instruction, every 5 seconds, and 24 Preset Time points altogether.
Wherein, the current data that enters the mobile terminal that puts out screen state is stored in database table, and the current data of mobile terminal is stored in database table, and the title of database table is the application name of application program to be measured.
Concrete, put out screen instruction from receiving, read in real time after the selected application program to be measured of operation the current data that enters the mobile terminal that puts out screen state.Record a current data and preserve this current data in a database table every 5s, recording after duration reaches 2 minutes and stop record.Such as, if the application program of selecting application 1 by name, database table stored in 2 minutes, on 24 default time points, and after application 1 operation, the current data that enters the mobile terminal that puts out screen state.
Certainly, move after selected application program to be measured, the current data that enters the mobile terminal that puts out screen state also can be stored in two-dimensional array, specifically adopts which kind of storage mode, in the present embodiment, does not limit.
Concrete, reading of the current data of mobile terminal can be read automatically according to the interface of each mobile terminal manufacturer exploitation, such as, can read on each time point by order adb shell cat/sys/class/power_supply/battery/current_now the current data of mobile terminal.
In step S105, control mobile terminal and enter bright screen state, first start and move the next one application program to be measured in object to be measured, then returning to step S103, until obtain in object to be measured after all application programs to be measured operations the current data that enters the mobile terminal that puts out screen state.
In embodiments of the present invention, after Preset Time arrives, mobile terminal is according to the automatic bright screen of bright screen instruction receiving.
In step S106, by after each application program operation to be measured in object to be measured, enter the current data of the mobile terminal that puts out screen state and default reference data and compare, determine the application program that affects cruising time according to comparative result.
In embodiments of the present invention, can determine the application program that affects cruising time by two kinds of methods.One is: by database table corresponding application program to be measured, on Preset Time point, entering the current data of the mobile terminal that puts out screen state and default reference data compares, if there is the current data of predetermined number to be all greater than reference data, application program to be measured is the application program that affects cruising time.Wherein, the current data of predetermined number can refer to current data over half.
Another kind is: first database table corresponding application program to be measured is projected in a two-dimentional form, every a line of described two-dimentional form represents on all Preset Time points of an application program to be measured, enter the current data of the mobile terminal that puts out screen state, the current data comprising according to described two-dimentional form again generates after each application program operation to be measured, enter the current curve diagram of the mobile terminal that puts out screen state, finally described current curve diagram and the datum line being generated by preset reference data are compared, depart from the degree of described datum line according to described current curve diagram and determine the application program that affects cruising time.Wherein, this two dimension form can be excel form.
Concrete, database table corresponding application program to be measured is projected in a two-dimentional form, every a line of this two dimension form represents that 24 Preset Time points of an application program to be measured are upper, the current data that enters the mobile terminal that puts out screen state.If there are two application programs to be measured in object to be measured, two-dimentional form comprises two row data, and every row has 24 row.So, if there be N application program to be measured in object to be measured, can generate the two-dimentional form that a N capable 24 is listed as.
These 24 time points are that the sequencing occurring according to event sorts, preferably, consider while just putting out screen, the current data of mobile terminal falls after rise can be too not fast, therefore, K current data after can selecting time point in every row relatively to lean on, contrasts this K current data and default reference data, if there is the default reference data that is all greater than over half in K current data, determine that application program corresponding to this row current data is the application program that affects cruising time.Preferably, K is 20.
Be exemplified below:
Such as 2 application programs to be tested of test, after finishing, test can produce 2 row data in excel form, and 24 current values of every row, as (50,40,16,16 ... ..12).Suppose that definition datum data are 5 (mA of unit), consider while just putting out screen, electric current falls after rise can be too not fast, so can get rear 20 current data and reference data contrasts, if there is the reference data that is all greater than over half in these 20 current data, can determine that application program to be tested is the application program that affects mobile terminal flying power.
Preferably, the application name that affects cruising time can be shown to user, can directly notify user at interface of mobile terminal with the form of report.Concrete which kind of mode that adopts is notified client, and the present embodiment does not do concrete restriction.
The present embodiment, after application program operation to be measured, the current data that test enters the mobile terminal that puts out screen state, compares the current data recording and reference data, judges according to comparative result whether application program to be measured is the application program that affects mobile terminal flying power.Compare existing mobile terminal power consumption method of testing, can find and on mobile terminal, cause the application program shortening cruising time, thereby find the reason shortening cruising time.In addition, in the present embodiment, the test of current data can complete in robotization, need to be by special hardware testing equipment.Whole power consumption test process whole process is that robotization completes, and can reduce greatly the input of human resources.
One of ordinary skill in the art will appreciate that all or part of step realizing in the various embodiments described above method is can carry out the hardware that instruction is relevant by program to complete, corresponding program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk or CD etc.
Embodiment bis-
Fig. 2 shows the realization flow of the power consumption test method that the embodiment of the present invention two provides, and details are as follows:
In step S201, determine object to be measured, described to be measured to liking one or at least two application programs to be measured.
In step S202, start and move an application program to be measured in object to be measured.
In step S203, the operation that current application program to be measured is specified, analog subscriber is commonly used use scenes.
In embodiments of the present invention, can be to the operation that specify of application, analog subscriber is commonly used use scenes, is so also convenient to mobile terminal while going wrong, carries out scene reproduction, the analysis of causes.
In step S204, control mobile terminal and enter the screen state that puts out.
In step S205, enter and put out screen state from mobile terminal, read in Preset Time, Preset Time point is upper, after current application program to be measured is moved, the current data that enters the mobile terminal that puts out screen state.
In step S206, control mobile terminal and enter bright screen state, first start and move the next one application program to be measured in object to be measured, then returning to step S203, until obtain in object to be measured after all application programs to be measured operations the current data that enters the mobile terminal that puts out screen state.
In step S207, by after each application program operation to be measured in object to be measured, enter the current data of the mobile terminal that puts out screen state and default reference data and compare, determine the application program that affects cruising time according to comparative result.
The present embodiment, on the basis of embodiment mono-, increases the simulated operation of user to application program to be measured, can trigger the more interface of application call in larger probability ground, thereby have problems, and in the time going wrong, can carry out scene reproduction, carries out the analysis of causes.
One of ordinary skill in the art will appreciate that all or part of step realizing in the various embodiments described above method is can carry out the hardware that instruction is relevant by program to complete, corresponding program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk or CD etc.
Embodiment tri-
Fig. 3 shows the concrete structure block diagram of the power consumption test device that the embodiment of the present invention two provides, and for convenience of explanation, only shows the part relevant to the embodiment of the present invention.This device 3 can be the unit that is built in software unit, hardware cell or software and hardware combining in mobile terminal, and this device 3 comprises: object determining unit 31 to be measured, application running unit 32, put out screen unit 33, put out screen electric current acquiring unit 34, bright screen unit 35 and comparing unit 36.
Wherein, object determining unit 31 to be measured, for determining object to be measured, described to be measured to liking one or at least two application programs to be measured;
Application running unit 32, for starting and move an application program to be measured of object to be measured;
Put out screen unit 33, enter for controlling mobile terminal the screen state that puts out;
Put out screen electric current acquiring unit 34, put out screen state for entering from mobile terminal, read in Preset Time, Preset Time point is upper, after current application program to be measured is moved, the current data that enters the mobile terminal that puts out screen state;
Bright screen unit 35, be used for controlling mobile terminal and enter bright screen state, first start and move the next one application program to be measured in object to be measured, recycle put out described in calling screen unit and described in put out screen electric current acquiring unit, until obtain in object to be measured after all application programs to be measured operations the current data that enters the mobile terminal that puts out screen state;
Comparing unit 36, for by after each object to be measured application program operation to be measured, enters the current data of the mobile terminal that puts out screen state and default reference data and compares, and determines the application program that affects cruising time according to comparative result.
Concrete, the current data of mobile terminal is stored in database table, and the title of database table is the application name of application program to be measured.
Concrete, described comparing unit 36 is by database table corresponding application program to be measured, on Preset Time point, entering the current data of the mobile terminal that puts out screen state and default reference data compares, if there is the current data of predetermined number to be all greater than reference data, application program to be measured is the application program that affects cruising time.
Concrete, described comparing unit 36 comprises:
Projection module, for database table corresponding application program to be measured being projected to a two-dimentional form, every a line of described two-dimentional form represents that all Preset Time points of an application program to be measured are upper, the current data that enters the mobile terminal that puts out screen state;
Current curve diagram generation module, generates after each application program operation to be measured for the current data comprising according to described two-dimentional form, enters the current curve diagram of the mobile terminal that puts out screen state;
Comparing module, for described current curve diagram and the datum line being generated by preset reference data are compared, departs from the degree of described datum line and determines the application program that affects cruising time according to described current curve diagram.
The power consumption test device that the embodiment of the present invention provides can be applied in the embodiment of the method one of aforementioned correspondence, and details, referring to the description of above-described embodiment one, do not repeat them here.
It should be noted that in said apparatus embodiment, included unit is just divided according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit also, just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
Embodiment tetra-
Fig. 4 shows the concrete structure block diagram of the power consumption test device that the embodiment of the present invention four provides, and for convenience of explanation, only shows the part relevant to the embodiment of the present invention.This device 4 can be the unit that is built in software unit, hardware cell or software and hardware combining in mobile terminal, this device 4, except comprising the object determining unit 31 to be measured described in embodiment tri-, application running unit 32, put out screen unit 33, putting out screen electric current acquiring unit 34, bright screen unit 35 and comparing unit 36, also comprises scenario simulation unit 41.
Wherein, scenario simulation unit 41, for application program to be measured is carried out to assigned operation, analog subscriber is commonly used use scenes.
The power consumption test device that the embodiment of the present invention provides can be applied in the embodiment of the method two of aforementioned correspondence, and details, referring to the description of above-described embodiment two, do not repeat them here.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a power consumption test method, is characterized in that, described method comprises:
Steps A, determine object to be measured, described to be measured to as if one or at least two application programs to be measured;
Step B, startup also move an application program to be measured in object to be measured;
Step C, control mobile terminal enter the screen state that puts out;
Step D, enter and put out screen state from mobile terminal, read in Preset Time, Preset Time point is upper, after current application program to be measured is moved, the current data that enters the mobile terminal that puts out screen state;
Step e, control mobile terminal enter bright screen state, first start and move the next one application program to be measured in object to be measured, return to again step C, until obtain in object to be measured after all application programs to be measured operations the current data that enters the mobile terminal that puts out screen state;
Step F, by after each application program to be measured operation in object to be measured, enter the current data of the mobile terminal that puts out screen state and default reference data and compare, according to the definite application program that affects cruising time of comparative result.
2. the method for claim 1, is characterized in that, the current data of mobile terminal is stored in database table, and the title of database table is the application name of application program to be measured.
3. method as claimed in claim 2, is characterized in that, described step F is specially:
By in database table corresponding application program to be measured, on Preset Time point, enter the current data of the mobile terminal that puts out screen state and default reference data and compare, if there is the current data of predetermined number to be all greater than reference data, application program to be measured is the application program that affects cruising time.
4. method as claimed in claim 2, is characterized in that, comprises in described step F:
Database table corresponding application program to be measured is projected in a two-dimentional form, and every a line of described two-dimentional form represents that all Preset Time points of an application program to be measured are upper, the current data that enters the mobile terminal that puts out screen state;
The current data comprising according to described two-dimentional form generates after each application program operation to be measured, enters the current curve diagram of the mobile terminal that puts out screen state;
Described current curve diagram and the datum line being generated by preset reference data are compared, depart from the degree of described datum line according to described current curve diagram and determine the application program that affects cruising time.
5. the method as described in claim 1,2,3 or 4, is characterized in that, before step C, also comprises:
The operation that application program to be measured is specified, analog subscriber is commonly used use scenes.
6. a power consumption test device, is characterized in that, described device comprises:
Object determining unit to be measured, for determining object to be measured, described to be measured to liking one or at least two application programs to be measured;
Application running unit, for starting and move an application program to be measured of object to be measured;
Put out screen unit, enter for controlling mobile terminal the screen state that puts out;
Put out screen electric current acquiring unit, put out screen state for entering from mobile terminal, read in Preset Time, Preset Time point is upper, after current application program to be measured is moved, the current data that enters the mobile terminal that puts out screen state;
Bright screen unit, be used for controlling mobile terminal and enter bright screen state, first start and move the next one application program to be measured in object to be measured, recycle put out described in calling screen unit and described in put out screen electric current acquiring unit, until obtain in object to be measured after all application programs to be measured operations the current data that enters the mobile terminal that puts out screen state;
Comparing unit, for by after each object to be measured application program operation to be measured, enters the current data of the mobile terminal that puts out screen state and default reference data and compares, and determines the application program that affects cruising time according to comparative result.
7. device as claimed in claim 6, is characterized in that, the current data of mobile terminal is stored in database table, and the title of database table is the application name of application program to be measured;
Described comparing unit is by database table corresponding application program to be measured, on Preset Time point, entering the current data of the mobile terminal that puts out screen state and default reference data compares, if there is the current data of predetermined number to be all greater than reference data, application program to be measured is the application program that affects cruising time.
8. device as claimed in claim 6, is characterized in that, the current data of described mobile terminal is stored in database table, and the title of database table is the application name of application program to be measured, and described comparing unit comprises:
Projection module, for database table corresponding application program to be measured being projected to a two-dimentional form, every a line of described two-dimentional form represents that all Preset Time points of an application program to be measured are upper, the current data that enters the mobile terminal that puts out screen state;
Current curve diagram generation module, generates after each application program operation to be measured for the current data comprising according to described two-dimentional form, enters the current curve diagram of the mobile terminal that puts out screen state;
Comparing module, for described current curve diagram and the datum line being generated by preset reference data are compared, departs from the degree of described datum line and determines the application program that affects cruising time according to described current curve diagram.
9. the device as described in claim 6,7 or 8, is characterized in that, described device also comprises:
Scenario simulation unit, for the operation that application program to be measured is specified, analog subscriber is commonly used use scenes.
10. a mobile terminal, is characterized in that, described mobile terminal comprises the power consumption test device as described in claim 6 to 9 any one.
CN201410404946.4A 2014-08-15 2014-08-15 A kind of power consumption test method, device and mobile terminal Expired - Fee Related CN104182337B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410404946.4A CN104182337B (en) 2014-08-15 2014-08-15 A kind of power consumption test method, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410404946.4A CN104182337B (en) 2014-08-15 2014-08-15 A kind of power consumption test method, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN104182337A true CN104182337A (en) 2014-12-03
CN104182337B CN104182337B (en) 2017-07-11

Family

ID=51963402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410404946.4A Expired - Fee Related CN104182337B (en) 2014-08-15 2014-08-15 A kind of power consumption test method, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN104182337B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105764086A (en) * 2014-12-18 2016-07-13 中国移动通信集团终端有限公司 Terminal endurance performance detecting method and system
CN105786698A (en) * 2014-12-25 2016-07-20 展讯通信(上海)有限公司 Script-based power consumption automatic test system for mobile terminal
CN105786697A (en) * 2014-12-25 2016-07-20 展讯通信(上海)有限公司 Automatic power consumption test data processing method
WO2016177219A1 (en) * 2015-09-22 2016-11-10 中兴通讯股份有限公司 Method and apparatus for detecting power consumption abnormality
CN106126386A (en) * 2016-06-15 2016-11-16 乐视控股(北京)有限公司 The monitoring method of mobile terminal and monitoring system
CN106125889A (en) * 2016-06-21 2016-11-16 广东欧珀移动通信有限公司 A kind of wake source treating method and apparatus
CN106933323A (en) * 2015-12-30 2017-07-07 北京金山安全软件有限公司 Method and device for optimizing power consumption of application program and electronic equipment
CN116027103A (en) * 2023-03-29 2023-04-28 荣耀终端有限公司 Power consumption detection circuit, power consumption detection chip and terminal equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346214A (en) * 2011-08-18 2012-02-08 华为终端有限公司 Method and device for monitoring abnormal power consumption of terminal equipment
CN102508761A (en) * 2011-11-17 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Management method for terminal electric quantity and terminal
CN103455410A (en) * 2012-05-30 2013-12-18 宇龙计算机通信科技(深圳)有限公司 Application icon display method and communication terminal thereof
CN103544088A (en) * 2013-09-30 2014-01-29 东莞宇龙通信科技有限公司 Method and device for detecting power consumption abnormality of terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346214A (en) * 2011-08-18 2012-02-08 华为终端有限公司 Method and device for monitoring abnormal power consumption of terminal equipment
CN102508761A (en) * 2011-11-17 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Management method for terminal electric quantity and terminal
CN103455410A (en) * 2012-05-30 2013-12-18 宇龙计算机通信科技(深圳)有限公司 Application icon display method and communication terminal thereof
CN103544088A (en) * 2013-09-30 2014-01-29 东莞宇龙通信科技有限公司 Method and device for detecting power consumption abnormality of terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN105786698A (en) * 2014-12-25 2016-07-20 展讯通信(上海)有限公司 Script-based power consumption automatic test system for mobile terminal
CN105786697A (en) * 2014-12-25 2016-07-20 展讯通信(上海)有限公司 Automatic power consumption test data processing method
WO2016177219A1 (en) * 2015-09-22 2016-11-10 中兴通讯股份有限公司 Method and apparatus for detecting power consumption abnormality
CN106933323A (en) * 2015-12-30 2017-07-07 北京金山安全软件有限公司 Method and device for optimizing power consumption of application program and electronic equipment
CN106933323B (en) * 2015-12-30 2020-06-26 北京金山安全软件有限公司 Method and device for optimizing power consumption of application program and electronic equipment
CN106126386A (en) * 2016-06-15 2016-11-16 乐视控股(北京)有限公司 The monitoring method of mobile terminal and monitoring system
CN106125889A (en) * 2016-06-21 2016-11-16 广东欧珀移动通信有限公司 A kind of wake source treating method and apparatus
CN116027103A (en) * 2023-03-29 2023-04-28 荣耀终端有限公司 Power consumption detection circuit, power consumption detection chip and terminal equipment
CN116027103B (en) * 2023-03-29 2023-09-15 荣耀终端有限公司 Power consumption detection circuit, power consumption detection chip and terminal equipment

Also Published As

Publication number Publication date
CN104182337B (en) 2017-07-11

Similar Documents

Publication Publication Date Title
CN104182337A (en) Power consumption testing method and device and mobile terminal
US11152810B2 (en) Rule based smart charging
CN103530118A (en) Method and device for loading user-defined DLL into target progress
CN108717374B (en) Method and device for preheating during starting of Java virtual machine and computer equipment
CN104113576A (en) Method and device for updating client
CN109117151A (en) Fever writes and program burn writing method, apparatus, computer equipment and storage medium
CN105279426B (en) Configure the electronic equipment and its correlation technique of application program inter-related task
CN107678972B (en) Test case evaluation method and related device
CN110505679B (en) Power consumption control method and device of communication terminal and storage medium
CN103391362B (en) A kind of application class method based on power consumption and mobile terminal
CN105208623A (en) Mobile terminal control method and mobile terminal
CN112133357B (en) eMMC test method and device
CN113076257A (en) Test script recording method, device, medium and computer equipment
TWI706343B (en) Sample playback data access method, device and computer equipment
CN106547577B (en) Method and device for burning microcontroller chip
CN104021007A (en) Parameter renewing method and electronic devices
CN115391110A (en) Test method of storage device, terminal device and computer readable storage medium
CN109739756A (en) The method and apparatus of mobile terminal application test
CN111355848B (en) Positioning control method and device of electronic equipment, storage medium and electronic equipment
CN108255688A (en) Display methods, storage medium, electronic equipment and the system of application log
CN114356218A (en) Data error correction method, device and medium for Flash memory
CN113534209A (en) Position reporting method and device based on tracker, storage medium and terminal
CN109726053B (en) Switching method and device of database control center and computer equipment
US11556818B2 (en) Dynamic intelligent test method and computer device employing the method
CN113764754B (en) Charging method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
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.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170711

CF01 Termination of patent right due to non-payment of annual fee