Bus device power supply control method and device, storage medium and electronic device

By detecting the power supply status of the bus device power supply and controlling its operation according to the fault type, the problem of low safety of the bus device power supply when the port is short-circuited is solved, achieving higher operational safety and maintenance efficiency.

CN119376317BActive Publication Date: 2025-05-13INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411929240.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-05-13
Estimated Expiration
2044-12-25

AI Technical Summary

Technical Problem

In the prior art, the bus device power supply has low safety when the port is short-circuited, which may lead to power failure and low maintenance efficiency.

Method used

By detecting the power supply status of the bus device power supply and controlling the operation of the power supply according to the target object and the fault type, including stopping or restarting, to avoid damage caused by direct restart.

Benefits of technology

Improves the operational safety of bus equipment power supply, avoids power damage caused by different types of failures, and improves maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119376317B_ABST
    Figure CN119376317B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a control method and device for a bus device power supply, a storage medium and an electronic device, wherein the method comprises: detecting the power supply state of the connected bus device power supply, wherein the power supply state is used to indicate the relationship between the voltage output by the bus device power supply and the target voltage threshold; in the case where the power supply state is used to indicate 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 that caused the power supply state 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. Through the present application, the problem of low safety of the operation of the bus device power supply is solved, thereby achieving the effect of improving the safety of the operation of the bus device power supply.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the server field, and in particular, to a method and device for controlling the power supply of a bus device, a storage medium, and an electronic device. Background Art

[0002] In the related art, in order to ensure the stable operation of the bus device of the server bus port, the design of the power supply circuit of the bus device power supply is particularly important. Taking the bus device including the USB device as an example, the power supply circuit architecture of the USB power supply mainly relies on the POL power module and the EFUSE module. However, this architecture may have the problem of low safety of USB power supply operation when the USB port is short-circuited.

[0003] For example, taking the bus device power supply including the POL power module and the 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, and the EFUSE module short-circuit protection has not yet responded, and the voltage of P5V_STBY (i.e., the board) drops instantly, causing the FB voltage fed back by the POL power module to be lower than VUVP (80% of the VREF voltage), and undervoltage protection occurs. The POL power module will no longer have output, and the AC power needs to be cut off and restarted to return to normal; at the same time, when the POL power module has SCP protection, the POL power module will restart, and there is a risk of burning the POL power module; in addition, when P5V_USB is short-circuited, the EFUSE module has SCP protection, and the CPLD (Complex Programmable Logic) Device, complex programmable logic device) module will send P5V_USB_EN (USB enable) command multiple times to restart the EFUSE module, which may burn the EFUSE module; when P5V_USB and P5V_STBY are short-circuited, the system cannot directly sense and report the short-circuit fault, and the customer cannot sense the short-circuit fault, which may cause the risk of burning the board and affect maintenance efficiency.

[0004] With regard to the problem of low safety of power supply operation of bus devices in related technologies, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present application provide a method and device for controlling the power supply of a bus device, a storage medium and an electronic device, so as to at least solve the problem of low safety of the power supply operation of the bus device in the related art.

[0006] According to one embodiment of the present application, a method for controlling a bus device power supply is provided, which is applied to a startup control device, wherein 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 a bus device connected to the bus port, and the startup control device is used to connect the bus device power supply, and the method includes: detecting a power supply state of the connected bus device power supply, wherein the power supply state is used to indicate a relationship between a voltage output by the bus device power supply and a target voltage threshold; 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 the target voltage threshold, detecting a target object where a target fault causing the power supply state is located, and a target fault type to which the target fault belongs on the target object, wherein the target object includes the bus device or the bus device power supply; and controlling the operation of the bus device power supply according to the target object and the target fault type.

[0007] In an exemplary embodiment, the bus device power supply includes a first power supply and a second power supply, the first power supply is used to power the second power supply, and the second power supply is used to power 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 detection pin and the second detection pin, and the detecting of the power supply state of the connected bus device power supply includes: extracting a first state signal output by the first detection pin, and extracting a second state signal output by 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, 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 is used to indicate 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 is used to indicate 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.

[0008] In an exemplary embodiment, the bus device power supply includes a first power supply and a second power supply, a voltage output terminal of the first power supply is connected to a 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 via 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 via the second connection segment, and the voltage output terminal of the second power supply is connected to the bus port, and 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 the target voltage threshold, detecting a target object where a target fault causing the power supply state is located, and a target fault type to which the target fault belongs on the target object, 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 according to the first connection attribute and the second connection attribute.

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

[0010] In an exemplary embodiment, the detecting the target object and the target fault type according to the first detection result and the second detection result includes: when the first detection result is used to indicate 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, determining the target object as the first power supply, and obtaining a first fault type corresponding to the first impedance to ground from first candidate impedance to ground and first candidate fault types having a corresponding relationship, wherein the target fault type includes the first fault type; when the first detection result is used to indicate that the first impedance to ground does not fall within the first impedance to ground range and the second impedance to ground falls within the second impedance to ground range, determining the target object as the bus device, and obtaining a second fault type corresponding to the second impedance to ground from second candidate impedance to ground and second candidate fault types having a corresponding relationship, wherein the target fault type includes the second fault type.

[0011] In an exemplary embodiment, the startup control device is also used to connect to a management controller, and the control of the operation of the bus device power supply according to the target object and the target fault type includes: when the target object includes a first power supply in the bus device power supply and a first fault of a first short circuit type occurs in the first power supply, the first power supply is controlled to stop running, and a first fault information is sent to the connected management controller, wherein the first fault information is used to prompt that the first fault of the first short circuit type occurs in the first power supply, the target fault type includes a 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 in case that the bus device has a second fault of a second short circuit type, continuously detecting whether the second fault of the bus device has been restored within a target time length; in case that it is detected that the second fault of the bus device has been restored, controlling the second power supply in the power supply of the bus device to run; in case that it is detected that the second fault of the bus device has not been restored within the target time length, controlling the second power supply to stop running, and sending second fault information to the management controller, wherein the second fault information is used to indicate that the bus device has 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.

[0012] According to another embodiment of the present application, a startup control device is provided, including a controller and a detector, the controller is connected to the detector, and the detector and the controller are both used to connect to a bus device power supply; 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 the operation of the bus device power supply is controlled according to a target object and a target fault type; and the detector is used to detect 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, when the power supply status is used to indicate 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 the bus device power supply, and a data processing device includes a bus port and the bus device power supply, and the bus device power supply is used to power the bus device connected to the bus port.

[0013] In an exemplary embodiment, the bus device power supply includes a first power supply and a second power supply, a voltage output terminal of the first power supply and a voltage input terminal of the second power supply are connected via a first connection segment, and a voltage output terminal of the second power supply and the bus port are connected via 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; wherein the detector is used to generate a high-level first detection signal when it is detected that the target object of the target fault causing the power supply state is the first power supply and a first fault of a first short circuit type occurs in the first power supply, and transmit the high-level first detection signal to the controller through the first output pin, and generate a high-level second detection signal when it is detected that the target object of the target fault causing the power supply state is the bus device power supply and a second fault of a second short circuit type occurs in the bus device power supply, and transmit the high-level second detection signal to the controller through the second output pin, wherein the target fault includes the first fault and the second fault, and the target fault types include the first short circuit type and the second short circuit type.

