CN109460139A - A kind of method and relevant apparatus of power supply guarantee - Google Patents
A kind of method and relevant apparatus of power supply guarantee Download PDFInfo
- Publication number
- CN109460139A CN109460139A CN201811302289.7A CN201811302289A CN109460139A CN 109460139 A CN109460139 A CN 109460139A CN 201811302289 A CN201811302289 A CN 201811302289A CN 109460139 A CN109460139 A CN 109460139A
- Authority
- CN
- China
- Prior art keywords
- signal
- power
- supply device
- normal
- preset threshold
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/30—Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
- G06F1/305—Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations in the event of power-supply fluctuations
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 embodiment of the present application discloses a kind of method of power supply guarantee: generating signal set, wherein signal set includes at least the first signal and second signal;Judge whether the first signal is normal;If the first abnormal signal, second signal is judged lower than before the first preset threshold, whether the first signal restores normal;If second signal is lower than before the first preset threshold, the first signal restores normal, then records the first abnormal signal, and recording power equipment is credible power-supply device.The embodiment of the present application also discloses a kind of power supply ensuring equipment.By the above method, electrical equipment is judged and is sorted out by the coherent signal to power-supply device after meeting with power supply flash, determines that current power equipment improves the operational efficiency of server so that server still can operate normally for credible power-supply device.
Description
Technical field
This application involves technical field of power systems more particularly to a kind of methods and relevant apparatus of power supply guarantee.
Background technique
Electrical equipment in actual use, due to unstable, the caused electricity consumption of the power-supply device to power supply for electrical equipment
Device looses power and the phenomenon that re-power in a short time, referred to as power-supply device flash.
Some electrical equipments are very high to the quality requirement of electricity consumption, such as server, also referred to as servomechanism, are a kind of offer calculating
The equipment of service, server needs to respond service request, and is handled, in general server should have undertake service and
Ensure the ability of service.When power-supply device flash occurs in server, server will record power-supply device and mistake occurs, due to
It is power-supply device flash, server can re-power immediately at this time, but server has had recorded the power-supply device and mistake occurred,
And the power-supply device is judged for insincere power-supply device, it re-powers rear server and still maintains to report an error, cause server can not
It normally powers on and resumes work.
After power-supply device flash occurs, it is insincere power-supply device, nothing that server, which judges current power-supply device,
Method, which normally re-powers, resumes work, and can not power on the normal operation for affecting server for a long time, reduces server operation
Efficiency.
Summary of the invention
The embodiment of the present application provides a kind of method of power supply guarantee, for ensureing that electrical equipment encounters power supply flash situation
Afterwards, it still can operate normally.
In view of this, the application first aspect provides a kind of method of power supply guarantee, comprising:
Generate signal set, wherein the signal set includes at least the first signal and second signal, which uses
Whether normal in the voltage of instruction power-supply device input, which is the voltage value of power-supply device output;
Judge whether first signal is normal;
If first abnormal signal, the second signal is judged lower than before the first preset threshold, whether is first signal
Restore normal;
If the second signal is lower than before first preset threshold, which restores normal, then records first letter
Number exception, recording the power-supply device is credible power-supply device.
In conjunction with the embodiment of the present application in a first aspect, in the first possible implementation of the first aspect, the judgement
After whether first signal is normal, this method further include:
If first abnormal signal, the second signal is judged lower than after the first preset threshold, which is lower than
Before second preset threshold, whether which restores normal;
If the second signal is lower than after the first preset threshold, which is lower than before the second preset threshold, this
One signal restores normal, then records first abnormal signal, and recording the power-supply device is credible power-supply device, indicates that the power supply is set
The standby electrical equipment restarting that electric energy is provided.
In conjunction with the first possible implementation of the first aspect of the embodiment of the present application, second in first aspect can
In the implementation of energy, after this judges whether first signal is normal, this method further include:
If first abnormal signal, the second signal is judged lower than after second preset threshold, which is
It is no to restore normal;
If the second signal is lower than after the second preset threshold, which does not restore normally, then to record the electricity consumption and set
Standby is normal switching-off.
It can in conjunction with any one of second of possible implementation of first aspect to first aspect of the embodiment of the present application
The implementation of energy, in a third possible implementation of the first aspect, after this judges whether first signal is normal,
This method further include:
Obtain monitoring data set, wherein the monitoring data set is obtained according to the state for monitoring the power-supply device, the prison
It include the monitoring data obtained by power-supply device internal register in measured data set;
The signal set is generated according to the monitoring data set.
In conjunction with the third possible implementation of the first aspect of the embodiment of the present application, the 4th kind in first aspect can
In the implementation of energy, this generates the signal set according to the monitoring data set, comprising:
Pending data set is generated according to the monitoring data set, wherein the pending data collection is combined into data encoding core
Piece carries out data encoding generation according to the monitoring data set;
The signal set is generated according to the pending data set, wherein the signal set is data decoding chip according to this
Pending data set carries out data decoding and generates.
The application second aspect provides a kind of power supply ensuring equipment, which includes:
Generation module, for generating signal set, wherein the signal set includes at least the first signal and the second letter
Number, whether the voltage which is used to indicate power-supply device input is normal, which is power-supply device output
Voltage value;
Judgment module, for judging whether first signal is normal;
The judgment module judges that the second signal is lower than if being also used to the judgment module judges first abnormal signal
Before first preset threshold, whether which restores normal;
Logging modle, if judging the second signal lower than before first preset threshold for the judgment module, this first
Signal restores normal, then records first abnormal signal, and recording the power-supply device is credible power-supply device.
In conjunction with the second aspect of the embodiment of the present application, in the first possible implementation of the second aspect, comprising:
The judgment module judges that the second signal is lower than if being also used to the judgment module judges first abnormal signal
After first preset threshold, which is lower than before the second preset threshold, and whether which restores normal;
The logging modle, if being also used to the second signal lower than after the first preset threshold, which is lower than second
Before preset threshold, which judges that first signal restores normal, then records first abnormal signal, record the power supply
Equipment is credible power-supply device, indicates that the power-supply device provides the electrical equipment restarting of electric energy.
In conjunction with the first possible implementation of the second aspect of the embodiment of the present application, second in second aspect can
In the implementation of energy, comprising:
The judgment module, if being also used to the judgment module judges first abnormal signal, the second signal lower than this
After two preset thresholds, which judges whether first signal restores normal;
The logging modle, if being also used to the second signal lower than after the second preset threshold, which does not restore just
Often, then recording the electrical equipment is normal switching-off.
It can in conjunction with any one of second of possible implementation of second aspect to second aspect of the embodiment of the present application
The implementation of energy, in the third possible implementation of the second aspect, comprising:
The generation module is specifically used for obtaining monitoring data set, wherein the monitoring data set is according to the monitoring power supply
The state of equipment obtains, and includes the monitoring data obtained by power-supply device internal register in the monitoring data set;
The generation module, specifically for generating the signal set according to the monitoring data set.
It can in conjunction with any one of second of possible implementation of second aspect to second aspect of the embodiment of the present application
The implementation of energy, in the third possible implementation of the second aspect, comprising:
The generation module is specifically used for generating pending data set according to the monitoring data set, and wherein this is to be processed
Data acquisition system is data encoding chip according to monitoring data set progress data encoding generation;
The generation module, specifically for generating the signal set according to the pending data set, the wherein signal set
Data decoding is carried out according to the pending data set for data decoding chip to generate.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that
By the above method, electrical equipment such as server passes through the correlation to power-supply device after meeting with power supply flash
Signal is judged and is sorted out, and determines that current power equipment is credible power-supply device, so that server still can operate normally,
The generation for influencing server normal operation can not be powered on for a long time by avoiding, and improve the operational efficiency of server.
Detailed description of the invention
Fig. 1 is the input and output schematic diagram of power-supply device in the embodiment of the present application;
Fig. 2 is one embodiment schematic diagram of the method for power supply guarantee in the embodiment of the present application;
Fig. 3 is one embodiment schematic diagram of power supply ensuring equipment in the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, those skilled in the art's every other implementation obtained without creative efforts
Example, shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing
Similar object, without being used to describe a particular order or precedence order.It should be understood that the data used in this way are in appropriate feelings
It can be interchanged under condition, so that the embodiments described herein can be real with the sequence other than the content for illustrating or describing herein
It applies.In addition, term " includes " and " having " and their any deformation, it is intended that cover it is non-exclusive include, for example, packet
The process, method, system, product or equipment for having contained series of steps or module those of be not necessarily limited to be clearly listed step or
Module, but may include other steps being not clearly listed or intrinsic for these process, methods, product or equipment or
Module.Occur in this application to step carry out name perhaps number be not meant to must according to name or number
Indicated time/logic sequencing executes the step in method flow, and named or number process step can be with
Execution order is changed according to the technical purpose to be realized, as long as identical or similar technical effect can be reached.This Shen
Please appeared in module division, be a kind of division in logic, can have other division side when realizing in practical application
Formula, such as multiple modules can be combined into or are integrated in another system, or some features can be ignored or not executed, separately
Outside, shown or discussion mutual coupling, direct-coupling or communication connection can be through some interfaces, module
Between indirect coupling or communication connection can be electrical or other similar form, be not construed as limiting in the application.Also, make
It can be the separation that may not be physically for the module or submodule of separate part description, can be and may not be physics
Module, or can be distributed in multiple circuit modules, some or all of modules can be selected according to the actual needs
To realize the purpose of application scheme.
The embodiment of the present application provides a kind of method of power supply guarantee, and electrical equipment such as server meets with power supply flash
Afterwards, judged and sorted out by the coherent signal to power-supply device, determine that current power equipment is credible power-supply device, so that
Server still can operate normally, and the generation for influencing server normal operation can not be powered on for a long time by avoiding, and be promoted
The operational efficiency of server.
Power supply ensuring equipment provided by the present application can be deployed in electrical equipment and/or power-supply device, below to be deployed in
It is illustrated in electrical equipment server, it is to be understood that can also be deployed in other electrical equipments, such as individual calculus
Machine, large-scale interaction machine and monitoring device etc., are not construed as limiting herein.
In order to make it easy to understand, please referring to the input and output schematic diagram that Fig. 1 is power-supply device in the embodiment of the present application.In Fig. 1
Power-supply device to provide the power supply unit of electric energy to electrical equipment server.220 volts of voltage standard used with China
For (volt, V) alternating current (alternating current, AC), it is generally the case that server internal uses 12V straight
Galvanic electricity (direct current, DC), therefore 220V alternating current needs to handle to obtain 12V DC electricity by transformation for server
It uses.Usual transformation processing is completed by power-supply device.As shown in Figure 1, the detailed process of power-supply device is as follows:
(1) after AC voltage input, by receiving PS_ON signal, triggering power-supply device carries out 220V AC voltage and is converted into
12V DC voltage;
(2) after the AC power supplies input of power-supply device, AC_OK signal is normal, i.e. AC_OK=1, anyway, AC_OK signal is different
Often, i.e. AC_OK=0;
(3) after power-supply device completion alternating current turns direct current, that is, after completing normal voltage conversion, PS_PWROK signal is just
Often, i.e. PS_PWROK=1, instruction power-supply device work normally, conversely, representing power-supply device work abnormal, i.e. PS_ occurs
PWROK=0;
(4) after power-supply device completes normal voltage conversion, 12V voltage dc is exported.
(5) power-supply device alternating current input after, can by power management bus (power management bus,
PMBus power-supply device actual motion state, output power) are obtained, and the generation etc. that whether reports an error.
Electrical equipment in actual use, due to unstable, the caused electricity consumption of the power-supply device to power supply for electrical equipment
Device looses power and the phenomenon that re-power in a short time, referred to as power-supply device flash.For server, set when meeting with power supply
When standby flash, power supply module voltage-stablizer (voltage regulator) generation in server on mainboard reports an error, and mainboard is due to steady
Reporting an error for depressor generation is constantly in stand-by power supply mode (standby, STBY), can not use main power source mode (main
Power it) is powered, server is unable to operate normally.
A kind of method of power management provided by the present application, can be deployed in Complex Programmable Logic Devices (complex
Programmable logic device, CPLD), specific integrated circuit (application specific integrated
Circuits, ASIC) or the modes such as field programmable gate array (field programmable gate array, FPGA) and
Other types chip such as baseboard management controller (baseboard management controller, BMC) is integrated in one
It rises, herein without limitation.In the embodiment of the present application
The method of power supply guarantee in the application is explained below, referring to Fig. 2, Fig. 2 is electricity in the embodiment of the present application
One embodiment schematic diagram for the method that source ensures, one embodiment of the method for power supply guarantee includes: in the embodiment of the present application
101, signal set is generated;
In the present embodiment, power supply ensuring equipment generates signal set, the signal set according to the related data of power-supply device
In include at least and have the first signal and a second signal, whether the voltage that the first signal is used to indicate power-supply device input normal,
First signal is AC _ ON signal in power-supply device, and second signal is the voltage value of power-supply device output, the voltage value
For the measurement voltage value of the port P12V;
102, judge whether the first signal is normal;
In the present embodiment, whether power supply ensuring equipment is normal according to the first signal in signal set generated, i.e. AC_
Whether ON signal is 1.As AC_ON=1, the first signal is normal, indicates power-supply device there are alternating current input, power-supply device is
Normal operating conditions, as AC_ON=0, the first abnormal signal, instruction power-supply device does not have alternating current input, and power-supply device is
Abnormal operation.In power supply flash situation, power-supply device does not have alternating current input, AC_ON=0, the first abnormal signal.Therefore
Can be by judging whether extremely whether judgement is currently in power supply flash situation to the first signal.
If 103, the first abnormal signal, second signal is judged lower than before the first preset threshold, whether the first signal is extensive
It is multiple normal;
In the present embodiment, if power supply ensuring equipment judges the first abnormal signal, AC_ON=0, power supply ensuring equipment at this time
Judge that in second signal, that is, the voltage value of the port P12V is lower than before the first preset threshold lower than before the first preset threshold, the
Whether one signal restores normal.
Wherein the first preset threshold is 95%, the 11.4V of the standard voltage value 12V of the port P12V, can also be other values,
Such as 11.7V etc. is not construed as limiting herein.Since there are a large amount of capacitors in power-supply device, after power-supply device power-off
In short time, in 10 milliseconds, the voltage of the port P12V still can keep the normal work of electrical equipment, judge first at this time
Whether signal restores normal.
If 104, for second signal lower than before the first preset threshold, the first signal restores normal, then it is different to record the first signal
Often, recording power equipment is credible power-supply device.
In the present embodiment, if power supply ensuring equipment judges second signal lower than before the first preset threshold, the first signal is extensive
Multiple normal, i.e., before the voltage value at the end P12V is lower than 11.4V, the first signal reverts to AC_ON=1 from AC_ON=0.Due to
Electrical equipment is still within normal operating conditions, therefore power supply ensuring equipment record this time believe by the first abnormal signal, record first
Number exception includes recording the time of the first abnormal signal, the time etc. of power-supply device power-off.In addition to recording the first abnormal signal,
Since the power-off time of power-supply device is shorter, also recording current power-supply device simultaneously is credible power-supply device, ensures and uses
The normal operation of electric equipment.
In the embodiment of the present application, power supply ensuring equipment firstly generates signal set, wherein signal set includes at least first
Signal and second signal, whether the voltage that the first signal is used to indicate power-supply device input is normal, and second signal sets for power supply
The voltage value of standby output, secondly, power supply ensuring equipment judges whether the first signal is normal;If the first abnormal signal, is judged
Binary signal is lower than before the first preset threshold, and whether the first signal restores normal;If second signal lower than the first preset threshold it
Before, the first signal restores normal, then records the first abnormal signal, and recording power equipment is credible power-supply device.Electrical equipment example
If server is after meeting with power supply flash, is judged and sorted out by the coherent signal to power-supply device, determine current power
Equipment is credible power-supply device, so that server still can operate normally, influence server can not be powered on for a long time by avoiding
The generation of normal operation improves the operational efficiency of server.
Optionally, on the basis of the embodiment of the method for the first power supply guarantee provided by the embodiments of the present application, this Shen
Please embodiment provide second of power supply guarantee method embodiment in, judge the first signal whether normally after, method is also
Include:
If the first abnormal signal, second signal is judged lower than after the first preset threshold, second signal is pre- lower than second
If before threshold value, whether the first signal restores normal;
If second signal is lower than after the first preset threshold, second signal is lower than before the second preset threshold, the first signal
Restore normal, then record the first abnormal signal, recording power equipment is credible power-supply device, and instruction power-supply device provides electric energy
Electrical equipment restarting.
In the present embodiment, power supply ensuring equipment is after judging whether the first signal is normal, if judging current first signal
Extremely, i.e. when AC_ON=0, second signal is then judged lower than after the first preset threshold, second signal is lower than the second default threshold
Before value, whether the first signal restores normal.Second signal is lower than after the first preset threshold 11.4V, and electrical equipment has been at this time
It is unable to operate normally, most equipment is in off-mode in electrical equipment.Second signal is lower than before the second preset threshold, should
Second preset threshold is the minimum voltage value that voltage-stablizer works normally on electrical equipment mainboard, is existed according to different electrical equipments
Different minimum voltage values, it is generally the case that by taking server as an example, usually 7V, when second signal is lower than the second preset threshold
Later, the mainboard voltage-stablizer of electrical equipment can not work normally, and be unable to complete the operation of restarting electrical equipment, and second
Signal is lower than before the second preset threshold, and the mainboard voltage-stablizer of electrical equipment can also use remaining electric quantity, executes restarting
Operation.
After power supply ensuring equipment judges second signal lower than the first preset threshold, second signal is lower than the second default threshold
Before value, whether the first signal restores normally, i.e., the first signal reverts to AC_ON=1.It is defeated to have alternating current for power-supply device at this time
Enter, it can be ensured that the normal operation of electrical equipment.Power supply ensure equipment record the first abnormal signal and recording power equipment be can
While believing power-supply device, instruction electrical equipment restarting.
In the embodiment of the present application, certain time power-off the case where and the in the case where of restoring electricity, power supply ensuring equipment can
To indicate that electrical equipment restarts.The operational efficiency of server is further improved, the feasibility of scheme is improved, realizes spirit
Activity.
Optionally, on the basis of the embodiment of the method for second of power supply guarantee provided by the embodiments of the present application, this Shen
Please embodiment provide the third power supply guarantee method embodiment in, judge the first signal whether normally after, method is also
Include:
If the first abnormal signal, second signal is judged lower than after the second preset threshold, whether the first signal restores just
Often;
If second signal is lower than after the second preset threshold, the first signal does not restore normally, then to record electrical equipment and be positive
Often close.
In the present embodiment, power supply ensuring equipment is after judging whether the first signal is normal, if judging current first signal
Extremely, i.e. when AC_ON=0, second signal is then judged lower than after the second preset threshold 7V, whether the first signal restores just
Often.After second signal is lower than 7V, since the voltage-stablizer on mainboard at this time is can not work normally, when the first signal still
When being so AC_ON=0, record electrical equipment is normal shutdown, and recording power equipment is credible power-supply device, so that next time uses
It can normal boot-strap when the power-supply device.
After second signal is lower than the second preset threshold 7V, the first signal restores normal, at this time the existing electricity of power-supply device
Stream input can execute restarting operation to electrical equipment at this time.
In the embodiment of the present application, certain time power-off the case where and it is useless restore electricity in the case where, power supply ensure dress
Setting and can recorde current power equipment is normal switching-off, so that can the normal use power-supply device when starting of next electrical equipment.
The operational efficiency of server is further improved, the feasibility of scheme is improved, realizes flexibility.
Optionally, in the implementation of the method for the first any power supply guarantee into the third provided by the embodiments of the present application
On the basis of example, in the embodiment of the method for the 4th kind of power supply guarantee provided by the embodiments of the present application, signal set, packet are generated
It includes:
Obtain monitoring data set, wherein monitoring data set is obtained according to the state of monitoring power-supply device, monitoring data
It include the monitoring data obtained by power-supply device internal register in set;
Signal set is generated according to monitoring data set.
In the present embodiment, power supply ensuring equipment can be by obtaining preliminary monitoring data by power-supply device internal register
Afterwards, then pass through the sensor for connecting each port in power-supply device, obtain more detailed monitoring data relevant to power-supply device, and
Signal set is generated according to the monitoring data acquired.
Wherein, power source internal register, be used to indicate the operating status of power-supply device, output power, electric current, temperature and
The information such as rotation speed of the fan.
In the embodiment of the present application, power supply ensuring equipment can obtain the relevant monitoring number of power-supply device in several ways
According to, and signal set is generated according to these monitoring data, in order to subsequent judgement work.The realization for promoting the scheme that is hungry is flexible
Property.
Optionally, on the basis of the embodiment of the method for the 4th kind of power supply guarantee provided by the embodiments of the present application, this Shen
Please embodiment provide the 5th kind of power supply guarantee method embodiment in, according to monitoring data set generate signal set, packet
It includes:
Pending data set is generated according to monitoring data set, wherein pending data collection is combined into data encoding chip root
Data encoding generation is carried out according to monitoring data set;
Signal set is generated according to pending data set, wherein signal set is data decoding chip according to number to be processed
Data decoding is carried out according to set to generate.
In the present embodiment, the component as selected by different power-supply device production firms is had differences, power supply guarantee
Device is according to the relevant monitoring data of the power-supply device acquired, it is understood that there may be power supply ensuring equipment cannot directly read use
Situation, at this time after obtaining monitoring data, can be used data encoding chip to monitoring data set carry out Unified coding
Pending data set is generated, so that data decoding chip can be used to pending data in judgment part in power supply ensuring equipment
Set is decoded, and the signal set power supply ensuring equipment obtained after decoding normally can read and use.
To use twin wire universal serial bus (inter-integrated between power supply ensuring equipment and power-supply device
Circuit, I2C) for, since the data volume that can be transmitted every time in I2C bus is 8 bits, the monitoring number collected
According to set need to define respectively into the data of this 8 bits, and to data carry out coded treatment after with the shape of pending data
Formula is transmitted, and after receiving pending data, is decoded respectively to the data of this 8 bit, obtains corresponding signal.
In the embodiment of the present application, by the coding and decoding operate to monitoring data set, so that power supply ensuring equipment
It can be adapted to a variety of different power-supply devices and land used equipment, further improve the feasibility of scheme and realized flexible
Property.
Power supply ensuring equipment in the application is described in detail below, referring to Fig. 3, Fig. 3 is in the embodiment of the present application
One embodiment schematic diagram of power supply ensuring equipment, the first embodiment of power supply ensuring equipment 20 provided by the embodiments of the present application
In, power supply ensuring equipment 20 includes:
Generation module 201, for generating signal set, wherein signal set includes at least the first signal and the second letter
Number, whether the voltage that the first signal is used to indicate power-supply device input is normal, and second signal is the voltage value of power-supply device output;
Judgment module 202, for judging whether the first signal is normal;
Judgment module 202 judges second signal lower than the if being also used to judgment module 202 judges the first abnormal signal
Before one preset threshold, whether the first signal restores normal;
Logging modle 203, if judging second signal lower than before the first preset threshold for judgment module 202, first believes
Number restore normal, then records the first abnormal signal, recording power equipment is credible power-supply device.
In the present embodiment, module 201 is firstly generated, for generating signal set, wherein signal set includes at least first
Signal and second signal, whether the voltage that the first signal is used to indicate power-supply device input is normal, and second signal sets for power supply
The voltage value of standby output;Secondly judgment module 202, for judging whether the first signal is normal;Judgment module 202 again are also used
If judging the first abnormal signal in judgment module 202, second signal is judged lower than before the first preset threshold, the first signal is
It is no to restore normal;Logging modle 203 again, if before judging that second signal is lower than the first preset threshold for judgment module 202,
First signal restores normal, then records the first abnormal signal, and recording power equipment is credible power-supply device.
In the embodiment of the present application, power supply ensuring equipment firstly generates signal set, wherein signal set includes at least first
Signal and second signal, whether the voltage that the first signal is used to indicate power-supply device input is normal, and second signal sets for power supply
The voltage value of standby output, secondly, power supply ensuring equipment judges whether the first signal is normal;If the first abnormal signal, is judged
Binary signal is lower than before the first preset threshold, and whether the first signal restores normal;If second signal lower than the first preset threshold it
Before, the first signal restores normal, then records the first abnormal signal, and recording power equipment is credible power-supply device.Electrical equipment example
If server is after meeting with power supply flash, is judged and sorted out by the coherent signal to power-supply device, determine current power
Equipment is credible power-supply device, so that server still can operate normally, influence server can not be powered on for a long time by avoiding
The generation of normal operation improves the operational efficiency of server.
Optionally, on the basis of the first alternative embodiment of the corresponding power supply ensuring equipment 20 of above-mentioned Fig. 3, the application
In second of alternative embodiment of the power supply ensuring equipment 20 that embodiment provides,
Judgment module 202 judges second signal lower than the if being also used to judgment module 202 judges the first abnormal signal
After one preset threshold, second signal is lower than before the second preset threshold, and whether the first signal restores normal;
Logging modle 203, if being also used to second signal lower than after the first preset threshold, second signal is default lower than second
Before threshold value, judgment module 202 judges that the first signal restores normal, then records the first abnormal signal, recording power equipment is can
Believe that power-supply device, instruction power-supply device provide the electrical equipment restarting of electric energy.
In the embodiment of the present application, certain time power-off the case where and the in the case where of restoring electricity, power supply ensuring equipment can
To indicate that electrical equipment restarts.The operational efficiency of server is further improved, the feasibility of scheme is improved, realizes spirit
Activity.
Optionally, on the basis of second of alternative embodiment of above-mentioned Fig. 3 corresponding power supply ensuring equipment 20, the application
In the third alternative embodiment for the power supply ensuring equipment 20 that embodiment provides,
Judgment module 202, if being also used to judgment module 202 judges the first abnormal signal, second signal is pre- lower than second
If after threshold value, judgment module 202 judges whether the first signal restores normal;
Logging modle 203, if being also used to second signal lower than after the second preset threshold, the first signal does not restore normally,
Then recording electrical equipment is normal switching-off.
In the embodiment of the present application, certain time power-off the case where and it is useless restore electricity in the case where, power supply ensure dress
Setting and can recorde current power equipment is normal switching-off, so that can the normal use power-supply device when starting of next electrical equipment.
The operational efficiency of server is further improved, the feasibility of scheme is improved, realizes flexibility.
Optionally, in the first alternative embodiment of the corresponding power supply ensuring equipment 20 of above-mentioned Fig. 3 to the third optional reality
It applies in example on the basis of any alternative embodiment, the 4th kind of optional reality of power supply ensuring equipment 20 provided by the embodiments of the present application
It applies in example,
Generation module 201 is specifically used for obtaining monitoring data set, wherein monitoring data set is set according to monitoring power supply
Standby state obtains, and includes the monitoring data obtained by power-supply device internal register in monitoring data set;
Generation module 201 is specifically used for generating signal set according to monitoring data set.
In the embodiment of the present application, power supply ensuring equipment can obtain the relevant monitoring number of power-supply device in several ways
According to, and signal set is generated according to these monitoring data, in order to subsequent judgement work.The realization for promoting the scheme that is hungry is flexible
Property.
Optionally, on the basis of the 4th kind of alternative embodiment of above-mentioned Fig. 3 corresponding power supply ensuring equipment 20, the application
In 5th kind of alternative embodiment of the power supply ensuring equipment 20 that embodiment provides,
Generation module 201 is specifically used for generating pending data set according to monitoring data set, wherein pending data
Collection is combined into data encoding chip and carries out data encoding generation according to monitoring data set;
Generation module 201 is specifically used for generating signal set according to pending data set, and wherein signal set is data
Decoding chip carries out data decoding according to pending data set and generates.
In the embodiment of the present application, by the coding and decoding operate to monitoring data set, so that power supply ensuring equipment
It can be adapted to a variety of different power-supply devices and land used equipment, further improve the feasibility of scheme and realized flexible
Property.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application
Portion or part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (read-only memory,
ROM), random access memory (random access memory, RAM), magnetic or disk etc. are various can store program
The medium of code.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before
Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of method of power supply guarantee characterized by comprising
Generate signal set, wherein the signal set includes at least the first signal and second signal, and first signal is used
Whether normal in the voltage of instruction power-supply device input, the second signal is the voltage value of power-supply device output;
Judge whether first signal is normal;
If first abnormal signal, the second signal is judged lower than before the first preset threshold, first signal is
It is no to restore normal;
If the second signal is lower than before first preset threshold, first signal restores normal, then records described the
One abnormal signal, recording the power-supply device is credible power-supply device.
2. the method according to claim 1, wherein it is described judge whether first signal normal after, institute
State method further include:
If first abnormal signal, the second signal is judged lower than after the first preset threshold, the second signal is low
Before the second preset threshold, whether first signal restores normal;
If the second signal is lower than after the first preset threshold, the second signal is lower than before the second preset threshold, described
First signal restores normal, then records first abnormal signal, and recording the power-supply device is credible power-supply device, indicates institute
It states power-supply device and the electrical equipment restarting of electric energy is provided.
3. according to the method described in claim 2, it is characterized in that, it is described judge whether first signal normal after, institute
State method further include:
If first abnormal signal, the second signal is judged lower than after second preset threshold, described first believes
Number whether restore normal;
If the second signal is lower than after the second preset threshold, first signal does not restore normally, then to record the electricity consumption
Equipment is normal switching-off.
4. according to the method in any one of claims 1 to 3, which is characterized in that the generation signal set, comprising:
Obtain monitoring data set, wherein the monitoring data set is obtained according to the state for monitoring the power-supply device, described
It include the monitoring data obtained by power-supply device internal register in monitoring data set;
The signal set is generated according to the monitoring data set.
5. according to the method described in claim 4, it is characterized in that, described generate the signal according to the monitoring data set
Set, comprising:
Pending data set is generated according to the monitoring data set, wherein the pending data collection is combined into data encoding core
Piece carries out data encoding generation according to the monitoring data set;
Generate the signal set according to the pending data set, wherein the signal set be data decoding chip according to
The pending data set carries out data decoding and generates.
6. a kind of power supply ensuring equipment characterized by comprising
Generation module, for generating signal set, wherein the signal set includes at least the first signal and second signal,
Whether the voltage that first signal is used to indicate power-supply device input is normal, and the second signal is power-supply device output
Voltage value;
Judgment module, for judging whether first signal is normal;
The judgment module judges the second signal if being also used to the judgment module judges first abnormal signal
Before the first preset threshold, whether first signal restores normal;
Logging modle, if before judging that the second signal is lower than first preset threshold for the judgment module, it is described
First signal restores normal, then records first abnormal signal, and recording the power-supply device is credible power-supply device.
7. power supply ensuring equipment according to claim 6 characterized by comprising
The judgment module judges the second signal if being also used to the judgment module judges first abnormal signal
After the first preset threshold, the second signal is lower than before the second preset threshold, and whether first signal restores just
Often;
The logging modle, if being also used to the second signal lower than after the first preset threshold, the second signal is lower than the
Before two preset thresholds, the judgment module judges that first signal restores normal, then records first abnormal signal, remember
Recording the power-supply device is credible power-supply device, indicates that the power-supply device provides the electrical equipment restarting of electric energy.
8. power supply ensuring equipment according to claim 7 characterized by comprising
The judgment module, if being also used to the judgment module judges first abnormal signal, the second signal is lower than
After second preset threshold, the judgment module judges whether first signal restores normal;
The logging modle, if being also used to the second signal lower than after the second preset threshold, first signal does not restore
Normally, then recording the electrical equipment is normal switching-off.
9. the power supply ensuring equipment according to any one of claim 6 to 8 characterized by comprising
The generation module is specifically used for obtaining monitoring data set, wherein the monitoring data set is according to the monitoring electricity
The state of source device obtains, and includes the monitoring data obtained by power-supply device internal register in the monitoring data set;
The generation module is specifically used for generating the signal set according to the monitoring data set.
10. power supply ensuring equipment according to claim 9 characterized by comprising
The generation module is specifically used for generating pending data set according to the monitoring data set, wherein described wait locate
Managing data acquisition system is data encoding chip according to monitoring data set progress data encoding generation;
The generation module is specifically used for generating the signal set according to the pending data set, wherein the signal
Collection is combined into data decoding chip and carries out data decoding generation according to the pending data set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811302289.7A CN109460139B (en) | 2018-11-02 | 2018-11-02 | Power supply guaranteeing method and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811302289.7A CN109460139B (en) | 2018-11-02 | 2018-11-02 | Power supply guaranteeing method and related device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109460139A true CN109460139A (en) | 2019-03-12 |
CN109460139B CN109460139B (en) | 2022-02-18 |
Family
ID=65609258
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811302289.7A Active CN109460139B (en) | 2018-11-02 | 2018-11-02 | Power supply guaranteeing method and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109460139B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110399029A (en) * | 2019-07-19 | 2019-11-01 | 广东浪潮大数据研究有限公司 | A kind of localization method, equipment, medium and the device of power supply trouble type |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08336187A (en) * | 1995-06-09 | 1996-12-17 | Sony Corp | Power source controller using microcomputer |
CN103163490A (en) * | 2013-02-19 | 2013-06-19 | 瑞斯康达科技发展股份有限公司 | Detecting device and detecting method of device power supply performance |
CN205301542U (en) * | 2016-01-22 | 2016-06-08 | 成都纵横智控科技有限公司 | Power control module |
CN108304299A (en) * | 2018-03-02 | 2018-07-20 | 郑州云海信息技术有限公司 | Server power-up state monitors system and method, computer storage and equipment |
-
2018
- 2018-11-02 CN CN201811302289.7A patent/CN109460139B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08336187A (en) * | 1995-06-09 | 1996-12-17 | Sony Corp | Power source controller using microcomputer |
CN103163490A (en) * | 2013-02-19 | 2013-06-19 | 瑞斯康达科技发展股份有限公司 | Detecting device and detecting method of device power supply performance |
CN205301542U (en) * | 2016-01-22 | 2016-06-08 | 成都纵横智控科技有限公司 | Power control module |
CN108304299A (en) * | 2018-03-02 | 2018-07-20 | 郑州云海信息技术有限公司 | Server power-up state monitors system and method, computer storage and equipment |
Non-Patent Citations (1)
Title |
---|
陈欣: "LTE传输故障定位与应急恢复研究", 《信息通信》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110399029A (en) * | 2019-07-19 | 2019-11-01 | 广东浪潮大数据研究有限公司 | A kind of localization method, equipment, medium and the device of power supply trouble type |
Also Published As
Publication number | Publication date |
---|---|
CN109460139B (en) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111752776B (en) | Cyclic power-on and power-off test method and system for server | |
CN106254097A (en) | A kind of ATS system two-shipper arbitration system judged based on third party and method | |
CN110928719A (en) | SSD low-power-consumption mode exception handling method and device, computer equipment and storage medium | |
CN102478800A (en) | System and method for monitoring electric power sequential signals | |
CN112286709A (en) | Diagnosis method, diagnosis device and diagnosis equipment for server hardware faults | |
CN105760241A (en) | Exporting method and system for memory data | |
CN109901057A (en) | A kind of Fault Locating Method, device, equipment and storage medium | |
CN108920334A (en) | A kind of monitoring device of FPGA isomery accelerator card | |
CN107111595A (en) | Dual purpose guides register | |
CN102915209B (en) | Storage control chip, storage equipment and system data writing method | |
CN115905094A (en) | Electronic equipment and PCIe topology configuration method and device thereof | |
US20150161069A1 (en) | Handling two sgpio channels using single sgpio decoder on a backplane controller | |
CN109460139A (en) | A kind of method and relevant apparatus of power supply guarantee | |
CN107026759A (en) | The firmware and its development approach of a kind of remote management BBU modules based on BMC | |
CN108647124A (en) | A kind of method and its device of storage skip signal | |
CN103620558A (en) | A method for achieving correspondence of physical resource and virtual resource and a basic input output system | |
CN116539992A (en) | Storage device in-place stable state detection device, method, logic module and medium | |
CN113849355B (en) | I2C rate self-adaptive adjustment method, system, terminal and storage medium | |
CN115728665A (en) | Power failure detection circuit, method and system | |
CN211426669U (en) | Device for monitoring power cable aging | |
CN102479143A (en) | Blade service system | |
CN109003646A (en) | Data processing method and single chip microcomputer | |
CN109358740A (en) | A kind of power-supply management system applied to SSD | |
CN101739115A (en) | Simplified type host computer and method for wakening same | |
CN111858453B (en) | GPU board |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |