CN104345858B - Power consumption management method and device, the server of server hardware device - Google Patents

Power consumption management method and device, the server of server hardware device Download PDF

Info

Publication number
CN104345858B
CN104345858B CN201310334990.8A CN201310334990A CN104345858B CN 104345858 B CN104345858 B CN 104345858B CN 201310334990 A CN201310334990 A CN 201310334990A CN 104345858 B CN104345858 B CN 104345858B
Authority
CN
China
Prior art keywords
hardware device
server hardware
information
server
health category
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.)
Active
Application number
CN201310334990.8A
Other languages
Chinese (zh)
Other versions
CN104345858A (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201310334990.8A priority Critical patent/CN104345858B/en
Publication of CN104345858A publication Critical patent/CN104345858A/en
Application granted granted Critical
Publication of CN104345858B publication Critical patent/CN104345858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3268Power saving in hard disk drive

Abstract

The present invention proposes a kind of power consumption management method of server hardware device, including:Obtain the status information of server hardware device;According to the corresponding Health Category information of the state information acquisition server hardware device of server hardware device;And power managed is carried out to server hardware device according to the Health Category information and usage trend information of server hardware device.This method is by obtaining the status information of server hardware device, then corresponding server hardware device Health Category information is obtained, finally the power consumption of server hardware device is managed according to the corresponding Health Category information of server hardware device and usage trend information, i.e. with more fine granularity dispatch server hardware device, improve resource utilization, the traffic lost caused by equipment fault is reduced simultaneously, improves the overall performance and reliability of server.The invention also discloses a kind of power consumption managing device of server hardware device and server.

Description

Power consumption management method and device, the server of server hardware device
Technical field
The present invention relates to field of computer technology, the power consumption management method and dress of more particularly to a kind of server hardware device Put, server.
Background technology
At present, in ultra-large data center, every ten thousand servers are configured for millions of server hardwares and set Standby, in specification, performance, life-span, degree of aging and running environment aspect difference substantially, but do not carry out effective differentiation to it Use, no matter the busy degree of server hardware device, all server hardware devices have all uniformly been turned on and off section Energy pattern, if starting energy-saving pattern, state recovers that operating lag can be increased, and reduces performance, and there are the clothes of incipient fault Business device hardware device, it is also possible to recover time-out or failure;If turned off energy saver mode, when especially loading relatively low, exist bright Aobvious energy consumption is wasted.
The content of the invention
Present invention aims at least solve one of above-mentioned technological deficiency.
Therefore, first purpose of the invention is to propose a kind of power consumption management method of server hardware device, this method By obtaining the status information of server hardware device, corresponding server hardware device Health Category information is then obtained, It is final according to the work(of the corresponding Health Category information of server hardware device and usage trend information to server hardware device Consumption is managed, i.e., with more fine granularity dispatch server hardware device, improves resource utilization, while reducing because equipment fault is led The traffic lost of cause, improves the overall performance and reliability of server.Second purpose of the invention is to propose a kind of server The power consumption managing device of hardware device.3rd purpose of the invention is to propose a kind of server.
To achieve the above object, the power managed side of the server hardware device of embodiment according to a first aspect of the present invention Method, including:Obtain the status information of server hardware device;According to the state information acquisition of the server hardware device The corresponding Health Category information of server hardware device;And the Health Category information according to the server hardware device and make Power managed is carried out to the server hardware device with tendency information.
The power consumption management method of server hardware device according to embodiments of the present invention, first by obtaining server hardware The status information of equipment, and according to corresponding server hardware device health of the state information acquisition of server hardware device etc. Level information, finally sets according to the corresponding Health Category information of server hardware device and usage trend information to server hardware Standby power consumption is managed.Server hardware device is divided energy saver mode grade by this method, makes full use of server hardware to set Standby resource, with the high efficiency and ease for use using server hardware device resource, and reduces server hardware device fault rate And the risk of loss of data, improve the reliability and security of server hardware device data storage.
To achieve the above object, the power managed dress of the server hardware device of embodiment according to a second aspect of the present invention Put, including:State information acquisition module, the status information for obtaining server hardware device;Health Category acquisition of information mould Block, for the corresponding Health Category letter of server hardware device described in the state information acquisition according to the server hardware device Breath;And management module, for the Health Category information and usage trend information according to the server hardware device to described Server hardware device carries out power managed.
The power consumption managing device of server hardware device according to embodiments of the present invention, passes through state information acquisition mould first Block obtains the status information of server hardware device, and the status information further according to server hardware device passes through Health Category information Acquisition module obtains the corresponding Health Category information of server hardware device, finally according to the Health Category of server hardware device Information and usage trend information carry out power managed by management module to server hardware device.The device is by server hardware Equipment divides energy saver mode grade, makes full use of server hardware device resource, with utilization server hardware device resource High efficiency and ease for use, and reduction server hardware device fault rate and the risk of loss of data, improve server hardware and set The reliability and security of standby data storage.
To achieve the above object, the server of embodiment according to a third aspect of the present invention, including described in above-described embodiment Server hardware device power consumption managing device.
Server according to embodiments of the present invention, is believed by the state of the power consumption managing device of server hardware device first The status information that acquisition module obtains server hardware device is ceased, the status information further according to server hardware device passes through service The Health Category data obtaining module of the power consumption managing device of device hardware device obtains corresponding health of server hardware device etc. Level information, finally passes through server hardware device according to the Health Category information and usage trend information of server hardware device The management module of power consumption managing device carries out power managed to server hardware device.The server draws server hardware device Merogenesis energy mode hierarchies, make full use of server hardware device resource, with the high efficiency using server hardware device resource With ease for use, and reduction server hardware device fault rate and loss of data risk, improve server hardware device storage The reliability and security of data.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Aspect of the present invention and/or additional and advantage will become from the following description of the accompanying drawings of embodiments Substantially and be readily appreciated that, wherein:
Fig. 1 is the flow chart of the power consumption management method of server hardware device according to an embodiment of the invention;
Fig. 2 is the flow chart of the power consumption management method of server hardware device in accordance with another embodiment of the present invention;
M- usage trend energy saver mode curve map when Fig. 3 is hard disk;
Fig. 4 is the structured flowchart of the power consumption managing device of server hardware device according to an embodiment of the invention;
Fig. 5 is the structured flowchart of the power consumption managing device of server hardware device in accordance with another embodiment of the present invention; And
Fig. 6 is the structured flowchart of server according to an embodiment of the invention.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.On the contrary, this All changes in the range of spirit and intension that the embodiment of invention includes falling into attached claims, modification and equivalent Thing.
In the description of the invention, it is to be understood that term " first ", " second " etc. be only used for describe purpose, without It is understood that to indicate or imply relative importance.In the description of the invention, it is necessary to which explanation, is provided unless otherwise clear and definite And restriction, term " connected ", " connection " should be interpreted broadly, for example, it may be fixedly connected or be detachably connected, Or be integrally connected;Can be mechanical connection or electrical connection;Can be joined directly together, intermediary can also be passed through It is indirectly connected to.For the ordinary skill in the art, the tool of above-mentioned term in the present invention can be understood with concrete condition Body implication.In addition, in the description of the invention, unless otherwise indicated, " multiple " are meant that two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, represent to include Module, fragment or the portion of the code of one or more executable instructions for the step of realizing specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not be by shown or discussion suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Below with reference to the accompanying drawings power consumption management method and the service of server hardware device according to embodiments of the present invention described The power consumption managing device of device hardware device, and server.
At present, in ultra-large data center, every ten thousand servers are configured for millions of server hardwares and set Standby, in specification, performance, life-span, degree of aging and running environment aspect difference substantially, but do not carry out effective differentiation to it Use, no matter the busy degree of server hardware device, all server hardware devices have all uniformly been turned on and off section Energy pattern, if starting energy-saving pattern, state recovers that operating lag can be increased, and reduces performance, and there are the clothes of incipient fault Business device hardware device, it is also possible to recover time-out or failure;If turned off energy saver mode, when especially loading relatively low, exist bright Aobvious energy consumption is wasted.
Therefore, the present invention proposes a kind of power consumption management method of server hardware device, comprise the following steps:Taken The status information of business device hardware device;It is corresponding strong according to the state information acquisition server hardware device of server hardware device Health class information;And according to the Health Category information and usage trend information of server hardware device to server hardware device Carry out power managed.
Fig. 1 is the flow chart of the power consumption management method of server hardware device according to an embodiment of the invention.
As shown in figure 1, the power consumption management method of server hardware device, including:
S101, obtains the status information of server hardware device.
In one embodiment of the invention, status information includes the configuration specification information of server hardware device, temperature One or more in information, life information, fault message, and load information.For example, status information may include the magnetic of disk The configuration such as head, servo, motor and medium specification information, running log and I O error information etc..Thus, status information is improved Diversity.
Specifically, by taking SATA hard disc as an example, status information includes the configuration specification information, temperature information, longevity of SATA hard disc Order information, fault message, and load information etc..For example, hard disc magnetic head is the critical component that hard disk reads data, it main Effect is exactly that the magnetic information that will be stored on hard disc is converted into electric signal and outwards transmitted, and its operation principle is then to utilize The data that the resistance value of special material can be read and write on disc with the principle of changes of magnetic field, the quality of hard disc magnetic head is in very great Cheng The storage density of hard disc is decide on degree, and for example, dangerous power-off number of times is the failure letter of hard disk for hard disk Breath.
It is understood that acquisition is only the state letter for obtaining server hardware device for the status information of SATA hard disc Server hardware device in the status information of acquisition server hardware device in the example of breath, the embodiment of the present invention is not limited to Can also be other server hardware devices for the example above of SATA hard disc.
In one embodiment of the invention, server hardware device is hard disk, CPU, internal memory.Thus, service is improved The diversity of device hardware device.
S102, believes according to the corresponding Health Category of the state information acquisition server hardware device of server hardware device Breath.
In one embodiment of the invention, Health Category information includes the first Health Category information to the 5th Health Category Information, the first Health Category information to the 5th Health Category information corresponds to multiple default recovery times respectively.Thus, improve and obtain The accuracy of the Health Category information of the server hardware device taken.
In one embodiment of the invention, according to the state information acquisition server hardware device of server hardware device Corresponding Health Category information specifically includes following steps:First, according to the status information of server hardware device and default mould Type distinguishes the healthy weight of calculation server hardware device, wherein, preset model is obtained by machine learning, specifically, is passed through Acquisition to multiple server hardware device status informations, analysis obtains corresponding formula or calculates sample, further passes through machine Device constantly is verified to obtain preset model;Then, according to the healthy weight of server hardware device and multiple default recovery times Determine the corresponding Health Category information of server hardware device.Thus, the corresponding health of acquisition server hardware device is improved The accuracy of class information.
S103, believes according to the corresponding usage trend of the state information acquisition server hardware device of server hardware device Breath.
Specifically, usage trend information is estimate out according to the status information of server hardware device.
S104, enters according to the Health Category information and usage trend information of server hardware device to server hardware device Row power managed.
The power consumption management method of server hardware device according to embodiments of the present invention, first by obtaining server hardware The status information of equipment, and according to corresponding server hardware device health of the state information acquisition of server hardware device etc. Level information, finally sets according to the corresponding Health Category information of server hardware device and usage trend information to server hardware Standby power consumption is managed.Server hardware device is divided energy saver mode grade by this method, makes full use of server hardware to set Standby resource, with the high efficiency and ease for use using server hardware device resource, and reduces server hardware device fault rate And the risk of loss of data, improve the reliability and security of server hardware device data storage.
Fig. 2 is the flow chart of the power consumption management method of server hardware device in accordance with another embodiment of the present invention.
As shown in Fig. 2 the power consumption management method of server hardware device, including:
S201, obtains the status information of server hardware device.
In one embodiment of the invention, status information includes the configuration specification information of server hardware device, temperature One or more in information, life information, fault message, and load information.For example, status information may include the magnetic of disk The configuration such as head, servo, motor and medium specification information, running log and I O error information etc..Thus, status information is improved Diversity.
Specifically, by taking SATA hard disc as an example, status information includes the configuration specification information, temperature information, longevity of SATA hard disc Order information, fault message, and load information etc..For example, hard disc magnetic head is the critical component that hard disk reads data, it main Effect is exactly that the magnetic information that will be stored on hard disc is converted into electric signal and outwards transmitted, and its operation principle is then to utilize The data that the resistance value of special material can be read and write on disc with the principle of changes of magnetic field, the quality of hard disc magnetic head is in very great Cheng The storage density of hard disc is decide on degree, and for example, dangerous power-off number of times is the failure letter of hard disk for hard disk Breath.
It is understood that acquisition is only the state letter for obtaining server hardware device for the status information of SATA hard disc Server hardware device in the status information of acquisition server hardware device in the example of breath, the embodiment of the present invention is not limited to Can also be other server hardware devices for the example above of SATA hard disc.
In one embodiment of the invention, server hardware device is hard disk, CPU, internal memory.Thus, service is improved The diversity of device hardware device.
S202, believes according to the corresponding Health Category of the state information acquisition server hardware device of server hardware device Breath.
In one embodiment of the invention, Health Category information includes the first Health Category information to the 5th Health Category Information, the first Health Category information to the 5th Health Category information corresponds to multiple default recovery times respectively.Thus, improve and obtain The accuracy of the Health Category information of the server hardware device taken.
In one embodiment of the invention, according to the state information acquisition server hardware device of server hardware device Corresponding Health Category information specifically includes following steps:First, according to the status information of server hardware device and default mould Type distinguishes the healthy weight of calculation server hardware device, wherein, preset model is obtained by machine learning, specifically, is passed through Acquisition to multiple server hardware device status informations, analysis obtains corresponding formula or calculates sample, further passes through machine Device constantly is verified to obtain preset model;Then, according to the healthy weight of server hardware device and multiple default recovery times Determine the corresponding Health Category information of server hardware device.Thus, the corresponding health of acquisition server hardware device is improved The accuracy of class information.
S203, the Power Saving Class of server hardware device is determined according to the Health Category information of server hardware device, and The energy saver mode for determining server hardware device according to usage trend information starts time point and energy saver mode end time point.
Specifically, usage trend information is estimate out according to the status information of server hardware device.
In one embodiment of the invention, server hardware device has different Power Saving Class.Thus, improve and obtain Obtain the accuracy of server hardware device Power Saving Class.
In one embodiment of the invention, usage trend information is united by the history of server hardware device using data Meter is obtained.Thus, the ease for use and accuracy for obtaining usage trend information are improved.
In one embodiment of the invention, usage trend information is obtained by the historical data statistics of server hardware device Following steps must be specifically included:First, the history for obtaining server hardware device uses data;According to server hardware device History uses the corresponding usage trend information of data acquisition server hardware device;And according to the use of server hardware device Tendency information carries out power managed to hard disk.Thus, improve is made by the historical data statistics of server hardware device With the accuracy of tendency information.
S204, time point and energy saver mode end time point are started to server hardware according to Power Saving Class, energy saver mode Equipment carries out Energy Saving Control.
The power consumption management method of server hardware device according to embodiments of the present invention, first by obtaining server hardware The status information of equipment, and according to corresponding server hardware device health of the state information acquisition of server hardware device etc. Level information, finally determines the Power Saving Class of server hardware device, and root according to the Health Category information of server hardware device Determine that the energy saver mode of server hardware device starts time point and energy saver mode end time point according to usage trend information, and Energy Saving Control is carried out to server hardware device according to three.Server hardware device is divided energy saver mode grade by this method, Server hardware device resource is made full use of, with the high efficiency and ease for use using server hardware device resource, and is reduced Server hardware device fault rate and the risk of loss of data, improve the reliability and peace of server hardware device data storage Quan Xing.
In order that the advantage for obtaining present invention method is more obvious, it is exemplified below.
The status information of server hardware device is obtained first, wherein, by taking SATA hard disc as an example, status information includes SATA Configuration specification information, temperature information, life information, the fault message of hard disk, and load information etc..For example, hard disc magnetic head is Hard disk reads the critical component of data, and its main function is exactly that the magnetic information that will be stored on hard disc is converted into electric signal Outwards transmission, and its operation principle is then that can read and write disc with the principle of changes of magnetic field using the resistance value of special material On data, the quality of hard disc magnetic head largely decides the storage density of hard disc, and for example, for hard disk Dangerous power-off number of times is the fault message of hard disk.
It is understood that acquisition is only the state letter for obtaining server hardware device for the status information of SATA hard disc Server hardware device in the status information of acquisition server hardware device in the example of breath, the embodiment of the present invention is not limited to Can also be other server hardware devices for the example above of SATA hard disc.
Further, then by using the status information of hard disk, the preset model obtained is trained to be asked to machine learning Ask prediction to obtain, the healthy weight of hard disk is then calculated respectively according to the status information and preset model of hard disk, according to hard disk Healthy weight and multiple default recovery times determine the corresponding Health Category information of hard disk.
As shown in Table 1:
Table one
Specifically, Health Category information includes the first Health Category information to the 5th Health Category information, the first health etc. Level information to the 5th Health Category information corresponds to multiple default recovery times respectively.Wherein, different Health Category information correspondence Different energy saver modes with saving power consumption.For example:First Health Category information, that is, had occurred and that or detected failure, extensive The multiple time<10ms, energy saver mode uses idle pulley Performance Idle, and it is 30.7% to save power consumption;Second Health Category Information, i.e., very likely occur or minor failure, recovery time in the recent period<70ms, energy saver mode uses free time _ A (Idle_A), section Energy power consumption is 37%;3rd Health Category information, i.e., obvious aging or hydraulic performance decline, recovery time<310ms, energy saver mode is used Free time _ B (Idle_B), energy-conservation power consumption is 41.9%;4th Health Category information, i.e., slight aging or performance are decreased slightly as, recovery time <4000ms, energy saver mode is taken (Idle_C/Standby_Y) using free time _ C and/or by Y, and energy-conservation power consumption is 62.6%;5th Health Category information, i.e. performance, reliability are good, recovery time<9000ms, energy saver mode uses and takes (Standby_ by Z Z), energy-conservation power consumption is 91.9%.Above-mentioned table causes hard disk health status, recovery time, saves power consumption and the mesh of energy saver mode one So.
Further illustrated to more fully understand with the power consumption management method with server hardware device, citing.
As shown in figure 3, the when m- usage trend energy saver mode curve map of hard disk.
Work(is carried out to server hardware device according to the Health Category information and usage trend information of server hardware device Consumption management is specifically included:The Power Saving Class of server hardware device is determined according to the Health Category information of server hardware device, And determine that the energy saver mode of server hardware device starts time point and energy saver mode end time point according to usage trend information; And server hardware device is saved according to Power Saving Class, energy saver mode startup time point and energy saver mode end time point It can control, wherein, usage trend information is obtained by the history of server hardware device using data statistics, for example:Hard disk History dutycycle duty cycle, the history work download workload of hard disk, the history canned data amount of hard disk, hard disk Historical time is stabbed and the history such as the cold and hot degree of history of hard disk obtains usage trend information using data statistics, according to using becoming Gesture information determines that the energy saver mode of server hardware device starts time point and energy saver mode end time point.For example:At 12 points When, the history work download workload of hard disk declines, in time energy-conservation, into energy saver mode, you can be considered as energy saver mode and open Dynamic time point, then server energy consumption also substantially reduction therewith;At 21, before I/O Request arrival, recover in time, you can regard For energy saver mode end time point, and at 21, the history work download workload of hard disk rises, then server energy consumption Also substantially rise therewith.
Further, when the hard disk for different Health Category information returns to the recovery of serviceable condition from energy saver mode Between be also what is differed.For example:As shown in Table 1, hence it is evident that the energy saver mode that the hard disk of aging or hydraulic performance decline is used is free time _ B (Idle_B), recovery time is<310ms, the energy saver mode that the good hard disk of performance, reliability is used is is taken by Z (Standby_Z), recovery time is<9000ms, it can be seen that, the recovery time of the good hard disk of performance and reliability is more than bright The recovery time of the hard disk of being old for one's age or hydraulic performance decline, so not only it is possible to prevente effectively from the hard disk of aging switches because of energy saver mode The situation that the increase and incipient fault for bringing recovery time occur, can also effectively raise and make Health Category information good Hard disk enters the high efficiency of deeper power consumption mode.
The preset model that this method is obtained according to the status information of hard disk and by machine learning calculates hard disk respectively Healthy weight;And healthy weight according to hard disk and default recovery time determine the Health Category information of hard disk, finally Power managed is carried out to hard disk according to the Health Category information and usage trend information of hard disk.This method is to make full use of hard disk to provide Source, and with the high efficiency and ease for use using hard disk resources, and hard disk failure rate and the risk of loss of data are reduced, raising is deposited Store up the reliability and security of data.
To achieve these goals, the invention also provides a kind of power consumption managing device of server hardware device.
The power consumption managing device of server hardware device, including:State information acquisition module, for obtaining server hardware The status information of equipment;Health Category data obtaining module, for the state information acquisition service according to server hardware device The corresponding Health Category information of device hardware device;And management module, for being believed according to the Health Category of server hardware device Breath and usage trend information carry out power managed to server hardware device.
Fig. 4 is the structured flowchart of the power consumption managing device according to one embodiment of the invention server hardware device.
As shown in figure 4, the power consumption managing device 400 of server hardware device, including:State information acquisition module 410, is good for Health class information acquisition module 420, usage trend data obtaining module 430 and management module 440.
Specifically, state information acquisition module 410 is used for the status information for obtaining server hardware device.
In one embodiment of the invention, status information includes the configuration specification information of server hardware device, temperature One or more in information, life information, fault message, and load information.For example, status information may include the magnetic of disk The configuration such as head, servo, motor and medium specification information, running log and I O error information etc..Thus, status information is improved Diversity.
Specifically, by taking SATA hard disc as an example, status information includes the configuration specification information, temperature information, longevity of SATA hard disc Order information, fault message, and load information etc..For example, hard disc magnetic head is the critical component that hard disk reads data, it main Effect is exactly that the magnetic information that will be stored on hard disc is converted into electric signal and outwards transmitted, and its operation principle is then to utilize The data that the resistance value of special material can be read and write on disc with the principle of changes of magnetic field, the quality of hard disc magnetic head is in very great Cheng The storage density of hard disc is decide on degree, and for example, dangerous power-off number of times is the failure letter of hard disk for hard disk Breath.
It is understood that acquisition is only the state letter for obtaining server hardware device for the status information of SATA hard disc Server hardware device in the status information of acquisition server hardware device in the example of breath, the embodiment of the present invention is not limited to Can also be other server hardware devices for the example above of SATA hard disc.
In one embodiment of the invention, server hardware device is hard disk, CPU, internal memory.Thus, service is improved The diversity of device hardware device.
Health Category data obtaining module 420 is used for the state information acquisition server hardware according to server hardware device The corresponding Health Category information of equipment.
In one embodiment of the invention, Health Category information includes the first Health Category information to the 5th Health Category Information, the first Health Category information to the 5th Health Category information corresponds to multiple default recovery times respectively.Thus, improve and obtain The accuracy of the Health Category information of the server hardware device taken.
In one embodiment of the invention, Health Category information module 420 also includes computing unit 4201(Do not show in figure Go out)The right of health of calculation server hardware device is distinguished for the status information according to server hardware device and preset model Weight, wherein, preset model is obtained by machine learning, specifically, by the acquisition to server hardware device status information, point Analysis obtains corresponding formula or calculates sample, further constantly verifies to obtain preset model by machine, then passes through first Determining unit 4202(Not shown in figure), it is true for the healthy weight according to server hardware device and multiple default recovery times Determine the corresponding Health Category information of server hardware device.Thus, corresponding health of acquisition server hardware device etc. is improved The accuracy of level information.
Usage trend data obtaining module 430 is used for the state information acquisition server hardware according to server hardware device The corresponding usage trend information of equipment, i.e., be to estimate out according to the status information of server hardware device using tendency information 's;And management module 440 is used for Health Category information and usage trend information according to server hardware device to server Hardware device carries out power managed.
In one embodiment of the invention, server hardware device has different Power Saving Class.Thus, improve and obtain Obtain the accuracy of server hardware device Power Saving Class.
In one embodiment of the invention, management module 440 also includes the second determining unit 4401(Not shown in figure), Power Saving Class for determining server hardware device according to the Health Category information of server hardware device, and according to using becoming Gesture information determines that the energy saver mode of server hardware device starts time point and energy saver mode end time point;Then control is passed through Unit 4402(Not shown in figure), for starting time point and energy saver mode end time point according to Power Saving Class, energy saver mode Energy Saving Control is carried out to server hardware device.Thus, improve to count by the historical data of server hardware device and obtain The accuracy of usage trend information.
The power consumption managing device of server hardware device according to embodiments of the present invention, passes through state information acquisition mould first Block obtains the status information of server hardware device, and the status information further according to server hardware device passes through Health Category information Acquisition module obtains the corresponding Health Category information of server hardware device, finally according to the Health Category of server hardware device Information and usage trend information carry out power managed by management module to server hardware device.The device is by server hardware Equipment divides energy saver mode grade, makes full use of server hardware device resource, with utilization server hardware device resource High efficiency and ease for use, and reduction server hardware device fault rate and the risk of loss of data, improve server hardware and set The reliability and security of standby data storage.
Fig. 5 is the structured flowchart of the power consumption managing device of server hardware device according to a further embodiment of the invention.
As shown in figure 5, the power consumption managing device 400 of server hardware device, in addition to:Statistical module 450.
Statistical module 450 is used to obtain usage trend information using data statistics by the history of server hardware device.
In one embodiment of the invention, statistical module 450 also includes:History uses data capture unit 4501(Figure Not shown in)History for obtaining server hardware device uses data;Usage trend information acquisition unit 4502(In figure not Show)For being believed according to the history of server hardware device using the corresponding usage trend of data acquisition server hardware device Breath, i.e., be estimate out according to the status information of server hardware device using tendency information;And power management unit 4503(Not shown in figure)Power managed is carried out to hardware device for the usage trend information according to server hardware device.
The power consumption managing device of server hardware device according to embodiments of the present invention, passes through state information acquisition mould first Block obtains the status information of server hardware device, and the status information further according to server hardware device passes through Health Category information Acquisition module obtains the corresponding Health Category information of server hardware device, finally according to the Health Category of server hardware device The usage trend information that information and statistical module are obtained carries out power managed by management module to server hardware device.The dress Put and server hardware device is divided into energy saver mode grade, make full use of server hardware device resource, with utilizing server The high efficiency and ease for use of hardware device resources, and reduction server hardware device fault rate and the risk of loss of data, are improved The reliability and security of server hardware device data storage.
Fig. 6 is the structured flowchart according to one embodiment of the invention server.
As shown in fig. 6, server 500, includes the power consumption managing device 400 of the server hardware device of above-described embodiment.
Server according to embodiments of the present invention, is believed by the state of the power consumption managing device of server hardware device first The status information that acquisition module obtains server hardware device is ceased, the status information further according to server hardware device passes through service The Health Category data obtaining module of the power consumption managing device of device hardware device obtains corresponding health of server hardware device etc. Level information, finally passes through server hardware device according to the Health Category information and usage trend information of server hardware device The management module of power consumption managing device carries out power managed to server hardware device.The server draws server hardware device Merogenesis energy mode hierarchies, make full use of server hardware device resource, with the high efficiency using server hardware device resource With ease for use, and reduction server hardware device fault rate and loss of data risk, improve server hardware device storage The reliability and security of data.
Any process described otherwise above or method description are construed as in flow chart or herein, represent to include Module, fragment or the portion of the code of one or more executable instructions for the step of realizing specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not be by shown or discussion suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.Represent in flow charts or logic described otherwise above herein And/or step, for example, the order list of the executable instruction for realizing logic function is considered, can be specifically real In present any computer-readable medium, for instruction execution system, device or equipment(Such as computer based system including The system of processor or other can be from the system of instruction execution system, device or equipment instruction fetch and execute instruction)Use, or Used with reference to these instruction execution systems, device or equipment.For the purpose of this specification, " computer-readable medium " can be appointed What can include, store, communicating, propagating or transmission procedure is for instruction execution system, device or equipment or with reference to these instructions Execution system, device or equipment and the device used.The more specifically example of computer-readable medium(Non-exhaustive list)Bag Include following:Electrical connection section with one or more wirings(Electronic installation), portable computer diskette box(Magnetic device), deposit at random Access to memory(RAM), read-only storage(ROM), erasable edit read-only storage(EPROM or flash memory), optical fiber Device, and portable optic disk read-only storage(CDROM).It can be beaten in addition, computer-readable medium can even is that thereon The paper or other suitable media of described program are printed, because can be connect for example by carrying out optical scanner to paper or other media Into edlin, interpretation or handled electronically to obtain described program if necessary with other suitable methods, then will It is stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, the software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array(PGA), scene Programmable gate array(FPGA)Deng.
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried Rapid to can be by program to instruct the hardware of correlation to complete, described program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing module, can also That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.The integrated module is such as Fruit is realized using in the form of software function module and as independent production marketing or in use, can also be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means to combine specific features, structure, material or the spy that the embodiment or example are described Point is contained at least one embodiment of the present invention or example.In this manual, to the schematic representation of above-mentioned term not Necessarily refer to identical embodiment or example.Moreover, specific features, structure, material or the feature of description can be any One or more embodiments or example in combine in an appropriate manner.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment is example Property, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art is not departing from the principle and objective of the present invention In the case of above-described embodiment can be changed within the scope of the invention, change, replace and modification.The scope of the present invention Extremely equally limited by appended claims.

Claims (19)

1. a kind of power consumption management method of server hardware device, it is characterised in that including:
Obtain the status information of server hardware device;
The corresponding Health Category information of the server hardware device according to the state information acquisition of the server hardware device; And
The corresponding usage trend information of the server hardware device according to the state information acquisition of the server hardware device; And
The server hardware device is entered according to the Health Category information and usage trend information of the server hardware device Row power managed;
The corresponding Health Category of the server hardware device according to the state information acquisition of the server hardware device Information further comprises:
The strong of the server hardware device is calculated according to the status information and preset model of the server hardware device respectively Kang Quanchong;And
The server hardware device is determined according to the healthy weight of the server hardware device and multiple default recovery times Corresponding Health Category information.
2. the method as described in claim 1, it is characterised in that the preset model is to be obtained by machine learning.
3. the method as described in claim 1, it is characterised in that the configuration that the status information includes server hardware device is advised One or more in lattice information, temperature information, life information, fault message, and load information.
4. the method as described in claim 1, it is characterised in that the Health Category information includes the first Health Category information extremely 5th Health Category information, the first Health Category information to the 5th Health Category information corresponds to multiple described pre- respectively If recovery time.
5. the method as described in claim 1, it is characterised in that wherein, the server hardware device has different energy-conservations Grade.
6. the method as described in claim 1, it is characterised in that the Health Category information according to server hardware device and Usage trend information carries out power managed to the server hardware device and further comprised:
The Power Saving Class of the server hardware device is determined according to the Health Category information of server hardware device, and according to institute State usage trend information and determine that the energy saver mode of the server hardware device starts time point and energy saver mode end time point; And
Time point is started according to the Power Saving Class, the energy saver mode and energy saver mode end time point is hard to the server Part equipment carries out Energy Saving Control.
7. the method as described in claim 1, it is characterised in that the usage trend information passes through the server hardware device History obtained using data statistics.
8. method as claimed in claim 7, it is characterised in that the usage trend information passes through the server hardware device History obtained using data statistics, further comprise:
The history for obtaining the server hardware device uses data;
Described in the server hardware device according to the history of the server hardware device uses data acquisition is corresponding Usage trend information;And
Power managed is carried out to the hardware device according to the usage trend information of the server hardware device.
9. the method as described in claim any one of 1-8, it is characterised in that the server hardware device be hard disk, CPU, Internal memory.
10. a kind of power consumption managing device of server hardware device, it is characterised in that including:
State information acquisition module, the status information for obtaining server hardware device;
Health Category data obtaining module is hard for server described in the state information acquisition according to the server hardware device The corresponding Health Category information of part equipment;
Usage trend data obtaining module is hard for server described in the state information acquisition according to the server hardware device The corresponding usage trend information of part equipment;And
Management module, for the Health Category information and usage trend information according to the server hardware device to the service Device hardware device carries out power managed;
The Health Category data obtaining module, including:
Computing unit, the server is calculated for the status information and preset model according to the server hardware device respectively The healthy weight of hardware device;And
First determining unit, institute is determined for the healthy weight according to the server hardware device and multiple default recovery times State the corresponding Health Category information of server hardware device.
11. device as claimed in claim 10, it is characterised in that the preset model is to be obtained by machine learning.
12. device as claimed in claim 10, it is characterised in that the status information includes the configuration of server hardware device One or more in specification information, temperature information, life information, fault message, and load information.
13. device as claimed in claim 10, it is characterised in that the Health Category information includes the first Health Category information To the 5th Health Category information, the first Health Category information to the 5th Health Category information corresponds to multiple described respectively Default recovery time.
14. device as claimed in claim 10, it is characterised in that wherein, the server hardware device has different sections Can grade.
15. device as claimed in claim 10, it is characterised in that the management module, including:
Second determining unit, the server hardware device is determined for the Health Category information according to server hardware device Power Saving Class, and determine that the energy saver mode of the server hardware device starts time point and section according to the usage trend information Can pattern end time point;And
Control unit, for starting time point and energy saver mode end time point according to the Power Saving Class, the energy saver mode Energy Saving Control is carried out to the server hardware device.
16. device as claimed in claim 10, it is characterised in that also include:
Statistical module, obtains the usage trend using data statistics for the history by the server hardware device and believes Breath.
17. device as claimed in claim 16, it is characterised in that the statistical module, in addition to:
History uses data capture unit, and the history for obtaining the server hardware device uses data;
Usage trend information acquisition unit, for being used according to the history of the server hardware device described in data acquisition The corresponding usage trend information of server hardware device;And
Power management unit, enters for the usage trend information according to the server hardware device to the hardware device Row power managed.
18. the device as described in claim any one of 10-17, it is characterised in that the server hardware device be hard disk, CPU, internal memory.
19. a kind of server, it is characterised in that including the server hardware device as described in claim any one of 10-18 Power consumption managing device.
CN201310334990.8A 2013-08-02 2013-08-02 Power consumption management method and device, the server of server hardware device Active CN104345858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310334990.8A CN104345858B (en) 2013-08-02 2013-08-02 Power consumption management method and device, the server of server hardware device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310334990.8A CN104345858B (en) 2013-08-02 2013-08-02 Power consumption management method and device, the server of server hardware device

Publications (2)

Publication Number Publication Date
CN104345858A CN104345858A (en) 2015-02-11
CN104345858B true CN104345858B (en) 2017-08-18

Family

ID=52501675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310334990.8A Active CN104345858B (en) 2013-08-02 2013-08-02 Power consumption management method and device, the server of server hardware device

Country Status (1)

Country Link
CN (1) CN104345858B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9910481B2 (en) * 2015-02-13 2018-03-06 Intel Corporation Performing power management in a multicore processor
CN107967173A (en) * 2016-10-20 2018-04-27 阿里巴巴集团控股有限公司 A kind of methods, devices and systems of scheduling of resource
CN106502865A (en) * 2016-11-02 2017-03-15 郑州云海信息技术有限公司 Power consumption dynamic trend analysis method and device based on frequent Sensor monitoring
CN109522176B (en) * 2017-09-20 2022-10-28 阿里巴巴集团控股有限公司 Monitoring method and device of storage system, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7669064B2 (en) * 1997-05-13 2010-02-23 Micron Technology, Inc. Diagnostic and managing distributed processor system
CN102063327A (en) * 2010-12-15 2011-05-18 中国科学院深圳先进技术研究院 Application service scheduling method with power consumption consciousness for data center
CN103092316A (en) * 2013-01-22 2013-05-08 浪潮电子信息产业股份有限公司 Server power consumption management system based on data mining
CN103139007A (en) * 2011-12-05 2013-06-05 阿里巴巴集团控股有限公司 Method and system for detecting application server performance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7669064B2 (en) * 1997-05-13 2010-02-23 Micron Technology, Inc. Diagnostic and managing distributed processor system
CN102063327A (en) * 2010-12-15 2011-05-18 中国科学院深圳先进技术研究院 Application service scheduling method with power consumption consciousness for data center
CN103139007A (en) * 2011-12-05 2013-06-05 阿里巴巴集团控股有限公司 Method and system for detecting application server performance
CN103092316A (en) * 2013-01-22 2013-05-08 浪潮电子信息产业股份有限公司 Server power consumption management system based on data mining

Also Published As

Publication number Publication date
CN104345858A (en) 2015-02-11

Similar Documents

Publication Publication Date Title
CA2741088C (en) Methods of achieving cognizant power management
CN104346221B (en) Server hardware device grade classification, schedule management method and device, server
CN104345858B (en) Power consumption management method and device, the server of server hardware device
CN102483646B (en) Altering performance of computational units heterogeneously according to performance sensitivity
CN104700886B (en) Memory circuit with power supply status sensor
US10519960B2 (en) Fan failure detection and reporting
US9122528B2 (en) Energy conservation and hardware usage management for data centers
US20090037162A1 (en) Datacenter workload migration
CN110425694A (en) High-speed rail intelligence station Heating,Ventilating and Air Conditioning efficiency based on PHM controls management method
CN103018545B (en) Whole cabinet power consumption test method
CN103576835A (en) Data manipulation method and device for sleep disk
CN105487959A (en) Method for managing intel NVMe hard disk
CN107420336A (en) A kind of high reliability fan control device and method based on server
CN103793310A (en) Method for monitoring server main board in real time
CN102110040A (en) Method of BMC for adjusting CPU alarm temperature based on CPUs with different powers
CN102662822B (en) Load monitoring device and load monitoring method
CN102953255B (en) Washing machine and dewatering control method and system of washing machine
CN103870379A (en) Fan abnormity alarming system and method
CN104660440A (en) Blade server management system and control method thereof
CN104344621A (en) Oil returning control method and oil returning control device for refrigerating system
CN103984588B (en) Virtual machine migration method based on temperature and system thereof
CN105571060A (en) Humidifier as well as detecting method and device for dry combustion of humidifier
CN107506286A (en) CPU and memory block automatically upper inserting method and system
CN103336574A (en) Energy-saving control method and device of data center
CN107943654A (en) A kind of method of quick determining server environmental temperature monitoring abnormal cause

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