CN113204279A - Method, system, device and medium for improving server efficiency based on redundant power supply - Google Patents

Method, system, device and medium for improving server efficiency based on redundant power supply Download PDF

Info

Publication number
CN113204279A
CN113204279A CN202110441359.2A CN202110441359A CN113204279A CN 113204279 A CN113204279 A CN 113204279A CN 202110441359 A CN202110441359 A CN 202110441359A CN 113204279 A CN113204279 A CN 113204279A
Authority
CN
China
Prior art keywords
gate
gates
power supplies
output
end device
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
CN202110441359.2A
Other languages
Chinese (zh)
Other versions
CN113204279B (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.)
Shandong Yingxin Computer Technology Co Ltd
Original Assignee
Shandong Yingxin Computer 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 Shandong Yingxin Computer Technology Co Ltd filed Critical Shandong Yingxin Computer Technology Co Ltd
Priority to CN202110441359.2A priority Critical patent/CN113204279B/en
Publication of CN113204279A publication Critical patent/CN113204279A/en
Application granted granted Critical
Publication of CN113204279B publication Critical patent/CN113204279B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/2015Redundant power supplies

Landscapes

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

Abstract

The invention discloses a method, a system, equipment and a storage medium for improving the efficiency of a server based on redundant power supplies, wherein the method comprises the following steps: setting a corresponding number of AND gates and OR gates according to the number of the power supplies; the two power supplies are used as a group, each group is distributed with an AND gate and an OR gate, the first ends of all the power supplies in the same group are input into the AND gate, and the second ends of all the power supplies in the same group are input into the OR gate; acquiring the outputs of all AND gates and OR gates, and detecting whether the outputs of all the AND gates and the OR gates are high levels; and responding to the high level of the output of all the AND gates and the OR gates, opening the enabling signal of the hot plug line, and increasing the utilization rate of the back-end device to the maximum. The state of the power supply is determined through the output state of the AND gate and the OR gate, so that the utilization rate of the rear-end device is determined according to the state of the power supply, the power supply can be used to the maximum extent, and the overall efficiency of the server is improved.

Description

