CN116594490A - Power supply control device and method, storage medium and electronic equipment - Google Patents

Power supply control device and method, storage medium and electronic equipment Download PDF

Info

Publication number
CN116594490A
CN116594490A CN202310572539.3A CN202310572539A CN116594490A CN 116594490 A CN116594490 A CN 116594490A CN 202310572539 A CN202310572539 A CN 202310572539A CN 116594490 A CN116594490 A CN 116594490A
Authority
CN
China
Prior art keywords
power supply
module
interface
host
power
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.)
Pending
Application number
CN202310572539.3A
Other languages
Chinese (zh)
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 CN202310572539.3A priority Critical patent/CN116594490A/en
Publication of CN116594490A publication Critical patent/CN116594490A/en
Pending legal-status Critical Current

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
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The embodiment of the application provides a power supply control device and method, a storage medium and electronic equipment, wherein the device comprises the following components: the electronic unit comprises a power supply module, an interface module and a communication module which are connected with each other; the host is connected with the power supply module through a first interface in the interface module; the control unit is connected with the power supply module through a second interface in the interface module, is connected with the communication module through a third interface in the interface module, and is used for controlling the power supply module to supply power to the host and/or the control unit when the power is on. The application solves the problem of lower control efficiency of power supply in the related technology, and achieves the effect of improving the efficiency of power supply control.

Description

