CN114636852A - Over-current testing method and device for server, server and readable storage medium - Google Patents
Over-current testing method and device for server, server and readable storage medium Download PDFInfo
- Publication number
- CN114636852A CN114636852A CN202210265696.5A CN202210265696A CN114636852A CN 114636852 A CN114636852 A CN 114636852A CN 202210265696 A CN202210265696 A CN 202210265696A CN 114636852 A CN114636852 A CN 114636852A
- Authority
- CN
- China
- Prior art keywords
- server
- detected
- overcurrent
- pressure test
- protection
- 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.)
- Granted
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 179
- 238000000034 method Methods 0.000 claims abstract description 50
- 230000002159 abnormal effect Effects 0.000 claims abstract description 23
- 230000015654 memory Effects 0.000 claims description 37
- 238000011084 recovery Methods 0.000 claims description 8
- 238000001514 detection method Methods 0.000 abstract description 14
- 238000004519 manufacturing process Methods 0.000 abstract description 13
- 238000010998 test method Methods 0.000 abstract description 5
- 238000013461 design Methods 0.000 abstract description 3
- 238000004891 communication Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 10
- 230000001960 triggered effect Effects 0.000 description 5
- 230000005856 abnormality Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004377 microelectronic Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R19/00—Arrangements for measuring currents or voltages or for indicating presence or sign thereof
- G01R19/165—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
- G01R19/16533—Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/52—Testing for short-circuits, leakage current or ground faults
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Tests Of Electronic Circuits (AREA)
Abstract
The invention relates to the technical field of server design and discloses an over-current testing method and device for a server, the server and a readable storage medium. The server overcurrent test method comprises the following steps: acquiring initial overcurrent thresholds of a server to be detected and each protection point; adjusting the overcurrent protection value of the server to be detected to a preset multiple of the initial overcurrent threshold value, and carrying out pressure test on the server to be detected; and determining whether the server to be detected passes the over-current test or not based on the result of the pressure test. By implementing the method and the device, the load of the whole server is increased in the pressure test process, the current of each overcurrent protection point is increased, and the overcurrent detection of the server is determined according to the result of the pressure test, so that the potential detection of the short circuit abnormity interception and weak short circuit abnormity of the server is realized through the pressure test, the abnormal shutdown or power failure of the server is avoided, and the production quality of the server is improved.
Description
Technical Field
The invention relates to the technical field of server design, in particular to an over-current testing method and device for a server, the server and a readable storage medium.
Background
In server design, in order to prevent unsafe problems such as board burning/wire burning due to high heat generated by excessive Current in a line, an Over Current Protection (OCP) function of a micro electronic Chip (IC) is usually added to the Circuit of the server when the server line is designed, when an overcurrent phenomenon is detected, that is, when the Current in the line is greater than a Current limit, the IC of a Protection Chip of a power supply starts to time, and when the overcurrent time is greater than a trigger time, the OCP function is turned on, and a server system is powered off.
Although the OCP function can effectively prevent the board from being burned, the server system is powered off and shut down when the OCP function is triggered, and the production quality of the server is affected.
Disclosure of Invention
In view of this, embodiments of the present invention provide a server overcurrent test method, an apparatus, a server and a readable storage medium, so as to solve the problem that triggering an OCP function causes a power failure shutdown of a server system, which affects production quality.
According to a first aspect, an embodiment of the present invention provides an over-current testing method for a server, including: acquiring an initial overcurrent threshold of a server to be detected and each protection point; adjusting the overcurrent protection value of the server to be detected to a preset multiple of the initial overcurrent threshold value, and carrying out pressure test on the server to be detected; and determining whether the server to be detected passes the over-current test or not based on the result of the pressure test.
According to the server overcurrent test method provided by the embodiment of the invention, the server to be tested is subjected to pressure test by acquiring the initial overcurrent threshold of the server to be tested and each protection point and adjusting the overcurrent protection value of the server to be tested to the preset multiple of the initial overcurrent threshold, and whether the server to be tested passes the overcurrent test is determined based on the result of the pressure test. According to the method, the load of the whole server is increased in the pressure test process, the current of each overcurrent protection point is increased, and the overcurrent detection of the server is determined according to the pressure test result, so that the interception of the short circuit abnormality of the server and the potential detection of weak short circuit abnormality are realized through the pressure test, the abnormal shutdown or power failure of the server is avoided, and the production quality of the server is improved.
With reference to the first aspect, in a first implementation manner of the first aspect, the determining whether the server to be tested passes the over-current test based on the result of the pressure test includes: detecting whether the server to be detected has abnormal power failure in the pressure testing process; when the server to be detected is detected to have abnormal power failure in the pressure test process, judging whether the server to be detected triggers overcurrent protection; and when the server to be detected triggers the overcurrent protection, judging that the server to be detected does not pass the overcurrent test.
With reference to the first embodiment of the first aspect, in a second embodiment of the first aspect, the method further includes: and when the server to be detected does not trigger the overcurrent protection, restoring the overcurrent protection threshold value of each protection point of the server to be detected to the initial overcurrent threshold value, and judging that the server to be detected passes the overcurrent test.
According to the over-current testing method for the server, provided by the embodiment of the invention, when the server is detected to be abnormally powered down in the pressure testing process, whether the over-current protection is triggered by the server to be detected or not is further judged, when the over-current protection is triggered by the server to be detected, the server to be detected is judged not to pass the over-current test, when the over-current protection is not triggered by the server to be detected, the over-current protection threshold value of each protection point of the server to be detected is restored to the initial over-current threshold value, and the server to be detected is judged to pass the over-current test. The method has the advantages that whether the server triggers the overcurrent protection or not is detected in the pressure test process, so that the triggering standard of the overcurrent protection of the server is tightened, and the production quality of the server is ensured.
With reference to the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the restoring the overcurrent protection threshold of each protection point of the server to be detected to the initial overcurrent threshold includes: acquiring a recovery instruction of the server to be detected and bus addresses of all protection points; and restoring the overcurrent protection threshold value of each protection point of the server to be detected to the initial overcurrent threshold value based on the restoration instruction and the bus address.
According to the over-current testing method of the server, provided by the embodiment of the invention, the recovery instruction of the server to be detected and the bus address of each protection point are obtained, and the over-current protection threshold value of each protection point of the server to be detected is recovered to the initial over-current threshold value based on the recovery instruction and the bus address, so that the over-current protection value of the server can be determined, abnormal shutdown or power failure of the server in the using process is avoided, and the using experience of the server is improved.
With reference to the first embodiment of the first aspect, in a fourth embodiment of the first aspect, the method further includes: and when the server to be detected is detected not to have abnormal power failure in the pressure test process, restoring the overcurrent protection threshold value of each protection point of the server to be detected to the initial overcurrent threshold value.
According to the over-current testing method of the server, whether the server to be detected triggers over-current protection or not is judged by detecting whether the server to be detected has abnormal power failure or not in the pressure testing process and when the server to be detected has abnormal power failure in the pressure testing process; and when detecting that the server to be detected does not have abnormal power failure in the pressure test process, restoring the overcurrent protection threshold value of each protection point of the server to be detected to the initial overcurrent threshold value. According to the method, the overcurrent protection value of the server can be determined through pressure testing, the triggering standard of the overcurrent protection of the server is tightened, and abnormal shutdown or power failure of the server in the using process is further avoided.
With reference to the first aspect, in a fifth implementation manner of the first aspect, the adjusting the overcurrent protection value of the server to be tested to a preset multiple of the initial overcurrent threshold to perform a pressure test on the server to be tested includes: acquiring an adjusting instruction of the overcurrent protection value of the server to be detected, and determining a preset multiple corresponding to the adjusting instruction; calculating the product of the preset multiple and the initial overcurrent threshold value to obtain the current overcurrent protection value of the server to be detected; and carrying out pressure test on the server to be detected based on the current overcurrent protection value.
With reference to the fifth embodiment of the first aspect, in a sixth embodiment of the first aspect, the pressure test comprises: any one or more of a processor pressure state test, a memory pressure test, a hard disk pressure test and a network card pressure test.
According to the over-current testing method of the server, provided by the embodiment of the invention, the adjusting instruction of the over-current protection value of the server to be detected is obtained, the preset multiple corresponding to the adjusting instruction is determined, the product of the preset multiple and the initial over-current threshold value is calculated, the current over-current protection value of the server to be detected is obtained, and mixed pressure tests such as processor pressure state test, memory pressure test, hard disk pressure test and network card pressure test are carried out on the server to be detected based on the current over-current protection value, so that the delivery detection of the server is stricter, and the production quality of the server is improved.
According to a second aspect, an embodiment of the present invention provides an over-current testing apparatus for a server, including: the acquisition module is used for acquiring the initial overcurrent thresholds of the server to be detected and each protection point; the testing module is used for adjusting the overcurrent protection value of the server to be tested to a preset multiple of the initial overcurrent threshold value and carrying out pressure testing on the server to be tested; and the determining module is used for determining whether the server to be detected passes the overcurrent test or not based on the result of the pressure test.
According to the overcurrent testing device for the server, provided by the embodiment of the invention, the overcurrent protection value of the server to be detected is adjusted to the preset multiple of the initial overcurrent threshold value by acquiring the initial overcurrent threshold value of the server to be detected and each protection point, the server to be detected is subjected to pressure testing, and whether the server to be detected passes the overcurrent test or not is determined based on the result of the pressure testing. The device has the advantages that the load of the whole server is increased in the pressure test process, the current of each overcurrent protection point is increased, the overcurrent detection of the server is determined according to the pressure test result, the short circuit abnormity interception and the potential detection of weak short circuit abnormity of the server are realized through the pressure test, the abnormal shutdown or power failure of the server is avoided, and the production quality of the server is improved.
According to a third aspect, an embodiment of the present invention provides a server, including: the server comprises a memory and a processor, wherein the memory and the processor are connected in communication with each other, the memory stores computer instructions, and the processor executes the computer instructions to execute the method for over-current testing of the server according to the first aspect or any embodiment of the first aspect.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer instructions are stored, and the computer instructions are configured to cause a computer to execute the method for over-current testing of a server according to the first aspect or any implementation manner of the first aspect.
It should be noted that, for corresponding beneficial effects of the electronic device and the computer-readable storage medium provided in the embodiments of the present invention, please refer to the description of corresponding contents in the overcurrent testing method of the server, which is not described herein again.
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 flowchart of an over-current testing method of a server according to an embodiment of the present invention;
fig. 2 is another flowchart of an over-current testing method of a server according to an embodiment of the present invention;
fig. 3 is another flowchart of an over-current testing method of a server according to an embodiment of the present invention;
fig. 4 is a block diagram of an overcurrent testing apparatus of a server according to an embodiment of the present invention;
fig. 5 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.
When a server Circuit is designed, an Integrated Circuit Chip (IC) with an Over Current Protection (OCP) function is usually added to a Circuit of the server Circuit to prevent unsafe problems such as board burning/wire burning due to high heat generated by excessive Current in the Circuit, and although the OCP function can effectively prevent board burning, power failure and shutdown of a server system can be caused when the OCP function is triggered, which affects the production quality of the server.
Based on the technical scheme, the server is subjected to pressure test under the preset multiple of the initial overcurrent threshold, and the potential detection of the short circuit abnormity interception and weak short circuit abnormity of the server is realized through the pressure test, so that abnormal shutdown or power failure of the server is avoided, and the production quality of the server is improved.
According to an embodiment of the present invention, there is provided an embodiment of an over-current testing method for a server, it should be noted that the steps illustrated in the flowchart of the attached drawings may be executed 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 executed in an order different from that shown.
In this embodiment, an over-current testing method for a server is provided, which can be used for a server and the like, and fig. 1 is a flowchart of the over-current testing method for a server according to the embodiment of the present invention, as shown in fig. 1, the flowchart includes the following steps:
and S11, acquiring initial overcurrent thresholds of the server to be detected and each protection point.
Each protection point is a key detection point of the server; the initial overcurrent threshold is a preset current limiting value of each protection point of the server, and the initial overcurrent threshold is stored in a storage space; the server to be detected is a server to be delivered from a factory. The electronic equipment can acquire the servers to be delivered from the factory and access the storage space to acquire the initial overcurrent thresholds of the protection points corresponding to the servers to be detected.
And S12, adjusting the overcurrent protection value of the server to be detected to a preset multiple of the initial overcurrent threshold value, and performing pressure test on the server to be detected.
The pressure test is used for representing the detection of the server to be detected under high load and low current limit, the preset multiple is a preset coefficient, the preset multiple can be set to be 0.8, can be 0.7, and can also be other values, and the preset multiple is not specifically limited here as long as the adjusted overcurrent protection value is lower than the initial overcurrent threshold.
The electronic device may send an adjustment instruction to the server to be detected to adjust the overcurrent protection value of the server to be detected to a preset multiple of the initial overcurrent threshold, for example, the initial overcurrent threshold of the server to be detected is a1, and the preset multiple is n, and the electronic device may adjust the overcurrent protection value of the server to be detected to n × a 1. After the overcurrent protection value of the server to be detected is adjusted, mixed pressure tests such as a hard disk pressure test, a memory pressure test, a network card test and the like are carried out on the server to be detected.
And S13, determining whether the server to be detected passes the over-current test or not based on the result of the pressure test.
The electronic equipment monitors whether the server to be detected starts overcurrent protection in real time in the process of executing the pressure test on the server to be detected, and then the electronic equipment can determine whether the quality of the server is good or not according to the pressure test result of the server to be detected.
In the over-current testing method for the server provided by this embodiment, the initial over-current threshold of the server to be tested and each protection point is obtained, the over-current protection value of the server to be tested is adjusted to a preset multiple of the initial over-current threshold, the server to be tested is subjected to a pressure test, and whether the server to be tested passes the over-current test is determined based on a result of the pressure test. According to the method, the load of the whole server is increased in the pressure test process, the current of each overcurrent protection point is increased, and the overcurrent detection of the server is determined according to the pressure test result, so that the short circuit abnormity interception and the potential detection of weak short circuit abnormity of the server are realized through the pressure test, the abnormal shutdown or power failure of the server is avoided, and the production quality of the server is improved.
In this embodiment, an over-current testing method for a server is provided, which can be used for a server and the like, and fig. 2 is a flowchart of the over-current testing method for a server according to the embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
and S21, acquiring initial overcurrent thresholds of the server to be detected and each protection point. The detailed description is related to the corresponding description of the above embodiments, and is not repeated herein.
And S22, adjusting the overcurrent protection value of the server to be detected to a preset multiple of the initial overcurrent threshold value, and performing pressure test on the server to be detected. The detailed description is referred to the corresponding related description of the above embodiments, and is not repeated herein.
And S23, determining whether the server to be detected passes the over-current test or not based on the result of the pressure test.
Specifically, the step S23 may include:
s231, detecting whether the server to be detected is abnormally powered down in the pressure testing process.
The abnormal power failure is used for representing shutdown or power failure of the server system to be detected due to abnormal line current. The electronic equipment can monitor whether the server to be detected is abnormally powered down due to the abnormal line current in the pressure testing process in real time. And executing step S232 when detecting that the server to be detected is abnormally powered off in the pressure test process, otherwise executing step S235.
And S232, judging whether the server to be detected triggers overcurrent protection.
When the server is detected to be abnormally powered off in the pressure test process of the server to be detected, the server is indicated to be abnormally pressure tested in the pressure test, and at the moment, the electronic equipment can further detect the state of the server to be detected so as to determine whether the server to be detected triggers overcurrent protection or not. And when the server to be detected triggers overcurrent protection, executing step S233, otherwise executing step S234.
And S233, judging that the server to be detected does not pass the overcurrent test.
When the server to be detected triggers the overcurrent protection, it indicates that the server to be detected has current abnormality in the pressure test, and at this time, it can be determined that the server to be detected does not pass the overcurrent test, that is, the server to be detected does not pass the overcurrent test of high load and low current limit.
And S234, restoring the overcurrent protection threshold value of each protection point of the server to be detected to the initial overcurrent threshold value, and judging that the server to be detected passes the overcurrent test.
When the server to be detected does not trigger the overcurrent protection, the server to be detected does not trigger the overcurrent protection in the pressure test, and at the moment, the electronic equipment can restore the overcurrent protection threshold value of each protection point of the server to be detected to the initial overcurrent threshold value and judge that the server to be detected passes the overcurrent test.
Specifically, the step S234 may include:
(1) and acquiring a recovery instruction of the server to be detected and the bus address of each protection point.
The recovery command is an in-band ipmi command; the bus address is the I2C address, with different nodes corresponding to different addresses. When the electronic equipment completes the pressure test, the in-band ipmi instruction corresponding to the server to be detected and the bus address of each protection point can be obtained.
(2) And restoring the overcurrent protection threshold value of each protection point of the server to be detected to the initial overcurrent threshold value based on the restoration instruction and the bus address.
The electronic equipment adjusts the overcurrent protection threshold of each protection point according to the I2C address through an in-band ipmi command, and the overcurrent protection threshold is restored to the initial overcurrent threshold A1 from n X A1.
And S235, restoring the overcurrent protection threshold value of each protection point of the server to be detected to the initial overcurrent threshold value.
When the server abnormal power failure is detected not to occur in the pressure test process of the server to be detected, the server to be detected is indicated not to have current abnormality in the pressure test process, the pressure test is successful, namely the server to be detected can cope with the load pressure in the use scene, and at the moment, the electronic equipment can restore the overcurrent protection threshold value of each protection point of the server to be detected to the initial overcurrent threshold value.
According to the overcurrent test method for the server, whether the server triggers the overcurrent protection or not is detected in the pressure test process, so that the triggering standard of the overcurrent protection of the server is tightened, and the production quality of the server is ensured. By acquiring the recovery instruction of the server to be detected and the bus address of each protection point, the overcurrent protection threshold value of each protection point of the server to be detected is recovered to the initial overcurrent threshold value based on the recovery instruction and the bus address, so that the overcurrent protection value of the server can be determined, abnormal shutdown or power failure of the server in the use process is avoided, and the use experience of the server is improved.
In this embodiment, an over-current testing method for a server is provided, which can be used for a server and the like, fig. 3 is a flowchart of the over-current testing method for a server according to the embodiment of the present invention, as shown in fig. 3, the flowchart includes the following steps:
and S31, acquiring the initial overcurrent thresholds of the server to be detected and each protection point. The detailed description is referred to the corresponding related description of the above embodiments, and is not repeated herein.
And S32, adjusting the overcurrent protection value of the server to be detected to a preset multiple of the initial overcurrent threshold value, and performing pressure test on the server to be detected.
Specifically, the step S32 may include:
s321, obtaining an adjusting instruction of the overcurrent protection value of the server to be detected, and determining a preset multiple corresponding to the adjusting instruction.
The adjusting instruction is an in-band ipmi instruction, the adjusting instruction can be input by a tester through a communication interface of the electronic device, and correspondingly, the electronic device can respond to the adjusting instruction to determine the preset multiple corresponding to the adjusting instruction.
And S322, calculating the product of the preset multiple and the initial overcurrent threshold value to obtain the current overcurrent protection value of the server to be detected.
After the initial overcurrent threshold value of the server to be detected and the preset multiple corresponding to the adjustment instruction are obtained, the electronic device can calculate the product of the preset multiple and the initial overcurrent threshold value to obtain the current overcurrent protection value of the server to be detected. Taking Linux system as an example, the electronic device may adjust the overcurrent protection value of each protection point to n × a1 through an in-band ipmi command and an I2C address.
And S323, performing pressure test on the server to be detected based on the current over-current protection value.
The pressure test comprises any one or more of a processor pressure state test, a memory pressure test, a hard disk pressure test and a network card pressure test.
The electronic equipment performs a pressure test on the server to be detected in the current overcurrent protection value state, for example, in a Linux system, the electronic equipment may perform a mixed pressure test such as a CPU pressure state test, a memory pressure test, a hard disk pressure test, a network card pressure test, and the like on the server to be detected for a certain period of time, so that the overall load of the server is increased, and the current is increased to further determine whether the server to be detected has an abnormal power failure.
And S33, determining whether the server to be detected passes the over-current test or not based on the result of the pressure test. The detailed description is related to the corresponding description of the above embodiments, and is not repeated herein.
According to the overcurrent test method for the server, provided by the embodiment, the adjustment instruction of the overcurrent protection value of the server to be detected is obtained, the preset multiple corresponding to the adjustment instruction is determined, the product of the preset multiple and the initial overcurrent threshold is calculated, so that the current overcurrent protection value of the server to be detected is obtained, and mixed pressure tests such as a processor pressure state test, a memory pressure test, a hard disk pressure test and a network card pressure test are performed on the server to be detected based on the current overcurrent protection value, so that the delivery test of the server is stricter, and the production quality of the server is improved.
In this embodiment, an overcurrent testing apparatus for a server is further provided, where the apparatus is used to implement the foregoing embodiments and preferred embodiments, and details of the foregoing description are omitted. 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 an over-current testing apparatus for a server, as shown in fig. 4, including:
the obtaining module 41 is configured to obtain initial overcurrent thresholds of the server to be detected and each protection point. For a detailed description, reference is made to the corresponding related description of the above method embodiments, which is not repeated herein.
And the test module 42 is configured to adjust the overcurrent protection value of the server to be detected to a preset multiple of the initial overcurrent threshold, and perform a pressure test on the server to be detected. For a detailed description, reference is made to the corresponding related description of the above method embodiments, which is not repeated herein.
And the determining module 43 is configured to determine whether the server to be detected passes the over-current test based on the result of the pressure test. For a detailed description, reference is made to the corresponding related description of the above method embodiments, which is not repeated herein.
The over-current testing device for the server provided by this embodiment adjusts the over-current protection value of the server to be detected to the preset multiple of the initial over-current threshold value by acquiring the initial over-current threshold value of the server to be detected and each protection point, performs a pressure test on the server to be detected, and determines whether the server to be detected passes the over-current test based on the result of the pressure test. The device has the advantages that the load of the whole server is increased in the pressure test process, the current of each overcurrent protection point is increased, the overcurrent detection of the server is determined according to the pressure test result, the short circuit abnormity interception and the potential detection of weak short circuit abnormity of the server are realized through the pressure test, the abnormal shutdown or power failure of the server is avoided, and the production quality of the server is improved.
The over-current testing apparatus of the server 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 executing one or more software or fixed programs, and/or other devices capable of providing 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 includes the over-current testing apparatus for the server shown in fig. 4.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an alternative embodiment of the present invention, and as shown in fig. 5, the electronic device may include: at least one processor 501, such as a CPU (Central Processing Unit), at least one communication interface 503, memory 504, and at least one communication bus 502. Wherein a communication bus 502 is used to enable connective communication between these components. The communication interface 503 may include a Display (Display) and a Keyboard (Keyboard), and the optional communication interface 503 may also include a standard wired interface and a standard wireless interface. The Memory 504 may be a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The memory 504 may optionally be at least one storage device located remotely from the processor 501. Wherein the processor 501 may be in connection with the apparatus described in fig. 4, an application program is stored in the memory 504, and the processor 501 calls the program code stored in the memory 504 for performing any of the above-mentioned method steps.
The communication bus 502 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 502 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. 5, but this is not intended to represent only one bus or type of bus.
The memory 504 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 504 may also comprise a combination of the above types of memory.
The processor 501 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of CPU and NP.
The processor 501 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 504 is also used to store program instructions. The processor 501 may call a program instruction to implement the method for testing the server for overcurrent as shown in the embodiments of fig. 1 to 3 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 processing method of the over-current testing method of the server 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. An over-current testing method of a server is characterized by comprising the following steps:
acquiring initial overcurrent thresholds of a server to be detected and each protection point;
adjusting the overcurrent protection value of the server to be detected to a preset multiple of the initial overcurrent threshold value, and carrying out pressure test on the server to be detected;
and determining whether the server to be detected passes the over-current test or not based on the result of the pressure test.
2. The method according to claim 1, wherein the determining whether the server to be detected passes the over-current test based on the result of the pressure test comprises:
detecting whether the server to be detected has abnormal power failure in the pressure testing process;
when the server to be detected is detected to have abnormal power failure in the pressure test process, judging whether the server to be detected triggers overcurrent protection;
and when the server to be detected triggers the overcurrent protection, judging that the server to be detected does not pass the overcurrent test.
3. The method of claim 2, further comprising:
and when the server to be detected does not trigger the overcurrent protection, restoring the overcurrent protection threshold value of each protection point of the server to be detected to the initial overcurrent threshold value, and judging that the server to be detected passes the overcurrent test.
4. The method according to claim 3, wherein the restoring the overcurrent protection threshold of each protection point of the server to be detected to the initial overcurrent threshold comprises:
acquiring a recovery instruction of the server to be detected and bus addresses of all protection points;
and restoring the overcurrent protection threshold value of each protection point of the server to be detected to the initial overcurrent threshold value based on the restoration instruction and the bus address.
5. The method of claim 2, further comprising:
and when the server to be detected is detected not to have abnormal power failure in the pressure test process, restoring the overcurrent protection threshold value of each protection point of the server to be detected to the initial overcurrent threshold value.
6. The method according to claim 1, wherein the adjusting the overcurrent protection value of the server to be tested to a preset multiple of the initial overcurrent threshold value to perform the pressure test on the server to be tested comprises:
acquiring an adjusting instruction of the overcurrent protection value of the server to be detected, and determining a preset multiple corresponding to the adjusting instruction;
calculating the product of the preset multiple and the initial overcurrent threshold value to obtain the current overcurrent protection value of the server to be detected;
and carrying out pressure test on the server to be detected based on the current over-current protection value.
7. The method of claim 6, wherein the pressure test comprises: any one or more of a processor pressure state test, a memory pressure test, a hard disk pressure test and a network card pressure test.
8. An over-current testing device of a server, comprising:
the acquisition module is used for acquiring the initial overcurrent thresholds of the server to be detected and each protection point;
the testing module is used for adjusting the overcurrent protection value of the server to be tested to a preset multiple of the initial overcurrent threshold value and carrying out pressure testing on the server to be tested;
and the determining module is used for determining whether the server to be detected passes the overcurrent test or not based on the result of the pressure test.
9. A server, comprising:
a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing therein computer instructions, and the processor executing the computer instructions to perform the method for over-current testing of a server according to any one of claims 1 to 7.
10. A computer-readable storage medium storing computer instructions for causing a computer to execute the method for over-current testing of a server according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210265696.5A CN114636852B (en) | 2022-03-17 | 2022-03-17 | Overcurrent test method and device for server, server and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210265696.5A CN114636852B (en) | 2022-03-17 | 2022-03-17 | Overcurrent test method and device for server, server and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114636852A true CN114636852A (en) | 2022-06-17 |
CN114636852B CN114636852B (en) | 2024-01-09 |
Family
ID=81949362
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210265696.5A Active CN114636852B (en) | 2022-03-17 | 2022-03-17 | Overcurrent test method and device for server, server and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114636852B (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102739212A (en) * | 2012-06-29 | 2012-10-17 | 台达电子企业管理(上海)有限公司 | Over-current protection point setting method, system and control device for electronic equipment |
US20140112036A1 (en) * | 2012-10-23 | 2014-04-24 | Acbel Polytech Inc. | Power supply with output protection and control method of the power supply |
CN107272860A (en) * | 2017-06-29 | 2017-10-20 | 郑州云海信息技术有限公司 | A kind of server hard disc electric power-feeding structure and its design method |
CN109343688A (en) * | 2018-09-13 | 2019-02-15 | 郑州云海信息技术有限公司 | A kind of OCP current range adjusting method, device, terminal and storage medium |
CN109426325A (en) * | 2017-08-31 | 2019-03-05 | 纬颖科技服务股份有限公司 | Storage server system |
CN109713637A (en) * | 2018-12-27 | 2019-05-03 | 惠科股份有限公司 | A kind of over-current protection method, current foldback circuit and display device |
CN110190587A (en) * | 2019-06-21 | 2019-08-30 | 广东美的制冷设备有限公司 | Over-current protection method, current foldback circuit, intelligent power module and air conditioner |
CN111239514A (en) * | 2020-01-17 | 2020-06-05 | 苏州浪潮智能科技有限公司 | Method and device for testing overvoltage protection function of server power supply |
US20200257348A1 (en) * | 2019-02-08 | 2020-08-13 | Hewlett Packard Enterprise Development Lp | Dynamic ocp adjustment |
CN112242731A (en) * | 2020-10-14 | 2021-01-19 | 华人运通(江苏)技术有限公司 | Overcurrent protection device for electric automobile, battery system and electric automobile |
CN112350878A (en) * | 2019-08-07 | 2021-02-09 | 阿里巴巴集团控股有限公司 | Pressure test system |
CN112964952A (en) * | 2021-02-19 | 2021-06-15 | 山东英信计算机技术有限公司 | Server test system |
CN113098114A (en) * | 2021-05-25 | 2021-07-09 | 高创(苏州)电子有限公司 | Charging protection method and device, mainboard and display |
CN113284464A (en) * | 2020-02-19 | 2021-08-20 | 三星显示有限公司 | Display device and driving method thereof |
CN113451990A (en) * | 2021-06-24 | 2021-09-28 | 苏州浪潮智能科技有限公司 | System, method and server for enhancing reliability of overcurrent protection |
-
2022
- 2022-03-17 CN CN202210265696.5A patent/CN114636852B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102739212A (en) * | 2012-06-29 | 2012-10-17 | 台达电子企业管理(上海)有限公司 | Over-current protection point setting method, system and control device for electronic equipment |
US20140112036A1 (en) * | 2012-10-23 | 2014-04-24 | Acbel Polytech Inc. | Power supply with output protection and control method of the power supply |
CN107272860A (en) * | 2017-06-29 | 2017-10-20 | 郑州云海信息技术有限公司 | A kind of server hard disc electric power-feeding structure and its design method |
CN109426325A (en) * | 2017-08-31 | 2019-03-05 | 纬颖科技服务股份有限公司 | Storage server system |
CN109343688A (en) * | 2018-09-13 | 2019-02-15 | 郑州云海信息技术有限公司 | A kind of OCP current range adjusting method, device, terminal and storage medium |
CN109713637A (en) * | 2018-12-27 | 2019-05-03 | 惠科股份有限公司 | A kind of over-current protection method, current foldback circuit and display device |
US20200257348A1 (en) * | 2019-02-08 | 2020-08-13 | Hewlett Packard Enterprise Development Lp | Dynamic ocp adjustment |
CN110190587A (en) * | 2019-06-21 | 2019-08-30 | 广东美的制冷设备有限公司 | Over-current protection method, current foldback circuit, intelligent power module and air conditioner |
CN112350878A (en) * | 2019-08-07 | 2021-02-09 | 阿里巴巴集团控股有限公司 | Pressure test system |
CN111239514A (en) * | 2020-01-17 | 2020-06-05 | 苏州浪潮智能科技有限公司 | Method and device for testing overvoltage protection function of server power supply |
CN113284464A (en) * | 2020-02-19 | 2021-08-20 | 三星显示有限公司 | Display device and driving method thereof |
CN112242731A (en) * | 2020-10-14 | 2021-01-19 | 华人运通(江苏)技术有限公司 | Overcurrent protection device for electric automobile, battery system and electric automobile |
CN112964952A (en) * | 2021-02-19 | 2021-06-15 | 山东英信计算机技术有限公司 | Server test system |
CN113098114A (en) * | 2021-05-25 | 2021-07-09 | 高创(苏州)电子有限公司 | Charging protection method and device, mainboard and display |
CN113451990A (en) * | 2021-06-24 | 2021-09-28 | 苏州浪潮智能科技有限公司 | System, method and server for enhancing reliability of overcurrent protection |
Also Published As
Publication number | Publication date |
---|---|
CN114636852B (en) | 2024-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108228374B (en) | Equipment fault processing method, device and system | |
CN109710378B (en) | Virtual machine fault detection method | |
CN107085153B (en) | Electricity abnormal fire early warning method and system | |
CN110618890B (en) | Fault processing method and device, electronic equipment and computer readable storage medium | |
CN111092865B (en) | Security event analysis method and system | |
KR101947487B1 (en) | monitoring control device for automatic data recovery | |
CN113438106A (en) | Content distribution network processing method and device and electronic equipment | |
CN112231140A (en) | Method, system, terminal and storage medium for fault recovery of BMC (baseboard management controller) of storage device | |
CN114528350B (en) | Cluster brain fracture processing method, device, equipment and readable storage medium | |
CN115858311A (en) | Operation and maintenance monitoring method and device, electronic equipment and readable storage medium | |
CN114636852B (en) | Overcurrent test method and device for server, server and readable storage medium | |
CN107179972A (en) | For the method for calculation machine, microcontroller, test equipment and test system | |
CN111062503B (en) | Power grid monitoring alarm processing method, system, terminal and storage medium | |
CN114374627A (en) | Method, device and system for restarting baseboard management controller and server | |
CN115185724A (en) | Fault processing method, device, electronic equipment and storage medium | |
CN110838940A (en) | Underground cable inspection task configuration method and device | |
CN113589092B (en) | Fatigue machine, equipment power-on and power-off test system and power-on and power-off test method | |
CN112583617A (en) | Fault determination method, server, control terminal and storage medium | |
CN113098085B (en) | Charging processing method and electronic equipment | |
CN113868034A (en) | Server power-on detection method, electronic equipment and system | |
CN111106979B (en) | Method and equipment for switch threshold alarm test | |
CN114116276A (en) | BMC hang-up self-recovery method, system, terminal and storage medium | |
CN114356617B (en) | Error injection testing method, device, system and computing equipment | |
CN106909489B (en) | Method and device for testing EventLog state | |
CN115201611B (en) | Method for testing VR power supply stability of CPU and related components |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |