CN112015609A - Hot plug test method, device and equipment - Google Patents

Hot plug test method, device and equipment Download PDF

Info

Publication number
CN112015609A
CN112015609A CN202010887188.1A CN202010887188A CN112015609A CN 112015609 A CN112015609 A CN 112015609A CN 202010887188 A CN202010887188 A CN 202010887188A CN 112015609 A CN112015609 A CN 112015609A
Authority
CN
China
Prior art keywords
power
tested
external equipment
management device
hot plug
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.)
Withdrawn
Application number
CN202010887188.1A
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.)
Beijing Inspur Data Technology Co Ltd
Original Assignee
Beijing Inspur Data Technology 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 Beijing Inspur Data Technology Co Ltd filed Critical Beijing Inspur Data Technology Co Ltd
Priority to CN202010887188.1A priority Critical patent/CN112015609A/en
Publication of CN112015609A publication Critical patent/CN112015609A/en
Withdrawn 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/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4081Live connection to bus, e.g. hot-plugging

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a hot plug test method, wherein a power-on and power-off management device can control power-off and power-on of an external device without plugging and unplugging the external device, and the method can simulate one hot plugging and unplugging action of manual work on the external device to be tested by controlling the disconnection and the connection of the power-on and power-off management device, and can perform subsequent judgment on whether the external device is abnormal or not and whether the test reaches a preset test wheel number or not and corresponding control so as to complete the hot plug test. The invention also discloses a hot plug testing device and equipment, which have the same beneficial effects as the hot plug testing method.

Description

Hot plug test method, device and equipment
Technical Field
The invention relates to the field of hot plug, in particular to a hot plug testing method, and also relates to a hot plug testing device and equipment.
Background
Many external devices on present computer equipment all support the hot plug function, also do not cut off the power supply at computer equipment and insert the operation, but every batch of external device is guaranteeing under the prerequisite of not breaking down, the number of times that can carry out the hot plug repeatedly is unknown, in order to test the performance of the repeated hot plug of external device, can be generally carried out the action of inserting of predetermineeing the test wheel number by the staff to the external device that awaits measuring among the prior art, and verify whether it can break down, thereby accomplish the hot plug test, but need the staff to continuously carry out the work of inserting of the external device that awaits measuring, degree of automation is lower, the human cost is higher.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a hot plug test method, which realizes automatic hot plug test, has higher automation degree and reduces the labor cost; another object of the present invention is to provide a hot plug testing apparatus and device, which can achieve automatic hot plug testing, have high automation degree, and reduce labor cost.
In order to solve the above technical problem, the present invention provides a hot plug test method, applied to a processor, comprising:
under the power-on state, controlling a power-on and power-off management device connected with the external equipment to be tested to be disconnected and connected so as to realize hot plug of the external equipment to be tested;
judging whether the external equipment to be tested is abnormal or not after the power-on and power-off management device is switched on;
if the external equipment to be tested is abnormal, controlling a prompter to prompt that the external equipment to be tested is abnormal;
if not, adding the actual test round number together to judge whether the actual test round number reaches a preset test round number;
if not, executing the step of controlling the power on/off management device connected with the external equipment to be tested to be disconnected and connected in the power on state;
if yes, the test is finished.
Preferably, in the power-on state, the specifically controlling the power-on and power-off management device connected to the external device to be tested to be turned off and on is that:
controlling the external equipment to be tested to run a predetermined random task and determining random running time;
after the random operation time is long, controlling a power on/off management device connected with the external equipment to be tested to be disconnected in a power on state;
and under the power-on state, controlling the power-on and power-off management device to be conducted.
Preferably, after the random operation duration and in a power-on state, after the power-on management device connected to the external device to be tested is controlled to be disconnected, and before the power-on management device is controlled to be connected in the power-on state, the hot plug test method further includes:
determining a random waiting time length;
then, in the power-on state, controlling the power-on/off management device to be turned on specifically includes:
and after the random waiting time, controlling the power-on and power-off management device to be conducted in a power-on state.
Preferably, the hot plug test method further comprises:
pre-determining standard field detection data of the external equipment to be detected;
after the random operation duration, in the power-on state, controlling the power-on and power-off management device connected with the external equipment to be tested to be disconnected specifically:
after the random operation duration, determining current field detection data of the external equipment to be detected and judging whether the current field detection data is consistent with the standard field detection data;
if the current values are consistent, controlling the power-on and power-off management device connected with the external equipment to be tested to be disconnected in the power-on state;
judging whether the external equipment to be tested is abnormal or not after the power-on and power-off management device is switched on specifically comprises the following steps:
judging whether the external equipment to be detected can be identified or not after the power-on and power-off management device is switched on;
if the external equipment to be detected can be identified, determining the current field detection data of the external equipment to be detected;
if the external equipment to be tested cannot be identified, judging that the external equipment to be tested is in an unidentifiable abnormal state;
judging whether the current field detection data is consistent with the standard field detection data;
and if the field detection data are inconsistent, judging that the external equipment to be detected is in an abnormal state of field detection data abnormity.
Preferably, after the power-on and power-off management device is turned on and then determines whether the external device to be tested is abnormal, the hot plug test method further includes:
and controlling a memory to record the abnormity of the external equipment to be tested.
Preferably, there are a plurality of external devices to be tested.
Preferably, the external device to be tested is a Solid State Disk (SSD).
Preferably, the power on/off management device is a share device.
In order to solve the above technical problem, the present invention further provides a hot plug testing apparatus, which is applied to a processor, and includes:
the first control module is used for controlling the power-on and power-off management device connected with the external equipment to be tested to be disconnected and connected under the power-on state so as to realize hot plug of the external equipment to be tested;
the first judging module is used for judging whether the external equipment to be tested is abnormal or not after the power on/off management device is switched on, if so, triggering the second control module, and if not, triggering the second judging module;
the second control module is used for controlling a prompter to prompt the abnormality of the external equipment to be tested;
the second judging module is used for adding the actual testing wheel number and judging whether the actual testing wheel number reaches the preset testing wheel number, if not, the first control module is triggered, and if so, the ending module is triggered;
and the ending module is used for ending the test.
In order to solve the above technical problem, the present invention further provides a hot plug test apparatus, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of the hot plug test method in any one of the above modes when the computer program is executed.
The invention provides a hot plug test method, wherein a power-on and power-off management device can control power-off and power-on of an external device without plugging and unplugging the external device, and the method can simulate one hot plugging and unplugging action of a person on the external device to be tested through the control on the disconnection and the connection of the power-on and power-off management device, can perform subsequent judgment on whether the external device is abnormal or not and whether the test reaches a preset test wheel number or not and correspondingly control to complete the hot plug test.
The invention also provides a hot plug testing device and equipment, which have the same beneficial effects as the hot plug testing method.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic flow chart of a hot plug testing method according to the present invention;
FIG. 2 is a schematic structural diagram of a hot plug testing apparatus according to the present invention;
fig. 3 is a schematic structural diagram of a hot plug test device according to the present invention.
Detailed Description
The core of the invention is to provide a hot plug test method, which realizes automatic hot plug test, has higher automation degree and reduces the labor cost; the other core of the invention is to provide a hot plug testing device and equipment, which realize automatic hot plug testing, have higher automation degree and reduce labor cost.
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.
Referring to fig. 1, fig. 1 is a schematic flow chart of a hot plug testing method provided by the present invention, the hot plug testing method includes:
step S1: under the power-on state, the power-on and power-off management device connected with the external equipment to be tested is controlled to be disconnected and connected, so that hot plug of the external equipment to be tested is realized;
specifically, in view of the technical problems in the background art, in order to implement the operation without requiring a worker to perform the plugging and unplugging operation of the external device to be tested, the applicant considers that when the power on/off management device is controlled to be turned off, the control of the power on/off management device is equivalent to the removal of heat from the external device, and the control of the power on/off management device is equivalent to the addition of heat to the external device.
The control of the on-off management device is completed by the processor in the power-on state, so that the hot plug of the external equipment to be tested can be simulated, and the test of the repeated hot plug performance is completed.
Specifically, the external device to be tested may be part of the external devices in a certain batch of external devices, and the overall performance of the batch of external devices may be reflected by testing the external devices to be tested.
Step S2: judging whether the external equipment to be tested is abnormal or not after the power on/off management device is switched on;
specifically, after the power-on and power-off management device is controlled to be switched on, a round of hot plugging is finished, and after each round of hot plugging is finished, the external device to be tested is likely to generate abnormal conditions due to the round of hot plugging, so that whether the external device to be tested is abnormal or not can be judged after the power-on and power-off management device is switched on in the step, and the subsequent testing step can be finished.
Step S3: if the external equipment to be tested is abnormal, the control prompter prompts the abnormality of the external equipment to be tested;
specifically, under the unusual condition of external equipment that awaits measuring, alright in order to await measuring external equipment through the prompter suggestion so that the staff in time knows the unusual condition of the external equipment that awaits measuring of test, of course, for the convenience of staff knows the actual test number of rounds that the unusual condition appears, can also indicate the actual test number of rounds that the unusual condition appears through the prompter simultaneously to the staff knows the actual test number of rounds that the unusual condition appears in this external equipment that awaits measuring.
Specifically, the prompter may be of various types, for example, may be a display or a voice broadcaster, and the embodiment of the present invention is not limited herein.
Step S4: if not, adding the actual test wheel number together to judge whether the actual test wheel number reaches the preset test wheel number;
if not, executing the step of controlling the power on/off management device connected with the external equipment to be tested to be disconnected and connected in the power on state;
specifically, under the condition of no abnormity, the external device to be tested can still be normally used after the current actual test round number is passed, at the moment, whether the preset test round number is reached can be judged, and the next round of test can be continued under the condition that the preset test round number is not reached, so that the test of the preset test round number can be automatically completed, and the test of the repeated hot plugging performance of the external device to be tested is achieved.
Step S5: if yes, the test is finished.
Specifically, when the number of preset test rounds is reached, it is indicated that no abnormal condition occurs in the external device to be tested under the preset number of test rounds, and the test can be ended when the number of preset test rounds is reached.
Of course, when the test is finished, the prompter can be controlled to prompt the test to be finished so that the staff can know the test progress.
In the process of testing any round, the processor can also control the prompter to prompt the current actual number of testing rounds, so that the working personnel can know the current number of testing rounds in real time.
The invention provides a hot plug test method, wherein a power-on and power-off management device can control power-off and power-on of an external device without plugging and unplugging the external device, and the method can simulate one hot plugging and unplugging action of a person on the external device to be tested through the control on the disconnection and the connection of the power-on and power-off management device, can perform subsequent judgment on whether the external device is abnormal or not and whether the test reaches a preset test wheel number or not and correspondingly control to complete the hot plug test.
On the basis of the above-described embodiment:
as a preferred embodiment, in the power-on state, the specifically controlling the power-on/off management device connected to the external device to be tested to be turned on and off includes:
controlling the external equipment to be tested to run a predetermined random task and determining the random running time;
after the random operation duration, controlling the power on/off management device connected with the external equipment to be tested to be disconnected in a power on state;
and under the power-on state, the power-on and power-off management device is controlled to be switched on.
Specifically, considering that in the actual use process of the external device, the external device may be in various working conditions when the user performs hot plug, in order to simulate the actual application scene of real repeated hot plug more vividly, in the embodiment of the present invention, a random task and a random operation time length may be predetermined, and then after the external device to be tested operates the random task with the random operation time length, the power on/off management device is controlled to be turned off and on, that is, the hot plug is simulated, so that the purpose of simulating the actual use scene more truly is achieved, and the test result is more accurate.
The random task may be of various types, which may be determined according to a specific type of the external device to be tested, for example, when the external device to be tested is a solid state disk, the random task may be of various types of data read-write tasks, and the like, and the embodiment of the present invention is not limited herein.
As a preferred embodiment, after the random operation duration, in the power-on state, after controlling the power-on and power-off management device connected to the external device to be tested to be disconnected, and before controlling the power-on and power-off management device to be connected in the power-on state, the hot plug test method further includes:
determining a random waiting time length;
then under the power-on state, the specific steps of controlling the power-on and power-off management device to be switched on are as follows:
and after the random waiting time length, controlling the power-on and power-off management device to be switched on in a power-on state.
Specifically, in consideration of the fact that a user usually performs hot adding after a period of time elapses after removing the external device by heat in the actual hot plugging process, in order to simulate the actual hot plugging scene more truly, the embodiment of the present invention may control the on/off management device to be turned on after controlling the random waiting time after the on/off management device is turned off, so as to further improve the authenticity and accuracy of the test.
As a preferred embodiment, the hot plug test method further includes:
pre-determining standard field detection data of the external equipment to be detected;
after the random operation is long, the specific step of controlling the power on/off management device connected with the external equipment to be tested to be disconnected in the power on state is as follows:
after the random operation duration, determining the current field detection data of the external equipment to be detected and judging whether the current field detection data is consistent with the standard field detection data;
if the current values are consistent, controlling the power-on and power-off management device connected with the external equipment to be tested to be disconnected in the power-on state;
judging whether the external equipment to be tested is abnormal after the power on/off management device is switched on specifically as follows:
judging whether the external equipment to be detected can be identified or not after the power on/off management device is switched on;
if the field detection data can be identified, determining the current field detection data of the external equipment to be detected;
if the external equipment to be detected cannot be identified, judging that the external equipment to be detected is in an unidentifiable abnormal state;
judging whether the current field detection data is consistent with the standard field detection data;
if the field detection data are inconsistent, the external device to be detected is judged to be in an abnormal state of field detection data abnormity.
Specifically, considering that if the external device has a larger problem due to hot plugging, it is likely that the external device cannot be identified by the processor, and considering that the abnormality of the external device can be reflected by the field detection data under the condition that the external device can be identified, in the present application, it may be determined whether the external device to be detected can be identified after the power-on and power-off management device is turned on, and directly determine whether the external device to be detected is in an unrecognizable abnormal state under the condition that the external device to be detected cannot be identified, and if the external device to be detected can be identified, it does not represent that the external device to be detected is normal, so it may be further determined whether the external device to be identified is normal by determining whether the current field detection data is consistent with the standard field detection data, and if the current field detection data is inconsistent with the standard field detection data, it may be determined that the external device to be detected is, the embodiment of the invention can accurately judge and prompt the abnormal state of the external equipment to be tested.
Specifically, the above-mentioned judgment of the consistency of the field detection data before the power failure is performed is to ensure that the field detection data of the external device to be tested before the power failure is normal, that is, to eliminate the case of field detection data abnormality caused by the error in operation, thereby further improving the accuracy of the repeated hot plug performance detection.
The field detection data may be of various types, for example, may be data detected by a smart-log field, a smart-vector field, and the like, and the embodiments of the present invention are not limited herein.
It should be noted that, in the embodiment of the present invention, the log generated during the running of the script corresponding to the above steps may also be stored in a preset storage directory, so that a worker may analyze the script running log as needed.
As a preferred embodiment, after the power on/off management device is turned on and then determines whether the external device to be tested is abnormal, the hot plug test method further includes:
and the control memory records the abnormity of the external equipment to be tested.
Specifically, considering that a worker needs to retrieve the test abnormal condition of the external device to be tested in the past test under some conditions, the exception of the external device to be tested can be recorded in the memory in the embodiment of the invention, so that the worker can conveniently retrieve and retrieve the exception, and the working efficiency can be improved.
As a preferred embodiment, there are a plurality of external devices to be tested.
Specifically, considering that the work efficiency is low if each external device to be tested is tested separately in sequence, and the processor (for example, a server) can support the connection and simultaneous control of a plurality of external devices through the power on/off management device, in the embodiment of the present invention, a plurality of external devices to be tested can be set to perform simultaneous testing, for example, the power on/off management device and the external devices to be tested can be in a one-to-one correspondence relationship, the power on/off management device is respectively inserted into different PCIE slots of the server, and the processor can utilize a program to control the on/off of a designated power on/off management device according to the device number of the power on/off management device to simulate the hot plug of the external devices to be tested corresponding to the power on/off management device.
The specific number of the external devices to be tested may be multiple, and the embodiment of the present invention is not limited herein.
As a preferred embodiment, the external device to be tested is an SSD (Solid State Disk or Solid State Drive).
Specifically, the SSD is a device supporting hot plug with high popularity and wide application, and therefore, it is very practical to detect the repeated hot plug performance.
Of course, the external device to be tested may be of other types besides the SSD, and the embodiment of the present invention is not limited herein.
In the communication process of the processor and the external device to be tested, if a plurality of SSDs exist, the processor can communicate with the appointed SSD through the serial number of each SSD.
Specifically, for the SSD, the random task may be a combination of various random loads, the random loads may include fio, trim, low _ format, high _ format, create ns, ndu, sanitize, reset, verify, and the like, the SSD may randomly run one or more mixed loads under the control of the processor, and the load running order and the running times may be random.
As a preferred embodiment, the power on/off management device is a Quarch device.
The quick-plug test system has the advantages that the quick-plug test system is small in size, low in cost, long in service life and the like, stitch change sequence of the external equipment in the plug process can be simulated under the control of the processor, and accuracy of repeated hot plug test of the external equipment to be tested can be further improved.
Of course, the power on/off management device may be of other types besides the search device, and the embodiment of the present invention is not limited herein.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a hot plug testing device according to the present invention, the hot plug testing device applied to a processor includes:
the first control module 1 is used for controlling the power-on and power-off management device connected with the external equipment to be tested to be disconnected and connected in a power-on state so as to realize hot plug of the external equipment to be tested;
the first judging module 2 is used for judging whether the external equipment to be detected is abnormal or not after the power on/off management device is switched on, if so, triggering the second control module 3, and if not, triggering the second judging module 4;
the second control module 3 is used for controlling the prompter to prompt the abnormality of the external equipment to be tested;
the second judging module 4 is used for adding the actual testing wheel number and judging whether the actual testing wheel number reaches the preset testing wheel number, if not, the first control module 1 is triggered, and if so, the ending module 5 is triggered;
and an ending module 5 for ending the test.
For the introduction of the hot plug testing apparatus provided in the embodiments of the present invention, reference is made to the foregoing embodiments of the hot plug testing method, and the embodiments of the present invention are not described herein again.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a hot plug test device provided in the present invention, where the hot plug test device includes:
a memory 6 for storing a computer program;
and the processor 7 is used for implementing the steps of the hot plug test method in the foregoing embodiments when executing the computer program.
For the introduction of the hot plug test device provided in the embodiment of the present invention, reference is made to the foregoing hot plug test method embodiment, and details of the embodiment of the present invention are not repeated herein.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A hot plug test method is applied to a processor and comprises the following steps:
under the power-on state, controlling a power-on and power-off management device connected with the external equipment to be tested to be disconnected and connected so as to realize hot plug of the external equipment to be tested;
judging whether the external equipment to be tested is abnormal or not after the power-on and power-off management device is switched on;
if the external equipment to be tested is abnormal, controlling a prompter to prompt that the external equipment to be tested is abnormal;
if not, adding the actual test round number together to judge whether the actual test round number reaches a preset test round number;
if not, executing the step of controlling the power on/off management device connected with the external equipment to be tested to be disconnected and connected in the power on state;
if yes, the test is finished.
2. A hot plug test method according to claim 1, wherein the controlling the power-on/off management device connected to the external device to be tested to be turned off and on in the power-on state specifically comprises:
controlling the external equipment to be tested to run a predetermined random task and determining random running time;
after the random operation time is long, controlling a power on/off management device connected with the external equipment to be tested to be disconnected in a power on state;
and under the power-on state, controlling the power-on and power-off management device to be conducted.
3. A hot plug test method according to claim 2, wherein after the random operation time period, in a power-on state, after controlling the power-on/off management device connected to the external device to be tested to be turned off, and before controlling the power-on/off management device to be turned on in the power-on state, the hot plug test method further comprises:
determining a random waiting time length;
then, in the power-on state, controlling the power-on/off management device to be turned on specifically includes:
and after the random waiting time, controlling the power-on and power-off management device to be conducted in a power-on state.
4. A method for hot plug testing according to claim 3, further comprising:
pre-determining standard field detection data of the external equipment to be detected;
after the random operation duration, in the power-on state, controlling the power-on and power-off management device connected with the external equipment to be tested to be disconnected specifically:
after the random operation duration, determining current field detection data of the external equipment to be detected and judging whether the current field detection data is consistent with the standard field detection data;
if the current values are consistent, controlling the power-on and power-off management device connected with the external equipment to be tested to be disconnected in the power-on state;
judging whether the external equipment to be tested is abnormal or not after the power-on and power-off management device is switched on specifically comprises the following steps:
judging whether the external equipment to be detected can be identified or not after the power-on and power-off management device is switched on;
if the external equipment to be detected can be identified, determining the current field detection data of the external equipment to be detected;
if the external equipment to be tested cannot be identified, judging that the external equipment to be tested is in an unidentifiable abnormal state;
judging whether the current field detection data is consistent with the standard field detection data;
and if the field detection data are inconsistent, judging that the external equipment to be detected is in an abnormal state of field detection data abnormity.
5. The hot plug test method according to claim 1, wherein after the power-on and power-off management device is turned on and determines whether the external device to be tested is abnormal, the hot plug test method further comprises:
and controlling a memory to record the abnormity of the external equipment to be tested.
6. A hot plug test method according to claim 1, wherein there are a plurality of external devices to be tested.
7. The hot plug test method according to claim 1, wherein the external device to be tested is a Solid State Disk (SSD).
8. A hot plug test method according to any of claims 1 to 7, wherein the power on/off management device is a Quarch device.
9. A hot plug test device is applied to a processor and comprises:
the first control module is used for controlling the power-on and power-off management device connected with the external equipment to be tested to be disconnected and connected under the power-on state so as to realize hot plug of the external equipment to be tested;
the first judging module is used for judging whether the external equipment to be tested is abnormal or not after the power on/off management device is switched on, if so, triggering the second control module, and if not, triggering the second judging module;
the second control module is used for controlling a prompter to prompt the abnormality of the external equipment to be tested;
the second judging module is used for adding the actual testing wheel number and judging whether the actual testing wheel number reaches the preset testing wheel number, if not, the first control module is triggered, and if so, the ending module is triggered;
and the ending module is used for ending the test.
10. A hot plug test apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the hot plug test method according to any of claims 1 to 8 when executing the computer program.
CN202010887188.1A 2020-08-28 2020-08-28 Hot plug test method, device and equipment Withdrawn CN112015609A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010887188.1A CN112015609A (en) 2020-08-28 2020-08-28 Hot plug test method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010887188.1A CN112015609A (en) 2020-08-28 2020-08-28 Hot plug test method, device and equipment