Power supply control device and method, storage medium and electronic equipment
Technical Field
The embodiment of the application relates to the field of computers, in particular to a power supply control device and method, a storage medium and electronic equipment.
Background
In the field of servers, when a power line is plugged into a server, a power supply module (for example, a computer power supply unit (Power Supply Unit, abbreviated as PSU)) supplies power to the whole host, when the power is turned off, all devices on the host are powered on and run, after the power is turned on, a digital integrated circuit (Complex Programmable Logic Device, abbreviated as CPLD) performs power-on time sequence control, power is supplied to resources on the host, and the standby power standby is not very finely distinguished from a main power on; during maintenance, particularly when parts are replaced, a power line must be unplugged so as to avoid false electric shock; when the AC reset of the whole machine is required, the power line must be unplugged and plugged back again, so that the efficiency is low.
Aiming at the problem of lower control efficiency of power supply in the related technology, an effective solution is provided for the upper position in the related technology.
Disclosure of Invention
The embodiment of the application provides a power supply control device and method, a storage medium and electronic equipment, which at least solve the problem of lower control efficiency of power supply in the related technology.
According to an embodiment of the present application, there is provided a power supply control apparatus including: the electronic unit comprises a power supply module, an interface module and a communication module which are connected with each other; the host is connected with the power supply module through a first interface in the interface module; and the control unit is connected with the power supply module through a second interface in the interface module, and is connected with the communication module through a third interface in the interface module, and the control unit is used for controlling the power supply module to supply power to the host and/or the control unit when the power is on.
In an exemplary embodiment, the electronic unit further comprises an on-off adjusting part, which at least adjusts the on-off condition between the power supply module and the host and/or the control unit.
In an exemplary embodiment, the on-off adjusting part includes at least one of a switch and a diode.
In an exemplary embodiment, the on-off adjusting part includes a first power supply on-off structure, where the first power supply on-off structure is disposed between the first interface and the power supply module, and the first power supply on-off structure is a structure that is turned on in one direction by the first interface to the power supply module, so that the power supply module can supply power to the host.
In an exemplary embodiment, the on-off adjusting part includes a second power supply on-off structure, which is disposed between the second interface and the power supply module, and the second power supply on-off structure is a structure that is unidirectionally conducted to the power supply module by the second interface, so that the power supply module can supply power to the control unit.
In an exemplary embodiment, the on-off adjusting part further includes a communication on-off structure disposed between the third interface and the control unit, and the communication on-off structure is used for adjusting an on-off state between the control unit and the electronic unit.
In an exemplary embodiment, the above power supply control device further includes: and the circuit board is connected with the electronic unit, the host and the control unit.
According to another embodiment of the present application, there is provided a power supply control method including: when the power supply module is communicated with the control unit through the second interface and supplies power to the control unit, the control instruction sent by the control unit is received through the communication module, wherein the power supply module, the second interface and the communication module are all arranged in the electronic unit; and controlling the power supply module to supply power to the host and/or the control unit based on the control instruction.
In an exemplary embodiment, controlling the power supply module to supply power to the host and/or the control unit based on the control instruction includes: and under the condition that the control instruction comprises a first control instruction, controlling a first power supply on-off structure to be conducted with the first interface so as to enable the power supply module to supply power to the host, wherein the first power supply on-off structure is arranged between the first interface and the power supply module.
In an exemplary embodiment, when the control instruction includes a first control instruction, the method further includes, after controlling the first power supply on-off structure to be conductive to the first interface to enable the power supply module to supply power to the host, controlling the first power supply on-off structure to be conductive to the first interface, where the method further includes: and under the condition that the control command comprises a second control command, the first power supply on-off structure is controlled to be disconnected with the first interface, so that the power supply module cuts off the power supply to the host computer, and the host computer is restarted.
In an exemplary embodiment, controlling the power supply module to supply power to the host and/or the control unit based on the control instruction includes: and under the condition that the control instruction comprises a third control instruction, a second power supply on-off structure is controlled to be disconnected with the second interface, so that the power supply module cuts off the power supply to the control unit, and the control unit is restarted, wherein the second power supply on-off structure is arranged between the second interface and the power supply module.
According to still another embodiment of the present application, there is also provided a server including the above power supply control device.
According to a further embodiment of the application, there is also provided a computer readable storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further embodiment of the application there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In the application, the interface module in the electronic unit can be connected with the host and the control unit, and the power supply module in the electronic unit can supply power to the host through the first interface and supply power to the control unit through the second interface. The normal operation of the host and the control unit can be ensured. The power supply module can be controlled to be connected and disconnected with the power supply of the host and the control unit through the control unit, manual control is not needed, manpower and power supply resources can be saved, and the efficiency of power supply control can be improved. Therefore, the problem of lower control efficiency of power supply in the related art can be solved, and the effect of improving the efficiency of power supply control is achieved.
Drawings
Fig. 1 is a schematic structural view of a power supply control device according to an embodiment of the present application;
fig. 2 is a block diagram of a hardware structure of a mobile terminal of a power supply control method according to an embodiment of the present application;
FIG. 3 is a flow chart of a power supply control method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a configuration for powering multiple hosts according to an embodiment of the present application;
fig. 5 is a schematic diagram of circuit connections in an embodiment according to the application.
Detailed Description
Embodiments of the present application will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The following explains the related art to which the present application relates:
a baseboard management controller BMC Baseboard Management Controller;
standby electricity;
main electricity, poweron;
a computer power supply unit PC Power supply unit, abbreviated as PSU or power supply;
a wireless controller, AC;
CPLD, complex Programmable Logic Device, is a abbreviation of Complex PLD, a logic element more Complex than PLD, CPLD is a digital integrated circuit that users construct logic functions by themselves according to their own needs;
ME, mobile Equipment;
a CPU, a central processing unit (Central Processing Unit, simply referred to as CPU);
MEM, MEMory MEM;
the HDD, hard Disk Drive Hard Disk has a mechanical Hard Disk.
In order to solve the problem of low control efficiency of power supply in the related art, the present application provides a power supply control device, where, as shown in fig. 1, the power supply control device includes:
the electronic unit comprises a power supply module, an interface module and a communication module which are connected with each other;
the host is connected with the power supply module through a first interface in the interface module;
the control unit is connected with the power supply module through a second interface in the interface module, is connected with the communication module through a third interface in the interface module, and is used for controlling the power supply module to supply power to the host and/or the control unit when the power is on.
In this embodiment, the interface module in the electronic unit may be connected to the host and the control unit, and the power supply module in the electronic unit may supply power to the host through the first interface and supply power to the control unit through the second interface. The normal operation of the host and the control unit can be ensured. The power supply module can be controlled to be connected and disconnected with the power supply of the host and the control unit through the control unit, manual control is not needed, manpower and power supply resources can be saved, and the efficiency of power supply control can be improved. Therefore, the problem of lower control efficiency of power supply in the related art can be solved, and the effect of improving the efficiency of power supply control is achieved.
Alternatively, the power supply control means may be provided in a server or other control device. A plurality of devices, e.g., CPLD, ME, CPU, MEM, HDD, etc., are included in the host. In this embodiment, the number of hosts is not limited, and when there is only one host, the power supply module supplies power to only one host; the power supply module is respectively connected with the plurality of hosts to supply power to each resource device in the plurality of hosts.
In this embodiment, the power supply module in the electronic unit supplies power to the control unit first, and after the control unit is powered on, the control unit can be connected to the communication unit module in the electronic unit, so that a control instruction can be sent to the communication unit. The control command can control the power supply module to disconnect from the control unit, and can also control the power supply module to connect or disconnect from the power supply of the host. I.e. whether the power supply module supplies power to the host is controlled by the control unit.
Optionally, the power supply of the power supply module is divided into two paths, one path is 3.3V, and the other path is supplied to a control unit (for example, BMC) to perform monitoring management of the whole machine. The other path is 12V, 5V, 3.3V, etc., and is controlled by the control unit to supply to the resource device CPLD, ME, CPU, MEM, HDD in the host to operate the host. When the host computer needs to be maintained, the server can send a control instruction to the control unit or press an independent power supply button to control the power supply of the host computer to be disconnected, so that the host computer is maintained more safely. When the complete machine AC needs to be reset, the server only needs to remotely send a control instruction to the control unit, and the control efficiency can be greatly improved. Meanwhile, when the control unit is a BMC, the present embodiment may further extend the following application scenario:
1) The BMC can send a control instruction to the PSU to disconnect the power supply to the BMC, and then connect the BMC for restarting the BMC after power failure; the control instruction may be an instruction for cutting off power supply, for example, when the BMC needs to restart, the control instruction is an instruction for cutting off power supply, and when the control instruction is sent to the electronic unit, the electronic unit controls the power supply target to cut off connection with the BMC so as to end power supply to the BMC, and then the connection is performed, so that restarting of the BMC can be achieved.
2) The BMC can send a control command to the PSU to disconnect the power supply to the CPU, the MEM or the HDD, and then communicate the power supply for restarting the host after power failure, so as to solve the problem of time sequence reset which cannot be realized when the host is shut down and restarted; the control instruction may also be an instruction for starting power supply, for example, after the BMC is connected to the power supply module to supply power, the host needs to be started, and then the instruction for starting power supply to the host is sent to the electronic unit, and the electronic unit controls the power supply module to supply power to the host.
3) The system can also be applied to the scene of realizing independent power supply of the HDDs, so that the BMC can control single or multiple HDD power supply according to service and load conditions, and the CPU and MEM sample the same mode; for example, when a plurality of hosts need to be powered at the same time, a plurality of HDDs are turned on to supply power, so that the requirement of high load can be satisfied. When only one host is required to operate, power to the other hosts may be disconnected. The control of the power supply of the host computer can be controlled only by the BMC, so that the power supply resource can be saved, and the flexibility of power supply adjustment is improved.
4) When the server is lightly loaded and unloaded, the host can be powered down, and the BMC side power supply is reserved for supplying power, so that the purpose of intelligent power consumption management is achieved.
In an exemplary embodiment, the electronic unit further comprises an on-off adjustment component that adjusts at least the on-off condition between the power supply module and the host and/or the control unit. In this embodiment, the first power supply on-off structure may include at least one of a switch and a diode, and may be flexibly set based on different application scenarios, and in a scenario where unidirectional conduction is required, the first power supply on-off structure may be set as a diode; in a scenario requiring bi-directional conduction, the first power on-off structure may be set as a switch. For example, when the first power supply on-off structure is a diode, the diode between the host and the power supply module is turned on under the triggering of the first control instruction, and the power supply module starts to supply power to the host. Thereby realizing the purpose of flexibly controlling the power supply to the host.
In one exemplary embodiment, the on-off adjusting part includes a first power supply on-off structure disposed between the first interface and the power supply module, the first power supply on-off structure being a structure that is unidirectionally conducted to the power supply module by the first interface so that the power supply module can supply power to the host. In this embodiment, when the first power supply on-off structure is a switch, the power supply module supplies power to the host under the triggering of the control instruction, or cuts off power supply to the host.
In an exemplary embodiment, the on-off adjusting part includes a second power supply on-off structure disposed between the second interface and the power supply module, the second power supply on-off structure being a structure that is unidirectionally conducted to the power supply module by the second interface so that the power supply module can supply power to the control unit. In this embodiment, the second power supply on-off structure may include at least one of a switch and a diode, and may be flexibly set based on different application scenarios, and in a scenario where unidirectional conduction is required, the first power supply on-off structure may be set as a diode. For example, when the first power supply on-off structure is a switch, the switch between the control unit and the power supply module is turned off under the triggering of the second control instruction, and the power supply module finishes supplying power to the control unit. Thereby realizing the purpose of flexibly controlling the power supply to the host.
In an exemplary embodiment, the on-off adjusting part further comprises a communication on-off structure arranged between the third interface and the control unit, the communication on-off structure being used for adjusting the on-off state between the control unit and the electronic unit. In this embodiment, the communication on-off structure may include a switch. When the power supply module is electrified with the control unit, the switch is closed, and the control unit is connected with the communication module and can transmit control instructions or other information. Thereby, control of the power supply module can be achieved.
In one exemplary embodiment, the power supply control apparatus further includes: the circuit board is connected with the electronic unit, the host and the control unit. In this embodiment, the circuit board extends through the entire electronic unit, the host, and the control unit, and functions of power supply and communication are implemented. The circuit board is provided with a bus for supplying power and a bus for communication.
In an exemplary embodiment, the electronic unit may further include an indicator light connected to the host to indicate whether the host is powered on. In this embodiment, the display manner of the indicator light may be flexibly set, for example, when the host is powered on, green is displayed; when the host is powered off, a red color is displayed.
In this embodiment, a server is also provided, which includes the power supply control device in the foregoing embodiment. The server may include one host or a plurality of hosts. The control logic for different numbers of hosts is detailed in the above embodiments, and is not described herein.
The method embodiments provided in the embodiments of the present application may be performed in a mobile terminal, a computer terminal or similar computing device. Taking the mobile terminal as an example, fig. 2 is a block diagram of a hardware structure of the mobile terminal of a power supply control method according to an embodiment of the present application. As shown in fig. 2, the mobile terminal may include one or more (only one is shown in fig. 2) processors 202 (the processors 202 may include, but are not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 204 for storing data, wherein the mobile terminal may further include a transmission device 206 for communication functions and an input-output device 208. It will be appreciated by those skilled in the art that the structure shown in fig. 2 is merely illustrative and not limiting of the structure of the mobile terminal described above. For example, the mobile terminal may also include more or fewer components than shown in fig. 2, or have a different configuration than shown in fig. 2.
The memory 204 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a power supply control method in an embodiment of the present application, and the processor 202 executes the computer program stored in the memory 204 to perform various functional applications and data processing, that is, implement the above-mentioned method. Memory 204 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 204 may further include memory remotely located relative to the processor 202, which may be connected to the mobile terminal 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 transmission device 206 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 206 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 206 may be a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
In this embodiment, a power supply control method is provided, fig. 3 is a flowchart of a power supply control method according to an embodiment of the present application, and as shown in fig. 3, the flowchart includes the following steps:
step S302, when the power supply module is conducted with the control unit through the second interface and supplies power to the control unit, a control instruction sent by the control unit is received through the communication module, wherein the power supply module, the second interface and the communication module are all arranged in the electronic unit;
step S304, the power supply module is controlled to supply power to the host and/or the control unit based on the control instruction.
The main body of execution of the above steps may be a specific processor provided in a terminal, a server, a terminal or a server, or a processor or a processing device provided relatively independently from a terminal or a server, for example, a server, but is not limited thereto.
Optionally, multiple devices are included in the host, e.g., CPLD, ME, CPU, MEM, HDD, etc. In this embodiment, the number of hosts is not limited, and when there is only one host, the power supply module supplies power to only one host; the power supply module is respectively connected with the plurality of hosts to supply power to each resource device in the plurality of hosts. For example, as shown in FIG. 4, where multiple hosts are included, part1-N may be the host when the power module powers the multiple hosts; when the power supply module supplies power to the single host, part1-N can be a certain Part of the host; the multiple hosts can be connected with the first interface, or one host corresponds to one interface. The hosts can be connected through a main line or not connected with each other. Is flexibly settable based on the application scenario.
In this embodiment, the power supply module in the electronic unit supplies power to the control unit first, and after the control unit is powered on, the control unit can be connected to the communication unit module in the electronic unit, so that a control instruction can be sent to the communication unit. The control command can control the power supply module to disconnect from the control unit, and can also control the power supply module to connect or disconnect from the power supply of the host. I.e. whether the power supply module supplies power to the host is controlled by the control unit.
Alternatively, the power supply of the power supply module may be divided into multiple paths, for example, a circuit of the power supply module is divided into two paths, and one path of voltage may be 3.3V, etc., and is supplied to the control unit (for example, BMC) to perform monitoring management of the whole machine. The other voltage may be 12V, 5V, 3.3V, etc., and is controlled by the control unit to supply to the resource device CPLD, ME, CPU, MEM, HDD in the host to operate the host. When the host computer needs to be maintained, the server can send a control instruction to the control unit or press an independent power supply button to control the power supply of the host computer to be disconnected, so that the host computer is maintained more safely. When the complete machine AC needs to be reset, the server only needs to remotely send a control instruction to the control unit, and the control efficiency can be greatly improved. Meanwhile, when the control unit is a BMC, the present embodiment may further extend the following application scenario:
1) The BMC can send a control instruction to the PSU to disconnect the power supply to the BMC, and then connect the BMC for restarting the BMC after power failure; the control instruction may be an instruction for cutting off power supply, for example, when the BMC needs to restart, the control instruction is an instruction for cutting off power supply, and when the control instruction is sent to the electronic unit, the electronic unit controls the power supply target to cut off connection with the BMC so as to end power supply to the BMC, and then the connection is performed, so that restarting of the BMC can be achieved.
2) The BMC can send a control command to the PSU to disconnect the power supply to the CPU, the MEM or the HDD, and then communicate the power supply for restarting the host after power failure, so as to solve the problem of time sequence reset which cannot be realized when the host is shut down and restarted; the control instruction may also be an instruction for starting power supply, for example, after the BMC is connected to the power supply module to supply power, the host needs to be started, and then the instruction for starting power supply to the host is sent to the electronic unit, and the electronic unit controls the power supply module to supply power to the host.
3) The system can also be applied to the scene of realizing independent power supply of the HDDs, so that the BMC can control single or multiple HDD power supply according to service and load conditions, and the CPU and MEM sample the same mode; for example, when a plurality of hosts need to be powered at the same time, a plurality of HDDs are turned on to supply power, so that the requirement of high load can be satisfied. When only one host is required to operate, power to the other hosts may be disconnected. The control of the power supply of the host computer can be controlled only by the BMC, so that the power supply resource can be saved, and the flexibility of power supply adjustment is improved.
4) When the server is lightly loaded and unloaded, the host can be powered down, and the BMC side power supply is reserved for supplying power, so that the purpose of intelligent power consumption management is achieved.
Through the steps, the power supply module in the electronic unit can supply power to the host through the first interface and supply power to the control unit through the second interface. The normal operation of the host and the control unit can be ensured. The power supply module can be controlled to be connected and disconnected with the power supply of the host and the control unit through the control unit, manual control is not needed, manpower and power supply resources can be saved, and the efficiency of power supply control can be improved. Therefore, the problem of lower control efficiency of power supply in the related art can be solved, and the effect of improving the efficiency of power supply control is achieved.
In one exemplary embodiment, controlling a power module to power a host and/or a control unit based on control instructions includes: under the condition that the control instruction comprises a first control instruction, the first power supply on-off structure is controlled to be conducted with the first interface, so that the power supply module supplies power to the host, and the first power supply on-off structure is arranged between the first interface and the power supply module. In this embodiment, the first power supply on-off structure may include at least one of a switch and a diode, and may be flexibly set based on different application scenarios, and in a scenario where unidirectional conduction is required, the first power supply on-off structure may be set as a diode; in a scenario requiring bi-directional conduction, the first power on-off structure may be set as a switch. For example, when the first power supply on-off structure is a diode, the diode between the host and the power supply module is turned on under the triggering of the first control instruction, and the power supply module starts to supply power to the host. Thereby realizing the purpose of flexibly controlling the power supply to the host.
In an exemplary embodiment, in a case that the control instruction includes a first control instruction, the method further includes, after controlling the first power supply on-off structure to be conducted with the first interface to enable the power supply module to supply power to the host, controlling the first power supply on-off structure to be conducted with the first interface: and under the condition that the control instruction comprises a second control instruction, the first power supply on-off structure is controlled to be disconnected with the first interface, so that the power supply module cuts off the power supply to the host computer, and the host computer is restarted. In this embodiment, for example, under the triggering of the second control instruction, the diode between the host and the power supply module is disconnected, so as to end the power supply of the power supply module to the host.
In one exemplary embodiment, controlling a power module to power a host and/or a control unit based on control instructions includes: under the condition that the control instruction comprises a third control instruction, the second power supply on-off structure is controlled to be disconnected with the second interface, so that the power supply module is disconnected to supply power to the control unit, and the control unit is restarted, wherein the second power supply on-off structure is arranged between the second interface and the power supply module. In this embodiment, the second power supply on-off structure may include at least one of a switch and a diode, and may be flexibly set based on different application scenarios, and in a scenario where unidirectional conduction is required, the first power supply on-off structure may be set as a diode. For example, when the first power supply on-off structure is a switch, the switch between the control unit and the power supply module is turned off under the triggering of the second control instruction, and the power supply module finishes supplying power to the control unit. Thereby realizing the purpose of flexibly controlling the power supply to the host.
In one exemplary embodiment, the power supply control apparatus further includes: the circuit board is connected with the electronic unit, the host and the control unit. In this embodiment, the circuit board extends through the entire electronic unit, the host, and the control unit, and functions of power supply and communication are implemented. The circuit board is provided with a bus for supplying power and a bus for communication.
In an exemplary embodiment, the electronic unit may further include an indicator light connected to the host to indicate whether the host is powered on. In this embodiment, the display manner of the indicator light may be flexibly set, for example, when the host is powered on, green is displayed; when the host is powered off, a red color is displayed.
The application is illustrated below with reference to specific examples:
in the related art, when a power line is plugged into a server, the power supply supplies power to the whole machine, and BMC, CPLD, ME and the like normally operate when the machine is shut down. After the power-on, the CPLD performs power-on time sequence control on the CPU and the MEM. The power supply of resources such as HDD is not well defined by standby power versus poweron power. During maintenance, particularly when parts are replaced, a power line must be unplugged so as to avoid error electric shock; when the AC reset of the whole machine is required, the power line must be unplugged and plugged back. In this embodiment, the PSU power supply side is divided into two paths, one path is supplied to the BMC (corresponding to the control unit in the above description), to perform overall machine monitoring management. The other path is controlled by the BMC, supplied to CPLD, ME, CPU, MEM, HDD, etc., to operate the host system (corresponding to the host in the above); when maintenance is needed, the BMC can be instructed or an independent power supply button can be pressed, and the PSU is controlled to disconnect the power of the host system, so that the maintenance is safer; when the complete machine AC needs to be reset, the command to the BMC is sent remotely, so that the control efficiency of power supply is greatly improved.
As shown in fig. 5, the present embodiment specifically includes the following: in this embodiment, the power supply unit may be composed of a conventional PSU and a system side power supply circuit, where the power supply of the PSU is finer, and the power supply unit may be composed of a conventional PSU and a system side power supply circuit. For example, it may be, for example, 3-circuit, 4-circuit, or more, each of which may be one or more sets of electricity, to match the design requirements of the server product. For example, the PSU power supply side is divided into two circuits, one of which can be 3.3V, and the other is supplied to the BMC for monitoring and management of the whole machine. The other path of electricity, the voltage can be 12V, 5V, 3.3V, etc., is controlled by the BMC, is supplied to CPLD, ME, CPU, MEM, HDD for use, etc., to run the host system. When the host is required to be maintained, the BMC can be instructed or an independent power supply button can be pressed, so that the PSU is controlled to disconnect the power of the host system, and the maintenance is safer; when the complete machine AC needs to be reset, the command to the BMC is sent remotely, so that the efficiency is greatly improved.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Embodiments of the present application also provide a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
In one exemplary embodiment, the computer readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the application also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In an exemplary embodiment, the electronic device may further include a transmission device connected to the processor, and an input/output device connected to the processor.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present application should be included in the protection scope of the present application.

