CN105929923A - Management method and apparatus for power of power supply - Google Patents

Management method and apparatus for power of power supply Download PDF

Info

Publication number
CN105929923A
CN105929923A CN201610261028.XA CN201610261028A CN105929923A CN 105929923 A CN105929923 A CN 105929923A CN 201610261028 A CN201610261028 A CN 201610261028A CN 105929923 A CN105929923 A CN 105929923A
Authority
CN
China
Prior art keywords
hard disk
power
powers
power supply
peak
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610261028.XA
Other languages
Chinese (zh)
Other versions
CN105929923B (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201610261028.XA priority Critical patent/CN105929923B/en
Publication of CN105929923A publication Critical patent/CN105929923A/en
Application granted granted Critical
Publication of CN105929923B publication Critical patent/CN105929923B/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a management method and apparatus for power of a power supply. The method comprises the steps of detecting an environmental temperature of the power supply and a total quantity of hard disks in place; according to a relationship between the environmental temperature of the power supply and the total power of the power supply, determining the maximum rated power of the power supply at the environmental temperature; determining the residual rated power of the power supply according to a difference value between the maximum rated power of the power supply and current system power consumption; controlling the hard disks to be powered on in batches according to the peak power required by enabling a single hard disk to be powered on and a quantity of residual non-powered-on hard disks in the residual rated power range of the power supply, wherein the quantity of the residual non-powered-on hard disks is determined according to a difference value between the total quantity of the hard disks in place and a quantity of powered-on hard disks; and/or, controlling running and stopping of each functional module of a system in the residual rated power range of the power supply. Therefore, with the adoption of the scheme, the power of the power supply can be managed for protecting case power and enabling the system to stably run.

Description

The management method of a kind of power and device
Technical field
The present invention relates to field of computer technology, particularly to management method and the device of a kind of power.
Background technology
Existing power supply Managed Solution mainly has the most several:
1, periodic square wave is produced with NE555 (NE555 is 8 foot time-base integrated circuits) and resistance capacitance, The time that electric capacity is charged by the cycle of square wave by resistance determines.Switching signal distribution module is by 74HC164 (74HCT164 is 8 edge trigger shift registers) shift register forms, and receives cycle square wave (mos pipe is metal (metal)-oxide to control MOS below at Q0-8 output high level the most successively (oxid)-quasiconductor (semiconductor) field-effect transistor) conducting realize timesharing electricity.
The deficiency of the program is: only can perform according to pre-set mode, such as: between 4 pieces of hard disks Start every timesharing in 2 seconds and start successively.Electric sequence and startup time are fixed, and high-power hard disk may cause nothing Method starts, and system cannot be optimized and overload protection according to real time environment temperature.
2, using and can the power distribution unit of time-sharing power be controlled, this power distribution unit is substantially The wiring board that a kind of Time-sharing control powers on, is used primarily in Industry Control, as Fig. 1 can the power supply of time-sharing power Allocation unit circuit diagram, by single-chip microcomputer as logic control element, needs user to input timesharing interval ginseng Number.
The deficiency of the program is: need user to be manually entered timesharing spacing parameter, does not possess detection in real time Feedback, and user to input parameter the most right, the potential risk caused also cannot be known.Additionally the program can not be certainly Dynamic academic environment state, not intelligence.
3, the method using server time-sharing power in large-scale cluster, the method is mainly used in cluster The management of server, system administration pre-set machine room general power, unit type, plant capacity, group with After group starts time interval information, calculate residue rated power when system is run, then calculate and can meet M Station server one group startup, at set time intervals according to the startup a group by a group of M platform, until knot Bundle.
The deficiency of the program is: in maintenance during more exchange device, needs professional again to debug, it is impossible to Automatically facility for study status information.
As seen from the above analysis, the time-sharing power pattern of prior art is substantially fixing, and can not Whether real-time detecting system exists overload situations, will not be according to ambient conditions self adaptation, so at concrete practice In actually can not meet reality need, illustrate existing with the hard disk storage devices of 16 dish positions below Produced problem in scheme enforcement.
The most each hard disk rated power is 8W, according to 100% design of Reducing Rating.
Typically, when choosing source nominal power, about 50w, power supply to be added on the basis of complete machine is fully loaded with power consumption General power=8*16*200%+50W=306W, selects 350W chassis power supply according to result of calculation, and timesharing sets It is calculated as 4 hard disks one group and is spaced startup in 2 seconds.
Assume that a project employs Seagate 6T enterprise-level hard disk, start 9 seconds time, starting current 2.8A. 4 hard disks one group are set and are spaced startup in 2 seconds, then after 6 seconds, system power to all of hard disk, can Individually to calculate hard disk power consumption according to Fig. 2 current curve diagram.
As it can be seen, peak point current is 45A, then, peak power=45A*12V=540W, so, On the premise of not plus the power of mainboard and other electricity consumption modules, chassis power supply has carried 154%.
The most then damaging the chassis power supply life-span for situation above causes instability, heavy then apparatus overload to open Machine, can only allow maintainer scene do over again amendment timesharing interval could solve this problem.
If not doing time-sharing power, then more powerful power supply must be selected, can make in system operation Become unnecessary power dissipation and the increase of cost.If machine has more dish position, then waste degree will Cannot imagine.
From above-mentioned, prior art exists following not enough: storage device chassis power supply is generally by developer Calculate power to be equipped with experience according to demand and then type selecting determines scheme.System boot, run, shutdown etc. Process all can perform according to pre-set mode, but hard disk power on startup is steady Time qualitative more than 3-5 times, and all increasing along with hard-disk capacity increases normally startup time and power, Running into system power when cannot meet hard disk or external equipment, this may result in system and cannot be started up even Burn out.
Summary of the invention
The invention provides management method and the device of a kind of power, in order to by management power Protect chassis power supply and make system stable operation.
The embodiment of the present invention provides the management method of a kind of power, including:
Detect the ambient temperature of power supply and the total quantity that hard disk is in place;
Ambient temperature according to described power supply and the relation of power supply general power, determine power supply under this ambient temperature Maximum rated power;
Maximum rated power and the difference of current system power dissipation according to described power supply determine power supply residue Determine power;
Power on required peak power with surplus according to single hard disk in described power supply residue rated operating range The Yu Wei hard disk quantity that powers on controls hard disk and powers in batches, and wherein, the described residue hard disk quantity that do not powers on is basis The difference of hard disk total quantity in place and the quantity of the hard disk that powered on determines;And/or, remain at described power supply The operation of each functional module of rated operating range controlling system and closedown.
It is preferred that single hard disk powers on, required peak power determines according to parameter preset;
Or, the single hard disk required peak power that powers on is the actually used peak power after powering on according to hard disk Determine.
It is preferred that the actually used peak after powering on according to hard disk in described power supply residue rated operating range The single hard disk that value power determines powers on required peak power and remains the hard disk quantity control hard disk that do not powers on Power in batches, including:
Detect the peak power after several hard disk powers on, and when the peak power of hard disk revert to stable operation The time used by power;
According to the hard disk quantity powered on and peak power determine each hard disk power on after actually used its peak work Rate;
By the described time used, remaining hard disk is powered on, wherein, after powering on according to each hard disk in batches Actually used peak power and often pull on the peak power after every batch of hard disk determining of hard disk quantity of electricity powers on In described power supply residue rated operating range;
Or,
Detect the peak power after several hard disk powers on, and the peak power of detection hard disk revert to the most Stable operation;
According to the hard disk quantity powered on and peak power determine each hard disk power on after actually used its peak work Rate;
When the peak power of upper batch hard disk revert to stable operation, remaining hard disk is powered in batches, wherein, Actually used peak power after powering on according to each hard disk and often pull on that the hard disk quantity of electricity determines every batch Hard disk power on after peak power described power supply residue rated operating range in.
It is preferred that during peak power after detecting several hard disks and powering on, detection is power in the first batch several Hard disk power on after peak power.
It is preferred that determine on single hard disk according to parameter preset in described power supply residue rated operating range Peak power needed for electricity powers on remaining the hard disk quantity control hard disk that do not powers in batches, including:
Determine the default hard disk quantity every time powered on and the time interval powered on;
According to the default hard disk quantity powered on and powering on every time in described power supply residue rated operating range Time interval power on to hard disk, wherein, if residue does not powers on, hard disk quantity is less than the hard disk number that powers on every time Amount, then power on to the residue hard disk that do not powers on.
The embodiment of the present invention provides the managing device of a kind of power, including:
Detection module, for detecting the ambient temperature of power supply and hard disk quantity hard disk in place sum in place Amount;
First determines module, for the ambient temperature according to described power supply and the relation of power supply general power, determines The maximum rated power of power supply under this ambient temperature;
Second determines module, for the maximum rated power according to described power supply and the difference of current system power dissipation Value determines that power supply remains rated power;
Control module, for powering on required according to single hard disk in described power supply residue rated operating range Peak power powers on remaining the hard disk quantity control hard disk that do not powers in batches, and wherein, described residue does not powers on firmly Dish quantity is that the difference of the quantity of the total quantity in place according to hard disk and the hard disk that powered on determines;And/or, The operation of the described power supply residue each functional module of rated operating range controlling system and closedown.
It is preferred that control module, it is further used for determining that single hard disk powers on required peak according to parameter preset Value power;Or, the actually used peak power after powering on according to hard disk determines that single hard disk powers on required peak Value power.
It is preferred that control module, it is further used in described power supply residue rated operating range according to hard disk The required peak power that powers on the single hard disk that actually used peak power after powering on determines does not goes up with residue Electricity hard disk quantity controls hard disk and powers in batches, including:
Detect the peak power after several hard disk powers on, and when the peak power of hard disk revert to stable operation The time used by power;
According to the hard disk quantity powered on and peak power determine each hard disk power on after actually used its peak work Rate;
By the described time used, remaining hard disk is powered on, wherein, after powering on according to each hard disk in batches Actually used peak power and often pull on the peak power after every batch of hard disk determining of hard disk quantity of electricity powers on In described power supply residue rated operating range;
Or,
Detect the peak power after several hard disk powers on, and the peak power of detection hard disk revert to the most Stable operation;
According to the hard disk quantity powered on and peak power determine each hard disk power on after actually used its peak work Rate;
When the peak power of upper batch hard disk revert to stable operation, remaining hard disk is powered in batches, wherein, Actually used peak power after powering on according to each hard disk and often pull on that the hard disk quantity of electricity determines every batch Hard disk power on after peak power described power supply residue rated operating range in.
It is preferred that control module, when being further used for the peak power after detecting several hard disks and powering on, inspection Survey is the peak power after the several hard disks powered in the first batch power on.
It is preferred that control module, it is further used in described power supply residue rated operating range according to presetting The single hard disk of parameter determination powers on required peak power and does not powers on hard disk quantity control hard disk in batches with remaining Power on, including:
Determine the default hard disk quantity every time powered on and the time interval powered on;
According to the default hard disk quantity powered on and powering on every time in described power supply residue rated operating range Time interval power on to hard disk, wherein, if residue does not powers on, hard disk quantity is less than the hard disk number that powers on every time Amount, then power on to the residue hard disk that do not powers on.
The present invention has the beneficial effect that:
In the technical scheme that the embodiment of the present invention provides, due to the ambient temperature according to power supply and power supply total work The relation of rate determines the maximum rated power of power supply under this ambient temperature, again according to the maximum of described power supply The difference determining power and current system power dissipation determines power supply residue rated power, at described power supply residue The power determining to power on required according to single hard disk in power bracket controls hard disk and powers in batches, it is possible to avoid because Hard disk startup peak power is excessive and dump power deficiency causes chassis power supply to transship;At described power supply residue Determine operation and the closedown of each functional module of power bracket controlling system, it is possible to make the rising when ambient temperature When causing power supply peak power to reduce, ensure system by the operation of each functional module of control system with closing Stable operation.Therefore, this programme is used can to protect chassis power supply by management power and make system Stable operation.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes of the present invention Point, the schematic description and description of the present invention is used for explaining the present invention, is not intended that to the present invention not Work as restriction.In the accompanying drawings:
Fig. 1 is can the power distribution unit circuit diagram of time-sharing power in background technology;
Fig. 2 is current curve diagram in background technology;
Fig. 3 is the management method implementing procedure schematic diagram of power in the embodiment of the present invention;
Fig. 4 is that in the embodiment of the present invention, the management method of power is embodied as schematic flow sheet;
Fig. 5 is the managing device structural representation of power in the embodiment of the present invention.
Detailed description of the invention
The embodiment of the present invention proposes the management method of a kind of power, in order to be protected by management power Protect chassis power supply and make system stable operation, below in conjunction with the accompanying drawings the detailed description of the invention of the present invention being said Bright.
Fig. 3 is the management method implementing procedure schematic diagram of power, as it can be seen, can include walking as follows Rapid:
Step 301, the ambient temperature of detection power supply and and hard disk total quantity in place;
Step 302, according to the ambient temperature of described power supply and the relation of power supply general power, determine this environment temperature The maximum rated power of the lower power supply of degree;
Step 303, determine electricity according to the maximum rated power of described power supply and the difference of current system power dissipation Source residue rated power;
Step 304, power on required peak value according to single hard disk in described power supply residue rated operating range Power and the residue hard disk quantity that do not powers on controls hard disk and powers in batches, and wherein, described residue does not powers on hard disk number Amount is that the difference of the quantity of the total quantity in place according to hard disk and the hard disk that powered on determines;And/or, described The operation of the power supply residue each functional module of rated operating range controlling system and closedown.
For the enforcement of step 301, existing scheme increases temperature sensor, use temperature sensor to receive The ambient temperature of collection chassis power supply.
For the enforcement of step 302, chassis power supply rated power and temperature have homologous thread relation, general factory The chamber of commerce provides homologous thread or form.According to study to ambient temperature value and this curve or form may determine that The maximum rated power of power supply under this ambient temperature.
For step 304 powers on required according to single hard disk in described power supply residue rated operating range What peak power control hard disk powered in batches is embodied as being described below:
First detection hard disk is in bit quantity, carries out following concrete calculating according to hard disk in bit quantity.
In enforcement, the single hard disk required peak power that powers on determines according to parameter preset;Or, single The hard disk required peak power that powers on is that the actually used peak power after powering on according to hard disk determines.
Concrete, the single hard disk required peak power that powers on both can select default peak power value, also Actually used peak power value after the hard disk obtained by study can be selected to power on.
First determine that single hard disk powers on in described power supply residue rated operating range according to parameter preset Required peak power control hard disk powers in batches and illustrates.
In enforcement, in described power supply residue rated operating range, determine that single hard disk powers on according to parameter preset Required peak power powers on remaining the hard disk quantity control hard disk that do not powers in batches, including:
Determine the default hard disk quantity every time powered on and the time interval powered on, or, determine default single Hard disk powers on required peak power;
According to the default hard disk quantity powered on and powering on every time in described power supply residue rated operating range Time interval or the default single hard disk required peak power that powers on power on to hard disk, wherein, if residue The hard disk quantity that do not powers on less than the hard disk quantity that powers on every time, then powers on to the residue hard disk that do not powers on.
Concrete, be first according to parameter preset (parameter preset be the hard disk quantity every time powered on and power on time Between be spaced) power on to hard disk;Then power supply residue rated power is calculated, if power supply residue rated power foot To start next group hard disk, power on to hard disk again according to parameter preset, until whole hard disks have powered on.
Or can also be according to parameter preset (single hard disk power on required peak power) and remaining power supply volume Determine the quantity that power calculation next group hard disk powers on, if to be sufficiently great to initiate next group hard for power supply residue rated power Dish, powers on to hard disk again according to parameter preset, until whole hard disks have powered on.
It follows that to the actually used merit after powering on according to hard disk in described power supply residue rated operating range The single hard disk that rate determines power on required power and residue do not power on hard disk quantity control hard disk power in batches Illustrate.
Actually used power in enforcement, after powering on according to hard disk in described power supply residue rated operating range The power that the single hard disk determined powers on required controls hard disk and powers in batches, including:
Detect the peak power after several hard disk powers on, and when the peak power of hard disk revert to stable operation The time used by power;
According to the hard disk quantity powered on and peak power determine each hard disk power on after actually used power;
By the described time used, remaining hard disk is powered on, wherein, after powering on according to each hard disk in batches Actually used power and often pull on the peak power after every batch of hard disk determining of hard disk quantity of electricity powers in institute State in power supply residue rated operating range;
Or,
Detect the peak power after several hard disk powers on, and the peak power of detection hard disk revert to the most Stable operation;
According to the hard disk quantity powered on and peak power determine each hard disk power on after actually used its peak work Rate;
When the peak power of upper batch hard disk revert to stable operation, remaining hard disk is powered in batches, wherein, Actually used peak power after powering on according to each hard disk and often pull on that the hard disk quantity of electricity determines every batch Hard disk power on after peak power described power supply residue rated operating range in.
In enforcement, during peak power after detecting several hard disks and powering on, detection is power in the first batch several Hard disk power on after peak power.
In being embodied as, by study to several hard disks power on after peak power and the hard disk quantity that powers on Determine each hard disk power on after actually used power, in a usual machine, hard disk kind is just as , therefore, each hard disk power on after actually used power=several hard disks power on after peak power/power on Hard disk quantity.Common, several hard disks of study power on after peak power be power in the first batch several firmly Dish power on after peak power.
Using study to the peak power of hard disk revert to stable operation time power used by time as firmly The time interval that dish powers on, when powering on to remaining hard disk by this time interval, first remains according to power supply in batches Actually used peak power after remaining rated power and each hard disk power on calculates what lower batch needs powered on Hard disk quantity, powers on at timed intervals the hard disk of this batch, after having powered on, if power supply residue is specified Power is sufficiently great to initiate next group same number hard disk, then continue to power on, directly to next group hard disk at timed intervals Power on to whole hard disks.
Or, the peak power of detection hard disk has revert to stable operation, the most when the peak value of upper batch hard disk When power revert to stable operation, power on to remaining hard disk in batches.First rated power is remained according to power supply Actually used peak power after powering on each hard disk calculates the hard disk quantity that lower batch needs to power on, and Whether the peak power of detection hard disk returns and has arrived stable operation, when the peak power of upper batch hard disk revert to During stable operation, power on to the hard disk of this batch, after having powered on, continue to remain rated power according to power supply Actually used peak power after powering on each hard disk calculates the hard disk quantity that lower batch needs to power on, and The peak power again detecting hard disk has revert to stable operation the most, when the peak power of upper batch hard disk is returned When being grouped into stable operation, power on to next group hard disk, until whole hard disks have powered on.
For step 304 remains the fortune of each functional module of rated operating range controlling system at described power supply Row with closedown be embodied as be described below:
After all hard disks all power on, sending out a signal to master control borad CPU, to inform that hard disk powers on complete, Inquiry behavior can be carried out.During system is properly functioning, monitor ambient temperature and the system merit of chassis power supply in real time Consumption, the ambient temperature value arrived according to study, and, the homologous thread relation of chassis power supply rated power and temperature May determine that the maximum rated power of power supply under this ambient temperature, then according to the maximum rated power of power supply and Real time power consumption calculates power supply residue rated power.Send when the power supply calculated remains specified underpower Signal informs that CPU, CPU carry out the operational analysis of each functional module after receiving information, and according to analyzing knot Fruit shifts or closes some disk or the business of module (such as hard disk, aerator), is simultaneously emitted by alarm letter Number notify user, close corresponding electricity consumption functional module, to reduce power consumption until general power amount does not exceeds standard, protect Card system stable operation.
In order to be more clearly understood that this programme, illustrate with instantiation below.
Continuing to illustrate as a example by the hard disk storage devices of 16 dish positions, continuing the total rated power of selection is The chassis power supply of 350W.Assume that 16 dishes are all in place, quantity n=16, item 1-16.Fig. 4 is power supply merit The management method of rate is embodied as schematic flow sheet, for the specific implementation method of this programme as it can be seen, can To comprise the steps:
Step 401, system power supply access, and start to initialize;
Step 402, reading hard disk information in place, ambient temperature information and chassis power supply are equipped with information;Tool Body, detection hard disk information in place is that 16 dishes are all in place, quantity n=16, and item 1-16 is passed by temperature It is t=25 degree that sensor collects chassis power supply ambient temperature, and it is the most specified for being equipped with that chassis power supply is equipped with information Power is the chassis power supply of P=350W;
Step 403, the maximum rated power of the power supply calculated under this ambient temperature, and give the merit in addition to hard disk Can module power on;When ambient temperature is 25 degree, actual maximum output rated power is P1=P*T*l, wherein, T is output power of power supply and variations in temperature parameter, and general manufacturer can provide homologous thread or form;L is Fall volume uses percentage ratio, and usually 75%~80%, can be calculated P1=280W;
Step 404, reading current power consumption value, calculate residue rated power;After assuming to power on, mainboard power consumption is 40W, then remain specified power P 2=P1-40=240W;
Step 405, judge whether start learning model, if so, proceed to step 410, if it is not, proceed to step Rapid 406;
Step 406, startup preset mode, proceed to step 407;
Step 407, loading parameter preset, the hard disk quantity the most every time powered on and the time interval powered on;
Step 408, power on to hard disk according to parameter preset;Hard disk is given in power supply residue rated operating range Power on;
Step 409, judge whether whole hard disk has powered on, if so, proceed to step 416, if it is not, turn Enter step 408;
Step 410, based on experience value give a small amount of hard disk first power on;Based on experience value, hard disk maximum starts electricity Stream I < 2.8A, each hard disk power=3A*12V=36W.The quantity that at most once powers on is 240/36=6.6, I.e. 6 hard disks, then power on first to 1-6 hard disk;
Step 411, recording disk start peak power, properly functioning power and peak power and revert to surely The time used by power when surely running;Concrete, calculate hard disk startup peak power P3, duration t2, Properly functioning power P 4;
Step 412, calculating residue rated power and next group hard disk startup power peak;Concrete, next Criticize the actually used power * after hard disk startup power peak=each hard disk powers on and often pull on the quantity of electricity hard disk, Each hard disk power on after actually used power=6 hard disk power on after peak power/6, often pull on electricity hard disk Quantity=remain the actually used power after the specified each hard disk of power P 5/ powers on;
Step 413, judge next group hard disk startup power peak whether less than residue rated power, if so, Proceed to step 414, if it is not, proceed to step 415;
Step 414, power on to the hard disk of this batch;
Step 415, judge whether whole hard disk has powered on, if so, proceed to step 416, if it is not, turn Enter step 412;
The ambient temperature of step 416, in real time monitoring chassis power supply and system power dissipation;
Step 417, judge whether general power exceeds standard, if so, proceed to step 418, if it is not, proceed to step 416;
Step 418, send the signal that exceeds standard and inform CPU;
Step 419, CPU carry out the operational analysis of each functional module after receiving information, and according to analysis result Shift or close some disk or the business of module (such as hard disk, aerator), being simultaneously emitted by warning signal Notify user;
Step 420, judge whether to need closing function module, if so, proceed to step 421, if it is not, turn Enter step 416;
Step 421, the corresponding electricity consumption functional module of closedown, proceed to step 416.
Preset mode for step 406, it is assumed that detect that hard disk quantity is 6, and divide in different groups, Also can disposably power on, being substantially reduced start is the time, in turn ensure that the stability of power supply.
Based on same inventive concept, the embodiment of the present invention additionally provides the managing device of a kind of power, Owing to the principle of these equipment solution problem is similar to the management method of a kind of power, therefore these equipment Enforcement may refer to the enforcement of method, repeat no more in place of repetition.
Fig. 5 is the managing device structural representation of power, as it can be seen, may include that in device
Detection module 501, for detecting the ambient temperature of power supply and the total quantity that hard disk is in place;
First determines module 502, for the ambient temperature according to described power supply and the relation of power supply general power, Determine the maximum rated power of power supply under this ambient temperature;
Second determines module 503, for the maximum rated power according to described power supply and current system power dissipation Difference determine power supply remain rated power;
Control module 504, for powering on institute according to single hard disk in described power supply residue rated operating range The peak power needed powers on remaining the hard disk quantity control hard disk that do not powers in batches, and wherein, described residue does not goes up Electricity hard disk quantity is that the difference of the quantity of the total quantity in place according to hard disk and the hard disk that powered on determines;With/ Or, in operation and the closedown of the described power supply residue each functional module of rated operating range controlling system.
In enforcement, control module, can be also used for further determining that single hard disk powers on institute according to parameter preset The peak power needed;Or, the actually used peak power after powering on according to hard disk determines that single hard disk powers on institute The peak power needed.
In enforcement, control module, can be also used for root in described power supply residue rated operating range further The single hard disk that actually used peak power after powering on according to hard disk determines powers on required peak power with surplus Yu Wei power on hard disk quantity control hard disk power in batches, including:
Detect the peak power after several hard disk powers on, and when the peak power of hard disk revert to stable operation The time used by power;
According to the hard disk quantity powered on and peak power determine each hard disk power on after actually used its peak work Rate;
By the described time used, remaining hard disk is powered on, wherein, after powering on according to each hard disk in batches Actually used peak power and often pull on the peak power after every batch of hard disk determining of hard disk quantity of electricity powers on In described power supply residue rated operating range;
Or,
Detect the peak power after several hard disk powers on, and the peak power of detection hard disk revert to the most Stable operation;
According to the hard disk quantity powered on and peak power determine each hard disk power on after actually used its peak work Rate;
When the peak power of upper batch hard disk revert to stable operation, remaining hard disk is powered in batches, wherein, Actually used peak power after powering on according to each hard disk and often pull on that the hard disk quantity of electricity determines every batch Hard disk power on after peak power described power supply residue rated operating range in.
In enforcement, control module, can be also used for further detecting the peak power after several hard disks power on Time, detection is the peak power after the several hard disks powered in the first batch power on.
In enforcement, control module, can be also used for root in described power supply residue rated operating range further Determine that single hard disk powers on required peak power and do not powers on the control of hard disk quantity firmly with remaining according to parameter preset Dish powers in batches, including:
Determine the default hard disk quantity every time powered on and the time interval powered on;
According to the default hard disk quantity powered on and powering on every time in described power supply residue rated operating range Time interval power on to hard disk, wherein, if residue does not powers on, hard disk quantity is less than the hard disk number that powers on every time Amount, then power on to the residue hard disk that do not powers on.
In sum, in the technical scheme that the embodiment of the present invention provides, due to the ambient temperature according to power supply The maximum rated power of power supply under this ambient temperature is determined, again according to described electricity with the relation of power supply general power The maximum rated power in source and the difference of current system power dissipation determine power supply residue rated power, described The power powering on required according to single hard disk in power supply residue rated operating range controls hard disk and powers in batches, energy Enough avoid because hard disk startup peak power is excessive and dump power deficiency causes chassis power supply to transship;Described The operation of the power supply residue each functional module of rated operating range controlling system and closedown, it is possible to make to work as environment When the rising of temperature causes power supply peak power to reduce, by operation and the closedown of each functional module of control system Ensure system stable operation.Therefore, this programme is used can to protect cabinet electricity by management power Source and make system stable operation.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more Computer-usable storage medium containing computer usable program code (include but not limited to disk memory and Optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification without deviating from the present invention's to the present invention Spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and etc.
Within the scope of technology, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. the management method of a power, it is characterised in that including:
Detect the ambient temperature of power supply and the total quantity that hard disk is in place;
Ambient temperature according to described power supply and the relation of power supply general power, determine power supply under this ambient temperature Maximum rated power;
Maximum rated power and the difference of current system power dissipation according to described power supply determine power supply residue Determine power;
Power on required peak power with surplus according to single hard disk in described power supply residue rated operating range The Yu Wei hard disk quantity that powers on controls hard disk and powers in batches, and wherein, the described residue hard disk quantity that do not powers on is basis The difference of hard disk total quantity in place and the quantity of the hard disk that powered on determines;And/or, remain at described power supply The operation of each functional module of rated operating range controlling system and closedown.
Method the most according to claim 1, it is characterised in that single hard disk powers on required peak value Power determines according to parameter preset;
Or, the single hard disk required peak power that powers on is the actually used peak power after powering on according to hard disk Determine.
Method the most according to claim 2, it is characterised in that remain rated power at described power supply In the range of power on according to hard disk after the single hard disk that determines of actually used peak power power on required peak value Power powers on remaining the hard disk quantity control hard disk that do not powers in batches, including:
Detect the peak power after several hard disk powers on, and when the peak power of hard disk revert to stable operation The time used by power;
According to the hard disk quantity powered on and peak power determine each hard disk power on after actually used its peak work Rate;
By the described time used, remaining hard disk is powered on, wherein, after powering on according to each hard disk in batches Actually used peak power and often pull on the peak power after every batch of hard disk determining of hard disk quantity of electricity powers on In described power supply residue rated operating range;
Or,
Detect the peak power after several hard disk powers on, and the peak power of detection hard disk revert to the most Stable operation;
According to the hard disk quantity powered on and peak power determine each hard disk power on after actually used its peak work Rate;
When the peak power of upper batch hard disk revert to stable operation, remaining hard disk is powered in batches, wherein, Actually used peak power after powering on according to each hard disk and often pull on that the hard disk quantity of electricity determines every batch Hard disk power on after peak power described power supply residue rated operating range in.
Method the most according to claim 3, it is characterised in that after the several hard disks of detection power on During peak power, detection is the peak power after the several hard disks powered in the first batch power on.
Method the most according to claim 2, it is characterised in that remain rated power at described power supply In the range of determine that single hard disk powers on required peak power and residue does not powers on hard disk number according to parameter preset Amount controls hard disk and powers in batches, including:
Determine the default hard disk quantity every time powered on and the time interval powered on;
According to the default hard disk quantity powered on and powering on every time in described power supply residue rated operating range Time interval power on to hard disk, wherein, if residue does not powers on, hard disk quantity is less than the hard disk number that powers on every time Amount, then power on to the residue hard disk that do not powers on.
6. the managing device of a power, it is characterised in that including:
Detection module, for detecting the ambient temperature of power supply and the total quantity that hard disk is in place;
First determines module, for the ambient temperature according to described power supply and the relation of power supply general power, determines The maximum rated power of power supply under this ambient temperature;
Second determines module, for the maximum rated power according to described power supply and the difference of current system power dissipation Value determines that power supply remains rated power;
Control module, for powering on required according to single hard disk in described power supply residue rated operating range Peak power powers on remaining the hard disk quantity control hard disk that do not powers in batches, and wherein, described residue does not powers on firmly Dish quantity is that the difference of the quantity of the total quantity in place according to hard disk and the hard disk that powered on determines;And/or, The operation of the described power supply residue each functional module of rated operating range controlling system and closedown.
Device the most according to claim 6, it is characterised in that control module, is further used for root Determine that single hard disk powers on required peak power according to parameter preset;Or, the actual institute after powering on according to hard disk Determine that single hard disk powers on required peak power by peak power.
Device the most according to claim 7, it is characterised in that control module, is further used for The list that actually used peak power after powering on according to hard disk in described power supply residue rated operating range determines Individual hard disk power on required peak power and residue do not power on hard disk quantity control hard disk power in batches, including:
Detect the peak power after several hard disk powers on, and when the peak power of hard disk revert to stable operation The time used by power;
According to the hard disk quantity powered on and peak power determine each hard disk power on after actually used its peak work Rate;
By the described time used, remaining hard disk is powered on, wherein, after powering on according to each hard disk in batches Actually used peak power and often pull on the peak power after every batch of hard disk determining of hard disk quantity of electricity powers on In described power supply residue rated operating range;
Or,
Detect the peak power after several hard disk powers on, and the peak power of detection hard disk revert to the most Stable operation;
According to the hard disk quantity powered on and peak power determine each hard disk power on after actually used its peak work Rate;
When the peak power of upper batch hard disk revert to stable operation, remaining hard disk is powered in batches, wherein, Actually used peak power after powering on according to each hard disk and often pull on that the hard disk quantity of electricity determines every batch Hard disk power on after peak power described power supply residue rated operating range in.
Device the most according to claim 8, it is characterised in that control module, is further used for When detecting the peak power after several hard disk powers on, detection is the peak after the several hard disks powered in the first batch power on Value power.
Device the most according to claim 7, it is characterised in that control module, is further used for Determine that single hard disk powers on required its peak work according to parameter preset in described power supply residue rated operating range Rate powers on remaining the hard disk quantity control hard disk that do not powers in batches, including:
Determine the default hard disk quantity every time powered on and the time interval powered on;
According to the default hard disk quantity powered on and powering on every time in described power supply residue rated operating range Time interval power on to hard disk, wherein, if residue does not powers on, hard disk quantity is less than the hard disk number that powers on every time Amount, then power on to the residue hard disk that do not powers on.
CN201610261028.XA 2016-04-25 2016-04-25 A kind of management method and device of power Active CN105929923B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610261028.XA CN105929923B (en) 2016-04-25 2016-04-25 A kind of management method and device of power

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610261028.XA CN105929923B (en) 2016-04-25 2016-04-25 A kind of management method and device of power

Publications (2)

Publication Number Publication Date
CN105929923A true CN105929923A (en) 2016-09-07
CN105929923B CN105929923B (en) 2018-12-07

Family

ID=56837048

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610261028.XA Active CN105929923B (en) 2016-04-25 2016-04-25 A kind of management method and device of power

Country Status (1)

Country Link
CN (1) CN105929923B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789108A (en) * 2016-12-06 2017-05-31 迈普通信技术股份有限公司 A kind of communication equipment and its method for managing power supply
CN106933322A (en) * 2017-03-10 2017-07-07 联想(北京)有限公司 A kind of many hard disks act the control method and device for turning
CN107749796A (en) * 2017-12-06 2018-03-02 锐捷网络股份有限公司 The output power distribution method and device of PoE system
CN108549477A (en) * 2018-03-28 2018-09-18 联想(北京)有限公司 A kind of power regulating method and electronic equipment
CN109358742A (en) * 2018-10-30 2019-02-19 郑州云海信息技术有限公司 A kind of hard disk array power supply circuit and control method
CN110442222A (en) * 2019-07-08 2019-11-12 新华三技术有限公司成都分公司 Hard disk electrification control method and device
CN111090324A (en) * 2019-11-08 2020-05-01 苏州浪潮智能科技有限公司 Method, equipment and medium for off-peak power-up of server hard disk
CN112230755A (en) * 2020-09-30 2021-01-15 新华三云计算技术有限公司 Power management method, device, equipment and machine-readable storage medium
CN113805963A (en) * 2021-09-07 2021-12-17 北京中电兴发科技有限公司 Multi-node blade server step-by-step power-on method suitable for low-power supply
CN113835507A (en) * 2021-09-27 2021-12-24 苏州浪潮智能科技有限公司 Server and hard disk power-on control system and method thereof
CN113933579A (en) * 2021-09-01 2022-01-14 新华三信息安全技术有限公司 Power-on method of power module and electronic equipment
CN114643865A (en) * 2020-12-18 2022-06-21 长城汽车股份有限公司 Power-on method and device and automobile

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101221423A (en) * 2007-01-12 2008-07-16 台达电子工业股份有限公司 Power management system and method
CN101441506A (en) * 2007-11-20 2009-05-27 中兴通讯股份有限公司 Blade server system and power consumption management method thereof
US20110302435A1 (en) * 2009-02-17 2011-12-08 Qingyin Fang Power management method and apparatus, and power supply system
CN102314380A (en) * 2010-07-02 2012-01-11 鸿富锦精密工业(深圳)有限公司 Multi-hardware start control system and method
US20130227314A1 (en) * 2009-05-13 2013-08-29 Microsoft Corporation Integrating energy budgets for power management
CN104008019A (en) * 2014-06-13 2014-08-27 浪潮集团有限公司 Method for automatically distributing server power supply power in blade server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101221423A (en) * 2007-01-12 2008-07-16 台达电子工业股份有限公司 Power management system and method
CN101441506A (en) * 2007-11-20 2009-05-27 中兴通讯股份有限公司 Blade server system and power consumption management method thereof
US20110302435A1 (en) * 2009-02-17 2011-12-08 Qingyin Fang Power management method and apparatus, and power supply system
US20130227314A1 (en) * 2009-05-13 2013-08-29 Microsoft Corporation Integrating energy budgets for power management
CN102314380A (en) * 2010-07-02 2012-01-11 鸿富锦精密工业(深圳)有限公司 Multi-hardware start control system and method
CN104008019A (en) * 2014-06-13 2014-08-27 浪潮集团有限公司 Method for automatically distributing server power supply power in blade server

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789108A (en) * 2016-12-06 2017-05-31 迈普通信技术股份有限公司 A kind of communication equipment and its method for managing power supply
CN106933322A (en) * 2017-03-10 2017-07-07 联想(北京)有限公司 A kind of many hard disks act the control method and device for turning
CN107749796A (en) * 2017-12-06 2018-03-02 锐捷网络股份有限公司 The output power distribution method and device of PoE system
CN108549477A (en) * 2018-03-28 2018-09-18 联想(北京)有限公司 A kind of power regulating method and electronic equipment
CN109358742A (en) * 2018-10-30 2019-02-19 郑州云海信息技术有限公司 A kind of hard disk array power supply circuit and control method
CN110442222A (en) * 2019-07-08 2019-11-12 新华三技术有限公司成都分公司 Hard disk electrification control method and device
CN111090324A (en) * 2019-11-08 2020-05-01 苏州浪潮智能科技有限公司 Method, equipment and medium for off-peak power-up of server hard disk
WO2021088425A1 (en) * 2019-11-08 2021-05-14 苏州浪潮智能科技有限公司 Method for staggered powering-on of server hard disks, device, and medium
CN112230755A (en) * 2020-09-30 2021-01-15 新华三云计算技术有限公司 Power management method, device, equipment and machine-readable storage medium
CN114643865A (en) * 2020-12-18 2022-06-21 长城汽车股份有限公司 Power-on method and device and automobile
CN114643865B (en) * 2020-12-18 2024-04-26 长城汽车股份有限公司 Power-on method and device and automobile
CN113933579A (en) * 2021-09-01 2022-01-14 新华三信息安全技术有限公司 Power-on method of power module and electronic equipment
CN113805963A (en) * 2021-09-07 2021-12-17 北京中电兴发科技有限公司 Multi-node blade server step-by-step power-on method suitable for low-power supply
CN113835507A (en) * 2021-09-27 2021-12-24 苏州浪潮智能科技有限公司 Server and hard disk power-on control system and method thereof
CN113835507B (en) * 2021-09-27 2023-08-04 苏州浪潮智能科技有限公司 Server and hard disk power-on control system and method thereof

Also Published As

Publication number Publication date
CN105929923B (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN105929923A (en) Management method and apparatus for power of power supply
CN109522054B (en) Data center energy consumption equipment scheduling method and device
CN102687094B (en) Processing method and appliance for multi-power supply
US10466729B2 (en) Power supply system, power management, apparatus, power management method, and power management program
US11003239B2 (en) Power consumption management in an information handling system
KR101662919B1 (en) Simulation device, simulation method, and recording medium
US10976793B2 (en) Mass storage device electrical power consumption monitoring
CN103092138A (en) Control method of equipment cabinet system
CN106155797A (en) Terminal unit and the changing method of performance mode thereof
Goodfellow Applying reliability centered maintenance (RCM) to overhead electric utility distribution systems
US10216212B1 (en) Operating temperature-based mass storage device management
CN110442222A (en) Hard disk electrification control method and device
Ahmed et al. Reliability analysis of internal power supply architecture of data centers in terms of power losses
Judge et al. Reducing data center energy consumption
CN104699215A (en) Power supply protection system and power supply protection method
CN116594442A (en) Control method and device of temperature regulation module and computing equipment
CN113193564B (en) Supermarket electricity consumption management method and supermarket power supply system
JP2013090485A (en) Co2 emission amount monitoring apparatus, co2 emission amount monitoring method, co2 emission amount monitoring program, and co2 emission amount monitoring system
CN110797968B (en) Power-off prevention method and system for uninterruptible power supply and terminal equipment
CN104317692A (en) Automatic test method for ME FW online updating stability
CN107391324B (en) Test control device and method of storage system
CN115827179A (en) Computing power scheduling method, device, equipment and storage medium for physical machine equipment
CN115587006A (en) Energy consumption management method and device for data center, terminal equipment and storage medium
CN111858203B (en) Server performance detection method, system, programmable controller and storage medium
CN112924875B (en) Battery detection method and device and electronic equipment

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