CN109933494A - The power consumption test method and system of hardware device - Google Patents

The power consumption test method and system of hardware device Download PDF

Info

Publication number
CN109933494A
CN109933494A CN201910244690.8A CN201910244690A CN109933494A CN 109933494 A CN109933494 A CN 109933494A CN 201910244690 A CN201910244690 A CN 201910244690A CN 109933494 A CN109933494 A CN 109933494A
Authority
CN
China
Prior art keywords
power consumption
hardware device
test
instrument
hardware
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910244690.8A
Other languages
Chinese (zh)
Inventor
张坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Amlogic Shanghai Co Ltd
Amlogic Inc
Original Assignee
Amlogic Shanghai 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 Amlogic Shanghai Co Ltd filed Critical Amlogic Shanghai Co Ltd
Priority to CN201910244690.8A priority Critical patent/CN109933494A/en
Publication of CN109933494A publication Critical patent/CN109933494A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)

Abstract

The invention discloses the power consumption test method of hardware device and systems, belong to testing field.The present invention passes through the internal structure chart of identification hardware device, to judge whether the hardware device lacks cooling fin;Test lead obtains the power consumption data of hardware device in different state control power consumption instrument using hardware device, and generates corresponding power consumption list, so that the power consumption test to hardware device be rapidly completed, the used time is short, high-efficient.

Description