Claims (14)

1. A power supply control device, characterized by comprising:
the electronic unit comprises a power supply module, an interface module and a communication module which are connected with each other;
the host is connected with the power supply module through a first interface in the interface module;
the control unit is connected with the power supply module through a second interface in the interface module, is connected with the communication module through a third interface in the interface module, and is used for controlling the power supply module to supply power to the host and/or the control unit when the power is on.
2. The power supply control device according to claim 1, characterized in that the electronic unit further comprises an on-off adjustment means, which at least adjusts the on-off situation between the power supply module and the host and/or the control unit.
3. The power supply control device according to claim 2, wherein the on-off adjusting means includes at least one of a switch and a diode.
4. The power supply control device according to claim 2, wherein the on-off adjustment means includes a first power supply on-off structure provided between the first interface and the power supply module, the first power supply on-off structure being a structure that is turned on in one direction by the first interface to the power supply module so that the power supply module can supply power to the host.
5. The power supply control device according to claim 2, wherein the on-off adjustment means includes a second power supply on-off structure provided between the second interface and the power supply module, the second power supply on-off structure being a structure that is turned on in one direction by the second interface to the power supply module so that the power supply module can supply power to the control unit.
6. The power supply control device according to claim 5, wherein,
the on-off adjusting component further comprises a communication on-off structure, the communication on-off structure is arranged between the third interface and the control unit, and the communication on-off structure is used for adjusting on-off states between the control unit and the electronic unit.
7. The power supply control device according to claim 1, characterized in that the power supply control device further comprises:
the circuit board is connected with the electronic unit, the host and the control unit.
8. A power supply control method, characterized by comprising:
when the power supply module is communicated with the control unit through the second interface and supplies power to the control unit, receiving a control instruction sent by the control unit through the communication module, wherein the power supply module, the second interface and the communication module are all arranged in the electronic unit;
and controlling the power supply module to supply power to a host and/or the control unit based on the control instruction.
9. The method of claim 8, wherein controlling the power module to power the host and/or the control unit based on the control instructions comprises:
and under the condition that the control instruction comprises a first control instruction, controlling a first power supply on-off structure to be conducted with a first interface so that the power supply module supplies power to the host, wherein the first power supply on-off structure is arranged between the first interface and the power supply module.
10. The method of claim 9, wherein in the case that the control command includes a first control command, controlling a first power supply on-off structure to be in conduction with the first interface, so that the power supply module supplies power to the host, the method further includes:
and under the condition that the control instruction comprises a second control instruction, the first power supply on-off structure is controlled to be disconnected with the first interface, so that the power supply module cuts off the power supply to the host computer, and the host computer is restarted.
11. The method of claim 8, wherein controlling the power module to power the host and/or the control unit based on the control instructions comprises:
and under the condition that the control instruction comprises a third control instruction, a second power supply on-off structure is controlled to be disconnected with the second interface, so that the power supply module cuts off the power supply to the control unit, and the control unit is restarted, wherein the second power supply on-off structure is arranged between the second interface and the power supply module.
12. A server comprising the power supply control device according to any one of claims 1 to 7.
13. A computer readable storage medium, characterized in that a computer program is stored in the computer readable storage medium, wherein the computer program, when being executed by a processor, implements the steps of the method according to any of the claims 8 to 11.
14. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any of claims 8 to 11 when the computer program is executed.
CN202310572539.3A 2023-05-19 2023-05-19 Power supply control device and method, storage medium and electronic equipment Pending CN116594490A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310572539.3A CN116594490A (en) 2023-05-19 2023-05-19 Power supply control device and method, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310572539.3A CN116594490A (en) 2023-05-19 2023-05-19 Power supply control device and method, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN116594490A true CN116594490A (en) 2023-08-15

