Control method for bus device power source, device, storage medium and electronic device

By detecting the power supply status of bus devices and identifying faults, and controlling their operation, the safety problem of bus device power supplies during short circuits is solved, and the efficiency of device protection and fault management is improved.

WO2026137727A1PCT designated stage Publication Date: 2026-07-02INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Filing Date
2025-06-18
Publication Date
2026-07-02

AI Technical Summary

Technical Problem

In existing technologies, the power supply of bus devices has low safety when short-circuited, which may damage the POL power module and EFUSE module, and the system cannot detect and report the fault in a timely manner, affecting maintenance efficiency.

Method used

By detecting the power supply status of bus devices, identifying faulty objects and fault types, and controlling the operation of bus device power supplies, including stopping or restarting the power supply to protect the devices and avoid damage caused by direct restarts.

Benefits of technology

It improves the operational safety of bus device power supplies, prevents equipment damage, and enhances fault management and maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025101725_02072026_PF_FP_ABST
    Figure CN2025101725_02072026_PF_FP_ABST
Patent Text Reader

Abstract

A control method for a bus device power source, a device, a storage medium and an electronic device. The method comprises: detecting a power supply state of a connected bus device power source, wherein the power supply state is used for indicating the relationship between a voltage outputted by the bus device power source and a target voltage threshold (S202); if the power supply state is used for indicating that the voltage outputted by the bus device power source is less than or equal to the target voltage threshold, detecting a target object where a target fault causing the power supply state is located and a target fault type of the target fault on the target object, wherein the target object is a bus device or the bus device power source (S204); and controlling the operation of the bus device power source on the basis of the target object and the target fault type (S206). The control method solves the problem of low safety of operation of a bus device power source, thereby improving the safety effect of the operation of the bus device power source.
Need to check novelty before this filing date? Find Prior Art

Description

Methods and devices for controlling the power supply of bus devices, storage media and electronic devices

[0001] Cross-reference to related applications

[0002] This application claims priority to Chinese Patent Application No. 202411929240.X, filed on December 25, 2024, entitled “Control Method and Apparatus for Power Supply of Bus Device, Storage Medium and Electronic Device”, the entire contents of which are incorporated herein by reference. Technical Field

[0003] This application relates to the field of servers, and in particular to a method and apparatus for controlling the power supply of a bus device, a storage medium, and an electronic device. Background Technology

[0004] In related technologies, the design of the power supply circuit for bus devices is particularly important to ensure the stable operation of bus devices on server bus ports. Taking bus devices, including USB (Universal Serial Bus) devices, as an example, the power supply circuit architecture of USB mainly relies on POL (Point Of Load) power modules and EFUSE (Electronic Fuse) modules. However, this architecture may have a lower safety issue when the USB port is short-circuited.

[0005] For example, taking a bus device power supply including a POL power module and an EFUSE module as an example, when P5V_USB is short-circuited (i.e., the USB port is short-circuited), the instantaneous current is very large. Before the EFUSE module's short-circuit protection can respond, the voltage of P5V_STBY (i.e., the board) drops instantly, causing the FB (Feedback) voltage fed back by the POL power module to fall below 80% of VUVP (VREF (internal reference voltage) voltage), triggering undervoltage protection. The POL power module will then stop outputting power and requires an AC (Alternating Current) power-off restart to restore normal operation. Simultaneously, when the POL power module experiences SCP (Short Circuit Protection) protection, it will restart, posing a risk of burning out the POL power module. Furthermore, when P5V_USB is short-circuited, the EFUSE module triggers SCP protection, and the CPLD (Complex Programmable Logic Controller)... The Device (Complex Programmable Logic Device) module will send the P5V_USB_EN (USB enable) command multiple times to restart the EFUSE module, which may burn out the EFUSE module. When P5V_USB or P5V_STBY is short-circuited, the system cannot directly detect and report the short-circuit fault. The customer cannot detect the short-circuit fault, which may pose a risk of board burnout and affect maintenance efficiency.

[0006] There is still no effective solution to the problem of low safety in the power supply operation of bus devices in related technologies. Summary of the Invention

[0007] This application provides a method and device for controlling the power supply of a bus device, a storage medium, and an electronic device, to at least solve the problem of low safety in the operation of bus device power supplies in related technologies.

[0008] According to one embodiment of this application, a method for controlling a bus device power supply is provided, applied to a startup control device. The data processing device includes a bus port and a bus device power supply. The bus device power supply is configured to supply power to the bus device connected to the bus port. The startup control device is configured to connect to the bus device power supply. The method includes: detecting the power supply status of the connected bus device power supply, wherein the power supply status is used to indicate the relationship between the voltage output by the bus device power supply and a target voltage threshold; when the power supply status indicates that the voltage output by the bus device power supply is less than or equal to the target voltage threshold, detecting the target object where the target fault causing the power supply status is located, and the target fault type to which the target fault belongs on the target object, wherein the target object includes a bus device or a bus device power supply; and controlling the operation of the bus device power supply according to the target object and the target fault type.

[0009] In one exemplary embodiment, the bus device power supply includes a first power supply and a second power supply. The first power supply is configured to power the second power supply, and the second power supply is configured to power the bus device. The first power supply includes a first detection pin, and the second power supply includes a second detection pin. A startup control device is connected to both the first and second detection pins and detects the power supply status of the connected bus device power supply. This includes: extracting a first status signal output from the first detection pin and extracting a second status signal output from the second detection pin, wherein the first status signal indicates the relationship between the voltage output by the first power supply and a first voltage threshold, and the second status signal indicates the relationship between the voltage output by the second power supply and a second voltage threshold. The target voltage threshold includes both the first and second voltage thresholds. When the first status signal indicates that the voltage output by the first power supply is less than or equal to the first voltage threshold, and / or when the second status signal indicates that the voltage output by the second power supply is less than or equal to the second voltage threshold, the power supply status is determined to indicate that the voltage output by the bus device power supply is less than or equal to the target voltage threshold.

[0010] In one exemplary embodiment, the bus device power supply includes a first power supply and a second power supply. The voltage output terminal of the first power supply is connected to the voltage input terminal of the second power supply. A startup control device is connected to a first connection segment. The voltage output terminal of the first power supply and the voltage input terminal of the second power supply are connected through the first connection segment. The startup control device is connected to a second connection segment. The voltage output terminal of the second power supply is connected to the bus port through the second connection segment. When the voltage output of the bus device power supply is less than or equal to a target voltage threshold, indicating a power supply state, the system detects the target object causing the target fault and the target fault type on the target object. This includes: detecting a first connection attribute of the first connection segment and detecting a second connection attribute of the second connection segment; and detecting the target object and the target fault type based on the first and second connection attributes.

[0011] In an exemplary embodiment, detecting a target object and a target fault type based on a first connection attribute and a second connection attribute includes: when the first connection attribute includes a first ground impedance of a first connection segment and the second connection attribute includes a second ground impedance of a second connection segment, detecting whether the first ground impedance falls within a first ground impedance range to obtain a first detection result, and detecting whether the second ground impedance falls within a second ground impedance range to obtain a second detection result, wherein the first ground impedance range includes the ground impedance of the first connection segment when the target object causing the first fault in the power supply state is a first power supply, and the target fault includes the first fault; the second ground impedance range includes the ground impedance of the second connection segment when the target object causing the second fault in the power supply state is a connected bus device, and the target fault includes the second fault; and detecting the target object and the target fault type based on the first detection result and the second detection result.

[0012] In one exemplary embodiment, detecting a target object and a target fault type based on a first detection result and a second detection result includes: if the first detection result indicates that the first ground impedance falls within the first ground impedance range and the second ground impedance does not fall within the second ground impedance range, identifying the target object as a first power supply, and obtaining the first fault type corresponding to the first ground impedance from a first candidate ground impedance and a first candidate fault type with a corresponding relationship, wherein the target fault type includes the first fault type; if the first detection result indicates that the first ground impedance does not fall within the first ground impedance range and the second ground impedance falls within the second ground impedance range, identifying the target object as a bus device, and obtaining the second fault type corresponding to the second ground impedance from a second candidate ground impedance and a second candidate fault type with a corresponding relationship, wherein the target fault type includes the second fault type.

[0013] In one exemplary embodiment, detecting a target object and a target fault type based on a first detection result and a second detection result includes: determining the target object as empty if the first detection result indicates that the first impedance to ground does not fall within the first impedance to ground range and the second impedance to ground does not fall within the second impedance to ground range.

[0014] In one exemplary embodiment, the startup control device is further configured to connect to a management controller and control the operation of the bus device power supply according to the target object and the target fault type, including: when the target object includes a first power supply in the bus device power supply and the first power supply has experienced a first fault of a first short circuit type, controlling the first power supply to stop operating and sending first fault information to the connected management controller, wherein the first fault information is used to indicate that the first power supply has experienced a first fault of a first short circuit type, the target fault type includes the first fault type, the first fault type includes the first short circuit type, and the target fault includes the first fault; when the target object includes the connected bus device and the bus device has experienced a second fault of a second short circuit type, continuously detecting whether the second fault of the bus device has been recovered within a target duration; when it is detected that the second fault of the bus device has been recovered, controlling the second power supply in the bus device power supply to operate; when it is detected that the second fault of the bus device has not been recovered within the target duration, controlling the second power supply to stop operating and sending second fault information to the management controller, wherein the second fault information is used to indicate that the bus device has experienced a second fault of a second short circuit type, the target fault type includes the second fault type, the second fault type includes the second short circuit type, and the target fault includes the second fault.

[0015] In one exemplary embodiment, after sending a first fault information to the connected management controller, the method further includes sending a repair instruction to a first power supply, wherein the repair instruction is used to repair the first fault that occurred in the first power supply.

[0016] In one exemplary embodiment, after sending the first fault information to the connected management controller, the method further includes: extracting the first identification information of the faulty power supply from the first fault information, and replacing the first power supply corresponding to the first identification information, wherein the first fault information carries the first identification information.

[0017] In one exemplary embodiment, after sending the second fault information to the management controller, the method further includes: extracting the second identification information of the faulty bus device from the second fault information, and replacing the bus device corresponding to the second identification information, wherein the second fault information carries the second identification information.

[0018] In one exemplary embodiment, the startup control device is further configured as a connection management controller to control the operation of the bus device power supply according to the target object and the target fault type, including: controlling the first power supply to stop operating and controlling the second power supply to stop operating when the target object is empty; and controlling the first power supply to start operating and controlling the second power supply to start operating after an interval of reference time.

[0019] According to another embodiment of this application, a startup control device is provided, including a controller and a detector, the controller being connected to the detector, and both the detector and the controller being configured to connect to a bus device power supply; wherein, the controller is configured to detect the power supply status of the connected bus device power supply, wherein the power supply status is used to indicate the relationship between the voltage output by the bus device power supply and a target voltage threshold; and to control the operation of the bus device power supply according to a target object and a target fault type; the detector is configured to detect the target object where the target fault causing the power supply status occurs, and the target fault type to which the target fault belongs on the target object, when the power supply status indicates that the voltage output by the bus device power supply is less than or equal to the target voltage threshold, wherein the target object includes a bus device or a bus device power supply, the data processing device includes a bus port and a bus device power supply, and the bus device power supply is configured to supply power to the bus device connected to the bus port.

[0020] In one exemplary embodiment, the bus device power supply includes a first power supply and a second power supply. The voltage output terminal of the first power supply and the voltage input terminal of the second power supply are connected through a first connection segment. The voltage output terminal of the second power supply is connected to the bus port through a second connection segment. The detector includes a first output pin, a second output pin, a first input pin, and a second input pin. The first input pin is connected to the first connection segment, the second input pin is connected to the second connection segment, the first output pin is connected to the controller, and the second output pin is connected to the controller. The detector is configured to generate a high-level first detection signal and transmit it to the controller via the first output pin when it detects that the target object causing the power supply failure is the first power supply and that the first power supply has a first short-circuit type failure. Conversely, it generates a high-level second detection signal and transmits it to the controller via the second output pin when it detects that the target object causing the power supply failure is the bus device power supply and that the bus device power supply has a second short-circuit type failure. The target failure includes both a first and a second failure, and the target failure type includes both a first and a second short-circuit type failure.

[0021] In one exemplary embodiment, the detector is configured to generate a low-level first detection signal and transmit the low-level first detection signal to the controller via a first output pin when a fault of a first reference type other than a first short-circuit type is detected in the first power supply, wherein the first reference type includes all types of faults that are allowed to occur in the first power supply. Similarly, when a fault of a second reference type other than a second short-circuit type is detected in the second power supply, the detector generates a low-level second detection signal and transmits the low-level second detection signal to the controller via a second output pin, wherein the second reference type includes all types of faults that are allowed to occur in the second power supply.

[0022] In one exemplary embodiment, the bus device power supply includes a first power supply and a second power supply. The first power supply includes a first enable pin, and the second power supply includes a second enable pin. The startup control device further includes a switching device, and a controller is connected to the switching device. The switching device is configured to connect to the first enable pin, and the controller is configured to connect to the second enable pin. The controller is also configured to connect to a management controller. The controller is configured to generate a high-level first control signal and send the high-level first control signal to the switching device when the first detection signal output from the extracted first output pin is high, and to send first fault information to the connected management controller. The first fault information is used to indicate that a first fault of the first short circuit type has occurred in the first power supply. The controller is configured to generate a high-level first control signal when the first detection signal output from the extracted first output pin is low, and when the extracted first detection signal is low, the controller is configured to generate a high-level first control signal and send the high-level first control signal to the switching device. The controller is also configured to send a first fault information to the connected management controller when the first detection signal output from the extracted first output pin is low. When the second detection signal output from the second output pin is high, the system continuously detects whether the second fault of the bus device has been recovered within the target duration. If the second fault of the bus device has been recovered, a high-level second enable signal is sent to the second enable pin. If the second fault of the bus device has not been recovered within the target duration, a low-level second enable signal is sent to the second enable pin, and second fault information is sent to the management controller. The second fault information indicates that the bus device has experienced a second fault of the second short-circuit type. The low-level first control signal is used to control the first power supply to operate, the high-level first control signal is used to control the first power supply to stop operating, the high-level second enable signal is used to control the second power supply to operate, and the low-level second enable signal is used to control the second power supply to stop operating.

[0023] In one exemplary embodiment, when the switching device receives a high-level first control signal, the switching device is turned on, and when the switching device is turned on, the first enable signal of the first power supply is low, wherein the low-level first enable signal is used to control the first power supply to stop operating; when the switching device receives a low-level first control signal, the switching device is turned off, and when the switching device is turned off, the first enable signal of the first power supply is high, wherein the high-level first enable signal is used to control the first power supply to operate.

[0024] According to another embodiment of this application, a control device for a bus device power supply is provided, applied to a startup control device. The data processing device includes a bus port and a bus device power supply. The bus device power supply is configured to supply power to the bus device connected to the bus port. The startup control device is configured to connect to the bus device power supply. The device includes: a first detection module configured to detect the power supply status of the connected bus device power supply, wherein the power supply status is used to indicate the relationship between the voltage output by the bus device power supply and a target voltage threshold; a second detection module configured to detect, when the power supply status indicates that the voltage output by the bus device power supply is less than or equal to the target voltage threshold, the target object causing the target fault in the power supply status, and the target fault type on the target object, wherein the target object includes a bus device or a bus device power supply; and a control module configured to control the operation of the bus device power supply according to the target object and the target fault type.

[0025] According to yet another embodiment of this application, a computer non-volatile readable storage medium is also provided, wherein a computer program is stored in the computer non-volatile readable storage medium, and the computer program is configured to execute the steps in any of the above method embodiments when running.

[0026] According to yet another embodiment of this application, an electronic device is also provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0027] According to yet another embodiment of this application, a computer program product is also provided, including a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.

[0028] This application enables the startup control device to further identify the object causing the abnormal power supply status (e.g., the bus device or its power supply) and determine the fault type of the object when the detected voltage output of the bus device power supply is less than or equal to a voltage threshold. Based on the faulty object and fault type, the startup control device can take corresponding measures to control the operation of the bus device power supply (e.g., stop operation or restart). This avoids damage to the bus device power supply caused by directly restarting it in the event of different fault types. By controlling the restart or shutdown of the bus device power supply according to different fault types, the application protects the bus device power supply and thus solves the problem of low operational safety of the bus device power supply, achieving an improved operational safety. Attached Figure Description

[0029] Figure 1 is a hardware structure block diagram of a server device according to an embodiment of the present application of a method for controlling the power supply of a bus device;

[0030] Figure 2 is a flowchart of a bus device power supply control method according to an embodiment of this application;

[0031] Figure 3 is a schematic diagram of the structure of an optional ground bus device power supply according to an embodiment of this application;

[0032] Figure 4 is a circuit diagram of an optional server bus device powered according to an embodiment of this application;

[0033] Figure 5 is a schematic diagram of the working process of an optional ground bus device power supply control method according to an embodiment of this application;

[0034] Figure 6 is a structural block diagram of a bus device power supply device according to an embodiment of this application. Detailed Implementation

[0035] The embodiments of this application will be described in detail below with reference to the accompanying drawings and examples.

[0036] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0037] First, the terms used in the embodiments of this application are explained as follows:

[0038] POL: Point Of Load;

[0039] EFUSE: Electronic Fuse;

[0040] BMC: Baseboard Management Controller.

[0041] The method embodiments provided in this application can be executed in a server device or similar computing device. Taking a server device as an example, FIG1 is a hardware structure block diagram of a server device according to an embodiment of this application for controlling the power supply of a bus device. As shown in FIG1, the server device may include one or more (only one is shown in FIG1) processors 102 (processor 102 may include, but is not limited to, processing devices such as microprocessors MCUs or programmable logic devices FPGAs) and a memory 104 configured to store data. The server device may also include a transmission device 106 configured to implement communication functions and an input / output device 108. It will be understood by those skilled in the art that the structure shown in FIG1 is only illustrative and does not limit the structure of the server device. For example, the server device may also include more or fewer components than shown in FIG1, or have a different configuration than shown in FIG1.

[0042] The memory 104 may be configured to store computer programs, such as application software programs and modules, like the computer program corresponding to the bus device power control method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the aforementioned method. The memory 104 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to server devices via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0043] The transmission device 106 is configured to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider for the server device. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module configured to communicate wirelessly with the Internet.

[0044] This embodiment provides a method for controlling the power supply of a bus device, applied to a startup control device. The data processing device includes a bus port and a bus device power supply. The bus device power supply is configured to supply power to the bus device connected to the bus port. The startup control device is configured to connect to the bus device power supply. Figure 2 is a flowchart of the method for controlling the power supply of a bus device according to an embodiment of this application. As shown in Figure 2, the process includes the following steps:

[0045] Step S202: Detect the power supply status of the connected bus device power supply, wherein the power supply status is used to indicate the relationship between the voltage output by the bus device power supply and the target voltage threshold.

[0046] Step S204: When the voltage of the power supply state used to indicate that the power supply output voltage of the bus device is less than or equal to the target voltage threshold, detect the target object that caused the target fault in the power supply state, and the target fault type that the target fault belongs to on the target object, wherein the target object includes the bus device or the bus device power supply.

[0047] Step S206: Control the operation of the bus device power supply according to the target object and the target fault type.

[0048] Through the above steps, when the voltage output of the bus device power supply is detected to be less than or equal to a voltage threshold, the start-up control device further identifies the object causing the abnormal power supply status (e.g., the bus device or its power supply) and identifies the fault type of that object. Based on the faulty object and fault type, the start-up control device can take corresponding measures to control the operation of the bus device power supply (e.g., stop operation or restart). This avoids damage to the bus device power supply caused by directly restarting it in the event of different fault types. By controlling the restart or shutdown of the bus device power supply according to different fault types, it protects the bus device power supply and thus solves the problem of low operational safety of the bus device power supply, achieving the effect of improving the operational safety of the bus device power supply.

[0049] In the technical solution provided in step S202 above, the data processing device may include, but is not limited to, data transmission devices and data computing devices. For example, the data transmission device may include, but is not limited to, a switch, and the data computing device may include, but is not limited to, a server, etc.

[0050] Optionally, in this embodiment, the bus port may include, but is not limited to, ports on the data processing device that meet the bus protocol, such as USB (Universal Serial Bus) ports or PCIE (Peripheral Component Interconnect Express) ports, etc.

[0051] Optionally, in this embodiment, the bus device power supply may include, but is not limited to, an independent power supply in the data processing device configured to power the connected bus device. Alternatively, the bus device power supply may also include, but is not limited to, a power supply in the total power supply of the data processing device configured to power the connected bus device. For example, the bus device power supply is a power supply in the server power supply that powers the connected bus device.

[0052] Optionally, in this embodiment, the relationship between the voltage output by the bus device power supply and the target voltage threshold may include, but is not limited to, the following: the voltage output by the bus device power supply is less than, greater than or equal to the voltage threshold, and the voltage threshold is equal to the value obtained by multiplying the target ratio by the internal reference voltage VREF. For example, taking the target ratio as an example of 80%, the voltage threshold may be equal to 80% of the internal reference voltage VREF.

[0053] In one exemplary embodiment, the bus device power supply includes a first power supply and a second power supply. The first power supply is configured to power the second power supply, and the second power supply is configured to power the bus device. The first power supply includes a first detection pin, and the second power supply includes a second detection pin. A startup control device is connected to both the first and second detection pins and can detect the power supply status of the connected bus device power supply in, but is not limited to, the following manner: extracting a first status signal output from the first detection pin and extracting a second status signal output from the second detection pin, wherein the first status signal is used to indicate the relationship between the voltage output by the first power supply and a first voltage threshold, and the second status signal is used to indicate the relationship between the voltage output by the second power supply and a second voltage threshold, and the target voltage threshold includes the first voltage threshold and the second voltage threshold; when the first status signal indicates that the voltage output by the first power supply is less than or equal to the first voltage threshold, and / or when the second status signal indicates that the voltage output by the second power supply is less than or equal to the second voltage threshold, the power supply status is determined to indicate that the voltage output by the bus device power supply is less than or equal to the target voltage threshold.

[0054] Optionally, in this embodiment, the first power supply may, but is not limited to, be configured to power the second power supply. For example, the first power supply may, but is not limited to, include a POL power supply. The second power supply may, but is not limited to, be configured to power bus devices. For example, the second power supply may, but is not limited to, include an EFUSE module.

[0055] Figure 3 is a schematic diagram of an optional bus device power supply according to an embodiment of this application. As shown in Figure 3, the explanation can be made by taking, but is not limited to, a bus device including a USB device, a first power supply including a POL power supply, a second power supply including an EFUSE module, a first detection pin including the PG (Power Good) pin in the POL power supply, a second detection pin including the FAULT pin in the EFUSE module, a first status signal including the P5V_STBY_PG signal, and a second status signal including the P5V_USB_FAULT signal.

[0056] The PG pin in the POL power supply can be used, but is not limited to, to output the P5V_STBY_PG signal. The FAULT pin in the EFUSE module can be used, but is not limited to, to output the P5V_USB_FAULT signal. The P5V_STBY_PG signal can be used, but is not limited to, to indicate the relationship between the voltage output by the POL power supply and a first voltage threshold. The P5V_USB_FAULT signal can be used, but is not limited to, to indicate the relationship between the voltage output by the EFUSE module and a second voltage threshold.

[0057] P12V_STBY can be used, but is not limited to, to power the POL power supply. P12V_STBY is converted to P5V_STBY by the POL power module. P5V_STBY can, but is not limited to, power the EFUSE module. P5V_STBY is also converted to P5V_USB by the EFUSE module. P5V_USB can, but is not limited to, power the bus devices connected to the USB port. P12V_STBY is divided by resistors R11 and R12 to obtain the P5V_STBY_EN signal. The P5V_STBY_EN signal is used to indicate whether the POL power module is running or stopped, and provides an enable signal (EN) to the POL power module. The P5V_USB_EN signal is used to indicate whether the EFUSE module is running or stopped.

[0058] Optionally, in this embodiment, it is possible, but not limited to, determining that the voltage output by the first power supply is greater than the first voltage threshold when the first state signal includes a high-level signal, and determining that the voltage output by the first power supply is less than or equal to the first voltage threshold when the first state signal includes a low-level signal; it is possible, but not limited to, determining that the voltage output by the second power supply is greater than the second voltage threshold when the second state signal includes a high-level signal, and determining that the voltage output by the second power supply is less than or equal to the second voltage threshold when the second state signal includes a low-level signal.

[0059] Optionally, in this embodiment, when the first status signal is used to indicate that the voltage of the first power supply output is greater than the first voltage threshold, and the second status signal is used to indicate that the voltage of the second power supply output is greater than the second voltage threshold, the target power supply state can be determined as indicating that the voltage of the bus device power supply output is greater than the target voltage threshold.

[0060] Through the embodiments of this application, the power supply status of the bus device power supply can be monitored in real time to ensure that the power supply output voltage is within the safe threshold range. When the voltage is lower than the voltage threshold, the start control device can respond quickly, thereby improving the stability and safety of the power supply circuit of the bus device power supply.

[0061] In the technical solution provided in step S204 above, when the voltage output of the bus device power supply, used to indicate the power supply status, is less than or equal to the target voltage threshold, the bus device power supply may, but is not limited to, exhibit undervoltage protection. Undervoltage protection may, but is not limited to, stopping the output of the POL power module when the output voltage of the bus device power supply is less than or equal to the target voltage threshold, preventing damage to the circuit, bus device power supply, or connected bus devices caused by a sudden current surge due to low voltage. For example, this can be illustrated with reference to Figure 3, including bus devices such as USB devices. When P5V_USB is short-circuited, the instantaneous current is very large, and the P5V_STBY voltage drops instantaneously, causing the feedback FB voltage of the POL power module (equivalent to the first power supply) to fall below VUVP (Under Voltage Protection, 80% of VREF voltage), triggering undervoltage protection. The POL power module will no longer output and requires AC (Alternating Current) power-off restart. Since the POL power supply powers the EFUSE module, when the POL power module exhibits undervoltage protection, the EFUSE module also has no output and requires AC power-off restart.

[0062] Optionally, in this embodiment, when the bus device power supply experiences undervoltage protection, the bus device power supply may, but is not limited to, be powered off. It can be restarted by sending a high-level enable signal (e.g., powering on again). The application scenarios of this application may include, but are not limited to, detecting the target object where the target fault causing the abnormal voltage output of the bus device power supply is located, and the type of target fault on the target object, determining whether to send a high-level enable signal to control the operation of the bus device power supply, or to send a low-level enable signal to completely power off the bus device power supply, thus avoiding damage to the bus device power supply caused by directly restarting it.

[0063] In one exemplary embodiment, the bus device power supply includes a first power supply and a second power supply. The voltage output terminal of the first power supply is connected to the voltage input terminal of the second power supply. A startup control device is connected to a first connection segment. The voltage output terminal of the first power supply and the voltage input terminal of the second power supply are connected through the first connection segment. The startup control device is connected to a second connection segment. The voltage output terminal of the second power supply is connected to the bus port through the second connection segment. The voltage output terminal of the second power supply is connected to the bus port. When the power supply state indicates that the voltage output by the bus device power supply is less than or equal to a target voltage threshold, the target object causing the power supply state fault and the target fault type on the target object can be detected, but is not limited to, by the following methods: detecting a first connection attribute of the first connection segment and detecting a second connection attribute of the second connection segment; detecting the target object and the target fault type based on the first connection attribute and the second connection attribute.

[0064] Optionally, in this embodiment, the first connection segment may include, but is not limited to, a wire between the first power supply and the second power supply, and the second connection segment may include, but is not limited to, a wire between the second power supply and the bus port.

[0065] Optionally, in this embodiment, when the connection segment includes a conductor, the connection properties of the connection segment may include, but are not limited to, the conductor's impedance to ground, or the conductor's voltage to ground, etc.

[0066] In an exemplary embodiment, based on a first connection attribute and a second connection attribute, the target object and the target fault type can be detected, but are not limited to, in the following manner: when the first connection attribute includes a first ground impedance of a first connection segment and the second connection attribute includes a second ground impedance of a second connection segment, the system detects whether the first ground impedance falls within a first ground impedance range to obtain a first detection result, and detects whether the second ground impedance falls within a second ground impedance range to obtain a second detection result. The first ground impedance range includes the ground impedance of the first connection segment when the target object causing the first fault in the power supply state is a first power supply, and the target fault includes the first fault. The second ground impedance range includes the ground impedance of the second connection segment when the target object causing the second fault in the power supply state is a connected bus device, and the target fault includes the second fault. Based on the first and second detection results, the target object and the target fault type are detected.

[0067] Optionally, in this embodiment, the first pair of ground impedance falling into the first pair of ground impedance range may include, but is not limited to, the first pair of ground impedance being less than or equal to a first upper limit value of the first pair of ground impedance range and greater than or equal to a first lower limit value of the first pair of ground impedance range, wherein the first upper limit value is greater than the first lower limit value; the second pair of ground impedance falling into the second pair of ground impedance range may include, but is not limited to, the second pair of ground impedance being less than or equal to the upper limit value of the second pair of ground impedance range and greater than or equal to the lower limit value of the second pair of ground impedance range, wherein the second upper limit value is greater than the second lower limit value.

[0068] In an exemplary embodiment, based on the first detection result and the second detection result, the target object and the target fault type can be detected in the following ways, but not limited to: when the first detection result indicates that the first ground impedance falls within the first ground impedance range and the second ground impedance does not fall within the second ground impedance range, the target object is identified as a first power supply, and the first fault type corresponding to the first ground impedance is obtained from the first candidate ground impedance and the first candidate fault type that have a corresponding relationship, wherein the target fault type includes the first fault type; when the first detection result indicates that the first ground impedance does not fall within the first ground impedance range and the second ground impedance falls within the second ground impedance range, the target object is identified as a bus device, and the second fault type corresponding to the second ground impedance is obtained from the second candidate ground impedance and the second candidate fault type that have a corresponding relationship, wherein the target fault type includes the second fault type.

[0069] Optionally, in this embodiment, when the first detection result indicates that the first impedance to ground does not fall within the first impedance to ground range and the second impedance to ground does not fall within the second impedance to ground range, it may indicate, but is not limited to, that the first power supply, the second power supply, and the connected bus device have not experienced a short circuit fault. In such a case, it may only be a temporary fluctuation that has caused the abnormal power supply state, or the first power supply, the second power supply, and the connected bus device may have a fault that can be directly restarted. In such a case, the first power supply and the second power supply may be turned off first, and after an interval of a reference time (e.g., 500ms or 1 minute, etc., this application does not limit this), the first power supply and the second power supply may be restarted.

[0070] Optionally, in this embodiment, when the first ground impedance of the first connection segment and the second ground impedance of the second connection segment are the same, the fault type corresponding to the first ground impedance may be different from, but not limited to, the fault type corresponding to the second ground impedance, or they may be the same.

[0071] By detecting the ground impedance of the first and second connection sections and comparing it with a preset impedance range, different types of faults can be distinguished. This fault classification helps the start-up control equipment implement more reasonable power management and fault recovery strategies, avoiding power supply damage caused by directly restarting the power supply and improving the efficiency of system maintenance.

[0072] In the technical solution provided in step S206 above, controlling the operation of the bus device power supply may include, but is not limited to, restarting the bus device power supply or stopping the bus device power supply.

[0073] In one exemplary embodiment, the startup control device is further configured to connect to a management controller, and, based on the target object and the target fault type, may, but is not limited to, control the operation of the bus device power supply in the following ways: If the target object includes a first power supply in the bus device power supply, and the first power supply experiences a first fault of a first short circuit type, control the first power supply to stop operating and send first fault information to the connected management controller, wherein the first fault information indicates that the first power supply has experienced a first fault of a first short circuit type, the target fault type includes the first fault type, the first fault type includes the first short circuit type, and the target fault includes the first fault; if the target object includes a connected bus device, and the bus device experiences a second fault of a second short circuit type, continuously detect whether the second fault of the bus device has been recovered within a target duration; if the second fault of the bus device is detected to have been recovered, control the second power supply in the bus device power supply to operate; if the second fault of the bus device is detected to have not been recovered within the target duration, control the second power supply to stop operating and send second fault information to the management controller, wherein the second fault information indicates that the bus device has experienced a second fault of a second short circuit type, the target fault type includes the second fault type, the second fault type includes the second short circuit type, and the target fault includes the second fault.

[0074] Optionally, in this embodiment, after sending the first fault information to the management controller, a repair command may be sent to the first power supply, but is not limited to, to repair the first fault that occurred in the first power supply. Alternatively, the first identification information of the faulty power supply may be extracted from the first fault information, and the first power supply corresponding to the first identification information may be replaced. The first fault information carries the first identification information. After sending the second fault information to the management controller, the second identification information of the faulty bus device may be extracted from the second fault information, but is not limited to, and the bus device corresponding to the second identification information may be replaced. The second fault information carries the second identification information.

[0075] Through the embodiments of this application, after sending fault information to the management controller, targeted repair or replacement measures are taken based on this fault information, realizing efficient fault management and rapid response of bus device power supply and connected bus devices, significantly improving the proactive fault management capability and maintenance efficiency.

[0076] Optionally, in this embodiment, the management controller may be, but is not limited to, configured to receive fault information sent by the startup control device, such as a BMC (Baseboard Management Controller) controller.

[0077] Optionally, in this embodiment, the first fault type may include, but is not limited to, a first short circuit type, and the second fault type may include, but is not limited to, a second short circuit type.

[0078] Optionally, in this embodiment, if the voltage output by the first power supply and the second power supply is abnormal, but neither the first power supply nor the connected bus device is short-circuited, it indicates that the abnormal power supply state may only be a temporary fluctuation in the circuit, or it may be another fault that can be directly restarted. In such cases, the first power supply and the second power supply may be turned off first, and then restarted after a reference interval (e.g., 500ms (millisecond) or 1 minute, etc., which is not limited in this application); or the first power supply may be restarted directly, and then the second power supply may be restarted.

[0079] Figure 4 is a circuit diagram of an optional server bus device power supply according to an embodiment of this application. As shown in Figure 4, taking a bus device including a USB device as an example, a single-chip microcomputer control system (equivalent to a controller) and a new enable signal P5V_STBY_EN_MOS (equivalent to a first control signal) can be used to manage the POL power module (equivalent to a first power supply). This solves the problem that when P5V_USB is short-circuited, the instantaneous current is very large, the P5V_STBY voltage drops instantaneously, causing the POL power module feedback FB voltage to be lower than VUVP (80% of VREF voltage), resulting in undervoltage protection. In this case, the POL power module will no longer output and needs to be restarted by AC power disconnection.

[0080] When a short circuit is detected in P5V_USB, causing a drop in P5V_STBY voltage, the microcontroller control system can respond immediately by outputting the P5V_STBY_EN_MOS signal to the POL power module. This controls the enable state of the POL power module, thereby suppressing the P5V_STBY output for a short period and preventing the POL power module from entering protection mode due to undervoltage. Once the system returns to normal, the microcontroller control system will re-enable the POL power module, allowing it to resume operation and output P5V_STBY, thus enhancing the stability and reliability of the USB power supply circuit.

[0081] Meanwhile, when P5V_USB is short-circuited, the EFUSE module (equivalent to a second power supply) activates SCP protection. The microcontroller control system continuously monitors the short-circuit status of P5V_USB. When the short-circuit status of P5V_USB is eliminated, the EFUSE module will restart and output P5V_USB. This solves the problem in related technologies where, when P5V_USB is short-circuited, the CPLD module sends P5V_USB_EN (equivalent to a second enable signal) commands multiple times to restart the EFUSE module, which risks burning out the EFUSE module. This improves the safety of the power supply circuit of the bus device.

[0082] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the related technology, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.

[0083] An embodiment of this application also provides a startup control device, which includes a controller and a detector. The controller is connected to the detector, and both the detector and the controller are configured to connect to a bus device power supply. The controller is configured to detect the power supply status of the connected bus device power supply, wherein the power supply status is used to indicate the relationship between the voltage output by the bus device power supply and a target voltage threshold. The controller controls the operation of the bus device power supply according to the target object and the target fault type. The detector is configured to detect the target object that caused the target fault in the power supply status when the power supply status indicates that the voltage output by the bus device power supply is less than or equal to the target voltage threshold, and the target fault type that the target fault belongs to on the target object. The target object includes a bus device or a bus device power supply. The data processing device includes a bus port and a bus device power supply, and the bus device power supply is configured to supply power to the bus device connected to the bus port.

[0084] Optionally, in this embodiment, the controller may be configured, but is not limited to, to detect the power supply status of the connected bus device. For example, the controller may include, but is not limited to, a microcontroller, an FPGA (Field-Programmable Gate Array), or a CPU (Central Processing Unit), etc.

[0085] Optionally, in this embodiment, the controller is connected to the first detection pin and the second detection pin. The controller may also be configured, but is not limited to, to: extract a first state signal output from the first detection pin and extract a second state signal output from the second detection pin, wherein the first state signal is used to indicate the relationship between the voltage output by the first power supply and a first voltage threshold, and the second state signal is used to indicate the relationship between the voltage output by the second power supply and a second voltage threshold, and the target voltage threshold includes the first voltage threshold and the second voltage threshold; when the first state signal indicates that the voltage output by the first power supply is less than or equal to the first voltage threshold, and / or when the second state signal indicates that the voltage output by the second power supply is less than or equal to the second voltage threshold, the power supply state is determined to indicate that the voltage output by the bus device power supply is less than or equal to the target voltage threshold.

[0086] Optionally, in this embodiment, the controller may also be configured, but not limited to, to: control the first power supply to stop operating and send first fault information to the connected management controller when the target object includes a first power supply in the bus device power supply and the first power supply has experienced a first fault of a first short circuit type; wherein the first fault information is used to indicate that the first power supply has experienced a first fault of a first short circuit type, the target fault type includes the first fault type, the first fault type includes the first short circuit type, and the target fault includes the first fault; when the target object includes the connected bus device and the bus device has experienced a second fault of a second short circuit type, continuously detect whether the second fault of the bus device has been recovered within a target duration; when the second fault of the bus device is detected to have been recovered, control the second power supply in the bus device power supply to operate; when the second fault of the bus device is detected to have not been recovered within the target duration, control the second power supply to stop operating and send second fault information to the management controller; wherein the second fault information is used to indicate that the bus device has experienced a second fault of a second short circuit type, the target fault type includes the second fault type, the second fault type includes the second short circuit type, and the target fault includes the second fault.

[0087] In one exemplary embodiment, the bus device power supply includes a first power supply and a second power supply. The voltage output terminal of the first power supply and the voltage input terminal of the second power supply are connected through a first connection segment. The voltage output terminal of the second power supply is connected to the bus port through a second connection segment. The detector includes a first output pin, a second output pin, a first input pin, and a second input pin. The first input pin is connected to the first connection segment, the second input pin is connected to the second connection segment, the first output pin is connected to the controller, and the second output pin is connected to the controller. The detector is configured to generate a high-level first detection signal and transmit it to the controller via the first output pin when it detects that the target object causing the power supply failure is the first power supply and that the first power supply has a first short-circuit type failure. Conversely, it generates a high-level second detection signal and transmits it to the controller via the second output pin when it detects that the target object causing the power supply failure is the bus device power supply and that the bus device power supply has a second short-circuit type failure. The target failure includes both a first and a second failure, and the target failure type includes both a first and a second short-circuit type failure.

[0088] Optionally, in this embodiment, the bus device power supply includes a first power supply and a second power supply. The voltage output terminal of the first power supply is connected to the voltage input terminal of the second power supply. The start-up control device is connected to a first connection segment. The voltage output terminal of the first power supply and the voltage input terminal of the second power supply are connected through the first connection segment. The start-up control device is connected to a second connection segment. The voltage output terminal of the second power supply is connected to the bus port through the second connection segment. The voltage output terminal of the second power supply is connected to the bus port. When the power supply state is used to indicate that the voltage output by the bus device power supply is less than or equal to a target voltage threshold, the detector may also be configured, but is not limited to: detecting a first connection attribute of the first connection segment and detecting a second connection attribute of the second connection segment; and detecting a target object and a target fault type based on the first connection attribute and the second connection attribute.

[0089] Optionally, in this embodiment, the detector may also be configured, but not limited to, to: detect whether the first ground impedance falls within the first ground impedance range when the first connection attribute includes the first ground impedance of the first connection segment and the second connection attribute includes the second ground impedance of the second connection segment, to obtain a first detection result, and detect whether the second ground impedance falls within the second ground impedance range, to obtain a second detection result, wherein the first ground impedance range includes the ground impedance of the first connection segment when the target object causing the first fault in the power supply state is the first power supply, and the target fault includes the first fault; the second ground impedance range includes the ground impedance of the second connection segment when the target object causing the second fault in the power supply state is the connected bus device, and the target fault includes the second fault; and detect the target object and the target fault type based on the first detection result and the second detection result.

[0090] Optionally, in this embodiment, the detector may also be configured, but not limited to, to: determine the target object as a first power supply when the first detection result indicates that the first ground impedance falls within the first ground impedance range and the second ground impedance does not fall within the second ground impedance range, and obtain the first fault type corresponding to the first ground impedance from the first candidate ground impedance and the first candidate fault type that have a corresponding relationship, wherein the target fault type includes the first fault type; and determine the target object as a bus device when the first detection result indicates that the first ground impedance does not fall within the first ground impedance range and the second ground impedance falls within the second ground impedance range, and obtain the second fault type corresponding to the second ground impedance from the second candidate ground impedance and the second candidate fault type that have a corresponding relationship, wherein the target fault type includes the second fault type.

[0091] Optionally, in this embodiment, low level and high level may include, but are not limited to, logic levels. For example, low level may be used to indicate that the voltage is less than a specific voltage value, and high level may be used to indicate that the voltage is greater than or equal to a specific voltage value. As an optional example, high level may be identified by 1 and low level may be identified by 0.

[0092] This application's embodiments, using, but not limited to, bus devices including USB devices as an example, and in conjunction with Figure 4, provide an explanation. The microcontroller control system (equivalent to a controller) can sense the short-circuit state of P5V_STBY and P5V_USB in the circuit through a short-circuit detection circuit (equivalent to a detector), improving the system's immediate response capability to short circuits and helping to quickly take protective measures to reduce damage caused by short circuits. Simultaneously, through the short-circuit detection circuit, the system can more accurately determine whether the short circuit is in the P5V_STBY line or the P5V_USB line, thereby adopting more targeted protection strategies and improving the operational stability of the bus device's power supply.

[0093] In one exemplary embodiment, the detector is configured to generate a low-level first detection signal and transmit the low-level first detection signal to the controller via a first output pin when a fault of a first reference type other than a first short-circuit type is detected in the first power supply, wherein the first reference type includes all types of faults that are allowed to occur in the first power supply. Similarly, when a fault of a second reference type other than a second short-circuit type is detected in the second power supply, the detector generates a low-level second detection signal and transmits the low-level second detection signal to the controller via a second output pin, wherein the second reference type includes all types of faults that are allowed to occur in the second power supply.

[0094] Optionally, in this embodiment, if the first power supply experiences a fault of any type other than the first short circuit type in the first reference type, the first power supply may be restarted directly, or the first power supply may be restarted after a period of time; if the second power supply experiences a fault of any type other than the second short circuit type in the second reference type, the second power supply may be restarted directly, or the second power supply may be restarted after a period of time.

[0095] In one exemplary embodiment, the bus device power supply includes a first power supply and a second power supply. The first power supply includes a first enable pin, and the second power supply includes a second enable pin. The startup control device further includes a switching device, and a controller is connected to the switching device. The switching device is configured to connect to the first enable pin, and the controller is configured to connect to the second enable pin. The controller is also configured to connect to a management controller. The controller is configured to generate a high-level first control signal and send the high-level first control signal to the switching device when the first detection signal output from the extracted first output pin is high, and to send first fault information to the connected management controller. The first fault information is used to indicate that a first fault of the first short circuit type has occurred in the first power supply. The controller is configured to generate a high-level first control signal when the first detection signal output from the extracted first output pin is low, and when the extracted first detection signal is low, the controller is configured to generate a high-level first control signal and send the high-level first control signal to the switching device. The controller is also configured to send a first fault information to the connected management controller when the first detection signal output from the extracted first output pin is low. When the second detection signal output from the second output pin is high, the system continuously detects whether the second fault of the bus device has been recovered within the target duration. If the second fault of the bus device has been recovered, a high-level second enable signal is sent to the second enable pin. If the second fault of the bus device has not been recovered within the target duration, a low-level second enable signal is sent to the second enable pin, and second fault information is sent to the management controller. The second fault information indicates that the bus device has experienced a second fault of the second short-circuit type. The low-level first control signal is used to control the first power supply to operate, the high-level first control signal is used to control the first power supply to stop operating, the high-level second enable signal is used to control the second power supply to operate, and the low-level second enable signal is used to control the second power supply to stop operating.

[0096] Optionally, in this embodiment, the controller may also be configured, but not limited to, to generate a high-level first control signal and send a high-level first control signal to the switching device when the first detection signal output from the first output pin is low and the second detection signal output from the second output pin is low; to generate a low-level second enable signal and send a low-level second enable signal to the second enable pin; after an interval of reference time, to generate a low-level first control signal and send a low-level first control signal to the switching device; and when the first power supply is operating normally, to generate a high-level second enable signal and send a high-level second enable signal to the second enable pin.

[0097] Optionally, in this embodiment, the example may include a controller comprising a microcontroller, on which a control system (or microcontroller control system) is deployed, a management controller comprising a BMC controller, a detector comprising a short-circuit detection circuit, a bus device comprising a USB device, a first power supply comprising a POL power supply, and a second power supply comprising an EFUSE module, and the explanation is based on Figure 4.

[0098] This application provides a circuit for powering a server bus device, which may include, but is not limited to, a POL power module, an EFUSE module, a short-circuit detection circuit, a microcontroller control system, and a BMC controller. Each module is directly connected via electrical signals. The short-circuit detection circuit detects the short-circuit status of the P5V_STBY and P5V_USB circuits and transmits this information to the microcontroller control system. The microcontroller control system receives the P5V_STBY_PG signal (equivalent to a first status signal) from the POL power module, the P5V_USB_FAULT signal (equivalent to a second status signal) from the EFUSE module, and the P5V_STBY_SHORT signal (equivalent to a first detection signal) and P5V_USB_SHORT signal (equivalent to a second detection signal) from the short-circuit detection circuit. Based on the status of these signals, the microcontroller control system performs logical operations to obtain the calculation results, which are then transmitted to the corresponding modules. The microcontroller control system transmits the P5V_STBY_EN_MOS signal (equivalent to a first control signal) to the POL power module and the P5V_USB_EN signal (equivalent to a second enable signal) to the EFUSE module. The microcontroller control system can, but is not limited to, transmit USB short-circuit and board short-circuit signals to the BMC controller via I2C (Inter-Integrated Circuit) communication.

[0099] 1) POL power module:

[0100] The POL power module converts P12V_STBY to P5V_STBY to power the EFUSE module. The POL power module adjusts the P5V_STBY output by comparing the voltage at the feedback point FB (Feedback) with the internal reference voltage VREF (Reference Voltage). When the P5V_STBY output voltage is normal, P5V_STBY_PG is high, which is transmitted to the microcontroller control system.

[0101] The POL power module receives the P5V_STBY_EN_MOS signal from the microcontroller control system to turn Q21 on and off, and briefly pulls the P5V_STBY_EN signal low, thereby enabling the POL power module to restart under abnormal protection.

[0102] 2) EFUSE module:

[0103] The EFUSE module converts P5V_STBY to P5V_USB, powering the USB port and providing OCP (Over Current Protection) and SCP (Short Circuit Protection) functions. When the P5V_USB output voltage is normal, the P5V_USB_FAULT signal is high, transmitted to the microcontroller control system. The EFUSE module receives the P5V_USB_EN signal from the microcontroller control system to start and stop the module.

[0104] 3) Short-circuit detection circuit:

[0105] The short-circuit detection circuit monitors the status of the P5V_STBY output circuit of the POL power module and the P5V_USB output circuit of the EFUSE module. If P5V_STBY is short-circuited, the P5V_STBY_SHORT signal is set to 1; otherwise, it is set to 0. Similarly, if P5V_USB is short-circuited, the P5V_USB_SHORT signal is set to 1; otherwise, it is set to 0. The short-circuit detection circuit transmits the P5V_STBY_SHORT and P5V_USB_SHORT signals to the microcontroller control system.

[0106] 4) Microcontroller control system:

[0107] The microcontroller control system receives the P5V_STBY_PG signal from the POL power module, the P5V_USB_FAULT signal from the EFUSE module, and the P5V_STBY_SHORT and P5V_USB_SHORT signals from the short-circuit detection circuit. The microcontroller control system transmits the P5V_STBY_EN_MOS signal to the POL power module and the P5V_USB_EN signal to the EFUSE module. The microcontroller control system also transmits USB short-circuit and board short-circuit signals to the BMC controller via I2C communication.

[0108] The microcontroller control system determines the system fault type by detecting the status of the P5V_STBY_PG, P5V_USB_FAULT, P5V_STBY_SHORT, and P5V_USB_SHORT signals. This fault information is then transmitted to the BMC controller via the SDA (Serial Data Line) and SCL (Serial Clock Line) lines of the I2C bus. If the short-circuit fault is cleared after a period of time, the microcontroller control system transmits the corresponding status of the P5V_STBY_EN_MOS signal to the POL power module and the corresponding status of the P5V_USB_EN signal to the EFUSE module, allowing both modules to resume normal operation.

[0109] 5) BMC controller:

[0110] The BMC controller receives USB short-circuit and board short-circuit signals from the microcontroller control system via I2C communication and displays these signals via WEB (World Wide Web) to inform maintenance personnel of the corresponding fault information.

[0111] It should be noted that the technical solution of this application can be applied not only to the power control of bus devices in servers, but also to other devices that require high-reliability power management, such as power management and fault handling of network devices such as switches.

[0112] In one exemplary embodiment, when the switching device receives a high-level first control signal, the switching device is turned on, and when the switching device is turned on, the first enable signal of the first power supply is low, wherein the low-level first enable signal is used to control the first power supply to stop operating; when the switching device receives a low-level first control signal, the switching device is turned off, and when the switching device is turned off, the first enable signal of the first power supply is high, wherein the high-level first enable signal is used to control the first power supply to operate.

[0113] In some embodiments, the switching device may include, but is not limited to, electronic components that control the first enable signal, such as MOSFET (Metal-Oxide-Semiconductor Field-Effect Transistor), IGBT (Insulated Gate Bipolar Transistor), and so on.

[0114] To better understand the workflow of the bus device power supply control method in the embodiments of this application, the workflow of the bus device power supply control method in the embodiments of this application will be explained and described below in conjunction with optional embodiments, which may be applied to, but is not limited to, the embodiments of this application.

[0115] Figure 5 is a schematic diagram of the workflow of an optional bus device power supply control method according to an embodiment of this application. As shown in Figure 5, the implementation steps of the bus device power supply control method are as follows, but not limited to: the controller including a microcontroller control system, the management controller including a BMC controller, the detector including a short circuit detection circuit, the bus device including a USB device, the first power supply including a POL power module, the second power supply including an EFUSE module, and the switching device including a MOSFET.

[0116] Step 1: Configure the connection relationships of the POL power module, EFUSE module, short circuit detection circuit, microcontroller control system, and BMC controller on the system.

[0117] Step 2: When the system is running normally, the microcontroller control system outputs P5V_STBY_EN_MOS = 0, Q21 (equivalent to a switching device) is not turned on, and P5V_STBY_EN (equivalent to the first enable signal) = 1. Then the POL power module is working normally and outputs P5V_STBY. When the system is running normally, the microcontroller control system outputs P5V_USB_EN (equivalent to the second enable signal) = 1. Then the EFUSE module is working normally and outputs P5V_USB.

[0118] Step 3: If P5V_USB triggers OCP or SCP protection, the P5V_USB_FAULT signal (equivalent to the second state signal) changes from high to low. Due to the instantaneous large inrush current, P5V_STBY drops instantly, and the voltage at the FB feedback point of the POL power module drops instantly, which may cause the POL power module to trigger UVP (Under Voltage Protection) protection, causing the P5V_STBY_PG signal to change from high to low.

[0119] Step 4: If the POL power module experiences OCP, SCP, OVP (Over Voltage Protection), or UVP protection, the P5V_STBY_PG signal (equivalent to the first state signal) changes from high level to low level.

[0120] Step 5: The short-circuit detection circuit detects the status of the P5V_STBY output circuit of the POL power module and the P5V_USB output circuit of the EFUSE module. If P5V_STBY is short-circuited, the P5V_STBY_SHORT signal (equivalent to the first detection signal) is set to 1; otherwise, it is set to 0. If P5V_USB is short-circuited, the P5V_USB_SHORT signal (equivalent to the second detection signal) is set to 1; otherwise, it is set to 0.

[0121] Step 6: The short-circuit detection circuit transmits the P5V_STBY_SHORT and P5V_USB_SHORT signals to the microcontroller control system.

[0122] Step 7: The microcontroller control system detects the status of the P5V_STBY_SHORT, P5V_USB_SHORT, P5V_STBY_PG, and P5V_USB_FAULT signals.

[0123] Step 8: If only the falling edge of the P5V_USB_FAULT signal is detected and the EFUSE module is protected, then determine the status of the P5V_USB_SHORT signal.

[0124] 1) If P5V_USB_SHORT = 0, then there is no short circuit in P5V_USB, and the EFUSE module will restart. The P5V_USB_EN signal is first set to 0, and then set to 1 after 500ms (milliseconds), causing the EFUSE module to restart and output P5V_USB, and the system will resume normal operation.

[0125] 2) If P5V_USB_SHORT = 1, then P5V_USB is short-circuited, possibly due to a short circuit caused by an external USB device connected by the user. Wait 1 minute, increment counter N1 by 1, and then continuously check the status of the P5V_USB_SHORT signal until P5V_USB_SHORT = 0. Then, execute step 1) of step 8, and clear N1 to zero.

[0126] If N1 = 10, it indicates that 10 minutes have passed, but the USB port short circuit fault has not been resolved. In this case, the USB port short circuit information (equivalent to the second fault information) is transmitted to the BMC controller via I2C communication.

[0127] Step 9: If the falling edge of the P5V_USB_FAULT signal and the P5V_STBY_PG signal are detected simultaneously, the POL power module and the EFUSE module will be protected at the same time. Then, determine the status of the P5V_STBY_SHORT signal.

[0128] 1) If P5V_STBY_SHORT=1, then P5V_STBY is short-circuited (i.e. the board is short-circuited), and the short circuit of the board is transmitted to the BMC controller through I2C communication.

[0129] 2) If P5V_STBY_SHORT = 0, then P5V_STBY is not short-circuited, and the status of the P5V_USB_SHORT signal is determined.

[0130] a) If P5V_USB_SHORT = 0, then P5V_USB is not short-circuited, and the POL power module and EFUSE module will be restarted simultaneously.

[0131] The P5V_STBY_EN_MOS signal (equivalent to the first control signal) is first set to 1, and then set to 0 after 500ms, causing the POL power module to restart and output P5V_STBY. The P5V_USB_EN signal is first set to 0, and then set to 1 after 500ms, causing the EFUSE module to restart and output P5V_USB, and the system resumes normal operation.

[0132] b) If P5V_USB_SHORT = 1, then P5V_USB is short-circuited, possibly due to a short circuit caused by a user connecting an external USB device. Wait 1 minute, increment counter N2 by 1, and then continuously monitor the status of the P5V_USB_SHORT signal until P5V_USB_SHORT = 0. Then, execute the content of step 9.2)a), while resetting N2 to zero.

[0133] If N2 = 10, it indicates that 10 minutes have passed, but the USB port short circuit fault has not been resolved. In this case, the USB short circuit information (equivalent to the second fault information) is transmitted to the BMC controller via I2C (Inter-Integrated Circuit, two-wire serial bus) communication.

[0134] Through the embodiments of this application, taking bus devices including USB devices as an example, when a P5V_USB short circuit is detected and fails to recover within a set time, the microcontroller control system outputs P5V_USB_EN=0, shuts down the EFUSE module, and transmits the USB short circuit to the BMC controller via I2C communication. This solves the problem that when P5V_USB and P5V_STBY short circuits occur, the system cannot detect them, nor can it inform the customer through the BMC. This enables maintenance personnel to quickly locate the problem, take timely measures to restore the system to normal operation or replace the faulty equipment, and improve the server's operation and maintenance efficiency.

[0135] Meanwhile, when a short circuit in P5V_STBY is detected and fails to recover within a set time, the microcontroller control system outputs P5V_STBY_EN_MOS=1, shutting down the POL power module. The microcontroller control system also transmits the short circuit information to the BMC controller via I2C communication. This resolves the issue of the POL power module restarting during SCP protection, which could potentially burn out the module. It allows maintenance personnel to promptly understand the short circuit situation and take necessary measures, such as power-off inspection and replacement of faulty boards, to prevent further system damage. This improves the safety and ease of maintenance of the power supply circuit for bus devices.

[0136] This embodiment also provides a power supply control device for a bus device, which is configured to implement the above embodiments and optional implementations; details already described will not be repeated. As used below, the term "module" can refer to software and / or a combination of hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0137] Figure 6 is a structural block diagram of a bus device power supply device according to an embodiment of this application. As shown in Figure 6, the device is applied to a startup control device. The data processing device includes a bus port and a bus device power supply. The bus device power supply is configured to supply power to the bus device connected to the bus port. The startup control device is configured to connect to the bus device power supply. The device includes: a first detection module 602, configured to detect the power supply status of the connected bus device power supply, wherein the power supply status is used to indicate the relationship between the voltage output by the bus device power supply and a target voltage threshold; a second detection module 604, configured to detect the target object where the target fault causing the power supply status occurs, and the target fault type to which the target fault belongs on the target object, when the power supply status indicates that the voltage output by the bus device power supply is less than or equal to the target voltage threshold; wherein the target object includes a bus device or a bus device power supply; and a control module 606, configured to control the operation of the bus device power supply according to the target object and the target fault type.

[0138] With the aforementioned device, when the voltage output of the bus device power supply is detected to be less than or equal to a voltage threshold, the start-up control device further identifies the object causing the abnormal power supply status (e.g., the bus device or its power supply) and determines the fault type of that object. Based on the faulty object and fault type, the start-up control device can take corresponding measures to control the operation of the bus device power supply (e.g., stop operation or restart). This avoids damage to the bus device power supply caused by directly restarting it in cases of different fault types. By controlling the restart or shutdown of the bus device power supply according to different fault types, the device protects the power supply and thus addresses the issue of low operational safety of the bus device power supply, thereby improving its operational safety.

[0139] In one exemplary embodiment, the bus device power supply includes a first power supply and a second power supply. The first power supply is configured to power the second power supply, and the second power supply is configured to power the bus device. The first power supply includes a first detection pin, and the second power supply includes a second detection pin. A startup control device is connected to both the first and second detection pins. A first detection module includes: an extraction unit configured to extract a first status signal output from the first detection pin and extract a second status signal output from the second detection pin, wherein the first status signal is used to indicate the relationship between the voltage output by the first power supply and a first voltage threshold, and the second status signal is used to indicate the relationship between the voltage output by the second power supply and a second voltage threshold, and a target voltage threshold includes the first voltage threshold and the second voltage threshold; and a determination unit configured to determine the power supply state as indicating that the voltage output by the bus device power supply is less than or equal to the target voltage threshold when the first status signal indicates that the voltage output by the first power supply is less than or equal to the first voltage threshold, and / or when the second status signal indicates that the voltage output by the second power supply is less than or equal to the second voltage threshold.

[0140] In one exemplary embodiment, the bus device power supply includes a first power supply and a second power supply. The voltage output terminal of the first power supply is connected to the voltage input terminal of the second power supply. A startup control device is connected to a first connection segment. The voltage output terminal of the first power supply and the voltage input terminal of the second power supply are connected through the first connection segment. The startup control device is connected to a second connection segment. The voltage output terminal of the second power supply is connected to a bus port through the second connection segment. The voltage output terminal of the second power supply is connected to the bus port. When the power supply state indicates that the voltage output by the bus device power supply is less than or equal to a target voltage threshold, a second detection module includes: a first detection unit configured to detect a first connection attribute of the first connection segment and a second connection attribute of the second connection segment; and a second detection unit configured to detect a target object and a target fault type based on the first and second connection attributes.

[0141] In an exemplary embodiment, the second detection unit is configured to: detect whether the first ground impedance falls within the first ground impedance range when the first connection attribute includes the first ground impedance of the first connection segment and the second connection attribute includes the second ground impedance of the second connection segment, thereby obtaining a first detection result; and detect whether the second ground impedance falls within the second ground impedance range, thereby obtaining a second detection result. The first ground impedance range includes the ground impedance of the first connection segment when the target object causing the first fault in the power supply state is the first power supply, and the target fault includes the first fault. The second ground impedance range includes the ground impedance of the second connection segment when the target object causing the second fault in the power supply state is the connected bus device, and the target fault includes the second fault. Based on the first and second detection results, the target object is detected, and the target fault type is detected.

[0142] In one exemplary embodiment, the second detection unit is further configured to: determine the target object as a first power supply when the first detection result indicates that the first ground impedance falls within the first ground impedance range and the second ground impedance does not fall within the second ground impedance range, and obtain the first fault type corresponding to the first ground impedance from the first candidate ground impedance and the first candidate fault type with a corresponding relationship, wherein the target fault type includes the first fault type; and determine the target object as a bus device when the first detection result indicates that the first ground impedance does not fall within the first ground impedance range and the second ground impedance falls within the second ground impedance range, and obtain the second fault type corresponding to the second ground impedance from the second candidate ground impedance and the second candidate fault type with a corresponding relationship, wherein the target fault type includes the second fault type.

[0143] In one exemplary embodiment, the start-up control device is further configured to connect to a management controller. The control module includes: a first processing unit configured to, when the target object includes a first power supply in a bus device power supply and the first power supply experiences a first fault of a first short circuit type, control the first power supply to stop operating and send first fault information to the connected management controller, wherein the first fault information is used to indicate that the first power supply has experienced a first fault of a first short circuit type, the target fault type includes a first fault type, the first fault type includes a first short circuit type, and the target fault includes a first fault; and a second processing unit configured to, when the target object includes a connected bus device and the bus device experiences a second fault of a second short circuit type, continuously detect whether the second fault of the bus device has been recovered within a target duration; if the second fault of the bus device is detected to have been recovered, control the second power supply in the bus device power supply to operate; if the second fault of the bus device is detected to have not been recovered within the target duration, control the second power supply to stop operating and send second fault information to the management controller, wherein the second fault information is used to indicate that the bus device has experienced a second fault of a second short circuit type, the target fault type includes a second fault type, the second fault type includes a second short circuit type, and the target fault includes a second fault.

[0144] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.

[0145] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when run.

[0146] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0147] Embodiments of this application also provide an electronic device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0148] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.

[0149] Embodiments of this application also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.

[0150] Embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.

[0151] Embodiments of this application also provide a computer program that includes computer instructions stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps in any of the above method embodiments.

[0152] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.

[0153] Obviously, those skilled in the art should understand that the modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.

[0154] The above description is merely an optional embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.

Claims

1. A control method of a power supply of a bus device, characterized by, An application is made to a startup control device, the data processing device including a bus port and a bus device power supply, the bus device power supply being used to supply power to the bus device connected to the bus port, the startup control device being used to connect to the bus device power supply, the method comprising: Detect the power supply status of the connected bus device power supply, wherein the power supply status is used to indicate the relationship between the voltage output by the bus device power supply and the target voltage threshold. When the power supply state indicates that the voltage output by the power supply of the bus device is less than or equal to the target voltage threshold, the target object that caused the target fault in the power supply state is detected, as well as the target fault type that the target fault belongs to on the target object, wherein the target object includes the bus device or the power supply of the bus device; The operation of the bus device power supply is controlled according to the target object and the target fault type.

2. The method of claim 1, wherein, The bus device power supply includes a first power supply and a second power supply. The first power supply powers the second power supply, and the second power supply powers the bus device. The first power supply includes a first detection pin, and the second power supply includes a second detection pin. The startup control device is connected to both the first and second detection pins. Detecting the power supply status of the connected bus device power supply includes: Extract the first state signal output from the first detection pin and extract the second state signal output from the second detection pin, wherein the first state signal is used to indicate the relationship between the voltage output by the first power supply and a first voltage threshold, and the second state signal is used to indicate the relationship between the voltage output by the second power supply and a second voltage threshold, wherein the target voltage threshold includes the first voltage threshold and the second voltage threshold; When the first status signal indicates that the voltage output by the first power supply is less than or equal to the first voltage threshold, and / or when the second status signal indicates that the voltage output by the second power supply is less than or equal to the second voltage threshold, the power supply state is determined to indicate that the voltage output by the bus device power supply is less than or equal to the target voltage threshold.

3. The method according to claim 1, characterized in that, The bus device power supply includes a first power supply and a second power supply. The voltage output terminal of the first power supply is connected to the voltage input terminal of the second power supply. The startup control device is connected to a first connection segment. The voltage output terminal of the first power supply and the voltage input terminal of the second power supply are connected through the first connection segment. The startup control device is connected to a second connection segment. The voltage output terminal of the second power supply is connected to the bus port through the second connection segment. When the power supply state indicates that the voltage output by the bus device power supply is less than or equal to the target voltage threshold, the system detects the target object causing the target fault in the power supply state, and the target fault type to which the target fault belongs on the target object, including: Detect the first connection attribute of the first connection segment, and detect the second connection attribute of the second connection segment; The target object and the target fault type are detected based on the first connection attribute and the second connection attribute.

4. The method according to claim 3, characterized in that, The step of detecting the target object and the target fault type based on the first connection attribute and the second connection attribute includes: When the first connection attribute includes the first ground impedance of the first connection segment and the second connection attribute includes the second ground impedance of the second connection segment, it is detected whether the first ground impedance falls within the first ground impedance range to obtain a first detection result, and it is detected whether the second ground impedance falls within the second ground impedance range to obtain a second detection result. The first ground impedance range includes the ground impedance of the first connection segment when the target object causing the first fault in the power supply state is the first power supply, and the target fault includes the first fault. The second ground impedance range includes the ground impedance of the second connection segment when the target object causing the second fault in the power supply state is the connected bus device, and the target fault includes the second fault. Based on the first detection result and the second detection result, the target object is detected, and the target fault type is detected.

5. The method according to claim 4, characterized in that, The step of detecting the target object and the target fault type based on the first detection result and the second detection result includes: When the first detection result indicates that the first impedance to ground falls within the first impedance to ground range and the second impedance to ground does not fall within the second impedance to ground range, the target object is determined as the first power source, and the first fault type corresponding to the first impedance to ground is obtained from the first candidate impedance to ground and the first candidate fault type that have a corresponding relationship, wherein the target fault type includes the first fault type. When the first detection result indicates that the first ground impedance does not fall within the first ground impedance range and the second ground impedance falls within the second ground impedance range, the target object is determined as the bus device, and the second fault type corresponding to the second ground impedance is obtained from the second candidate ground impedance and the second candidate fault type that have a corresponding relationship, wherein the target fault type includes the second fault type.

6. The method according to claim 4, characterized in that, The step of detecting the target object and the target fault type based on the first detection result and the second detection result includes: If the first detection result indicates that the first impedance to ground does not fall within the first impedance to ground range and the second impedance to ground does not fall within the second impedance to ground range, the target object is determined to be empty.

7. The method according to claim 1, characterized in that, The startup control device is also used to connect to a management controller, and the step of controlling the operation of the bus device power supply according to the target object and the target fault type includes: When the target object includes the first power supply in the bus device power supply and the first power supply has a first fault of the first short circuit type, the first power supply is controlled to stop running and a first fault information is sent to the connected management controller. The first fault information is used to indicate that the first power supply has a first fault of the first short circuit type. The target fault type includes the first fault type, the first fault type includes the first short circuit type, and the target fault includes the first fault. In the case where the target object includes the connected bus device and the bus device experiences a second fault of the second short circuit type, the system continuously monitors whether the second fault of the bus device has been recovered within a target duration. If the second fault of the bus device is detected to have been recovered, the system controls the second power supply in the bus device's power supply to operate. If the second fault of the bus device is detected to have not been recovered within the target duration, the system controls the second power supply to stop operating and sends second fault information to the management controller. The second fault information indicates that the bus device has experienced a second fault of the second short circuit type. The target fault type includes the second fault type, the second fault type includes the second short circuit type, and the target fault includes the second fault.

8. The method of claim 7, wherein, After sending the first fault information to the connected management controller, the method further includes: A repair command is sent to the first power supply, wherein the repair command is used to repair the first fault that occurred in the first power supply.

9. The method of claim 7, wherein, After sending the first fault information to the connected management controller, the method further includes: Extract the first identification information of the faulty power supply from the first fault information, and replace the first power supply corresponding to the first identification information, wherein the first fault information carries the first identification information.

10. The method according to claim 7, characterized in that, After sending the second fault information to the management controller, the method further includes: The second identification information of the faulty bus device is extracted from the second fault information, and the bus device corresponding to the second identification information is replaced. The second fault information carries the second identification information.

11. The method of claim 7, wherein, The startup control device is also used to connect to a management controller, and the step of controlling the operation of the bus device power supply according to the target object and the target fault type includes: When the target object is empty, control the first power supply to stop running and control the second power supply to stop running; after an interval of reference time, control the first power supply to start running and control the second power supply to start running.

12. A starting control device characterized by comprising: It includes a controller and a detector, the controller being connected to the detector, and both the detector and the controller being used to connect to the power supply of the bus device; wherein, The controller is used to detect the power supply status of the connected bus device power supply, wherein the power supply status is used to indicate the relationship between the voltage output by the bus device power supply and a target voltage threshold; and to control the operation of the bus device power supply according to the target object and the target fault type. The detector is used to detect the target object that caused the target fault in the power supply state, and the target fault type of the target fault on the target object, when the voltage output of the bus device power supply is less than or equal to the target voltage threshold in the power supply state. The target object includes a bus device or the bus device power supply. The data processing device includes a bus port and the bus device power supply. The bus device power supply is used to supply power to the bus device connected to the bus port.

13. The start-up control apparatus according to claim 12, characterized by The bus device power supply includes a first power supply and a second power supply. The voltage output terminal of the first power supply and the voltage input terminal of the second power supply are connected through a first connection segment. The voltage output terminal of the second power supply is connected to the bus port through a second connection segment. The detector includes a first output pin, a second output pin, a first input pin, and a second input pin. The first input pin is connected to the first connection segment, the second input pin is connected to the second connection segment, the first output pin is connected to the controller, and the second output pin is connected to the controller. The detector is configured to generate a high-level first detection signal and transmit the high-level first detection signal to the controller through the first output pin when it detects that the target object causing the power supply state is the first power supply and the first power supply has a first short-circuit type first fault. Conversely, when it detects that the target object causing the power supply state is the bus device power supply and the bus device power supply has a second short-circuit type second fault, the detector generates a high-level second detection signal and transmits the high-level second detection signal to the controller through the second output pin. The target fault includes the first fault and the second fault, and the target fault type includes the first short-circuit type and the second short-circuit type.

14. The start-up control device according to claim 13, characterized in that, The detector is configured to generate a low-level first detection signal and transmit the low-level first detection signal to the controller via the first output pin when it detects that the first power supply has a fault of a type other than the first short-circuit type in the first reference type. The first reference type includes all types of faults that the first power supply is allowed to occur. Similarly, when it detects that the second power supply has a fault of a type other than the second short-circuit type in the second reference type, it generates a low-level second detection signal and transmits the low-level second detection signal to the controller via the second output pin. The second reference type includes all types of faults that the second power supply is allowed to occur.

15. The starting control device according to claim 12, characterized by The bus device power supply includes a first power supply and a second power supply. The first power supply includes a first enable pin, and the second power supply includes a second enable pin. The startup control device further includes a switching device. The controller is connected to the switching device. The switching device is used to connect to the first enable pin, and the controller is used to connect to the second enable pin. The controller is also used to connect to the management controller. The controller is used to generate a high-level first control signal when the first detection signal output from the first output pin is high, and send the high-level first control signal to the switching device, and send first fault information to the connected management controller, wherein the first fault information is used to indicate that the first power supply has a first fault of the first short circuit type. The controller is configured to continuously detect whether the second fault of the bus device has been recovered within a target duration when the first detection signal output from the first output pin is low and the second detection signal output from the second output pin is high; when the second fault of the bus device is detected to have been recovered, the controller sends a high-level second enable signal to the second enable pin; when the second fault of the bus device is detected to have not been recovered within the target duration, the controller sends a low-level second enable signal to the second enable pin and sends second fault information to the management controller, wherein the second fault information is used to indicate that the bus device has experienced a second fault of a second short circuit type. Wherein, the low-level first control signal is used to control the first power supply to operate, the high-level first control signal is used to control the first power supply to stop operating, the high-level second enable signal is used to control the second power supply to operate, and the low-level second enable signal is used to control the second power supply to stop operating.

16. The start-up control device according to claim 15, characterized in that, When the switching device receives a high-level first control signal, the switching device is turned on. When the switching device is turned on, the first enable signal of the first power supply is low-level, wherein the low-level first enable signal is used to control the first power supply to stop operating. When the switching device receives a low-level first control signal, the switching device is disconnected. When the switching device is disconnected, the first enable signal of the first power supply is high-level, and the high-level first enable signal is used to control the operation of the first power supply.

17. A control device for a bus device power supply, characterized by An application is made in a startup control device. The data processing device includes a bus port and a bus device power supply. The bus device power supply is used to supply power to the bus devices connected to the bus port. The startup control device is used to connect to the bus device power supply. The device includes: The first detection module is used to detect the power supply status of the connected bus device power supply, wherein the power supply status is used to indicate the relationship between the voltage output by the bus device power supply and the target voltage threshold. The second detection module is used to detect, when the power supply state indicates that the voltage output by the power supply of the bus device is less than or equal to the target voltage threshold, the target object that caused the target fault in the power supply state, and the target fault type that the target fault belongs to on the target object, wherein the target object includes the bus device or the power supply of the bus device; The control module is used to control the operation of the power supply of the bus device according to the target object and the target fault type.

18. A computer-defined non-volatile readable storage medium, characterized in that, The computer non-volatile readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method described in any one of claims 1 to 11.

19. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method described in any one of claims 1 to 11.

20. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method described in any one of claims 1 to 11.