[0014] In an exemplary embodiment, the detector is used to generate a low-level first detection signal when it is detected that the first power supply has a fault of a type other than the first short-circuit type in a first reference type, and transmit the low-level first detection signal to the controller through the first output pin, wherein the first reference type includes all types of faults allowed to occur in the first power supply, and to generate a low-level second detection signal when it is detected that the second power supply has a fault of a type other than the second short-circuit type in a second reference type, and transmit the low-level second detection signal to the controller through the second output pin, wherein the second reference type includes all types of faults allowed to occur in the second power supply.

[0015] In an 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, the second power supply includes a second enable pin, the startup control device also includes a switch device, the controller is connected to the switch device, the switch device is used to connect the first enable pin, the controller is used to connect the second enable pin, and the controller is also used to connect to a management controller; the controller is used to generate a high-level first control signal when the first detection signal output by the extracted first output pin is at a high level, and send the high-level first control signal to the switch device, and send first fault information to the connected management controller, wherein the first fault information is used to prompt that the first power supply has a first fault of a first short circuit type; the controller is used to generate a high-level first control signal when the first detection signal output by the extracted first output pin is at a low level and the first detection signal output by the extracted second output pin is at a low level. When the second detection signal output by the pin is at a high level, whether the second fault occurring in the bus device has been restored is continuously detected within the target time length. When it is detected that the second fault occurring in the bus device has been restored, a high-level second enable signal is sent to the second enable pin. When it is detected that the second fault occurring in the bus device has not been restored within the target time length, a low-level second enable signal is sent to the second enable pin, and second fault information is sent to the management controller, wherein the second fault information is used to indicate that the second fault of a second short circuit type has occurred in the bus device; wherein the low-level first control signal is used to control the operation of the first power supply, 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 operation of the second power supply, and the low-level second enable signal is used to control the second power supply to stop operating.

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

[0017] According to another embodiment of the present application, a control device for a bus device power supply is provided, which is applied to a startup control device, wherein the data processing device includes a bus port and a bus device power supply, the bus device power supply is used to power a bus device connected to the bus port, and the startup control device is used to connect the bus device power supply, and the device includes: a first detection module, 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; a second detection module, used to detect a target object where a target fault causing the power supply status is located, and a 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 the bus device or the bus device power supply; and a control module, used to control the operation of the bus device power supply according to the target object and the target fault type.

[0018] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.

[0019] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0020] According to another embodiment of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.

[0021] Through this application, when it is detected that the voltage output by the bus device power supply is less than or equal to the voltage threshold, the startup control device will further determine the object that causes the abnormal power supply state (for example, the bus device or the bus device power supply) and identify the fault type of the object; according to the object and fault type that have failed, the startup control device can take corresponding measures to control the operation of the bus device power supply (for example, stop running or restart). In this way, the damage to the bus device power supply caused by directly restarting the bus device power supply in the event of a fault of a different fault type is avoided, and the bus device power supply can be controlled to restart or stop running according to different fault types, and the bus device power supply can be protected. Therefore, the problem of low safety of the operation of the bus device power supply can be solved, and the effect of improving the safety of the operation of the bus device power supply can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0023] Figure 2 is a flow chart of a method for controlling a bus device power supply according to an embodiment of the present application;

[0024] Figure 3 is a schematic structural diagram of an optional bus device power supply according to an embodiment of the present application;

[0025] Figure 4 is a schematic diagram of a circuit for optionally supplying power to a server using a bus device according to an embodiment of the present application;

[0026] Figure 5 is a schematic diagram of a working process of an optional method for controlling a power supply of a bus device according to an embodiment of the present application;

[0027] Figure 6 It is a structural block diagram of a bus device power supply device according to an embodiment of the present application. DETAILED DESCRIPTION

[0028] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

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

[0030] First, the terms involved in the embodiments of the present application are explained as follows:

[0031] POL: Point Of Load, load point;

[0032] EFUSE: Electronic Fuse, electronic fuse;

[0033] BMC: Baseboard Management Controller, baseboard management controller.

[0034] The method embodiments provided in the embodiments of the present application can be executed in a server device or a similar computing device. Taking running on a server device as an example, Figure 1 1 is a hardware structure block diagram of a server device according to a method for controlling a bus device power supply according to an embodiment of the present application. Figure 1 As shown, the server device may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned server device may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0035] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the control method of the bus device power supply in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the server device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0036] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the server device. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0037] In this embodiment, a method for controlling a bus device power supply is provided, which is applied to a startup control device. The data processing device includes a bus port and a bus device power supply, wherein the bus device power supply is used to supply power to a bus device connected to the bus port, and the startup control device is used to connect the bus device power supply. Figure 2 is a flow chart of a method for controlling a bus device power supply according to an embodiment of the present application. Figure 2 As shown, the process includes the following steps:

[0038] Step S202, detecting a power supply state of the connected bus device power supply, wherein the power supply state is used to indicate a relationship between a voltage output by the bus device power supply and a target voltage threshold;

[0039] Step S204, 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 the target voltage threshold, detecting a target object where a target fault causing the power supply state is located, and a target fault type to which the target fault belongs on the target object, wherein the target object includes the bus device or the bus device power supply;

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

[0041] Through the above steps, when it is detected that the voltage output by the bus device power supply is less than or equal to the voltage threshold, the startup control device will further determine the object that causes the abnormal power supply state (for example, the bus device or the bus device power supply) and identify the fault type of the object; according to the object and fault type that have failed, the startup control device can take corresponding measures to control the operation of the bus device power supply (for example, stop running or restart). In this way, the damage to the bus device power supply caused by directly restarting the bus device power supply in the event of a fault of a different fault type is avoided, and the bus device power supply can be controlled to restart or stop running according to different fault types, and the bus device power supply can be protected. Therefore, the problem of low safety of the operation of the bus device power supply can be solved, and the effect of improving the safety of the operation of the bus device power supply can be achieved.

[0042] In the technical solution provided in the above step S202, the data processing device may include but is not limited to a data transmission device and a data computing device. 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.

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

[0044] 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 for powering the connected bus device, or the bus device power supply may also include but is not limited to a power supply in the total power supply in the data processing device for powering the connected bus device. For example, the bus device power supply is a power supply in a server power supply for powering the connected bus device.

[0045] 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 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, the target ratio may include 80% as an example, and the voltage threshold is equal to 80% of the internal reference voltage VREF.

[0046] In an exemplary embodiment, the bus device power supply includes a first power supply and a second power supply, the first power supply is used to power the second power supply, and the second power supply is used to power 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 detection pin and the second detection pin, and can detect the power supply state of the connected bus device power supply in the following manner but is not limited to: extracting a first state signal output by the first detection pin, and extracting a second state signal output by 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, 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 is used to indicate 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 is used to indicate 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 as indicating that the voltage output by the bus device power supply is less than or equal to the target voltage threshold.