Publications (1)

Publication Number Publication Date
CN112015609A true CN112015609A (en) 2020-12-01

Family

ID=73502360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010887188.1A Withdrawn CN112015609A (en) 2020-08-28 2020-08-28 Hot plug test method, device and equipment

Country Status (1)

Country Link
CN (1) CN112015609A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113656224A (en) * 2021-07-22 2021-11-16 浪潮商用机器有限公司 NVMe SSD hot plug test method, system, device and readable storage medium
CN114356677A (en) * 2022-03-16 2022-04-15 北京得瑞领新科技有限公司 NVMe SSD hot plug test method, device, equipment and storage medium
CN116758973A (en) * 2023-08-16 2023-09-15 江苏华存电子科技有限公司 Testing method for unexpected power failure data verification of enterprise-level solid state disk

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189621A (en) * 2018-08-20 2019-01-11 郑州云海信息技术有限公司 A kind of test method and system of NVMe SSD hot plug
CN109800117A (en) * 2019-01-25 2019-05-24 郑州云海信息技术有限公司 A kind of DC automated testing method and system based on IPMI
CN109918244A (en) * 2019-02-27 2019-06-21 苏州浪潮智能科技有限公司 A kind of system and method for the hot-swappable test of automatic imitation PCIE SSD

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189621A (en) * 2018-08-20 2019-01-11 郑州云海信息技术有限公司 A kind of test method and system of NVMe SSD hot plug
CN109800117A (en) * 2019-01-25 2019-05-24 郑州云海信息技术有限公司 A kind of DC automated testing method and system based on IPMI
CN109918244A (en) * 2019-02-27 2019-06-21 苏州浪潮智能科技有限公司 A kind of system and method for the hot-swappable test of automatic imitation PCIE SSD

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113656224A (en) * 2021-07-22 2021-11-16 浪潮商用机器有限公司 NVMe SSD hot plug test method, system, device and readable storage medium
CN114356677A (en) * 2022-03-16 2022-04-15 北京得瑞领新科技有限公司 NVMe SSD hot plug test method, device, equipment and storage medium
CN116758973A (en) * 2023-08-16 2023-09-15 江苏华存电子科技有限公司 Testing method for unexpected power failure data verification of enterprise-level solid state disk
CN116758973B (en) * 2023-08-16 2023-10-27 江苏华存电子科技有限公司 Testing method for unexpected power failure data verification of enterprise-level solid state disk

