CN113625855B - Power supply control method, system, medium and equipment of server system - Google Patents

Power supply control method, system, medium and equipment of server system Download PDF

Info

Publication number
CN113625855B
CN113625855B CN202110840694.XA CN202110840694A CN113625855B CN 113625855 B CN113625855 B CN 113625855B CN 202110840694 A CN202110840694 A CN 202110840694A CN 113625855 B CN113625855 B CN 113625855B
Authority
CN
China
Prior art keywords
state
module
server system
power
power supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110840694.XA
Other languages
Chinese (zh)
Other versions
CN113625855A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202110840694.XA priority Critical patent/CN113625855B/en
Publication of CN113625855A publication Critical patent/CN113625855A/en
Application granted granted Critical
Publication of CN113625855B publication Critical patent/CN113625855B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/442Shutdown

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Power Sources (AREA)

Abstract

The invention provides a power supply control method, a system, a medium and equipment of a server system, wherein the method comprises the following steps: setting a state restoration strategy in a system management module of a server system; in response to the power failure of the alternating current power supply in the running process of the server system, a power failure signal is sent to the logic processing module and the system management module through the system power supply module; responding to the power-off signal received by the logic processing module, judging the level state of the power state signal received from the central processing unit, identifying the on-off state of the server system, and storing the identification result; responding to the power-off signal received by the system management module, sending an access signal to the logic processing module, acquiring an identification result and storing the identification result; responding to the alternating current power supply to restore the power supply, and reading the identification result through a system management module; and controlling the starting up or shutting down based on the identification result through the system management module. The invention realizes simple and reliable control of the power supply of the server system.

Description