[0047] Optionally, in this embodiment, the first power supply may be, but is not limited to, used to power the second power supply, for example, the first power supply may be, but is not limited to, a POL power supply. The second power supply may be, but is not limited to, used to power the bus device, for example, the second power supply may be, but is not limited to, an EFUSE module.

[0048] Figure 3 is a schematic diagram of a structure of an optional bus device power supply according to an embodiment of the present application, such as Figure 3 As shown, it can be explained by taking, but not limited to, an example in which the bus device includes a USB device, the first power supply includes a POL power supply, the second power supply includes an EFUSE module, the first detection pin includes a PG (Power Good) pin in the POL power supply, the second detection pin includes a FAULT (fault) pin in the EFUSE module, the first status signal includes a P5V_STBY_PG signal, and the second status signal includes a P5V_USB_FAULT signal.

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

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

[0051] 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.

[0052] Optionally, in this embodiment, when the first state signal is used to indicate that the voltage output by the first power supply is greater than a first voltage threshold, and when the second state signal is used to indicate that the voltage output by the second power supply is greater than a second voltage threshold, the target power supply state can be determined, but is not limited to, as indicating that the voltage output by the bus device power supply is greater than the target voltage threshold.

[0053] Through the embodiments of the present 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 a safe threshold range. When the voltage is lower than the voltage threshold, the startup control device can respond quickly, thereby improving the stability and safety of the power supply circuit of the bus device power supply.

[0054] In the technical solution provided in the above step S204, 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 bus device power supply may, but is not limited to, have undervoltage protection. The undervoltage protection may, but is not limited to, stop the output of the POL power module when the voltage output by the bus device power supply is less than or equal to the target voltage threshold, so as to prevent the current surge caused by the low voltage from causing damage to the circuit or the bus device power supply or the connected bus device, etc. For example, it may, but is not limited to, the bus device includes a USB device, combined with Figure 3 To explain, when P5V_USB is short-circuited, the instantaneous current is very large, and the P5V_STBY voltage drops instantly, causing the POL power module (equivalent to the first power supply) to feedback the FB voltage lower than VUVP (Under Voltage Protection, 80% of VREF voltage), and undervoltage protection occurs. The POL power module will no longer have output, and the AC (Alternating Current) power must be cut off and restarted. Since the POL power supply supplies power to the EFUSE module, when the POL power module is undervoltage protected, the EFUSE module also has no output, and the AC power must be cut off and restarted.

[0055] Optionally, in this embodiment, when the bus device power supply has an undervoltage protection, the bus device power supply may be, but is not limited to, powered off, and a high-level enable signal may be sent to the bus device power supply to control the bus device power supply to operate again (for example, power on again). The application scenario of the present application may include, but is not limited to, the target object where the target fault that causes the abnormal voltage output by the bus device power supply is located, and the target fault type to which the target fault belongs on the target object, and 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 control the bus device power supply to completely power off, so as to avoid damage to the bus device power supply caused by directly restarting the bus device power supply.

[0056] In an exemplary embodiment, the bus device power supply includes a first power supply and a second power supply, a voltage output terminal of the first power supply is connected to a 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 via 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 via the second connection segment, and 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 the target voltage threshold, the target object where the target fault causing the power supply state is located and the target fault type to which the target fault belongs on the target object can be detected in the following manner, 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 the target object and the target fault type according to the first connection attribute and the second connection attribute.

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

[0058] Optionally, in this embodiment, when the connection segment includes a wire, the connection property of the connection segment may include, but is not limited to, the impedance of the wire to ground, or the voltage of the wire to ground, etc.

[0059] In an exemplary embodiment, the target object and the target fault type may be detected in the following manner, but is not limited to, based on the first connection attribute and the second connection attribute: when the first connection attribute includes a first impedance to ground of the first connection segment and the second connection attribute includes a second impedance to ground of the second connection segment, detecting whether the first impedance to ground falls within a first impedance to ground range to obtain a first detection result, and detecting whether the second impedance to ground falls within a second impedance to ground range to obtain a second detection result, wherein the first impedance to ground range includes the impedance to ground of the first connection segment when the target object of the first fault causing the power supply state is the first power supply, the target fault includes the first fault, and the second impedance to ground range includes the impedance to ground of the second connection segment when the target object of the second fault causing 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, detecting the target object and detecting the target fault type.

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

[0061] In an exemplary embodiment, based on the first detection result and the second detection result, the target object can be detected and the target fault type can be detected in the following manner, but not limited to: when the first detection result is used to indicate 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 to be the first power supply, and the first fault type corresponding to the first impedance to ground is obtained from first candidate impedance to ground and first candidate fault types having a corresponding relationship, wherein the target fault type includes the first fault type; when the first detection result is used to indicate that the first impedance to ground does not fall within the first impedance to ground range and the second impedance to ground falls within the second impedance to ground range, the target object is determined to be the bus device, and the second fault type corresponding to the second impedance to ground is obtained from second candidate impedance to ground and second candidate fault types having a corresponding relationship, wherein the target fault type includes the second fault type.

[0062] Optionally, in this embodiment, when the first detection result is used to indicate 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 be, but is not limited to, indicating that the first power supply, the second power supply, and the connected bus device have no short circuit faults. In this case, it may be that only a temporary fluctuation has caused the abnormal power supply state, or the first power supply, the second power supply, and the connected bus device have a fault that can be directly restarted. In this case, it may be, but is not limited to, first shutting down the first power supply and the second power supply, and restarting the first power supply and the second power supply after a reference time interval (for example, 500ms or 1 minute, etc., which is not limited in this application).

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

[0064] Through the embodiment of the present application, the impedance to ground of the first connection segment and the second connection segment is detected and compared with the preset impedance range, so that different types of faults can be distinguished. This fault classification helps the startup control device to implement more reasonable power management and fault recovery strategies, avoids power damage caused by directly restarting the power supply, and improves the efficiency of system maintenance.

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

[0066] In an exemplary embodiment, the startup control device is also used to connect to a management controller, and according to the target object and the target fault type, the operation of the bus device power supply can be controlled in the following manner, but is not limited to: when the target object includes a first power supply in the bus device power supply and a first fault of a first short circuit type occurs in the first power supply, the first power supply is controlled to stop running, and first fault information is sent to the connected management controller, wherein the first fault information is used to prompt that the first fault of the first short circuit type occurs in the first power supply, the target fault type includes a 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 a connected When the bus device is in operation and a second fault of a second short circuit type occurs in the bus device, continuously detect whether the second fault of the bus device has been restored within a target time length; when it is detected that the second fault of the bus device has been restored, control the second power supply in the power supply of the bus device to operate; when it is detected that the second fault of the bus device has not been restored within the target time length, 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 second fault of a second short circuit type occurs in the bus device, 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.