Method, system, device and medium for improving server efficiency based on redundant power supply
Technical Field
The present invention relates to the field of servers, and more particularly, to a method, system, computer device and readable medium for improving server performance based on redundant power supplies.
Background
As technology advances rapidly and servers become more and more efficient, in order to prevent Power Supply problems, the Power Supply Unit (PSU) of the system is designed as an N + N redundancy. The 1+1PSU redundancy configuration illustrates how a system can be provisioned to operate in such a way that a single PSU operates when one PSU fails in a server. However, if both PSUs are operating properly, the system will only be configured with the maximum wattage device that a single PSU can withstand.
That is, in the existing 1+1PSU redundancy design, the maximum load configuration of the system can only configure the backend device according to the maximum power consumption of a single PSU, and under the normal maximum efficiency operation of the system, the PSUs can only consume 50% of the power consumption respectively to cope with the operation of the system, and the remaining 50% is limited by the waste of the system to support the redundancy configuration; for example: if the system supports 2000 watts of PSU 1+1 redundancy design, the maximum power consumption configuration of the system device is only close to 2000 watts, when the system is operating, two PSUs only need to consume 1000 watts each to support the system operation, but the PSUs still have 2000 watts of energy to play everywhere. The redundant power supplies are provided to improve the reliability of the system, but some power supplies are idle for a long time from the viewpoint of system efficiency, which is relatively wasteful of resources.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, a system, a computer device, and a computer readable storage medium for improving server performance based on redundant power supplies.
In view of the above, an aspect of the embodiments of the present invention provides a method for improving server performance based on redundant power supplies, including the following steps: setting a corresponding number of AND gates and OR gates according to the number of the power supplies; the two power supplies are used as a group, each group is distributed with an AND gate and an OR gate, the first ends of all the power supplies in the same group are input into the AND gate, and the second ends of all the power supplies in the same group are input into the OR gate; acquiring the outputs of all AND gates and OR gates, and detecting whether the outputs of all the AND gates and the OR gates are high levels; and responding to the high level of the output of all the AND gates and the OR gates, opening the enabling signal of the hot plug line, and increasing the utilization rate of the back-end device to the maximum.
In some embodiments, the method further comprises: and responding to the fact that the output of all the AND gates and the OR gates is not high level, and adjusting the utilization rate of the back-end device according to the output of the AND gates and the OR gates.
In some embodiments, said adjusting the usage of said back-end device according to the output of said and or gate comprises: judging whether the output of the AND gate and the OR gate is low level; and in response to the output of the AND gate and the OR gate being low level, closing the enable signal of the hot plug line and giving an alarm.
In some embodiments, said adjusting the usage of said back-end device according to the output of said and or gate comprises: determining a first number of groups in which both the AND gate and the OR gate output are high levels, and determining a second number of groups in which the AND gate outputs low levels and the OR gate outputs high levels; and determining the number of the normal power supplies according to the first number and the second number, and adjusting the utilization rate of the back-end device according to the number of the normal power supplies.
In some embodiments, the method further comprises: restarting the power supply of the group of which the output of the AND gate and the OR gate is low level, and detecting whether the output of the AND gate and the OR gate is low level again; and in response to detecting that the output of the AND gate and the OR gate is low again, restarting and detecting again until the restart times reach the threshold value.
In some embodiments, said adjusting the usage of said back-end device according to the output of said and or gate comprises: and determining the use priority of the back-end device, and determining the use condition of the back-end device according to the priority and the use rate.
In some embodiments, said determining the usage of the back-end device according to the priority and the usage rate comprises: and averagely distributing the power corresponding to the utilization rate to the back-end device with the utilization priority higher than the threshold value.
In another aspect of the embodiments of the present invention, a system for improving server performance based on redundant power supplies is provided, including: the setting module is configured for setting the corresponding number of AND gates and OR gates according to the number of the power supplies; the grouping module is configured to use two power supplies as a group, each group is allocated with an AND gate and an OR gate, the first ends of all the power supplies in the same group are input into the AND gate, and the second ends of all the power supplies in the same group are input into the OR gate; the acquisition module is configured to acquire the outputs of all AND gates and OR gates and detect whether the outputs of all the AND gates and the OR gates are high levels; and the execution module is configured to respond to the high level of all the outputs of the AND gates and the OR gates, open the enable signal of the hot plug line and increase the utilization rate of the back-end device to the maximum.
In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method as above.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has the following beneficial technical effects: the state of the power supply is determined through the output state of the AND gate and the OR gate, so that the utilization rate of the rear-end device is determined according to the state of the power supply, the power supply can be used to the maximum extent, and the overall efficiency of the server is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a diagram illustrating an embodiment of a method for improving server performance based on redundant power supplies according to the present invention;
FIG. 2 is a schematic diagram of a power supply according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating normal operation of a set of power supplies according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a normal and abnormal power supply of a group of power supplies according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an embodiment of a power supply with an abnormal state;
FIG. 6 is a diagram illustrating a hardware configuration of an embodiment of a computer device for improving server performance based on redundant power supplies according to the present invention;
FIG. 7 is a schematic diagram of an embodiment of a computer storage medium for improving server performance based on redundant power supplies.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the foregoing, a first aspect of the embodiments of the present invention provides an embodiment of a method for improving server performance based on redundant power supplies. Fig. 1 is a schematic diagram illustrating an embodiment of a method for improving server performance based on redundant power supplies according to the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, setting a corresponding number of AND gates and OR gates according to the number of the power supplies;
s2, using the two power supplies as a group, distributing an AND gate and an OR gate for each group, inputting the first ends of all the power supplies in the same group into the AND gate, and inputting the second ends of all the power supplies in the same group into the OR gate;
s3, acquiring the outputs of all AND gates and OR gates, and detecting whether the outputs of all AND gates and OR gates are high level; and
and S4, responding to the high level of the output of all the AND gates and the OR gates, opening the enabling signal of the hot plug line, and increasing the utilization rate of the back-end device to the maximum.
Fig. 2 is a schematic diagram of an architecture of a set of power supplies in an embodiment of the invention. The server sets a Hot plug application line (Hot Swap Circuit) at the PSU access board end, so that firstly, the server can determine to transmit to the back-end device after the PSU output voltage is stable, and secondly, the server can also slow down the pulse current at the PSU access moment so as to avoid damaging the back-end device. In the embodiment of the invention, each group of Power supply comprises two PSUs, and the output signals are transmitted to the system chip to judge the health state of the PSUs based on Power Good signals provided by the two PSUs by utilizing the principle of a logic gate, so that the enabling of a hot plug line and the utilization rate of a rear-end device are controlled. The circuit of the invention respectively accesses the Power Good signals of the two PSUs into an AND gate AND an OR gate, AND outputs the results of the two logic gates to a system chip for judgment, wherein the OR gate is responsible for informing the system chip that the group of PSUs can also normally supply Power, AND the AND gate is responsible for informing the system chip of the health state of the group of two PSUs.
And setting the corresponding number of AND gates and OR gates according to the number of the power supplies. Half the number of and gates of the power supply and the same number of or gates may be provided. In order to know the state of each power supply more accurately, an and gate and an or gate can be arranged between any two power supplies. When the two inputs of the AND gate are both high level, the high level is output, and otherwise, the low level is output; the or gate will only output a low level when both inputs are low, and will output a high level otherwise.
Two power supplies are used as a group, each group is distributed with an AND gate and an OR gate, the first ends of all the power supplies in the same group are input into the AND gate, and the second ends of all the power supplies in the same group are input into the OR gate. In the embodiment of the invention, two power supplies are used as a group, each group is provided with an AND gate and an OR gate, the first ends of the two power supplies are input into the AND gate, and the second ends of the two power supplies are input into the OR gate.
And acquiring the outputs of all AND gates and OR gates, and detecting whether the outputs of all the AND gates and the OR gates are high levels. And responding to the high level of the output of all the AND gates and the OR gates, opening the enabling signal of the hot plug line, and increasing the utilization rate of the back-end device to the maximum.
FIG. 3 is a diagram illustrating normal operation of a set of power supplies according to an embodiment of the present invention. As shown in fig. 3, when both PSUs in a set of Power supplies are operating normally, the Power Good signal is at a high level, and both the and gate and the or gate output a high level. If the output of the AND gate and the OR gate of each group of power supplies is high level, the system chip receives the enable signal to open the hot plug line and informs the server that the utilization rate of the back-end device can be improved, and if the maximum power consumption of one group of power supplies is 4000w, if only one group of power supplies is provided in the embodiment, the highest efficiency of the system device can reach 4000 w.
FIG. 4 is a diagram illustrating a normal and an abnormal power source in a group of power sources according to an embodiment of the present invention. As shown in fig. 4, if there is a PSU failure, the Power Good signal thereof will be at low level, and the or gate will maintain high level output, but the and gate will become low level output, and when the system chip receives the state of the logic gate, it will find that there is a PSU problem, and at this time, if the whole server has only this group of Power supply, it will regulate and control the usage performance of the backend device to within 2000w that a single PSU can bear, and maintain the redundant function of the PSU.
FIG. 5 is a diagram illustrating an abnormal power supply in an embodiment of the invention. As shown in fig. 5, if both power supplies of a group of power supplies fail, the output of the and gate and the or gate are both low level, and when the system chip receives the state of the logic gate, it finds that both PSUs have problems, and at this time, if the whole server has only the group of power supplies, it will alarm.
In some embodiments, the method further comprises: and responding to the fact that the output of all the AND gates and the OR gates is not high level, and adjusting the utilization rate of the back-end device according to the output of the AND gates and the OR gates.
In some embodiments, said adjusting the usage of said back-end device according to the output of said and or gate comprises: judging whether the output of the AND gate and the OR gate is low level; and in response to the output of the AND gate and the OR gate being low level, closing the enable signal of the hot plug line and giving an alarm.
In some embodiments, said adjusting the usage of said back-end device according to the output of said and or gate comprises: determining a first number of groups in which both the AND gate and the OR gate output are high levels, and determining a second number of groups in which the AND gate outputs low levels and the OR gate outputs high levels; and determining the number of the normal power supplies according to the first number and the second number, and adjusting the utilization rate of the back-end device according to the number of the normal power supplies. For example, if there are 5 sets of power supplies, 2 sets of and gates and or gates each output a high level, 2 sets of and gates output a low level and 2 sets of or gates output a high level, and the remaining 1 set of and gates and or gates each output a low level, the first number and the second number are both 2, and the number of normal power supplies is the first number 2+ the second number, and thus the number of normal power supplies is 6. The utilization rate of the back-end device is adjusted according to the number of the normal power supplies. The total amount of power supplies is 10, the maximum power consumption of each power supply is 2000w, so the total power consumption is 20000w, at this time, the number of normal power supplies is 6, the maximum power consumption capable of being provided is 12000w, namely, the maximum utilization rate is 60%.
In some embodiments, said adjusting the usage of said back-end device according to the output of said and or gate comprises: and determining the use priority of the back-end device, and determining the use condition of the back-end device according to the priority and the use rate.
In some embodiments, said determining the usage of the back-end device according to the priority and the usage rate comprises: and averagely distributing the power corresponding to the utilization rate to the back-end device with the utilization priority higher than the threshold value. For example, the devices A, B, C and D in the backend apparatus have usage priorities of 5, 6, 3, and 2, respectively, a larger usage priority indicates a higher priority, the threshold may be 4, for example, and the usage priorities of the devices a and B are higher than the threshold, and the power consumption that can be supplied by the normal power supply is evenly distributed to the devices a and B. Assuming that the number of normal power supplies is 6 and the normal power consumption of each power supply is 2000w, 12000w may be evenly distributed to the devices a and B. Of course, 12000w may be allocated to device a and device B in a certain ratio.
In some embodiments, the devices in the backend apparatus may also be sorted according to the usage priority, and the power corresponding to the usage rate may be distributed to the corresponding devices according to the sorting. Continuing with the above example, the backend device is ordered according to usage priority as follows: B. a, C, D, 12000W may be used to satisfy operation of device B first, more power may be used to satisfy operation of device A, and more power may continue to be used in order if there is more power.
In some embodiments, the method further comprises: restarting the power supply of the group of which the output of the AND gate and the OR gate is low level, and detecting whether the output of the AND gate and the OR gate is low level again; and in response to detecting that the output of the AND gate and the OR gate is low again, restarting and detecting again until the restart times reach the threshold value. In some cases, the low level of the output of the AND gate and the OR gate may be a problem of a line, but not a problem of the power supply itself, and the problems may be avoided by restarting, and if the low level of the output of the AND gate and the OR gate is displayed by restarting for a plurality of times, the problem of the power supply itself may be determined.
The AND logic gate AND the OR logic gate are used for respectively judging two Power Good signals of two Power supplies in a group of Power supplies, under the condition that two PSUs in each group are normal, the respective Power Good signals are all at high level, the AND logic gate AND the OR logic gate can both output high-level signals to a system chip, when the system chip receives the two high-level signals, an enabling signal of a hot plug circuit can be opened to enable the system chip to work, the utilization rate of a rear-end device is improved, AND the efficiency is improved; when one PSU in some groups of Power supplies has a problem AND a fault, the Power good signal of the PSU presents a low level, the other PSU is normal, the output of the AND logic gate presents a low level, the output of the OR logic gate still maintains a high level, AND at the moment, when the system chip receives the signal output by the AND logic gate, the hot-plug line can continuously operate, but the utilization rate of a rear-end device can be reduced to a range which can be borne by the corresponding number of PSUs, so that the effect of PSU redundancy design is not influenced; if two PSUs in each group have faults, the Power Good all presents a low-level signal, the output of the two logic gates presents a low level, and the system chip disconnects the hot plug line after receiving the low-level signal and gives an alarm to inform a user.
It should be particularly noted that, the steps in the embodiments of the method for improving the performance of the server based on the redundant power supply can be mutually intersected, replaced, added, and deleted, so that these methods for improving the performance of the server based on the redundant power supply, which are reasonably arranged and combined, also belong to the scope of the present invention, and the scope of the present invention should not be limited to the embodiments.
In view of the above, a second aspect of the embodiments of the present invention provides a system for improving server performance based on redundant power supplies, including: the setting module is configured for setting the corresponding number of AND gates and OR gates according to the number of the power supplies; the grouping module is configured to use two power supplies as a group, each group is allocated with an AND gate and an OR gate, the first ends of all the power supplies in the same group are input into the AND gate, and the second ends of all the power supplies in the same group are input into the OR gate; the acquisition module is configured to acquire the outputs of all AND gates and OR gates and detect whether the outputs of all the AND gates and the OR gates are high levels; and the execution module is configured to respond to the high level of all the outputs of the AND gates and the OR gates, open the enable signal of the hot plug line and increase the utilization rate of the back-end device to the maximum.
In some embodiments, the system further comprises an adjustment module configured to: and responding to the fact that the output of all the AND gates and the OR gates is not high level, and adjusting the utilization rate of the back-end device according to the output of the AND gates and the OR gates.
In some embodiments, the adjustment module is configured to: judging whether the output of the AND gate and the OR gate is low level; and in response to the output of the AND gate and the OR gate being low level, closing the enable signal of the hot plug line and giving an alarm.
In some embodiments, the adjustment module is configured to: determining a first number of groups in which both the AND gate and the OR gate output are high levels, and determining a second number of groups in which the AND gate outputs low levels and the OR gate outputs high levels; and determining the number of the normal power supplies according to the first number and the second number, and adjusting the utilization rate of the back-end device according to the number of the normal power supplies.
In some embodiments, the system further comprises a restart module configured to: restarting the power supply of the group of which the output of the AND gate and the OR gate is low level, and detecting whether the output of the AND gate and the OR gate is low level again; and in response to detecting that the output of the AND gate and the OR gate is low again, restarting and detecting again until the restart times reach the threshold value.
In some embodiments, the adjustment module is configured to: and determining the use priority of the back-end device, and determining the use condition of the back-end device according to the priority and the use rate.
In some embodiments, the adjustment module is configured to: and averagely distributing the power corresponding to the utilization rate to the back-end device with the utilization priority higher than the threshold value.
In view of the above object, a third aspect of the embodiments of the present invention provides a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, setting a corresponding number of AND gates and OR gates according to the number of the power supplies; s2, using the two power supplies as a group, distributing an AND gate and an OR gate for each group, inputting the first ends of all the power supplies in the same group into the AND gate, and inputting the second ends of all the power supplies in the same group into the OR gate; s3, acquiring the outputs of all AND gates and OR gates, and detecting whether the outputs of all AND gates and OR gates are high level; and S4, responding to the high level of all the outputs of the AND gates and the OR gates, opening the enabling signal of the hot plug line and increasing the utilization rate of the back-end device to the maximum.
In some embodiments, the steps further comprise: and responding to the fact that the output of all the AND gates and the OR gates is not high level, and adjusting the utilization rate of the back-end device according to the output of the AND gates and the OR gates.
In some embodiments, said adjusting the usage of said back-end device according to the output of said and or gate comprises: judging whether the output of the AND gate and the OR gate is low level; and in response to the output of the AND gate and the OR gate being low level, closing the enable signal of the hot plug line and giving an alarm.
In some embodiments, said adjusting the usage of said back-end device according to the output of said and or gate comprises: determining a first number of groups in which both the AND gate and the OR gate output are high levels, and determining a second number of groups in which the AND gate outputs low levels and the OR gate outputs high levels; and determining the number of the normal power supplies according to the first number and the second number, and adjusting the utilization rate of the back-end device according to the number of the normal power supplies.
In some embodiments, the steps further comprise: restarting the power supply of the group of which the output of the AND gate and the OR gate is low level, and detecting whether the output of the AND gate and the OR gate is low level again; and in response to detecting that the output of the AND gate and the OR gate is low again, restarting and detecting again until the restart times reach the threshold value.
In some embodiments, said adjusting the usage of said back-end device according to the output of said and or gate comprises: and determining the use priority of the back-end device, and determining the use condition of the back-end device according to the priority and the use rate.
In some embodiments, said determining the usage of the back-end device according to the priority and the usage rate comprises: and averagely distributing the power corresponding to the utilization rate to the back-end device with the utilization priority higher than the threshold value.
Fig. 6 is a schematic hardware structural diagram of an embodiment of the computer device for improving server performance based on redundant power supplies according to the present invention.
Taking the apparatus shown in fig. 6 as an example, the apparatus includes a processor 201 and a memory 202, and may further include: an input device 203 and an output device 204.
The processor 201, the memory 202, the input device 203 and the output device 204 may be connected by a bus or other means, and fig. 6 illustrates the connection by a bus as an example.
The memory 202, which is a non-volatile computer readable storage medium, may be used for storing non-volatile software programs, non-volatile computer executable programs, and modules, such as program instructions/modules corresponding to the method for improving server performance based on redundant power supplies in the embodiments of the present application. The processor 201 executes various functional applications and data processing of the server by executing the nonvolatile software programs, instructions and modules stored in the memory 202, that is, the method for improving the performance of the server based on the redundant power supply of the above method embodiment is realized.
The memory 202 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the method for improving the performance of the server based on the redundant power supply, and the like. Further, the memory 202 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 202 may optionally include memory located remotely from processor 201, which may be connected to local modules via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 203 may receive information such as a user name and a password that are input. The output device 204 may include a display device such as a display screen.
Program instructions/modules corresponding to one or more methods for improving server performance based on redundant power supplies are stored in the memory 202, and when executed by the processor 201, perform the method for improving server performance based on redundant power supplies in any of the above-described method embodiments.
Any embodiment of a computer apparatus for performing the method for improving server performance based on redundant power supplies may achieve the same or similar effects as any corresponding embodiment of the method described above.
The invention also provides a computer readable storage medium storing a computer program which, when executed by a processor, performs the method as above.
FIG. 7 is a schematic diagram of an embodiment of a computer storage medium for improving server performance based on redundant power supplies according to the present invention. Taking the computer storage medium as shown in fig. 7 as an example, the computer readable storage medium 3 stores a computer program 31 which, when executed by a processor, performs the method as described above.
Finally, it should be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program to instruct related hardware, and the program of the method for improving server performance based on redundant power supplies can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods described above. The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A method for improving the efficiency of a server based on redundant power supplies is characterized by comprising the following steps:
setting a corresponding number of AND gates and OR gates according to the number of the power supplies;
the two power supplies are used as a group, each group is distributed with an AND gate and an OR gate, the first ends of all the power supplies in the same group are input into the AND gate, and the second ends of all the power supplies in the same group are input into the OR gate;
acquiring the outputs of all AND gates and OR gates, and detecting whether the outputs of all the AND gates and the OR gates are high levels; and
and responding to the high level of the output of all the AND gates and the OR gates, opening the enabling signal of the hot plug line, and increasing the utilization rate of the back-end device to the maximum.
2. The method of claim 1, further comprising:
and responding to the fact that the output of all the AND gates and the OR gates is not high level, and adjusting the utilization rate of the back-end device according to the output of the AND gates and the OR gates.
3. The method of claim 2, wherein adjusting the usage of the back-end device according to the output of the and gate and or gate comprises:
judging whether the output of the AND gate and the OR gate is low level; and
and in response to the output of the AND gate and the OR gate being low level, closing the enabling signal of the hot plug line and giving an alarm.
4. The method of claim 2, wherein adjusting the usage of the back-end device according to the output of the and gate and or gate comprises:
determining a first number of groups in which both the AND gate and the OR gate output are high levels, and determining a second number of groups in which the AND gate outputs low levels and the OR gate outputs high levels; and
and determining the number of the normal power supplies according to the first number and the second number, and adjusting the utilization rate of the back-end device according to the number of the normal power supplies.
5. The method of claim 4, further comprising:
restarting the power supply of the group of which the output of the AND gate and the OR gate is low level, and detecting whether the output of the AND gate and the OR gate is low level again; and
and in response to the output of the AND gate and the OR gate being low level in the second detection, restarting and detecting the second detection until the restart time reaches a threshold value.
6. The method of claim 2, wherein adjusting the usage of the back-end device according to the output of the and gate and or gate comprises:
and determining the use priority of the back-end device, and determining the use condition of the back-end device according to the priority and the use rate.
7. The method of claim 6, wherein the determining the usage of the backend device according to the priority and the usage rate comprises:
and averagely distributing the power corresponding to the utilization rate to the back-end device with the utilization priority higher than the threshold value.
8. A system for improving server performance based on redundant power supplies, comprising:
the setting module is configured for setting the corresponding number of AND gates and OR gates according to the number of the power supplies;
the grouping module is configured to use two power supplies as a group, each group is allocated with an AND gate and an OR gate, the first ends of all the power supplies in the same group are input into the AND gate, and the second ends of all the power supplies in the same group are input into the OR gate;
the acquisition module is configured to acquire the outputs of all AND gates and OR gates and detect whether the outputs of all the AND gates and the OR gates are high levels; and
and the execution module is configured to respond to the high level of the outputs of all the AND gates and the OR gates, open the enable signal of the hot plug line and increase the utilization rate of the rear-end device to the maximum.
9. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202110441359.2A 2021-04-23 2021-04-23 Method, system, device and medium for improving server efficiency based on redundant power supply Active CN113204279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110441359.2A CN113204279B (en) 2021-04-23 2021-04-23 Method, system, device and medium for improving server efficiency based on redundant power supply

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110441359.2A CN113204279B (en) 2021-04-23 2021-04-23 Method, system, device and medium for improving server efficiency based on redundant power supply