Power supply control method, system, medium and equipment of server system
Technical Field
The present invention relates to the field of server technologies, and in particular, to a method, a system, a medium, and an apparatus for controlling a power supply of a server system.
Background
On a general-purpose X86 architecture computer, there is a function called Restore on AC Power loss, which is generally controlled by the ME in the PCH to realize that the system can automatically restore the state of the computer when the AC (alternating current) power is disconnected and restored. Typically, this function can be set under the BIOS, and if a Last State is selected in the BIOS, it represents what State the system has recovered to based on the State before the Last power down after the AC FAIL has occurred, i.e., after the AC power is disconnected and recovered again.
In the prior art, there are 2 common processing methods:
1. performing AC POWER LOSS related setting in BIOS, storing the related setting into PCH CMOS area, and after POWER-off and restarting, performing information readback from the CMOS area;
2. performing AC POWER LOSS related setting in BIOS, and outputting setting information to CPLD as a state identifier through GPIO; when normal power failure occurs, the computer is usually in a power-off state, and when abnormal power failure occurs, the computer is usually in a power-on state; after the computer power-off is detected, the computer power-off can be determined to be normal power-off or abnormal power-off, so that corresponding computer power-off information is generated, and the information is written into the UFM for storage.
However, the following problems exist in the prior art:
1. storing relevant information in PCH CMOS area will be affected by the precision and life of button cell powered by periphery, when button cell is lowered with voltage at two ends, the reading and storing of data will be at unstable risk;
2. after the computer is powered off, the CPLD still needs to work for a certain time (for example, more than 5 seconds) to write the state identifier into the CPLD, for example, into the UFM of the CPLD, and a super capacitor is required to be added for power supply; the use of the UFM consumes a large amount of CPLD logic resources, has higher requirement on CPLD type selection, and increases the system cost to a certain extent; and for the state judgment of the system in the power-off process, the common cognition is adopted to treat the state insufficiently strictly.
Disclosure of Invention
In view of the above, the present invention aims to provide a method, a system, a medium and a device for controlling a power supply of a server system, which are used for solving the problem that in the prior art, the power-on or relation state of the server system before power failure is not easy to recover after the power failure occurs in the server system.
Based on the above object, the present invention provides a power control method of a server system, comprising the steps of:
setting an alternating current power failure recovery strategy as a recovery state strategy in a system management module of a server system and storing the recovery state strategy into a storage module;
in response to the power failure of the alternating current power supply in the running process of the server system, a power failure signal is respectively sent to the logic processing module and the system management module through the system power supply module;
responding to the power-off signal received by the logic processing module, judging the level state of the power state signal received from the central processing unit, identifying the on-off state of the server system based on the judging result, and storing the identifying result into the logic processing module;
responding to the power-off signal received by the system management module, sending an access signal to the logic processing module, acquiring an identification result based on the access signal, and storing the identification result into the storage module;
the method comprises the steps of responding to the alternating current power supply to restore power, reading a restoration state strategy from a storage module through a system management module, detecting whether the restoration state strategy is effective, and responding to the restoration state strategy to be effective, and reading an identification result from the storage module;
and controlling the starting up or shutting down of the server system based on the identification result through the system management module.
In some embodiments, identifying the power-on/off state of the server system based on the determination result includes:
responding to the state of the power state signal as a first preset state, and identifying that the server system is in a starting state;
and in response to the level state of the power state signal being a second preset level state, identifying that the server system is in a shutdown state.
In some embodiments, controlling, by the system management module, power on or power off of the server system based on the recognition result includes:
in response to identifying that the server system is in a starting state, sending a starting signal to the logic control module through the system management module so as to control the server system to start so as to keep the starting state;
in response to identifying that the server system is in a shutdown state, the system management module causes the server system to continue to remain in the shutdown state by not sending a power-on signal.
In some embodiments, the method further comprises:
and in response to normal power supply of the alternating current power supply in the running process of the server system, power supply signals are respectively sent to the logic processing module and the system management module through the system power supply module.
In some embodiments, storing the recognition result in the logic processing module includes:
and storing the identification result into a register of the logic processing module.
In some embodiments, the method further comprises:
and in response to the fact that the alternating current power failure recovery strategy is set to be a starting strategy in the system management module, and the power supply is recovered after the alternating current power supply is powered down in the running process of the server system, the system management module controls the starting of the server system.
In some embodiments, the method further comprises:
and in response to the fact that the alternating current power failure recovery strategy is set to be a shutdown strategy in the system management module, and the power supply is recovered after the alternating current power supply is powered down in the running process of the server system, the system management module controls the server system to be powered down.
In another aspect of the present invention, there is also provided a power control system of a server system, including:
the system management module is used for storing the AC power failure recovery strategy into the storage module;
the power-off module is configured to respond to the power-off of the alternating current power supply in the running process of the server system and respectively send power-off signals to the logic processing module and the system management module through the system power supply module;
the judging module is configured to respond to the power-off signal received by the logic processing module, judge the level state of the power state signal received from the central processing unit, identify the on-off state of the server system based on the judging result, and store the identifying result into the logic processing module;
the access module is configured to respond to the power-off signal received by the system management module, send an access signal to the logic processing module, acquire an identification result based on the access signal and store the identification result into the storage module;
the identification result reading module is configured to read a restoration state strategy from the storage module through the system management module and detect whether the restoration state strategy is effective or not in response to restoration of power supply of the alternating current power supply, and read an identification result from the storage module in response to the restoration state strategy being effective; and
and the power supply control module is configured to control the starting up or shutting down of the server system based on the identification result through the system management module.
In yet another aspect of the present invention, there is also provided a computer readable storage medium storing computer program instructions which, when executed, implement any of the methods described above.
In yet another aspect of the present invention, there is also provided a computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, performs any of the methods described above.
The invention has at least the following beneficial technical effects:
1. after the power of the server system is lost, a power-loss signal is sent to the logic processing module, the logic processing module receives the power state signal from the central processing unit and judges the level state of the power state signal, the on-off state of the server system is identified based on the judging result, and the identifying result is stored, so that the on-off state of the server system before the power failure can be known in time, and the system management module controls the on-off of the server system based on the identifying result;
2. according to the invention, under the condition that the functions of the BIOS and the CPLD UFM are not used and the super capacitor is additionally added to supply power, the automatic recovery to the previous state after the alternating current power of the server system is off is realized, and the effect of simplifying the system architecture is achieved; meanwhile, the high material cost caused by using the CPLD with high specification can be saved; the state information storage independent of the button battery ensures that the power supply control of the server system is more stable and reliable, and the stability of data storage is ensured.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are necessary for the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention and that other embodiments may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a power control method of a server system according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a power control system of a server system according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a computer readable storage medium implementing a method for controlling power to a server system according to an embodiment of the present invention;
fig. 4 is a schematic hardware structure of a computer device for executing a power control method of a server system according to an embodiment of the present invention.
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 will be described in further detail with reference to the accompanying drawings.
It should be noted that, in the embodiments of the present invention, all the expressions "first" and "second" are used to distinguish two non-identical entities with the same name or non-identical parameters, and it is noted that the "first" and "second" are only used for convenience of expression, and should not be construed as limiting the embodiments of the present invention. Furthermore, the terms "comprise" and "have," and any variations thereof, are intended to cover a non-exclusive inclusion, such as a process, method, system, article, or other step or unit that comprises a list of steps or units.
In view of the above object, a first aspect of the embodiments of the present invention proposes an embodiment of a power control method of a server system. Fig. 1 is a schematic diagram of an embodiment of a power control method of a server system according to the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
step S10, setting an alternating current power failure recovery strategy as a recovery state strategy in a system management module of a server system and storing the recovery state strategy into a storage module;
step S20, in response to the power failure of the alternating current power supply in the running process of the server system, a power failure signal is respectively sent to the logic processing module and the system management module through the system power supply module;
step S30, responding to the power-off signal received by the logic processing module, judging the level state of the power state signal received from the central processing unit, identifying the on-off state of the server system based on the judging result, and storing the identifying result into the logic processing module;
step S40, in response to the system management module receiving the power-off signal, sending an access signal to the logic processing module, acquiring an identification result based on the access signal, and storing the identification result into the storage module;
s50, responding to the power restoration of the alternating current power supply, reading a restoration state strategy from the storage module through the system management module, detecting whether the restoration state strategy is effective, and responding to the restoration state strategy to be effective, and reading the identification result from the storage module;
and step S60, controlling the starting up or the shutdown of the server system based on the identification result through the system management module.
In this embodiment, the ac power loss recovery policy (AC POWER LOSS POLICY) includes three types, and the recovery State policy (Last State) is one of the three types.
According to the embodiment of the invention, after the power of the server system is lost, a power-loss signal is sent to the logic processing module, the logic processing module receives the power state signal from the central processing unit and judges the level state of the power state signal, the on-off state of the server system is identified based on the judging result, and the identifying result is stored, so that the on-off state of the server system before the power loss can be known in time, and the system management module controls the on-off of the server system based on the identifying result; the embodiment of the invention can realize that the server system automatically recovers to the previous state after the alternating current power is off under the condition that the functions of the BIOS and the CPLD UFM are not used and the super capacitor is additionally added for supplying power, thereby achieving the effect of simplifying the system architecture; meanwhile, the high material cost caused by using the CPLD with high specification can be saved; the state information storage independent of the button battery ensures that the power supply control of the server system is more stable and reliable, and the stability of data storage is ensured.
In some embodiments, identifying the power-on/off state of the server system based on the determination result includes: responding to the state of the power state signal as a first preset state, and identifying that the server system is in a starting state; and in response to the level state of the power state signal being a second preset level state, identifying that the server system is in a shutdown state.
In some embodiments, controlling, by the system management module, power on or power off of the server system based on the recognition result includes: in response to identifying that the server system is in a starting state, sending a starting signal to the logic control module through the system management module so as to control the server system to start so as to keep the starting state; in response to identifying that the server system is in a shutdown state, the system management module causes the server system to continue to remain in the shutdown state by not sending a power-on signal.
In the above embodiment, when the level state of the power state signal is a high level state, the server system is identified to be in a power-on state, and the power-on signal is sent to the logic control module through the system management module, so that the system management module controls the power-on of the server system to keep in the power-on state before power failure. When the level state of the power state signal is a low level state, the server system is identified to be in a shutdown state, and the system management module does not send a startup signal to the logic control module, so that the server system is kept in the shutdown state before power failure.
In some embodiments, the method further comprises: and in response to normal power supply of the alternating current power supply in the running process of the server system, power supply signals are respectively sent to the logic processing module and the system management module through the system power supply module.
In the embodiment, when an alternating current power supply is powered off in the running process of the server system, power-off signals in a low-level state are respectively sent to a logic processing module and a system management module; when the alternating current power supply of the server system is normal in the operation process, power supply signals in a high-level state are respectively sent to the logic processing module and the system management module.
In some embodiments, storing the recognition result in the logic processing module includes: and storing the identification result into a register of the logic processing module.
In this embodiment, correspondingly, after the system management module receives the power-off signal, the system management module sends an access signal to the logic processing module, obtains the identification result from the register of the logic processing module, and then stores the identification result in the storage module.
In some embodiments, the method further comprises: and in response to the fact that the alternating current power failure recovery strategy is set to be a starting strategy in the system management module, and the power supply is recovered after the alternating current power supply is powered down in the running process of the server system, the system management module controls the starting of the server system.
In some embodiments, the method further comprises: and in response to the fact that the alternating current power failure recovery strategy is set to be a shutdown strategy in the system management module, and the power supply is recovered after the alternating current power supply is powered down in the running process of the server system, the system management module controls the server system to be powered down.
In the above embodiment, the other two types of ac power loss recovery strategies (AC POWER LOSS POLICY) are Always on and Always off, respectively. Always on stands for automatic start-up after AC FAIL occurs, i.e. after the AC power supply is disconnected and restored again, regardless of the state the system was in before last power failure. Always off means that after AC FAIL occurs, i.e. the AC power supply is turned off again, the system is not turned on regardless of the state it was in before the last power off.
In a second aspect of the embodiment of the present invention, a power control system of a server system is also provided. Fig. 2 is a schematic diagram of an embodiment of a power control system of a server system according to the present invention. As shown in fig. 2, a power control system of a server system includes: a policy setting module 10 configured to set the ac power loss recovery policy as a recovery state policy in a system management module of the server system and store it in the storage module; the power-off module 20 is configured to respond to power-off of the alternating current power supply in the running process of the server system, and send power-off signals to the logic processing module and the system management module through the system power supply module respectively; the judging module 30 is configured to respond to the power-off signal received by the logic processing module, judge the level state of the power state signal received from the central processing unit, identify the on-off state of the server system based on the judging result, and store the identifying result into the logic processing module; an access module 40 configured to send an access signal to the logic processing module in response to the system management module receiving the power-down signal, acquire a recognition result based on the access signal, and store the recognition result in the storage module; the recognition result reading module 50 is configured to read the restoration state policy from the storage module and detect whether the restoration state policy is effective or not through the system management module in response to restoration of the power supply of the ac power supply, and to read the recognition result from the storage module in response to the restoration state policy being effective; and a power control module 60 configured to control the power on or off of the server system based on the recognition result through the system management module.
In some embodiments, the determining module 30 includes an identifying module configured to identify that the server system is in a power-on state in response to the level state of the power state signal being a first preset level state; and in response to the level state of the power state signal being a second preset level state, identifying that the server system is in a shutdown state.
In some embodiments, the power control module 60 is further configured to send a power-on signal to the logic control module through the system management module to cause it to control the server system to power on to continue to maintain the power-on state in response to identifying that the server system is in the power-on state; in response to identifying that the server system is in a shutdown state, the system management module causes the server system to continue to remain in the shutdown state by not sending a power-on signal.
In some embodiments, the system further comprises a power supply normal module configured to send power supply signals to the logic processing module and the system management module, respectively, through the system power supply module in response to the server system being powered normally by the ac power supply during operation.
In some embodiments, the judging module 30 further includes a storage module configured to store the identification result into a register of the logic processing module.
In some embodiments, the system further comprises a power-on policy module configured to control the power-on of the server system through the system management module in response to setting the ac power loss recovery policy to the power-on policy in the system management module and recovering power from the ac power source after the ac power source is powered down during operation of the server system.
In some embodiments, the system further comprises a shutdown policy module configured to control the server system to shutdown through the system management module in response to setting the ac power loss recovery policy to the shutdown policy in the system management module and the server system recovering power after the ac power source is powered down during operation.
According to the power supply system of the server system, after the power of the server system is lost, the power-loss signal is sent to the logic processing module, the logic processing module receives the power state signal from the central processing unit and judges the level state of the power state signal, the on-off state of the server system is identified based on the judging result, and the identifying result is stored, so that the on-off state of the server system before the power loss can be known in time, and the system management module controls the on-off state of the server system based on the identifying result; under the condition that the functions of BIOS and CPLD UFM are not used and super capacitor power supply is additionally added, the automatic recovery to the previous state after the AC power failure of the server system is realized, and the effect of simplifying the system architecture is achieved; meanwhile, the high material cost caused by using the CPLD with high specification can be saved; the state information storage independent of the button battery ensures that the power supply control of the server system is more stable and reliable, and the stability of data storage is ensured.
In a third aspect of the embodiment of the present invention, a computer readable storage medium is further provided, and fig. 3 is a schematic diagram of a computer readable storage medium for implementing a power control method of a server system according to an embodiment of the present invention. As shown in fig. 3, the computer-readable storage medium 3 stores computer program instructions 31, which computer program instructions 31 are executable by a processor. The computer program instructions 31 when executed implement the method of any of the embodiments described above.
It should be understood that all the embodiments, features and advantages set forth above for the power control method of the server system according to the present invention equally apply to the power control system and the storage medium of the server system according to the present invention, without conflicting therewith.
In a fourth aspect of the embodiments of the present invention, there is also provided a computer device comprising a memory 402 and a processor 401, the memory storing a computer program which, when executed by the processor, implements the method of any of the embodiments described above.
Fig. 4 is a schematic hardware structure of an embodiment of a computer device for executing the power control method of the server system according to the present invention. Taking the example of a computer device as shown in fig. 4, a processor 401 and a memory 402 are included in the computer device, and may further include: an input device 403 and an output device 404. The processor 401, memory 402, input device 403, and output device 404 may be connected by a bus or otherwise, for example in fig. 4. The input device 403 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the power control system of the server system. The output 404 may include a display device such as a display screen.
The memory 402 is a non-volatile computer readable storage medium, and may be used to store a non-volatile software program, a non-volatile computer executable program, and modules, such as program instructions/modules corresponding to the power control method of the server system in the embodiments of the present application. Memory 402 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created by use of a power control method of the server system, and the like. In addition, memory 402 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 402 may optionally include memory located remotely from processor 401, which may be connected to the local module 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 processor 401 executes various functional applications of the server and data processing, that is, implements the power control method of the server system of the above-described method embodiment, by running nonvolatile software programs, instructions, and modules stored in the memory 402.
Finally, it should be noted that the computer-readable storage media (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of example, and not limitation, RAM may be available in a variety of forms such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
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 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 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 foregoing embodiment of the present invention has been disclosed with reference to the number of embodiments for the purpose of description only, and does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that: the above discussion of any embodiment is merely exemplary and is not intended to imply that the scope of the disclosure of embodiments of the invention, including the claims, is limited to such examples; combinations of features of the above embodiments or in different embodiments are also possible within the idea of an embodiment of the invention, and many other variations of the different aspects of the embodiments of the invention as described above exist, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. of the embodiments should be included in the protection scope of the embodiments of the present invention.

Claims (10)

1. A power control method of a server system, comprising the steps of:
setting an alternating current power failure recovery strategy as a recovery state strategy in a system management module of a server system and storing the recovery state strategy into a storage module;
in response to the power failure of the alternating current power supply in the running process of the server system, a power failure signal is respectively sent to a logic processing module and a system management module through a system power supply module;
responding to the logic processing module to receive the power-off signal, judging the level state of the received power state signal from the central processing unit, identifying the on-off state of the server system based on the judging result, and storing the identifying result into the logic processing module;
responding to the system management module to receive the power-off signal, sending an access signal to the logic processing module, acquiring the identification result based on the access signal, and storing the identification result into the storage module;
responding to the alternating current power supply to restore the power supply, reading the restoration state strategy from the storage module through the system management module, detecting whether the restoration state strategy is effective, and responding to the restoration state strategy to be effective, and reading the identification result from the storage module;
and controlling the starting up or shutting down of the server system based on the identification result through the system management module.
2. The method of claim 1, wherein identifying the power-on/off state of the server system based on the determination result comprises:
responding to the state of the power state signal as a first preset state, and identifying that the server system is in a starting state;
and identifying that the server system is in a shutdown state in response to the level state of the power state signal being a second preset level state.
3. The method of claim 2, wherein controlling, by the system management module, the server system to power on or off based on the recognition result comprises:
in response to identifying that the server system is in a starting state, sending a starting signal to a logic control module through the system management module so as to control the server system to start so as to keep the starting state;
in response to identifying that the server system is in a shutdown state, the system management module continues to maintain the shutdown state by not sending the power-on signal.
4. The method as recited in claim 1, further comprising:
and in response to the normal power supply of the alternating current power supply in the running process of the server system, sending power supply signals to the logic processing module and the system management module through the system power supply module respectively.
5. The method of claim 1, wherein storing the recognition result in the logic processing module comprises:
and storing the identification result into a register of the logic processing module.
6. The method as recited in claim 1, further comprising:
and in response to the fact that the alternating current power failure recovery strategy is set as a starting strategy in the system management module, and the power supply is recovered after the alternating current power supply is powered down in the running process of the server system, controlling the starting of the server system through the system management module.
7. The method as recited in claim 1, further comprising:
and in response to the fact that the alternating current power failure recovery strategy is set to be a shutdown strategy in the system management module, and the power supply is recovered after the alternating current power supply is powered down in the running process of the server system, controlling the server system to be powered down through the system management module.
8. A power control system for a server system, comprising:
the system management module is used for storing the AC power failure recovery strategy into the storage module;
the power-off module is configured to respond to the power-off of the alternating current power supply in the running process of the server system and respectively send power-off signals to the logic processing module and the system management module through the system power supply module;
the judging module is configured to respond to the power-off signal received by the logic processing module, judge the level state of the power state signal received from the central processing unit, identify the on-off state of the server system based on the judging result, and store the identifying result into the logic processing module;
the access module is configured to respond to the power-off signal received by the system management module, send an access signal to the logic processing module, acquire the identification result based on the access signal and store the identification result into the storage module;
the identification result reading module is configured to respond to the restoration of the power supply of the alternating current power supply, read the restoration state strategy from the storage module through the system management module and detect whether the restoration state strategy is effective, and respond to the restoration state strategy to be effective, and read the identification result from the storage module; and
and the power supply control module is configured to control the starting up or shutting down of the server system based on the identification result through the system management module.
9. A computer readable storage medium, characterized in that computer program instructions are stored, which when executed implement the method of any of claims 1-7.
10. A computer device comprising a memory and a processor, wherein the memory has stored therein a computer program which, when executed by the processor, performs the method of any of claims 1-7.
CN202110840694.XA 2021-07-25 2021-07-25 Power supply control method, system, medium and equipment of server system Active CN113625855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110840694.XA CN113625855B (en) 2021-07-25 2021-07-25 Power supply control method, system, medium and equipment of server system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110840694.XA CN113625855B (en) 2021-07-25 2021-07-25 Power supply control method, system, medium and equipment of server system

Publications (2)

Publication Number Publication Date
CN113625855A CN113625855A (en) 2021-11-09
CN113625855B true CN113625855B (en) 2023-07-25

Family

ID=78380941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110840694.XA Active CN113625855B (en) 2021-07-25 2021-07-25 Power supply control method, system, medium and equipment of server system

Country Status (1)

Country Link
CN (1) CN113625855B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109683696A (en) * 2018-12-25 2019-04-26 浪潮电子信息产业股份有限公司 Fault of server power supply detection system, method, apparatus, equipment and medium
CN111352497A (en) * 2020-02-29 2020-06-30 苏州浪潮智能科技有限公司 Power consumption limiting method, system, equipment and medium for server
CN112199244A (en) * 2020-10-16 2021-01-08 苏州浪潮智能科技有限公司 Method, system, equipment and medium for detecting power failure of server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10846160B2 (en) * 2018-01-12 2020-11-24 Quanta Computer Inc. System and method for remote system recovery

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109683696A (en) * 2018-12-25 2019-04-26 浪潮电子信息产业股份有限公司 Fault of server power supply detection system, method, apparatus, equipment and medium
CN111352497A (en) * 2020-02-29 2020-06-30 苏州浪潮智能科技有限公司 Power consumption limiting method, system, equipment and medium for server
CN112199244A (en) * 2020-10-16 2021-01-08 苏州浪潮智能科技有限公司 Method, system, equipment and medium for detecting power failure of server

Also Published As

Publication number Publication date
CN113625855A (en) 2021-11-09

Similar Documents

Publication Publication Date Title
US9146839B2 (en) Method for pre-testing software compatibility and system thereof
CN106356097B (en) Protection method and device for preventing data loss
CN106933706A (en) The power-off protection method and device of Nonvolatile memory
CN108897646B (en) Switching method of BIOS (basic input output System) chips and substrate management controller
CN113608930B (en) System chip and electronic device
CN110879768A (en) Power-on and power-off test method and device for multi-system server
CN113625855B (en) Power supply control method, system, medium and equipment of server system
CN111475343B (en) Computer state outage restoration method and device and terminal equipment
CN111400136A (en) Server-dedicated GPU fault protection device, method, equipment and medium
CN107179911B (en) Method and equipment for restarting management engine
CN116185715A (en) System, method and device for clearing CMOS (complementary metal oxide semiconductor) settings of domestic Feiteng platform
CN114576810B (en) Air conditioner control method and device, air conditioner and storage medium
CN110794945B (en) Storage server power supply method, device, equipment and storage medium
CN110162320B (en) Uninterruptible power supply system upgrading method, device, computer equipment and storage medium
CN110275797B (en) Controller and data storage method
JP6881389B2 (en) Parameter adjustment device for power converter
CN114925011B (en) Method and device for solving problem that PCIE hot plug slot position cannot identify equipment
CN118012668A (en) Intelligent module keep-alive system and method
CN110740104A (en) switch system startup management method and device
CN110764940A (en) Processing method and device for service exception of distributed system
CN113032182B (en) Method and equipment for recovering computer system from abnormity
CN115114065B (en) Memory repair method, system, storage medium and equipment
CN110515669B (en) Data management method and device, electronic equipment and storage medium
CN114115502B (en) Method, system, equipment and storage medium for improving power availability
CN113157394B (en) Mirror image backup method and device, electronic equipment and storage medium

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