[0067] Optionally, in this embodiment, after sending the first fault information to the management controller, a repair instruction may be sent to the first power supply, wherein the repair instruction is used to repair the first fault occurring in the first power supply, or 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 is replaced, wherein the first fault information carries the first identification information; after sending the second fault information to the management controller, 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 is replaced, wherein the second fault information carries the second identification information.

[0068] Through the embodiments of the present application, after fault information is sent to the management controller, targeted repair or replacement measures are taken based on the fault information, thereby achieving efficient fault management and rapid response of the bus device power supply and connected bus devices, and significantly improving the active fault management capabilities and maintenance efficiency.

[0069] Optionally, in this embodiment, the management controller may be, but is not limited to, used to receive fault information sent by the startup control device, for example, a BMC controller.

[0070] 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.

[0071] Optionally, in this embodiment, if the voltage output by the first power supply and the second power supply is abnormal, but there is no short circuit between the first power supply and the connected bus device, it can be indicated that the above-mentioned abnormal power supply state may be just a temporary fluctuation of the circuit, or other faults that can be directly restarted have occurred. In such a case, it is possible but not limited to first turning off the first power supply and the second power supply, and restarting the first power supply and the second power supply after an interval of a reference time (for example, 500ms or 1 minute, etc., which is not limited in this application); or, directly restarting the first power supply and then restarting the second power supply.

[0072] Figure 4 is a circuit diagram of an optional server bus device power supply according to an embodiment of the present application, such as Figure 4As shown, it is possible but not limited to taking bus devices including USB devices as an example, through the single-chip control system (equivalent to the controller) and the new enable signal P5V_STBY_EN_MOS (equivalent to the first control signal) to manage the POL power module (equivalent to the first power supply), which solves the problem that when P5V_USB is short-circuited, the instantaneous current is very large, the P5V_STBY voltage drops instantly, causing the POL power module feedback FB voltage to be lower than the starting VUVP (80% of the VREF voltage), causing undervoltage protection, the POL power module will no longer have output, and the AC power needs to be cut off and restarted.

[0073] When a short circuit of P5V_USB is detected and the voltage of P5V_STBY is reduced, the MCU control system can respond immediately and output the P5V_STBY_EN_MOS signal to the POL power module to control the enable state of the POL power module, thereby suppressing the output of P5V_STBY in a short time and preventing the POL power module from entering the protection mode due to undervoltage. When the system returns to normal, the MCU control system will re-enable the POL power module, so that the POL power module will work again and output P5V_STBY, thereby enhancing the stability and reliability of the USB power supply circuit.

[0074] At the same time, when P5V_USB is short-circuited, the EFUSE module (equivalent to the second power supply) undergoes SCP protection, and the single-chip control system will continuously detect the short-circuit state of P5V_USB. When the short-circuit state of P5V_USB is eliminated, the EFUSE module will work again and output P5V_USB, which solves the problem in the related technology that when P5V_USB is short-circuited, the EFUSE module undergoes SCP protection, and the CPLD module will send P5V_USB_EN (equivalent to the second enable signal) instruction multiple times to restart the EFUSE module, which has the risk of burning the EFUSE module, thereby improving the safety of the power supply circuit of the bus device power supply.

[0075] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0076] In an embodiment of the present application, a startup control device is also provided, which includes a controller and a detector, the controller is connected to the detector, and the detector and the controller are both used to connect to a bus device power supply; 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; according to the target object and the target fault type, the operation of the bus device power supply is controlled; the detector is used to detect 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 when the power supply status is used to indicate 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 the bus device power supply, and the data processing device includes a bus port and the bus device power supply, and the bus device power supply is used to power the bus device connected to the bus port.

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

[0078] Optionally, in this embodiment, the controller is connected to the first detection pin and the second detection pin, and the controller can also be used for, but not limited to: extracting a first state signal output by the first detection pin, and extracting a second state signal output by 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 the first voltage threshold, and the second state signal is used to indicate the relationship between the voltage output by the second power supply and the second voltage threshold, and the target voltage threshold includes the first voltage threshold and the second voltage threshold; when the first state signal is used to indicate 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 is used to indicate 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 as indicating that the voltage output by the bus device power supply is less than or equal to the target voltage threshold.

[0079] Optionally, in this embodiment, the controller may also be used, but is not limited to: when the target object includes a first power supply in a bus device power supply and a first fault of a first short circuit type occurs in the first power supply, control the first power supply to stop running, and send first fault information to the connected management controller, wherein the first fault information is used to prompt that a first fault of a first short circuit type occurs in the first power supply, 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 a connected bus device and a second fault of a second short circuit type occurs in the bus device, continuously detect whether the second fault occurring in the bus device has been restored within a target time length; when it is detected that the second fault occurring in the bus device has been restored, control the second power supply in the bus device power supply to run, and when it is detected that the second fault occurring in the bus device has not been restored within the target time length, control the second power supply to stop running, and send second fault information to the management controller, wherein the second fault information is used to indicate that a second fault of a second short circuit type occurs in the bus device, 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.

[0080] In an exemplary embodiment, the bus device power supply includes a first power supply and a second power supply, a voltage output terminal of the first power supply and a voltage input terminal of the second power supply are connected via a first connection segment, and a voltage output terminal of the second power supply and the bus port are connected via 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; wherein the detector is used to generate a high-level first detection signal when it is detected that the target object of the target fault causing the power supply state is the first power supply and a first fault of a first short circuit type occurs in the first power supply, and transmit the high-level first detection signal to the controller through the first output pin, and generate a high-level second detection signal when it is detected that the target object of the target fault causing the power supply state is the bus device power supply and a second fault of a second short circuit type occurs in the bus device power supply, and transmit the high-level second detection signal to the controller through the second output pin, wherein the target fault includes the first fault and the second fault, and the target fault types include the first short circuit type and the second short circuit type.

[0081] Optionally, in this embodiment, the bus device power supply includes a first power supply and a second power supply, the voltage output end of the first power supply is connected to the voltage input end of the second power supply, the start control device is connected to the first connection segment, the voltage output end of the first power supply and the voltage input end of the second power supply are connected through the first connection segment, the start control device is connected to the second connection segment, the voltage output end of the second power supply and the bus port are connected through the second connection segment, and the voltage output end 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 the target voltage threshold, the detector can also be used for but not limited to: detecting a first connection attribute of the first connection segment, and detecting a second connection attribute of the second connection segment; detecting a target object and a target fault type according to the first connection attribute and the second connection attribute.

[0082] Optionally, in this embodiment, the detector can also be used for, but is not limited to: 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, detecting whether the first ground impedance falls within the first ground impedance range to obtain a first detection result, and detecting 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 of the first fault causing the power supply state is the first power supply, and the target fault includes the first fault, and the second ground impedance range includes the ground impedance of the second connection segment when the target object of the second fault causing 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, detecting the target object and detecting the target fault type.

