CN103617111A - Method and device for computing power consumption of computer - Google Patents

Method and device for computing power consumption of computer Download PDF

Info

Publication number
CN103617111A
CN103617111A CN201310581639.9A CN201310581639A CN103617111A CN 103617111 A CN103617111 A CN 103617111A CN 201310581639 A CN201310581639 A CN 201310581639A CN 103617111 A CN103617111 A CN 103617111A
Authority
CN
China
Prior art keywords
power consumption
hardware device
hardware
configuration information
database
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
CN201310581639.9A
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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310581639.9A priority Critical patent/CN103617111A/en
Publication of CN103617111A publication Critical patent/CN103617111A/en
Pending legal-status Critical Current

Links

Images

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

Abstract

The invention provides a method and a device for computing power consumption of a computer. The method and the device can assist a user to accurately and quickly compute the power consumption of the computer. The method includes acquiring configuration information of various hardware devices in the computer; enquiring power consumption data in a preset database; adding the power consumption data of the various hardware devices together to compute the total power consumption of the computer. The power consumption data correspond to the configuration information of the various hardware devices. The method and the device have the advantages that the method and the device can assist the user to quickly acquire the power consumption of the computer under the condition that the user does not know configuration of the computer; the user can select configuration of various hardware devices, so that the total power consumption can be computed according to configuration information set by the user and can be conveniently used as reference when the user purchases a computer.

Description