Publications (2)

Publication Number Publication Date
CN113204279A true CN113204279A (en) 2021-08-03
CN113204279B CN113204279B (en) 2022-12-02

Family

ID=77028279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110441359.2A Active CN113204279B (en) 2021-04-23 2021-04-23 Method, system, device and medium for improving server efficiency based on redundant power supply

Country Status (1)

Country Link
CN (1) CN113204279B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114461048A (en) * 2022-01-07 2022-05-10 苏州浪潮智能科技有限公司 PSU redundancy mode setting method, device and medium

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1459691A (en) * 2002-05-24 2003-12-03 英业达股份有限公司 Hot connect disconnect protecting device of hard disk
CN1673985A (en) * 2004-03-26 2005-09-28 华为技术有限公司 Connection circuit for master equipment and multi-slave equipment and method for generating answer signal thereof
CN1794636A (en) * 2004-12-21 2006-06-28 阿尔卡特公司 Power prioritization in power source equipment
CN101236541A (en) * 2008-03-03 2008-08-06 北京中星微电子有限公司 Centralized control interrupt controller and its interrupt control method
CN101707380A (en) * 2008-07-21 2010-05-12 北京星网锐捷网络技术有限公司 Method, device and system for configuring power supply system
CN102882499A (en) * 2012-09-04 2013-01-16 福建星网锐捷网络有限公司 Hot-plug control circuit and system of power supply
CN103345460A (en) * 2013-06-26 2013-10-09 惠州Tcl移动通信有限公司 Communication module for achieving hot plug and terminal
CN104102290A (en) * 2014-07-21 2014-10-15 英业达科技有限公司 Server
CN206117140U (en) * 2016-10-12 2017-04-19 佛山市顺德区美的电热电器制造有限公司 Power device protection circuit, power device and domestic appliance
CN107038140A (en) * 2017-04-17 2017-08-11 广东浪潮大数据研究有限公司 A kind of RACK servers and method for avoiding damaging chip when node heat is slotting
CN206991299U (en) * 2017-08-01 2018-02-09 广州鲁邦通物联网科技有限公司 Plug-and-play circuit and hot-swappable more plate industry routers
CN109193653A (en) * 2018-10-31 2019-01-11 新华三技术有限公司 A kind of method and device of power distribution
CN109799496A (en) * 2018-11-14 2019-05-24 深圳市光微科技有限公司 Concurrency detection circuit, photon detector, pulsed TOF sensor and its implementation
CN208985211U (en) * 2018-11-23 2019-06-14 华北电力科学研究院有限责任公司 Determine the device of Wind turbines limit power data
CN110221674A (en) * 2019-06-21 2019-09-10 西安易朴通讯技术有限公司 Server, power supply application method and control device
CN111313359A (en) * 2020-02-16 2020-06-19 苏州浪潮智能科技有限公司 Server hot plug circuit short-circuit protection auxiliary device
CN111475288A (en) * 2020-03-27 2020-07-31 苏州浪潮智能科技有限公司 Server and power supply protection system thereof

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1459691A (en) * 2002-05-24 2003-12-03 英业达股份有限公司 Hot connect disconnect protecting device of hard disk
CN1673985A (en) * 2004-03-26 2005-09-28 华为技术有限公司 Connection circuit for master equipment and multi-slave equipment and method for generating answer signal thereof
CN1794636A (en) * 2004-12-21 2006-06-28 阿尔卡特公司 Power prioritization in power source equipment
CN101236541A (en) * 2008-03-03 2008-08-06 北京中星微电子有限公司 Centralized control interrupt controller and its interrupt control method
CN101707380A (en) * 2008-07-21 2010-05-12 北京星网锐捷网络技术有限公司 Method, device and system for configuring power supply system
CN102882499A (en) * 2012-09-04 2013-01-16 福建星网锐捷网络有限公司 Hot-plug control circuit and system of power supply
CN103345460A (en) * 2013-06-26 2013-10-09 惠州Tcl移动通信有限公司 Communication module for achieving hot plug and terminal
CN104102290A (en) * 2014-07-21 2014-10-15 英业达科技有限公司 Server
CN206117140U (en) * 2016-10-12 2017-04-19 佛山市顺德区美的电热电器制造有限公司 Power device protection circuit, power device and domestic appliance
CN107038140A (en) * 2017-04-17 2017-08-11 广东浪潮大数据研究有限公司 A kind of RACK servers and method for avoiding damaging chip when node heat is slotting
CN206991299U (en) * 2017-08-01 2018-02-09 广州鲁邦通物联网科技有限公司 Plug-and-play circuit and hot-swappable more plate industry routers
CN109193653A (en) * 2018-10-31 2019-01-11 新华三技术有限公司 A kind of method and device of power distribution
CN109799496A (en) * 2018-11-14 2019-05-24 深圳市光微科技有限公司 Concurrency detection circuit, photon detector, pulsed TOF sensor and its implementation
CN208985211U (en) * 2018-11-23 2019-06-14 华北电力科学研究院有限责任公司 Determine the device of Wind turbines limit power data
CN110221674A (en) * 2019-06-21 2019-09-10 西安易朴通讯技术有限公司 Server, power supply application method and control device
CN111313359A (en) * 2020-02-16 2020-06-19 苏州浪潮智能科技有限公司 Server hot plug circuit short-circuit protection auxiliary device
CN111475288A (en) * 2020-03-27 2020-07-31 苏州浪潮智能科技有限公司 Server and power supply protection system thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114461048A (en) * 2022-01-07 2022-05-10 苏州浪潮智能科技有限公司 PSU redundancy mode setting method, device and medium
CN114461048B (en) * 2022-01-07 2023-08-04 苏州浪潮智能科技有限公司 PSU redundancy mode setting method, PSU redundancy mode setting device and PSU redundancy mode setting medium