[0083] Optionally, in this embodiment, the detector can also be used, but is not limited to: when the first detection result is used to indicate 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, determine the target object as the first power supply, and obtain the first fault type corresponding to the first ground impedance from the first candidate ground impedance and the first candidate fault type having a corresponding relationship, wherein the target fault type includes the first fault type; when the first detection result is used to indicate 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, determine the target object as a bus device, and obtain the second fault type corresponding to the second ground impedance from the second candidate ground impedance and the second candidate fault type having a corresponding relationship, wherein the target fault type includes the second fault type.

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

[0085] Through the embodiments of the present application, it is possible but not limited to take the bus device including the USB device as an example, combined with Figure 4 To explain, the single-chip control system (equivalent to the controller) can sense the short-circuit status of P5V_STBY and P5V_USB in the circuit through the short-circuit detection circuit (equivalent to the detector), which improves the system's ability to respond immediately to short circuits, helps to quickly take protective measures, and reduces the damage caused by short circuits. At the same time, through the short-circuit detection circuit, the system can more accurately determine whether the P5V_STBY line is short-circuited or the P5V_USB line is short-circuited, so as to adopt a more targeted protection strategy and improve the stability of the operation of the bus device power supply.

[0086] In an exemplary embodiment, the detector is used to generate a low-level first detection signal when it is detected that the first power supply has a fault of a type other than the first short-circuit type in a first reference type, and transmit the low-level first detection signal to the controller through the first output pin, wherein the first reference type includes all types of faults allowed to occur in the first power supply, and to generate a low-level second detection signal when it is detected that the second power supply has a fault of a type other than the second short-circuit type in a second reference type, and transmit the low-level second detection signal to the controller through the second output pin, wherein the second reference type includes all types of faults allowed to occur in the second power supply.

[0087] Optionally, in this embodiment, when the first power supply has a fault of other types in the first reference type except the first short circuit type, it is possible but not limited to directly restarting the first power supply, or waiting for a period of time before restarting the first power supply; when the second power supply has a fault of other types in the second reference type except the second short circuit type, it is possible but not limited to directly restarting the second power supply, or waiting for a period of time before restarting the second power supply.

[0088] In an 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, the second power supply includes a second enable pin, the startup control device also includes a switch device, the controller is connected to the switch device, the switch device is used to connect the first enable pin, the controller is used to connect the second enable pin, and the controller is also used to connect to a management controller; the controller is used to generate a high-level first control signal when the first detection signal output by the extracted first output pin is at a high level, and send the high-level first control signal to the switch device, and send first fault information to the connected management controller, wherein the first fault information is used to prompt that the first power supply has a first fault of a first short circuit type; the controller is used to generate a high-level first control signal when the first detection signal output by the extracted first output pin is at a low level and the first detection signal output by the extracted second output pin is at a low level. When the second detection signal output by the pin is at a high level, whether the second fault occurring in the bus device has been restored is continuously detected within the target time length. When it is detected that the second fault occurring in the bus device has been restored, a high-level second enable signal is sent to the second enable pin. When it is detected that the second fault occurring in the bus device has not been restored within the target time length, a low-level second enable signal is sent to the second enable pin, and second fault information is sent to the management controller, wherein the second fault information is used to indicate that the second fault of a second short circuit type has occurred in the bus device; wherein the low-level first control signal is used to control the operation of the first power supply, 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 operation of the second power supply, and the low-level second enable signal is used to control the second power supply to stop operating.

[0089] Optionally, in this embodiment, the controller can also be used, but is not limited to, 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 extracted from the first output pin is at a low level and the second detection signal extracted from the second output pin is at a low level, generate a low-level second enable signal and send the low-level second enable signal to the second enable pin, generate a low-level first control signal after a reference time interval, send the low-level first control signal to the switching device, and generate a high-level second enable signal and send the high-level second enable signal to the second enable pin when the first power supply operates normally.

[0090] Optionally, in this embodiment, the controller may include a single chip microcomputer, a control system (or a single chip microcomputer control system) may be deployed on the single chip microcomputer, the management controller may include a BMC controller, the detector may include a short circuit detection circuit, the bus device may include a USB device, the first power supply may include a POL power supply, and the second power supply may include an EFUSE module. Figure 4 Provide explanation.

[0091] The embodiment of the present application provides a circuit for powering a bus device for a server, which may include but is not limited to: a POL power module, an EFUSE module, a short circuit detection circuit, a single-chip control system, and a BMC controller, and each module is directly connected through an electrical signal. The short circuit detection circuit detects the short circuit state of the P5V_STBY and P5V_USB circuits and transmits it to the single-chip control system. The single-chip control system receives the P5V_STBY_PG (equivalent to the first state signal) signal of the POL power module, the P5V_USB_FAULT signal (equivalent to the second state signal) of the EFUSE module, the P5V_STBY_SHORT signal (equivalent to the first detection signal) of the short circuit detection circuit, and the P5V_USB_SHORT signal (equivalent to the second detection signal). The single-chip control system performs logical operations according to the states of the above signals, obtains calculation results, and transmits them to the corresponding modules. The single-chip control system transmits the P5V_STBY_EN_MOS signal (equivalent to the first control signal) to the POL power module and the P5V_USB_EN signal (equivalent to the second enable signal) to the EFUSE module. The single-chip microcomputer control system can, but is not limited to, transmit the USB short circuit and board short circuit signals to the BMC controller through I2C communication.

[0092] 1) POL power module:

[0093] The POL power module converts P12V_STBY to P5V_STBY to supply power to the EFUSE module. The POL power module compares the voltage of the feedback point FB (Feedback) with the internal reference voltage VREF (Reference Voltage) to adjust the output of P5V_STBY. When the output voltage of P5V_STBY is normal, P5V_STBY_PG is high and is transmitted to the microcontroller control system.

[0094] The POL power module receives the P5V_STBY_EN_MOS signal transmitted by the single-chip control system to realize the conduction and disconnection of Q21, and pulls down the P5V_STBY_EN signal for a short time, thereby realizing the restart of the POL power module under abnormal protection.

[0095] 2) EFUSE module:

[0096] The EFUSE module converts P5V_STBY to P5V_USB, supplies power to the USB port, and implements OCP (Over Current Protection) and SCP (Short Circuit Protection) protection functions for the USB port. When the P5V_USB output voltage is normal, the P5V_USB_FAULT signal is high and is transmitted to the microcontroller control system. The EFUSE module receives the P5V_USB_EN signal transmitted by the microcontroller control system to start and stop the EFUSE module.

[0097] 3) Short circuit detection circuit:

[0098] The short-circuit detection circuit detects the status of the output P5V_STBY of the POL power module and the output P5V_USB 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. 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 signal and the P5V_USB_SHORT signal to the single-chip control system.

[0099] 4) Single chip microcomputer control system:

[0100] The single-chip control system receives the P5V_STBY_PG signal of the POL power module, the P5V_USB_FAULT signal of the EFUSE module, the P5V_STBY_SHORT signal and the P5V_USB_SHORT signal of the short-circuit detection circuit. The single-chip 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 single-chip control system transmits the USB short circuit and board short circuit signals to the BMC controller through I2C communication.

