A performance testing device and testing method based on solid state hard disk
By setting up hard disk connection module, performance test module and abnormal positioning module in the solid state hard disk performance test device, automatic testing and multi-hard disk testing of solid state hard disk in multiple states is solved, and the existing technology cannot be used in multiple states. The test and positioning problems improve the accuracy of the test and the display effect of the results.
Patent Information
- Application Number
- CN202410216584.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-27
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-02-27
AI Technical Summary
The existing solid-state drive performance test devices cannot perform performance testing in multiple states, making it difficult to detect and locate abnormal phenomena during performance testing, and lack of corresponding connection between performance indicator data and model during multi-hard disk testing, and the test data is complete. Their performance and efficiency are not high, and the diversified test results show insufficient results.
A performance testing device based on solid-state hard disk was designed, including hard disk connection module, performance testing module, abnormal positioning module and performance result display module. By setting different test task scenarios, automatic testing of solid-state hard disk performance and simultaneous testing of multiple hard disks are realized. , establish the correspondence between the label and the model, judge the integrity of the test data volume, and display the test results through various chart forms.
It improves the adequacy and accuracy of performance testing, can detect performance changes in various states, locate abnormal phenomena and time points, ensure the integrity and accuracy of test data, and provide clear display of test results.
Smart Images

Figure CN118038956B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of hard disk testing, and in particular to a performance testing device based on a solid state hard disk and a testing method thereof. Background Art
[0002] Solid-state hard disks are hard disks made of solid-state electronic storage chip arrays, consisting of a control unit and a storage unit. They are widely used in military, network monitoring, network terminals, medical, aviation, navigation equipment and other fields. Before a solid-state hard disk is put into use, its performance indicators need to be tested. However, when the existing solid-state hard disk performance test device is used to test the performance of the solid-state hard disk, it is not convenient to perform performance tests on the solid-state hard disk under multiple states, and it is not convenient to find abnormal phenomena during the performance test and locate the abnormal time point.
[0003] The defects of the existing performance testing device are:
[0004] 1. Patent document CN109346122B mainly considers testing the performance of solid-state drives under steady-state conditions, without considering the multiple scenarios in actual use, and performing performance tests under multiple scenarios, and querying and locating abnormal phenomena and occurrence times during the test;
[0005] 2. Patent document CN116610469B mainly considers eliminating the hidden danger of performance jitter in the process of solid-state hard disk performance testing, but does not consider the problem of establishing the corresponding connection relationship between performance indicator data and label and model when conducting multi-hard disk testing;
[0006] 3. Patent document CN111063387B mainly considers how to simplify the SSD performance test steps and improve the test efficiency, but does not consider whether the test data is complete during the performance test;
[0007] 4. Patent document CN116909825B mainly considers how to improve the performance test effect and efficiency of solid-state hard disks, but does not consider the problem of displaying test results in a diversified manner. Summary of the invention
[0008] The purpose of the present invention is to provide a performance testing device based on a solid state drive and a testing method thereof to solve the problems raised in the above background technology.
[0009] To achieve the above object, the present invention provides the following technical solutions: a performance test device based on a solid state hard disk, comprising a test machine body, wherein the test machine body is provided with a hard disk connection module, a performance test module, an abnormality location module and a performance result display module;
[0010] The front of the test machine body is provided with a plug interface, and the plug interface is electrically connected to the hard disk connection module. The top of the test machine body is provided with a display screen, and the display screen is electrically connected to the performance result display module.
[0011] The hard disk connection module is used to obtain standard performance indicator data of the hard disk to be tested connected in the plug-in interface, and transmit the data to the performance test module, the performance test module is used to receive performance test instructions, adjust test environment parameters and obtain test parameters, and obtain performance test results of the hard disk to be tested according to the test parameters, the abnormality positioning module is used to receive the performance test results of the hard disk to be tested, and locate the time point of performance abnormality, and the performance result display module is used to receive the performance test results of the hard disk to be tested and the abnormal time point positioning results, and display them on the display screen;
[0012] The abnormality locating module includes a time period locating unit, and the time period locating unit is provided with a scheme 1 step and a scheme 2 step. The time period locating unit is used to detect whether an abnormal phenomenon occurs during the solid state hard disk performance test and locate the time point when the abnormal phenomenon occurs.
[0013] Preferably, the hard disk connection module includes an interface connection unit and an information acquisition unit, the interface connection unit is electrically connected to the plug interface, the plug interface is used to connect the solid state hard disk to be tested, and the interface connection unit is used to establish a data transmission relationship between the solid state hard disk to be tested and the performance test device;
[0014] The information acquisition unit includes a hard disk basic information acquisition subunit and a performance indicator acquisition subunit. The hard disk basic information acquisition subunit is used to label the solid state hard disk to be tested, obtain the model of the solid state hard disk to be tested, and establish a corresponding connection relationship between the label and the model of the solid state hard disk to be tested. The performance indicator acquisition subunit is used to obtain standard performance indicator data of the solid state hard disk to be tested, wherein the standard performance indicator data selects the data transmission rate and is recorded as X0.
[0015] Preferably, the performance test module includes an instruction transceiver unit, an environmental parameter preset unit, a test data setting unit and a test judgment unit;
[0016] The instruction transceiver unit is used to receive the performance test instruction and output the drive control instruction to the environmental parameter preset unit and the test data setting unit;
[0017] The environmental parameter preset unit is used to set the performance test task scenario, wherein the performance test task scenario includes a preheating condition state, a steady-state condition state and a load condition state.
[0018] The test data setting unit is used to store test data for testing actual performance index data of the solid state drive, and is used to calculate the test output data volume Ni of the test data, i=1, 2, 3;
[0019] The test judgment unit includes a standard indicator storage subunit, a test parameter receiving subunit and a performance test judgment subunit;
[0020] The standard index storage subunit is connected to the information acquisition unit for data sharing, and the standard index storage subunit is used to store the number, model and standard performance index data of the solid state drive to be tested;
[0021] The test parameter receiving subunit is used to calculate the amount of test data written to the solid state drive to be tested Mi, i=1, 2, 3, and record the time Ti, i=1, 2, 3, taken to write the test data to the solid state drive to be tested;
[0022] The performance test judgment subunit is used to calculate the actual performance index data of the solid-state hard disk to be tested according to the write data amount Mi and the data writing time Ti in the test parameter receiving subunit, and compare it with the standard performance index data in the standard index storage subunit, and output the performance test judgment result.
[0023] Preferably, the test data output amount Ni includes N1, N2, and N3, wherein N1 is the test output data amount under the preheating condition, N2 is the test output data amount under the steady-state condition, and N3 is the test output data amount under the load condition;
[0024] The test write data amount Mi includes M1, M2, and M3, wherein M1 is the test write data amount under preheating conditions, M2 is the test write data amount under steady-state conditions, and M3 is the test write data amount under load conditions. The used time Ti includes T1, T2, and T3, wherein T1 is the time used when the test write data amount is M1 under preheating conditions, T2 is the time used when the test write data amount is M2 under steady-state conditions, and T3 is the time used when the test write data amount is M3 under load conditions.
[0025] Preferably, the test judgment unit outputs the actual performance indicator data and performance judgment result of the solid state hard disk to be tested, including the following steps:
[0026] Get shared data: Get the SSD model to be tested and the standard performance indicator data of the corresponding model;
[0027] Determine the integrity of the test data volume: compare the test output data volume Ni with the test write data volume Ni to see if they are equal, to prevent test data loss;
[0028] Divide the intervals and calculate the actual performance indicator data: divide the time T used to write the test data in different performance test task scenarios into P groups of equal-length calculation time segments Dp, where P = 1, 2, 3... and P ≥ 4, and obtain the test write data volume Mip within Dp, and calculate the actual performance indicator data Xip corresponding to each group of time segments, where Xip = Mip / Dp;
[0029] Perform performance test judgment and output the performance judgment result: compare the actual performance indicator data Xip corresponding to each group of time segments with the standard performance indicator data X0 in the standard storage subunit. When the comparison result is Xip≥X0, output the "performance test passed" judgment result. When the comparison result shows that the actual performance indicator data Xip is less than the standard performance indicator data X0, output the "performance test failed" judgment result to the abnormal positioning module.
[0030] Preferably, the abnormality locating module further includes a judgment result receiving unit and a result transmission unit, and the judgment result receiving unit and the result transmission unit are both electrically connected to the time period locating unit;
[0031] The judgment result receiving unit is used to receive the performance test judgment result output by the test judgment unit, and judge the time period positioning unit to perform the step of scheme one or scheme two according to the judgment result, wherein when the received performance judgment result is "the performance test is qualified", the time period positioning unit is driven to perform the step of scheme one, and when the received performance judgment result is "the performance test is unqualified", the time period positioning unit is driven to perform the step of scheme two;
[0032] The time period positioning unit receives the time component segment Dp used for calculation, the test write data volume Mip within Dp, and the actual performance indicator data Xip corresponding to each group of time component segments, and the steps of scheme 1 and scheme 2 of the time period positioning unit are as follows:
[0033] Solution 1: For different test task scenarios, the Dp sequence number of the time component used for calculation is used as the horizontal coordinate, and Xip corresponding to Dp is used as the vertical coordinate component plane rectangular coordinate system;
[0034] In the plane rectangular coordinate system of the corresponding task scene, take Xi1 corresponding to the first segment D1 as the first point, take Xi2 corresponding to D2 as the second point, calculate the first linear condition Ki1 under the corresponding task scene, then take Xi1 corresponding to the first segment D1 as the first point, take Xi3 corresponding to D3 as the second point, calculate the second linear condition Ki2, repeat the calculation steps of the first linear condition Ki1 or the second linear calculation condition Ki2, and obtain P-1 groups of linear conditions;
[0035] Select the linear condition with the most repetitions in the P-1 group of linear conditions as the actual performance index data linear condition K, and take Xi1 corresponding to the first segment D1 as the first point and the linear condition K as the slope to obtain the time period actual performance curve, and select the calculation time component segment Dp corresponding to the actual performance index data Xip that does not conform to the time period actual performance curve as the abnormal phenomenon occurrence time period, and continue with the second step of the scheme;
[0036] Solution 2: When the actual performance indicator data Xip is less than the standard performance indicator data X0, the corresponding calculation time component segment Dp is selected, and then Dp is divided into several groups of equal-length positioning time component segments Ws, and the test write data volume MWs in Ws is obtained, and the actual performance indicator data XiWs corresponding to each group of positioning time component segments Ws is calculated, and then compared and judged by the performance test judgment subunit, and the positioning time component segment corresponding to the abnormal data is queried as the time point when the abnormal phenomenon occurs;
[0037] The result transmission unit transmits the abnormal data locating time period corresponding to the abnormal data output by the time period locating unit to the performance result display module.
[0038] Preferably, the performance result display module is used to receive performance test judgment results, abnormal data positioning results, task scenario parameters and actual performance indicator data Xip, and generate a corresponding display mode.
[0039] Preferably, the performance result display module converts different task scenario parameters and actual performance indicator data Xip under the task scenario into a coordinate curve display form, converts the actual performance indicator data Xip and the standard performance indicator data into a bar chart or line chart display form, and converts the performance test judgment results of the solid state drive to be tested, the abnormal phenomenon time period query results and the abnormal phenomenon occurrence point positioning results into a report display form.
[0040] A performance test method based on a solid state drive, the performance test method of the solid state drive is as follows:
[0041] S1. Connect the solid-state drive to be tested to the test data output port of the performance test device through an interface, label the solid-state drive, and record the solid-state drive model and standard performance index data;
[0042] S2. Output the test data to the test data setting unit and set the performance test task scenario;
[0043] S3. In different test task scenarios, the test judgment unit writes test data into the solid state drive, calculates actual performance indicator data, and judges the performance test results;
[0044] S4. According to the actual performance indicator data and the performance test results, check whether there are any abnormal phenomena during the solid state drive performance test, and locate the abnormal points;
[0045] S5. The performance test results are displayed in the form of coordinate curves, charts and reports through the performance result display module.
[0046] Preferably, in step S4, the following steps are also included:
[0047] S41. For the solid-state hard disk whose performance judgment result is "performance test passed", the time period positioning unit judges the abnormal condition through the step of scheme one, analyzes whether abnormal phenomena occur during the performance test, and locates the abnormal time point for the abnormal phenomena and the solid-state hard disk whose performance judgment result is "performance test failed".
[0048] Compared with the prior art, the present invention has the following beneficial effects:
[0049] 1. The present invention achieves the purpose of automatically testing the solid-state hard disk by setting a performance test module and a time period positioning module, and by setting different test task scenarios, it is beneficial to improve the adequacy of the performance test and the accuracy of the performance test results, and is convenient for detecting whether abnormal performance changes occur during the solid-state hard disk performance test process, and for positioning the time period for the abnormal phenomenon, it is convenient to further determine the time point when the abnormal phenomenon occurs, and to obtain the test environment parameters and time conditions at the time point when the abnormal phenomenon occurs.
[0050] 2. The present invention achieves the purpose of simultaneously performing performance tests on multiple solid-state hard disks by providing a hard disk connection module, thereby improving the practicality of the performance testing device, and by establishing a corresponding connection relationship between the label and the solid-state hard disk serial number and the standard performance indicator data, output confusion is avoided, thereby providing accuracy of the performance test results.
[0051] 3. The present invention is provided with a test judgment unit for judging the integrity of the test data volume and preventing the loss of test data, which is beneficial to improving the accuracy of the calculation of actual performance index data. By using the divided intervals to calculate the actual performance index data, it is beneficial to reduce calculation errors and improve the accuracy of the test results.
[0052] 4. The present invention is provided with a performance result display module to display the test results of the solid-state hard disk in a variety of display forms such as coordinate curves, line graphs or bar graphs, and displays the performance test judgment results and abnormal data positioning results of the tested solid-state hard disk in the form of a table report, and is convenient for accurately reporting the occurrence points of abnormal phenomena occurring during the performance test, thereby achieving the purpose of clearly and accurately displaying the performance test results of the solid-state hard disk. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 A schematic diagram of the steps of implementing the testing method of the testing device of the present invention;
[0054] Figure 2 It is a schematic diagram of the composition relationship of the testing device of the present invention;
[0055] Figure 3 It is a schematic diagram of the composition of the performance test module of the present invention;
[0056] Figure 4 It is a flow chart of the performance test module of the present invention;
[0057] Figure 5 It is a schematic diagram of the abnormality positioning module of the present invention;
[0058] Figure 6 It is an overall schematic diagram of the present invention.
[0059] In the figure: 1. Test machine body; 2. Plug interface; 3. Display screen. DETAILED DESCRIPTION
[0060] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0061] See also Figure 2 and Figure 6 , an embodiment provided by the present invention: a performance test device based on a solid state hard disk, comprising a test machine body, in which a hard disk connection module, a performance test module, an abnormality positioning module and a performance result display module are arranged;
[0062] A plug interface is provided on the front of the test machine body, and the plug interface is electrically connected to the hard disk connection module. A display screen is provided on the top of the test machine body, and the display screen is electrically connected to the performance result display module.
[0063] The hard disk connection module is used to obtain standard performance indicator data of the hard disk to be tested connected in the plug interface, and transmit the data to the performance test module. The performance test module is used to receive performance test instructions, adjust test environment parameters and obtain test parameters, and obtain performance test results of the hard disk to be tested according to the test parameters. The abnormality positioning module is used to receive the performance test results of the hard disk to be tested and locate the time point of performance abnormality. The performance result display module is used to receive the performance test results of the hard disk to be tested and the abnormal time point positioning results, and display them through the display screen; the hard disk connection module includes an interface connection unit and an information acquisition unit. The interface connection unit is electrically connected to the plug interface. The plug interface is used to connect the solid-state hard disk to be tested. The interface connection unit is used to establish a data transmission relationship between the solid-state hard disk to be tested and the performance test device;
[0064] Furthermore, by setting up a hard disk connection module, it is convenient to connect the performance testing device to the hard disk to be tested. The information acquisition unit includes a hard disk basic information acquisition subunit and a performance indicator acquisition subunit. The hard disk basic information acquisition subunit is used to label the solid state hard disk to be tested, obtain the model of the solid state hard disk to be tested, and establish a corresponding connection relationship between the label and the model of the solid state hard disk to be tested. The performance indicator acquisition subunit is used to obtain standard performance indicator data of the solid state hard disk to be tested, wherein the standard performance indicator data selects the data transmission rate and is recorded as X0, thereby achieving the purpose of simultaneously performing performance tests on multiple solid state hard disks, improving the practicality of the performance testing device, and by establishing a corresponding connection relationship between the label and the solid state hard disk serial number and the standard performance indicator data, output confusion is avoided and the accuracy of the performance test results is improved.
[0065] See also Figure 3 and Figure 4 , an embodiment provided by the present invention: a performance test device based on a solid state drive, the performance test module includes an instruction transceiver unit, an environmental parameter preset unit, a test data setting unit and a test judgment unit;
[0066] The instruction transceiver unit is used to receive the performance test instruction and output the drive control instruction to the environmental parameter preset unit and the test data setting unit;
[0067] The environmental parameter preset unit is used to set the performance test task scenario, wherein the performance test task scenario includes a preheating condition state, a steady-state condition state and a load condition state.
[0068] The test data setting unit is used to store test data for testing actual performance index data of the solid state drive, and is used to calculate the test output data volume Ni of the test data, i=1, 2, 3;
[0069] Furthermore, the test judgment unit includes a standard indicator storage subunit, a test parameter receiving subunit and a performance test judgment subunit;
[0070] The standard index storage subunit is connected to the information acquisition unit for data sharing, and the standard index storage subunit is used to store the number, model and standard performance index data of the solid state drive to be tested;
[0071] The test parameter receiving subunit is used to calculate the amount of test data written to the solid state drive to be tested Mi, i=1, 2, 3, and record the time Ti, i=1, 2, 3, taken to write the test data to the solid state drive to be tested;
[0072] The performance test judgment subunit is used to calculate the actual performance index data of the solid-state hard disk to be tested according to the write data amount Mi and the data writing time Ti in the test parameter receiving subunit, and compare it with the standard performance index data in the standard index storage subunit, and output the performance test judgment result.
[0073] The test data output quantity Ni includes N1, N2, and N3, wherein N1 is the test output data quantity under the preheating condition, N2 is the test output data quantity under the steady-state condition, and N3 is the test output data quantity under the load condition;
[0074] The amount of test data written Mi includes M1, M2, and M3, wherein M1 is the amount of test data written under preheating conditions, M2 is the amount of test data written under steady-state conditions, and M3 is the amount of test data written under load conditions. The time Ti used includes T1, T2, and T3, wherein T1 is the time used when the amount of test data written is M1 under preheating conditions, T2 is the time used when the amount of test data written is M2 under steady-state conditions, and T3 is the time used when the amount of test data written is M3 under load conditions;
[0075] Furthermore, the test judgment unit outputs the actual performance index data and performance judgment result of the solid state hard disk to be tested, including the following steps:
[0076] Get shared data: Get the SSD model to be tested and the standard performance indicator data of the corresponding model;
[0077] Determine the integrity of the test data volume: compare the test output data volume Ni with the test write data volume Ni to see if they are equal, to prevent test data loss;
[0078] Divide the intervals and calculate the actual performance indicator data: divide the time T used to write the test data in different performance test task scenarios into P groups of equal-length calculation time segments Dp, where P = 1, 2, 3... and P ≥ 4, and obtain the test write data volume Mip within Dp, and calculate the actual performance indicator data Xip corresponding to each group of time segments, where Xip = Mip / Dp;
[0079] Perform performance test judgment and output performance judgment result: compare the actual performance indicator data Xip corresponding to each group of time segments with the standard performance indicator data X0 in the standard storage subunit. When the comparison result is Xip≥X0, output the judgment result of "performance test passed". When the comparison result shows that the actual performance indicator data Xip is less than the standard performance indicator data X0, output the judgment result of "performance test failed".
[0080] By setting up a performance test module, the purpose of automatically testing the performance of the solid-state drive is achieved, and by setting up multiple groups of performance test task scenarios, the performance test of the solid-state drive under different states is achieved, thereby improving the adequacy of the performance test and the accuracy of the performance test results.
[0081] See also Figure 1 and Figure 5 , an embodiment provided by the present invention: a performance test device based on a solid state hard disk, an abnormality positioning module includes a time period positioning unit, and the time period positioning unit is provided with a scheme one step and a scheme two step, the time period positioning unit is used to detect whether an abnormal phenomenon occurs during the solid state hard disk performance test, and locate the time point when the abnormal phenomenon occurs, the abnormality positioning module also includes a judgment result receiving unit and a result transmission unit, and the judgment result receiving unit and the result transmission unit are both electrically connected to the time period positioning unit;
[0082] The judgment result receiving unit is used to receive the performance test judgment result output by the test judgment unit, and judge the time period positioning unit to perform the step of scheme one or scheme two according to the judgment result, wherein when the received performance judgment result is "the performance test is qualified", the time period positioning unit is driven to perform the step of scheme one, and when the received performance judgment result is "the performance test is unqualified", the time period positioning unit is driven to perform the step of scheme two;
[0083] The time period positioning unit is used to receive the time component segment Dp used for calculation, the test write data volume Mip within Dp, and the actual performance indicator data Xip corresponding to each group of time component segments, and the steps of scheme 1 and scheme 2 of the time period positioning unit are as follows:
[0084] Solution 1: For different test task scenarios, the Dp sequence number of the time component used for calculation is used as the horizontal coordinate, and Xip corresponding to Dp is used as the vertical coordinate component plane rectangular coordinate system;
[0085] In the plane rectangular coordinate system of the corresponding task scene, take Xi1 corresponding to the first segment D1 as the first point, take Xi2 corresponding to D2 as the second point, calculate the first linear condition Ki1 under the corresponding task scene, then take Xi1 corresponding to the first segment D1 as the first point, take Xi3 corresponding to D3 as the second point, calculate the second linear condition Ki2, repeat the calculation steps of the first linear condition Ki1 or the second linear calculation condition Ki2, and obtain P-1 groups of linear conditions;
[0086] Select the linear condition with the most repetitions in the P-1 group of linear conditions as the actual performance index data linear condition K, and take Xi1 corresponding to the first segment D1 as the first point and the linear condition K as the slope to obtain the time period actual performance curve, and select the calculation time component segment Dp corresponding to the actual performance index data Xip that does not conform to the time period actual performance curve as the abnormal phenomenon occurrence time period, and continue with the second step of the scheme;
[0087] Solution 2: When the actual performance indicator data Xip is less than the standard performance indicator data X0, the corresponding calculation time component segment Dp is selected, and then Dp is divided into several groups of equal-length positioning time component segments Ws, and the test write data volume MWs in Ws is obtained, and the actual performance indicator data XiWs corresponding to each group of positioning time component segments Ws is calculated, and then compared and judged by the performance test judgment subunit, the positioning time component segment corresponding to the abnormal data is queried, and the time point when the abnormal phenomenon occurs is obtained;
[0088] The result transmission unit transmits the abnormal data locating time period corresponding to the abnormal data output by the time period locating unit to the performance result display module;
[0089] Furthermore, by setting up a time period positioning unit, it is convenient to detect whether abnormal performance changes occur during the solid-state hard disk performance test, and to perform time period positioning for the abnormal phenomenon, so as to further determine the time point when the abnormal phenomenon occurs, and to facilitate obtaining the test environment parameters and time conditions at the time point when the abnormal phenomenon occurs.
[0090] See also Figure 1 and Figure 2 , an embodiment provided by the present invention: a performance testing device based on a solid state drive, a performance result display module is used to receive performance test judgment results, abnormal data positioning results, task scenario parameters and actual performance indicator data Xip, and generate a corresponding display method.
[0091] Furthermore, the performance result display module converts different task scenario parameters and actual performance indicator data Xip under the task scenario into a coordinate curve display form, converts the actual performance indicator data Xip and the standard performance indicator data into a bar chart or line chart display form, and converts the performance test judgment results of the solid state drive to be tested, the abnormal phenomenon time period query results and the abnormal phenomenon occurrence point positioning results into a report display form, and then displays them on the display screen, so as to facilitate accurate abnormal phenomenon occurrence point reporting for abnormal phenomena occurring during the performance test process, and achieve the purpose of clearly and accurately displaying the solid state drive performance test results.
[0092] Furthermore, a test method for using a test device to perform a performance test on a solid-state hard drive is as follows: first, the solid-state hard drive to be tested is connected to the test data output port of the performance test device through an interface, the solid-state hard drive is labeled, and the solid-state hard drive model and standard performance indicator data are recorded; secondly, the test data is output to the test data setting unit, and a performance test task scenario is set; then, in different test task scenarios, the test judgment unit writes the test data into the solid-state hard drive, calculates the actual performance indicator data and makes a performance test result judgment; then, based on the actual performance indicator data and the performance test result judgment, it is queried whether any abnormal phenomenon occurs during the solid-state hard drive performance test, and the abnormal point is located; finally, the performance test result is displayed in the form of coordinate curves, charts, and reports through the performance result display module.
[0093] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
Claims
1. A performance testing device based on a solid state drive, characterized in that: It comprises a test machine body (1), wherein the test machine body (1) is provided with a hard disk connection module, a performance test module, an abnormality location module and a performance result display module; The front of the test machine body (1) is provided with a plug interface (2), and the plug interface (2) is electrically connected to the hard disk connection module; the top of the test machine body (1) is provided with a display screen (3), and the display screen (3) is electrically connected to the performance result display module; The hard disk connection module is used to obtain standard performance indicator data of the hard disk to be tested connected in the plug-in interface, and transmit the data to the performance test module, the performance test module is used to receive performance test instructions, adjust test environment parameters and obtain test parameters, and obtain performance test results of the hard disk to be tested according to the test parameters, the abnormality positioning module is used to receive the performance test results of the hard disk to be tested, and locate the time point of performance abnormality, and the performance result display module is used to receive the performance test results of the hard disk to be tested and the abnormal time point positioning results, and display them on the display screen; The abnormality locating module includes a time period locating unit, and the time period locating unit is provided with a scheme 1 step and a scheme 2 step, and the time period locating unit is used to detect whether an abnormality occurs during the solid state hard disk performance test, and locate the time point when the abnormality occurs; The performance test module includes an instruction transceiver unit, an environmental parameter preset unit, a test data setting unit and a test judgment unit; The test data setting unit is used to store test data for testing actual performance index data of the solid state drive, and is used to calculate the test output data volume Ni of the test data, i=1, 2, 3; The test judgment unit includes a standard indicator storage subunit, a test parameter receiving subunit and a performance test judgment subunit; The test parameter receiving subunit is used to calculate the amount of test data written to the solid state drive to be tested Mi, i=1, 2, 3, and record the time Ti, i=1, 2, 3, taken to write the test data to the solid state drive to be tested; The performance test judgment subunit is used to calculate the actual performance index data of the solid-state hard disk to be tested according to the amount of written data Mi and the time Ti used for data writing in the test parameter receiving subunit, and compare it with the standard performance index data in the standard index storage subunit, and output the performance test judgment result; The test judgment unit outputs the actual performance index data and performance judgment result of the solid state hard disk to be tested, including the following steps: Get shared data: Get the SSD model to be tested and the standard performance indicator data of the corresponding model; Determine the integrity of the test data volume: compare the test output data volume Ni with the test write data volume Mi to see if they are equal, to prevent test data loss; Divide the intervals and calculate the actual performance indicator data: divide the time T used to write the test data in different performance test task scenarios into P groups of equal-length calculation time segments Dp, where P=1, 2, 3… and P≥4, and obtain the test write data volume Mip within Dp, and calculate the actual performance indicator data Xip corresponding to each group of time segments, where Xip=Mip / Dp; Perform performance test judgment and output performance judgment result: compare the actual performance indicator data Xip corresponding to each group of time segments with the standard performance indicator data X0 in the standard storage subunit. When the comparison result is Xip≥X0, output the judgment result of "performance test qualified". When the comparison result shows that the actual performance indicator data Xip is less than the standard performance indicator data X0, output the judgment result of "performance test unqualified" to the abnormal positioning module; The abnormality locating module further includes a judgment result receiving unit and a result transmission unit, and both the judgment result receiving unit and the result transmission unit are electrically connected to the time period locating unit; The judgment result receiving unit is used to receive the performance test judgment result output by the test judgment unit, and judge the time period positioning unit to perform the step of scheme 1 or scheme 2 according to the judgment result, wherein when the received performance judgment result is "the performance test is qualified", the time period positioning unit is driven to perform the step of scheme 1, and when the received performance judgment result is "the performance test is unqualified", the time period positioning unit is driven to perform the step of scheme 2; The time period positioning unit receives the time component segment Dp used for calculation, the test write data volume Mip within Dp, and the actual performance indicator data Xip corresponding to each group of time component segments, and the steps of scheme 1 and scheme 2 of the time period positioning unit are as follows: Solution 1: For different test task scenarios, the Dp sequence number of the time component used for calculation is used as the horizontal coordinate, and Xip corresponding to Dp is used as the vertical coordinate component plane rectangular coordinate system; In the plane rectangular coordinate system of the corresponding task scene, take Xi1 corresponding to the first segment D1 as the first point, take Xi2 corresponding to D2 as the second point, calculate the first linear condition Ki1 under the corresponding task scene, then take Xi1 corresponding to the first segment D1 as the first point, take Xi3 corresponding to D3 as the second point, calculate the second linear condition Ki2, repeat the calculation steps of the first linear condition Ki1 or the second linear calculation condition Ki2, and obtain P-1 groups of linear conditions; Select the linear condition with the most repetitions in the P-1 group of linear conditions as the actual performance index data linear condition K, and take Xi1 corresponding to the first segment D1 as the first point and the linear condition K as the slope to obtain the time period actual performance curve, and select the calculation time component segment Dp corresponding to the actual performance index data Xip that does not conform to the time period actual performance curve as the abnormal phenomenon occurrence time period, and continue with the second step of the scheme; Solution 2: When the actual performance indicator data Xip is less than the standard performance indicator data X0, the corresponding calculation time component segment Dp is selected, and then Dp is divided into several groups of equal-length positioning time component segments Ws, and the test write data volume MWs in Ws is obtained, and the actual performance indicator data XiWs corresponding to each group of positioning time component segments Ws is calculated, and then compared and judged by the performance test judgment subunit, and the positioning time component segment corresponding to the abnormal data is queried as the time point when the abnormal phenomenon occurs; The result transmission unit transmits the abnormal data locating time period corresponding to the abnormal data output by the time period locating unit to the performance result display module; By setting up a time period positioning unit, it is convenient to detect whether abnormal performance changes occur during the solid-state hard disk performance test, and to perform time period positioning for the abnormal phenomenon, so as to further determine the time point when the abnormal phenomenon occurs and obtain the test environment parameters and time conditions at the time point when the abnormal phenomenon occurs.
2. A performance testing device based on a solid state drive according to claim 1, characterized in that: The hard disk connection module includes an interface connection unit and an information acquisition unit, the interface connection unit is electrically connected to the plug interface, the plug interface is used to connect the solid state hard disk to be tested, and the interface connection unit is used to establish a data transmission relationship between the solid state hard disk to be tested and the performance test device; The information acquisition unit includes a hard disk basic information acquisition subunit and a performance indicator acquisition subunit. The hard disk basic information acquisition subunit is used to label the solid state hard disk to be tested, obtain the model of the solid state hard disk to be tested, and establish a corresponding connection relationship between the label and the model of the solid state hard disk to be tested. The performance indicator acquisition subunit is used to obtain standard performance indicator data of the solid state hard disk to be tested, wherein the standard performance indicator data selects the data transmission rate and is recorded as X0.
3. A performance testing device based on a solid state drive according to claim 2, characterized in that: The instruction transceiver unit is used to receive performance test instructions and output drive control instructions to the environmental parameter preset unit and the test data setting unit; The environmental parameter preset unit is used to set the performance test task scenario, wherein the performance test task scenario includes a preheating condition state, a steady-state condition state and a load condition state; The standard index storage subunit is connected to the information acquisition unit in a data sharing manner, and is used to store the label, model and standard performance index data of the solid state drive to be tested.
4. A performance testing device based on a solid state drive according to claim 1, characterized in that: The test data output amount Ni includes N1, N2, and N3, wherein N1 is the test output data amount under the preheating condition, N2 is the test output data amount under the steady-state condition, and N3 is the test output data amount under the load condition; The test write data amount Mi includes M1, M2, and M3, wherein M1 is the test write data amount under preheating conditions, M2 is the test write data amount under steady-state conditions, and M3 is the test write data amount under load conditions. The used time Ti includes T1, T2, and T3, wherein T1 is the time used when the test write data amount is M1 under preheating conditions, T2 is the time used when the test write data amount is M2 under steady-state conditions, and T3 is the time used when the test write data amount is M3 under load conditions.
5. A performance testing device based on a solid state drive according to claim 1, characterized in that: The performance result display module is used to receive the performance test judgment results, abnormal data positioning results, task scenario parameters and actual performance indicator data Xip, and generate a corresponding display mode.
6. A performance testing device based on a solid state drive according to claim 5, characterized in that: The performance result display module converts different task scenario parameters and actual performance indicator data Xip under the task scenario into a coordinate curve display form, converts the actual performance indicator data Xip and the standard performance indicator data into a bar chart or line chart display form, and converts the performance test judgment results of the solid state drive to be tested, the abnormal phenomenon time period query results and the abnormal phenomenon occurrence point positioning results into a report display form.
7. A performance testing method based on a solid state drive, applicable to a performance testing device based on a solid state drive according to claim 1, characterized in that: The performance test method of the solid state drive is as follows: S1. Connect the solid-state drive to be tested to the test data output port of the performance test device through an interface, label the solid-state drive, and record the solid-state drive model and standard performance index data; S2. Output the test data to the test data setting unit and set the performance test task scenario; S3. In different test task scenarios, the test judgment unit writes test data into the solid state drive, calculates actual performance indicator data, and judges the performance test results; S4. According to the actual performance indicator data and the performance test results, check whether there are any abnormal phenomena during the solid state drive performance test, and locate the abnormal points; S5. The performance test results are displayed in the form of coordinate curves, charts and reports through the performance result display module.
8. A performance testing method based on a solid state drive according to claim 7, characterized in that: In the step S4, the following steps are also included: S41. For the solid-state hard disk whose performance judgment result is "performance test passed", the time period positioning unit judges the abnormal situation through the step of scheme one, analyzes whether abnormal phenomena occur during the performance test, and locates the abnormal time point for the abnormal phenomena and the solid-state hard disk whose performance judgment result is "performance test failed".
Citation Information
Patent Citations
Solid State Drive Performance Testing Methods and Apparatus
CN109346122B
A method, apparatus, device, and storage medium for testing the performance of a solid-state drive.
CN111063387B
A comprehensive quality performance testing method and system for solid-state drives
CN116610469B
Automated testing methods for solid-state drive performance testing preprocessing and steady-state verification
CN116909825B
Method and apparatus for testing performances of solid state disks
CN103578568A