Also Published As

Publication number Publication date
CN113204279B (en) 2022-12-02

Similar Documents

Publication Publication Date Title
US9703363B2 (en) Power supply module and power supply system with sequential smart activation/deactivation based on load
US9223394B2 (en) Rack and power control method thereof
CN106339058A (en) Dynamic power supply management method and system
JP2019030203A (en) High performance battery back-up system
CN103944739A (en) Intelligent POE power source supplying system and efficient POE power source managing method thereof
CN110515802A (en) A kind of monitoring method, system and the associated component of server booting failure
CN113645049B (en) Network card electrifying method, system, storage medium and equipment
US20230305980A1 (en) Flexibly configured multi-computing-node server mainboard structure and program
CN106201758B (en) A kind of method and device that server node hard disk powers on
CN111090325B (en) Hot standby power switching system based on storage system
CN102183986A (en) Multi-source power supply control method, device and system
CN112506427A (en) Method, system, equipment and medium for reducing power consumption of solid state disk
CN113204279B (en) Method, system, device and medium for improving server efficiency based on redundant power supply
CN109062392A (en) It is a kind of to automatically switch equipment, the method and system that server board is powered
CN110362180A (en) A kind of server power supply service life equalising control device and method
CN108933687B (en) Power consumption control method and device
CN111309132B (en) Method for multi-gear power supply redundancy of server
US20150362943A1 (en) Adaptive voltage scaling circuit and chip
CN218824636U (en) Power supply detection device for server hard disk backboard
US20130061072A1 (en) Power saving node controller
CN115599188A (en) Server power supply control method and device, storage medium and electronic device
CN105573869A (en) I2C bus based fault tolerant control method for system controller
US10216249B2 (en) Electrical power control and fault protection
CN112379763B (en) Method, system, equipment and medium for preventing electric leakage
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