CN113868034A - Server power-on detection method, electronic equipment and system - Google Patents

Server power-on detection method, electronic equipment and system Download PDF

Info

Publication number
CN113868034A
CN113868034A CN202110995348.9A CN202110995348A CN113868034A CN 113868034 A CN113868034 A CN 113868034A CN 202110995348 A CN202110995348 A CN 202110995348A CN 113868034 A CN113868034 A CN 113868034A
Authority
CN
China
Prior art keywords
detection
target
server
short circuit
power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110995348.9A
Other languages
Chinese (zh)
Inventor
魏丹
顾雷雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Security Technologies Co Ltd
Original Assignee
New H3C Security Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN202110995348.9A priority Critical patent/CN113868034A/en
Publication of CN113868034A publication Critical patent/CN113868034A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2284Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's

Abstract

The invention relates to the technical field of servers, in particular to a server power-on detection method, electronic equipment and a system, wherein the method is applied to a target server and comprises the steps of starting short circuit detection and generating detection current when power-on operation is detected; controlling the detection current to flow through a detection element at a target detection position and acquiring working parameters of the detection element, wherein the target detection position is a connection position of a mainboard of the target server and a hardware device; and determining whether the target detection position has short circuit or not based on the working parameters of the detection element. The detection element is arranged at the joint of the mainboard of the target server and the hardware device, and the working parameter of the detection element is utilized to determine whether the short circuit exists under the action of the detection current, so that the short circuit condition of the joint can be accurately detected, the problem of mainboard burnout of the server caused by the short circuit is effectively reduced, and the operation cost of the server is guaranteed.

Description

