Server system power signal isolation method and system and electronic equipment
By switching the power supply mode according to the power status signal in the server system and locking the output connection status signal, the problem of mistriggering the power connection status signal is solved, system stability and CPU performance are ensured, and communication consistency of the power signal is achieved.
Patent Information
- Application Number
- CN202411505521.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-25
- Publication Date
- 2025-01-03
AI Technical Summary
In server systems, the implementation methods of power connection status signals are not uniform, which may lead to false triggering, affecting the stability of the system and CPU performance, especially under different manufacturers' solutions, which may cause system frequency reduction and other problems.
By switching to the corresponding power supply mode based on the power status signal of each power supply in the server system, and locking the output connection status signal preset time when the power status changes, avoiding false triggering and ensuring the communication consistency of the power signal.
It effectively avoids the mistriggering of power connection status signals, ensures system stability and CPU performance, and solves the consistency of power signals under different manufacturers' solutions.
Smart Images

Figure CN119248093A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of server power supply, and in particular to a method and system for isolating power supply signals of a server system, and electronic equipment. Background Art
[0002] In a server system, there are key small signals between different components inside the server, such as the power connection status signal, which can indicate whether the power supply is plugged in or unplugged. However, due to the different implementation logics of different manufacturers in the related technology, the implementation methods of key small signals such as the connection status signal may be inconsistent, or false triggering may occur under certain working conditions. The falsely triggered signal may cause problems such as system frequency reduction. Summary of the invention
[0003] In view of this, the present invention provides a method, device, system, and electronic device for isolating power supply signals of a server system to solve the problem of how to avoid false triggering of the Alert signal of the power supply.
[0004] In view of this, the present invention provides a server system power signal isolation method, system and electronic device to solve the problem of how to avoid the false triggering of the power connection status signal.
[0005] In a first aspect, the present invention provides a method for isolating power supply signals of a server system, which is applied to a situation where multiple power supplies are used to supply power to a server system. The method comprises: based on a power status signal of each power supply, after switching to a corresponding power supply mode, outputting a corresponding connection status signal to a power management system of the server system according to a connection status signal of a power supply currently providing power; during operation of the current power supply mode, if the power status signal of the power supply changes, then after locking and outputting a corresponding connection status signal to the power management system of the server system for a preset time, switching to a corresponding power supply mode, and outputting a corresponding connection status signal to the power management system of the server system.
[0006] When the power status signal of the power supply changes, the present invention switches to the corresponding power supply mode after locking the corresponding connection status signal output to the power management system of the server system for a preset time, thereby preventing the connection status signal of the power supply from being triggered incorrectly and effectively avoiding the communication consistency problem of power signals to the server system under different manufacturers' solutions.
[0007] In an optional implementation, when two power supplies are used to supply power to a server system, the two power supplies are respectively recorded as a first power supply and a second power supply, and based on the power status signal of each power supply, switching to a corresponding power supply mode includes: if the power status signal of the first power supply and the power status signal of the second power supply are both at a first level, switching to a dual power supply mode; if the power status signal of at least one power supply is at a second level, switching to a single power supply mode. The first level indicates that the power supply state is normal, and the second level indicates that the power supply state is abnormal.
[0008] In an optional embodiment, if the current power supply mode is a single power supply mode, a corresponding connection status signal is output to the power management system of the server system based on the connection status signal of the power supply currently providing power, including: if the connection status signal of the power supply currently providing power is a third level, the connection status signal output to the power management system of the server system is the third level; if the connection status signal of the power supply currently providing power is a fourth level, the connection status signal output to the power management system of the server system is the fourth level; the third level indicates that the power supply is plugged in, and the fourth level indicates that the power supply is unplugged.
[0009] In an optional embodiment, if the current power supply mode is a dual power supply mode, a corresponding connection status signal is output to the power management system of the server system based on the connection status signal of the power supply currently providing power, including: if the connection status signal of the first power supply and the connection status signal of the second power supply are both third levels, then the connection status signal of the first power supply and the connection status signal of the second power supply output to the power management system of the server system are both third levels; if the connection status signal of at least one of the first power supply and the second power supply is a fourth level, then the connection status signal of the first power supply and the connection status signal of the second power supply output to the power management system of the server system are both fourth levels; the third level indicates that the power supply is plugged in, and the fourth level indicates that the power supply is unplugged.
[0010] In an optional embodiment, when the current power supply mode is a single power supply mode, if the power status signal of the power supply changes, then after a preset time, the corresponding connection status signal is output to the power management system of the server system, and then the power supply mode is switched to, and the corresponding connection status signal is output to the power management system of the server system, including: if the power status signal of the power supply that is not providing power changes from the second level to the first level, then after a preset time, the corresponding connection status signal is output to the power management system of the server system, and then the power supply mode is switched to the dual power supply mode; if the power status signal of the power supply that is not providing power is the second level, then when the connection status signal of the power supply that is currently providing power is the third level, the connection status signal of the power supply that is currently providing power output to the power management system of the server system is the third level; if the power status signal of the power supply that is not providing power is the second level, then when the connection status signal of the power supply that is currently providing power is the fourth level, the connection status signal of the power supply that is currently providing power output to the power management system of the server system is the fourth level; the third level indicates that the power supply is plugged in, and the fourth level indicates that the power supply is unplugged.
[0011] In an optional embodiment, when the current power supply mode is a dual power supply mode, if the power status signal of the power supply changes, then after a preset time, the corresponding connection status signal is output to the power management system of the server system, and then the corresponding power supply mode is switched and the corresponding connection status signal is output to the power management system of the server system, including: if the power status signal of any one of the power supplies changes from a third level to a fourth level, then after a preset time, the corresponding connection status signal is output to the power management system of the server system, and then the single power supply mode is switched; if the power status signal of the first power supply and the power status signal of the second power supply are both the third level, then when the connection status signal of the first power supply and the connection status signal of the second power supply are both the third level, the connection status signal of the first power supply and the connection status signal of the second power supply output to the power management system of the server system are both the third level; if the power status signal of the first power supply and the power status signal of the second power supply are both the third level, then when the connection status signal of at least one of the first power supply and the second power supply is the fourth level, the connection status signal of the first power supply and the connection status signal of the second power supply output to the power management system of the server system are both the fourth level; the third level indicates that the power supply is plugged in, and the fourth level indicates that the power supply is unplugged.
[0012] In an optional embodiment, before the power supply is inserted, the main line voltage of the server system is obtained; it is determined whether the main line voltage of the server system is greater than the startup voltage; when the main line voltage of the server system is greater than the startup voltage, the connection status signal of each power supply output to the power management system of the server system is the fourth level.
[0013] In a second aspect, the present invention provides a server system power signal isolation device, the device comprising: a power supply mode determination module, which is used to switch to the corresponding power supply mode based on the power status signal of each power supply, and then output the corresponding connection status signal to the power management system of the server system according to the connection status signal of the power supply currently providing power; a signal locking isolation and power supply mode switching module, which is used to lock the output of the corresponding connection status signal to the power management system of the server system for a preset time after changing the power status signal of the power supply during the operation of the current power supply mode, and then switch to the corresponding power supply mode and output the corresponding connection status signal to the power management system of the server system.
[0014] In a third aspect, the present invention provides a server system power signal isolation system, which is based on the server system power signal isolation method of the first aspect and any optional implementation manner thereof, and the server system power signal isolation system comprises: a controller and a plurality of switch circuits, wherein the controller inputs a power status signal and a connection status signal of each power supply, and the controller is connected to the input end of each switch circuit; the output end of each switch circuit is connected to a power management system of the server system, and each switch circuit corresponds to a power supply; based on the power status signal of each power supply, after switching to a corresponding power supply mode, the controller outputs a corresponding control signal to the corresponding switch circuit according to the connection status signal of the power supply currently providing power, and the corresponding control signal is used to control the switch circuit to be turned on or off, so as to output a corresponding connection status signal to the power management system of the server system; during the operation of the current power supply mode, if the power status signal of the power supply changes, the controller locks the output of the corresponding connection status signal to the power management system of the server system for a preset time, and then switches to the corresponding power supply mode.
[0015] In an optional embodiment, before the power supply is inserted, the controller obtains the main line voltage of the server system; determines whether the main line voltage of the server system is greater than the starting voltage; when the main line voltage of the server system is greater than the starting voltage, outputs a corresponding control signal to the corresponding switching circuit, so that the connection status signal of each power supply output to the power management system of the server system is the fourth level.
[0016] In a fourth aspect, the present invention provides an electronic device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the server system power signal isolation method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0017] In a fifth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the server system power signal isolation method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 is a flow chart of a method for isolating power supply signals of a server system according to an embodiment of the present invention;
[0020] Figure 2 is a flow chart of another method for isolating power supply signals of a server system according to an embodiment of the present invention;
[0021] Figure 3 is a flow chart of another method for isolating power supply signals of a server system according to an embodiment of the present invention;
[0022] Figure 4 is a flow chart of another method for isolating power supply signals of a server system according to an embodiment of the present invention;
[0023] Figure 5 is a structural diagram of a server system power signal isolation system according to an embodiment of the present invention;
[0024] Figure 6 : is a structural block diagram of a server system power signal isolation device according to an embodiment of the present invention
[0025] Figure 7 It is a schematic diagram of the hardware structure of the electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0027] In the server system, there are key small signals between different components inside the server. Key small signals can transmit key small signal commands, which may be related to the stability of the system and the performance and operating frequency of the CPU. However, in current servers, because the motherboard design of the server is based on the platform design, and the power supply design is also based on the platform specification requirements, this results in different implementations of solutions provided by different manufacturers and suppliers under the same platform requirements. Some key signals may have different impacts in some special cases due to these differences.
[0028] Taking the power connection status signal (i.e., Alert signal) as an example, under the existing technical solution of the server, during the plugging and unplugging of the server power supply, the Alert signal may cause uncertainty in the signal potential due to initialization and logic differences between manufacturers, thereby affecting the judgment of the server's power management system, and may cause the Alert signal to be falsely triggered under certain working conditions. For example: because the power supply has a hot-swappable working condition, at the moment the power supply is powered on, because there is an initialization problem in the peripheral control pins of the power supply main control chip, at the moment the power module is powered on and off, the Alert signal may be forced to be pulled low due to the initialization problem. At this time, the server system will detect the low-level signal and perform low-level actions such as CPU frequency reduction.
[0029] In order to solve the above problems, according to an embodiment of the present invention, an embodiment of a server system power signal isolation method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that here.
[0030] In this embodiment, a method for isolating power supply signals of a server system is provided, which is applied to the case where multiple power supplies are used to supply power to the server system. Specifically, it is assumed that there are currently two power supplies supplying power to the server system, namely the first power supply and the second power supply, which are respectively denoted as PSU0 and PSU1. When the power supply is cut off or unplugged, the Alert signal of the power supply is at a low level. If the Alert signals of the two power supplies are not isolated, when one power supply is online, the plugging and unplugging of the other power supply may cause the potential of the Alert signal. However, when one power supply is powered on or off, the Alert signal of the other power supply may be mistakenly triggered to pull down the signal due to initialization. Therefore, if the Alert signals of the two power supplies are not isolated, when one power supply is online, the plugging and unplugging of the other power supply may cause the potential of the Alert signal. However, when one power supply is powered on or off, the Alert signal of the other power supply may be mistakenly triggered to pull down the signal due to initialization. Figure 1 As shown, for this situation, the server system power signal isolation method of this embodiment includes:
[0031] Step S1: after switching to a corresponding power supply mode based on a power supply status signal of each power supply, a corresponding connection status signal is output to a power supply management system of a server system according to a connection status signal of a power supply currently providing power.
[0032] Specifically, the power status signal of the power supply (i.e., the PG signal) indicates whether the power status is normal or abnormal. For example, when the PG signal of the power supply is at a first level, it indicates that the power status is normal. When the PG signal of the power supply is at a second level, it indicates that the power status is abnormal. The first level and the second level are a high level and a low level, respectively. Optionally, the first level is a high level and the second level is a low level, or the first level is a low level and the second level is a high level.
[0033] Specifically, for different numbers of power supply situations, this embodiment sets different power supply modes, for example: when only one power supply is in a normal state, it can be switched to a single power supply mode; when two power supplies are in a normal state, it can be switched to a dual power supply mode; when three power supplies are in a normal state, it can be switched to a triple power supply mode. This is only an example and is not intended to be limiting.
[0034] Step S2: During the operation of the current power supply mode, if the power status signal of the power supply changes, the corresponding connection status signal is output to the power management system of the server system for a preset time, then the power supply mode is switched to, and the corresponding connection status signal is output to the power management system of the server system.
[0035] Specifically, since the power supply may be inserted or unplugged during the operation of the current power supply mode, and when the power supply is inserted or unplugged, the Alert signal may be mistakenly triggered due to initialization problems. Therefore, when the PG signal of the power supply changes, that is, the power supply is inserted or unplugged, the corresponding Alert signal will be locked and output to the power management system of the server system for a preset time, and then switched to the corresponding power supply mode, and the corresponding Alert signal will be output to the power management system of the server system, that is, after the Alert signal is locked for a preset time, step S1 is used to redetermine the power supply mode and Alert signal.
[0036] Optionally, the preset time is the time from when the power supply is plugged in to when the output voltage (ie, the startup voltage of the server) is stabilized. When the startup voltage is 12V, the preset time may be 1500ms.
[0037] In some optional implementations, when two power supplies are used to supply power to the server system, the two power supplies are respectively recorded as a first power supply and a second power supply, and based on a power status signal of each power supply, switching to a corresponding power supply mode includes:
[0038] (1) If the power state signal of the first power source and the power state signal of the second power source are both at the first level, switching to the dual power mode.
[0039] (2) If the power status signal of at least one power source is at the second level, switching to the single power mode.
[0040] The first level indicates that the power supply is in a normal state, and the second level indicates that the power supply is in an abnormal state. The PG signal is a power supply state signal, and when the signal is at a high level, the power supply is in a normal output state.
[0041] Specifically, the first level is a high level and the second level is a low level, and they are respectively recorded as PSU0 and PSU1. Figure 2 As shown, when the PSU0 PG signal is at a low level, it switches to the single power mode; when the PSU1 PG signal is at a low level, it switches to the single power mode; when the PSU0 PG signal and the PSU1 PG signal are both at a high level, it switches to the dual power mode.
[0042] In some optional implementations, if the current power supply mode is a single power supply mode, outputting a corresponding connection status signal to a power management system of the server system according to a connection status signal of the power supply currently providing power, includes:
[0043] (1) If the connection status signal of the power source currently providing power is at the third level, the connection status signal output to the power management system of the server system is at the third level.
[0044] (2) If the connection status signal of the power supply currently providing power is at the fourth level, the connection status signal output to the power management system of the server system is at the fourth level. The third level indicates that the power supply is plugged in, and the fourth level indicates that the power supply is unplugged.
[0045] Optionally, when the Alert signal of the power supply is at a low level, it indicates that the power supply is unplugged, and when the Alert signal of the power supply is at a high level, it indicates that the power supply is plugged in, but this is only an example and is not intended to be limiting.
[0046] Specifically, after initially judging the single power mode and the dual power mode, the subsequent program running logic needs to judge and output the level of the Alert signal to the power management system. In the single power mode, when the Alert signal of the power supply is high, the Alert signal output to the power management system is high; when the Alert signal of the source is low, the Alert signal output to the power management system is low.
[0047] Exemplarily, when the PSU0 PG signal is high and the PSU1 PG signal is low, it switches to single power mode. When the PSU0 Alert signal is high, indicating that PSU0 is plugged in, the PSU0 Alert signal output to the power management system is high; when the PSU0 Alert signal is low, indicating that PSU0 is unplugged, the PSU0 Alert signal output to the power management system is low.
[0048] In some optional implementations, if the current power supply mode is a dual power supply mode, outputting a corresponding connection status signal to the power management system of the server system according to the connection status signal of the power supply currently providing power, includes:
[0049] (1) If the connection status signal of the first power source and the connection status signal of the second power source are both at the third level, the connection status signal of the first power source and the connection status signal of the second power source output to the power management system of the server system are both at the third level.
[0050] (2) If the connection status signal of at least one of the first power supply and the second power supply is at the fourth level, the connection status signal of the first power supply and the connection status signal of the second power supply output to the power management system of the server system are both at the fourth level; the third level indicates that the power supply is plugged in, and the fourth level indicates that the power supply is unplugged.
[0051] Optionally, when the Alert signal of the power supply is at a low level, it indicates that the power supply is unplugged, and when the Alert signal of the power supply is at a high level, it indicates that the power supply is plugged in, but this is only an example and is not intended to be limiting.
[0052] Specifically, after initially determining the single power mode and the dual power mode, the subsequent program running logic needs to determine and output the level of the Alert signal to the power management system. In the dual power mode, only when the Alert signal of the first power supply and the Alert signal of the second power supply are both high levels, then the Alert signal of the first power supply and the Alert signal of the second power supply output to the power management system of the server system are both the third level; otherwise, the Alert signal of the first power supply and the Alert signal of the second power supply output to the power management system of the server system are both low levels.
[0053] Exemplarily, when the PSU0 PG signal is high and the PSU1 PG signal is high, it switches to the dual power supply mode; when the PSU0 Alert signal is high and the PSU1 Alert signal is low, the PSU0Alert signal output to the power management system is low and the PSU1 Alert signal is low; when the PSU0Alert signal is low and the PSU1 Alert signal is high, the PSU0Alert signal output to the power management system is low and the PSU1 Alert signal is low; when the PSU0 Alert signal is high and the PSU1 Alert signal is high, the PSU0Alert signal output to the power management system is high and the PSU1 Alert signal is high.
[0054] Exemplarily, assuming that the number of power supplies is 3, namely the first power supply, the second power supply, and the third power supply, denoted as PSU0, PSU0, and PSU2, then when the PSU0 PG signal is high, the PSU1 PG signal is high, and the PSU2 PG signal is high, it switches to the three-power supply mode. Only in the three-power supply mode, when the Alert signals of the three power supplies are all high, the PSU0 Alert, PSU1Alert, and PSU2 Alert sent to the power management system are all high. Otherwise, the PSU0 Alert, PSU1Alert, and PSU2 Alert sent to the power management system are all low.
[0055] In some optional implementations, when the current power supply mode is a single power supply mode, if the power supply status signal of the power supply changes, after outputting a corresponding connection status signal to the power management system of the server system for a preset time, switching to the corresponding power supply mode and outputting a corresponding connection status signal to the power management system of the server system include:
[0056] (1) If the power status signal of the power supply that is not providing power changes from the second level to the first level, the corresponding connection status signal is output to the power management system of the server system for a preset time, and then the power supply mode is switched to the dual power supply mode.
[0057] (2) If the power status signal of the power source that is not providing power is at the second level, then when the connection status signal of the power source that is currently providing power is at the third level, the connection status signal of the power source that is currently providing power outputted to the power management system of the server system is at the third level.
[0058] (3) If the power status signal of the power supply that is not providing power is at the second level, then when the connection status signal of the power supply that is currently providing power is at the fourth level, the connection status signal of the power supply that is currently providing power output to the power management system of the server system is at the fourth level; the third level indicates that the power supply is plugged in, and the fourth level indicates that the power supply is unplugged.
[0059] Specifically, taking two power supplies for powering a server system as an example, in single power mode, it is necessary to determine the PG signals of the two power supplies to determine whether the power supply that was not providing power has returned to normal or the power supply that is currently providing power is abnormal.
[0060] For example, when the PSU0 PG signal is at a high level and the PSU1 PG signal is at a low level, the single power mode is switched. Assume that the first level is at a high level, indicating that the power state is normal, the second level is at a low level, indicating that the power state is abnormal, the third level is at a high level, indicating that the power is plugged in, and the fourth level is at a low level, indicating that the power is unplugged. Figure 3 As shown, during single power mode operation:
[0061] (1) The PSU0 PG signal is high and the PSU1 PG signal is high, indicating that the PSUI has returned to normal. To prevent the PSU0 Alert signal from being falsely triggered due to system initialization after PSU1 is inserted, the PSU0 Alert signal sent to the power management system is locked for a preset time. After the preset time, the system switches to dual power mode.
[0062] (2) The PSU0 PG signal is high and the PSU1 PG signal is low, indicating that the PSUI is still in normal state. If the PSU0 Alert signal is high, the PSU0 Alert signal sent to the power management system is high; if the PSU0Alert signal is high, the PSU0Alert signal sent to the power management system is low.
[0063] Optionally, assuming that the number of power supplies is 3, namely the first power supply, the second power supply, and the third power supply, which are recorded as PSU0, PSU0, and PSU2, and when the PSU0 PG signal is at a high level, the PSU1 PG signal and the PSU1 PG signal are at a low level, the single power supply mode is switched. During the operation in the single power supply mode:
[0064] (1) The PSU0 PG signal is high level, and the PSU1 PG signal or the PSU2 PG signal is high level, indicating that the PSUI or PSU2 has returned to normal. In order to prevent the PSU0 Alert signal from being falsely triggered due to system initialization after PSU1 or PSU2 is inserted, the PSU0 Alert signal sent to the power management system is locked for a preset time. After the preset time, it switches to dual power mode.
[0065] (2) The PSU0 PG signal is high level, and the PSU1 PG signal and the PSU2 PG signal are high level, indicating that the PSUI and PSU2 have returned to normal. In order to prevent the PSU0 Alert signal from being falsely triggered due to system initialization after PSU1 and PSU2 are inserted, the PSU0 Alert signal sent to the power management system is locked for a preset time. After the preset time, it switches to the triple power mode.
[0066] In some optional implementations, when the current power supply mode is the dual power supply mode, if the power supply status signal of the power supply changes, after outputting the corresponding connection status signal to the power management system of the server system for a preset time, switching to the corresponding power supply mode and outputting the corresponding connection status signal to the power management system of the server system include:
[0067] (1) If the power status signal of any power source changes from the third level to the fourth level, the corresponding connection status signal is output to the power management system of the server system for a preset time, and then the power source mode is switched to the single power mode;
[0068] (2) if the power status signal of the first power source and the power status signal of the second power source are both at the third level, then when the connection status signal of the first power source and the connection status signal of the second power source are both at the third level, the connection status signal of the first power source and the connection status signal of the second power source output to the power management system of the server system are both at the third level;
[0069] (3) If the power status signal of the first power supply and the power status signal of the second power supply are both at the third level, then when the connection status signal of at least one of the first power supply and the second power supply is at the fourth level, the connection status signal of the first power supply and the connection status signal of the second power supply output to the power management system of the server system are both at the fourth level; the third level indicates that the power supply is plugged in, and the fourth level indicates that the power supply is unplugged.
[0070] Specifically, taking two power supplies for powering a server system as an example, in the dual power supply mode, it is necessary to determine the PG signals of the two power supplies to determine whether the power supply currently providing power is abnormal.
[0071] For example, when the PSU0 PG signal is at a high level and the PSU1 PG signal is at a high level, the dual power mode is switched. Assume that the first level is at a high level, indicating that the power state is normal, the second level is at a low level, indicating that the power state is abnormal, the third level is at a high level, indicating that the power is plugged in, and the fourth level is at a low level, indicating that the power is unplugged. Figure 4 As shown, during single power mode operation:
[0072] (1) As long as the PG signal of any power supply is at a low level, the corresponding Alert signal output to the power management system of the server system is locked for a preset time. For example, if the PSU1 PG signal is at a high level, it indicates that the PSU1 status is abnormal. At this time, it is necessary to lock the PSU0 Alert signal and the PSU1 Alert signal sent to the power management system for a preset time and then switch to the single power mode; if the PSU0 PG signal and the PSU1 PG signal are at a high level, it indicates that both PSU0 and PSU1 status are abnormal. At this time, it is necessary to lock the PSU0 Alert signal and the PSU1 Alert signal sent to the power management system for a preset time and then switch to the single power mode.
[0073] (2) If the PSU0 PG signal is high and the PSU1 PG signal is high, then the PSU0 Alert signal and the PSU1Alert signal are both high, and the PSU0 Alert signal and the PSU1 Alert signal sent to the power management system are both high; otherwise, the PSU0 Alert signal and the PSU1 Alert signal sent to the power management system are both low.
[0074] Optionally, assuming that the number of power supplies is 3, namely the first power supply, the second power supply, and the third power supply, which are recorded as PSU0, PSU0, and PSU2, when the PSU0 PG signal, the PSU1 PG signal, and the PSU2 PG signal are at a high level, the three-power mode is switched. In the operation process of the three-power mode:
[0075] (1) If the PG signal of a power supply is at a low level, it indicates that the power supply is in an abnormal state. In this case, it is necessary to lock the PSU0 Alert signal and the PSU1 Alert signal sent to the power management system for a preset time and then switch to single power mode or dual power mode.
[0076] For example: when the PSU1 PG signal and the PSU2 PG signal are at a low level, the PSU0 Alert signal, PSU1 Alert and PSU2 Alert signals sent to the power management system need to be locked for a preset time before switching to the single power mode; when the PSU1 PG signal is at a low level, the PSU0 Alert signal, PSU1 Alert and PSU2 Alert signals sent to the power management system need to be locked for a preset time before switching to the dual power mode; when the PSU0 PG signal, PSU1 PG signal and PSU2 PG signal are at a low level, the PSU0 Alert signal, PSU1 Alert and PSU2Alert signals sent to the power management system need to be locked for a preset time before switching to the single power mode.
[0077] (2) If the PSU0 PG signal is high, the PSU1 PG signal is high, and the PSU2 PG signal is high, then the PSU0 Alert signal, the PSU1 Alert signal, and the PSU2 Alert signal are all high, and the PSU0 Alert signal, the PSU1 Alert signal, and the PSU2 Alert signal sent to the power management system are all high; otherwise, the PSU0 Alert signal, the PSU1 Alert signal, and the PSU2 Alert signal sent to the power management system are all low.
[0078] In some optional embodiments, the method further comprises:
[0079] Before the power supply is inserted, the main line voltage of the server system is obtained; it is determined whether the main line voltage of the server system is greater than the startup voltage; when the main line voltage of the server system is greater than the startup voltage, the Alert signal of each power supply output to the power management system of the server system is the fourth level.
[0080] Specifically, when the server system is started, it is first determined whether the main line voltage of the server system is greater than the startup voltage. If it is greater than the startup voltage, the minimum server startup requirement is met. Then the PG signal of the power supply is determined to determine whether the current mode is single power supply mode or dual power supply mode.
[0081] In this embodiment, a server system power signal isolation system is provided. Based on the server system power signal isolation method of the above embodiment and any optional implementation method thereof, the server system power signal isolation system includes: a controller and multiple switch circuits. The controller inputs the power status signal and connection status signal of each power supply, and the controller is connected to the input end of each switch circuit; the output end of each switch circuit is connected to the power management system of the server system, and each switch circuit corresponds to a power supply.
[0082] Specifically, Figure 5 As shown, Figure 5 Taking two power supplies as an example, the Alert signal of one power supply is determined by a controller and a switch circuit. Figure 5 The PSU0 Alert signal on the BMC side is the PSU0 Alert signal output to the power management system, and the PSU1 Alert signal on the BMC side is the PSU1Alert signal output to the power management system.
[0083] Specifically, after switching to the corresponding power supply mode based on the power status signal of each power supply, the controller outputs a corresponding control signal to the corresponding switching circuit according to the connection status signal of the power supply currently providing power, and the corresponding control signal is used to control the switching circuit to be turned on or off, so as to output the corresponding connection status signal to the power management system of the server system; during the operation of the current power supply mode, if the power status signal of the power supply changes, the controller locks the output of the corresponding connection status signal to the power management system of the server system for a preset time, and then switches to the corresponding power supply mode.
[0084] Specifically, the server system power supply signal isolation system adopts the server system power supply signal isolation method of the above embodiment and any optional implementation method thereof to realize the isolation of the Alert signal, wherein the controller determines the current power supply mode based on the PG signal of the power supply, and sends a corresponding control signal according to the Alert signal of the power supply to control the conduction or shutdown of the switching circuit, and finally outputs a high level or a level Alert signal to the power management system. The specific implementation method will not be repeated here.
[0085] In some optional embodiments, before the power supply is inserted, the controller obtains the main line voltage of the server system; determines whether the main line voltage of the server system is greater than the starting voltage; when the main line voltage of the server system is greater than the starting voltage, outputs a corresponding control signal to the corresponding switching circuit, so that the connection status signal of each power supply output to the power management system of the server system is the fourth level.
[0086] Specifically, the 12V main line voltage signal enters the controller through resistor voltage division, and the voltage and output status of the current server power supply are determined by voltage division. If it is lower than the voltage division, the corresponding control signal is output to the corresponding switching circuit, so that the Alert signal of each power supply output to the power management system of the server system is low level, and an alarm is issued.
[0087] Optionally, the server system power signal isolation system may further include a de-jitter module to prevent power jitter from causing an Alert signal to be falsely triggered. If power jitter is detected, the preset time of the Alert signal sent to the power management system is locked.
[0088] In this embodiment, a server system power signal isolation device is also provided, which is used to implement the above embodiments and preferred implementations, and will not be repeated here. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0089] This embodiment provides a server system power signal isolation device, such as Figure 6 As shown, the device comprises:
[0090] A power supply mode determination module, configured to output a corresponding connection status signal to a power management system of the server system according to a connection status signal of a power supply currently providing power after switching to a corresponding power supply mode based on a power supply status signal of each power supply;
[0091] The signal locking isolation and power supply mode switching module is used to lock and output the corresponding connection status signal to the power management system of the server system for a preset time if the power status signal of the power supply changes during the operation of the current power supply mode, and then switch to the corresponding power supply mode and output the corresponding connection status signal to the power management system of the server system.
[0092] The server system power signal isolation device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0093] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0094] The embodiment of the present invention also provides an electronic device having the above Figure 6 The server system power signal isolation device shown.
[0095] See also Figure 7 , Figure 7 is a schematic diagram of the structure of an electronic device provided by an optional embodiment of the present invention, such as Figure 7 As shown, the electronic device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 7 A processor 10 is taken as an example.
[0096] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0097] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0098] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the use of an electronic device based on the presentation of a small program landing page, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0099] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0100] The electronic device further comprises a communication interface 30 for the electronic device to communicate with other devices or a communication network.
[0101] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0102] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for isolating power supply signals of a server system, characterized in that: Applied to the case where multiple power supplies are used to power the server system, the method includes: Based on the power status signal of each power supply, after switching to the corresponding power supply mode, output a corresponding connection status signal to the power management system of the server system according to the connection status signal of the power supply currently providing power; During the operation of the current power supply mode, if the power status signal of the power supply changes, the corresponding connection status signal is output to the power management system of the server system for a preset time, then it switches to the corresponding power supply mode and outputs the corresponding connection status signal to the power management system of the server system.
2. The server system power signal isolation method according to claim 1, characterized in that: When two power supplies are used to supply power to the server system, the two power supplies are respectively recorded as a first power supply and a second power supply, and the switching to a corresponding power supply mode based on a power status signal of each power supply includes: If the power state signal of the first power source and the power state signal of the second power source are both at the first level, switching to the dual power mode; If the power state signal of at least one power source is at the second level, switching to the single power mode; The first level indicates that the power state is normal, and the second level indicates that the power state is abnormal.
3. The server system power signal isolation method according to claim 2, characterized in that: If the current power supply mode is the single power supply mode, then outputting a corresponding connection status signal to the power management system of the server system according to the connection status signal of the power supply currently providing power, includes: If the connection status signal of the power source currently providing power is at the third level, the connection status signal output to the power management system of the server system is at the third level; If the connection status signal of the power source currently providing power is at the fourth level, the connection status signal output to the power management system of the server system is at the fourth level; The third level indicates that a power source is plugged in, and the fourth level indicates that a power source is unplugged.
4. The server system power signal isolation method according to claim 2, characterized in that: If the current power supply mode is the dual power supply mode, then outputting a corresponding connection status signal to the power management system of the server system according to the connection status signal of the power supply currently providing power, includes: If the connection status signal of the first power source and the connection status signal of the second power source are both at the third level, the connection status signal of the first power source and the connection status signal of the second power source output to the power management system of the server system are both at the third level; If the connection status signal of at least one of the first power source and the second power source is at the fourth level, the connection status signal of the first power source and the connection status signal of the second power source output to the power management system of the server system are both at the fourth level; The third level indicates that a power source is plugged in, and the fourth level indicates that a power source is unplugged.
5. The server system power signal isolation method according to claim 2, characterized in that: When the current power supply mode is the single power supply mode, if the power supply status signal of the power supply changes, the corresponding connection status signal is output to the power management system of the server system for a preset time, and then the corresponding power supply mode is switched to, and the corresponding connection status signal is output to the power management system of the server system, including: If the power status signal of the power supply that does not provide power changes from the second level to the first level, the power management system of the server system outputs a corresponding connection status signal for a preset time, and then switches to the dual power mode; If the power state signal of the power supply that does not provide power is at the second level, then when the connection state signal of the power supply that currently provides power is at the third level, the connection state signal of the power supply that currently provides power output to the power management system of the server system is at the third level; If the power state signal of the power supply that does not provide power is at the second level, then when the connection state signal of the power supply that currently provides power is at the fourth level, the connection state signal of the power supply that currently provides power output to the power management system of the server system is at the fourth level; The third level indicates that a power source is plugged in, and the fourth level indicates that a power source is unplugged.
6. The server system power signal isolation method according to claim 2, characterized in that: When the current power supply mode is the dual power supply mode, if the power supply status signal of the power supply changes, the corresponding connection status signal is output to the power management system of the server system for a preset time, and then the corresponding power supply mode is switched and the corresponding connection status signal is output to the power management system of the server system, including: If the power status signal of any power source changes from the third level to the fourth level, the corresponding connection status signal is output to the power management system of the server system for a preset time, and then the power source mode is switched to the single power mode; If the power state signal of the first power supply and the power state signal of the second power supply are both at the third level, then when the connection state signal of the first power supply and the connection state signal of the second power supply are both at the third level, the connection state signal of the first power supply and the connection state signal of the second power supply output to the power management system of the server system are both at the third level; If the power state signal of the first power supply and the power state signal of the second power supply are both at the third level, then when the connection state signal of at least one of the first power supply and the second power supply is at the fourth level, the connection state signal of the first power supply and the connection state signal of the second power supply output to the power management system of the server system are both at the fourth level; The third level indicates that a power source is plugged in, and the fourth level indicates that a power source is unplugged.
7. The server system power signal isolation method according to claim 1, characterized in that: Also includes: Before the power supply is plugged in, obtaining the main line voltage of the server system; Determining whether the main line voltage of the server system is greater than the starting voltage; When the main line voltage of the server system is greater than the startup voltage, the connection status signal of each power supply output to the power management system of the server system is at the fourth level.
8. A server system power signal isolation system, characterized in that: Based on the server system power signal isolation method according to any one of claims 1 to 7, the server system power signal isolation system comprises: a controller and a plurality of switch circuits, wherein: The controller inputs a power state signal and a connection state signal of each power supply, and the controller is connected to an input end of each switch circuit; The output end of each of the switch circuits is connected to the power management system of the server system, and each of the switch circuits corresponds to a power supply; After the controller switches to the corresponding power supply mode based on the power supply status signal of each power supply, the controller outputs a corresponding control signal to the corresponding switch circuit according to the connection status signal of the power supply currently providing power, and the corresponding control signal is used to control the switch circuit to be turned on or off, so as to output a corresponding connection status signal to the power management system of the server system; During operation of the current power supply mode, if the power status signal of the power supply changes, the controller switches to the corresponding power supply mode after outputting the corresponding connection status signal to the power management system of the server system for a preset time.
9. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the server system power supply signal isolation method according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the server system power supply signal isolation method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Power supply management system and power supply management method
CN103176580A
Uninterruptible protection power source system of video server for train
CN103580274A
Manage power supply units and modularized automatic transfer switches
CN106919242A
Automatic testing device and method for double-input power switching
CN107992180A
Equipment power failure fault detection method and device, equipment and storage medium
CN116643079A