Family

ID=87598787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310572539.3A Pending CN116594490A (en) 2023-05-19 2023-05-19 Power supply control device and method, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116594490A (en)

Similar Documents

Publication Publication Date Title
US9170618B2 (en) Power management circuit, server, and power management method thereof
CN107085459B (en) Power supply management method and system
CN108833981B (en) Startup and shutdown method
CN105204601B (en) A kind of system electrification automatic boot circuit and its starting-up method
CN116700468A (en) Server power supply design scheme capable of meeting independent power supply of DPU card
CN116594490A (en) Power supply control device and method, storage medium and electronic equipment
CN117331423A (en) Power supply method and device of PCIE equipment, storage medium and electronic device
CN112731860A (en) VPX blade power-on control method and circuit and VPX blade
CN218181479U (en) Power management system of server mainboard, server and server backboard
CN113359967B (en) Equipment starting method and device
CN109116959B (en) Power supply system
CN110661043A (en) Battery management circuit, control method thereof and battery management system
CN114138567A (en) Substrate management control module maintenance method, device, equipment and storage medium
CN110719236B (en) Single board, back board type exchanger and method for connecting power supply
CN111400211B (en) PCIe bus-based communication method and system
CN114401156A (en) Power supply control method and device of PSE (Power supply Equipment), PSE equipment and power supply system
CN112882759A (en) Control method and device and electronic equipment
CN113835516A (en) Equipment management method, equipment and medium
CN114356062A (en) Power supply control system of server and related power supply control method thereof
CN215494926U (en) Storage device, hardware cluster, server and server cluster
CN105224059A (en) The method of remote access data and local side device
CN115686173A (en) Server power-off time sequence control system and control method
CN215729734U (en) Core board and server
CN117608676B (en) Network card control method and device of server, storage medium and electronic equipment
CN217588013U (en) Switch watchdog reset circuit, system and switch

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