The power consumption test method and system of hardware device
Technical field
The present invention relates to testing field more particularly to the power consumption test methods and system of hardware device.
Background technique
For the complexity that the power consumption test of hardware device is used due to the changeable and system resource of application scenarios, it is difficult to comment Estimate the power consumption of each road branch of system under different scenes.It needs manually to carry out for the power consumption test of hardware device at present more Secondary retest takes time and effort to obtain power consumption data.
Summary of the invention
In view of the above-mentioned problems, now providing a kind of power consumption test for being intended to automatically testing used time short high-efficient hardware device Method and system.
The present invention provides a kind of power consumption test method of hardware device, hardware device to be measured is connect with power consumption instrument, test End is connect with the hardware device and the power consumption instrument respectively, and the function of the hardware device is measured for controlling the power consumption instrument Consumption;Include the following steps:
S1. the internal structure chart of the hardware device is acquired;
S2. the test lead identifies the device in the structure chart, judges whether there is cooling fin in the structure chart, if It is to execute step S3;If it is not, generating the message for lacking cooling fin;
S3. the test lead is corrected the measuring unit of the power consumption instrument;
S4. the test lead controls the hardware device and executes power-on operation, obtains the hardware by the power consumption instrument The power consumption data that equipment is in idle condition;
S5. the test lead controls the hardware device and executes play operation, obtains the hardware by the power consumption instrument Equipment is in the power consumption data of broadcast state;
S6. power consumption list is generated according to the power consumption data of the idle state and the power consumption data of the broadcast state.
Preferably, before executing the step S4, further includes:
The test lead control hardware device executes power-on operation, after the hardware device enters main interface, described in closing The WIFI function of hardware device controls the power consumption instrument acquisition hardware and sets when the hardware device is in idle condition Power consumption data when in main interface.
Preferably, in the step S4, the power consumption instrument is in the preset time that the hardware device is in idle condition Obtain power consumption data.
Preferably, in the step S5, the power consumption instrument is in broadcast state and on-screen menu in the hardware device The power consumption data of the hardware device is obtained in the state of closing.
Preferably, before executing step S6, further includes:
A1. the test period number completed to the power consumption instrument counts;
A2. judge whether the testing time of the power consumption instrument is greater than preset threshold, if so, executing step S6;If it is not, executing Step S3.
The present invention also provides a kind of power consumption test system of hardware device, hardware device to be measured is connect with power consumption instrument, function Consumption test macro is connect with the hardware device and the power consumption instrument respectively, is set for controlling the power consumption instrument measurement hardware Standby power consumption;The power consumption test system includes:
Acquisition unit, for acquiring the internal structure chart of the hardware device;
Judging unit, the device in the structure chart, judges whether there is cooling fin in the structure chart for identification;
Unit is corrected, is corrected for the measuring unit to the power consumption instrument;
First test unit executes power-on operation for controlling the hardware device, by described in power consumption instrument acquisition The power consumption data that hardware device is in idle condition;
Second test cell executes play operation for controlling the hardware device, by described in power consumption instrument acquisition Hardware device is in the power consumption data of broadcast state;
Generation unit, for generating function according to the power consumption data of the idle state and the power consumption data of the broadcast state Consume list.
Preferably, the first test unit be also used to control hardware device execute power-on operation, the hardware device into After entering main interface, the WIFI function of the hardware device is closed, when the hardware device is in idle condition, controls the function Consumption instrument obtains the power consumption data when hardware device is in main interface.
Preferably, the first test unit is for controlling what the power consumption instrument was in idle condition in the hardware device Power consumption data is obtained in preset time.
Preferably, second test cell for control the power consumption instrument the hardware device be in broadcast state and On-screen menu obtains the power consumption data of the hardware device in the state of closing.
Preferably, further includes:
Counting unit, the test period number for completing to the power consumption instrument count;
Processing unit, for judging whether the testing time of the power consumption instrument is greater than preset threshold, if so, controlling the life Power consumption list is generated at unit;If it is not, controlling the power consumption test that the first test unit carries out idle state.
Above-mentioned technical proposal the utility model has the advantages that
In the technical program, by identifying the internal structure chart of hardware device, to judge whether the hardware device lacks Cooling fin;Test lead obtains the power consumption data of hardware device in different state control power consumption instrument using hardware device, and generates Corresponding power consumption list, so that the power consumption test to hardware device be rapidly completed, the used time is short, high-efficient.
Detailed description of the invention
Fig. 1 is a kind of method flow diagram of embodiment of the power consumption test method of hardware device of the present invention;
Fig. 2 is a kind of module map of embodiment of the power consumption test system of hardware device of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art without creative labor it is obtained it is all its His embodiment, shall fall within the protection scope of the present invention.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase Mutually combination.
The present invention will be further explained below with reference to the attached drawings and specific examples, but not as the limitation of the invention.
As shown in Figure 1, a kind of power consumption test method of hardware device, hardware device to be measured are connect with power consumption instrument, test lead It is connect respectively with the hardware device and the power consumption instrument, the power consumption of the hardware device is measured for controlling the power consumption instrument; Include the following steps:
S1. the internal structure chart of the hardware device is acquired;
Before executing step S1, can first confirm hardware device basic function (such as: booting, shutdown, Ethernet, WIFI, The functions such as pause) it is whether normal.Confirm that hardware device did not did destructive testing simultaneously, such as: ESD (Electro-Static Discharge, Electro-static Driven Comb), the class testing of surge, guarantee consistency, not there is phenomena such as fuzzy, Caton, flower screen.Measurement Test code streams, APK are first packed into system before starting, it is ensured that code stream and APK can be operated normally.Check whether test lead software is installed It completes, it is correct etc. whether USB driving installs.
S2. the test lead identifies the device in the structure chart, judges whether there is cooling fin in the structure chart, if It is to execute step S3;If it is not, generating the message for lacking cooling fin;
S3. the test lead is corrected the measuring unit of the power consumption instrument;
Power consumption instrument setting it is corresponding with the resistance of actual welding with when unit conversion, as be in current path 0.1R resistance also It is two 0.1R parallel connections, the region of unit conversion is no corresponding to (two 0.1R parallel connections will be on the basis of a 0.1R multiplied by 2) Then as VDDEE and VCCK, that often has the case where 1A or more electric current three or five hundred mA of difference to be also not easy to arouse attention.It can be according to Kit parameter is arranged in the habit of oneself, exports to save, test all imports this group of parameter testing every time later.
S4. the test lead controls the hardware device and executes power-on operation, obtains the hardware by the power consumption instrument The power consumption data that equipment is in idle condition;
Further, the power consumption instrument obtains in the preset time that the hardware device is in idle condition in step s 4 Take power consumption data.
When testing idle power consumption, to wait 3 seconds to 5 seconds, after waiting hardware devices are completely idle to go down, just start to test, No side data inaccuracy.Interface or remote control need to be parked in a fixed position when for other test items, because UI is different The resource and power consumption of the highlighted consumption of position are different, so having to guarantee consistency, there is WIFI in test item WIFI need to be connected to wireless network when ON, simulate most true scene.
Before executing the step S4, it may also include that
The test lead control hardware device executes power-on operation, after the hardware device enters main interface, described in closing The WIFI function of hardware device controls the power consumption instrument acquisition hardware and sets when the hardware device is in idle condition Power consumption data when in main interface, whether confirmation efficiency is normal, and general to require 80% or more, needing to have checked efficiency is It is no to carry out next test again within zone of reasonableness.
S5. the test lead controls the hardware device and executes play operation, obtains the hardware by the power consumption instrument Equipment is in the power consumption data of broadcast state;
Further, the power consumption instrument is in broadcast state in the hardware device in step s 5 and on-screen menu is closed In the state of obtain the power consumption data of the hardware device.
When playing video, after need to waiting until that broadcast interface is hidden automatically, it could start to test.Menu, which is closed, needs 1 second to 3 Second, and not wait film sources all to finish sampling, instrument sampling need to be stopped before broadcasting terminates, and had better not be after black picture Stop, it should stopping instrument sampling, before the stopping of black picture to ensure that each starting position and end position are substantially suitable.
S6. power consumption list is generated according to the power consumption data of the idle state and the power consumption data of the broadcast state.
In the present embodiment, by identifying the internal structure chart of hardware device, to judge whether the hardware device lacks Cooling fin;Test lead obtains the power consumption data of hardware device in different state control power consumption instrument using hardware device, and generates Corresponding power consumption list, so that the power consumption test to hardware device be rapidly completed, the used time is short, high-efficient.
It may also include that before executing step S6 as one kind more preferred embodiment
A1. the test period number completed to the power consumption instrument counts;
A2. judge whether the testing time of the power consumption instrument is greater than preset threshold, if so, executing step S6;If it is not, executing Step S3.
If can carry out repeatedly testing such as step A1-A2, each test number of statistics by being provided with special chip in hardware device According to, indicated when test data is essentially identical the test data be stable data.
When carrying out power consumption test, the highest frequency and temperature of the controller of hardware device can be also obtained.If it was found that power supply Efficiency is problematic, needs further to check, and avoids data survey from being over, then check, need to retest.
As shown in Fig. 2, a kind of power consumption test system of hardware device, hardware device to be measured are connect with power consumption instrument, power consumption is surveyed Test system is connect with the hardware device and the power consumption instrument respectively, measures the hardware device for controlling the power consumption instrument Power consumption;The power consumption test system includes:
Acquisition unit 1, for acquiring the internal structure chart of the hardware device;
Judging unit 2, the device in the structure chart, judges whether there is cooling fin in the structure chart for identification;
Unit 3 is corrected, is corrected for the measuring unit to the power consumption instrument;
First test unit 4 executes power-on operation for controlling the hardware device, by described in power consumption instrument acquisition The power consumption data that hardware device is in idle condition;
Further, the first test unit 4 can control the power consumption instrument to be in idle condition in the hardware device Preset time in obtain power consumption data.
The first test unit 4 is also used to control hardware device and executes power-on operation, and the hardware device enters main boundary Behind face, the WIFI function of the hardware device is closed, when the hardware device is in idle condition, the power consumption instrument is controlled and obtains The power consumption data when hardware device being taken to be in main interface.
Second test cell 5 executes play operation for controlling the hardware device, by described in power consumption instrument acquisition Hardware device is in the power consumption data of broadcast state;
Further, second test cell 5 can control the power consumption instrument to be in broadcast state in the hardware device And the power consumption data of the hardware device is obtained in the state of on-screen menu closing.
Generation unit 6, for being generated according to the power consumption data of the idle state and the power consumption data of the broadcast state Power consumption list.
In the present embodiment, by identifying the internal structure chart of hardware device, to judge whether the hardware device lacks Cooling fin;Test lead obtains the power consumption data of hardware device in different state control power consumption instrument using hardware device, and generates Corresponding power consumption list, so that the power consumption test to hardware device be rapidly completed, the used time is short, high-efficient.
It may also include that as more preferred embodiment, a power consumption test system for hardware device
Counting unit, the test period number for completing to the power consumption instrument count;
Processing unit, for judging whether the testing time of the power consumption instrument is greater than preset threshold, if so, controlling the life Power consumption list is generated at unit 6;If it is not, controlling the power consumption test that the first test unit 4 carries out idle state.
The foregoing is merely preferred embodiments of the present invention, are not intended to limit embodiments of the present invention and protection model It encloses, to those skilled in the art, should can appreciate that all with made by description of the invention and diagramatic content Equivalent replacement and obviously change obtained scheme, should all be included within the scope of the present invention.

