Electronic device, switching control method of standby power supply circuit thereof, and computer system

By introducing standby power circuits and switching circuits into electronic devices to achieve automatic control, the problem of low maintenance efficiency of electronic equipment in multi-node computer systems is solved, ensuring that the equipment does not require manual operation during firmware updates or fault recovery, thereby improving the maintenance efficiency and reliability of the system.

CN115617145BActive Publication Date: 2025-10-24XFUSION DIGITAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110800411.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-15
Publication Date
2025-10-24
Estimated Expiration
2041-07-15

AI Technical Summary

Technical Problem

In a multi-node computer system, when updating the firmware of electronic equipment or recovering from a fault, manual on-site operation is required to power it on and off, resulting in low maintenance efficiency and affecting the operation of other equipment.

Method used

Design an electronic device that includes a standby power circuit and a switching circuit. The standby power circuit is automatically controlled to shut down through a power-off instruction and automatically turn on after a target time, avoiding manual operation and ensuring the normal operation of other devices.

Benefits of technology

It realizes automatic power on and off of electronic equipment, improves maintenance efficiency, avoids impact on other equipment, and enhances system reliability and maintenance convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115617145B_ABST
    Figure CN115617145B_ABST
Patent Text Reader

Abstract

The application provides an electronic device, a switching control method of a standby power supply circuit of the electronic device and a computer system, and belongs to the technical field of electronics. The switching circuit in the electronic device can control the standby power supply circuit to be turned off based on a power-off instruction, and control the standby power supply circuit to be turned on after a target time length of the standby power supply circuit being turned off; or the standby power supply circuit can be automatically turned on after the target time length. Thus, the scheme provided by the application realizes automatic power-on and power-off of the electronic device, and thus the maintenance efficiency of the electronic device is effectively improved, since manual on-site plug-in operation of the electronic device is not needed. In addition, since the power supply is not needed to be turned off in the process of automatic power-on and power-off of the electronic device, the normal operation of other electronic devices in the computer system can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electronics, and in particular to an electronic device, a switching control method of standby power supply circuit of the electronic device, and a computer system. BACKGROUND

[0002] A multi-node computer system generally includes a chassis and a plurality of electronic devices inserted into the chassis, wherein each electronic device can be a server single board or a switching device. The plurality of electronic devices are connected with a plurality of power supply units (PSUs) through a power supply bus and are uniformly powered by the plurality of PSUs.

[0003] After updating some firmware in an electronic device, for example, updating firmware of a complex programmable logic device (CPLD), the electronic device generally needs to be powered off first and then powered on again, so that the updated firmware takes effect.

[0004] Since the plurality of electronic devices in the multi-node computer system are uniformly powered, if a certain electronic device is to be powered off and then powered on again, manual on-site plugging and unplugging operations need to be performed on the electronic device, and the maintenance efficiency is low. SUMMARY

[0005] The present application provides an electronic device, a switching control method of standby power supply circuit of the electronic device, and a computer system, which can solve the technical problem of low maintenance efficiency of the electronic device.

[0006] In one aspect, an electronic device is provided, which includes: a standby power supply circuit, at least one management load, and a switching circuit; the standby power supply circuit is connected with a power supply and the at least one management load respectively, the standby power supply circuit is powered by the power supply, and the standby power supply circuit is configured to supply power to the at least one management load in an on state; the switching circuit is connected with the standby power supply circuit, and the switching circuit is configured to control the standby power supply circuit to be turned off based on a power-off instruction; wherein the standby power supply circuit is automatically turned on after a target off time, or the switching circuit is further configured to control the standby power supply circuit to be turned on after the target off time of the standby power supply circuit.

[0007] The electronic device provided by the present application can be automatically powered on and off individually, so that the normal operation of other electronic devices in the computer system can be avoided from being affected, manual on-site plugging and unplugging operations on the electronic device are not required, and the maintenance efficiency of the electronic device is effectively improved.

[0008] Optionally, the electronic device further comprises a service power supply circuit and at least one service load; the service power supply circuit is connected with the power supply and the at least one service load respectively, the service power supply circuit is powered by the power supply, and the service power supply circuit is configured to supply power to the at least one service load in the on state; the power management load in the at least one management load is further connected with the service power supply circuit, and the power management load is further configured to control the service power supply circuit to be turned on after the standby power supply circuit is turned on, and control the service power supply circuit to be turned off before the standby power supply circuit is turned off. The power management load is a subset of the at least one management load, or the power management load is the at least one management load.

[0009] The operating mode of the electronic device can include a standby mode and a working mode. In the working mode, the service load and the management load in the electronic device are powered on; in the standby mode, the service load in the electronic device is powered off, and only the management load is powered on. That is, the management load refers to a load that needs to be powered on when the electronic device is powered on and operated, that is, the management load needs to remain in a working state when the electronic device is in the standby mode; the service load refers to a load that can be powered off when the service of the electronic device is not running, and the service of the electronic device refers to the service of the user that needs to be processed by the electronic device.

[0010] It can be understood that the management load is the basis for the normal operation of the service load, that is, the service load can be powered on only after the management load is powered on and operated. Therefore, the power management load needs to control the service power supply circuit to be turned off before the standby power supply circuit is turned off, so that the service load is powered off. Thus, it can be avoided that the service load appears abnormal when the standby power supply circuit is directly powered off.

[0011] Optionally, the power management load in the at least one management load is further connected with the switch circuit, and the power management load is configured to send the power-off instruction to the switch circuit. For example, the power management load can send the power-off instruction to the switch circuit based on the power-off instruction. The power-off instruction can also be referred to as a driving signal, which can be used to drive the switch circuit to work. For example, the power-off instruction can be a pulse width modulation (PWM) signal.

[0012] Optionally, the power management load can include a baseboard management controller (BMC); or the power management load can include a CPLD; or the power management load can include a BMC and a CPLD, wherein the BMC is connected with the CPLD, the CPLD is connected with the switch circuit, the BMC is configured to send a power-off instruction to the CPLD, and the CPLD is configured to send a power-off instruction to the switch circuit based on the power-off instruction.

[0013] The power-off indication can be generated by a power management load or can be generated by a management device in the computer system and sent to the power management load.

[0014] Optionally, the switching circuit can include a boost sub-circuit and a switching sub-circuit; the boost sub-circuit is connected with the standby power supply circuit and the switching sub-circuit respectively, and is configured to boost the power supply signal provided by the standby power supply circuit to obtain a control signal based on the power-off instruction, and transmit the control signal to the switching sub-circuit; the switching sub-circuit is further connected with the standby power supply circuit, and is configured to control the standby power supply circuit to be turned off based on the control signal, and control the standby power supply circuit to be turned on after a target time length.

[0015] The voltage of the control signal transmitted by the boost sub-circuit to the switching sub-circuit will continuously increase under the driving of the power-off instruction. After the switching sub-circuit controls the standby power supply circuit to be turned off, the standby power supply circuit stops outputting the power supply signal, and correspondingly, the voltage of the control signal transmitted by the boost sub-circuit to the switching sub-circuit will start to decrease. Therefore, the switching sub-circuit can control the standby power supply circuit to be turned off or turned on based on the voltage change of the control signal.

[0016] Optionally, the boost sub-circuit can be a bootstrap boost circuit, and the switching sub-circuit can be a Schmitt circuit. The Schmitt circuit can control the standby power supply circuit to be turned off when the voltage of the control signal is greater than a first threshold value, and control the standby power supply circuit to be turned on when the voltage of the control signal is less than a second threshold value. The second threshold value is less than the first threshold value.

[0017] Optionally, the switching circuit can further include a discharge sub-circuit; the discharge sub-circuit is connected with the boost sub-circuit and the switching sub-circuit respectively, and is configured to make the voltage of the control signal output by the boost sub-circuit decrease to a voltage value less than a voltage threshold value by discharging after the voltage of the control signal stops rising. The voltage threshold value can be the second threshold value described above; and the discharge sub-circuit can be an RC discharge circuit, where R refers to resistance and C refers to capacitance.