A kind of computing machine power consumption calculation method and device
Patented claim of the present invention be that April 1, application number in 2011 are 201110082737.9 the applying date, name is called the dividing an application of Chinese invention patent application of " a kind of computing machine power consumption calculation method and device ".
Technical field
The present invention relates to consumption detection technology, particularly relate to a kind of computing machine power consumption calculation method and device.
Background technology
Computer application is now very general, and computer has become the indispensable helper of modern handle official bussiness, is also standing learning and entertainment tool.Low-carbon (LC) life is all being advocated in the whole world now, but the power consumption of computer is more and more higher, and especially high-end computer, more than fully loaded power consumption can easily reach 400W, approaches the level of an electric cooker.Although using the user of high-end computer is minority, computer power consumption becomes the problem that user pays close attention to really.
Usually, the power consumption of televisor is below 80W, and computer is greatly between 250-400W.Suppose that a computer power consumption hourly is 300W, within one day, open 10 hours, by one month 30 days, calculate, the power consumption of computer every month is exactly 300W * 10 hour * 30 days=90KW, i.e. 90 degree electricity.In fact, this is a conservative estimation, but hence one can see that, and the power consumption of computer can not be ignored.
The calculating of computer power consumption early existing people starts further investigation, and has proposed various testing standard, and different testing standards has different test results.But most of test result is all some professional terminology standard data before, for domestic consumer, reference value is little, and what in fact user more paid close attention to is and the closely-related data of own vital interests.
Summary of the invention
The invention provides a kind of computing machine power consumption calculation method and device, can help user to calculate more accurately and rapidly computer power consumption.
In order to address the above problem, the invention discloses a kind of computing machine power consumption calculation method, comprising:
Obtain the configuration information of each hardware device in computing machine;
The inquiry power consumption data corresponding with the configuration information of each hardware device from preset database;
The power consumption data of each hardware device is added, calculates computing machine total power consumption.
Wherein, described from preset database the inquiry power consumption data corresponding with the configuration information of each hardware device, comprise: if comprise model in the configuration information of hardware device,, according to model preset in database and the mapping relations of power consumption, directly search the power consumption data corresponding with this model; Otherwise, first corresponding with the mapping relationship searching of model according to configuration information preset in database model, and then the power consumption data corresponding with the mapping relationship searching of power consumption according to model preset in database.
Preferably, to meeting the hardware device of preset type of hardware, according to the model of hardware device, from database, search corresponding power consumption data; To not meeting the hardware device of described preset type of hardware, the power consumption data corresponding with the mapping relationship searching of power consumption according to the type of hardware of database initialize.
Wherein, described preset type of hardware comprises: the type of hardware that surpasses preset range with different its power consumption difference of ardware model number; The described hardware device that does not meet preset type of hardware comprises: with the type of hardware of different its power consumption differences of ardware model number within described preset range.
Preferably, for the fixing hardware device of power consumption, the average power consumption data that in described database, the power consumption data corresponding with the type hardware device is the type hardware device.
Preferably, to meeting the hardware device of preset ardware model number, according to the model of described hardware device, from database, search corresponding power consumption data; To not meeting the hardware device of described preset ardware model number, the power consumption data corresponding with the mapping relationship searching of power consumption according to the hardware device type of database initialize.
Preferably, described in obtain the configuration information of each hardware device in computing machine before, also comprise: the configuration information that automatically detects each hardware device in current computer; , be retrieved as the configuration information that obtains each hardware device that described detection obtains.
Preferably, described in obtain the configuration information of each hardware device in computing machine before, also comprise: the configuration information of each hardware device in any computing machine of free setting; , be retrieved as the configuration information of each hardware device that obtains described setting.
Preferably, described method also comprises: according to the computing machine total power consumption calculating, select the power supply matching.
Preferably, described method also comprises: the energy saver mode of selecting according to user, from preset database, inquire about lower power consumption data that comprises hardware device of this energy saver mode; The power consumption data obtaining according to described inquiry, the power consumption of showing selected energy saver mode to user, and/or show to user the power consumption that selected energy saver mode can be saved.
The present invention also provides a kind of computing machine power consumption calculation device, comprising:
Hardware configuration acquisition module, for obtaining the configuration information of each hardware device of computing machine;
Power consumption enquiry module, for the database inquiry power consumption data corresponding with the configuration information of each hardware device from preset;
Power consumption calculation module, for the power consumption data of each hardware device is added, calculates computing machine total power consumption.
Wherein, if comprise model in the configuration information of hardware device, described power consumption enquiry module, according to model preset in database and the mapping relations of power consumption, is directly searched the power consumption data corresponding with this model; Otherwise, the model that described power consumption enquiry module is first corresponding with the mapping relationship searching of model according to configuration information preset in database, and then the power consumption data corresponding with the mapping relationship searching of power consumption according to model preset in database.
Preferably, to meeting the hardware device of preset type of hardware, described power consumption enquiry module is searched corresponding power consumption data according to the model of hardware device from database; To not meeting the hardware device of described preset type of hardware, the power consumption data that described power consumption enquiry module is corresponding with the mapping relationship searching of power consumption according to the hardware device type of database initialize.
Wherein, described preset type of hardware comprises: the type of hardware that surpasses preset range with different its power consumption difference of ardware model number; The described hardware device that does not meet preset type of hardware comprises: with the type of hardware of different its power consumption differences of ardware model number within described preset range.
Preferably, for the fixing hardware device of power consumption, the average power consumption data that in described database, the power consumption data corresponding with the type hardware device is the type hardware device.
Preferably, to meeting the hardware device of preset ardware model number, described power consumption enquiry module is searched corresponding power consumption data according to the model of described hardware device from database; To not meeting the hardware device of described preset ardware model number, the power consumption data that described power consumption enquiry module is corresponding with the mapping relationship searching of power consumption according to the type of hardware of database initialize.
Preferably, described device also comprises: hardware detecting module, for automatically detecting the configuration information of each hardware device of current computer; Described hardware configuration acquisition module is to obtain the configuration information that described hardware detecting module detects each hardware device obtaining.
Preferably, described device also comprises: module is selected in configuration, for the configuration information of any each hardware device of computing machine of free setting; Described hardware configuration acquisition module is to obtain the configuration information that each hardware device of module setting is selected in described configuration.
Preferably, described device also comprises: power adaptation module, for the computing machine total power consumption calculating according to power consumption calculation module, select the power supply matching.
Preferably, described device also comprises: energy saving calculation module, for the energy saver mode of selecting according to user, from preset database, inquire about lower power consumption data that comprises hardware device of this energy saver mode; And the power consumption data obtaining according to described inquiry, the power consumption of showing selected energy saver mode to user, and/or show to user the power consumption that selected energy saver mode can be saved.
Compared with prior art, the present invention includes following advantage:
The first, the present invention has collected various computer hardware equipments corresponding power consumption data under various configuring conditions in advance, and is stored in database.When user need to understand computing machine power consumption, the present invention can detect the configuration information of each hardware device of computing machine automatically, and then Query Database obtains the power consumption data of each hardware device, and all power consumption data are added the total power consumption that calculates computing machine.This method can help user in the situation that not understanding computer configuration, to obtain fast the power consumption of computer.
In addition, the present invention also can be by the configuration of selected each hardware device of user, and the configuration information of setting according to user calculate total power consumption, facilitate user when choosing computer as a reference.
The second, the present invention, for the relatively-stationary hardware device of power consumption, as mouse, keyboard etc., adopts average power consumption value to calculate; And for the hardware device differing greatly with different its power consumptions of ardware model number, as CPU, hard disk, mainboard etc., Main Basis ardware model number is inquired about corresponding power consumption.
The 3rd, automatically obtaining after computing machine total power consumption, the power supply that user can select power to match according to this power consumption data, or it is selective also the power supply matching directly can be recommended to user, is very easy to user.
The 4th, the present invention can also calculate the saving power consumption under different energy saver modes, facilitates user to select different energy saver modes.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of a kind of computing machine power consumption calculation method described in the embodiment of the present invention;
Fig. 2 is the schematic diagram of applying power consumption calculation in described in the embodiment of the present invention;
Fig. 3 is the schematic diagram of applying power consumption calculation in two described in the embodiment of the present invention;
Fig. 4 is the structural drawing of a kind of computing machine power consumption calculation device described in the embodiment of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
The invention provides a kind of computing machine power consumption calculation method and device, can obtain fast the power consumption of current computer or other any computing machines, and offer user, facilitate user to understand in time the power consumption of own computer, or facilitate user when choosing computer, to understand the power consumption situation under various configurations.
Below by embodiment, be elaborated.
With reference to Fig. 1, it is the process flow diagram of a kind of computing machine power consumption calculation method described in the embodiment of the present invention.
Step 101, obtains the configuration information of each hardware device in computing machine;
Wherein, described configuration information comprises the information such as brand, model, size or size of hardware device, and for example, the configuration of certain computer is as follows:
Processor: the Celeron of Intel (Celeron) D3.20GHz
Mainboard: the 0A48 of Microstar (ATI RS400/200)
Internal memory: 1GB (remember scientific and technological DDR2667MHz/ gold scholar pause DDR2667MHz)
Primary Hard Drive: the HDS721680PLA380 of Hitachi (80GB)
Video card: ATI Radeon Xpress200Series (RC410) (128MB/ Microstar)
Display: the HWP26E0HP w17e of Hewlett-Packard (17.2 inches)
CD-ROM drive: the ATAPI DVD D DH16DYP of Hewlett-Packard DVD drive
Sound card: Realtek ALC862@ATI IXP SB450 HD Audio
Network interface card: Atheros AR5005G Wireless Network Adapter
Step 102, the inquiry power consumption data corresponding with the configuration information of each hardware device from preset database;
The embodiment of the present invention has been collected various computer hardware equipments corresponding power consumption data under various configuring conditions in advance, and this mapping relations of configuration information and power consumption data are stored in database.When carrying out power consumption calculation, if obtained the configuration information of hardware device, just can from database, directly inquire about and obtain corresponding power consumption data.Wherein, described power consumption data is the theoretical power consumption peak value of hardware device under maximum working load.
Concrete, in actual applications, the mapping relations of unit type and the power consumption data of can prestoring in database, if comprise model in the configuration information of the hardware device obtaining, can, according to model preset in database and the mapping relations of power consumption, directly search the power consumption data corresponding with this model.
But, in some configuration information obtaining, do not comprise model, but the information such as some vendor ids, device id, in this case, the mapping relations of also prestored in the database described in the embodiment of the present invention described configuration information (referring to the information such as vendor id, device id) and model.According to these mapping relations, can find the unit type corresponding with the configuration information such as vendor id, device id, and then according to unit type with the mapping relationship searching of power consumption data to corresponding power consumption.
Step 103, is added the power consumption data of each hardware device, calculates computing machine total power consumption.
Obtain, after the power consumption data of each hardware device, being added the total power consumption that can obtain computing machine.
Content based on above-described embodiment, in another preferred embodiment, step 102 further can also comprise following content:
(1) to meeting the hardware device of preset type of hardware, according to the model of described hardware device, from database, search corresponding power consumption data; To not meeting the hardware device of described preset type of hardware, the power consumption data corresponding with the mapping relationship searching of power consumption according to the type of hardware of database initialize.
Wherein, described type of hardware refers to the hardware class such as CPU, hard disk, mainboard, and the model of described hardware device refers to acer0219 model display, the E5300 of Intel processor etc.Conventionally, the hardware of same type all includes Multiple Type.
Described preset type of hardware comprises: the type of hardware that surpasses preset range with different its power consumption difference of ardware model number; Accordingly, the hardware device that does not meet preset type of hardware described in comprises: with the hardware device of different its power consumption differences of ardware model number within described preset range, the i.e. relatively-stationary hardware device of power consumption.
Therefore, for the fixing hardware device of power consumption, can not distinguish ardware model number and adopt average power consumption value, directly search power consumption corresponding with the hardware of the type in database, the average power consumption data that in wherein said database, the power consumption data corresponding with the type hardware device is the type hardware device.For example, for power consumptions such as CD-ROM drive, mouse, keyboards, less and relatively-stationary hardware device, can adopt average power consumption value to calculate.
(2) to meeting the hardware device of preset ardware model number, according to the model of described hardware device, from database, search corresponding power consumption data; To not meeting the hardware device of described preset ardware model number, the power consumption data corresponding with the mapping relationship searching of power consumption according to the type of hardware of database initialize.
Generally, described database only can be listed several conventional models to the hardware of one type, can not list all models, and therefore for the ardware model number having in database, directly Query Database obtains the power consumption corresponding with this model; And for the ardware model number not having in database, can Query Database in the power consumption of hardware of the type, now this power consumption can be the average power consumption of the hardware of the type.For example, the CPU model that can directly inquire in database has tri-kinds of A, B, C, if calculate the power consumption of the CPU that model is D, database provides the average power consumption data of CPU.
Based on above-mentioned power consumption calculation flow process, the embodiment of the present invention provides following two kinds of application:
Application one: the power consumption of calculating current computer
The present embodiment can calculate the power consumption of current computer automatically, detailed process is: the configuration information that first automatically detects each hardware device in current computer, and then execution step 101-103, obtain this hardware detection result, according to this hardware detection result queries database, obtain the power consumption of single hardware device, and the power consumption of single hardware device is added and obtains total power consumption.
Wherein, hardware device is different, and the method that automatically detects configuration information is also different, for example:
If automatically detect the configuration information of CPU, to CPU bottom program, send instruction, in the return data of this instruction, comprised character string information, in this character string information, may comprise type information.
If automatically detect the configuration information of video card, first travel through boards all in computing machine (mainboard, video card, sound card, network interface cards etc. are referred to as board), then find the board (being video card) for showing, read the configuration information (as information such as vendor id, device ids) of this video card.
With reference to Fig. 2, it is the schematic diagram of applying power consumption calculation in described in the embodiment of the present invention.In this figure, demonstrate computing machine main hardware equipment as the specific configuration information of mainboard, processor, video card, hard disk, internal memory, display, and power consumption corresponding to each hardware device and the total power consumption value of total.
The method of this automatic calculating current computer power consumption, can help user to understand more exactly the power consumption situation of computer; And, configuration information and the corresponding power consumption data of without user, searching one by one each hardware device.
Application two: the power consumption of calculating other any computing machines
User also can be according to oneself need to freely select other hardware devices to carry out power consumption calculation according to device type.Detailed process is: the configuration information of each hardware device in any computing machine of first free setting, and then execution step 101-103, obtain each hardware configuration information that user sets, according to the hardware configuration information Query Database of this setting, obtain the power consumption of single hardware device, and the power consumption of single hardware device is added and obtains total power consumption.
With reference to Fig. 3, it is the schematic diagram of applying power consumption calculation in two described in the embodiment of the present invention.For each hardware device, the option that relevant configuration is all provided is freely selected for user, and user's different hardware configuration of can arbitrarily arranging in pairs or groups is calculated the power consumption situation under this configuration.Set up after the configuration of each hardware, click " automatically calculating power consumption " button, on interface, can demonstrate total power consumption value.In Fig. 3, because the configuration of mainboard, processing and video card has not arranged, therefore cannot calculate.
Above-mentioned application two can help user before choosing computer, to understand the power consumption situation under different configurations, to select more suitable computer according to the needs of oneself.
Further, preferred, according to the computing machine total power consumption calculating, can also help user to select the power supply of power match.And the database of all right preset storage computing machine power consumption of system and power supply corresponding relation after calculating computing machine power consumption, is automatically inquired about the power supply matching, and is presented on the interface shown in Fig. 2 or Fig. 3 in this database, recommends user and selects.Wherein, the power information of recommendation can be listed the details such as model, manufacturer, can recommend multiple power sources to select for user priority simultaneously.
Because computer power supply is being brought into play vital effect to the premium properties of a computing machine, whether the operation of machine stablizes depends on matched power supply to a great extent, if buy a powerful power supply, waste a little, if buy a low power power supply, can not meet again need for electricity.And method can help user to choose suitable power supply described in the embodiment of the present invention, thus using electricity wisely.
Preferably, the power consumption calculation method based on above-mentioned, can also calculate the power consumption (or electric weight) of saving to different energy saver modes.Concrete, the energy saver mode of selecting according to user is inquired about lower power consumption data that comprises hardware device of this energy saver mode from preset database; And the power consumption data obtaining according to described inquiry, calculate the power consumption of user-selected energy saver mode, and show to user; And, the power consumption data before starting energy saver mode and after startup energy saver mode is subtracted each other, can obtain the power consumption that user-selected energy saver mode can be saved, and show to user.
Wherein, described energy saver mode can have multiple, as closes the energy saver mode of display, lightens or dim the energy saver mode of display, and the energy saver mode of dormancy/standby starts the pattern of energy-conservation wallpaper, etc.Under different energy saver modes, the hardware starting or the state of hardware are all different.For example closing under the energy saver mode of display, display is closed automatically, now can be from database the power consumption of query display device under starting state, this power consumption data is exactly to close the power consumption of saving under the pattern of display.
Again for example, lightening display and dimming under two kinds of energy saver modes of display, the display brightness of display (i.e. described hardware state) is different, and wherein under a kind of pattern, display is in lightening state, and under another kind of pattern, display is in dimming state.The power consumption of display under different display brightness in Query Database, and compare with the power consumption before starting energy saver mode, just can calculate the power consumption of saving under the energy saver mode of display lightening or dimming.
Content based on said method embodiment, the present invention also provides corresponding device embodiment.
With reference to Fig. 4, it is the structural drawing of a kind of computing machine power consumption calculation device described in the embodiment of the present invention.
Described computing machine power consumption calculation device comprises with lower module:
Hardware configuration acquisition module 41, for obtaining the configuration information of each hardware device of computing machine;
Power consumption enquiry module 42, for the database inquiry power consumption data corresponding with the configuration information of each hardware device from preset;
Power consumption calculation module 43, for the power consumption data of each hardware device is added, calculates computing machine total power consumption.
Wherein, if comprise model in the configuration information of the hardware device that hardware configuration acquisition module 41 obtains, power consumption enquiry module 42 can, according to model preset in database and the mapping relations of power consumption, directly be searched the power consumption data corresponding with this model; But, if do not comprise model in the configuration information obtaining, but the information such as some vendor ids, device id, power consumption enquiry module 42 can be first according to configuration information preset in database (referring to the information such as vendor id, the device id) model corresponding with the mapping relationship searching of model, and then the power consumption data corresponding with the mapping relationship searching of power consumption according to model preset in database.
Further preferred, to meeting the hardware device of preset type of hardware, described power consumption enquiry module 42 is searched corresponding power consumption data according to the model of hardware device from database; To not meeting the hardware device of described preset type of hardware, the power consumption data that described power consumption enquiry module 42 is corresponding with the mapping relationship searching of power consumption according to the hardware device type of database initialize.Wherein, described preset type of hardware comprises: the type of hardware that surpasses preset range with different its power consumption difference of ardware model number; The described hardware device that does not meet preset type of hardware comprises: with the type of hardware of different its power consumption differences of ardware model number within described preset range.For example, for the fixing hardware device of power consumption, in described database, the power consumption data corresponding with the type hardware device is the average power consumption data of the type hardware device.
Further preferred, to meeting the hardware device of preset ardware model number, described power consumption enquiry module 42 is searched corresponding power consumption data according to the model of described hardware device from database; To not meeting the hardware device of described preset ardware model number, the power consumption data that described power consumption enquiry module 42 is corresponding with the mapping relationship searching of power consumption according to the type of hardware of database initialize.
Preferably, if for the application one in said method embodiment, described computing machine power consumption calculation device can also comprise:
Hardware detecting module 44, for automatically detecting the configuration information of each hardware device of current computer;
Accordingly, described hardware configuration acquisition module 41 is to obtain the configuration information that described hardware detecting module 44 detects each hardware device obtaining.
If for the application two in said method embodiment, described computing machine power consumption calculation device can also comprise:
Module 45 is selected in configuration, for the configuration information of any each hardware device of computing machine of free setting;
Accordingly, described hardware configuration acquisition module 41 is to obtain the configuration information that each hardware device of module 45 settings is selected in described configuration.
In actual applications, described device can only comprise hardware detecting module 44 or module 45 is selected in configuration, also can comprise described two modules simultaneously, can be used for applying one and the situation of application two simultaneously.
Further preferred, described computing machine power consumption calculation device can also comprise:
Power adaptation module 46, for the computing machine total power consumption calculating according to power consumption calculation module 43, selects the power supply matching.
Further preferred, described computing machine power consumption calculation device can also comprise:
Energy saving calculation module 47 for the energy saver mode of selecting according to user, is inquired about lower power consumption data that comprises hardware device of this energy saver mode from preset database; And the power consumption data obtaining according to described inquiry, the power consumption of showing selected energy saver mode to user, and/or show to user the power consumption that selected energy saver mode can be saved.
Above-mentioned computing machine power consumption calculation device can be used in numerous general or special purpose computingasystem environment or configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, small-size computer, mainframe computer, comprise distributed computing environment of above any system or equipment etc.
For said apparatus embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, the part of relevant part embodiment of the method shown in Figure 1 illustrates.
In sum, above-mentioned computing machine power consumption calculation device is installed in computing machine, after starting power consumption calculation function, this device meeting is according to the power consumption information of the main hardware equipment of hardware detection result Auto-matching current computer, and demonstration adds up to power consumption calculation value; Or what user also can be according to oneself need to freely select other hardware devices to carry out power consumption calculation according to device type.And this device can also provide the power supply matching recommendation function, for user, select.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.
Above to a kind of computing machine power consumption calculation method provided by the present invention and device, be described in detail, applied specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.

Claims (10)

1. a computing machine power consumption calculation method, is characterized in that, comprising:
Obtain the configuration information of each hardware device in computing machine;
The inquiry power consumption data corresponding with the configuration information of each hardware device from preset database;
The power consumption data of each hardware device is added, calculates computing machine total power consumption.
2. method according to claim 1, is characterized in that, described from preset database the inquiry power consumption data corresponding with the configuration information of each hardware device, comprising:
If comprise model in the configuration information of hardware device, according to model preset in database and the mapping relations of power consumption, directly search the power consumption data corresponding with this model;
Otherwise, first corresponding with the mapping relationship searching of model according to configuration information preset in database model, and then the power consumption data corresponding with the mapping relationship searching of power consumption according to model preset in database.
3. method according to claim 1 and 2, is characterized in that:
To meeting the hardware device of preset type of hardware, according to the model of hardware device, from database, search corresponding power consumption data;
To not meeting the hardware device of described preset type of hardware, the power consumption data corresponding with the mapping relationship searching of power consumption according to the type of hardware of database initialize.
4. method according to claim 3, is characterized in that:
Described preset type of hardware comprises: the type of hardware that surpasses preset range with different its power consumption difference of ardware model number;
The described hardware device that does not meet preset type of hardware comprises: with the type of hardware of different its power consumption differences of ardware model number within described preset range.
5. method according to claim 4, is characterized in that:
For the fixing hardware device of power consumption, the average power consumption data that in described database, the power consumption data corresponding with the type hardware device is the type hardware device.
6. method according to claim 1 and 2, is characterized in that:
To meeting the hardware device of preset ardware model number, according to the model of described hardware device, from database, search corresponding power consumption data;
To not meeting the hardware device of described preset ardware model number, the power consumption data corresponding with the mapping relationship searching of power consumption according to the hardware device type of database initialize.
7. method according to claim 1, is characterized in that, described in obtain the configuration information of each hardware device in computing machine before, also comprise:
Automatically detect the configuration information of each hardware device in current computer;
, be retrieved as the configuration information that obtains each hardware device that described detection obtains.
8. method according to claim 1, is characterized in that, described in obtain the configuration information of each hardware device in computing machine before, also comprise:
The configuration information of each hardware device in any computing machine of free setting;
, be retrieved as the configuration information of each hardware device that obtains described setting.
9. method according to claim 1, is characterized in that, also comprises:
According to the computing machine total power consumption calculating, select the power supply matching.
10. a computing machine power consumption calculation device, is characterized in that, comprising:
Hardware configuration acquisition module, for obtaining the configuration information of each hardware device of computing machine;
Power consumption enquiry module, for the database inquiry power consumption data corresponding with the configuration information of each hardware device from preset;
Power consumption calculation module, for the power consumption data of each hardware device is added, calculates computing machine total power consumption.
CN201310581639.9A 2011-04-01 2011-04-01 Method and device for computing power consumption of computer Pending CN103617111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310581639.9A CN103617111A (en) 2011-04-01 2011-04-01 Method and device for computing power consumption of computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310581639.9A CN103617111A (en) 2011-04-01 2011-04-01 Method and device for computing power consumption of computer

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN2011100827379A Division CN102163170B (en) 2011-04-01 2011-04-01 Method and device for calculating power consumption of computer

