Power supply power-on method, device, equipment and medium
By performing fault detection and use of overcurrent protection modules on the server node, the safety of the power supply circuit of the power supply circuit is ensured, and adaptive control is carried out according to the fan speed and rotation direction, the damage caused by the server power supply is solved, and the damage caused by the power supply to the backwind is improved. The server's operation stability and maintenance efficiency are achieved.
Patent Information
- Application Number
- CN202411310481.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2024-12-27
AI Technical Summary
The power-up method of the server power supply may damage the power fan or server power, which is not conducive to the operation of the server.
Fault detection is carried out before the server node power is replaced, and the overcurrent protection module and the speed and rotation direction monitoring module are used to ensure the overcurrent protection of the power supply circuit of the power fan, and the fan control strategy is determined based on the fan speed and rotation direction to achieve adaptive control.
It avoids abnormal power loss on the server, protects the power supply fan and server power, and improves server maintenance efficiency and operation stability.
Smart Images

Figure CN119200802A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of servers, and in particular to a power-on method, device, equipment and medium. Background Art
[0002] When developing and designing servers, in order to improve their heat dissipation efficiency, simplify heat dissipation design, balance air volume distribution, save space and improve system redundancy, the server power supply and system fan are placed on the same side, but this may also bring the risk of power module fan reversal. Specifically, when the power module is replaced and repaired, the newly inserted power fan may reverse due to the air suction effect. If the reversal speed is high, the fan may not be pulled to the forward state after the power is powered on, resulting in a power fan fault alarm and the loss of server power supply redundancy.
[0003] To avoid the above situation, the current system architecture design will compare the power fan's anti-reversal capability and wind flow simulation value. If the requirements are not met, a control strategy will be introduced into the controller to monitor the power status in real time and control the fan to rotate forward at full speed. However, this strategy may cause the power fan power supply circuit current to increase instantaneously, or even damage the power fan or server power supply, which is not conducive to the stable operation of the server.
[0004] In view of the above problems, how to solve the problem that the server power supply power-on mode against wind will damage the power supply fan or server power supply, which is not conducive to the operation of the server, is an urgent problem to be solved by technical personnel in this field. Summary of the invention
[0005] The purpose of the present invention is to provide a power supply power-on method, device, equipment and medium to solve the problem that the server power supply power-on mode against wind will damage the power supply fan or server power supply, which is not conducive to the operation of the server.
[0006] In order to solve the above technical problems, the present invention provides a power-on method, which is applied to a host computer; the method comprises:
[0007] When receiving a power off and replacement command for a server node, starting a fault detection for the server node to determine whether the server node has a fault;
[0008] If not, the initial power supply of the server node is replaced with the target power supply, and the overcurrent protection module and the speed and rotation direction monitoring module of the target power supply are run; wherein the overcurrent protection module is arranged in the power supply fan power supply circuit of the target power supply;
[0009] Obtaining the fan speed and fan rotation direction of the target power supply through the speed and rotation direction monitoring module;
[0010] A fan control strategy of the target power supply is determined and executed according to the fan speed and fan rotation direction of the target power supply, and the target power supply is controlled to be powered on.
[0011] On the one hand, the starting of the fault detection of the server node to determine whether the server node has a fault includes:
[0012] Acquire key information of key components of the server node; wherein the key components at least include a central processing unit, a hard disk, a graphics processing unit and a power supply; the key information at least includes temperature, power consumption, rotation speed and working status;
[0013] Storing each of the key information in a temporary storage area for operating system model information;
[0014] Compare each of the key information with the corresponding system standard data range to determine whether the key information is within the corresponding system standard data range;
[0015] If it is confirmed that the key information is within the corresponding system standard data range, then it is confirmed that the key information is normal, and the server node is normal;
[0016] Storing the key information in the formal storage area of the operating system model information;
[0017] If it is confirmed that the key information is not within the corresponding system standard data range, it is confirmed that the key information is abnormal, and it is confirmed that the server node has a fault;
[0018] Determine the fault type and fault cause of the abnormal key information according to the fault type standard library;
[0019] The fault type and the fault cause are stored in the operating system model information fault storage area.
[0020] On the other hand, the overcurrent protection module includes: a first resistor, a low-frequency noise capacitor, a high-frequency filter capacitor, a thermistor and an electronic time delay relay;
[0021] The first end of the first resistor is connected to a common end formed by the first end of the low-frequency noise capacitor, the first end of the high-frequency filter capacitor and the first end of the thermistor, and the second end of the low-frequency noise capacitor and the second end of the high-frequency filter capacitor are both grounded;
[0022] The second end of the thermistor is connected to the first end of the electronic time delay relay; the control end of the electronic time delay relay is connected to the host computer;
[0023] Among them, the second end of the first resistor is connected to the power supply fan power supply of the target power supply as the input end of the overcurrent protection module, and the second end of the electronic delay relay is connected to the power supply fan load end of the target power supply as the output end of the overcurrent protection module.
[0024] On the other hand, the speed and rotation direction monitoring module includes: a power supply fan patch magnet, a first Hall sensor and a second Hall sensor;
[0025] The power supply fan patch magnet is arranged on the fan blade surface of the power supply fan of the target power supply in the exhaust direction; the first Hall sensor and the second Hall sensor are respectively arranged on the power supply fan frame of the target fan at preset angle intervals, and are arranged opposite to the power supply fan patch magnet; the first Hall sensor and the second Hall sensor are both communicatively connected to the host computer;
[0026] Correspondingly, obtaining the fan speed and fan rotation direction of the target power supply through the speed and rotation direction monitoring module includes:
[0027] Monitoring a first sequence signal transmitted by the first Hall sensor, and determining a first timestamp corresponding to the first sequence signal;
[0028] Monitoring a second sequence signal transmitted by the second Hall sensor, and determining a second timestamp corresponding to the second sequence signal;
[0029] Determine, according to the first timestamp and the second timestamp, a first time interval from receiving the first sequence signal to receiving the second sequence signal;
[0030] Determine, according to the second timestamp and the first timestamp, a second time interval from receiving the second sequence signal to receiving the first sequence signal;
[0031] determining a rotation direction of a fan of the target power supply according to a magnitude relationship between the first time interval and the second time interval;
[0032] Adding the first time interval and the second time interval to obtain a rotation time of a power supply fan of the target power supply;
[0033] The fan speed of the target power supply is determined according to the rotation time of the power supply fan of the target power supply.
[0034] On the other hand, determining and executing the fan control strategy of the target power supply according to the fan speed and the fan rotation direction of the target power supply, and controlling the target power supply to power on, includes:
[0035] Determining whether the power supply fan rotates in the reverse direction according to the fan speed and fan rotation direction of the target power supply;
[0036] If it is confirmed that the power supply fan of the target power supply is not rotating or is rotating in the forward direction, directly controlling the target power supply to power on;
[0037] If it is confirmed that the power supply fan of the target power supply rotates in the reverse direction, determining whether the fan speed of the target power supply is not greater than the power supply fan anti-reversal speed threshold;
[0038] If it is confirmed that the fan speed of the target power supply is not greater than the power supply fan anti-reversal speed threshold, directly controlling the target power supply to power on;
[0039] If it is confirmed that the fan speed of the target power supply is greater than the power supply fan anti-reversal speed threshold, the power supply fan of the target power supply is controlled to rotate at the target speed, and the target power supply is controlled to be powered on;
[0040] The target rotation speed is not less than the anti-reversal rotation speed threshold of the power supply fan.
[0041] On the other hand, controlling the power supply fan of the target power supply to rotate at a target speed includes:
[0042] Monitoring the fan rotation direction of the target power supply by the rotation speed and rotation direction monitoring module;
[0043] Determining whether the fan rotation direction of the target power supply has resumed forward rotation;
[0044] If the fan rotation direction of the target power supply is restored to forward rotation, then the process ends;
[0045] If the rotation direction of the fan of the target power supply has not recovered to forward rotation, controlling the power supply fan of the target power supply to increase the current target speed by a preset speed increment to obtain a new target speed;
[0046] The power supply fan of the target power supply is controlled to rotate at the new target rotation speed, and the process returns to the step of determining whether the rotation direction of the fan of the target power supply is restored to forward rotation.
[0047] On the other hand, it also includes:
[0048] Monitoring the operating status of the server node through a mobile terminal;
[0049] When the server node fails, the mobile terminal outputs a failure warning prompt message.
[0050] In order to solve the above technical problems, the present invention further provides a power supply device, which is applied to a host computer; the device comprises:
[0051] A fault detection module is used to start fault detection on the server node when receiving a power off and replacement command for the server node, and determine whether the server node has a fault; if not, trigger the power replacement module;
[0052] The power supply replacement module is used to replace the initial power supply of the server node with the target power supply, and run the overcurrent protection module and the speed and rotation direction monitoring module of the target power supply; wherein the overcurrent protection module is arranged in the power supply fan power supply circuit of the target power supply;
[0053] A rotation monitoring module, used for obtaining the fan speed and fan rotation direction of the target power supply through the rotation speed and rotation direction monitoring module;
[0054] The power-on control module is used to determine and execute the fan control strategy of the target power supply according to the fan speed and fan rotation direction of the target power supply, and control the target power supply to power on.
[0055] In order to solve the above technical problems, the present invention further provides a power supply device, comprising:
[0056] Memory for storing computer programs;
[0057] The processor is used to implement the steps of the above-mentioned power-on method when executing the computer program.
[0058] In order to solve the above technical problem, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above power-on method are implemented.
[0059] The power supply power-on method provided by the present invention is applied to a host computer; specifically, when a power supply power-off replacement command for a server node is received, fault detection for the server node is started to determine whether the server node has a fault; if not, the initial power supply of the server node is replaced with a target power supply, and an overcurrent protection module and a speed and rotation direction monitoring module of the target power supply are run; wherein the overcurrent protection module is arranged in a power supply fan power supply circuit of the target power supply; the fan speed and fan rotation direction of the target power supply are obtained through the speed and rotation direction monitoring module; the fan control strategy of the target power supply is determined and executed according to the fan speed and fan rotation direction of the target power supply, and the target power supply is controlled to be powered on.
[0060] The beneficial effect of the present invention is that before replacing the power supply of the server node, the fault detection of the server node is carried out, and the power supply replacement is carried out only after confirming that there is no fault in the server node, thereby avoiding abnormal power failure of the server and affecting the normal operation of the server. When replacing the power supply of the server node, the power supply fan power supply circuit of the replaced target power supply has an overcurrent protection module, which solves the problem of the lack of overcurrent protection mechanism of the server power supply fan power supply circuit, and can avoid the instantaneous increase of the current in the power supply fan power supply circuit to damage the power supply fan or the server power supply; at the same time, a speed and rotation direction monitoring module is set to monitor the speed of the rotation direction of the power supply fan of the target power supply; when the target power supply is powered on against the wind, the corresponding fan control strategy is set according to the monitored rotation direction and speed of the power supply fan, and the target power supply is controlled to be powered on, realizing the adaptive control of the server power supply against the wind, and improving the server maintenance efficiency.
[0061] On the other hand, the present invention specifically obtains key information of key components of the server node; stores each key information in a temporary storage area of the operating system model information; compares each key information with the corresponding system standard data range, and determines whether the key information is within the corresponding system standard data range; if so, confirms that the key information is normal, and confirms that the server node is normal; stores the key information in a formal storage area of the operating system model information; if not, confirms that the key information is abnormal, and confirms that the server node has a fault; determines the fault type and fault cause of the abnormal key information according to the fault type standard library; stores the fault type and fault cause in the fault storage area of the operating system model information, thereby realizing fault detection of the server node.
[0062] In addition, the present invention also provides a power supply power-on device, equipment and medium, with the same effects as above. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0064] Figure 1 A flow chart of a power-on method provided by an embodiment of the present invention;
[0065] Figure 2 A circuit diagram of an overcurrent protection module provided by an embodiment of the present invention;
[0066] Figure 3 A schematic diagram of a speed and rotation direction monitoring module provided by an embodiment of the present invention;
[0067] Figure 4A schematic diagram of a power supply power-on device provided in an embodiment of the present invention;
[0068] Figure 5 A schematic diagram of a power supply device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0069] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0070] The core of the present invention is to provide a power supply power-on method, device, equipment and medium to solve the problem that the server power supply power-on method against wind will damage the power supply fan or server power supply, which is not conducive to the operation of the server.
[0071] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0072] In server R&D and design, in order to improve heat dissipation efficiency, simplify heat dissipation design, balance air volume distribution, save space and improve system redundancy, the server power supply and system fan are usually placed on the same side. However, this design may cause some problems. When the server fan is working, two airflow loops are generated: one is the main heat dissipation airflow loop between the server fan and the whole machine components, and the other is the airflow loop between the server fan and the internal air duct of the power module. The latter may affect the heat dissipation of the power module, because the server fan will produce a suction effect on the internal air duct of the power module, which is opposite to the active heat dissipation wind direction of the power module fan, and may cause the risk of reversal of the power module fan.
[0073] Taking the replacement and maintenance process of the server power supply as an example, it is assumed that the server power supply module adopts a 1+1 redundant configuration. Under normal circumstances, the server system fan maintains normal speed. However, if the server works under extreme conditions, the system fan will be at the highest full speed state. At this time, if one of the power supply modules is replaced and repaired, before the new power supply is inserted into the server and the power supply line is not connected, due to the suction effect of the server fan on the air duct of the power supply module, the fan of the new server power supply will reverse with the suction direction of the system fan. If the reverse speed of the fan of the newly inserted power supply in the server is high, after the power supply is powered on, it may not be possible to rely on the anti-reverse starting force of the power supply fan to pull the power supply fan to the forward state. This will cause the server power supply to be powered on and the fan will be detected to be in the reverse state for more than the threshold time, and then report the power supply fan fault alarm, which will cause the output of the newly inserted power supply to be powered off and the server power supply redundancy to disappear. If the server is working under complex working conditions at this time, it may cause the server system to lose power and shut down, affecting the reliability of the server operation, and even causing a major safety accident in the computer room.
[0074] In order to solve this problem, when designing the server system architecture, the system cooling engineer will simulate the airflow conditions of the air inlet on one side of the server power supply gold finger and compare it with the anti-reverse airflow value of the server power supply fan. If the anti-reverse capability of the server power supply fan is greater than the airflow simulation value, it is considered that the server power supply anti-reverse capability meets the system design requirements and no special air duct design is required. If the anti-reverse capability of the server power supply fan is less than the airflow simulation value, a dedicated control strategy for the server power supply fan will be imported into the server complex programmable logic device (CPLD) version. This strategy will monitor the input power supply and in-place status of the system power supply in real time. When it is detected that the power supply is in the in-place state and the input power supply is restored, the system CPLD will immediately issue a fan control command to the server power supply, commanding the power supply fan to rotate forward at full speed, so as to achieve the server power supply fan to rotate forward quickly from the reverse state, and ensure the normal output power supply after the power supply is powered on.
[0075] However, when the anti-reversal capability of the newly powered-on power supply fan of the server is less than the wind flow simulation value, the above strategy may cause the current of the power supply fan power supply circuit to increase instantaneously, and in severe cases, it may exceed the overcurrent limit of the power supply fan power supply circuit, and finally cause the power supply fan to fail due to overcurrent damage of the MOS tube of its power supply circuit, so that the newly replaced power supply of the server is damaged and cannot be powered on normally. In order to solve the above problem, the present invention provides a power supply power-on method.
[0076] It should be noted that the method provided by the present invention is applied to a host computer. It is understandable that the host computer is in communication with the server node, can receive and pass the networking request of the server node on the same side of the power supply and system fan, and subsequently manage and control the server node.
[0077] Figure 1 A flow chart of a power-on method provided by an embodiment of the present invention. Figure 1 As shown, the method includes:
[0078] S10: When receiving a power off and replacement command for a server node, start a fault detection for the server node to determine whether the server node has a fault; if not, proceed to step S11;
[0079] Specifically, when the operation and maintenance personnel need to power off and replace the initial power supply of the server node, a power supply power off and replacement command for the initial power supply is issued. At this time, based on the power supply power off and replacement command, fault detection of the server node is started to determine whether the server node has a fault.
[0080] It should be noted that the fault detection of the server node involves the detection of multiple key information of multiple components of the server node. The specific process of the fault detection of the server node is not limited in this embodiment and depends on the specific implementation situation. Only when the server node passes the fault detection and confirms that the server node is normal, the subsequent steps are carried out. Otherwise, the power supply needs to be disconnected and replaced, so as to avoid abnormal power failure of the server and affect the normal operation of the server.
[0081] S11: Replace the initial power supply of the server node with the target power supply, and run the overcurrent protection module and the speed and rotation direction monitoring module of the target power supply.
[0082] Wherein, the overcurrent protection module is arranged in the power supply fan power supply circuit of the target power supply.
[0083] Furthermore, when it is confirmed that the server node is normal, the initial power supply of the server node is replaced with the target power supply, and the overcurrent protection module and the speed and rotation direction monitoring module of the target power supply are operated.
[0084] It should be noted that the overcurrent protection module is arranged in the power supply fan power supply circuit of the target power supply, and its function is to supplement the overcurrent protection mechanism of the server power supply fan power supply circuit, so as to prevent the instantaneous increase of the current in the power supply fan power supply circuit from damaging the power supply fan or the server power supply. In this embodiment, the specific structure of the overcurrent protection module is not limited, and it depends on the specific implementation situation. In addition, the function of the speed and rotation direction monitoring module is to detect the speed and rotation direction of the power supply fan of the target power supply. In this embodiment, the specific structure of the speed and rotation direction monitoring module is not limited, and it depends on the specific implementation situation.
[0085] S12: Obtain the fan speed and fan rotation direction of the target power supply through the speed and rotation direction monitoring module.
[0086] S13: Determine and execute a fan control strategy of the target power supply according to the fan speed and fan rotation direction of the target power supply, and control the target power supply to power on.
[0087] Subsequently, the fan speed and fan rotation direction of the target power supply are obtained through the speed and rotation direction monitoring module. It is understandable that when the target power supply is replaced, affected by the rotation of the server fan, the power supply fan of the target power supply may be in a stationary state, or may be in a reverse rotation state at different speeds. In order to avoid the instantaneous increase in the power supply fan power supply circuit current caused by the full speed rotation of the power supply fan, or even exceeding the overcurrent limit of its fan power supply circuit, which ultimately causes the newly added power supply fan in the server to fail due to overcurrent damage to the MOS tube of its power supply circuit, it is necessary to determine and execute the fan control strategy of the target power supply according to the fan speed and fan rotation direction of the target power supply, and control the target power supply to power on, thereby realizing adaptive control of power on.
[0088] It should be noted that in this embodiment, there is no restriction on the specific method for obtaining the fan speed and fan rotation direction of the target power supply, and there is no restriction on the specific process of determining and executing the fan control strategy of the target power supply based on the fan speed and fan rotation direction of the target power supply, which depends on the specific implementation situation.
[0089] In this embodiment, before replacing the power supply of the server node, the fault detection of the server node is performed to confirm that there is no fault in the server node before the power supply replacement is performed, thereby avoiding abnormal power failure of the server and affecting the normal operation of the server. When replacing the power supply of the server node, the power supply fan power supply circuit of the replaced target power supply has an overcurrent protection module, which solves the problem of the lack of overcurrent protection mechanism of the server power supply fan power supply circuit, and can avoid the instantaneous increase of the current in the power supply fan power supply circuit to damage the power supply fan or the server power supply; at the same time, a speed and rotation direction monitoring module is set to monitor the speed of the rotation direction of the power supply fan of the target power supply; when the target power supply is powered on against the wind, the corresponding fan control strategy is set according to the monitored rotation direction and speed of the power supply fan, and the target power supply is controlled to be powered on, realizing the adaptive control of the server power supply against the wind, and improving the server maintenance efficiency.
[0090] Based on the above embodiments, in some embodiments, starting fault detection on a server node to determine whether the server node has a fault includes:
[0091] S101: Acquire key information of key components of a server node;
[0092] Among them, the key components include at least the central processing unit, hard disk, graphics processor and power supply; the key information includes at least temperature, power consumption, rotation speed and working status;
[0093] S102: storing each key information into a temporary storage area for operating system model information;
[0094] S103: Compare each key information with the corresponding system standard data range to determine whether the key information is within the corresponding system standard data range; if so, proceed to step S104; if not, proceed to step S106;
[0095] S104: Confirm that key information is normal and that the server node is normal;
[0096] S105: storing the key information in the formal storage area of the operating system model information;
[0097] S106: Confirm that the key information is abnormal and that the server node is faulty;
[0098] S107: Determine the fault type and fault cause of the abnormal key information according to the fault type standard library;
[0099] S108: The fault type and fault cause are stored in the operating system model information fault storage area.
[0100] Specifically, in order to determine whether a server node has a fault, key information of key components of the server node is specifically obtained. It should be noted that the key components of the server node in this embodiment include at least a central processing unit, a hard disk, a graphics processor, and a power supply, and may also include other components, which are not limited in this embodiment. The key information of the key components should at least include temperature, power consumption, rotation speed, and working status, and may also include other information, which is not limited in this embodiment. Each key information is stored in the temporary storage area of the operating system model information for temporary storage.
[0101] Further, each key information is compared with the corresponding system standard data range to determine whether the key information is within the corresponding system standard data range. If it is confirmed that the key information is within the corresponding system standard data range, the key information is confirmed to be normal, and the server node is confirmed to be normal, and the key information can be further stored in the running system model information formal storage area for formal storage. If it is confirmed that the key information is not within the corresponding system standard data range, the key information is confirmed to be abnormal, and the server node is confirmed to have a fault. At this time, it is necessary to determine the fault type and cause of the abnormal key information according to the fault type standard library. It can be understood that the fault type standard library contains server fault types and causes corresponding to a variety of abnormal archived data. In the specific implementation, it is only necessary to combine the key information with the fault type standard library to determine the fault type and cause of the abnormal key information. Finally, the fault type and cause of the fault are stored in the running system model information fault storage area, so that the operation and maintenance personnel can view the cause of the server node fault in the running system model information fault storage area and perform corresponding maintenance operations.
[0102] In this embodiment, key information of key components of the server node is obtained; each key information is stored in a temporary storage area for the operating system model information; each key information is compared with the corresponding system standard data range to determine whether the key information is within the corresponding system standard data range; if so, the key information is confirmed to be normal and the server node is normal; the key information is stored in a formal storage area for the operating system model information; if not, the key information is confirmed to be abnormal and the server node is confirmed to have a fault; the fault type and fault cause of the abnormal key information are determined according to a fault type standard library; the fault type and fault cause are stored in the fault storage area for the operating system model information, thereby realizing fault detection of the server node.
[0103] Figure 2 A circuit diagram of an overcurrent protection module provided by an embodiment of the present invention. Figure 2 As shown, the overcurrent protection module includes: a first resistor R1, a low-frequency noise capacitor C1, a high-frequency filter capacitor C2, a thermistor R2 and an electronic delay relay K;
[0104] A first end of the first resistor R1 is connected to a common end formed by a first end of the low-frequency noise capacitor C1, a first end of the high-frequency filter capacitor C2 and a first end of the thermistor R2, and a second end of the low-frequency noise capacitor C1 and a second end of the high-frequency filter capacitor C2 are both grounded;
[0105] The second end of the thermistor R2 is connected to the first end of the electronic time delay relay K; the control end of the electronic time delay relay K is connected to the host computer;
[0106] Among them, the second end of the first resistor R1 is connected to the power supply fan power supply of the target power supply as the input end of the overcurrent protection module, and the second end of the electronic delay relay K is connected to the power supply fan load end of the target power supply as the output end of the overcurrent protection module.
[0107] Specifically, in this embodiment, the overcurrent protection module is arranged in the power supply fan power supply circuit of the target power supply, and is mainly composed of a first resistor R1, a low-frequency noise capacitor C1, a high-frequency filter capacitor C2, a thermistor R2 and an electronic delay relay K. The power supply fan load end of the target power supply is equivalent to a capacitor C3 and a resistor R3.
[0108] The low-frequency noise capacitor C1 can be a 1uF to 10uF decoupling capacitor to reduce the low-frequency noise of the power supply line; the high-frequency filter capacitor C2 can be a 0.01uF to 0.1uF decoupling capacitor to filter out the high-frequency interference conducted along the power supply line of the target power supply fan. The low-frequency noise capacitor C1 and the high-frequency filter capacitor C2 work together to replenish the peak current required by the server power supply fan when it suddenly works at high speed.
[0109] Thermistor R2 and high-frequency filter capacitor C2 are used together. When the power fan of the target power supply suddenly works at high speed, causing the low-frequency noise capacitor C1 and high-frequency filter capacitor C2 to discharge quickly, resulting in an instantaneous power supply spike current in the power supply fan power supply line, and the instantaneous power supply spike current exceeds the overcurrent protection limit of the power supply fan power board, thermistor R2 will quickly heat up and increase its resistance to limit the peak current of the power supply fan power supply line, which to a certain extent protects the power supply fan power supply circuit from overcurrent damage. When the current of the power supply fan power supply line returns to below the limit, thermistor R2 will automatically return to a low resistance state, and the power supply line will resume normal operation.
[0110] The electronic time delay relay K is the last link of the overcurrent protection of the power supply circuit of the target power supply fan. When the power supply fan of the target power supply is working normally, the electronic time delay relay K is in a long closed state. When the relay current sensor detects that the power supply fan power supply line current still exceeds the line current warning value after passing through the thermistor R2, the electronic time delay relay K starts to start separation preparation. During the relay separation preparation stage, the relay current sensor will continue to monitor the line current. If the line current continues to increase and exceeds the relay line current limit, the relay will start the separation action and the relay will be disconnected to achieve overcurrent protection of the server power supply fan power supply line; if the relay current sensor monitors that the line current does not continue to increase and return to normal value during the relay separation preparation stage, the relay will exit the separation preparation state. In this way, overcurrent protection of the power supply circuit of the target power supply fan is achieved.
[0111] It should be noted that in this embodiment, there is no restriction on the parameters of the specific models of the electronic components in the overcurrent protection module, which depends on the specific implementation situation.
[0112] Figure 3 A schematic diagram of a speed and rotation direction monitoring module provided by an embodiment of the present invention. Based on the above embodiments, in some embodiments, such as Figure 3 As shown, the speed and rotation direction monitoring module includes: a power fan patch magnet 10, a first Hall sensor 11 and a second Hall sensor 12;
[0113] The power supply fan patch magnet is arranged on the blade surface of the power supply fan of the target power supply in the exhaust direction; the first Hall sensor and the second Hall sensor are respectively arranged on the power supply fan frame of the target fan at preset angle intervals, and are arranged opposite to the power supply fan patch magnet; the first Hall sensor and the second Hall sensor are both connected to the host computer for communication.
[0114] Specifically, the speed and rotation direction monitoring module in this embodiment is mainly composed of a power fan patch magnet, a first Hall sensor and a second Hall sensor. Among them, the power fan patch magnet is set on the fan blade surface of the power fan of the target power supply in the exhaust direction; the first Hall sensor and the second Hall sensor are respectively set on the power fan frame of the target fan at preset angle intervals, and are arranged opposite to the power fan patch magnet; the first Hall sensor and the second Hall sensor are both connected to the host computer for communication. In this embodiment, there is no restriction on the preset angle interval, for example, it can be 45 degrees or 90 degrees.
[0115] When the power fan of the target power supply rotates, the power fan patch magnet will pass through the first Hall sensor and the second Hall sensor in sequence. During this cycle, the two Hall sensors will respectively generate specific sequence signals and corresponding timestamp data in real time; the sequence signal and corresponding timestamp data will be temporarily stored in the temporary storage area of the server power register to facilitate the subsequent determination of the fan speed and rotation direction.
[0116] Correspondingly, the fan speed and fan rotation direction of the target power supply are obtained through the speed and rotation direction monitoring module, including:
[0117] S121: monitoring a first sequence signal transmitted by a first Hall sensor, and determining a first timestamp corresponding to the first sequence signal;
[0118] S122: monitoring a second sequence signal transmitted by a second Hall sensor, and determining a second timestamp corresponding to the second sequence signal;
[0119] S123: Determine a first time interval from receiving the first sequence signal to receiving the second sequence signal according to the first timestamp and the second timestamp;
[0120] S124: Determine a second time interval from receiving the second sequence signal to receiving the first sequence signal according to the second timestamp and the first timestamp;
[0121] S125: determining a rotation direction of a fan of the target power supply according to a magnitude relationship between the first time interval and the second time interval;
[0122] S126: Add the first time interval and the second time interval to obtain the rotation time of the power supply fan of the target power supply;
[0123] S127: Determine the fan speed of the target power supply according to the rotation time of the power supply fan of the target power supply.
[0124] Specifically, in order to determine the fan speed and fan rotation direction of the target power supply, it is necessary to monitor the first sequence signal transmitted by the first Hall sensor and determine the first timestamp corresponding to the first sequence signal; monitor the second sequence signal transmitted by the second Hall sensor and determine the second timestamp corresponding to the second sequence signal. It is understandable that, since the power supply fan is constantly rotating, the first sequence signal and the second sequence signal will be continuously received, and the timestamps corresponding to the two sequence signals will be continuously recorded.
[0125] Further, based on the first timestamp and the second timestamp, the first time interval from receiving the first sequence signal to receiving the second sequence signal is determined; at the same time, based on the second timestamp and the first timestamp, the second time interval from receiving the second sequence signal to receiving the first sequence signal is determined. According to the size relationship between the first time interval and the second time interval, the fan rotation direction of the target power supply is determined. Specifically, assuming that the first Hall sensor is in the counterclockwise direction of the second Hall sensor, if the first time interval is less than the second time interval, it is considered that the power supply fan is rotating in the clockwise direction at this time. If the first time interval is greater than the second time interval, it is considered that the power supply fan is rotating in the counterclockwise direction at this time. It should be noted that in this embodiment, there is no restriction on the forward rotation direction of the power supply fan of the target power supply, and the forward rotation direction of the power supply fan needs to be determined in advance, so as to determine whether it is rotating forward or reverse after obtaining the rotation direction of the power supply fan.
[0126] Finally, the first time interval and the second time interval are added to obtain the rotation time of the power supply fan of the target power supply, and the fan speed of the target power supply is determined according to the rotation time of the power supply fan of the target power supply. In this way, the fan speed and fan rotation direction of the target power supply are obtained.
[0127] Based on the above embodiments, in some embodiments, determining and executing a fan control strategy of a target power supply according to a fan speed and a fan rotation direction of the target power supply, and controlling the target power supply to power on, includes:
[0128] S131: judging whether the power supply fan rotates in the reverse direction according to the fan speed and the fan rotation direction of the target power supply; if it is confirmed that the power supply fan of the target power supply does not rotate or rotates forward, proceeding to step S133; if it is confirmed that the power supply fan of the target power supply rotates in the reverse direction, proceeding to step S132;
[0129] S132: Determine whether the fan speed of the target power supply is not greater than the power supply fan anti-reversal speed threshold; if it is confirmed that the fan speed of the target power supply is not greater than the power supply fan anti-reversal speed threshold, proceed to step S133; if it is confirmed that the fan speed of the target power supply is greater than the power supply fan anti-reversal speed threshold, proceed to step S134;
[0130] S133: directly control the target power supply to power on;
[0131] S134: Control the power supply fan of the target power supply to rotate at a target speed, and control the target power supply to power on;
[0132] The target rotation speed is not less than the anti-reversal rotation speed threshold of the power supply fan.
[0133] In a specific implementation, in order to determine and execute the fan control strategy of the target power supply and control the target power supply to be powered on, it is specifically determined whether the power supply fan rotates in the reverse direction according to the fan speed and the fan rotation direction of the target power supply. For example, when the power supply fan of the target power supply rotates clockwise as positive rotation, then when the power supply fan of the target power supply rotates counterclockwise, it is considered that the power supply fan rotates in the reverse direction.
[0134] It should be noted that in order to better judge the rotation status of the power supply fan, the rotation status can be judged after the target power supply is replaced and inserted into the slot of the initial power supply and the corresponding power supply in place signal is restored, and the preset time is postponed to wait for the rotation status of the power supply fan of the target power supply to stabilize. In this embodiment, there is no limit on the preset time, for example, it can be set to 3 minutes. This can effectively improve the accuracy of the judgment of the rotation status of the power supply fan.
[0135] If it is confirmed that the power fan of the target power supply does not rotate or rotates forward, it is considered that the current target power supply does not involve powering on against the wind, and the target power supply can be directly controlled to power on. If it is confirmed that the power fan of the target power supply rotates in the reverse direction, it is necessary to determine whether the fan speed of the target power supply is not greater than the power fan anti-reverse speed threshold. It should be noted that the power fan anti-reverse speed threshold refers to the speed value at which the power fan can resist reverse startup. When the reverse rotation speed of the power fan is lower than the power fan anti-reverse speed threshold, the power fan has the ability to return to the forward rotation state. When the reverse rotation speed of the power fan is not lower than the power fan anti-reverse speed threshold, the power fan cannot return to the forward rotation state. In this embodiment, there is no restriction on the size of the power fan anti-reverse speed threshold, which depends on the specific implementation situation.
[0136] Therefore, if it is confirmed that the fan speed of the target power supply is not greater than the power supply fan anti-reversal speed threshold, it is considered that the power supply fan is capable of recovering to the state of forward rotation, and the target power supply can be directly controlled to power on. If it is confirmed that the fan speed of the target power supply is greater than the power supply fan anti-reversal speed threshold, it is considered that the power supply fan cannot recover to the state of forward rotation, and the power supply fan of the target power supply is controlled to rotate at the target speed, and the target power supply is controlled to power on. It should be noted that the target speed is not less than the power supply fan anti-reversal speed threshold. In this embodiment, there is no restriction on the size of the target speed, which depends on the specific implementation situation.
[0137] In this way, the determination and execution of the fan control strategy of the target power supply is achieved, so as to better control the power-on of the target power supply.
[0138] Based on the above embodiments, in some embodiments, controlling the power supply fan of the target power supply to rotate at a target speed includes:
[0139] S135: monitoring the fan rotation direction of the target power supply through a rotation speed and rotation direction monitoring module;
[0140] S136: Determine whether the rotation direction of the fan of the target power supply has been restored to forward rotation; if the rotation direction of the fan of the target power supply has been restored to forward rotation, then the process ends; if the rotation direction of the fan of the target power supply has not been restored to forward rotation, then the process proceeds to step S137;
[0141] S137: Control the power supply fan of the target power supply to increase the current target speed by a preset speed increment to obtain a new target speed;
[0142] S138: Control the power supply fan of the target power supply to rotate at the new target speed, and return to step S136.
[0143] Specifically, when the fan speed of the target power supply is greater than the power supply fan anti-reversal speed threshold, the power supply fan of the target power supply is controlled to rotate at the power supply fan anti-reversal speed threshold as the target speed. At this time, the fan rotation direction of the target power supply is monitored by the speed and rotation direction monitoring module to determine whether the fan rotation direction of the target power supply has resumed forward rotation. If the fan rotation direction of the target power supply has resumed forward rotation, the power supply fan control and power-on process is terminated.
[0144] If the fan rotation direction of the target power supply has not resumed forward rotation, the power supply fan of the target power supply is controlled to increase the current target speed by a preset speed increment to obtain a new target speed. For example, if the power supply fan anti-reversal speed threshold is 10,000 rpm, the current target speed is increased by a speed increment of 2,000 rpm to obtain a new target speed of 12,000 rpm. The power supply fan of the target power supply is further controlled to rotate at the new target speed, and the process returns to the step of determining whether the fan rotation direction of the target power supply has resumed forward rotation until it is detected that the power supply fan of the target power supply has resumed forward rotation. In this way, it is ensured that the target power supply resumes forward rotation, preventing the server power supply from being damaged by overcurrent.
[0145] Based on the above embodiments, in some embodiments, the following further includes:
[0146] S14: monitoring the operating status of the server node through the mobile terminal;
[0147] S15: When a server node fails, a fault alarm prompt message is output via a mobile terminal.
[0148] In the specific implementation, the mobile terminal can also be set to monitor the operating status of the server node, including the alarm information of the key components such as the central processor, hard disk, and power supply of the server node, to provide reliability information support for the replacement and maintenance of the server power supply in the computer room or the switching process of the power supply line of the server in the computer room. When a server node fails, the mobile terminal outputs the fault alarm prompt information, thereby prompting the operation and maintenance personnel to maintain the fault.
[0149] In addition, the mobile terminal can also output feedback information related to power outage replacement. When the target power supply completes the replacement of the initial power supply and is powered on, the mobile power supply can feedback the prompt information of the successful power-on of the target power supply in the server node, and record the process information of this power-on, so that the operation and maintenance personnel can better understand the maintenance status of the server node.
[0150] In the above embodiments, the power-on method is described in detail. The present invention also provides a corresponding embodiment of the power-on device.
[0151] Figure 4 A schematic diagram of a power supply device provided by an embodiment of the present invention. The device is applied to a host computer; Figure 4 As shown, the device comprises:
[0152] The fault detection module 15 is used to start the fault detection of the server node when receiving the power off and replacement command of the server node, and determine whether the server node has a fault; if not, trigger the power replacement module;
[0153] A power supply replacement module 16 is used to replace the initial power supply of the server node with a target power supply, and to run an overcurrent protection module and a speed and rotation direction monitoring module of the target power supply; wherein the overcurrent protection module is arranged in a power supply fan power supply circuit of the target power supply;
[0154] A rotation monitoring module 17, used to obtain the fan speed and fan rotation direction of the target power supply through a speed and rotation direction monitoring module;
[0155] The power-on control module 18 is used to determine and execute the fan control strategy of the target power supply according to the fan speed and fan rotation direction of the target power supply, and control the target power supply to power on.
[0156] In some embodiments, the fault detection module 15 includes:
[0157] The first acquisition submodule is used to acquire key information of key components of the server node; wherein the key components at least include a central processing unit, a hard disk, a graphics processing unit and a power supply; the key information at least includes temperature, power consumption, rotation speed and working status;
[0158] The first storage submodule is used to store each key information into the temporary storage area of the running system model information;
[0159] The first judgment submodule is used to compare each key information with the corresponding system standard data range, and judge whether the key information is within the corresponding system standard data range; if it is confirmed that the key information is within the corresponding system standard data range, the first confirmation submodule is triggered; if it is confirmed that the key information is not within the corresponding system standard data range, the second confirmation submodule is triggered;
[0160] The first confirmation submodule is used to confirm that the key information is normal and that the server node is normal;
[0161] The second storage submodule is used to store the key information in the formal storage area of the running system model information;
[0162] The second confirmation submodule is used to confirm that the key information is abnormal and confirm that the server node has a fault;
[0163] The first determination submodule is used to determine the fault type and fault cause of abnormal key information according to the fault type standard library;
[0164] The third storage submodule is used to store the fault type and fault cause in the running system model information fault storage area.
[0165] In some embodiments, the overcurrent protection module includes: a first resistor, a low-frequency noise capacitor, a high-frequency filter capacitor, a thermistor, and an electronic time delay relay;
[0166] The first end of the first resistor is connected to a common end formed by the first end of the low-frequency noise capacitor, the first end of the high-frequency filter capacitor and the first end of the thermistor, and the second end of the low-frequency noise capacitor and the second end of the high-frequency filter capacitor are both grounded;
[0167] The second end of the thermistor is connected to the first end of the electronic time delay relay; the control end of the electronic time delay relay is connected to the host computer;
[0168] Among them, the second end of the first resistor is connected to the power supply fan power supply of the target power supply as the input end of the overcurrent protection module, and the second end of the electronic delay relay is connected to the power supply fan load end of the target power supply as the output end of the overcurrent protection module.
[0169] In some embodiments, the speed and rotation direction monitoring module includes: a power supply fan patch magnet, a first Hall sensor, and a second Hall sensor;
[0170] The power supply fan patch magnet is arranged on the fan blade surface of the power supply fan of the target power supply in the exhaust direction; the first Hall sensor and the second Hall sensor are respectively arranged on the power supply fan frame of the target fan at preset angle intervals, and are arranged opposite to the power supply fan patch magnet; the first Hall sensor and the second Hall sensor are both connected to the host computer for communication;
[0171] Correspondingly, the rotation monitoring module 17 includes:
[0172] A first monitoring submodule, configured to monitor a first sequence signal transmitted by a first Hall sensor, and determine a first timestamp corresponding to the first sequence signal;
[0173] A second monitoring submodule, used for monitoring a second sequence signal transmitted by a second Hall sensor, and determining a second timestamp corresponding to the second sequence signal;
[0174] A second determining submodule, configured to determine a first time interval from receiving the first sequence signal to receiving the second sequence signal according to the first timestamp and the second timestamp;
[0175] A third determining submodule, configured to determine a second time interval from receiving the second sequence signal to receiving the first sequence signal according to the second timestamp and the first timestamp;
[0176] A fourth determination submodule, configured to determine a rotation direction of a fan of a target power supply according to a magnitude relationship between the first time interval and the second time interval;
[0177] A summing submodule, configured to sum the first time interval and the second time interval to obtain a rotation time of a power supply fan of a target power supply;
[0178] The fifth determining submodule is used to determine the fan speed of the target power supply according to the rotation time of the power supply fan of the target power supply.
[0179] In some embodiments, the power-on control module 18 includes:
[0180] The second judgment submodule is used to judge whether the power supply fan rotates in the reverse direction according to the fan speed and the fan rotation direction of the target power supply; if it is confirmed that the power supply fan of the target power supply does not rotate or rotates forward, the first control submodule is triggered; if it is confirmed that the power supply fan of the target power supply rotates in the reverse direction, the third judgment submodule is triggered;
[0181] A first control submodule, used for directly controlling the target power supply to power on;
[0182] The third judgment submodule is used to judge whether the fan speed of the target power supply is not greater than the power supply fan anti-reversal speed threshold; if it is confirmed that the fan speed of the target power supply is not greater than the power supply fan anti-reversal speed threshold, the first control submodule is triggered; if it is confirmed that the fan speed of the target power supply is greater than the power supply fan anti-reversal speed threshold, the second control submodule is triggered;
[0183] A second control submodule, used to control the power supply fan of the target power supply to rotate at a target speed, and control the target power supply to power on;
[0184] The target rotation speed is not less than the anti-reversal rotation speed threshold of the power supply fan.
[0185] In some embodiments, the second control submodule includes:
[0186] A third monitoring submodule, used to monitor the fan rotation direction of the target power supply through a speed and rotation direction monitoring module;
[0187] The fourth judgment submodule is used to judge whether the rotation direction of the fan of the target power supply has resumed forward rotation; if the rotation direction of the fan of the target power supply has resumed forward rotation, the process ends; if the rotation direction of the fan of the target power supply has not resumed forward rotation, the third control submodule is triggered;
[0188] A third control submodule, used for controlling the power supply fan of the target power supply to increase the current target speed by a preset speed increment to obtain a new target speed;
[0189] The fourth control submodule is used to control the power supply fan of the target power supply to rotate at the new target speed, and return to the step of determining whether the rotation direction of the fan of the target power supply is restored to forward rotation.
[0190] In some embodiments, it also includes:
[0191] The operation status monitoring submodule is used to monitor the operation status of the server node through the mobile terminal;
[0192] The alarm submodule is used to output fault alarm prompt information through the mobile terminal when a server node fails.
[0193] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, which will not be repeated here.
[0194] In addition, the present invention also provides a computer program product, including a computer program / instruction, which implements the steps of the above power-on method when executed by a processor.
[0195] Figure 5 A schematic diagram of a power supply device provided by an embodiment of the present invention. Figure 5 As shown, the power supply equipment includes:
[0196] A memory 20, used for storing computer programs;
[0197] The processor 21 is used to implement the steps of the power-on method mentioned in the above embodiment when executing the computer program.
[0198] The power supply device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer, or a desktop computer.
[0199] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of a digital signal processor (DSP), a field programmable gate array (FPGA), and a programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.
[0200] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, it can implement the relevant steps of the power-on method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. Data 203 may include but is not limited to data related to the power-on method.
[0201] In some embodiments, the power supply device may further include a display screen 22 , an input / output interface 23 , a communication interface 24 , a power supply 25 , and a communication bus 26 .
[0202] Those skilled in the art will understand that Figure 5 The structure shown in the figure does not constitute a limitation on the power supply device, and may include more or fewer components than shown in the figure.
[0203] Finally, the present invention also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps recorded in the above method embodiment are implemented.
[0204] It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc. Various media that can store program codes.
[0205] The above is a detailed introduction to a power-on method, device, equipment and medium provided by the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can be referenced to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the present invention.
[0206] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
Claims
1. A power supply power-on method, characterized in that: Applied to a host computer; the method comprises: When receiving a power off and replacement command for a server node, starting a fault detection for the server node to determine whether the server node has a fault; If not, the initial power supply of the server node is replaced with the target power supply, and the overcurrent protection module and the speed and rotation direction monitoring module of the target power supply are run; wherein the overcurrent protection module is arranged in the power supply fan power supply circuit of the target power supply; Obtaining the fan speed and fan rotation direction of the target power supply through the speed and rotation direction monitoring module; A fan control strategy of the target power supply is determined and executed according to the fan speed and fan rotation direction of the target power supply, and the target power supply is controlled to be powered on.
2. The power-on method according to claim 1, characterized in that: The starting of the fault detection of the server node to determine whether the server node has a fault includes: Acquire key information of key components of the server node; wherein the key components at least include a central processing unit, a hard disk, a graphics processing unit and a power supply; the key information at least includes temperature, power consumption, rotation speed and working status; Storing each of the key information in a temporary storage area for operating system model information; Compare each of the key information with the corresponding system standard data range to determine whether the key information is within the corresponding system standard data range; If it is confirmed that the key information is within the corresponding system standard data range, then it is confirmed that the key information is normal, and the server node is normal; Storing the key information in the formal storage area of the operating system model information; If it is confirmed that the key information is not within the corresponding system standard data range, it is confirmed that the key information is abnormal, and it is confirmed that the server node has a fault; Determine the fault type and fault cause of the abnormal key information according to the fault type standard library; The fault type and the fault cause are stored in the operating system model information fault storage area.
3. The power-on method according to claim 1, characterized in that: The overcurrent protection module includes: a first resistor, a low-frequency noise capacitor, a high-frequency filter capacitor, a thermistor and an electronic time delay relay; The first end of the first resistor is connected to a common end formed by the first end of the low-frequency noise capacitor, the first end of the high-frequency filter capacitor and the first end of the thermistor, and the second end of the low-frequency noise capacitor and the second end of the high-frequency filter capacitor are both grounded; The second end of the thermistor is connected to the first end of the electronic time delay relay; the control end of the electronic time delay relay is connected to the host computer; Among them, the second end of the first resistor is connected to the power supply fan power supply of the target power supply as the input end of the overcurrent protection module, and the second end of the electronic delay relay is connected to the power supply fan load end of the target power supply as the output end of the overcurrent protection module.
4. The power-on method according to claim 1, characterized in that: The speed and rotation direction monitoring module includes: a power supply fan patch magnet, a first Hall sensor and a second Hall sensor; The power supply fan patch magnet is arranged on the fan blade surface of the power supply fan of the target power supply in the exhaust direction; the first Hall sensor and the second Hall sensor are respectively arranged on the power supply fan frame of the target fan at preset angle intervals, and are arranged opposite to the power supply fan patch magnet; the first Hall sensor and the second Hall sensor are both communicatively connected to the host computer; Correspondingly, obtaining the fan speed and fan rotation direction of the target power supply through the speed and rotation direction monitoring module includes: Monitoring a first sequence signal transmitted by the first Hall sensor, and determining a first timestamp corresponding to the first sequence signal; Monitoring a second sequence signal transmitted by the second Hall sensor, and determining a second timestamp corresponding to the second sequence signal; Determine, according to the first timestamp and the second timestamp, a first time interval from receiving the first sequence signal to receiving the second sequence signal; Determine, according to the second timestamp and the first timestamp, a second time interval from receiving the second sequence signal to receiving the first sequence signal; determining a rotation direction of a fan of the target power supply according to a magnitude relationship between the first time interval and the second time interval; Adding the first time interval and the second time interval to obtain a rotation time of a power supply fan of the target power supply; The fan speed of the target power supply is determined according to the rotation time of the power supply fan of the target power supply.
5. The power-on method according to claim 1, characterized in that: The step of determining and executing a fan control strategy of the target power supply according to a fan speed and a fan rotation direction of the target power supply, and controlling the target power supply to power on, includes: Determining whether the power supply fan rotates in the reverse direction according to the fan speed and fan rotation direction of the target power supply; If it is confirmed that the power supply fan of the target power supply is not rotating or is rotating in the forward direction, directly controlling the target power supply to power on; If it is confirmed that the power supply fan of the target power supply rotates in the reverse direction, determining whether the fan speed of the target power supply is not greater than the power supply fan anti-reversal speed threshold; If it is confirmed that the fan speed of the target power supply is not greater than the power supply fan anti-reversal speed threshold, directly controlling the target power supply to power on; If it is confirmed that the fan speed of the target power supply is greater than the power supply fan anti-reversal speed threshold, the power supply fan of the target power supply is controlled to rotate at the target speed, and the target power supply is controlled to be powered on; The target rotation speed is not less than the anti-reversal rotation speed threshold of the power supply fan.
6. The power-on method according to claim 5, characterized in that: The step of controlling the power supply fan of the target power supply to rotate at a target speed includes: Monitoring the fan rotation direction of the target power supply by the rotation speed and rotation direction monitoring module; Determining whether the fan rotation direction of the target power supply has resumed forward rotation; If the fan rotation direction of the target power supply is restored to forward rotation, then the process ends; If the rotation direction of the fan of the target power supply has not recovered to forward rotation, controlling the power supply fan of the target power supply to increase the current target speed by a preset speed increment to obtain a new target speed; The power supply fan of the target power supply is controlled to rotate at the new target rotation speed, and the process returns to the step of determining whether the rotation direction of the fan of the target power supply is restored to forward rotation.
7. The power-on method according to any one of claims 1 to 6, characterized in that: Also includes: Monitoring the operating status of the server node through a mobile terminal; When the server node fails, the mobile terminal outputs a failure warning prompt message.
8. A power supply device, characterized in that: Applied to a host computer; the device comprises: A fault detection module is used to start fault detection on the server node when receiving a power off and replacement command for the server node, and determine whether the server node has a fault; if not, trigger the power replacement module; The power supply replacement module is used to replace the initial power supply of the server node with the target power supply, and run the overcurrent protection module and the speed and rotation direction monitoring module of the target power supply; wherein the overcurrent protection module is arranged in the power supply fan power supply circuit of the target power supply; A rotation monitoring module, used for obtaining the fan speed and fan rotation direction of the target power supply through the rotation speed and rotation direction monitoring module; The power-on control module is used to determine and execute the fan control strategy of the target power supply according to the fan speed and fan rotation direction of the target power supply, and control the target power supply to power on.
9. A power supply device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the power-on method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the power-on method according to any one of claims 1 to 7 are implemented.