[0101] The single-chip control system determines the fault type of the system by detecting the status of the P5V_STBY_PG signal, P5V_USB_FAULT signal, P5V_STBY_SHORT signal, and P5V_USB_SHORT signal, and transmits these fault information to the BMC controller through the SDA line (Serial Data Line) and SCL (Serial Clock Line) of the I2C bus. After a period of time, if the system short circuit fault is eliminated, the single-chip 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, so that the POL power module and the EFUSE module can resume normal operation.

[0102] 5) BMC controller:

[0103] The BMC controller receives USB short circuit and board short circuit signals transmitted by the single-chip control system through I2C communication, and displays the signals through the WEB (World Wide Web) to inform maintenance personnel of the corresponding fault information.

[0104] It should be noted that the technical solution of the present invention can be applied not only to the control of the power supply of bus devices in servers, but also to other devices requiring high-reliability power management, for example, power management and fault handling of network devices such as switches.

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

[0106] Optionally, in this embodiment, the switching device may include but is not limited to an electronic component that controls the first enable signal, such as a MOSFET (Metal-Oxide-Semiconductor Field-Effect Transistor), an IGBT (Insulated Gate Bipolar Transistor), and the like.

[0107] In order to better understand the workflow of the bus device power control method in the embodiment of the present application, the workflow of the bus device power control method in the embodiment of the present application is explained and illustrated in combination with optional embodiments below, which can be applicable to but not limited to the embodiment of the present application.

[0108] Figure 5 FIG. 1 is a schematic diagram of a work flow of an optional method for controlling a bus device power supply according to an embodiment of the present application. Figure 5 As shown, the control method for controlling the power supply of the bus device may be implemented as follows, but is not limited to, taking the controller including a single-chip microcomputer 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 supply module, the second power supply including an EFUSE module, and the switch device including a MOSFET as an example:

[0109] Step 1: Set the connection relationship between the POL power module, EFUSE module, short circuit detection circuit, single chip control system, and BMC controller on the system.

[0110] Step 2: When the system is operating normally, the microcontroller control system outputs P5V_STBY_EN_MOS=0, Q21 (equivalent to the switching device) is not conducting, P5V_STBY_EN (equivalent to the first enable signal)=1, then the POL power module works normally and outputs P5V_STBY; when the system is operating normally, the microcontroller control system outputs P5V_USB_EN (equivalent to the second enable signal)=1, then the EFUSE module works normally and outputs P5V_USB.

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

[0112] 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 a high level to a low level.

[0113] Step 5: The short-circuit detection circuit detects the status of the output P5V_STBY of the POL power module and the output P5V_USB 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.

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

[0115] Step 7: The single-chip microcomputer control system detects the status of the P5V_STBY_SHORT signal, the P5V_USB_SHORT signal, the P5V_STBY_PG signal, and the P5V_USB_FAULT signal.

[0116] Step 8: If only the falling edge of the P5V_USB_FAULT signal is detected and the EFUSE module is protected, the state of the P5V_USB_SHORT signal is determined.

[0117] 1) If P5V_USB_SHORT=0, there is no short circuit in P5V_USB, and the EFUSE module is restarted. The P5V_USB_EN signal is first set to 0, and then set to 1 after 500ms (milliseconds), so that the EFUSE module restarts and outputs P5V_USB, and the system resumes normal operation.

[0118] 2) If P5V_USB_SHORT=1, P5V_USB is short-circuited, which may be caused by an external USB device. Wait for 1 minute, add 1 to counter N1, and then loop to detect the state of P5V_USB_SHORT signal until P5V_USB_SHORT=0, and then run the content of step 8 1), and N1 is cleared at the same time.

[0119] If N1=10, it means that after waiting for 10 minutes, the USB port short circuit fault has not been restored. In this case, the USB port short circuit information (equivalent to the second fault information) is transmitted to the BMC controller through I2C communication.

[0120] Step 9: If the falling edges of the P5V_USB_FAULT signal and the P5V_STBY_PG signal are detected at the same time, the POL power module and the EFUSE module are protected at the same time, and the state of the P5V_STBY_SHORT signal is determined.

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

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

[0123] a) If P5V_USB_SHORT=0, P5V_USB has no short circuit, and the POL power module and EFUSE module are restarted at the same time.

[0124] The P5V_STBY_EN_MOS signal (equivalent to the first control signal) is set to 1 first, and then set to 0 after 500ms, so that the POL power module restarts and outputs P5V_STBY. The P5V_USB_EN signal is set to 0 first, and then set to 1 after 500ms, so that the EFUSE module restarts and outputs P5V_USB, and the system resumes normal operation.

[0125] b) If P5V_USB_SHORT=1, P5V_USB is short-circuited, which may be caused by an external USB device. Wait for 1 minute, add 1 to counter N2, and then loop to detect the state of P5V_USB_SHORT signal until P5V_USB_SHORT=0, and then run the content of step 9, 2) a), and clear N2 at the same time.

[0126] If N2=10, it means that after waiting for 10 minutes, the USB port short circuit fault has not been restored. In this case, the USB short circuit information (equivalent to the second fault information) is transmitted to the BMC controller through I2C (Inter-Integrated Circuit, two-wire serial bus) communication.

[0127] Through the embodiments of the present application, it is possible but not limited to taking the bus device including the USB device as an example. When it is detected that the P5V_USB short circuit has not returned to normal within the set time, the single-chip microcomputer control system outputs P5V_USB_EN=0, turns off the EFUSE module, and the single-chip microcomputer control system transmits the USB short circuit to the BMC controller through I2C communication, thereby solving the problem that when P5V_USB and P5V_STBY are short-circuited, the system cannot perceive it and cannot inform the customer through the BMC. This enables maintenance personnel to quickly locate the problem and take timely measures to restore the normal operation of the system or replace the faulty equipment, thereby improving the operation and maintenance efficiency of the server.

[0128] At the same time, when it is detected that the P5V_STBY short circuit has not returned to normal within the set time, the single-chip microcomputer control system outputs P5V_STBY_EN_MOS=1, turns off the POL power module, and the single-chip microcomputer control system transmits the board short circuit to the BMC controller through I2C communication, which solves the problem that the POL power module will restart when SCP protection occurs, and there is a risk of burning the POL power module. Maintenance personnel can promptly understand the board short circuit and take necessary measures, such as power-off inspection and replacement of faulty boards, to prevent further damage to the system, thereby improving the safety of the power supply circuit of the bus device power supply and the convenience of operation and maintenance.

[0129] In this embodiment, a control device for a bus device power supply is also provided, and the device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0130] Figure 6 is a structural block diagram of a bus device power supply device according to an embodiment of the present application, such as Figure 6 As shown, 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 used to power a bus device connected to the bus port, the startup control device is used to connect the bus device power supply, and the device includes:

[0131] A first detection module 602, configured to detect a power supply state of the connected bus device power supply, wherein the power supply state is used to indicate a relationship between a voltage output by the bus device power supply and a target voltage threshold;

[0132] A second detection module 604 is used to detect a target object where a target fault causing the power supply state is located, and a target fault type to which the target fault belongs on the target object, 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 the target voltage threshold, wherein the target object includes the bus device or the bus device power supply;

[0133] The control module 606 is used to control the operation of the bus device power supply according to the target object and the target fault type.

[0134] Through the above device, when it is detected that the voltage output by the bus device power supply is less than or equal to the voltage threshold, the startup control device will further determine the object that causes the abnormal power supply state (for example, the bus device or the bus device power supply) and identify the fault type of the object; according to the object and fault type that have failed, the startup control device can take corresponding measures to control the operation of the bus device power supply (for example, stop running or restart). In this way, the damage to the bus device power supply caused by directly restarting the bus device power supply in the event of a fault of a different fault type is avoided, and the bus device power supply can be controlled to restart or stop running according to different fault types, and the bus device power supply can be protected. Therefore, the problem of low safety of the operation of the bus device power supply can be solved, and the effect of improving the safety of the operation of the bus device power supply can be achieved.

[0135] In an exemplary embodiment, the bus device power supply includes a first power supply and a second power supply, the first power supply is used to power the second power supply, the second power supply is used to power the bus device, the first power supply includes a first detection pin, the second power supply includes a second detection pin, the startup control device is connected to both the first detection pin and the second detection pin, and the first detection module includes:

[0136] an extraction unit, configured to extract a first state signal output by the first detection pin, and to extract a second state signal output by the second detection pin, wherein the first state signal is used to indicate a relationship between a voltage output by the first power supply and a first voltage threshold, and the second state signal is used to indicate a relationship between a 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;

[0137] 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 state signal is used to indicate 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 is used to indicate that the voltage output by the second power supply is less than or equal to the second voltage threshold.

[0138] In an exemplary embodiment, the bus device power supply includes a first power supply and a second power supply, a voltage output terminal of the first power supply is connected to a 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, and the voltage output terminal of the second power supply is connected to the bus port, and 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 the target voltage threshold, the second detection module includes:

[0139] a first detection unit, configured to detect a first connection attribute of the first connection segment, and to detect a second connection attribute of the second connection segment;

[0140] The second detection unit is configured to detect the target object and the target fault type according to the first connection attribute and the second connection attribute.

[0141] In an exemplary embodiment, the second detection unit is used to:

[0142] In a case where the first connection attribute includes a first impedance to ground of the first connection segment and the second connection attribute includes a second impedance to ground of the second connection segment, detecting whether the first impedance to ground falls within a first impedance to ground range to obtain a first detection result, and detecting whether the second impedance to ground falls within a second impedance to ground range to obtain a second detection result, wherein the first impedance to ground range includes the impedance to ground of the first connection segment when a target object of the first fault causing the power supply state is the first power supply, and the target fault includes the first fault, and the second impedance to ground range includes the impedance to ground of the second connection segment when a target object of the second fault causing the power supply state is the connected bus device, and the target fault includes the second fault;

[0143] According to the first detection result and the second detection result, the target object is detected, and the target fault type is detected.

[0144] In an exemplary embodiment, the second detection unit is further configured to:

[0145] In a case where 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 to be the first power supply, and a first fault type corresponding to the first impedance to ground is obtained from first candidate impedance to ground and first candidate fault types having a corresponding relationship, wherein the target fault type includes the first fault type;

[0146] When the first detection result is used to indicate 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 to be the bus device, and a second fault type corresponding to the second ground impedance is obtained from second candidate ground impedances and second candidate fault types having a corresponding relationship, wherein the target fault type includes the second fault type.

[0147] In an exemplary embodiment, the startup control device is further used to connect to a management controller, and the control module includes:

[0148] a first processing unit, configured to, when the target object includes a first power supply in the bus device power supply and a first fault of a first short circuit type occurs in the first power supply, control the first power supply to stop running, and send first fault information to the connected management controller, wherein the first fault information is used to prompt that the first fault of a first short circuit type occurs in the first power supply, the target fault type includes a first fault type, the first fault type includes the first short circuit type, and the target fault includes the first fault;

[0149] A second processing unit is used for continuously detecting whether the second fault of the bus device has been restored within a target time period when the target object includes the connected bus device and the bus device has a second fault of a second short circuit type; controlling the second power supply in the power supply of the bus device to operate when it is detected that the second fault of the bus device has been restored; and controlling the second power supply to stop operating and sending second fault information to the management controller when it is detected that the second fault of the bus device has not been restored within the target time period, wherein the second fault information is used to indicate that the bus device has 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.

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

[0151] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0152] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0153] An embodiment of the present application further provides an electronic device, 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 execute the steps in any one of the above method embodiments.

[0154] In an 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.

[0155] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.

[0156] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.

[0157] An embodiment of the present application also provides a computer program, which 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 the processor executes the computer instructions, so that the computer device performs the steps in any one of the above method embodiments.

[0158] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0159] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0160] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for controlling a bus device power supply, characterized in that: 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 includes a first power supply and a second power supply, the startup control device is connected to a first connection segment, the voltage output end of the first power supply and the voltage input end 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 end of the second power supply and the bus port are connected through the second connection segment, the bus device power supply is used to power a bus device connected to the bus port, the method includes: detecting a power supply state of the bus device power supply, wherein the power supply state is used to indicate a relationship between a voltage output by the bus device power supply and a target voltage threshold; in the case where the power supply state is used to indicate that the voltage output by the bus device power supply 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 to which the target fault belongs on the target object, wherein the target object includes the bus device or the bus device power supply; and controlling the operation of the bus device power supply according to the target object and the target fault type; The method of detecting, when the power supply state is used to indicate that the voltage output by the power supply of the bus device is less than or equal to the target voltage threshold, a target object where a target fault causing the power supply state is located, and a target fault type to which the target fault belongs on the target object, 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 according to the first connection attribute and the second connection attribute.

2. The method according to claim 1, characterized in that The first power supply is used to supply power to the second power supply, the second power supply is used to supply power to the bus device, the first power supply includes a first detection pin, the second power supply includes a second detection pin, the startup control device is connected to both the first detection pin and the second detection pin, and the detection of the power supply state of the connected bus device power supply includes: Extracting a first state signal output by the first detection pin, and extracting a second state signal output by the second detection pin, wherein the first state signal is used to indicate a relationship between a voltage output by the first power supply and a first voltage threshold, and the second state signal is used to indicate a relationship between a 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 is used to indicate 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 is used to indicate 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 as indicating 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 detecting the target object and the target fault type according to the first connection attribute and the second connection attribute includes: In a case where the first connection attribute includes a first impedance to ground of the first connection segment and the second connection attribute includes a second impedance to ground of the second connection segment, detecting whether the first impedance to ground falls within a first impedance to ground range to obtain a first detection result, and detecting whether the second impedance to ground falls within a second impedance to ground range to obtain a second detection result, wherein the first impedance to ground range includes the impedance to ground of the first connection segment when a target object of the first fault causing the power supply state is the first power supply, and the target fault includes the first fault, and the second impedance to ground range includes the impedance to ground of the second connection segment when a target object of the second fault causing the power supply state is the connected bus device, and the target fault includes the second fault; According to the first detection result and the second detection result, the target object is detected, and the target fault type is detected.