Server power-on detection method, electronic equipment and system
Technical Field
The invention relates to the technical field of servers, in particular to a server power-on detection method, electronic equipment and system.
Background
In the server architecture, the hardware devices connected to the main board include a RISER, a PCIe card, and the like. In the prior art, the power is generally supplied after the mainboard and the hardware device are installed to perform live detection. If the connection between the mainboard and the hardware device is normal, the power-on detection can be normally carried out. However, in practical business applications, the burning of the motherboard frequently occurs, mainly at the connection position between hardware devices such as the RISER card and the motherboard, which seriously affects the on-site environment and business evaluation of customers.
Disclosure of Invention
In view of this, embodiments of the present invention provide a server power-on detection method, an electronic device, and a system, so as to solve the problem of fault detection at a connection between a motherboard and a hardware device.
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:
when the power-on operation is detected, starting short circuit detection and generating detection current;
controlling the detection current to flow through a detection element at a target detection position and acquiring working parameters of the detection element, wherein the target detection position is a connection position of a mainboard of the target server and a hardware device;
and determining whether the target detection position has short circuit or not based on the working parameters of the detection element.
According to the server power-on detection method provided by the embodiment of the invention, the detection element is arranged at the connection position of the mainboard of the target server and the hardware device, and the working parameter of the detection element is utilized to determine whether the short circuit exists under the action of the detection current, so that the short circuit condition of the connection position can be accurately detected, the problem of mainboard burnout of the server caused by the short circuit is effectively reduced, and the operation cost of the server is ensured.
With reference to the first aspect, in a first implementation manner of the first aspect, the generating a detection current includes:
controlling a power supply module to generate the detection current;
alternatively, the first and second electrodes may be,
and controlling a preset power supply module to generate the detection current.
According to the server power-on detection method provided by the embodiment of the invention, the detection current is generated by using the power module of the target server, so that the arrangement of other power modules can be avoided, and the circuit structure is simplified; or, the detection current is generated by utilizing the preset power supply module, so that the control process can be simplified, and the normal influence on the target server is avoided.
With reference to the first aspect, in a second implementation manner of the first aspect, the initiating short circuit detection includes:
acquiring the value of a target reserved bit of a power-on protection switch;
and starting the short circuit detection when the value of the target reserved bit is a preset value.
According to the server power-on detection method provided by the embodiment of the invention, the switch for realizing short-circuit detection by using the reserved bit can fully utilize the existing resources, avoid introducing other modules and realize the maximum utilization of the resources.
With reference to the first aspect, in a third implementation manner of the first aspect, the determining whether the target detection position has a short circuit based on an operating parameter of the detection element includes:
when the target detection position has a short circuit, acquiring position information of the target detection position;
and generating alarm information based on the position information.
According to the server power-on detection method provided by the embodiment of the invention, the alarm information is generated by utilizing the position information, so that the alarm information can be accurately positioned to the target detection position, and conditions are provided for subsequent maintenance.
With reference to the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the generating alarm information based on the location information includes:
determining a target hardware device corresponding to the short circuit by using the position information;
and determining alarm information corresponding to the target hardware device by utilizing the mapping relation between the hardware device and the flash state of the alarm lamp so as to control the flash state of the alarm lamp.
According to the server power-on detection method provided by the embodiment of the invention, the alarm information is determined by utilizing the mapping relation between the hardware device and the flash state of the alarm lamp, and the hardware device with the short circuit can be determined subsequently based on the flash state of the alarm lamp, so that the hardware device can be accurately positioned.
With reference to the third implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the obtaining location information of the target detection location in the target server includes:
and acquiring a slot position corresponding to the target detection position to determine the position information.
The server power-on detection method provided by the embodiment of the invention determines the position information by using the slot position information, and the slot position information is included in the alarm information, so that the fault can be accurately positioned.
With reference to the first aspect, in a sixth implementation manner of the first aspect, the determining whether the target detection position has a short circuit based on an operating parameter of the detection element includes:
and when the target detection position has no short circuit, stopping generating the detection current.
According to a second aspect, an embodiment of the present invention provides a server power-on detection apparatus, which is applied to a target server, and the apparatus includes:
the starting module is used for starting short circuit detection and generating detection current when power-on operation is detected;
the control module is used for controlling the detection current to flow through a detection element at a target detection position and acquiring working parameters of the detection element, wherein the target detection position is a connection position of a mainboard of the target server and a hardware device;
and the detection module is used for determining whether the short circuit exists at the target detection position or not based on the working parameters of the detection element.
According to the server power-on detection device provided by the embodiment of the invention, the detection element is arranged at the connection position of the mainboard of the target server and the hardware device, and the working parameter of the detection element is utilized to determine whether the short circuit exists under the action of the detection current, so that the short circuit condition of the connection position can be accurately detected, the problem of mainboard burnout of the server caused by the short circuit is effectively reduced, and the operation cost of the server is ensured.
According to a third aspect, an embodiment of the present invention provides an electronic device, including: the server power-on detection method includes a memory and a processor, where the memory and the processor are communicatively connected to each other, and the memory stores computer instructions, and the processor executes the computer instructions to execute the server power-on detection method described in the first aspect or any one of the implementation manners of the first aspect.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores computer instructions for causing a computer to execute the method for detecting power on of a server described in the first aspect or any one of the implementation manners of the first aspect.
According to a fifth aspect, an embodiment of the present invention provides a server power-on detection system, including:
a main board;
a hardware device connected with the motherboard;
a detection element provided at a target detection position between the main board and the hardware device;
in the electronic device according to the third aspect of the present invention, the electronic device is connected to the main board.
According to the server power-on detection system provided by the embodiment of the invention, the detection element is arranged at the connection position of the mainboard of the target server and the hardware device, and the working parameter of the detection element is utilized to determine whether the short circuit exists under the action of the detection current, so that the short circuit condition of the connection position can be accurately detected, the problem of mainboard burnout of the server caused by the short circuit is effectively reduced, and the operation cost of the server is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a block diagram of a server power-on detection system according to an embodiment of the present invention;
FIG. 2 is a flow chart of a server power-on detection method according to an embodiment of the present invention;
FIG. 3 is a flow chart of a server power-on detection method according to an embodiment of the present invention;
FIG. 4 is a flow chart of a server power-on detection method according to an embodiment of the present invention;
FIG. 5 is a block diagram of a server power-on detection apparatus according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The server power-on detection method provided by the embodiment of the invention is used for detecting the short circuit at the connection part of the mainboard and the hardware device in the power-on process of the server so as to avoid the damage of the mainboard caused by the short circuit.
Based on this, an embodiment of the present invention provides a server power-on detection system, as shown in fig. 1, the detection system includes an electronic device 10, a motherboard 20, a hardware device 30, and a detection element 40. The number of the hardware devices 30 connected to the main board 20 is not limited to one shown in fig. 1, and may also be multiple, and may be set according to actual requirements.
Specifically, a position where short-circuit detection is required among positions where the main board 20 and the hardware device 30 are connected is referred to as a target detection position where a detection element is provided. The detection element is used for detecting whether short circuit occurs at the target detection position. The detection element can be a thermosensitive circuit, a thermocouple or other detection elements, and the detection element can detect short circuit only.
Taking a thermistor as an example, when a short circuit occurs, the temperature of the thermistor increases and the voltage across the thermistor also changes. Therefore, it is possible to determine whether or not the target detection position is short-circuited by detecting a temperature change, or a voltage change, of the thermistor.
A detection circuit is provided in the detection system such that a detection current flows through the detection element. For example, the detection current flows from the power supply generating the detection current, passes through the main board, flows from the target detection position through the detection element, passes through the detection element, flows through the hardware device, and returns to the power supply generating the detection current. After the detection is finished, the detection current stops being generated, so that the detection loop cannot influence the normal power-on and work of the server.
Details regarding the specific detection method will be described below.
In accordance with an embodiment of the present invention, there is provided a server power-on detection method embodiment, it should be noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions, and that although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than that described herein.
In this embodiment, a server power-on detection method is provided, which may be used in an electronic device, such as a target server, or a main control chip of the target server, and fig. 2 is a flowchart of the server power-on detection method according to an embodiment of the present invention, and as shown in fig. 2, the flowchart includes the following steps:
s11, when the power-on operation is detected, short circuit detection is started and a detection current is generated.
When the main control chip detects the power-on operation, the target server starts power-on self-detection and starts short circuit detection. The detection current used for short circuit detection is not affected by the normal power-on process of the target server, the detection current is small, the detection current is relatively small compared with the normal current of the target server, the short circuit position can be detected, and the harm caused by short circuit is small. Even if a short circuit occurs, the detection current is small, so that the detection current does not cause great harm, namely, the detection current does not have destructive influence on the mainboard.
And S12, controlling the detection current to flow through the detection element of the target detection position and acquiring the working parameters of the detection element.
And the target detection position is a connection position of a mainboard of the target server and a hardware device.
As described above, the detection circuit is provided in the detection system, and the main control chip controls the detection current so that the detection current flows through the detection element at the target detection position. And detecting the working parameters of the detection element by using the measurement element, and sending the detection result to the main control chip. Accordingly, the main control chip can acquire the working parameters of the detection element. The detection parameter may be temperature, voltage, or the like, and may be set according to actual conditions.
For example, a temperature sensor is arranged in the detection system, and 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. Or, a voltage detection element is arranged in the detection system and used for measuring the voltage at two ends of the detection element and feeding back the measured voltage value to the main control chip.
Optionally, the server is powered on, after the self-checking process, the detection current starts the circulation detection of the target detection position, the circulation detection can be controlled by the BMC chip, and the BMC can be started at the moment to burn the flow into the chip.
And S13, determining whether the short circuit exists at the target detection position based on the working parameters of the detection element.
In the power-on process of the target server, the main control chip can determine whether the target detection position has a short circuit or not based on the change of the working parameters of the detection element or the size relationship between the real-time working parameters and the threshold value.
According to the server power-on detection method provided by the embodiment, the detection element is arranged at the connection position of the mainboard of the target server and the hardware device, and the working parameter of the detection element is utilized to determine whether the short circuit exists under the action of the detection current, so that the short circuit condition of the connection position can be accurately detected, the problem of mainboard burnout of the server caused by the short circuit is effectively reduced, and the operation cost of the server is guaranteed.
In this embodiment, a server power-on detection method is provided, which may be used in an electronic device, such as a target server, or a main control chip of the target server, and fig. 3 is a flowchart of the server power-on detection method according to an embodiment of the present invention, and as shown in fig. 3, the flowchart includes the following steps:
s21, when the power-on operation is detected, short circuit detection is started and a detection current is generated.
Please refer to S11 in fig. 2 for details, which are not described herein.
And S22, controlling the detection current to flow through the detection element of the target detection position and acquiring the working parameters of the detection element.
And the target detection position is a connection position of a mainboard of the target server and a hardware device.
Please refer to S12 in fig. 2 for details, which are not described herein.
And S23, determining whether the short circuit exists at the target detection position based on the working parameters of the detection element.
Specifically, S23 includes:
s231, judging whether the target detection position has short circuit or not.
As described above, the main control chip may determine whether there is a short circuit at the target detection position using the variation of the operating parameter. When the target detection position has a short circuit, executing S232; otherwise, indicating no short circuit fault, the target server may be powered up normally, i.e., S234 is executed.
And S232, acquiring the position information of the target detection position.
As described above, the main board may be connected to a plurality of hardware devices, and the main control chip may mark the working parameters belonging to different detection elements when receiving the working parameters of the detection elements, so as to distinguish target detection positions corresponding to different detection elements; namely, each target detection position corresponds to a unique identifier. When short-circuit fault occurs, the main control chip utilizes the identification to distinguish which target detection position is, so that the position information of the target detection position is determined. The position information may be a slot where the hardware device is located, or a pin corresponding to the motherboard. The specific expression form is not limited at all, and the specific expression form can be set according to actual requirements.
In an optional implementation manner of this embodiment, the step S232 may include obtaining a slot corresponding to the target detection position to determine the position information. And determining position information by using the slot position information, and including the slot position information in the alarm information so as to facilitate accurate positioning of the fault.
S233, generates alarm information based on the location information.
After the main control chip determines the position information, alarm information is generated based on the position information. The alarm information is used for informing corresponding personnel to carry out fault treatment, and the alarm information comprises position information of the short-circuit fault.
In some optional implementations of this embodiment, the S233 includes:
(1) and determining a target hardware device corresponding to the short circuit by using the position information.
After the main control chip determines the position information of the target detection position, the hardware device connected with the target detection position can be determined, and then the hardware device corresponding to the short circuit can be determined. For the sake of distinction, the hardware device corresponding to the short circuit is determined as the target hardware device.
(2) And determining alarm information corresponding to the target hardware device by utilizing the mapping relation between the hardware device and the flash state of the alarm lamp so as to control the flash state of the alarm lamp.
The mapping relation between the hardware device and the flash state of the warning lamp is stored in the main control chip, for example, the hardware device 1 corresponds to the flash state 1, namely, the warning lamp continuously flashes for 3 times; the hardware device 2 corresponds to a flashing state 2, namely the warning lamp continuously flashes for one long time or two short times; the hardware device 3 corresponds to a flashing state 3, namely the warning lamp flashes continuously for one short or two long.
The definition of the specific flashing state can be performed according to actual requirements, and the definition is not limited at all, and only different hardware devices can be distinguished.
For example, the hardware devices include a RISER card and a PCIe card, and the mapping relationship is as follows:
flashing state of warning lamp Hardware device
001 RISER card
010 PCIe card
Wherein 1 represents a long time of illumination; 0 indicates that the bright time is short; 001 represents short, short and long, and the target hardware device is a RISER card; 010 means short and long, and the target hardware device is a PCIe card.
Alternatively, data bits may be added to characterize the target hardware device.
The alarm information is determined by utilizing the mapping relation between the hardware device and the flash state of the alarm lamp, and the hardware device with the short circuit can be determined based on the flash state of the alarm lamp subsequently, so that the hardware device can be accurately positioned.
S234, the generation of the detection current is stopped.
After the generation of the detection current is stopped, the target server is normally powered on again.
According to the server power-on detection method provided by the embodiment, the alarm information is generated by utilizing the position information, so that the target detection position can be accurately positioned, and conditions are provided for subsequent maintenance.
In this embodiment, a server power-on detection method is provided, which may be used in an electronic device, such as a target server, or a main control chip of the target server, and fig. 4 is a flowchart of the server power-on detection method according to an embodiment of the present invention, and as shown in fig. 4, the flowchart includes the following steps:
s31, when the power-on operation is detected, short circuit detection is started and a detection current is generated.
Specifically, S31 includes:
and S311, acquiring the value of the target reserved bit of the power-on protection switch.
The power-on protection switch is a functional module in the main control chip and is used for controlling the power-on process of the target server, and the power-on protection switch can also be called as a system maintenance switch. In this embodiment, the target reserved bit in the power-on protection switch is used as a trigger switch for whether to start short-circuit detection. The power-on protection switch is specifically as follows:
Figure BDA0003233914760000091
determining 3 bits of X1 as target reserved bits, which is specifically defined as follows:
OFF (default) power-on protection scheme not enabled;
and starting a power-ON protection scheme.
In some optional embodiments of this embodiment, the power-on protection switch may also be added to the BIOS option using a software scheme.
And S312, starting short circuit detection when the value of the target reserved bit is a preset value.
When a power-ON protection scheme, namely short circuit detection, needs to be started, setting the 3 bits of X1 to be ON; when the power-on protection scheme need not be enabled, i.e., no short circuit detection is required, 3 of X1 is set to OFF.
The main control chip determines whether the target reserved value of the power-ON protection switch is a preset value, for example, whether the target reserved value is ON. And starting short circuit detection when the value of the target reserved bit is a preset value.
And S313, controlling the power supply module to generate the detection current.
The power supply module is used for providing a working power supply for the target server, and when short-circuit detection is started, the main control chip controls the power supply module to generate detection current. As described above, the detected current is less than the normal operating current of the target server.
Specifically, when the target server is powered by the main power supply and the standby power supply, the standby power supply can be controlled to generate detection current for short-circuit detection. Namely, the button cell is discharged to generate a detection current.
In some optional implementations of this embodiment, a preset power module may be further controlled to generate the detection current, for example, a button battery. The detection current is generated by utilizing the preset power supply module, so that the control process can be simplified, and the normal influence on the target server is avoided.
And S32, controlling the detection current to flow through the detection element of the target detection position and acquiring the working parameters of the detection element.
And the target detection position is a connection position of a mainboard of the target server and a hardware device.
Please refer to S22 in fig. 3 for details, which are not described herein.
And S33, determining whether the short circuit exists at the target detection position based on the working parameters of the detection element.
Please refer to S23 in fig. 3 for details, which are not described herein.
According to the server power-on detection method provided by the embodiment, the switch for realizing short circuit detection is realized by using the reserved bit, the existing resources can be fully utilized, other modules are prevented from being introduced, and the maximum utilization of the resources is realized. And the power module of the target server is used for generating the detection current, so that the arrangement of other power modules can be avoided, and the circuit structure is simplified.
In this embodiment, a server power-on detection apparatus is further provided, where the apparatus is used to implement the foregoing embodiments and preferred embodiments, and details are not described again after the description is given. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
The present embodiment provides a server power-on detection apparatus, which is applied to a target server, as shown in fig. 5, and includes:
a starting module 41, configured to start short circuit detection and generate a detection current when a power-on operation is detected;
the control module 42 is configured to control the detection current to flow through a detection element at a target detection position and obtain a working parameter of the detection element, where the target detection position is a connection between a motherboard of the target server and a hardware device;
and the detection module 43 is used for determining whether the short circuit exists at the target detection position or not based on the working parameters of the detection element.
The server power-on detection device provided by the embodiment has the advantages that the detection element is arranged at the joint of the mainboard of the target server and the hardware device, and whether the short circuit exists is determined by using the working parameters of the detection element under the action of the detection current, so that the short circuit condition of the joint can be accurately detected, the problem of burning of the mainboard of the server caused by the short circuit is effectively reduced, and the operation cost of the server is guaranteed.
The server power-on detection apparatus in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and a memory that execute one or more software or fixed programs, and/or other devices that can provide the above-mentioned functions.
Further functional descriptions of the modules are the same as those of the corresponding embodiments, and are not repeated herein.
An embodiment of the present invention further provides an electronic device, which has the server power-on detection apparatus shown in fig. 5.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an alternative embodiment of the present invention, and as shown in fig. 6, the terminal may include: at least one processor 51, such as a CPU (Central Processing Unit), at least one communication interface 53, memory 54, at least one communication bus 52. Wherein a communication bus 52 is used to enable the connection communication between these components. The communication interface 53 may include a Display (Display) and a Keyboard (Keyboard), and the optional communication interface 53 may also include a standard wired interface and a standard wireless interface. The Memory 54 may be a high-speed RAM Memory (volatile Random Access Memory) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The memory 54 may alternatively be at least one memory device located remotely from the processor 51. Wherein the processor 51 may be in connection with the apparatus described in fig. 5, the memory 54 stores an application program, and the processor 51 calls the program code stored in the memory 54 for performing any of the above-mentioned method steps.
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, and the like. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
The memory 54 may include a volatile memory (RAM), such as a random-access memory (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 (english: hard disk drive, abbreviated: HDD) or a solid-state drive (english: SSD); the memory 54 may also comprise a combination of the above types of memories.
The processor 51 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP.
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 General Array Logic (GAL), or any combination thereof.
Optionally, the memory 54 is also used to store program instructions. The processor 51 may call program instructions to implement the server power-on detection method as shown in any of the embodiments of fig. 2 to 4 of the present application.
The embodiment of the invention also provides a non-transitory computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the server power-on detection method in any method embodiment. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
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 invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (10)

1. A server power-on detection method is applied to a target server, and comprises the following steps:
when the power-on operation is detected, starting short circuit detection and generating detection current;
controlling the detection current to flow through a detection element at a target detection position and acquiring working parameters of the detection element, wherein the target detection position is a connection position of a mainboard of the target server and a hardware device;
and determining whether the target detection position has short circuit or not based on the working parameters of the detection element.
2. The server power-on detection method according to claim 1, wherein the generating a detection current comprises:
controlling a power supply module to generate the detection current;
alternatively, the first and second electrodes may be,
and controlling a preset power supply module to generate the detection current.
3. The server power-on detection method of claim 1, wherein the initiating short circuit detection comprises:
acquiring the value of a target reserved bit of a power-on protection switch;
and starting the short circuit detection when the value of the target reserved bit is a preset value.
4. The server power-on detection method according to claim 1, wherein the determining whether the target detection position has a short circuit based on the operating parameter of the detection element includes:
when the target detection position has a short circuit, acquiring position information of the target detection position;
and generating alarm information based on the position information.
5. The server power-on detection method according to claim 4, wherein the generating alarm information based on the location information includes:
determining a target hardware device corresponding to the short circuit by using the position information;
and determining alarm information corresponding to the target hardware device by utilizing the mapping relation between the hardware device and the flash state of the alarm lamp so as to control the flash state of the alarm lamp.
6. The server power-on detection method according to claim 4, wherein the obtaining of the location information of the target detection location in the target server includes:
and acquiring a slot position corresponding to the target detection position to determine the position information.
7. The server power-on detection method according to claim 1, wherein the determining whether the target detection position has a short circuit based on the operating parameter of the detection element includes:
and when the target detection position has no short circuit, stopping generating the detection current.
8. An electronic device, comprising:
a memory and a processor, the memory and the processor being communicatively connected to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the server power-on detection method according to any one of claims 1 to 7.
9. A computer-readable storage medium storing computer instructions for causing a computer to perform the server power-on detection method of any one of claims 1-7.
10. A server power-on detection system, comprising:
a main board;
a hardware device connected with the motherboard;
a detection element provided at a target detection position between the main board and the hardware device;
the electronic device of claim 8, the electronic device being connected to the motherboard.
CN202110995348.9A 2021-08-27 2021-08-27 Server power-on detection method, electronic equipment and system Pending CN113868034A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110995348.9A CN113868034A (en) 2021-08-27 2021-08-27 Server power-on detection method, electronic equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110995348.9A CN113868034A (en) 2021-08-27 2021-08-27 Server power-on detection method, electronic equipment and system

Publications (1)

Publication Number Publication Date
CN113868034A true CN113868034A (en) 2021-12-31

Family

ID=78988595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110995348.9A Pending CN113868034A (en) 2021-08-27 2021-08-27 Server power-on detection method, electronic equipment and system

Country Status (1)

Country Link
CN (1) CN113868034A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114647293A (en) * 2022-04-12 2022-06-21 苏州浪潮智能科技有限公司 Power failure protection method and device, power supply monitoring assembly and server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114647293A (en) * 2022-04-12 2022-06-21 苏州浪潮智能科技有限公司 Power failure protection method and device, power supply monitoring assembly and server
CN114647293B (en) * 2022-04-12 2023-08-08 苏州浪潮智能科技有限公司 Power-down protection method and device, power supply monitoring assembly and server

Similar Documents

Publication Publication Date Title
US11880689B2 (en) Server power-down detection method and system, device, and medium
CN104572226A (en) Method and device for detecting mainboard starting abnormity
CN107678909B (en) Circuit and method for monitoring chip configuration state in server
CN112286709B (en) Diagnosis method, diagnosis device and diagnosis equipment for server hardware faults
CN113868034A (en) Server power-on detection method, electronic equipment and system
CN110501554B (en) Detection method and device for installation of memory chip
CN115808640B (en) Power failure detection circuit, method, system, electronic device and storage medium
CN113589092B (en) Fatigue machine, equipment power-on and power-off test system and power-on and power-off test method
CN116010141A (en) Method, device and medium for positioning starting abnormality of multipath server
CN114265489B (en) Power failure monitoring method and device, electronic equipment and storage medium
CN114138587B (en) Method, device and equipment for verifying reliability of server power firmware upgrade
CN115729756A (en) Test-accompanied hard disk, and method and system for test-accompanied server based on test-accompanied hard disk
CN109617175B (en) Mobile terminal charger detection control method, mobile terminal and storage medium
CN110967615B (en) Circuit board fault diagnosis device and method
JP6400347B2 (en) Inspection device
JP2014170354A (en) Power source control device, information processing device, power source control method and program
CN117805715B (en) Smart jack, calibration detection method, device and product thereof
CN114884021B (en) Power supply control method of power supply circuit and related components
CN116577551B (en) SSD power consumption testing method and system and electronic equipment
CN114356617B (en) Error injection testing method, device, system and computing equipment
CN112486785B (en) Method, system, terminal and storage medium for positioning downtime phase of server
CN214703927U (en) Power supply on-line monitoring device
CN211554926U (en) Server test terminal
CN115292107A (en) Product stability testing system and method and server
CN117169688A (en) Board-level chip testing method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination