CN115098305B - Main board standby power switching method and device, electronic equipment and storage medium - Google Patents

Main board standby power switching method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115098305B
CN115098305B CN202210708608.4A CN202210708608A CN115098305B CN 115098305 B CN115098305 B CN 115098305B CN 202210708608 A CN202210708608 A CN 202210708608A CN 115098305 B CN115098305 B CN 115098305B
Authority
CN
China
Prior art keywords
standby
power
power supply
unit
control unit
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
CN202210708608.4A
Other languages
Chinese (zh)
Other versions
CN115098305A (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 CN202210708608.4A priority Critical patent/CN115098305B/en
Publication of CN115098305A publication Critical patent/CN115098305A/en
Application granted granted Critical
Publication of CN115098305B publication Critical patent/CN115098305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B70/00Technologies for an efficient end-user side electric power management and consumption
    • Y02B70/30Systems integrating technologies related to power network operation and communication or information technologies for improving the carbon footprint of the management of residential or tertiary loads, i.e. smart grids as climate change mitigation technology in the buildings sector, including also the last stages of power distribution and the control, monitoring or operating management systems at local level
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S20/00Management or operation of end-user stationary applications or the last stages of power distribution; Controlling, monitoring or operating thereof
    • Y04S20/20End-user application control systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Stand-By Power Supply Arrangements (AREA)

Abstract

The application discloses a method and a device for switching standby power of a main board, electronic equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: in response to the state detection unit detecting that the state parameter of the first power supply unit is abnormal, sending a state abnormality signal to the standby electric control unit, and executing a standby electric strategy according to the state abnormality signal by the standby electric control unit; and responding to the state detection unit to detect that the first power supply unit is powered down abnormally, sending a power-down abnormal signal to the standby electric control unit, and executing an emergency standby electric strategy by the standby electric control unit according to the power-down abnormal signal. The application can avoid the low-level barb in the process from the power failure of the power supply unit to the successful standby of the backup battery unit, so that the standby management process of the main board is more systematic and comprehensive.

Description

Main board standby power switching method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and apparatus for switching between standby power and active power of a motherboard, an electronic device, and a storage medium.
Background
In the current big data age, higher requirements are put on the reliability of a storage array, and in particular, higher requirements are put on the power supply stability of a storage system.
In the power supply design of a high-power dual-controller storage system in the prior art, as a short-time low-level barb exists in the process from the power failure of a PSU (Power Supply Unit, a power supply unit) to the successful power backup of a BBU (Backup Battery Unit, a backup battery unit), the barb can possibly have short-time influence on the normal operation of a load of the storage device, so that the working reliability of the storage device is reduced.
In the current storage market, with the development and application of high-end storage, high-speed signal loads such as DDR (Double data Rate) and PCIe (PERIPHERAL COMPONENT INTERCONNECT EXPRESS, high-speed serial computer expansion bus) on storage equipment have higher requirements on the power supply reliability of the equipment, various power supply modules on a main board also have higher dependence on the power supply stability of a front-end PSU (power supply unit) combination, and only the PSU provides stable 12V power for a back-end power supply, the main board can normally power on and stably work and operate. The barb in a short time can possibly cause undervoltage protection of a rear end power supply, so that power supply failure of a load is caused, the load is powered down and cannot work normally, and serious influences such as data backup failure and even data loss are caused. Therefore, how to avoid the low level barb during standby power switching is a problem to be solved at present.
Disclosure of Invention
In order to solve at least one problem in the background art, the application provides a main board standby power switching method, a device, electronic equipment and a storage medium, which can avoid a low-level barb in the process of successfully standby power from a power supply unit to a standby battery unit after power failure, so that the main board standby power management process is more comprehensive.
The specific technical scheme provided by the embodiment of the application is as follows:
in a first aspect, a method for switching between power supply and backup of a motherboard is provided, the method is applied to the motherboard, the motherboard is connected with a first power supply unit, a power supply control unit and a backup battery unit, the first power supply unit is connected with a state detection unit, wherein the first power supply unit is used for supplying power to the motherboard, and the backup battery unit is used for providing power to the motherboard, and the method includes:
In response to the state detection unit detecting that the state parameter of the first power supply unit is abnormal, sending a state abnormality signal to a standby electric control unit, and executing a pre-standby electric strategy by the standby electric control unit according to the state abnormality signal;
and responding to the state detection unit to detect that the first power supply unit is powered down abnormally, sending a power-down abnormal signal to the standby electric control unit, and executing an emergency standby electric strategy by the standby electric control unit according to the power-down abnormal signal.
Furthermore, the main board is also connected with a built-in standby power unit which comprises a charging path, a discharging path, a switch and a super capacitor, the first power supply unit is also used for charging the super capacitor through the charging path,
The standby electric control unit executes a standby electric strategy according to the state abnormality signal, and the standby electric control unit comprises:
The standby electric control unit sends a standby electric instruction to the built-in standby electric unit;
the built-in standby power unit opens the switch according to the standby power instruction to prepare for power supply;
In response to the first power supply unit losing power in a first preset time, the built-in standby power unit discharges in the discharge path through the super capacitor so as to maintain the power supply of the main board at least in the standby power time;
Switching to the backup battery unit to supply power;
The standby time is the time required from the power failure of the first power supply unit to the switching to the power supply of the standby battery unit.
Further, after the standby electric control unit sends a standby electric instruction to the internal standby electric unit, the method further includes:
the standby electric control unit sends a low-power-consumption operation instruction to the main board;
And the main board executes the frequency-reducing operation and/or the power-reducing operation according to the low-power-consumption operation instruction.
Further, the standby electric control unit executes an emergency standby electric strategy according to the power failure abnormal signal, and the standby electric control unit comprises:
the standby electric control unit starts redundant standby electricity of the double power supply units and supplies power to the main board of the first power supply unit through the combination of the second power supply units;
And the standby electric control unit sends a standby electric instruction to the standby battery unit, and the standby battery unit starts power supply according to the standby electric instruction.
Further, the method further comprises:
in response to detecting that the backup battery unit is normally powered, the backup control unit shuts off the combined circuit.
Further, before the responding to the power failure of the first power supply unit in the first preset time, the built-in standby power unit discharges in the discharge path through the super capacitor so as to maintain the power supply of the main board at least in the standby time, the method further comprises:
and determining the power supply parameters of the super capacitor according to the standby power time and the power supply current required by the main board.
Further, the power supply parameter of the super capacitor is calculated according to the following formula:
Q=C×V=I×T
Wherein Q is the total electric quantity of the super capacitor, C is the capacity of the super capacitor, V is the voltage at two ends of the super capacitor during discharging, I is the power supply current required by the main board, and T is the standby time.
Further, the state parameter anomaly includes at least one of:
The first power supply unit temperature exceeds a temperature threshold, the first power supply unit current exceeds a current threshold, and the first power supply unit voltage abnormally fluctuates.
In a second aspect, a motherboard standby power switching device is provided, where the device includes a first power supply unit, a standby electric control unit, a standby battery unit, and a status detection unit;
The state detection unit is used for responding to detection of state parameter abnormality of the first power supply unit and sending a state abnormality signal to the standby electric control unit;
the standby electric control unit is used for executing a standby electric strategy according to the state abnormal signal;
The state detection unit is further used for sending a power failure abnormal signal to the standby electric control unit in response to detecting that the first power supply unit is powered down abnormally;
The standby electric control unit is also used for executing an emergency standby electric strategy according to the power failure abnormal signal.
In a third aspect, an electronic device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the motherboard standby power switching method when executing the computer program.
In a fourth aspect, a computer-readable storage medium is provided, in which computer-executable instructions for performing the motherboard standby power switching method are stored.
The embodiment of the application has the following beneficial effects:
According to the main board standby power switching method, the device, the electronic equipment and the storage medium, which are provided by the embodiment of the application, the two standby power paths of the standby power strategy and the emergency standby power strategy can be mutually coordinated, so that the low-level barb phenomenon generated by insufficient preparation of the traditional standby power strategy is effectively avoided, the operation reliability of the system is improved, meanwhile, the abnormal power supply of different situations is more comprehensively dealt with, and the standby power management process is more systematic. The power supply unit is used for supplying power to the power supply unit, wherein a power preparation strategy can prepare power according to abnormal state information of the power supply unit, so that the power preparation process is fully prepared; the emergency standby power strategy can fully utilize redundant power supply of the power supply unit, ensure smooth transition to the standby stage as much as possible, and reduce the influence caused by barbs.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a general flowchart of a method for switching between standby power and active power of a motherboard according to an embodiment of the present application;
FIG. 2 illustrates a specific flow diagram of a power backup strategy according to one embodiment of the application;
FIG. 3 illustrates a specific flow diagram of an emergency power backup strategy according to one embodiment of the application;
FIG. 4 shows a circuit diagram of a built-in electrical unit according to one embodiment of the application;
FIG. 5 illustrates a dual power supply unit redundant power supply topology according to one embodiment of the application;
fig. 6 shows a schematic structural diagram of a motherboard standby power switching device according to an embodiment of the present application;
FIG. 7 illustrates an exemplary system that may be used to implement various embodiments described in the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be appreciated that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
Example 1
The application provides a standby power switching method of a main board, which is applied to the main board, wherein the main board is connected with a first power supply unit, a standby power control unit and a standby battery unit, the first power supply unit is connected with a state detection unit, the first power supply unit is used for supplying power to the main board, the standby battery unit is used for standby power to the main board, and referring to fig. 1, the method comprises the following steps:
S1, responding to the state detection unit to detect that the state parameter of the first power supply unit is abnormal, sending a state abnormality signal to the standby electric control unit, and executing a standby electric strategy by the standby electric control unit according to the state abnormality signal;
S2, responding to the state detection unit to detect abnormal power-down of the first power supply unit, sending a power-down abnormal signal to the standby electric control unit, and executing an emergency standby electric strategy by the standby electric control unit according to the power-down abnormal signal.
Specifically, when the first power supply unit works normally, power is supplied to the corresponding main board, and the system control unit runs the main-standby power switching optimization algorithm while supplying power. When the state detection unit detects that an abnormal condition occurs, the standby electric control unit selects a corresponding algorithm path according to the abnormal state, and the standby electric control unit efficiently performs standby electric work. The main and standby power switching optimization algorithm comprises two paths, namely the pre-standby power strategy and the emergency standby power strategy, and the selection of the two paths is determined according to the real-time detection result of the state detection unit. The pre-power-backup strategy and the emergency power-backup strategy are not mutually influenced in the control algorithm level and the physical level, and the final result of the two algorithm paths is to ensure that the main board selects a proper path according to the state of the main board so as to efficiently and reliably switch to the backup battery unit for power backup. The pre-power-backup strategy takes the state parameter of the first power supply unit as a reference point, and realizes the preparation operation on power backup by matching the built-in power backup unit with the back-end load, thereby ensuring the high-quality power backup in a short time after PSU power failure; the emergency power backup strategy takes the power failure information of the PSU as a reference point, ensures that the power backup can be normally performed in the emergency, and minimizes the influence possibly caused by the power failure of the PSU. The two standby power paths are mutually coordinated and matched, and simultaneously support is provided for the two standby power paths on hardware, so that the phenomenon of low-level barbs generated by insufficient preparation in the traditional standby power strategy is effectively avoided, and the operation reliability of the system is improved.
In some embodiments, the motherboard is further connected with a built-in standby power unit, the built-in standby power unit includes a charging path, a discharging path, a switch, and a super capacitor, and the first power supply unit is further configured to charge the super capacitor through the charging path, based on which, S1 includes:
s11, the standby electric control unit sends a standby electric instruction to the internal standby electric unit;
S12, the built-in standby power unit opens a switch according to a standby power instruction to prepare for power supply;
S13, responding to the power failure of the first power supply unit in a first preset time, and discharging the built-in standby power unit in a discharging path through the super capacitor so as to maintain the power supply of the main board at least in the standby power time;
S14, switching to a backup battery unit to supply power;
The standby time is the time required from the power failure of the first power supply unit to the switching to the power supply of the standby battery unit.
Further description is provided below in connection with fig. 2:
Specifically, when the state detection unit detects that the state parameter of the first power supply unit is abnormal (for example, when the PSU is in an abnormal state such as over-temperature or over-current but is not powered down), the standby electric control unit sends a standby electric instruction to the internal standby electric unit to inform the internal standby electric unit of preparing for standby electric, so that the internal standby electric can be switched in time after the PSU is abnormally powered down. When the first power supply unit is powered down in a first preset time, the power supply is switched to the built-in preparation unit, and when the BBU preparation unit is started, the power supply of the built-in preparation unit is cut off, so that delay-free preparation switching can be realized.
In some embodiments, after S11, the method further comprises:
101. the standby electric control unit sends a low-power-consumption operation instruction to the main board;
102. And the main board executes the frequency-reducing operation and/or the power-reducing operation according to the low-power-consumption operation instruction.
Specifically, when the built-in standby power unit starts standby power operation, the standby power control unit sends information of frequency-reducing and power-reducing operation to the main board, PSU abnormality is sent to the load end through the I2C link, and the load end is switched to standby power in a short time after frequency-reducing in time. The central processing unit on the main board reduces the rate of multi-core processing data, sequentially closes the transmission service on each I/O (input/output) card, and gradually closes the PCIe high-speed data transmission channel.
Specifically, referring to fig. 4, fig. 4 shows the topology of the built-in electrical unit. The built-in standby electric unit provides a bidirectional BUCK-BOOST charging and discharging circuit, which comprises a BOOST path (charging path) and a BUCK path (discharging path). Under the normal working state of the main board, the built-in standby power unit works along a BOOST path from left to right, the first power supply unit charges the super capacitor through the BOOST path while supplying power to the main board, and when the first power supply unit is powered down to the BBU standby power, the super capacitor discharges through the BUCK path. For example, assuming the voltage of the super capacitor is 24V, after the super capacitor is fully charged and divided by the resistors R1 and R2, the Va point voltage is shown as 3V, and at this time, the switch controls the two MOS transistors (field effect transistors) M1 and M2 on the charging circuit to be turned off, so that the first power supply unit stops charging the super capacitor. In the pre-standby strategy path, after the built-in standby electric unit receives a standby electric instruction of the standby electric control unit, a MOS tube (field effect tube) M3 on the discharge path is opened, but at the moment, since the negative terminal voltage (the negative terminal voltage is obtained by dividing the voltage on the first power supply unit by R3 and R4) on the comparator is Yu Zhengduan V, the BUCK path (discharge path) of the super capacitor is not discharged outwards; when the voltage of the positive end on the comparator is lower than the voltage of the negative end, the first power supply unit can be judged to be powered down at the moment, the standby power unit in the system starts to work, and the super capacitor discharges through the BUCK path so as to ensure that a low-level barb does not appear in the period from the PSU to the BBU.
In some embodiments, prior to S13, the method further comprises:
And determining the power supply parameters of the super capacitor according to the standby power time and the power supply current required by the main board. Wherein, in some embodiments, the parameters of the supercapacitor are calculated according to the following formula:
Q=C×V=I×T
Wherein Q is the total electric quantity of the super capacitor, C is the capacity of the super capacitor, V is the voltage at two ends of the super capacitor during discharging, I is the power supply current required by the main board, and T is the standby time.
The voltage value I is the power supply current required by the main board, and is specific to different main boards; t is the time from PSU power failure to BBU successful power backup, the time required for supporting the discharge of the super capacitor is at least 5ms, and the proper capacity and voltage of the super capacitor can be selected according to the power backup time and the power supply current required by the main board so as to ensure that the electric quantity of the super capacitor meets the requirement.
In some embodiments, S2 comprises:
S21, the standby electric control unit starts redundant standby electricity of the dual power supply unit, and supplies power to a main board of the first power supply unit through a combination way of the second power supply unit;
s22, the standby electric control unit sends a standby electric instruction to the standby battery unit, and the standby battery unit starts power supply according to the standby electric instruction.
In some embodiments, the method further comprises:
s23, in response to detection of normal power supply of the backup battery unit, the backup electric control unit cuts off the combination.
Specifically, referring to fig. 3, when the first power supply unit suddenly fails under the condition of no abnormal early warning, the built-in standby power unit does not work, the BBU standby power unit does not work as well, and only the capacitor inside the first power supply unit maintains a low voltage of the first power supply unit to supply power to the system at the moment, so that the first power supply unit needs to be detected to have barbs, and then the standby power control unit is quickly notified, and starts the dual power supply unit to perform redundant standby power. The other PSU, namely the second power supply unit, rapidly supplies power to the main board channel of the first power supply unit which is powered down through combining, so that the length of a barb caused by the power failure of the first power supply unit is reduced as much as possible. The standby electric control unit simultaneously informs the BBU of performing standby operation, and when the BBU works normally and the main board is powered on, the standby electric control unit needs to cut off the combination as soon as possible so as to prevent overcurrent protection caused by long-time power supply of the second power supply unit and simultaneous standby electricity. In the emergency power backup strategy, because the situation is urgent, and the barbs of the first power supply unit need to be detected to inform the power backup control unit to work, the in-process power backup unit does not play a role, the generation of barbs is reduced as much as possible by the short-time redundant power supply of the other second power supply unit on the double controller, calculation and testing are needed before redundant power backup is carried out, so that the operation time of the second power supply unit under the overcurrent condition is ensured to be longer than the BBU starting protection time, and the barb influence is reduced.
For example, referring to fig. 5, the dual power supply units are combined to supply power to the corresponding memory controllers, and paths for supplying power to the other controllers are also respectively arranged on the dual power supply units. When an emergency power-down condition occurs in a certain power supply unit, after the standby electric control unit detects the barb, the MOS on the other path is controlled to be turned on, and the power supply unit on the other path supplies power to the two controllers in a short time until the BBU is standby, and the MOS tube is turned off, so that overcurrent protection caused by long-time power supply and simultaneous standby electric conduction of the second power supply unit is prevented.
In some embodiments, the state parameter anomalies include at least one of:
the first power supply unit temperature exceeds a temperature threshold, the first power supply unit current exceeds a current threshold, and the first power supply unit voltage abnormally fluctuates.
In the embodiment, the two standby power paths of the standby power strategy and the emergency standby power strategy can be coordinated and matched with each other, so that the phenomenon of low-level barbs generated by insufficient preparation of the traditional standby power strategy is effectively avoided, the running reliability of the system is improved, meanwhile, the abnormal power supply of different situations is more comprehensively coped with, and the standby power management process is more systematic. The power supply unit is used for supplying power to the power supply unit, wherein a power preparation strategy can prepare power according to abnormal state information of the power supply unit, so that the power preparation process is fully prepared; the emergency standby power strategy can fully utilize redundant power supply of the power supply unit, ensure smooth transition to the standby stage as much as possible, and reduce the influence caused by barbs.
It should be noted that the terms "S1", "S2", and the like are used for the purpose of describing the steps only, and are not intended to be construed to be specific as to the order or sequence of steps, nor are they intended to limit the present application, which is merely used to facilitate the description of the method of the present application, and are not to be construed as indicating the sequence of steps. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present application.
Example two
The application also provides a device for switching backup power of a motherboard, which comprises a first power supply unit, a backup electric control unit, a backup battery unit and a state detection unit, corresponding to the embodiment, referring to fig. 6. The state detection unit is used for responding to the detection of the state parameter abnormality of the first power supply unit and sending a state abnormality signal to the standby electric control unit; the standby electric control unit is used for executing a standby electric strategy according to the state abnormal signal; the state detection unit is further used for sending a power failure abnormal signal to the standby electric control unit in response to detecting that the first power supply unit is powered down abnormally; the standby electric control unit is also used for executing an emergency standby electric strategy according to the power failure abnormal signal.
Further, the main board standby power switching device further comprises a built-in standby power unit, the built-in standby power unit comprises a charging path, a discharging path, a switch and a super capacitor, the first power supply unit is further used for charging the super capacitor through the charging path, and the standby power control unit is further used for sending a standby power instruction to the built-in standby power unit; the built-in standby power unit is used for opening a switch to prepare for power supply according to the standby power instruction; the built-in standby power unit is also used for discharging in a discharging path through the super capacitor so as to maintain the power supply of the main board at least in the standby power time; the standby electric control unit is also used for switching to a standby battery unit to supply power; the standby time is the time required from the power failure of the first power supply unit to the switching to the power supply of the standby battery unit.
Further, the standby control unit is further used for sending a low-power-consumption operation instruction to the main board; and the main board executes the frequency-reducing operation and/or the power-reducing operation according to the low-power-consumption operation instruction.
Further, the standby electric control unit is also used for starting redundant standby power of the dual power supply unit and supplying power to the main board of the first power supply unit through the combination of the second power supply unit; the standby electric control unit is also used for sending a standby electric instruction to the standby battery unit, and the standby battery unit is used for starting power supply according to the standby electric instruction.
Further, in response to detecting that the backup battery unit is powered normally, the backup control unit is further configured to shut off the combining.
Furthermore, the built-in standby power unit is further configured to determine a power supply parameter of the supercapacitor according to the standby power time and a power supply current required by the motherboard.
Further, the parameters of the super capacitor are calculated according to the following formula:
Q=C×V=I×T
Wherein Q is the total electric quantity of the super capacitor, C is the capacity of the super capacitor, V is the voltage at two ends of the super capacitor during discharging, I is the power supply current required by the main board, and T is the standby time.
Further, the state parameter anomaly includes at least one of:
The first power supply unit temperature exceeds a temperature threshold, the first power supply unit current exceeds a current threshold, and the first power supply unit voltage abnormally fluctuates.
For specific limitation of the main board standby power switching device, reference may be made to the above related limitation of the main board standby power switching method embodiment, so that the description thereof is omitted here. All or part of the modules in the main board standby power switching device can be realized by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
Example III
The application also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor can realize the main board standby power switching method when executing the program.
As shown in fig. 7, in some embodiments, the system can be used as the electronic device described above for the motherboard standby power switching method in any of the embodiments. In some embodiments, a system may include one or more computer-readable media (e.g., system memory or NVM/storage) having instructions and one or more processors (e.g., processor (s)) coupled with the one or more computer-readable media and configured to execute the instructions to implement the modules to perform the actions described in this disclosure.
For one embodiment, the system control module may include any suitable interface controller to provide any suitable interface to at least one of the processor(s) and/or any suitable device or component in communication with the system control module.
The system control module may include a memory controller module to provide an interface to the system memory. The memory controller modules may be hardware modules, software modules, and/or firmware modules.
The system memory may be used, for example, to load and store data and/or instructions for the system. For one embodiment, the system memory may include any suitable volatile memory, such as, for example, a suitable DRAM. In some embodiments, the system memory may comprise double data rate type four synchronous dynamic random access memory (DDR 4 SDRAM).
For one embodiment, the system control module may include one or more input/output (I/O) controllers to provide an interface to the NVM/storage device and the communication interface(s).
For example, NVM/storage may be used to store data and/or instructions. The NVM/storage may include any suitable nonvolatile memory (e.g., flash memory) and/or may include any suitable nonvolatile storage device(s) (e.g., one or more Hard Disk Drives (HDDs), one or more Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives).
The NVM/storage may include a storage resource that is physically part of the device on which the system is installed or it may be accessed by the device without being part of the device. For example, the NVM/storage may be accessed over a network via the communication interface(s).
The communication interface(s) may provide an interface for the system to communicate over one or more networks and/or with any other suitable device. The system may wirelessly communicate with one or more components of a wireless network in accordance with any of one or more wireless network standards and/or protocols.
For one embodiment, at least one of the processor(s) may be packaged together with logic of one or more controllers (e.g., memory controller modules) of the system control module. For one embodiment, at least one of the processor(s) may be packaged together with logic of one or more controllers of the system control module to form a System In Package (SiP). For one embodiment, at least one of the processor(s) may be integrated on the same die as logic of one or more controllers of the system control module. For one embodiment, at least one of the processor(s) may be integrated on the same die with logic of one or more controllers of the system control module to form a system on chip (SoC).
In various embodiments, the system may be, but is not limited to being: a server, workstation, desktop computing device, or mobile computing device (e.g., laptop computing device, handheld computing device, tablet, netbook, etc.). In various embodiments, the system may have more or fewer components and/or different architectures. For example, in some embodiments, a system includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and a speaker.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, e.g., using Application Specific Integrated Circuits (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the present application may be executed by a processor to perform the steps or functions described above. Likewise, the software programs of the present application (including associated data structures) may be stored on a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. In addition, some steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
Furthermore, portions of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application by way of operation of the computer. Those skilled in the art will appreciate that the form of computer program instructions present in a computer readable medium includes, but is not limited to, source files, executable files, installation package files, etc., and accordingly, the manner in which the computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Herein, a computer-readable medium may be any available computer-readable storage medium or communication medium that can be accessed by a computer.
Communication media includes media whereby a communication signal containing, for example, computer readable instructions, data structures, program modules, or other data, is transferred from one system to another. Communication media may include conductive transmission media such as electrical cables and wires (e.g., optical fibers, coaxial, etc.) and wireless (non-conductive transmission) media capable of transmitting energy waves, such as acoustic, electromagnetic, RF, microwave, and infrared. Computer readable instructions, data structures, program modules, or other data may be embodied as a modulated data signal, for example, in a wireless medium, such as a carrier wave or similar mechanism, such as that embodied as part of spread spectrum technology. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. The modulation may be analog, digital or hybrid modulation techniques.
An embodiment according to the application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to operate a method and/or a solution according to the embodiments of the application as described above.
Example IV
Corresponding to the above embodiment, the present application further provides a computer readable storage medium storing computer executable instructions for executing the motherboard standby power switching method.
In this embodiment, computer-readable storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media include, but are not limited to, volatile memory, such as random access memory (RAM, DRAM, SRAM); and non-volatile memory such as flash memory, various read only memory (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic/ferroelectric memory (MRAM, feRAM); and magnetic and optical storage devices (hard disk, tape, CD, DVD); or other now known media or later developed computer-readable information/data that can be stored for use by a computer system.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (7)

1. The main board standby power switching method is applied to a main board and is characterized in that the main board is connected with a first power supply unit, a standby electric control unit and a standby battery unit, the first power supply unit is connected with a state detection unit, the main board is also connected with a built-in standby electric unit, the built-in standby electric unit comprises a charging path, a discharging path, a switch and a super capacitor, the first power supply unit is used for supplying power to the main board and charging the super capacitor through the charging path, and the standby battery unit is used for standby power to the main board, and the method comprises the following steps:
In response to the state detection unit detecting that the state parameter of the first power supply unit is abnormal, sending a state abnormality signal to a standby electric control unit, and executing a pre-standby electric strategy by the standby electric control unit according to the state abnormality signal;
In response to the state detection unit detecting that the first power supply unit is powered down abnormally, sending a power-down abnormal signal to the standby electric control unit, and executing an emergency standby electric strategy by the standby electric control unit according to the power-down abnormal signal;
The standby electric control unit executes a standby electric strategy according to the state abnormal signal, and the standby electric control unit comprises: the standby electric control unit sends a standby electric instruction to the built-in standby electric unit;
the built-in standby power unit opens the switch according to the standby power instruction to prepare for power supply;
In response to the first power supply unit losing power within a first preset time, the built-in standby power unit discharges in the discharge path through the super capacitor so as to maintain the power supply of the main board at least within the standby power time;
Switching to the backup battery unit to supply power;
The standby time is the time required from the power failure of the first power supply unit to the switching to the power supply of the standby battery unit;
The method further comprises the steps of:
And before the first power supply unit is powered down in a first preset time, the built-in standby power supply unit discharges electricity in the discharge path through the super capacitor so as to maintain the power supply of the main board at least in standby power supply time, the power supply parameters of the super capacitor are determined according to the standby power supply time and the power supply current required by the main board and the following formula:
Q=C×V=I×T
Wherein Q is the total electric quantity of the super capacitor, C is the capacity of the super capacitor, V is the voltage at two ends of the super capacitor during discharging, I is the power supply current required by the main board, and T is the standby time.
2. The motherboard standby power switching method according to claim 1, wherein after the standby power control unit sends a standby power command to the built-in standby power unit, the method further comprises:
the standby electric control unit sends a low-power-consumption operation instruction to the main board;
And the main board executes the frequency-reducing operation and/or the power-reducing operation according to the low-power-consumption operation instruction.
3. The motherboard standby power switching method according to claim 1, wherein the standby power control unit executes an emergency standby power policy according to the power failure abnormality signal, comprising:
the standby electric control unit starts redundant standby electricity of the double power supply units and supplies power to the main board of the first power supply unit through the combination of the second power supply units;
And the standby electric control unit sends a standby electric instruction to the standby battery unit, and the standby battery unit starts power supply according to the standby electric instruction.
4. The motherboard standby power switching method of claim 3, further comprising:
in response to detecting that the backup battery unit is normally powered, the backup control unit shuts off the combined circuit.
5. A main board standby power switching device for implementing the main board standby power switching method according to claim 1, wherein the device comprises a first power supply unit, a standby electric control unit, a standby battery unit, and a state detection unit;
The state detection unit is used for responding to detection of state parameter abnormality of the first power supply unit and sending a state abnormality signal to the standby electric control unit;
the standby electric control unit is used for executing a standby electric strategy according to the state abnormal signal;
The state detection unit is further used for sending a power failure abnormal signal to the standby electric control unit in response to detecting that the first power supply unit is powered down abnormally;
The standby electric control unit is also used for executing an emergency standby electric strategy according to the power failure abnormal signal.
6. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the motherboard standby power switching method according to any one of claims 1 to 4 when executing the computer program.
7. A computer-readable storage medium storing computer-executable instructions for performing the motherboard standby power switching method of any one of claims 1 to 4.
CN202210708608.4A 2022-06-21 2022-06-21 Main board standby power switching method and device, electronic equipment and storage medium Active CN115098305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210708608.4A CN115098305B (en) 2022-06-21 2022-06-21 Main board standby power switching method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210708608.4A CN115098305B (en) 2022-06-21 2022-06-21 Main board standby power switching method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115098305A CN115098305A (en) 2022-09-23
CN115098305B true CN115098305B (en) 2024-06-25

Family

ID=83293293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210708608.4A Active CN115098305B (en) 2022-06-21 2022-06-21 Main board standby power switching method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115098305B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115686935A (en) * 2022-10-18 2023-02-03 超聚变数字技术有限公司 Data backup method, computer device and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108491058A (en) * 2018-04-03 2018-09-04 郑州云海信息技术有限公司 A kind of the powered-off fault data guard method and device of Nonvolatile memory

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10409349B2 (en) * 2016-02-19 2019-09-10 Microsoft Technology Licensing, Llc Remediating power loss at a server
CN112313601B (en) * 2020-04-24 2023-07-07 上海商汤临港智能科技有限公司 Vehicle, vision domain controller, video data processing method, apparatus and medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108491058A (en) * 2018-04-03 2018-09-04 郑州云海信息技术有限公司 A kind of the powered-off fault data guard method and device of Nonvolatile memory

Also Published As

Publication number Publication date
CN115098305A (en) 2022-09-23

Similar Documents

Publication Publication Date Title
JP5791007B2 (en) Power supply apparatus and method, and user apparatus
JP7487166B2 (en) Adapter test apparatus, method and computer storage medium
CN108733537A (en) Method and apparatus for intelligent standby capacitor management
US8154257B2 (en) Storage system including a plurality of battery modules
CN107403644B (en) Flash memory device with abnormal power protection
US9742220B2 (en) Auxiliary power supply devices and electronic systems employing the same
CN115098305B (en) Main board standby power switching method and device, electronic equipment and storage medium
US11086374B2 (en) Transmission interface circuit having a plurality of power supply paths whereby transmission are placed in one of a conductive or nonconductive state
CN115993882A (en) Disk array card standby electric control method, device, electronic equipment and storage medium
CN104808763A (en) Power supply method and power supply device for cabinet type server
US9760143B2 (en) Switching module, related server device and power switching method
US11921588B2 (en) System and method for data protection during power loss of a storage system
US20060132086A1 (en) Power source selection
US11604635B2 (en) Online program updating method
TWI629687B (en) Flash memory device having abnormal power protection
CN116365651A (en) Charging and discharging control method and system, power conversion equipment and energy storage equipment
US20200117257A1 (en) Method and device for power control
US10365705B2 (en) System and methods for prioritized multi-node server and infrastructure availability during power capacity loss
CN114895768A (en) Information processing method and device and electronic equipment
EP2725680A1 (en) Electronic device and power supplying control method thereof
CN117477511B (en) Protection circuit and multi-configuration power supply method, device, equipment and medium thereof
CN117318000B (en) Power supply system and electronic equipment
CN212435424U (en) Micro-cluster data processing system power supply circuit, controller and system
CN115241549A (en) Battery discharge control method, device and storage medium
CN116760144A (en) Dual-battery management system, control method and dual-battery terminal

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