4. The method according to claim 3, characterized in that The detecting the target object and the target fault type according to the first detection result and the second detection result includes: In a case where 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 to be the first power supply, and a first fault type corresponding to the first impedance to ground is obtained from first candidate impedance to ground and first candidate fault types having a corresponding relationship, wherein the target fault type includes the first fault type; When the first detection result is used to indicate 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 to be the bus device, and a second fault type corresponding to the second ground impedance is obtained from second candidate ground impedances and second candidate fault types having a corresponding relationship, wherein the target fault type includes the second fault type.

5. The method according to claim 1, characterized in that The startup control device is also used to connect to a management controller, and the operation of the bus device power supply is controlled according to the target object and the target fault type, including: In a case where the target object includes a first power supply in the bus device power supply and a first fault of a first short circuit type occurs in the first power supply, the first power supply is controlled to stop running, and first fault information is sent to the connected management controller, wherein the first fault information is used to prompt that the first fault of a first short circuit type occurs in the first power supply, the target fault type includes a first fault type, the first fault type includes the first short circuit type, and the target fault includes the first fault; In a case where the target object includes the connected bus device and a second fault of a second short circuit type occurs in the bus device, whether the second fault occurring in the bus device has been restored is continuously detected within a target duration; in a case where it is detected that the second fault occurring in the bus device has been restored, the second power supply in the power supply of the bus device is controlled to operate; in a case where it is detected that the second fault occurring in the bus device has not been restored within the target duration, the second power supply is controlled to stop operating, and second fault information is sent to the management controller, wherein the second fault information is used to indicate that the second fault of a second short circuit type occurs in the bus device, 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.

6. A startup control device, characterized in that: It includes a controller and a detector, the controller is connected to the detector, and the detector and the controller are both 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 the target voltage threshold; and 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 where the target fault causing the power supply state is located, and the target fault type to which the target fault belongs on the target object, 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 the target voltage threshold, wherein 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, and the bus device power supply is used to supply power to the bus device connected to the bus port; Wherein, the bus device power supply includes a first power supply and a second power supply, the startup control device is connected to the first connection segment, the voltage output end of the first power supply and the voltage input end of the second power supply are connected through the first connection segment, the startup control device is connected to the second connection segment, and the voltage output end of the second power supply and the bus port are connected through the second connection segment. 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 the target voltage threshold, the detector can also be used 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 the target object and the target fault type according to the first connection attribute and the second connection attribute.

7. The startup control device according to claim 6, characterized in that: The detector comprises 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 section, the second input pin is connected to the second connection section, the first output pin is connected to the controller, and the second output pin is connected to the controller; The detector is used to generate a high-level first detection signal when it is detected that the target object of the target fault causing the power supply state is the first power supply and a first fault of a first short circuit type occurs in the first power supply, and transmit the high-level first detection signal to the controller through the first output pin; and to generate a high-level second detection signal when it is detected that the target object of the target fault causing the power supply state is the bus device power supply and a second fault of a second short circuit type occurs in the bus device power supply, and transmit the high-level second detection signal to the controller through the second output pin, wherein the target fault includes the first fault and the second fault, and the target fault types include the first short circuit type and the second short circuit type.

8. The startup control device according to claim 7, characterized in that: The detector is used to generate a low-level first detection signal when it is detected that the first power supply has a fault of a type other than the first short-circuit type in a first reference type, and transmit the low-level first detection signal to the controller through the first output pin, wherein the first reference type includes all types of faults allowed to occur in the first power supply, and to generate a low-level second detection signal when it is detected that the second power supply has a fault of a type other than the second short-circuit type in a second reference type, and transmit the low-level second detection signal to the controller through the second output pin, wherein the second reference type includes all types of faults allowed to occur in the second power supply.

9. The startup control device according to claim 6, characterized in that: The first power supply includes a first enable pin, the second power supply includes a second enable pin, the startup control device further includes a switch device, the controller is connected to the switch device, the switch device is used to connect the first enable pin, the controller is used to connect the second enable pin, and the controller is also used to connect a management controller; The controller is used to generate a high-level first control signal when the first detection signal output by the extracted first output pin is at a high level, send the high-level first control signal to the switch device, and send first fault information to the connected management controller, wherein the first fault information is used to prompt that a first fault of a first short circuit type occurs in the first power supply; The controller is used for continuously detecting whether the second fault of the bus device has been restored within a target duration when the first detection signal outputted by the extracted first output pin is at a low level and the second detection signal outputted by the extracted second output pin is at a high level, and sending a high-level second enable signal to the second enable pin when it is detected that the second fault of the bus device has been restored, and sending a low-level second enable signal to the second enable pin when it is detected that the second fault of the bus device has not been restored within the target duration, and sending second fault information to the management controller, wherein the second fault information is used to indicate that the second fault of a second short circuit type has occurred in the bus device; Among them, 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.

10. The startup control device according to claim 9, characterized in that: When the switch device receives the first control signal of a high level, the switch device is turned on. When the switch device is turned on, the first enable signal of the first power supply is at a low level, wherein the first enable signal of the low level is used to control the first power supply to stop running; When the switch device receives the first control signal of a low level, the switch device is turned off. When the switch device is turned off, the first enable signal of the first power supply is at a high level. The high level first enable signal is used to control the operation of the first power supply.

11. A control device for a bus device power supply, characterized in that: 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 includes a first power supply and a second power supply, the startup control device is connected to a first connection segment, a voltage output terminal of the first power supply and a voltage input terminal of the second power supply are connected via the first connection segment, the startup control device is connected to a second connection segment, a voltage output terminal of the second power supply and the bus port are connected via the second connection segment, the bus device power supply is used to supply power to a bus device connected to the bus port, the device includes: a first detection module, used to detect a power supply state of the connected bus device power supply, wherein the power supply state is used to indicate a relationship between a voltage output by the bus device power supply and a target voltage threshold; a second detection module, configured to detect, 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 the target voltage threshold, a target object where the target fault causing the power supply state is located, and a target fault type to which the target fault belongs on the target object, wherein the target object includes the bus device or the 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; When the power supply state is used to indicate that the voltage output by the power supply of the bus device is less than or equal to the target voltage threshold, the second detection module includes: a first detection unit, used to detect the first connection attribute of the first connection segment and the second connection attribute of the second connection segment; and a second detection unit, used to detect the target object and the target fault type according to the first connection attribute and the second connection attribute.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 5 when executed by a processor.

13. 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, the steps of the method described in any one of claims 1 to 5 are implemented.

14. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method described in any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Power supply control method, equipment and device, storage medium and electronic device

    CN116301278A

  • Mainboard system of multi-CPU (central processing unit) module, control method of mainboard and computing equipment

    CN116795195A

  • Power connector connection state detection method and device, electronic equipment and medium

    CN117805695A