CN105277830A - Power consumption testing method and device for electronic equipment - Google Patents

Power consumption testing method and device for electronic equipment Download PDF

Info

Publication number
CN105277830A
CN105277830A CN201510781799.7A CN201510781799A CN105277830A CN 105277830 A CN105277830 A CN 105277830A CN 201510781799 A CN201510781799 A CN 201510781799A CN 105277830 A CN105277830 A CN 105277830A
Authority
CN
China
Prior art keywords
electronic equipment
application program
power consumption
measured
test
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
CN201510781799.7A
Other languages
Chinese (zh)
Other versions
CN105277830B (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201510781799.7A priority Critical patent/CN105277830B/en
Publication of CN105277830A publication Critical patent/CN105277830A/en
Application granted granted Critical
Publication of CN105277830B publication Critical patent/CN105277830B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a power consumption testing method and device for electronic equipment. Wherein, the method comprises the following steps: obtaining model information of the electronic equipment, and determining a test scene of the electronic equipment to be tested corresponding to the electronic equipment with the model information; determining a corresponding application program and test time according to the test scene, and installing the application program to the electronic equipment to be tested; and running the application program in the electronic equipment to be tested, and recording the power consumption condition of the electronic equipment to be tested after the testing time is up. According to the power consumption testing method of the electronic equipment, the power consumption of the electronic equipment is tested based on the use scene of the user, the power consumption situation of the electronic equipment is accurately tested, and the power consumption situation of the electronic equipment can be accurately provided for the user.

Description

The power consumption method of testing of electronic equipment and device
Technical field
The present invention relates to technical field of electronic equipment, particularly relate to a kind of power consumption method of testing and device of electronic equipment.
Background technology
Along with the development in mobile Internet epoch, the function of electronic equipment such as smart mobile phone is more next powerful, and user can install the application program of various function according to demand in the electronic device, and electronic equipment has become a part for people's live and work.
The actual cruising time of electronic equipment is one of problem of each user care, due to complicated, the fragmentation of user's use scenes on electronic equipment, relevant to the method that electronic equipment carries out power consumption test be, under fixing scene, for electronic equipment install some setting application programs after, analog subscriber carries out repeatable operation, confirms the service time of electricity, thus passes judgment on the power consumption level of electronic equipment.
But the test data that the method for above-mentioned test electronic power consumption obtains is generally ideal data, can not be close to the users actual use time actual value, and then user also user also cannot cannot learn that the terminal of oneself actual cruising time is for how long.Therefore, how user's scene of complexity being applied in the power consumption method of testing of electronic equipment is for user provides the key issue of electronic equipment power consumption condition accurately.
Summary of the invention
The present invention is intended to solve one of technical matters in correlation technique at least to a certain extent.For this reason, first object of the present invention is the power consumption method of testing proposing a kind of electronic equipment, the method is tested electronic equipment power consumption based on the use scenes of user, accurately tests the power consumption condition of electronic equipment, and then can accurately for user provides electronic equipment power consumption condition.
Second object of the present invention is the power consumption proving installation proposing a kind of electronic equipment.
For achieving the above object, first aspect present invention embodiment proposes a kind of power consumption method of testing of electronic equipment, comprising: the type information obtaining described electronic equipment; Determine the test scene with the electronic equipment to be measured corresponding to the electronic equipment of described type information; Determine corresponding application program and test duration according to described test scene, and described application program is mounted to described electronic equipment to be measured; In described electronic equipment to be measured, run described application program, and after the test duration reaches, test the power consumption condition of described electronic equipment.
Optionally, describedly determine that corresponding application program specifically comprises according to described test scene: determine corresponding application category according to the test scene of described electronic equipment to be measured; Sort according to the application program under application category described in frequency of utilization application programs shop; And using application program the highest for frequency of utilization as the described application program of installing.
Optionally, describedly determine that the corresponding test duration specifically comprises according to described test scene: the application category corresponding according to described test scene searches the test duration that described correspondence determined by default correspondence table.
Optionally, also comprise: obtain power consumption information corresponding to each application category and be presented to user.
The power consumption method of testing of the electronic equipment of the embodiment of the present invention, first, obtain the type information of electronic equipment, and determine the test scene with the electronic equipment to be measured corresponding to the electronic equipment of this type information, then, determine corresponding application program and test duration according to test scene, and application program is mounted to electronic equipment to be measured, and run application in electronic equipment to be measured, and after the test duration reaches the power consumption condition of test electronic.Thus, the use scenes based on user is tested electronic equipment power consumption, accurately tests the power consumption condition of electronic equipment, and then can accurately for user provides electronic equipment power consumption condition.
For achieving the above object, second aspect present invention embodiment proposes a kind of power consumption proving installation of electronic equipment, comprising: acquisition module, for obtaining the type information of described electronic equipment; Determination module, for determining the test scene with the electronic equipment to be measured corresponding to the electronic equipment of described type information; First processing module, for determining corresponding application program and test duration according to described test scene, and is mounted to described electronic equipment to be measured by described application program; Test module, for running described application program in described electronic equipment to be measured, and tests the power consumption condition of described electronic equipment after the test duration reaches.
Optionally, described determination module, specifically for: determine corresponding application category according to the test scene of described electronic equipment to be measured; Sort according to the application program under application category described in frequency of utilization application programs shop; And using application program the highest for frequency of utilization as the described application program of installing.
Optionally, described determination module, specifically for: the application category corresponding according to described test scene searches the test duration that described correspondence determined by default correspondence table.
Optionally, described device also comprises: the second processing module, for obtaining power consumption information corresponding to each application category and being presented to user.
The power consumption proving installation of the electronic equipment of the embodiment of the present invention, the type information of electronic equipment is obtained by acquisition module, and the test scene of electronic equipment to be measured is determined by determination module, first processing module determines corresponding application program and test duration according to test scene, and application program is mounted to electronic equipment to be measured, and test module runs application in electronic equipment to be measured, and after the test duration reaches the power consumption condition of test electronic.Thus, the use scenes based on user is tested electronic equipment power consumption, accurately tests the power consumption condition of electronic equipment, and then can accurately for user provides electronic equipment power consumption condition.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the power consumption method of testing of electronic equipment according to an embodiment of the invention;
Fig. 2 is the process flow diagram determining corresponding application program according to an embodiment of the invention according to test scene;
Fig. 3 is the exemplary plot of application category distribution;
Fig. 4 is the process flow diagram of the power consumption method of testing of electronic equipment in accordance with another embodiment of the present invention;
Fig. 5 is the structural representation of the power consumption proving installation of electronic equipment according to an embodiment of the invention; And
Fig. 6 is the structural representation of the power consumption proving installation of electronic equipment in accordance with another embodiment of the present invention.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Be exemplary below by the embodiment be described with reference to the drawings, be intended to for explaining the present invention, and can not limitation of the present invention be interpreted as.
Below with reference to the accompanying drawings power consumption method of testing and the device of the electronic equipment of the embodiment of the present invention are described.
Fig. 1 is the process flow diagram of the power consumption method of testing of electronic equipment according to an embodiment of the invention.
As shown in Figure 1, the power consumption method of testing of this electronic equipment comprises:
S11, obtains the type information of electronic equipment.
Wherein, above-mentioned electronic equipment can be the hardware device that personal computer (PC), mobile phone, panel computer, personal digital assistant, e-book etc. have various operating system.
S12, determines the test scene with the electronic equipment to be measured corresponding to the electronic equipment of this type information.
Particularly, after the type information obtaining electronic equipment, the user habit data of the electronic equipment using this model can be obtained, and to comprising the large data analysis of user's use habit, determine when testing electronic equipment to be measured, the application program that user often used in this time period, and the classification belonging to application program determines the test scene of electronic equipment to be measured.
Wherein, test scene is mainly divided into instrument scene, the social scene of communication, game, video/audio and Domestic News scene.
S13, determines corresponding application program and test duration according to test scene, and application program is mounted to electronic equipment to be measured.
In one embodiment of the invention, after the test scene determining electronic equipment to be measured, first can determine corresponding application program according to test scene, then determine the test duration that application program is corresponding, and the application program of correspondence is mounted in electronic equipment to be measured.
Wherein, it is to be appreciated that after determining scene, the application program being mounted to electronic equipment to be measured can be one also can for multiple, the number being mounted to the application program of electronic equipment to be measured is relevant with scene.
Wherein, determine the detailed process of corresponding application program according to test scene, as shown in Figure 2, can comprise:
S121, determines corresponding application category according to the test scene of electronic equipment to be measured.
Particularly, according to the popular range of application program in application program shop, and the large data analysis being combined mobile phone scene can obtain, and the classification of the application program that user often uses mainly comprises instrument, communication social activity, game, video/audio and Domestic News.
Wherein, user uses the category distribution situation exemplary plot of application program, and as shown in Figure 3, as seen in Figure 3, in the application program that user uses, the application program of tool-class accounts for 39.28%; The application program of the social class of communication accounts for 18.28%; The application program of game class accounts for 10.18%; The application program of video/audio class accounts for 10.18%; The application program of resource news category accounts for 5.23%, and the application program of other classifications accounts for 16.85%.
S122, sorts according to the application program under application category in frequency of utilization application programs shop.
S123, using application program the highest for frequency of utilization as the application program of installing.
In one embodiment of the invention, after according to test scene determination application program, the test duration that correspondence determined by default correspondence table can be searched by the application category corresponding according to test scene.
Wherein, the corresponding relation of application category and test duration is saved in the correspondence table preset.It should be noted that, the test duration corresponding to often kind of application category obtained based on large data analysis.
Wherein, the form of the correspondence table preset, as shown in table 1.
The correspondence table that table 1 is preset
Tested object Length of testing speech
Instrument 10 minutes
Communication is social 50 minutes
Game 25 minutes
Video/audio 25 minutes
Domestic News 20 minutes
Such as, assuming that the correspondence table preset is as shown in table 1, the test scene of electronic equipment to be measured is use scenes, and namely electronic equipment to be measured is in use procedure, assuming that determine that corresponding application category is according to test scene: instrument and communication social activity.After determining application category, the frequency of usage data of application program in application businessman can be obtained, and based on frequency of usage, respectively the application program under instrument classification in application businessman and the social classification of communication is sorted, assuming that the application program that after sorting, in acquisition instrument classification, frequency of utilization is the highest is APP1, the application program that in the social classification of communication, frequency of utilization is the highest is APP2, then, can using APP1 and APP2 as the application program of installing, can determine that the length of testing speech of other application program of tool-class is 10 minutes by table 1, the length of testing speech of the application program of the social classification of communication is 50 minutes.
S14, runs application in electronic equipment to be measured, and after the test duration reaches the power consumption condition of test electronic.
Particularly, after the application program of correspondence is mounted to electronic equipment to be measured, determine the execution sequence of each application program, and the electricity of electronic equipment is full of, namely the electricity of electronic equipment is 100%, and beginning order performs " length of testing speech " of " tested object ", the current electric quantity of register system after each step is complete, after whole tested object is complete, the dump energy of recorded electronic device systems, has just drawn the terminal power consumption situation after performing.
Wherein, it should be noted that, namely the tested object in foregoing description refers to the application program be mounted in electronic equipment to be measured.
Such as, after the application program of the application program of tool-class and the social class of communication is mounted to smart mobile phone to be measured, if determine that the execution sequence of two methods program is the application program of first executing means class, the application program of rear execution communication class, in order to test out the electric quantity consumption situation of smart mobile phone to be measured, first the electricity of smart mobile phone can be filled to 100%, and be after 100% at the electricity of smart mobile phone, beginning order executing means class 10 minutes, the dump energy of complete rear record current system; Perform the social class of communication 50 minutes more successively, the dump energy of record current system, after by the time all tested objects are complete, just can draw the electric quantity consumption situation of application program in final smart mobile phone.
The power consumption method of testing of the electronic equipment of the embodiment of the present invention, first, obtain the type information of electronic equipment, and determine the test scene with the electronic equipment to be measured corresponding to the electronic equipment of this type information, then, determine corresponding application program and test duration according to test scene, and application program is mounted to electronic equipment to be measured, and run application in electronic equipment to be measured, and after the test duration reaches the power consumption condition of test electronic.Thus, the use scenes based on user is tested electronic equipment power consumption, accurately tests the power consumption condition of electronic equipment, and then can accurately for user provides electronic equipment power consumption condition.
Fig. 4 is the process flow diagram of the power consumption method of testing of electronic equipment in accordance with another embodiment of the present invention.
As shown in Figure 4, the power consumption method of testing of this electronic equipment comprises:
S41, obtains the type information of electronic equipment.
Wherein, above-mentioned electronic equipment can be the hardware device that personal computer (PC), mobile phone, panel computer, personal digital assistant, e-book etc. have various operating system.
S42, determines the test scene with the electronic equipment to be measured corresponding to the electronic equipment of type information.
Particularly, after the type information obtaining electronic equipment, the user habit data of the electronic equipment using this model can be obtained, and to comprising the large data analysis of user's use habit, determine when testing electronic equipment to be measured, the application program that user often used in this time period, and the classification belonging to application program determines the test scene of electronic equipment to be measured.
Wherein, test scene is mainly divided into instrument scene, the social scene of communication, game, video/audio and Domestic News scene.
S43, determines corresponding application program and test duration according to test scene, and application program is mounted to electronic equipment to be measured.
In one embodiment of the invention, after the test scene determining electronic equipment to be measured, first can determine corresponding application program according to test scene, then determine the test duration that application program is corresponding, and the application program of correspondence is mounted in electronic equipment to be measured.
Wherein, determine that the detailed process of corresponding application program is according to test scene: first determine corresponding application category according to the test scene of electronic equipment to be measured, then, sort according to the application program under application category in frequency of utilization application programs shop, and using application program the highest for frequency of utilization as the application program of installing.
Particularly, according to the popular range of application program in application program shop, and the large data analysis being combined mobile phone scene can obtain, and the classification of the application program that user often uses mainly comprises instrument, communication social activity, game, video/audio and Domestic News.
Wherein, user uses the category distribution situation exemplary plot of application program, and as shown in Figure 3, as seen in Figure 3, in the application program that user uses, the application program of tool-class accounts for 39.28%; The application program of the social class of communication accounts for 18.28%; The application program of game class accounts for 10.18%; The application program of video/audio class accounts for 10.18%; The application program of resource news category accounts for 5.23%, and the application program of other classifications accounts for 16.85%.
In one embodiment of the invention, after according to test scene determination application program, the test duration that correspondence determined by default correspondence table can be searched by the application category corresponding according to test scene.
Wherein, the corresponding relation of application category and test duration is saved in the correspondence table preset.It should be noted that, the test duration corresponding to often kind of application category obtained based on large data analysis.
Wherein, the form of the correspondence table preset, as shown in table 1.
The correspondence table that table 1 is preset
Tested object Length of testing speech
Instrument 10 minutes
Communication is social 50 minutes
Game 25 minutes
Video/audio 25 minutes
Domestic News 20 minutes
Such as, assuming that the correspondence table preset is as shown in table 1, the test scene of electronic equipment to be measured is use scenes, and namely electronic equipment to be measured is in use procedure, assuming that determine that corresponding application category is according to test scene: instrument and communication social activity.After determining application category, the frequency of usage data of application program in application businessman can be obtained, and based on frequency of usage, respectively the application program under instrument classification in application businessman and the social classification of communication is sorted, assuming that the application program that after sorting, in acquisition instrument classification, frequency of utilization is the highest is APP1, the application program that in the social classification of communication, frequency of utilization is the highest is APP2, then, can using APP1 and APP2 as the application program of installing, can determine that the length of testing speech of other application program of tool-class is 10 minutes by table 1, the length of testing speech of the application program of the social classification of communication is 50 minutes.
S44, runs application in electronic equipment to be measured, and after the test duration reaches the power consumption condition of test electronic.
S45, obtains power consumption information corresponding to each application category and is presented to user.
Particularly, before performing the testing, the system charge of electronic equipment to be measured is the state of 100%, after performing application program corresponding to each application category be arranged on electronic equipment to be measured in order, complete at each application category, the dump energy of current system can be recorded, such as, after the application program of executing means class, the dump energy of electronic equipment current system to be measured is 85%, then the electricity consumed of tool-class application program is 15%.
Similarly, by recording the dump energy of the system of electronic equipment to be measured before execution, and after executing other application program of application class, record the dump energy of the system of electronic equipment to be measured again, and according to the electricity that every class application program that the dump energy before performing rear and execution can obtain electronic equipment to be measured consumes.Specifically, the dump energy difference after performing and before performing is the electricity that current application program classification consumes.
In addition, in one embodiment of the invention, if need to obtain the electricity that each application program in each application category consumes, now, can read the power consumption daily record in the system of electronic equipment to be measured, and the power consumption information of each application program can be obtained by analyzing this power consumption daily record.
The power consumption method of testing of the electronic equipment of the embodiment of the present invention, obtain the type information of electronic equipment, and determine the test scene with the electronic equipment to be measured corresponding to the electronic equipment of this type information, and determine corresponding application program and test duration according to the test scene of electronic equipment to be measured, and application program is mounted to electronic equipment to be measured, and run application in electronic equipment to be measured, and after the test duration reaches the power consumption condition of test electronic.Thus, the use scenes based on user is tested electronic equipment power consumption, accurately tests the power consumption condition of electronic equipment, and provides power consumption information corresponding to each application category for user, facilitates the power consumption condition that user understands application program.
In one embodiment of the invention, after user obtains power consumption information corresponding to each application category, user can also according to demand by closing application program large for power consumption, to reduce the consumption of application program to electric quantity for electronic equipment of power consumption.
In order to realize above-described embodiment, the present invention also proposes a kind of power consumption proving installation of electronic equipment.
Fig. 5 is the structural representation of the power consumption proving installation of electronic equipment according to an embodiment of the invention.
As shown in Figure 5, the power consumption proving installation of this electronic equipment comprises acquisition module 100, determination module 200, first processing module 300 and test module 400.Wherein:
Acquisition module 100 is for obtaining the type information of electronic equipment.
Wherein, above-mentioned electronic equipment can be the hardware device that personal computer (PC), mobile phone, panel computer, personal digital assistant, e-book etc. have various operating system.
Determination module 200 is for determining the test scene of electronic equipment to be measured.
Particularly, obtain the type information of electronic equipment at acquisition module 100 after, determination module 200 can obtain the user habit data of the electronic equipment using this model, and to comprising the large data analysis of user's use habit, determine when testing electronic equipment to be measured, the application program that user often used in this time period, and the classification belonging to application program determines the test scene of electronic equipment to be measured.
Wherein, test scene is mainly divided into instrument scene, the social scene of communication, game, video/audio and Domestic News scene.
Application program for determining corresponding application program and test duration according to test scene, and is mounted to electronic equipment to be measured by the first processing module 300.
Particularly, determine the test scene of electronic equipment to be measured at determination module 200 after, first processing module 300 can determine corresponding application category according to the test scene of electronic equipment to be measured, and sort according to the application program under application category in frequency of utilization application programs shop, and using application program the highest for frequency of utilization as the application program of installing.
First processing module 300, after determine corresponding application category according to test scene, can search the test duration that correspondence determined by default correspondence table by the application category corresponding according to test scene.
Wherein, the corresponding relation of application category and test duration is saved in the correspondence table preset.It should be noted that, the test duration corresponding to often kind of application category obtained based on large data analysis.
Wherein, the form of the correspondence table preset, as shown in table 1.
The correspondence table that table 1 is preset
Tested object Length of testing speech
Instrument 10 minutes
Communication is social 50 minutes
Game 25 minutes
Video/audio 25 minutes
Domestic News 20 minutes
Particularly, test module 400 for running application in electronic equipment to be measured, and after the test duration reaches the power consumption condition of test electronic.
Particularly, after the application program of correspondence is mounted to electronic equipment to be measured by the first processing module 300, test module 400 first can determine the execution sequence of each application program, and the electricity of electronic equipment is full of, namely the electricity of electronic equipment is 100%, and beginning order performs " length of testing speech " of " tested object ", the current electric quantity of register system after each step is complete, after whole tested object is complete, the dump energy of recorded electronic device systems, has just drawn the terminal power consumption situation after performing.
Wherein, it should be noted that, namely the tested object in foregoing description refers to the application program be mounted in electronic equipment to be measured.
Such as, after the application program of the application program of tool-class and the social class of communication is mounted to smart mobile phone to be measured, if determine that the execution sequence of two methods program is the application program of first executing means class, the application program of rear execution communication class, in order to test out the electric quantity consumption situation of smart mobile phone to be measured, the electricity of smart mobile phone first can be filled to 100% by test module 400, and be after 100% at the electricity of smart mobile phone, beginning order executing means class 10 minutes, the dump energy of complete rear record current system; Perform the social class of communication 50 minutes more successively, the dump energy of record current system, after by the time all tested objects are complete, just can draw the electric quantity consumption situation of application program in final smart mobile phone.
Conveniently user understands often kind of other power consumption information of application class, as shown in Figure 6, above-mentioned proving installation can also comprise the second processing module 500, and this second processing module 500 is for obtaining power consumption information corresponding to each application category and being presented to user.
Particularly, before performing the testing, the system charge of electronic equipment to be measured is the state of 100%, after performing application program corresponding to each application category be arranged on electronic equipment to be measured in order, complete at each application category, the dump energy of current system can be recorded, such as, after the application program of executing means class, the dump energy of electronic equipment current system to be measured is 85%, then the electricity consumed of tool-class application program is 15%.
Similarly, by recording the dump energy of the system of electronic equipment to be measured before execution, and after executing other application program of application class, record the dump energy of the system of electronic equipment to be measured again, and according to the electricity that every class application program that the dump energy before performing rear and execution can obtain electronic equipment to be measured consumes.Specifically, the dump energy difference after performing and before performing is the electricity that current application program classification consumes.
That is, the second processing module 500 can determine according to the dump energy information before the execution of recording in electronic equipment to be measured and after performing the information about power that each application program consumes.
In addition, in one embodiment of the invention, if need to obtain the electricity that each application program in each application category consumes, now, can read the power consumption daily record in the system of electronic equipment to be measured, and the power consumption information of each application program can be obtained by analyzing this power consumption daily record.It should be noted that, the explanation of the embodiment of the aforementioned power consumption method of testing to electronic equipment illustrates and the power consumption proving installation being also applicable to the electronic equipment of this embodiment repeats no more herein.
It should be noted that, the explanation of the aforementioned power consumption method of testing embodiment to electronic equipment illustrates and the power consumption proving installation being also applicable to the electronic equipment of this embodiment repeats no more herein.
The power consumption proving installation of the electronic equipment of the embodiment of the present invention, the type information of electronic equipment is obtained by acquisition module, and the test scene of electronic equipment to be measured is determined by determination module, first processing module determines corresponding application program and test duration according to test scene, and application program is mounted to electronic equipment to be measured, and test module runs application in electronic equipment to be measured, and after the test duration reaches the power consumption condition of test electronic.Thus, the use scenes based on user is tested electronic equipment power consumption, accurately tests the power consumption condition of electronic equipment, and then can accurately for user provides electronic equipment power consumption condition.
In the description of this instructions, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained at least one embodiment of the present invention or example.In this manual, to the schematic representation of above-mentioned term not must for be identical embodiment or example.And the specific features of description, structure, material or feature can combine in one or more embodiment in office or example in an appropriate manner.In addition, when not conflicting, the feature of the different embodiment described in this instructions or example and different embodiment or example can carry out combining and combining by those skilled in the art.
In addition, term " first ", " second " only for describing object, and can not be interpreted as instruction or hint relative importance or imply the quantity indicating indicated technical characteristic.Thus, be limited with " first ", the feature of " second " can express or impliedly comprise at least one this feature.In describing the invention, the implication of " multiple " is at least two, such as two, three etc., unless otherwise expressly limited specifically.
Describe and can be understood in process flow diagram or in this any process otherwise described or method, represent and comprise one or more for realizing the module of the code of the executable instruction of the step of specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can not according to order that is shown or that discuss, comprise according to involved function by the mode while of basic or by contrary order, carry out n-back test, this should understand by embodiments of the invention person of ordinary skill in the field.
In flow charts represent or in this logic otherwise described and/or step, such as, the sequencing list of the executable instruction for realizing logic function can be considered to, may be embodied in any computer-readable medium, for instruction execution system, device or equipment (as computer based system, comprise the system of processor or other can from instruction execution system, device or equipment instruction fetch and perform the system of instruction) use, or to use in conjunction with these instruction execution systems, device or equipment.With regard to this instructions, " computer-readable medium " can be anyly can to comprise, store, communicate, propagate or transmission procedure for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically (non-exhaustive list) of computer-readable medium comprises following: the electrical connection section (electronic installation) with one or more wiring, portable computer diskette box (magnetic device), random access memory (RAM), ROM (read-only memory) (ROM), erasablely edit ROM (read-only memory) (EPROM or flash memory), fiber device, and portable optic disk ROM (read-only memory) (CDROM).In addition, computer-readable medium can be even paper or other suitable media that can print described program thereon, because can such as by carrying out optical scanning to paper or other media, then carry out editing, decipher or carry out process with other suitable methods if desired and electronically obtain described program, be then stored in computer memory.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple step or method can with to store in memory and the software performed by suitable instruction execution system or firmware realize.Such as, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: the discrete logic with the logic gates for realizing logic function to data-signal, there is the special IC of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is that the hardware that can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, this program perform time, step comprising embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, also can be that the independent physics of unit exists, also can be integrated in a module by two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.Although illustrate and describe embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, and those of ordinary skill in the art can change above-described embodiment within the scope of the invention, revises, replace and modification.

Claims (8)

1. a power consumption method of testing for electronic equipment, is characterized in that, comprise the following steps:
Obtain the type information of described electronic equipment;
Determine the test scene with the electronic equipment to be measured corresponding to the electronic equipment of described type information;
Determine corresponding application program and test duration according to described test scene, and described application program is mounted to described electronic equipment to be measured;
In described electronic equipment to be measured, run described application program, and after the test duration reaches, record the power consumption condition of described electronic equipment to be measured.
2. the power consumption method of testing of electronic equipment as claimed in claim 1, is characterized in that, describedly determines that corresponding application program specifically comprises according to described test scene:
Corresponding application category is determined according to the test scene of described electronic equipment to be measured;
Sort according to the application program under application category described in frequency of utilization application programs shop; And
Using application program the highest for frequency of utilization as the described application program of installing.
3. the power consumption method of testing of electronic equipment as claimed in claim 1, is characterized in that, describedly determines that the corresponding test duration specifically comprises according to described test scene:
The application category corresponding according to described test scene searches the test duration that described correspondence determined by default correspondence table.
4. the power consumption method of testing of electronic equipment as claimed in claim 1, is characterized in that, also comprise:
Obtain power consumption information corresponding to each application category and be presented to user.
5. a power consumption proving installation for electronic equipment, is characterized in that, comprising:
Acquisition module, for obtaining the type information of described electronic equipment;
Determination module, for determining the test scene with the electronic equipment to be measured corresponding to the electronic equipment of described type information;
First processing module, for determining corresponding application program and test duration according to described test scene, and is mounted to described electronic equipment to be measured by described application program;
Test module, for running described application program in described electronic equipment to be measured, and tests the power consumption condition of described electronic equipment after the test duration reaches.
6. the power consumption proving installation of electronic equipment as claimed in claim 5, is characterized in that, described determination module, specifically for:
Corresponding application category is determined according to the test scene of described electronic equipment to be measured;
Sort according to the application program under application category described in frequency of utilization application programs shop; And
Using application program the highest for frequency of utilization as the described application program of installing.
7. the power consumption proving installation of electronic equipment as claimed in claim 5, is characterized in that, described determination module, specifically for:
The application category corresponding according to described test scene searches the test duration that described correspondence determined by default correspondence table.
8. the power consumption proving installation of electronic equipment as claimed in claim 5, is characterized in that, also comprise:
Second processing module, for obtaining power consumption information corresponding to each application category and being presented to user.
CN201510781799.7A 2015-11-13 2015-11-13 Power consumption testing method and device for electronic equipment Active CN105277830B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510781799.7A CN105277830B (en) 2015-11-13 2015-11-13 Power consumption testing method and device for electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510781799.7A CN105277830B (en) 2015-11-13 2015-11-13 Power consumption testing method and device for electronic equipment

Publications (2)

Publication Number Publication Date
CN105277830A true CN105277830A (en) 2016-01-27
CN105277830B CN105277830B (en) 2018-09-11

Family

ID=55147187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510781799.7A Active CN105277830B (en) 2015-11-13 2015-11-13 Power consumption testing method and device for electronic equipment

Country Status (1)

Country Link
CN (1) CN105277830B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106507340A (en) * 2016-11-01 2017-03-15 西安易朴通讯技术有限公司 The method of testing and test system of mobile phone continuation of the journey
CN107305516A (en) * 2016-04-18 2017-10-31 展讯通信(上海)有限公司 Terminal power consumption method of testing and device
CN112578291A (en) * 2020-12-17 2021-03-30 上海商米科技集团股份有限公司 Intelligent POS endurance test method and test system
CN113791951A (en) * 2021-09-15 2021-12-14 北京百度网讯科技有限公司 Device and method for acquiring power consumption of electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009170652A (en) * 2008-01-16 2009-07-30 Shin Etsu Handotai Co Ltd Bonded wafer manufacturing method
CN102508701A (en) * 2011-10-18 2012-06-20 北京百纳威尔科技有限公司 User terminal and method for controlling automatically-operating application program
CN102685323A (en) * 2012-04-21 2012-09-19 北京迈凯互动网络科技有限公司 Mobile device testing method and system
CN103607494A (en) * 2013-11-30 2014-02-26 广东欧珀移动通信有限公司 Method and terminal for automatically testing runtime of terminal in a time-diversion mode
CN104184907A (en) * 2013-05-27 2014-12-03 腾讯科技(深圳)有限公司 Method for detecting awakening data of terminal application software in standby state and terminal
CN105025141A (en) * 2015-07-29 2015-11-04 上海斐讯数据通信技术有限公司 Method and device for testing electricity consumption of terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009170652A (en) * 2008-01-16 2009-07-30 Shin Etsu Handotai Co Ltd Bonded wafer manufacturing method
CN102508701A (en) * 2011-10-18 2012-06-20 北京百纳威尔科技有限公司 User terminal and method for controlling automatically-operating application program
CN102685323A (en) * 2012-04-21 2012-09-19 北京迈凯互动网络科技有限公司 Mobile device testing method and system
CN104184907A (en) * 2013-05-27 2014-12-03 腾讯科技(深圳)有限公司 Method for detecting awakening data of terminal application software in standby state and terminal
CN103607494A (en) * 2013-11-30 2014-02-26 广东欧珀移动通信有限公司 Method and terminal for automatically testing runtime of terminal in a time-diversion mode
CN105025141A (en) * 2015-07-29 2015-11-04 上海斐讯数据通信技术有限公司 Method and device for testing electricity consumption of terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107305516A (en) * 2016-04-18 2017-10-31 展讯通信(上海)有限公司 Terminal power consumption method of testing and device
CN106507340A (en) * 2016-11-01 2017-03-15 西安易朴通讯技术有限公司 The method of testing and test system of mobile phone continuation of the journey
CN106507340B (en) * 2016-11-01 2019-12-13 西安易朴通讯技术有限公司 method and system for testing endurance of mobile phone
CN112578291A (en) * 2020-12-17 2021-03-30 上海商米科技集团股份有限公司 Intelligent POS endurance test method and test system
CN112578291B (en) * 2020-12-17 2023-02-21 上海商米科技集团股份有限公司 Intelligent POS endurance test method and test system
CN113791951A (en) * 2021-09-15 2021-12-14 北京百度网讯科技有限公司 Device and method for acquiring power consumption of electronic equipment
CN113791951B (en) * 2021-09-15 2024-02-02 北京百度网讯科技有限公司 Electronic equipment power consumption acquisition device and method

Also Published As

Publication number Publication date
CN105277830B (en) 2018-09-11

Similar Documents

Publication Publication Date Title
CN103430151B (en) A kind of resource allocation method and device
CN109657213B (en) Text similarity detection method and device and electronic equipment
CN105277830A (en) Power consumption testing method and device for electronic equipment
CN104424092A (en) Page loading time length testing method and device
CN104239523A (en) Recommendation method and device for application program and mobile terminal
CN108536803A (en) Song recommendations method, apparatus, equipment and computer-readable medium
CN107864405B (en) Viewing behavior type prediction method, device and computer readable medium
CN105491126A (en) Service providing method and service providing device based on artificial intelligence
CN105095415A (en) Method and apparatus for confirming network emotion
CN109815448B (en) Slide generation method and device
CN104199727A (en) Method and device for reducing terminal temperature and terminal
CN112148559A (en) Mobile APP power consumption test method, device and system, acquisition end and test end
CN104461545A (en) Method and device of providing contents in mobile terminals to users
CN113377637A (en) Performance capacity diagnostic method and device
CN112148844A (en) Information reply method and device for robot
CN104091610A (en) Audio file managing method and device
CN107040955B (en) Power consumption state identification method, device and the electronic equipment of terminal
CN105740220A (en) Electronic business card generation method and device, and terminal equipment
CN113672522B (en) Test resource compression method and related equipment
CN111382793B (en) Feature extraction method and device and storage medium
CN104320549B (en) Automatic CRBT detection method based on primary sound retrieval technique and system
CN105372527A (en) Power consumption testing method and device for electronic equipment
CN109710521B (en) Multimedia application performance test method and device, computer equipment and storage medium
CN112115346B (en) Clue data processing method and device
CN110399725A (en) Loophole processing method and processing device, electronic equipment and computer readable 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