Similar Documents

Publication Publication Date Title
CN112015609A (en) Hot plug test method, device and equipment
CN115827111B (en) Method and device for adjusting server startup item, storage medium and electronic device
CN103364650A (en) Testing system and testing method
CN111653307A (en) Method, system, equipment and storage medium for detecting data integrity of solid state disk
CN108628709A (en) The hard disk detection method and device of equipment
CN111176918A (en) Server testing method, system, equipment and computer readable storage medium
CN110767259A (en) Power failure pressure test method for flash memory device
CN115827358A (en) Automatic test system, method and device for PFR function and storage medium
CN112269697A (en) Equipment storage performance testing method, system and related device
CN111090557B (en) Management method, device and equipment for abnormal bandwidth reduction of PCIE (peripheral component interface express) equipment
CN115981940A (en) Storage server testing method and device, electronic equipment and medium
CN114356677B (en) NVMe SSD hot plug test method, device, equipment and storage medium
CN116306429A (en) Method, device, computer storage medium and terminal for realizing state data capture
CN110413531A (en) Realize IOMT automatic test approach, device, computer equipment and storage medium
CN111679943A (en) Server test system
CN114461458A (en) Server memory test method, system, terminal and storage medium
CN113656224A (en) NVMe SSD hot plug test method, system, device and readable storage medium
CN109039770B (en) Server CMC refreshing method and device and related equipment
CN113656235B (en) Method, device, system and medium for controlling and testing power consumption of whole server
CN111858208B (en) Standby function testing method, device, equipment and medium of processor chip
CN111858239B (en) Server hard disk monitoring method, device, equipment and medium
CN111863116B (en) Multi-disk indicator lamp testing method, system and device
CN116665752B (en) UFS steady-state performance test method and device, readable storage medium and electronic equipment
CN110704255B (en) Method, device and equipment for detecting reliability of power failure protection function
CN101655810A (en) Method for verifying data

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20201201