Claims (10)

1. a kind of power consumption test method of hardware device, which is characterized in that hardware device to be measured is connect with power consumption instrument, test lead point It is not connect with the hardware device and the power consumption instrument, the power consumption of the hardware device is measured for controlling the power consumption instrument;Packet Include following step:
S1. the internal structure chart of the hardware device is acquired;
S2. the test lead identifies the device in the structure chart, judges whether there is cooling fin in the structure chart, if so, holding Row step S3;If it is not, generating the message for lacking cooling fin;
S3. the test lead is corrected the measuring unit of the power consumption instrument;
S4. the test lead controls the hardware device and executes power-on operation, obtains the hardware device by the power consumption instrument The power consumption data being in idle condition;
S5. the test lead controls the hardware device and executes play operation, obtains the hardware device by the power consumption instrument Power consumption data in broadcast state;
S6. power consumption list is generated according to the power consumption data of the idle state and the power consumption data of the broadcast state.
2. the power consumption test method of hardware device according to claim 1, which is characterized in that execute the step S4 it Before, further includes:
The test lead control hardware device executes power-on operation, after the hardware device enters main interface, closes the hardware The WIFI function of equipment controls the power consumption instrument and obtains at the hardware device when the hardware device is in idle condition Power consumption data when main interface.
3. the power consumption test method of hardware device according to claim 1, which is characterized in that described in the step S4 Power consumption instrument obtains power consumption data in the preset time that the hardware device is in idle condition.
4. the power consumption test method of hardware device according to claim 1, which is characterized in that in the step S5, institute State the function that power consumption instrument obtains the hardware device in the state that hardware device is in broadcast state and on-screen menu is closed Consume data.
5. the power consumption test method of hardware device according to claim 1, which is characterized in that before executing step S6, Further include:
A1. the test period number completed to the power consumption instrument counts;
A2. judge whether the testing time of the power consumption instrument is greater than preset threshold, if so, executing step S6;If it is not, executing step S3。
6. a kind of power consumption test system of hardware device, which is characterized in that hardware device to be measured is connect with power consumption instrument, power consumption test System is connect with the hardware device and the power consumption instrument respectively, and the function of the hardware device is measured for controlling the power consumption instrument Consumption;The power consumption test system includes:
Acquisition unit, for acquiring the internal structure chart of the hardware device;
Judging unit, the device in the structure chart, judges whether there is cooling fin in the structure chart for identification;
Unit is corrected, is corrected for the measuring unit to the power consumption instrument;
First test unit executes power-on operation for controlling the hardware device, obtains the hardware by the power consumption instrument The power consumption data that equipment is in idle condition;
Second test cell executes play operation for controlling the hardware device, obtains the hardware by the power consumption instrument Equipment is in the power consumption data of broadcast state;
Generation unit, for generating power consumption column according to the power consumption data of the idle state and the power consumption data of the broadcast state Table.
7. the power consumption test system of hardware device according to claim 6, which is characterized in that the first test unit is also Power-on operation is executed for controlling hardware device, after the hardware device enters main interface, closes the WIFI of the hardware device Function, when the hardware device is in idle condition, when controlling the power consumption instrument and obtaining the hardware device and be in main interface Power consumption data.
8. the power consumption test system of hardware device according to claim 6, which is characterized in that the first test unit is used Power consumption data is obtained in the preset time that the hardware device is in idle condition in controlling the power consumption instrument.
9. the power consumption test system of hardware device according to claim 6, which is characterized in that second test cell is used The hardware is obtained in the state that the hardware device is in broadcast state and on-screen menu is closed in the control power consumption instrument The power consumption data of equipment.
10. the power consumption test system of hardware device according to claim 6, which is characterized in that further include:
Counting unit, the test period number for completing to the power consumption instrument count;
Processing unit, for judging whether the testing time of the power consumption instrument is greater than preset threshold, if so, the control generation is single Member generates power consumption list;If it is not, controlling the power consumption test that the first test unit carries out idle state.
CN201910244690.8A 2019-03-28 2019-03-28 The power consumption test method and system of hardware device Pending CN109933494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910244690.8A CN109933494A (en) 2019-03-28 2019-03-28 The power consumption test method and system of hardware device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910244690.8A CN109933494A (en) 2019-03-28 2019-03-28 The power consumption test method and system of hardware device

Publications (1)

Publication Number Publication Date
CN109933494A true CN109933494A (en) 2019-06-25

Family

ID=66988703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910244690.8A Pending CN109933494A (en) 2019-03-28 2019-03-28 The power consumption test method and system of hardware device

Country Status (1)

Country Link
CN (1) CN109933494A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1828631A (en) * 2005-03-04 2006-09-06 富士通株式会社 Method and apparatus for acquiring image of internal structure, and computer product
US20120089871A1 (en) * 2010-10-11 2012-04-12 Inventec Corporation Test system
CN105791497A (en) * 2014-12-25 2016-07-20 展讯通信(上海)有限公司 Automatic testing system of power consumption of mobile terminal and working method of automatic testing system
CN106686179A (en) * 2016-12-27 2017-05-17 东南大学 Mobile phone power consumption testing system and method based on test automation
CN106846316A (en) * 2017-02-10 2017-06-13 云南电网有限责任公司电力科学研究院 A kind of GIS inside typical defect automatic distinguishing method for image
CN108152576A (en) * 2017-12-27 2018-06-12 上海移远通信技术股份有限公司 Power consumption of communication module tests system and method
CN109444146A (en) * 2018-09-17 2019-03-08 鲁班嫡系机器人(深圳)有限公司 A kind of defect inspection method, device and the equipment of industrial processes product

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1828631A (en) * 2005-03-04 2006-09-06 富士通株式会社 Method and apparatus for acquiring image of internal structure, and computer product
US20120089871A1 (en) * 2010-10-11 2012-04-12 Inventec Corporation Test system
CN105791497A (en) * 2014-12-25 2016-07-20 展讯通信(上海)有限公司 Automatic testing system of power consumption of mobile terminal and working method of automatic testing system
CN106686179A (en) * 2016-12-27 2017-05-17 东南大学 Mobile phone power consumption testing system and method based on test automation
CN106846316A (en) * 2017-02-10 2017-06-13 云南电网有限责任公司电力科学研究院 A kind of GIS inside typical defect automatic distinguishing method for image
CN108152576A (en) * 2017-12-27 2018-06-12 上海移远通信技术股份有限公司 Power consumption of communication module tests system and method
CN109444146A (en) * 2018-09-17 2019-03-08 鲁班嫡系机器人(深圳)有限公司 A kind of defect inspection method, device and the equipment of industrial processes product

Similar Documents

Publication Publication Date Title
US9158368B2 (en) Energy-saving device and method for portable terminal
CN103219769B (en) Method for charging batteries, batter-charghing system and mobile terminal
CN104242463B (en) A kind of electric power remote monitoring and control system based on GPRS and monitoring method
CN103676939B (en) A kind of Auto-Test System based on OSEK straight-forward network administrative mechanisms
CN104360922A (en) Method for automatically monitoring BMC working state based on ipmitool
CN204065788U (en) A kind of energy saver of teaching building automated management system of Long-distance Control
CN102833577A (en) Method and device for automatically testing function of television
CN103941871A (en) Method and equipment for controlling hardware operating state of intelligent terminal
CN203260298U (en) LCD testing device
US12075845B2 (en) Aerosol atomization device, test device, control method therefor, and control apparatus thereof
CN104850211A (en) Power-saving method for smart device during shooting
CN103970630A (en) Method for testing overall stability of server
CN104951392A (en) Method and device for measuring starting time of application program
CN105025141A (en) Method and device for testing electricity consumption of terminal
CN103957405A (en) Set top box test method, device and system
WO2020207112A1 (en) Heat dissipation testing method and system, and heating device
CN105898542A (en) Display screen brightness adjustment and data transmission method, device and system
CN106095593B (en) A kind of forward and backward scape application behavior synchronous method and device
CN104410549A (en) Test system and method of router
CN103267919A (en) Automatic startup and shutdown device
CN105491451B (en) The method and electronic equipment of electronic equipment automatic shutdown
CN102752396A (en) Embedded type sensing server and data control method thereof
CN109933494A (en) The power consumption test method and system of hardware device
CN103402003A (en) Method and mobile terminal for controlling starting up/shutdown
CN117850400A (en) Dormancy awakening detection system and test platform for vehicle electronic parts

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190625

RJ01 Rejection of invention patent application after publication