[0018] It can be understood that the time length for the voltage of the control signal to decrease to a voltage value less than the voltage threshold value is equal to the target time length. Based on the scheme provided in the present application, the decrease rate of the voltage of the control signal can be adjusted by adjusting the circuit parameters of the discharge sub-circuit, and thus the target time length can be flexibly adjusted.

[0019] Optionally, the switching circuit can further include an adaptation sub-circuit, and the switching sub-circuit is connected with the standby power supply circuit through the adaptation sub-circuit; the switching sub-circuit is configured to output an enable signal to control the standby power supply circuit to be turned on or turned off.

[0020] The adapter circuit is configured to convert the level of the enable signal output by the switch sub-circuit into a level suitable for the standby power supply circuit, and transmit the converted enable signal to the standby power supply circuit. In this way, the converted enable signal can ensure effective control of the standby power supply circuit.

[0021] Optionally, the switch circuit can include a control sub-circuit and a timing sub-circuit. The control sub-circuit is connected to the timing sub-circuit and the standby power supply circuit, respectively. The control sub-circuit is configured to control the standby power supply circuit to turn off based on the power-down instruction, and start the timing sub-circuit to time, and control the standby power supply circuit to turn on after the timing sub-circuit times for a target time length.

[0022] The control sub-circuit and the timing sub-circuit can be powered by the power supply, so that the control sub-circuit and the timing sub-circuit can continue to work to control the standby power supply circuit to turn on again after the standby power supply circuit turns off.

[0023] Optionally, the switch circuit can be specifically configured to control the standby power supply circuit to turn off based on the power-down instruction after the firmware of the target management load in the at least one management load is updated, and control the standby power supply circuit to turn on after the standby power supply circuit turns off for a target time length, so that the updated firmware takes effect. That is, the power management load in the electronic device or the management device in the computer system can generate a power-down instruction in a firmware update scenario, and the power management load can send a power-down instruction to the switch circuit based on the power-down instruction. It can be understood that the target management load and the power management load described above can be the same management load or different management loads.

[0024] Alternatively, the switch circuit can be specifically configured to control the standby power supply circuit to turn off based on the power-down instruction after the electronic device fails, and control the standby power supply circuit to turn on after the standby power supply circuit turns off for a target time length, so that the failure is recovered. That is, the power management load in the electronic device or the management device in the computer system can generate a power-down instruction in a failure recovery scenario, and the power management load can send a power-down instruction to the switch circuit based on the power-down instruction.

[0025] On the other hand, a switch control method for a standby power supply circuit in an electronic device is provided. The electronic device further includes at least one management load and a switch circuit. The standby power supply circuit is powered by a power supply, and is configured to supply power to the at least one management load when in an on state. The method includes: the switch circuit controlling the standby power supply circuit to turn off based on a power-down instruction. The standby power supply circuit automatically turns on after a target time length, or the method further includes: the switch circuit controlling the standby power supply circuit to turn on after the standby power supply circuit turns off for a target time length.

[0026] Optionally, the electronic device further comprises a service power supply circuit and at least one service load; the service power supply circuit is powered by a power supply, and the service power supply circuit is configured to power the at least one service load in an on state; the method further comprises: a power management load in the at least one management load controls the service power supply circuit to turn on after the standby power supply circuit turns on; the power management load controls the service power supply circuit to turn off before the standby power supply circuit turns off.

[0027] Optionally, the method can further comprise: a power management load in the at least one management load sends the power-off instruction to the switch circuit.

[0028] Optionally, the switch circuit comprises a boost sub-circuit and a switch sub-circuit; the process of the switch circuit controlling the standby power supply circuit to turn off based on the power-off instruction and controlling the standby power supply circuit to turn on after the standby power supply circuit turns off for a target time length can comprise: the boost sub-circuit boosts a power supply signal provided by the standby power supply circuit to obtain a control signal based on the power-off instruction, and transmits the control signal to the switch sub-circuit; the switch sub-circuit controls the standby power supply circuit to turn off based on the control signal, and controls the standby power supply circuit to turn on after the standby power supply circuit turns off for a target time length.

[0029] Optionally, the switch circuit further comprises a discharge sub-circuit; the process of the switch circuit controlling the standby power supply circuit to turn on after the standby power supply circuit turns off for a target time length can further comprise: the discharge sub-circuit causes the voltage of the control signal output by the boost sub-circuit to drop to a voltage value less than the voltage threshold by discharging after the voltage of the control signal stops rising.

[0030] Optionally, the switch circuit comprises a control sub-circuit and a timing sub-circuit; the process of the switch circuit controlling the standby power supply circuit to turn off based on the power-off instruction and controlling the standby power supply circuit to turn on after the standby power supply circuit turns off for a target time length can comprise: the control sub-circuit controls the standby power supply circuit to turn off based on the power-off instruction, and starts the timing sub-circuit to time; the control sub-circuit controls the standby power supply circuit to turn on after the timing time length of the timing sub-circuit reaches the target time length.

[0031] Optionally, the process of the switch circuit controlling the standby power supply circuit to turn off based on the power-off instruction and controlling the standby power supply circuit to turn on after the standby power supply circuit turns off for a target time length can comprise:

[0032] After the firmware of a target management load in the at least one management load is updated, the standby power supply circuit is controlled to turn off based on the power-off instruction, and the standby power supply circuit is controlled to turn on after the standby power supply circuit turns off for a target time length, so that the updated firmware takes effect;

[0033] Alternatively, after the electronic device fails, the standby power supply circuit is controlled to be turned off based on the power-off instruction, and the standby power supply circuit is controlled to be turned on after a target time length of the standby power supply circuit being turned off, so as to recover the failure.

[0034] In another aspect, a switching circuit is provided, which includes programmable logic circuit and / or program instructions, and can be used to implement the steps performed by the switching circuit in the switching control method provided in the above aspects.

[0035] In another aspect, a power management load is provided, which includes programmable logic circuit and / or program instructions, and can be used to implement the steps performed by the power management load in the switching control method provided in the above aspects.

[0036] In another aspect, a computer readable storage medium is provided, which stores instructions executed by a processing circuit to implement the switching control method of the standby power supply circuit provided in the above aspects. The processing circuit can be the switching circuit or the power management load.

[0037] In another aspect, a computer system is provided, which includes a frame, a power supply bus, and at least one electronic device provided in the above aspects located in the frame; wherein the electronic device is connected to the power supply through the power supply bus and is powered by the power supply.

[0038] Optionally, the system can include multiple electronic devices, and some or all of the electronic devices can be the electronic device provided in the above aspects. Since the electronic device provided in the above aspects can automatically power on and off without turning off the power supply, the normal operation of other electronic devices in the computer system can be avoided.

[0039] Optionally, the system can further include a management device connected to the power supply through the power supply bus and powered by the power supply; the management device can be used to:

[0040] After the firmware of the target management load in the electronic device is updated, a power-off instruction is sent to the power management load in the electronic device, the power-off instruction being used to instruct the power management load to send a power-off instruction to the switching circuit in the electronic device, the power-off instruction being used to drive the switching circuit to control the standby power supply circuit to be turned off, and the standby power supply circuit to be turned on after a target time length of the standby power supply circuit being turned off, so as to make the updated firmware effective;

[0041] Or, after the electronic device fails, a power management load in the electronic device is sent a power-off instruction, the power-off instruction is used to instruct the power management load to send a power-off command to a switch circuit in the electronic device, the power-off command is used to drive the switch circuit to control the standby power supply circuit to be closed, and the standby power supply circuit is controlled to be opened after the target closing time of the standby power supply circuit, so that the failure is recovered.

[0042] It can be understood that the management device can also be provided for the electronic device in the above aspects.

[0043] In summary, the present application provides an electronic device, a switching control method of a standby power supply circuit of the electronic device, and a computer system. The switch circuit in the electronic device can control the standby power supply circuit to be closed based on a power-off command, and control the standby power supply circuit to be opened after a target closing time of the standby power supply circuit. Alternatively, the standby power supply circuit can be automatically opened after the target closing time. Since the electronic device can be automatically powered on and off, manual on-site plugging and unplugging operations of the electronic device are not required, thereby effectively improving the maintenance efficiency of the electronic device. In addition, during the automatic powering on and off of the electronic device, the power supply is not required to be closed, thereby avoiding affecting the normal operation of other electronic devices in the computer system. BRIEF DESCRIPTION OF DRAWINGS

[0044] Figure 1 FIG. 1 is a structural schematic diagram of a computer system provided by an embodiment of the present application;

[0045] Figure 2 FIG. 2 is a structural schematic diagram of an electronic device provided by an embodiment of the present application;

[0046] Figure 3 FIG. 3 is a structural schematic diagram of another electronic device provided by an embodiment of the present application;

[0047] Figure 4 FIG. 4 is a structural schematic diagram of a switch circuit provided by an embodiment of the present application;

[0048] Figure 5 FIG. 5 is a timing diagram of various signals in an electronic device provided by an embodiment of the present application;

[0049] Figure 6 FIG. 6 is a structural schematic diagram of an adaptation sub-circuit provided by an embodiment of the present application;

[0050] Figure 7 FIG. 7 is a structural schematic diagram of another switch circuit provided by an embodiment of the present application;

[0051] Figure 8 FIG. 8 is a flowchart of a switching control method of a standby power supply circuit provided by an embodiment of the present application;

[0052] Figure 9is a flowchart of another switch control method of a standby power supply circuit provided by an embodiment of the present application.

[0053] Figure 10 is a flowchart of another switch control method of a standby power supply circuit provided by an embodiment of the present application.

[0054] Figure 11 is a structural schematic diagram of another computer system provided by an embodiment of the present application. DETAILED DESCRIPTION

[0055] The electronic device, the switch control method of the standby power supply circuit of the electronic device, and the computer system provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0056] Figure 1 is a structural schematic diagram of a computer system provided by an embodiment of the present application. As shown in Figure 1 , the computer system 10 can include a plurality of electronic devices 11. Each electronic device 11 can be a service device (also referred to as a service node) or a management device (also referred to as a management node), wherein the service device can be a server or a switching device, and the switching device can be a switch or a router, etc.

[0057] Referring to Figure 1 , it can be seen that the plurality of electronic devices 11 can be connected with a power supply 00 through a power supply bus 12, and are uniformly powered by the power supply 00. The power supply 00 can include a plurality of PSUs, for example Figure 1 , n PSUs (PSU1 to PSUn) are schematically shown, wherein n is an integer greater than 1. The power supply 00 can also be referred to as an external power supply or an alternating current (AC) power supply. The power supply bus 12 can also be referred to as a busbar or a busbar.

[0058] Optionally, as shown in Figure 1 , the plurality of electronic devices 11 in the computer system 10 can include a management device 11a, which can also be referred to as a management board. The management device 11a can control the working state of the power supply 00. For example, the management device 11a can control one or more PSUs in the power supply 00 to be turned off.

[0059] After updating some firmware (for example, firmware of a CPLD) in some electronic device 11, the electronic device 11 needs to be powered off and then powered on again to make the updated firmware take effect. Alternatively, after some electronic device 11 fails, the electronic device 11 can also be powered off and then powered on again to make the failure recover. Here, powering off means disconnecting the power supply to each load (including a management load and a business load) in the electronic device 11, and powering on means supplying power to each load in the electronic device 11 to make each load run.

[0060] Since the plurality of electronic devices 11 in the computer system 10 are uniformly powered by the power supply 00, if the power supply 00 is directly turned off, all the electronic devices 11 will be powered off. In order to avoid affecting the normal work of other electronic devices 11, if you want to control a certain electronic device 11 to be powered off and then powered on again, you need to manually plug and unplug the electronic device 11 on site, which leads to low efficiency of electronic device maintenance. Here, the process of powering off and then powering on a certain electronic device 11 can also be called AC power on and off.

[0061] It can be understood that the running mode of the electronic device 11 generally includes a standby mode and a working mode, and each load in the electronic device 11 can be divided into a management load and a business load. Here, in the working mode, the management load and the business load in the electronic device 11 are powered on and run. In the standby mode, the business load in the electronic device is powered off, and only the management load is powered on and runs, so the standby mode can also be called a light load mode.

[0062] Based on the above analysis, the management load can mean a load that needs to be powered on when the electronic device 11 is powered on and run, that is, the management load needs to remain in a working state when the electronic device 11 is in a standby mode. The business load can mean a load that is powered on when the electronic device 11 is in a working mode and is powered off when the electronic device 11 is in a standby mode. That is, the business load is a load that can be powered off when the business of the electronic device 11 does not run. The business of the electronic device 11 means the business of the user that needs to be processed by the electronic device 11.

[0063] It can also be understood that the management load in the electronic device 11 is the basis for the business load to be powered on and run, that is, after the management load in the electronic device 11 normally runs, the management load will control the business load to be powered on and run. Correspondingly, before the management load is powered off, the business load will be powered off first. Therefore, in the embodiment of the present application, by controlling the management load to be powered off, the electronic device 11 can be powered off.

[0064] Figure 2 is a structural schematic diagram of an electronic device provided by an embodiment of the present application, which can be applied to, for example, Figure 1The multi-node computer system 10 shown, that is, the electronic device can be Figure 1 Any electronic device in the computer system 10 shown. Referring to Figure 2 The electronic device 11 provided by the embodiment of the present application comprises: a standby power supply circuit 111, at least one managed load 112, and a switch circuit 113.

[0065] As Figure 2 The standby power supply circuit 111 is connected with the power supply 00 and the at least one managed load 112 respectively, the standby power supply circuit 111 is powered by the power supply 00, and the standby power supply circuit 111 is used for powering the at least one managed load 112 in the on state.

[0066] The switch circuit 113 is connected with the standby power supply circuit 111, and the switch circuit 113 is used for controlling the standby power supply circuit 111 to be closed based on a power-off instruction. Wherein, the standby power supply circuit 111 can be automatically opened after a target closing time, or the switch circuit 113 is further used for controlling the standby power supply circuit 111 to be opened after the standby power supply circuit 111 is closed for a target time.

[0067] Wherein, the switch circuit 113 can be powered by a power supply independent of the standby power supply circuit 111, for example, can be powered by the power supply 00. Thus, it can be ensured that after the standby power supply circuit 111 is closed, the switch circuit 113 can continue to work to control the standby power supply circuit 111 to be opened again.

[0068] It can be understood that after the standby power supply circuit 113 is closed, the at least one managed load 112 can be powered off. After the standby power supply circuit 113 is opened again, the at least one managed load 112 can be powered on again. That is, by making the standby power supply circuit 113 closed for a target time and then opened, the automatic power-on and power-off of the electronic device 11 can be realized. In the process of automatic power-on and power-off, since the power supply 00 does not need to be closed, the normal operation of other electronic devices in the computer system 10 can be avoided. Again, since the electronic device does not need to be unplugged manually, the maintenance efficiency of the electronic device is effectively improved.

[0069] It can also be understood that after the standby power supply circuit 113 is turned off, the at least one management load 112 needs a certain time length to power off, and the time length required for power off of different management loads 112 can be different. Therefore, in the embodiment of the present application, the target time length can be set according to the requirements of the application scenario, and the target time length can be greater than or equal to the time length required for complete power off of the management load that needs to be powered off in the application scenario. For example, for the fault recovery scenario, the target time length can be greater than or equal to the time length required for power off of all management loads 112 in the electronic device 11. For the firmware effective scenario, the target time length can be greater than or equal to the time length required for power off of the target management load, wherein the target management load refers to the management load in the at least one management load that needs to be effective after firmware update.

[0070] In the embodiment of the present application, as shown in Figure 2 The at least one management load 112 can include a power management load 112a connected with the switch circuit 113. And the power management load 112a can send the power-off instruction to the switch circuit 113 based on the power-off indication to drive the switch circuit 113 to turn off the standby power supply circuit 111. The power-off instruction can also be understood as a driving signal for driving the switch circuit 113. The power-off indication can be generated by the power management load 112a, or can be generated by the management device 11a in the computer system 10 and sent to the power management load 112a.

[0071] For example, the power management load 112a or the management device 11a can generate the power-off indication after firmware update of the target management load in the electronic device 11 (for example, after firmware upgrade) to make the updated firmware effective. Or the power management load 112a or the management device 11a can generate the power-off indication after the electronic device 11 fails to recover from the failure.

[0072] It can be understood that the power management load 112a is a subset of the at least one management load 112, or the power management load 112a is the at least one management load 112.

[0073] For example, the power management load 112a can include a BMC, that is, the BMC can send a power-off instruction to the switch circuit 113 based on the power-off indication. Or the power management load 112a can include a CPLD, which can send a power-off instruction to the switch circuit 113 based on the power-off indication.

[0074] Alternatively, referring to Figure 3The power management load 112a can include a BMC and a CPLD, wherein the BMC is connected with the CPLD, and the CPLD is connected with the switch circuit 113. The BMC is configured to send a power-off instruction to the CPLD, and the CPLD is configured to send the power-off instruction to the switch circuit 113 based on the power-off instruction. In an example, the BMC can be connected with the CPLD through a local bus (LBUS), and can send the power-off instruction to the CPLD through the LBUS.

[0075] Optionally, as shown in Figure 2 The electronic device 11 can further include a service power supply circuit 114 and at least one service load 115. The service power supply circuit 114 is connected with the power supply 00 and the at least one service load 115 respectively, the service power supply circuit 114 is powered by the power supply 00, and the service power supply circuit 114 is configured to supply power to the at least one service load 115 in an on state.

[0076] The power management load 112a of the at least one management load 112 is further connected with the service power supply circuit 114, and the power management load 112a is further configured to control the service power supply circuit 114 to be turned on after the standby power supply circuit 111 is turned on, and control the service power supply circuit 114 to be turned off before the standby power supply circuit 111 is turned off.

[0077] Since the at least one management load 112 is the basis for the normal operation of the at least one service load 115, the power management load 112a can control the service power supply circuit 114 to be turned off based on the power-off instruction, so that the at least one service load 115 is powered off, and then control the standby power supply circuit 111 to be turned off, so that the at least one management load 112 is powered off. In this way, it can be avoided that the service load 115 appears abnormal when the standby power supply circuit 111 is directly controlled to be turned off.

[0078] In an example, as shown in Figure 3 The at least one management load 111 in the electronic device 11 can include a BMC, a CPLD, a voltage regulator, etc., wherein the voltage regulator can be a voltage regulator down (VRD). The at least one service load 115 can include a central processing unit (CPU), a memory, a hard disk drive (HDD), a network interface controller (NIC), and a fan, etc. The memory can be a dual-inline-memory-modules (DIMM), and the NIC can also be referred to as a network card.

[0079] Reference Figure 2 and Figure 3 The power supply 100 can load a supply voltage V IN for the standby power supply circuit 111 and the service power supply circuit 114 respectively. The standby power supply circuit 111 can provide a power supply signal V STBY for at least one management load 112 under the driving of the supply voltage V IN, so as to drive the at least one management load 112 to operate. The service power supply circuit 114 can provide a power supply signal V CC for at least one service load 115 under the driving of the supply voltage V IN, so as to drive the at least one service load 115 to operate. The standby power supply circuit 111 and the service power supply circuit 114 can be wake-up circuits.

[0080] Figure 4 is a structural schematic diagram of a switching circuit provided by an embodiment of the present application. As a possible implementation manner of the present application, as shown in Figure 4 The switching circuit 113 can include a boost sub-circuit 1131 and a switching sub-circuit 1132.

[0081] The boost sub-circuit 1131 is connected with the standby power supply circuit 111 and the switching sub-circuit 1132 respectively. The boost sub-circuit 1131 is configured to boost the power supply signal V STBY provided by the standby power supply circuit 111 to obtain a control signal V CRL based on a power-off instruction, and transmit the control signal V CRL to the switching sub-circuit 1132.

[0082] The switching sub-circuit 1132 is also connected with the standby power supply circuit 111. The switching sub-circuit 1132 is configured to control the standby power supply circuit 111 to be closed based on the control signal V CRL, and control the standby power supply circuit 111 to be opened after a target time length of the standby power supply circuit 111 being closed.

[0083] It can be understood that the voltage of the control signal V CRL transmitted by the boost sub-circuit 1131 to the switching sub-circuit 1132 will continuously increase under the driving of the power-off instruction. After the switching sub-circuit 1132 controls the standby power supply circuit 111 to be closed, the standby power supply circuit 111 stops outputting the power supply signal V STBY, and correspondingly, the voltage of the control signal V CRL transmitted by the boost sub-circuit 1131 to the switching sub-circuit 1132 will begin to decrease. Therefore, in the embodiment of the present application, the switching sub-circuit 1132 can control the standby power supply circuit 111 to be closed or opened based on the voltage change of the control signal V CRL.

[0084] For example, when the switch sub-circuit 1132 detects that the voltage of the control signal V_CRL is greater than the first threshold V_OFF, it may send an enable signal EN of a first level to the standby power circuit 111 to control the standby power circuit 111 to be turned off. When the switch sub-circuit 1132 detects that the voltage of the control signal V_CRL is less than the second threshold V_ON, it may send an enable signal EN of a second level to the standby power circuit 111 to control the standby power circuit 111 to be turned on. The second level may be a high level relative to the first level, and the second threshold V_ON may be less than or equal to the first threshold V_OFF.

[0085] In the embodiment of the present application, the boost sub-circuit 1131 can be a bootstrap boost circuit, and the power-off command can be a PWM signal. By using a PWM signal as the driving signal for the boost sub-circuit 1131, the voltage of the control signal V_CRL output by the boost sub-circuit 1131 can be continuously increased. This prevents the voltage of the control signal V_CRL from being constantly high or low, thereby preventing the switch sub-circuit 1132 from being effectively controlled.

[0086] Optionally, the switch sub-circuit 1132 may be a Schmitt circuit, and accordingly, the second threshold V_ON may be less than the first threshold V_OFF. Since the second threshold V_ON is less than the first threshold V_OFF, the time required for the voltage of the control signal V_CRL to drop from a voltage value greater than the first threshold V_OFF to a voltage value less than V_CRL is relatively long, thereby ensuring that the standby power circuit 111 is in the off state for a longer period of time (i.e., the target duration). This ensures that at least one managed load 112 in the electronic device 11 has sufficient time to completely power off.

[0087] like Figure 4 As shown, the Schmitt circuit 1132 may include: a voltage divider subcircuit 1132a and a threshold subcircuit 1132b; wherein the threshold subcircuit 1132b may be a comparator or an operational amplifier.

