Server power-on detection method, electronic equipment and system
By setting detection components at the connection between the motherboard and the hardware device of the server, and using the detection current and working parameters to determine the short circuit, the motherboard burn problem is solved, and the operating cost and maintenance efficiency of the server are improved.
Patent Information
- Application Number
- CN202110995348.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-27
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2041-08-27
AI Technical Summary
In the server architecture, short circuit failures often occur at the connection between the motherboard and the hardware device, causing the motherboard to burn and affect the customer's on-site environment and business evaluation.
The detection element is set at the connection between the motherboard of the server and the hardware device. By generating the detection current and obtaining the working parameters of the detection element, it determines whether there is a short circuit and generates an alarm message to locate the faulty hardware device.
It effectively reduces the motherboard burning problem caused by short circuits, and improves the operating cost and maintenance efficiency of the server.
Smart Images

Figure CN113868034B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of servers, and in particular to a power-on detection method, electronic equipment and system on a server. Background Art
[0002] In the server architecture, the hardware devices connected to the motherboard include risers, PCIe cards, etc. In the existing solution, the motherboard and the hardware devices are generally powered on for live testing after installation. If the connection between the motherboard and the hardware devices is normal, the power-on test can be performed normally. However, in actual business applications, motherboards are often burned, mainly because of the connection between the riser card and the motherboard, which seriously affects the customer's on-site environment and business evaluation. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides a server power-on detection method, electronic equipment and system to solve the problem of fault detection at the connection between the mainboard and the hardware device.
[0004] According to a first aspect, an embodiment of the present invention provides a server power-on detection method, which is applied to a target server, and the method includes:
[0005] When a power-on operation is detected, short-circuit detection is started and a detection current is generated;
[0006] Controlling the detection current to flow through a detection element at a target detection position and obtaining a working parameter of the detection element, wherein the target detection position is a connection point between a mainboard of the target server and a hardware device;
[0007] Based on the working parameters of the detection element, it is determined whether a short circuit exists at the target detection position.
[0008] The server power-on detection method provided by the embodiment of the present invention sets a detection element at the connection between the mainboard and the hardware device of the target server, and uses the working parameters of the detection element under the action of the detection current to determine whether there is a short circuit, thereby accurately detecting the short circuit at the connection, effectively reducing the problem of mainboard burning caused by short circuit in the server, and ensuring the operating cost of the server.
[0009] In combination with the first aspect, in a first implementation of the first aspect, generating a detection current includes:
[0010] Controlling the power supply module to generate the detection current;
[0011] or,
[0012] The preset power supply module is controlled to generate the detection current.
[0013] The server power-on detection method provided in an embodiment of the present invention utilizes the power module of the target server to generate the detection current, which can avoid the setting of other power modules and simplify the circuit structure; or, utilizes a preset power module to generate the detection current, which can simplify the control process to avoid affecting the normal operation of the target server.
[0014] In combination with the first aspect, in a second implementation manner of the first aspect, the starting short circuit detection includes:
[0015] Get the value of the target reserved bit of the power-on protection switch;
[0016] When the value of the target reserved bit is a preset value, the short circuit detection is started.
[0017] The server power-on detection method provided by the embodiment of the present invention uses a reserved position to implement a switch for short circuit detection, which can make full use of existing resources and avoid introducing other modules, thereby maximizing the utilization of resources.
[0018] In combination with the first aspect, in a third implementation manner of the first aspect, determining whether there is a short circuit at the target detection position based on the working parameters of the detection element includes:
[0019] When a short circuit exists at the target detection position, obtaining position information of the target detection position;
[0020] Alert information is generated based on the location information.
[0021] The server power-on detection method provided in the embodiment of the present invention generates alarm information by using position information, and can accurately locate the target detection position, thus providing conditions for subsequent maintenance.
[0022] In combination with the third implementation manner of the first aspect, in the fourth implementation manner of the first aspect, generating the warning information based on the location information includes:
[0023] Determine the target hardware device corresponding to the short circuit by using the position information;
[0024] The mapping relationship between the hardware device and the flashing state of the warning light is used to determine the warning information corresponding to the target hardware device to control the flashing state of the warning light.
[0025] The server power-on detection method provided in the embodiment of the present invention uses the mapping relationship between the hardware device and the flashing state of the warning light to determine the alarm information. Subsequently, based on the flashing state of the warning light, the hardware device with a short circuit can be determined, and the hardware device can be accurately located.
[0026] In combination with the third implementation manner of the first aspect, in the fifth implementation manner of the first aspect, obtaining the location information of the target detection location in the target server includes:
[0027] Obtain the slot corresponding to the target detection position to determine the position information.
[0028] The server power-on detection method provided by the embodiment of the present invention uses slot information to determine position information, and includes the slot information in the alarm information to facilitate accurate positioning of the fault.
[0029] In combination with the first aspect, in a sixth implementation of the first aspect, determining whether there is a short circuit at the target detection position based on the working parameters of the detection element includes:
[0030] When there is no short circuit at the target detection position, generation of the detection current is stopped.
[0031] According to a second aspect, an embodiment of the present invention provides a server power-on detection device, which is applied to a target server, and the device includes:
[0032] A start-up module, used for starting short-circuit detection and generating a detection current when a power-on operation is detected;
[0033] A control module, used for controlling the detection current to flow through a detection element at a target detection position and obtaining a working parameter of the detection element, wherein the target detection position is a connection between a mainboard of the target server and a hardware device;
[0034] The detection module is used to determine whether there is a short circuit at the target detection position based on the working parameters of the detection element.
[0035] The server power-on detection device provided in the embodiment of the present invention sets a detection element at the connection between the mainboard and the hardware device of the target server, and uses the working parameters of the detection element under the action of the detection current to determine whether there is a short circuit, thereby accurately detecting the short circuit at the connection, effectively reducing the problem of mainboard burning caused by short circuit in the server, and ensuring the operating cost of the server.
[0036] According to the third aspect, an embodiment of the present invention provides an electronic device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the server electrical detection method described in the first aspect or any one of the embodiments of the first aspect by executing the computer instructions.
[0037] According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the server power-on detection method described in the first aspect or any one of the embodiments of the first aspect.
[0038] According to a fifth aspect, an embodiment of the present invention provides a server power-on detection system, including:
[0039] Motherboard;
[0040] A hardware device, wherein the hardware device is connected to the main board;
[0041] A detection element is arranged at a target detection position between the mainboard and the hardware device;
[0042] The electronic device described in the third aspect of the present invention is connected to the mainboard.
[0043] The server power-on detection system provided in the embodiment of the present invention sets a detection element at the connection between the mainboard and the hardware device of the target server, and uses the working parameters of the detection element under the action of the detection current to determine whether there is a short circuit, thereby accurately detecting the short circuit at the connection, effectively reducing the problem of mainboard burning caused by short circuit in the server, and ensuring the operating cost of the server. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0045] Figure 1 is a structural block diagram of a server power-on detection system according to an embodiment of the present invention;
[0046] Figure 2 is a flow chart of a method for power-on detection on a server according to an embodiment of the present invention;
[0047] Figure 3 is a flow chart of a method for power-on detection on a server according to an embodiment of the present invention;
[0048] Figure 4 is a flow chart of a method for power-on detection on a server according to an embodiment of the present invention;
[0049] Figure 5 is a structural block diagram of a power-on detection device on a server according to an embodiment of the present invention;
[0050] Figure 6 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0052] The server power-on detection method provided in the embodiment of the present invention is used to detect the short circuit at the connection between the mainboard and the hardware device during the power-on process of the server, so as to avoid the damage to the mainboard caused by the short circuit.
[0053] Based on this, an embodiment of the present invention provides a server power-on detection system, such as Figure 1 As shown, the detection system includes an electronic device 10, a mainboard 20, a hardware device 30 and a detection element 40. The number of the hardware devices 30 connected to the mainboard 20 is not limited to Figure 1 It can be one as shown in , or it can be multiple, and can be set accordingly according to actual needs.
[0054] Specifically, the position where the mainboard 20 and the hardware device 30 are connected and the short circuit detection is required is called the target detection position, and a detection element is arranged at the target detection position. The detection element is used to detect whether a short circuit occurs at the target detection position. The detection element can be a thermistor, a thermocouple, or other detection elements, and it is only necessary to ensure that the detection element can detect a short circuit.
[0055] Take thermistor as an example. When a short circuit occurs, the temperature of the thermistor will rise and the voltage at both ends will change. Therefore, it is possible to determine whether the target detection position is short-circuited by detecting the temperature change or voltage change of the thermistor.
[0056] A detection loop is provided in the detection system so that the detection current flows through the detection element. For example, it flows out from the power supply that generates the detection current, passes through the mainboard, then flows through the detection element at the target detection position, flows through the detection element through the hardware device, and then returns to the power supply that generates the detection current. After the detection is completed, the detection current stops being generated, so that the detection loop will not affect the normal power-on and operation of the server.
[0057] The specific detection method will be described in detail below.
[0058] According to an embodiment of the present invention, an embodiment of an electrical detection method on a server is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0059] In this embodiment, a server power-on detection method is provided, which can be used for electronic devices, such as a target server, or a main control chip of the target server, etc. Figure 2 is a flow chart of a power-on detection method on a server according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0060] S11, when a power-on operation is detected, short circuit detection is started and a detection current is generated.
[0061] When the main control chip detects the power-on operation, the target server starts the power-on self-test and starts the short-circuit detection. Among them, the detection current used for short-circuit detection does not affect the normal power-on process of the target server. The detection current is very small. Compared with the normal current of the target server, the detection current is relatively small, and the short-circuit position can be detected, and the harm caused by the short circuit will also be small. Even if a short circuit occurs, due to the small detection current, the detection current will not cause great harm, that is, it will not cause damage to the motherboard.
[0062] S12, controlling the detection current to flow through the detection element at the target detection position and obtaining the working parameters of the detection element.
[0063] The target detection position is the connection point between the mainboard of the target server and the hardware device.
[0064] As mentioned above, a detection circuit is provided in the detection system, and the main control chip controls the detection current so that it flows through the detection element at the target detection position. The working parameters of the detection element are detected by the measuring element, and the detection results are sent to the main control chip. Accordingly, the main control chip can obtain the working parameters of the detection element. Among them, the detection parameters can be temperature, voltage, etc., which can be set accordingly according to the actual situation.
[0065] For example, a temperature sensor is provided in the detection system. During the detection process, the temperature sensor feeds back the measured temperature value to the main control chip in real time, that is, the main control chip obtains the working parameters of the detection element. Alternatively, a voltage detection element is provided in the detection system to measure the voltage across the detection element and feed back the measured voltage value to the main control chip.
[0066] Optionally, after the server is powered on and passes the self-test process, the detection current starts the flow detection of the target detection position, which can be controlled by the BMC chip. At this time, the BMC can be started and the process is burned into the chip.
[0067] S13, determining whether there is a short circuit at the target detection position based on the working parameters of the detection element.
[0068] During the power-on process of the target server, the main control chip can determine whether there is a short circuit at the target detection position based on the change of the working parameters of the detection element, or the relationship between the real-time working parameters and the threshold.
[0069] The server power-on detection method provided in this embodiment sets a detection element at the connection between the mainboard and the hardware device of the target server, and uses the working parameters of the detection element under the action of the detection current to determine whether there is a short circuit, thereby accurately detecting the short circuit at the connection, effectively reducing the problem of mainboard burning caused by short circuit in the server, and ensuring the operating cost of the server.
[0070] In this embodiment, a server power-on detection method is provided, which can be used for electronic devices, such as a target server, or a main control chip of the target server, etc. Figure 3 is a flow chart of a power-on detection method on a server according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:
[0071] S21, when a power-on operation is detected, short circuit detection is started and a detection current is generated.
[0072] For details, please see Figure 2 S11 of the illustrated embodiment will not be described in detail here.
[0073] S22, controlling the detection current to flow through the detection element at the target detection position and obtaining the working parameters of the detection element.
[0074] The target detection position is the connection point between the mainboard of the target server and the hardware device.
[0075] For details, please see Figure 2 S12 of the illustrated embodiment will not be described in detail here.
[0076] S23, determining whether there is a short circuit at the target detection position based on the working parameters of the detection element.
[0077] Specifically, the above S23 includes:
[0078] S231, determining whether there is a short circuit at the target detection position.
[0079] As described above, the main control chip can use the change of working parameters to determine whether there is a short circuit at the target detection position. When there is a short circuit at the target detection position, execute S232; otherwise, it indicates that there is no short circuit fault and the target server can be powered on and started normally, that is, execute S234.
[0080] S232, obtaining location information of the target detection location.
[0081] As mentioned above, the mainboard can be connected to multiple hardware devices. When the main control chip receives the working parameters of the detection element, it can mark the working parameters belonging to different detection elements to distinguish the target detection positions corresponding to different detection elements; that is, each target detection position corresponds to a unique identifier. When a short circuit occurs, the main control chip uses the identifier to distinguish which target detection position it is, thereby determining the location information of the target detection position. The location information can be the slot where the hardware device is located, or it can be the pin corresponding to the mainboard, and so on. There is no limitation on its specific form of expression here, and it can be set accordingly according to actual needs.
[0082] In an optional implementation of this embodiment, the above S232 may include obtaining a slot corresponding to the target detection position to determine position information, using the slot information to determine the position information, and including the slot information in the alarm information to facilitate accurate location of the fault.
[0083] S233, generating warning information based on the location information.
[0084] After determining the location information, the main control chip generates an alarm message based on the location information. The alarm message is used to notify relevant personnel to handle the fault, and the alarm message includes the location information of the short circuit fault.
[0085] In some optional implementations of this embodiment, the above S233 includes:
[0086] (1) Use the location information to determine the target hardware device corresponding to the short circuit.
[0087] After the main control chip determines the location information of the target detection position, it can determine the hardware device connected to the target detection position, and then determine the hardware device corresponding to the short circuit. For easy distinction, the hardware device corresponding to the short circuit is determined as the target hardware device.
[0088] (2) Using the mapping relationship between the hardware device and the flashing state of the warning light, the warning information corresponding to the target hardware device is determined to control the flashing state of the warning light.
[0089] The mapping relationship between hardware devices and the flashing status of the warning light is stored in the main control chip. For example, hardware device 1 corresponds to flashing status 1, that is, the warning light flashes three times in a row; hardware device 2 corresponds to flashing status 2, that is, the warning light flashes one long and two short continuously; hardware device 3 corresponds to flashing status 3, that is, the warning light flashes one short and two long continuously.
[0090] The specific definition of the flashing state can be made according to actual needs, and no limitation is made here, as long as it can distinguish different hardware devices.
[0091] For example, the hardware devices include RISER cards and PCIe cards, and the mapping relationship is as follows:
[0092] Warning light flashing status Hardware Devices 001 RISER Card 010 PCIe Card
[0093] Among them, 1 means the on time is long; 0 means the on time is short; 001 means short-long, and the target hardware device is the RISER card; 010 means short-long-short, and the target hardware device is the PCIe card.
[0094] Alternatively, data bits may be added on this basis to specifically characterize the target hardware device.
[0095] The mapping relationship between the hardware device and the flashing state of the warning light is used to determine the warning information. Subsequently, the hardware device with a short circuit can be determined based on the flashing state of the warning light, and the hardware device can be accurately located.
[0096] S234, stop generating the detection current.
[0097] After stopping generating the detection current, the target server is powered on normally.
[0098] The server power-on detection method provided in this embodiment generates alarm information by using position information, and can accurately locate the target detection position, thus providing conditions for subsequent maintenance.
[0099] In this embodiment, a server power-on detection method is provided, which can be used for electronic devices, such as a target server, or a main control chip of the target server, etc. Figure 4 is a flow chart of a power-on detection method on a server according to an embodiment of the present invention. Figure 4 As shown, the process includes the following steps:
[0100] S31, when a power-on operation is detected, short circuit detection is started and a detection current is generated.
[0101] Specifically, the above S31 includes:
[0102] S311, obtaining the value of the target reserved position of the power-on protection switch.
[0103] The power-on protection switch is a functional module in the main control chip, which is used to control the power-on process of the target server, and can also be called a system maintenance switch. In this embodiment, the target reserved position in the power-on protection switch is used as a trigger switch for starting short circuit detection. The details of the power-on protection switch are as follows:
[0104]
[0105] The 3 bits of X1 are determined as target reserved bits, which are specifically defined as follows:
[0106] OFF (default) = power-on protection scheme is not enabled;
[0107] ON = Start the power-on protection scheme.
[0108] In some optional implementations of this embodiment, the power-on protection switch may also use a software solution and be installed in the BIOS options.
[0109] S312, when the value of the target reserved bit is a preset value, start short circuit detection.
[0110] When the power-on protection scheme needs to be started, that is, short-circuit detection, the 3rd bit of X1 is set to ON; when the power-on protection scheme does not need to be enabled, that is, short-circuit detection is not required, the 3rd bit of X1 is set to OFF.
[0111] The main control chip determines the target reserved bit value of the power-on protection switch to determine whether it is a preset value, for example, whether it is ON. When the target reserved bit value is the preset value, short circuit detection is started.
[0112] S313, controlling the power supply module to generate a detection current.
[0113] The power module is used to provide working power to the target server. When the short circuit detection is started, the main control chip controls the power module to generate a detection current. As mentioned above, the detection current is smaller than the normal working current of the target server.
[0114] Specifically, when the target server is powered by a main power supply and a backup power supply, the backup power supply can be controlled to generate a detection current for short circuit detection, that is, the detection current is generated by discharging a button battery.
[0115] In some optional implementations of this embodiment, a preset power module may be controlled to generate the detection current, such as a button battery, etc. Using a preset power module to generate the detection current may simplify the control process to avoid affecting the normal operation of the target server.
[0116] S32, controlling the detection current to flow through the detection element at the target detection position and obtaining the working parameters of the detection element.
[0117] The target detection position is the connection point between the mainboard of the target server and the hardware device.
[0118] For details, please see Figure 3 S22 of the illustrated embodiment will not be described in detail here.
[0119] S33, determining whether there is a short circuit at the target detection position based on the working parameters of the detection element.
[0120] For details, please see Figure 3 S23 of the illustrated embodiment will not be described in detail here.
[0121] The server power-on detection method provided in this embodiment uses a reserved position to implement a short circuit detection switch, which can make full use of existing resources and avoid introducing other modules to maximize resource utilization. In addition, the detection current is generated by the power module of the target server, which can avoid the setting of other power modules and simplify the circuit structure.
[0122] In this embodiment, a server power-on detection device is also provided, which 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 be a combination of software and / or hardware that implements 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.
[0123] This embodiment provides a server power-on detection device, which is applied to a target server, such as Figure 5 As shown, including:
[0124] A starting module 41, used to start short circuit detection and generate a detection current when a power-on operation is detected;
[0125] A control module 42, used for controlling the detection current to flow through the detection element at the target detection position and obtaining the working parameters of the detection element, wherein the target detection position is the connection between the mainboard of the target server and the hardware device;
[0126] The detection module 43 is used to determine whether there is a short circuit at the target detection position based on the working parameters of the detection element.
[0127] The server power-on detection device provided in this embodiment sets a detection element at the connection between the mainboard and the hardware device of the target server, and uses the working parameters of the detection element under the action of the detection current to determine whether there is a short circuit, so as to accurately detect the short circuit at the connection, effectively reduce the problem of mainboard burning caused by short circuit of the server, and ensure the operation cost of the server.
[0128] The server power-on detection device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0129] The further functional description of each of the above modules is the same as that of the above corresponding embodiments and will not be repeated here.
[0130] The embodiment of the present invention also provides an electronic device having the above Figure 5 The server power-on detection device is shown.
[0131] See also Figure 6 , Figure 6 is a schematic diagram of the structure of an electronic device provided by an optional embodiment of the present invention, such as Figure 6 As shown, the terminal may include: at least one processor 51, such as a CPU (Central Processing Unit), at least one communication interface 53, a memory 54, and at least one communication bus 52. The communication bus 52 is used to realize the connection and communication between these components. The communication interface 53 may include a display screen (Display) and a keyboard (Keyboard), and the optional communication interface 53 may also include a standard wired interface and a wireless interface. The memory 54 may be a high-speed RAM memory (Random Access Memory) or a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 54 may optionally be at least one storage device located away from the aforementioned processor 51. The processor 51 may be combined with Figure 5 In the described device, the memory 54 stores an application program, and the processor 51 calls the program code stored in the memory 54 to execute any of the above method steps.
[0132] The communication bus 52 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The communication bus 52 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0133] Among them, the memory 54 may include a volatile memory (English: volatile memory), such as a random access memory (English: random-access memory, abbreviated: RAM); the memory may also include a non-volatile memory (English: non-volatile memory), such as a flash memory (English: flash memory), a hard disk drive (English: hard disk drive, abbreviated: HDD) or a solid-state drive (English: solid-state drive, abbreviated: SSD); the memory 54 may also include a combination of the above types of memory.
[0134] The processor 51 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and a NP.
[0135] The processor 51 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0136] Optionally, the memory 54 is also used to store program instructions. The processor 51 can call the program instructions to implement the present application Figures 2 to 4 The server power-on detection method shown in any embodiment.
[0137] The embodiment of the present invention also provides a non-transient computer storage medium, which stores computer executable instructions, and the computer executable instructions can execute the server power-on detection method in any of the above method embodiments. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (Flash Memory), a hard disk (HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above types of memory.
[0138] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A server power-on detection method, characterized in that: Applied to a target server, the method comprises: When a power-on operation is detected, short-circuit detection is started and a detection current is generated; Controlling the detection current to flow through a detection element at a target detection position and obtaining a working parameter of the detection element, wherein the target detection position is a connection point between a mainboard of the target server and a hardware device; When a short circuit is determined to exist at the target detection position based on the working parameters of the detection element, the position information of the target detection position in the target server is obtained, and the position information is used to generate alarm information. The position information is determined based on the slot corresponding to the target detection position or the pin of the mainboard corresponding to the target detection position.
2. The server power-on detection method according to claim 1, characterized in that: The generating a detection current comprises: Controlling the power supply module to generate the detection current; or, The preset power supply module is controlled to generate the detection current.
3. The server power-on detection method according to claim 1, characterized in that: The starting short circuit detection comprises: Get the value of the target reserved bit of the power-on protection switch; When the value of the target reserved bit is a preset value, the short circuit detection is started.
4. The server power-on detection method according to claim 1, characterized in that: The method further comprises: Alert information is generated based on the location information.
5. The server power-on detection method according to claim 4, characterized in that: The generating of warning information based on the location information includes: Determine the target hardware device corresponding to the short circuit by using the position information; The mapping relationship between the hardware device and the flashing state of the warning light is used to determine the warning information corresponding to the target hardware device to control the flashing state of the warning light.
6. The server power-on detection method according to claim 1, characterized in that: The obtaining the location information of the target detection location in the target server includes: Obtain the slot corresponding to the target detection position to determine the position information.
7. The server power-on detection method according to claim 1, characterized in that: The determining whether there is a short circuit at the target detection position based on the working parameters of the detection element includes: When there is no short circuit at the target detection position, generation of the detection current is stopped.
8. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the server electrical detection method according to any one of claims 1 to 7 by executing the computer instructions.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the server electrical detection method described in any one of claims 1-7.
10. A server power-on detection system, characterized in that: include: Motherboard; A hardware device, wherein the hardware device is connected to the main board; A detection element is arranged at a target detection position between the mainboard and the hardware device; The electronic device according to claim 8, wherein the electronic device is connected to the mainboard.