Publications (1)

Publication Number Publication Date
CN103617111A true CN103617111A (en) 2014-03-05

Family

ID=50167814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310581639.9A Pending CN103617111A (en) 2011-04-01 2011-04-01 Method and device for computing power consumption of computer

Country Status (1)

Country Link
CN (1) CN103617111A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598188A (en) * 2016-12-15 2017-04-26 郑州云海信息技术有限公司 Method and device for determining system power consumption reference
CN108260190A (en) * 2016-12-29 2018-07-06 大唐移动通信设备有限公司 A kind of method and device of determining base station energy-saving information
CN109709388A (en) * 2019-02-28 2019-05-03 苏州浪潮智能科技有限公司 A kind of input power circuit for detecting
CN111478824A (en) * 2020-03-20 2020-07-31 苏州浪潮智能科技有限公司 Network card power consumption testing method, device and system
CN113467595A (en) * 2021-09-03 2021-10-01 苏州浪潮智能科技有限公司 Four-way server power consumption management device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976925A (en) * 2004-05-14 2007-06-06 沃泰克斯药物股份有限公司 Prodrugs of pyrrolylpyrimidine ERK protein kinase inhibitors
CN101063953A (en) * 2006-04-28 2007-10-31 佛山市顺德区顺达电脑厂有限公司 Estimation method for computer system consumed power
CN101135973A (en) * 2006-08-30 2008-03-05 深圳市研祥智能科技股份有限公司 System and method for automatic installation of device driver

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976925A (en) * 2004-05-14 2007-06-06 沃泰克斯药物股份有限公司 Prodrugs of pyrrolylpyrimidine ERK protein kinase inhibitors
CN101063953A (en) * 2006-04-28 2007-10-31 佛山市顺德区顺达电脑厂有限公司 Estimation method for computer system consumed power
CN101135973A (en) * 2006-08-30 2008-03-05 深圳市研祥智能科技股份有限公司 System and method for automatic installation of device driver

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ARP联盟: "《http://www.arpun.com/soft/7508.html》", 1 December 2010, article "http://www.arpun.com/soft/7508.html" *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598188A (en) * 2016-12-15 2017-04-26 郑州云海信息技术有限公司 Method and device for determining system power consumption reference
CN108260190A (en) * 2016-12-29 2018-07-06 大唐移动通信设备有限公司 A kind of method and device of determining base station energy-saving information
CN108260190B (en) * 2016-12-29 2020-09-04 大唐移动通信设备有限公司 Method and device for determining energy-saving information of base station
CN109709388A (en) * 2019-02-28 2019-05-03 苏州浪潮智能科技有限公司 A kind of input power circuit for detecting
CN111478824A (en) * 2020-03-20 2020-07-31 苏州浪潮智能科技有限公司 Network card power consumption testing method, device and system
CN111478824B (en) * 2020-03-20 2022-04-26 苏州浪潮智能科技有限公司 Network card power consumption testing method, device and system
CN113467595A (en) * 2021-09-03 2021-10-01 苏州浪潮智能科技有限公司 Four-way server power consumption management device
CN113467595B (en) * 2021-09-03 2021-11-05 苏州浪潮智能科技有限公司 Four-way server power consumption management device

Similar Documents

Publication Publication Date Title
US8461725B1 (en) Identification of powered devices for energy saving
US20170031423A1 (en) Optimizing power consumption by dynamic workload adjustment
US9069890B2 (en) Ranking of computing equipment configurations for satisfying requirements of virtualized computing environments based on an overall performance efficiency
CN103617111A (en) Method and device for computing power consumption of computer
KR101362430B1 (en) Moudule for low power gas sensor using mobile terminal and method for gas measuring using the same
US8055887B2 (en) Dynamically updating barcode data
Roberson et al. Energy use and power levels in new monitors and personal computers
CN102368239B (en) A kind of method that installation scheme is recommended automatically and device
CN108228720B (en) Identify method, system, device, terminal and the storage medium of target text content and original image correlation
Lee et al. Appliance recognition and unattended appliance detection for energy conservation
CN102163170B (en) Method and device for calculating power consumption of computer
CN109462495A (en) A kind of ship hardware and communication system detection system and method
Rivoire Models and metrics for energy-efficient computer systems
US10902358B2 (en) Systems and methods for providing and accessing visual product representations of a project
CN109582778A (en) A kind of intelligent answer method, apparatus, equipment and medium
CN103631755B (en) Installing configuration list generation method and device
CN103823729B (en) A kind of upgrading suggesting method and device based on hardware detection
CN103631700A (en) Computer power consumption calculating method
Coles et al. Comparing server energy use and efficiency using small sample sizes
CN109376048A (en) A kind of test method and equipment of touch screen
CN102034138A (en) Managing method of testing equipment
EP2772862B1 (en) Electrical current estimation for electronic devices
CN109784968A (en) Valuation methods, device, storage medium and the mobile terminal of house decoration
CN109507507A (en) Adapter detection method, device, storage medium, test board and detection system
Desroches et al. Computer usage and national energy consumption: Results from a field-metering study

Legal Events

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

Application publication date: 20140305