[0088] The first voltage input terminal of the voltage divider sub-circuit 1132a is connected to the power supply 00 ( Figure 4 The second voltage input terminal of the voltage divider sub-circuit 1132a is connected to the output terminal VOUT of the threshold sub-circuit 1132b, the third voltage input terminal of the voltage divider sub-circuit 1132a is connected to the ground terminal GND, and the voltage output terminal of the voltage divider sub-circuit 1132a is connected to the non-inverting input terminal +VIN of the threshold sub-circuit 1132b.

[0089] The inverting input terminal -VIN of the threshold sub-circuit 1132b is connected with the boosting sub-circuit 1131, and the output terminal VOUT of the threshold sub-circuit 1132b is connected with the standby power supply circuit 111. From Figure 4 It can also be seen that the positive power supply terminal +VS of the threshold sub-circuit 1132b is connected with the power supply 00, and the negative power supply terminal -VS is connected with the ground terminal GND, i.e. the threshold sub-circuit 1132b is powered by the power supply 00.

[0090] Referring to Figure 4 The voltage divider sub-circuit 1132a can include a first resistor R1, a second resistor R2 and a third resistor R3. One end of the first resistor R1 is connected with the power supply 00, one end of the second resistor R2 is connected with the ground terminal GND, and one end of the third resistor R3 is connected with the output terminal VOUT of the threshold sub-circuit 1132b. The other end of the first resistor R1, the other end of the second resistor R2 and the other end of the third resistor R3 are all connected with the non-inverting input terminal +VIN of the threshold sub-circuit 1132b.

[0091] It can be understood that the voltage divider sub-circuit 1132a can also not be connected with the output terminal OUT of the threshold sub-circuit 1132b, for example, the voltage divider sub-circuit 1132a can not include the third resistor R3. Correspondingly, the voltage loaded to the non-inverting input terminal +VIN of the threshold sub-circuit 1132b by the voltage divider sub-circuit 1132a is a fixed value, i.e. the threshold sub-circuit 1132b only has one threshold voltage. Alternatively, it can be understood that the second threshold value is equal to the first threshold value.

[0092] Optionally, continuing to refer to Figure 4 The switching circuit 113 can further include a discharging sub-circuit 1133. The discharging sub-circuit 1133 is connected with the boosting sub-circuit 1131 and the switching sub-circuit 1132 respectively. The discharging sub-circuit 1133 is configured to, after the voltage of the control signal V_CTL output by the boosting sub-circuit 1131 stops rising (i.e. after the standby power supply circuit 111 is turned off), lower the voltage of the control signal V_CTL to a voltage value less than the voltage threshold value by discharging. The voltage threshold value can be the second threshold value V_ON.

[0093] It can be understood that the target time length for which the standby power supply circuit 111 is turned off is equal to the time length for which the voltage of the control signal V_CTL is lowered from a voltage value greater than the first threshold value V_OFF to a voltage value less than the second threshold value V_ON. Since the switching circuit 112 further includes the discharging sub-circuit 1133, the circuit parameters of the discharging sub-circuit 1133 can be adjusted to adjust the lowering rate of the voltage of the control signal V_CTL, and thus the target time length can be flexibly adjusted.

[0094] Optionally, the discharging circuit 1133 can be an RC discharging circuit. In the RC discharging circuit, R represents resistance and C represents capacitance. The RC discharging circuit refers to a discharging circuit composed of a discharging resistor and a discharging capacitor. Correspondingly, the target time length can be flexibly adjusted by adjusting the resistance value of the discharging resistor and / or the capacitance value of the discharging capacitor.

[0095] In an example, in the RC discharging circuit, one end of the discharging resistor is connected to the output end of the boost sub-circuit 1131 and the inverting input end of the threshold sub-circuit -VIN, respectively, and the other end of the discharging resistor is connected to the ground end GND. One end of the discharging capacitor is connected to the output end of the boost sub-circuit 1131 and the inverting input end of the threshold sub-circuit -VIN, respectively, and the other end of the discharging capacitor is connected to the ground end GND.

[0096] It can be understood that the discharging circuit 1133 can also not be included in the switch circuit 113. Correspondingly, after the standby power supply circuit 111 is turned off, the switch circuit 113 can be discharged through other resistors and / or capacitors in the electronic device 11, so that the voltage of the control signal V_CTL decreases to a voltage value less than the second threshold value V_ON.

[0097] Figure 5 is a timing diagram of various signals in an electronic device provided by an embodiment of the present application. The working principle of the switch circuit 113 will be described below in conjunction with Figure 4 and Figure 5 .

[0098] As shown in Figure 5 , after the electronic device 11 is connected to the power supply 00 at t0, the voltage of the power supply signal V_STBY output by the standby power supply circuit 111 gradually rises to the rated value. At the same time, the voltage of the control signal V_CTL output by the boost sub-circuit 1131 gradually rises to the initial value, which is greater than the second threshold value V_ON and less than the first threshold value V_OFF. The level of the enable signal EN output by the threshold sub-circuit 1132b in the switch sub-circuit 1132 is the second level (i.e., high level), and correspondingly, the standby power supply circuit 111 can remain in an open state.

[0099] It can be understood that, with reference to Figure 5 , before the standby power supply circuit 111 is powered on, the level of the enable signal EN output by the threshold sub-circuit 1132b is the second level, i.e., the threshold sub-circuit 1132b outputs the enable signal of the second level by default. Therefore, it can be ensured that after the electronic device 11 is connected to the power supply 00, the standby power supply circuit 111 can be normally opened.

[0100] When the output terminal VOUT of the threshold sub-circuit 1132b is at a high level, the first resistor R1 and the third resistor R3 in the voltage division sub-circuit 1132a are in parallel, and at this time, the voltage loaded to the non-inverting input terminal +VIN of the threshold sub-circuit 1132b by the voltage division sub-circuit 1132a is the first threshold value V_OFF. The first threshold value V_OFF satisfies:

[0101] V_OFF = V_IN x R2 / (R2+(R1 / / R3)).

[0102] wherein R1 / / R3 represents the resistance value of the first resistor R1 and the third resistor R3 in parallel.

[0103] With reference back to Figure 5 , assuming that the power management load 112a receives a power-off instruction at t1, the power management load 112a can output a power-off instruction to the boost sub-circuit 1131, and the power-off instruction can be a PWM signal. As shown in Figure 5 , under the driving of the PWM signal, the voltage of the control signal V_CTL output by the boost sub-circuit 1131 is constantly rising. If the voltage of the control signal V_CTL rises to a voltage value greater than the first threshold value V_OFF at t2, because the voltage of the inverting input terminal -VIN of the threshold sub-circuit 1132b is greater than the voltage of the non-inverting input terminal +VIN, the level of the enable signal EN output by the threshold sub-circuit 1132b jumps from the second level to the first level (i.e., low level). Correspondingly, the standby power supply circuit 111 is turned off under the control of the enable signal EN at the first level.

[0104] When the output terminal VOUT of the threshold sub-circuit 1132b is at a low level, the second resistor R2 and the third resistor R3 in the voltage division sub-circuit 1132a are in parallel, and at this time, the voltage loaded to the non-inverting input terminal +VIN of the threshold sub-circuit 1132b by the voltage division sub-circuit 1132a is the second threshold value V_ON. The second threshold value V_ON satisfies:

[0105] V_ON = V_IN x (R2 / / R3) / (R1+(R2 / / R3)).

[0106] wherein R2 / / R3 represents the resistance value of the second resistor R2 and the third resistor R3 in parallel. The first threshold value V_OFF and the second threshold value V_ON can also be referred to as two threshold voltages (or threshold levels) of the Schmitt trigger circuit.

[0107] With reference back to Figure 5, the voltage of the power signal V_STBY outputted by the standby power supply 111 drops to 0, and correspondingly, the power management load 112a stops outputting the PWM signal. The discharging circuit 1133 can then gradually decrease the voltage of the control signal V_CTL by discharging. If the voltage of the control signal V_CTL drops to a voltage value less than the second threshold V_ON at time t3, the voltage of the inverting input terminal -VIN of the threshold sub-circuit 1132b is less than the voltage of the non-inverting input terminal +VIN, and thus the level of the enable signal EN outputted by the threshold sub-circuit 1132b jumps from the first level to the second level (i.e., high level) again. Correspondingly, the standby power supply circuit 111 can be re-opened under the control of the enable signal EN at the second level.

[0108] From Figure 5 It can be seen that the target length T_OFF of the standby power supply circuit 111 being closed satisfies: T_OFF = t3-t1. The target length T_OFF is not only related to the difference between the first threshold V_OFF and the second threshold V_ON, but also related to the decreasing rate of the voltage of the control signal V_CTL. Therefore, in the embodiment of the present application, the target length T_OFF can be flexibly adjusted by adjusting the size of the first threshold V_OFF and / or the second threshold V_ON, or adjusting the circuit parameters of the discharging circuit 1133.

[0109] It can be seen from the calculation formula of the first threshold V_OFF and the second threshold V_ON that the two threshold voltages are both related to the resistance values of the resistors in the voltage dividing sub-circuit 1132a. Therefore, the two threshold voltages can be flexibly adjusted by adjusting the resistance value of at least one of the first resistor R1, the second resistor R2 and the third resistor R3 in the voltage dividing sub-circuit 1132a, and thus the target length can be adjusted.

[0110] Optionally, continuing to refer to Figure 4 The switching circuit 113 can further include an adapting sub-circuit 1134, and the switching sub-circuit 1132 can be connected with the standby power supply circuit 111 through the adapting sub-circuit 1134.

[0111] As described above, the switching sub-circuit 1132 is configured to output the enable signal EN to control the opening or closing of the standby power supply circuit 111. The adapting sub-circuit 1134 can be configured to convert the level of the enable signal outputted by the switching sub-circuit 1132 into a level suitable for the standby power supply circuit 111, and transmit the enable signal with the converted level to the standby power supply circuit 111.

[0112] It can be understood that there can be a difference between the level of the enable signal output by the threshold sub-circuit 1132b in the switch sub-circuit 1132 and the rated level of the enable signal required by the standby power supply circuit 111. By performing level conversion through the adaptation sub-circuit 1134, it can be ensured that the level of the enable signal loaded to the standby power supply circuit 111 is adapted to the standby power supply circuit 111, thereby ensuring effective control of the standby power supply circuit 111.

[0113] Figure 6 is a structural schematic diagram of an adaptation sub-circuit provided by an embodiment of the present application. As shown in Figure 6 , the adaptation sub-circuit 1134 can include a first transistor Q1 and a second transistor Q2.

[0114] The control electrode of the first transistor Q1 is connected with the output end of the switch sub-circuit 1132, the first electrode of the first transistor Q1 is connected with the control electrode of the second transistor Q2 and the supply voltage V_IN provided by the power supply 00, and the second electrode of the first transistor Q1 is connected with the ground end GND. Figure 6 The first electrode of the second transistor Q2 is connected with the power supply 00 and the standby power supply circuit 111, and the second electrode of the second transistor Q2 is connected with the ground end GND.

[0115] The first electrode of the second transistor Q2 is connected with the power supply 00 and the standby power supply circuit 111, and the second electrode of the second transistor Q2 is connected with the ground end GND.

[0116] Optionally, the first transistor Q1 can be a triode, and the second transistor Q2 can be a triode or a metal-oxide-semiconductor field-effect transistor (MOSFET).

[0117] Continuing to refer to Figure 6 , the adaptation sub-circuit 1134 can further include a fourth resistor R4 to a ninth resistor R9. The two ends of the fourth resistor R4 are connected with the output end of the switch sub-circuit 1132 and the control electrode of the first transistor Q1, respectively; the two ends of the fifth resistor R5 are connected with the control electrode of the first transistor Q1 and the ground end GND, respectively; the two ends of the sixth resistor R6 are connected with the power supply 00 and the first electrode of the first transistor Q1, respectively; the two ends of the seventh resistor R7 are connected with the first electrode of the first transistor Q1 and the control electrode of the second transistor Q2, respectively; the two ends of the eighth resistor R8 are connected with the power supply 00 and the first electrode of the second transistor Q2, respectively; and the two ends of the ninth resistor R9 are connected with the first electrode of the second transistor Q2 and the standby power supply circuit 111, respectively.

[0118] Figure 7 is a structural schematic diagram of another switch circuit provided by an embodiment of the present application. As another possible implementation manner of the present application, as shown inFigure 7 As shown, the switch circuit 113 can include a control sub-circuit 1135 and a timing sub-circuit 1136.

[0119] The control sub-circuit 1135 is connected with the timing sub-circuit 1136 and the standby power supply circuit 111 respectively, and is configured to control the standby power supply circuit 111 to be turned off based on the power-off instruction, start the timing sub-circuit 1136 to count time, and control the standby power supply circuit 111 to be turned on after the time counted by the timing sub-circuit 1136 reaches a target time length.

[0120] The control sub-circuit 1135 can be a control chip, and the timing sub-circuit 1136 can be a timer. The control sub-circuit 1135 can be connected with the power management load 112a and can receive the power-off instruction sent by the power management load 112a.

[0121] Optionally, the control sub-circuit 1135 and the timing sub-circuit 1136 can be powered by the power supply 00, so that the control sub-circuit 1135 and the timing sub-circuit 1136 can continue to work to control the standby power supply circuit 111 to be turned on after the standby power supply circuit 111 is turned off.

[0122] In the embodiments of the present application, the switch circuit 113 can be specifically configured to: after the firmware of the target management load in the at least one management load 112 is updated (for example, upgraded), control the standby power supply circuit 111 to be turned off based on the power-off instruction, and control the standby power supply circuit 111 to be turned on after the target time length of the standby power supply circuit 111 being turned off, so as to make the updated firmware take effect.

[0123] It can be understood that the target management load and the power management load 112a can be the same management load, or can be different management loads, and the embodiments of the present application do not limit this. For example, the target management load can be a CPLD or a voltage regulator, or can also be a memory for storing the firmware of a network card, which can be an electrically erasable programmable read only memory (EEPROM).

[0124] Alternatively, the switch circuit 113 can be specifically configured to: after the electronic device 11 fails, control the standby power supply circuit 111 to be turned off based on the power-off instruction, and control the standby power supply circuit 111 to be turned on after the target time length of the standby power supply circuit 111 being turned off, so as to recover from the failure.

[0125] Based on the above description, the scheme provided by the embodiments of the present application can be applied to the scene of firmware validation or fault recovery. Of course, the scheme provided by the embodiments of the present application can also be applied to other scenes, for example, can also be applied to the scene of network problem positioning. Wherein, the problem positioning refers to determining the fault point of the computer system.

[0126] In summary, the embodiments of the present application provide an electronic device. The switching circuit in the electronic device can control the standby power supply circuit to be closed based on the power-off instruction, and control the standby power supply circuit to be opened after the target closing time of the standby power supply circuit. Alternatively, the standby power supply circuit can be automatically opened after the target closing time. Since the electronic device can automatically power on and off, it is not necessary to manually perform the plug-in operation on the electronic device on site, thereby effectively improving the maintenance efficiency of the electronic device. In addition, since the power supply is not turned off during the automatic power-on and power-off process of the electronic device, the normal operation of other electronic devices in the computer system can be avoided.

[0127] The embodiments of the present application also provide a switching control method of a standby power supply circuit in an electronic device. The method can be applied to the electronic device 11 provided by the above embodiments. As shown in Figure 2 , the electronic device 11 includes a standby power supply circuit 111, at least one management load 112, and a switching circuit 113. Referring to Figure 8 , the method includes:

[0128] Step 101, the switching circuit controls the standby power supply circuit to be closed based on the power-off instruction.

[0129] In the embodiments of the present application, the switching circuit can receive the power-off instruction sent by the power management load in the at least one management load, and can control the standby power supply circuit to be closed under the driving of the power-off instruction.

[0130] Step 102, the switching circuit controls the standby power supply circuit to be opened after the target closing time of the standby power supply circuit.

[0131] It should be understood that the above step 102 can be deleted according to the situation, and the standby power supply circuit can be automatically opened after the target closing time.

[0132] Optionally, as shown in Figure 2 , the electronic device 11 can also include a service power supply circuit 114 and at least one service load 115. The service power supply circuit 114 is powered by the power supply, and the service power supply circuit 114 is used to power the at least one service load 115 in the opened state. Referring to Figure 8 , the method can also include:

[0133] Step 103: After the standby power circuit is turned on, the power management load controls the service power circuit to be turned on.

[0134] The power management load belongs to the at least one management load. For example, the power management load may include a BMC and / or a CPLD. After the standby power circuit is turned on, the power management load may control the service power circuit to turn on. Once the service power circuit is turned on, power can be supplied to the at least one service load to ensure normal operation of services in the electronic device.

[0135] Step 104: The power management load controls the service power circuit to be turned off based on the power-off indication.

[0136] In an embodiment of the present application, after generating or receiving a power-off indication, the power management load may determine that the standby power circuit needs to be shut down. Before shutting down the standby power circuit, the power management load may first control the service power circuit to shut down, thereby powering off the at least one service load. This prevents the at least one service load from experiencing an abnormality due to directly shutting down the standby power circuit.

[0137] Alternatively, as Figure 8 As shown, the method further includes:

[0138] Step 105: The power management load sends a power-off instruction to the switch circuit based on the power-off indication.

[0139] The power-off instruction may be a PWM signal, and the switch circuit may be driven by the PWM signal to control the standby power circuit to be turned off.

[0140] In a possible implementation of the embodiment of the present application, as Figure 4 As shown, the switch circuit 113 may include: a boost sub-circuit 1131, a switch sub-circuit 1132 and a discharge sub-circuit 1133. Figure 9 As shown, the above steps 101 and 102 may include:

[0141] Step 10121: Based on the power-off instruction, the boost sub-circuit boosts the power signal provided by the standby power circuit to obtain a control signal, and transmits the control signal to the switch sub-circuit.

[0142] The boost subcircuit may be a bootstrap boost circuit, and the power-off instruction may be a PWM signal. Driven by the PWM signal, the boost subcircuit may transmit a control signal with a continuously increasing voltage to the switch subcircuit.

[0143] Step 10122: The switch sub-circuit controls the standby power circuit to turn off based on the control signal.

[0144] The switch sub-circuit may control the standby power circuit to be turned off when detecting that the voltage of the control signal is greater than a first threshold value V_OFF.

[0145] Step 10123: After the voltage of the control signal output by the boost sub-circuit stops rising, the discharge sub-circuit reduces the voltage of the control signal to a voltage value less than the voltage threshold by discharging.

[0146] After the standby power circuit shuts down, the power management load powers down and stops outputting PWM signals. Accordingly, the voltage of the control signal output by the boost subcircuit stops rising. At this point, the discharge subcircuit can discharge the control signal to a voltage value below a voltage threshold. This voltage threshold can be a second threshold value, V_ON.

[0147] Step 10124: The switch sub-circuit controls the standby power circuit to turn on after the standby power circuit is turned off for a target time period.

[0148] When the switch sub-circuit detects that the voltage of the control signal is less than the second threshold value V_ON, it controls the standby power circuit to be turned back on. The target duration is equal to the time it takes for the voltage of the control signal to drop from a voltage value greater than the first threshold value V_OFF to a voltage value less than the second threshold value V_ON.

[0149] In another possible implementation of the embodiment of the present application, as Figure 7 As shown, the switch circuit 113 may include: a control subcircuit 1135 and a timing subcircuit 1136. Figure 10 , the above steps 101 and 102 may include:

[0150] Step 10125: The control sub-circuit controls the standby power circuit to turn off based on the power-off instruction, and starts the timing sub-circuit to start timing.

[0151] In an embodiment of the present application, the control subcircuit can be connected to a power management load and receive a power-off instruction sent by the power management load.

[0152] Step 10126: The control sub-circuit controls the standby power circuit to turn on after the timing duration of the timing sub-circuit reaches the target duration.

[0153] The target duration may be a fixed value pre-stored in the control sub-circuit, and the target duration may be greater than or equal to the duration required for the management load 112 in the electronic device 11 to be completely powered off.

[0154] As a possible example, the above steps 101 and 102 may specifically include:

[0155] After the firmware update of the target management load in the at least one management load, the switch circuit controls the standby power supply circuit to be turned off based on the power-down instruction, and controls the standby power supply circuit to be turned on after the target time length of the standby power supply circuit being turned off, so as to make the updated firmware take effect.

[0156] As another possible example, the step 101 and the step 102 can specifically include:

[0157] After the electronic device fails, the switch circuit controls the standby power supply circuit to be turned off based on the power-down instruction, and controls the standby power supply circuit to be turned on after the target time length of the standby power supply circuit being turned off, so as to make the failure recover.

[0158] It can be understood that the execution order of each step in the above method embodiment can be adjusted according to the situation, and the steps can be increased or decreased according to the situation. For example, the step 104 can be deleted according to the situation; or the step 105 and the step 104 can be executed synchronously; or the step 102 can be deleted according to the situation, that is, the standby power supply circuit can be automatically turned on after the target time length of being turned off; or the switch circuit can not include the power-off circuit, and the steps 101 and 23 can be deleted accordingly.

[0159] In summary, the embodiment of the present application provides a switching control method of a standby power supply circuit in an electronic device. The switch circuit in the electronic device can control the standby power supply circuit to be turned off based on a power-down instruction, and control the standby power supply circuit to be turned on after the target time length of the standby power supply circuit being turned off; or the standby power supply circuit can be automatically turned on after the target time length of being turned off. The method provided by the embodiment of the present application can realize the automatic power-on and power-off of the electronic device. Since the manual on-site plug-in operation of the electronic device is not required, the maintenance efficiency of the electronic device is effectively improved. Since the power supply is not turned off during the automatic power-on and power-off, the normal operation of other electronic devices in the computer system can be avoided.

[0160] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the implementation process of each step in the above method embodiment can refer to the related description in the foregoing electronic device embodiment, which will not be repeated here.

[0161] It should be understood that the switch circuit and the power management load in the electronic device provided by the embodiments of the present application can be implemented by an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD can be a CPLD, a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof. Alternatively, the switch control method of the standby power supply circuit provided by the method embodiments can also be implemented by software. When the switch control method of the standby power supply circuit provided by the method embodiments is implemented by software, the switch circuit and the power management load can include a software module for implementing the steps in the method embodiments.

[0162] The embodiments of the present application provide a computer system, as shown in Figure 1 and Figure 11 The computer system 10 can include a frame 13, a power supply bus 12, and at least one electronic device 11 provided by the embodiments as described above located in the frame 13. The electronic device 11 is connected to the power supply 00 through the power supply bus 12 and is powered by the power supply 00.

[0163] As an optional implementation, as shown in Figure 11 The computer system 10 can only include one electronic device 11, i.e., the computer system 10 can be a single-node device.

[0164] As another optional implementation, as shown in Figure 1 The computer system 10 can include a plurality of electronic devices 11. Some or all of the plurality of electronic devices 11 can be the electronic device provided by the embodiments as described above.

[0165] It can be understood that the computer system 10, such as Figure 1 The computer system 10 can also be referred to as a multi-node device or a multi-node frame device. For example, the computer system 10 can be a blade server or a high-density server.

[0166] Optionally, as shown in Figure 1 The plurality of electronic devices 11 in the computer system 10 can further include a management device 11a connected to the power supply 00 through the power supply bus 12 and powered by the power supply 00. The management device 11a can be used for:

[0167] After the target management load firmware update in the electronic device 11, a power down instruction is sent to the power management load 112a in the electronic device 11, the power down instruction is used to instruct the power management load 112a to send a power down command to the switch circuit 113 in the electronic device 11, the power down command is used to drive the switch circuit 113 to control the standby power supply circuit 111 to be turned off, and after the target time length of the standby power supply circuit 111 being turned off, the standby power supply circuit 111 is controlled to be turned on, so that the updated firmware takes effect.

[0168] Alternatively, after the electronic device 11 fails, a power down instruction is sent to the power management load 112a in the electronic device 11, the power down instruction is used to instruct the power management load 112a to send a power down command to the switch circuit 113 in the electronic device 11, the power down command is used to drive the switch circuit 113 to control the standby power supply circuit 111 to be turned off, and after the target time length of the standby power supply circuit 111 being turned off, the standby power supply circuit 111 is controlled to be turned on, so that the failure is recovered.

[0169] Based on the above analysis, it can be seen that the management device 11a can generate the power down instruction in the firmware taking effect or failure recovery scenario. In addition, it can be understood that the management device 11a can also be provided for the electronic device 11 of the above-mentioned embodiments, for example, can be the electronic device 11 shown in Figure 2 or Figure 3 .

[0170] The embodiment of the application further provides a switch circuit, which can include a programmable logic circuit and / or program instructions, and the switch circuit is used to implement the steps executed by the switch circuit in the above-mentioned method embodiments.

[0171] The embodiment of the application further provides a power management load, which can include a programmable logic circuit and / or program instructions, and the management control circuit is used to implement the steps executed by the management control circuit in the above-mentioned method embodiments.

[0172] The embodiment of the application further provides a computer readable storage medium, which stores instructions executed by a processing circuit to implement the standby power supply circuit switch control method provided by the above-mentioned method embodiments. Wherein, the processing circuit can be a switch circuit or a power management load.

[0173] The embodiment of the application further provides a computer program product containing instructions, when the computer program product runs on the processing circuit, so that the processing circuit executes the standby power supply circuit switch control method provided by the above-mentioned method embodiments.

[0174] The above-described embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, the above-described embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are wholly or partially generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transferred from one website, computer, server, or data center to another website, computer, server, or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) manner. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. containing one or more available medium collections. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium. The semiconductor medium can be a solid state drive (SSD).

[0175] The term "at least one" in the present application means one or more, and the term "multiple" in the present application means two or more, for example, multiple electronic devices means two or more electronic devices.

[0176] In the present application, "and / or" means that there can be three relationships, for example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone. The character " / " generally represents that the associated objects before and after are in an "or" relationship.

[0177] The above is only an optional implementation of the present application, but the protection scope of the present application is not limited thereto, and any skilled person in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. An electronic device, comprising: The electronic device comprises standby power supply circuit, switching circuit, service power supply circuit, at least one service load and at least one management load; the switching circuit comprises boost sub-circuit and switching sub-circuit; The standby power supply circuit is connected with power supply and the at least one management load respectively, the standby power supply circuit is powered by the power supply, and the standby power supply circuit is used for powering the at least one management load in the on state; The service power supply circuit is connected with the power supply and the at least one service load respectively, the service power supply circuit is powered by the power supply, and the service power supply circuit is used for powering the at least one service load in the on state; The power management load in the at least one management load is further connected with the service power supply circuit; The boost sub-circuit is connected with the standby power supply circuit and the switching sub-circuit respectively, the switching sub-circuit is further connected with the standby power supply circuit; the power management load in the at least one management load is connected with the boost sub-circuit; The power management load is used for sending power-off instruction to the switching circuit; The boost sub-circuit is used for boosting the power supply signal provided by the standby power supply circuit to obtain control signal based on the power-off instruction, and transmitting the control signal to the switching sub-circuit; The switching sub-circuit is used for controlling the standby power supply circuit to be closed based on the control signal; wherein, the standby power supply circuit is automatically opened after a target closing time, or the switching sub-circuit is further used for controlling the standby power supply circuit to be opened after the target closing time of the standby power supply circuit; The power management load is used for controlling the service power supply circuit to be opened after the standby power supply circuit is opened, and controlling the service power supply circuit to be closed before the standby power supply circuit is closed.

2. The electronic device of claim 1, wherein, The power management load comprises: Baseboard management controller (BMC); or, Complex programmable logic device (CPLD); or, The power management load comprises: BMC and CPLD, wherein, the BMC is connected with the CPLD, the CPLD is connected with the switching circuit, the BMC is used for sending power-off instruction to the CPLD, and the CPLD is used for sending the power-off instruction to the switching circuit based on the power-off instruction.

3. The electronic device of claim 1, wherein, The switching circuit further comprises discharge sub-circuit; The discharge sub-circuit is connected with the boost sub-circuit and the switching sub-circuit respectively, and is used for making the voltage of the control signal drop to a voltage value less than voltage threshold by discharging after the voltage of the control signal output by the boost sub-circuit stops rising.

4. The electronic device according to any one of claims 1 or 2, wherein The switching circuit comprises control sub-circuit and timing sub-circuit; The control sub-circuit is connected with the timing sub-circuit and the standby power supply circuit respectively, and is used for controlling the standby power supply circuit to be closed based on the power-off instruction, starting the timing sub-circuit to time, and controlling the standby power supply circuit to be opened after the timing time length of the timing sub-circuit reaches the target time length.

5. The electronic device according to any one of claims 1 to 3, wherein The switch circuit is specifically configured to, after firmware update of a target management load in the at least one management load, control the standby power supply circuit to be turned off based on the power-off instruction, and control the standby power supply circuit to be turned on after a target time length of the standby power supply circuit being turned off, so as to make the updated firmware take effect.

6. The electronic device according to any one of claims 1 to 3, wherein The switch circuit is specifically configured to, after the electronic device fails, control the standby power supply circuit to be turned off based on the power-off instruction, and control the standby power supply circuit to be turned on after a target time length of the standby power supply circuit being turned off, so as to make the failure recover.

7. A switching control method of a standby power supply circuit in an electronic device, characterized by comprising: The electronic device further comprises a switch circuit, a service power supply circuit, at least one service load and at least one management load, the switch circuit comprises a boost sub-circuit and a switch sub-circuit; the standby power supply circuit is powered by a power supply, and the standby power supply circuit is used to supply power for the at least one management load when in an on state; the service power supply circuit is connected with the power supply and the at least one service load respectively, the service power supply circuit is powered by the power supply, and the service power supply circuit is used to supply power for the at least one service load in an on state; a power management load in the at least one management load is further connected with the service power supply circuit; the boost sub-circuit is connected with the standby power supply circuit and the switch sub-circuit respectively, and the switch sub-circuit is further connected with the standby power supply circuit; The power management load in the at least one management load is connected with the boost sub-circuit; The method comprises: The power management load in the at least one management load sends a power-off instruction to the switch circuit; The boost sub-circuit obtains a control signal by boosting a power supply signal provided by the standby power supply circuit based on the power-off instruction, and transmits the control signal to the switch sub-circuit; The switch sub-circuit controls the standby power supply circuit to be turned off based on the control signal, and controls the standby power supply circuit to be turned on after a target time length of the standby power supply circuit being turned off; The standby power supply circuit is automatically turned on after the target time length, or the method further comprises: the switch sub-circuit controls the standby power supply circuit to be turned on after the target time length of the standby power supply circuit being turned off.

8. The method of claim 7, wherein, The switch circuit further comprises a discharge sub-circuit; the switch circuit controls the standby power supply circuit to be turned on after the target time length of the standby power supply circuit being turned off, and further comprises: The discharge sub-circuit makes the voltage of the control signal drop to a voltage value less than a voltage threshold by discharging after the voltage of the control signal output by the boost sub-circuit stops rising.

9. The method according to claim 7 or 8, characterized in that, The switch circuit comprises a control sub-circuit and a timing sub-circuit; the switch circuit controls the standby power supply circuit to be turned off based on the power-off instruction, and controls the standby power supply circuit to be turned on after a target time length of the standby power supply circuit being turned off, which comprises: The control sub-circuit controls the standby power supply circuit to be turned off based on the power-off instruction, and starts the timing sub-circuit to time; The control sub-circuit controls the standby power supply circuit to be turned on after a timing time length of the timing sub-circuit reaches the target time length.

10. The method according to claim 7 or 8, characterized in that, The switch circuit controls the standby power supply circuit to be closed based on a power-off instruction, and controls the standby power supply circuit to be opened after a target time length of the standby power supply circuit being closed, comprising: After the firmware of the target management load in the at least one management load is updated, the standby power supply circuit is controlled to be closed based on a power-off instruction, and the standby power supply circuit is controlled to be opened after a target time length of the standby power supply circuit being closed, so as to make the updated firmware effective.

11. The method of any of claims 7 or 8, wherein, The switch circuit controls the standby power supply circuit to be closed based on a power-off instruction, and controls the standby power supply circuit to be opened after a target time length of the standby power supply circuit being closed, comprising: After the electronic device fails, the standby power supply circuit is controlled to be closed based on a power-off instruction, and the standby power supply circuit is controlled to be opened after a target time length of the standby power supply circuit being closed, so as to recover the failure.

12. A computer system, characterized by The computer system comprises a frame, a power supply bus, and at least one electronic device as claimed in any one of claims 1 to 6 in the frame; Wherein, the electronic device is connected with the power supply through the power supply bus and is powered by the power supply.

13. The system of claim 12, wherein, The system further comprises a management device connected with the power supply through the power supply bus and powered by the power supply; the management device is used for: After the firmware of the target management load in the electronic device is updated, a power-off instruction is sent to the power management load in the electronic device, the power-off instruction is used to instruct the power management load to send a power-off instruction to the switch circuit in the electronic device, the power-off instruction is used to drive the switch circuit to control the standby power supply circuit to be closed, and the standby power supply circuit to be opened after a target time length of the standby power supply circuit being closed, so as to make the updated firmware effective; Or, after the electronic device fails, a power-off instruction is sent to the power management load in the electronic device, the power-off instruction is used to instruct the power management load to send a power-off instruction to the switch circuit in the electronic device, the power-off instruction is used to drive the switch circuit to control the standby power supply circuit to be closed, and the standby power supply circuit to be opened after a target time length of the standby power supply circuit being closed, so as to recover the failure.

Citation Information

Patent Citations

  • Reduced energy consumption in a computer system through software and hardware coordinated control of multiple power supplies

    CN104777888A

  • Signal processing method and electronic equipment

    CN106227317A