Solid state disk performance detection method and device, equipment and medium

The SSD performance detection method automates the processing of test result images using a data recognition model and performance analysis model, addressing the inefficiencies of manual image data processing in current testing methods, enhancing efficiency and accuracy.

CN119229944APending Publication Date: 2024-12-31SHENZHEN CITY TECHWIN SEMICONDUCTOR COMPANY LIMITED
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411200345.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

Current SSD performance testing methods under Windows systems produce large amounts of image data that require manual processing, necessitating high efficiency and experience to analyze stability and design goals, making the process cumbersome.

Method used

A method and device for SSD performance detection that uses a control terminal to send test requests to multiple test terminals, processes test result images through a data recognition model, and analyzes the data using a performance analysis model to automate and simplify the testing process.

Benefits of technology

Enables efficient and accurate batch processing of SSD performance testing, reducing manual effort and improving analysis efficiency and accuracy by automating the recognition and analysis of test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119229944A_ABST
    Figure CN119229944A_ABST
Patent Text Reader

Abstract

The invention provides a solid state disk performance detection method, device and equipment and a medium, and relates to the technical field of testing, the method is applied to a control terminal, the control terminal is connected with a plurality of testing terminals, and the testing terminals are provided with solid state disks to be tested. Sequentially sending the test requests corresponding to the test items to a plurality of test terminals; receiving a test result picture which is fed back by each test terminal and aims at each test item; inputting the test result picture into a data identification model to obtain test result data corresponding to each test item; and for the test result data corresponding to each test item, inputting the test result data into the performance analysis model to obtain a performance detection result corresponding to each solid state disk. According to the technical scheme, automatic recognition and batch processing of the test result pictures are achieved, and the efficiency of performance detection corresponding to the solid state disk is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of testing technology, and in particular to a solid state hard disk performance testing method, device, equipment and medium. Background Art

[0002] SSD (Solid State Disk or Solid State Drive, referred to as SSD), also known as solid state drive or solid state drive. When testing SSD, people generally focus on the performance test of solid state drive under Windows system.

[0003] At present, whether it is a test system based on manual or development platform, or a common tool used based on Windows system, the performance test output results are all pictures, which contain a large amount of test result data. In actual work, after collecting the performance test output results, the data in the specified picture is collected, sorted and analyzed according to relevant work needs.

[0004] However, to analyze whether the performance of SSDs is stable and whether they have reached the design goals, excluding some special cases, a large number of SSDs need to be tested, and then follow-up related work needs to be carried out. The entire test result processing process is cumbersome, requiring the collection and processing of a large number of images, requiring testers to have high efficiency, more experience, and a good understanding of the meaning of each performance result data generated. Summary of the invention

[0005] In view of this, the purpose of the present invention is to provide a solid-state hard disk performance detection method, which collects test result pictures for each test item of each test terminal, identifies the test result data corresponding to the test item through a data recognition model, realizes automatic recognition and batch processing of the test result pictures, and improves the efficiency of solid-state hard disk performance testing.

[0006] In a first aspect, an embodiment of the present invention provides a solid state drive performance detection method, which is applied to a control terminal, the control terminal is connected to a plurality of test terminals, and a solid state drive to be tested is installed on the test terminal, the method comprising:

[0007] According to the test order of each test item for testing the solid-state hard disk, the test request corresponding to each test item is sent to multiple test terminals in sequence, and the test request is used for the test terminal to control the test tool on the test terminal to run to test the solid-state hard disk;

[0008] Receive test result images for each test item from each test terminal;

[0009] Input the test result image into the data recognition model to obtain the test result data corresponding to each test item;

[0010] For the test result data corresponding to each test item, the test result data is input into the performance analysis model to obtain the performance test results corresponding to each solid state drive.

[0011] In a preferred embodiment of the present invention, the test result picture for each test item received from each test terminal includes:

[0012] For each test item, a result feedback request is sent to each test terminal at a preset time interval;

[0013] Receiving feedback information from each test terminal according to the result feedback request;

[0014] When the feedback information indicates that the test is completed, a result acquisition request is sent to the test terminal where the test is completed;

[0015] Receive the test result image fed back by the test terminal after the test is completed.

[0016] In a preferred embodiment of the present invention, after receiving the test result picture for each test item fed back by each test terminal, the following steps are included:

[0017] Generate a result folder corresponding to each test project;

[0018] The test result images corresponding to each test item fed back by each test terminal are stored in the corresponding result folder.

[0019] In a preferred embodiment of the present invention, the test result image is input into the data recognition model to obtain the test result data corresponding to each test item, including:

[0020] For each result folder, read the test result picture stored in the result folder as the initial result picture;

[0021] The initial result image is cropped according to the preset image cropping requirements to obtain a result image;

[0022] Input the result images into the data recognition model to obtain the result data corresponding to each result image;

[0023] The result data is stored in the result data table corresponding to the result folder as the test result data corresponding to each test item.

[0024] In a preferred embodiment of the present invention, the above-mentioned cropping of the initial result image according to the preset image cropping requirement to obtain the result image includes:

[0025] Get the location coordinates of the area where the performance data to be tested is located in the initial result image;

[0026] The initial result image is cropped according to the position coordinates, and the image of the area where the performance data to be tested is located is used as the result image.

[0027] In a preferred embodiment of the present invention, the test result data is input into the performance analysis model to obtain the performance test results corresponding to each solid state drive, including:

[0028] Compare the test result data with the corresponding performance threshold to determine the compliance rate corresponding to the test result data;

[0029] When the compliance rate is greater than or equal to the compliance threshold, it is determined that the performance test result corresponding to each solid state drive is stable.

[0030] In a preferred embodiment of the present invention, the above-mentioned comparing the test result data with the corresponding performance threshold to determine the compliance rate corresponding to the test result data includes:

[0031] Get the performance type to be tested and the corresponding performance threshold;

[0032] According to the type of the performance to be tested, obtaining at least one performance data to be tested from the test result data;

[0033] Compare each performance data to be tested with the performance threshold, and determine the comparison result corresponding to each performance data to be tested;

[0034] The ratio between the number of comparison results that meet the standards and the total number of comparison results is taken as the compliance rate corresponding to the test result data.

[0035] In a second aspect, an embodiment of the present invention further provides a solid state hard disk performance detection device, which is applied to a control terminal, the control terminal is connected to a plurality of test terminals, and a solid state hard disk to be tested is installed on the test terminal, comprising:

[0036] A test request sending module, used to send test requests corresponding to each test item to multiple test terminals in sequence according to the test order of each test item for testing the solid-state hard disk, and the test request is used for the test terminal to control the test tool on the test terminal to run to test the solid-state hard disk;

[0037] A result image receiving module, used to receive the test result image for each test item fed back by each test terminal;

[0038] A result data recognition module is used to input the test result image into the data recognition model to obtain the test result data corresponding to each test item;

[0039] The performance analysis module is used to input the test result data corresponding to each test item into the performance analysis model to obtain the performance test results corresponding to each solid state drive.

[0040] In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the solid-state hard disk performance detection method of the first aspect above.

[0041] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the solid-state hard disk performance detection method of the first aspect mentioned above.

[0042] The embodiments of the present invention bring the following beneficial effects:

[0043] An embodiment of the present invention provides a solid-state hard disk performance detection method, which is applied to a control terminal, wherein the control terminal is connected to multiple test terminals, and a solid-state hard disk to be tested is installed on the test terminal. According to the test order of each test item for testing the solid-state hard disk, test requests corresponding to the test items are sent to the multiple test terminals in sequence to control the operation of the test tool on the test terminal, and receive the test result image for each test item fed back by each test terminal, thereby realizing batch testing of a large number of solid-state hard disk performances and the collection of a large number of test result images, improving the efficiency of obtaining the test result images, inputting the test result images into a data recognition model, obtaining the test result data corresponding to each test item, realizing batch processing of the test result images, and using the performance analysis model to analyze the test result data corresponding to each test item, thereby simplifying the test result processing flow and improving the efficiency and accuracy of performance analysis.

[0044] Other features and advantages of the present invention will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by implementing the above-mentioned technology of the present invention.

[0045] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0047] Figure 1 A flow chart of a solid state drive performance detection method provided by an embodiment of the present invention;

[0048] Figure 2 A flow chart of another solid state drive performance detection method provided by an embodiment of the present invention;

[0049] Figure 3 A flow chart of another solid state drive performance detection method provided by an embodiment of the present invention;

[0050] Figure 4 A flow chart of another solid state drive performance detection method provided by an embodiment of the present invention;

[0051] Figure 5 A schematic diagram of the structure of a solid state drive performance detection device provided by an embodiment of the present invention;

[0052] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0054] The current performance testing tools, whether based on manual or development platform test systems, are commonly used tools based on Windows systems such as CrystalDiskMark, Anvil's Storage Utilities, TxBENCH, and AS SSD Benchmark. The performance test output results are all pictures, which contain a large amount of test result data. However, depending on the SSD design or work needs, the test results that are concerned in the work are also different. Therefore, in actual work, after collecting the test results, the data in the specified pictures are collected, sorted, and analyzed according to the relevant work needs. However, to analyze whether the SSD performance is stable and whether it has reached the design goals, excluding some special cases, a large number of SSDs need to be tested, and then subsequent related work is carried out. The entire test result processing process is cumbersome, and a large number of pictures need to be collected and processed. The test personnel need to have high efficiency, more experience, and a good understanding of the meaning of each performance result data generated.

[0055] Based on this, a solid-state hard drive performance detection method provided in an embodiment of the present invention can realize batch processing of test result images of different test items, identify the test result images through a data recognition model, obtain the test result data, and input it into the performance analysis model for analysis, thereby simplifying the test result processing process and improving the efficiency and accuracy of performance analysis.

[0056] To facilitate understanding of this embodiment, a solid state drive performance detection method disclosed in an embodiment of the present invention is first introduced in detail.

[0057] Example 1

[0058] An embodiment of the present invention provides a solid state hard disk performance detection method, which is applied to a control terminal, wherein the control terminal is connected to a plurality of test terminals, and at least one solid state hard disk to be tested is installed on the test terminal. Figure 1 The present invention provides a flow chart of a solid state drive performance detection method. Figure 1 As shown, the solid state drive performance detection method may include the following steps:

[0059] Step S101 , according to the test sequence of each test item for testing the solid state drive, the test request corresponding to each test item is sent to a plurality of test terminals in sequence.

[0060] SSD refers to the SSD that needs to be tested for performance, and can also be called SSD to be tested. There are multiple SSDs, which can be installed on different test terminals. Test items are used to describe the test tools that need to be run by the test terminal when testing the SSD. Test requests are used by the test terminal to control the test tools on the test terminal to run in order to test the SSD. The test tools installed on each test terminal are the same.

[0061] Specifically, the user can set the test items and the test order of the test items required for testing the solid-state drive on the control terminal according to actual needs. The test order is used to describe the order in which multiple test items are tested. The control terminal sends test requests corresponding to the test items to each test terminal in turn according to the test order of the test items. After receiving the test request, the test terminal controls the test tool corresponding to the test request to run and test the solid-state drive.

[0062] Exemplarily, the test tools installed on the test terminal include the CrystalDiskMark tool, the Anvil'sStorage Utilities tool, the TxBENCH tool and the AS SSD Benchmark tool. The test order of the test items set on the control terminal is the CrystalDiskMark tool and the Anvil'sStorage Utilities tool. Therefore, the control terminal first sends a test request corresponding to the CrystalDiskMark tool to each test terminal. After receiving the test request, the test terminal controls the CrystalDiskMark tool to run and test the solid-state hard drive; then the control terminal sends a test request corresponding to Anvil's Storage Utilities to each test terminal. After receiving the test request, the test terminal controls the Anvil's Storage Utilities tool to run and test the solid-state hard drive.

[0063] Step S102: receiving a test result picture for each test item fed back by each test terminal.

[0064] The test result picture is used to describe the interface that displays the test results after the test tool completes the solid-state drive test. The test result picture describes data of multiple test performance types. Exemplarily, the test performance type in the test result picture may include at least one of sequential read speed and write speed, 4K random read speed and write speed, average access time, comprehensive score, 4K-64 queue depth read speed and write speed, etc.

[0065] Specifically, for each test item, after the test tool on each test terminal is completed, a screenshot of the interface displaying the test result is taken as a test result image and fed back to the test terminal. For each test item, each test terminal can test at least one installed solid-state drive to be tested one by one, and each solid-state drive to be tested generates a test result image.

[0066] Step S103, input the test result image into the data recognition model to obtain the test result data corresponding to each test item.

[0067] The data recognition model is used to identify the values ​​of each type of data in the test result image. Specifically, for each test result image of a test item, the data recognition model is used to identify the values ​​in the test result image. For each test result image, the corresponding values ​​can be identified for each test performance type of data, and the identified values ​​are used as the test result data corresponding to the test item.

[0068] Step S104: for each test item, the test result data corresponding to the test item is input into the performance analysis model to obtain the performance test result corresponding to each solid state drive.

[0069] The performance test results are used to evaluate the performance of the solid-state drives to be tested installed on multiple test terminals. The performance analysis model is used to analyze the performance of each solid-state drive to obtain the performance test results. In this embodiment, the performance test results may include at least one of the maximum value, the minimum value, the performance compliance rate, whether the performance of each solid-state drive meets the standard, and whether each solid-state drive is stable.

[0070] Specifically, for each test item, the test result data is input into the performance analysis model, and the performance analysis model outputs the performance test results corresponding to each solid-state drive. Exemplarily, the performance test result corresponding to the solid-state drive can be a maximum value a, a minimum value b, a compliance value, a stability value, or a compliance rate of 97%.

[0071] A solid-state hard disk performance detection method provided by an embodiment of the present invention sends test requests corresponding to the test items to multiple test terminals in sequence according to the test order of each test item for testing the solid-state hard disk, so as to control the operation of the test tool on the test terminal, and receive the test result image for each test item fed back by each test terminal, thereby realizing batch testing of a large number of solid-state hard disk performances and the collection of a large number of test result images, improving the efficiency of obtaining the test result images, inputting the test result images into a data recognition model to obtain the test result data corresponding to each test item, realizing batch processing of the test result images, and using the performance analysis model to analyze the test result data corresponding to each test item, thereby simplifying the test result processing flow and improving the efficiency and accuracy of performance analysis.

[0072] Example 2

[0073] The embodiment of the present invention also provides another solid-state hard disk performance detection method; this method is implemented on the basis of the method in the above embodiment; this method focuses on describing the specific implementation method of receiving the test result picture for each test item fed back by each test terminal.

[0074] Figure 2 A flowchart of another solid state drive performance detection method provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the solid state drive performance detection method may include the following steps:

[0075] Step S201 , according to the test sequence of each test item for testing the solid state drive, the test request corresponding to each test item is sent to a plurality of test terminals in sequence.

[0076] Step S202: for each test item, a result feedback request is sent to each test terminal at a preset time interval.

[0077] The result feedback request is used to obtain information on whether the test tool has finished running. For different test tools, the result feedback request can be the same or different. Specifically, for each test item, the control terminal sends a result feedback request to each test terminal at a preset time interval.

[0078] Step S203: receiving feedback information fed back by each test terminal according to the result feedback request.

[0079] Feedback information is used to describe the running status of the test tool. If the test tool is running, it means that the test is being completed, and the test is not completed as feedback information is sent to the control terminal. If the test tool is finished running, it means that the test has been completed, and the test completion is sent to the control terminal as feedback information.

[0080] Specifically, after receiving the result feedback request, each test terminal detects the operation status of the test tool. If the test tool is running, the feedback information fed back according to the result feedback request is that the test is incomplete; if the test tool is finished running, the feedback information fed back according to the result feedback request is that the test is completed.

[0081] Step S204: When the feedback information indicates that the test is completed, a result acquisition request is sent to the test terminal where the test is completed.

[0082] The result acquisition request is used to control the test terminal to send the test result image. Specifically, after receiving the feedback information fed back by each test terminal, the control terminal sends a result acquisition request to the test terminal whose feedback information is that the test is completed. For the test terminal whose feedback information is that the test is not completed, it returns to execute the step of sending a result feedback request to each test terminal at a preset time interval.

[0083] Step S205, receiving a test result picture fed back by the test terminal after the test is completed.

[0084] For the test terminal whose feedback information is that the test is completed, after receiving the result acquisition request, a screenshot of the interface showing the test result on the test tool is taken as the test result picture and fed back to the test terminal. The control terminal receives the test result picture fed back by the test terminal.

[0085] Step S206, input the test result image into the data recognition model to obtain the test result data corresponding to each test item.

[0086] Step S207 , for each test item, the test result data corresponding to the test item is input into the performance analysis model to obtain the performance test result corresponding to each solid state drive.

[0087] The solid-state hard disk performance detection method provided by the embodiment of the present invention sets a preset time interval, sends a result feedback request to the test terminal every certain time period, and receives the test result image when the feedback information is that the test is completed, thereby realizing automatic collection of the test result image and improving the efficiency of test result collection.

[0088] Example 3

[0089] The embodiment of the present invention also provides another solid-state hard disk performance detection method; this method is implemented on the basis of the above-mentioned embodiment method; this method focuses on describing the specific implementation method after receiving the test result picture for each test item fed back by each test terminal.

[0090] Figure 3 A flowchart of another solid state drive performance detection method provided by an embodiment of the present invention is shown in FIG. Figure 3As shown, the solid state drive performance detection method may include the following steps:

[0091] Step S301 : sending test requests corresponding to the test items to a plurality of test terminals in sequence according to the test sequence of the test items for testing the solid state drive.

[0092] Step S302: receiving a test result picture for each test item fed back by each test terminal.

[0093] Step S303: Generate a result folder corresponding to each test item.

[0094] The result folder is used to store the test result images corresponding to the test items. One test item corresponds to one result folder. Specifically, the control terminal generates a corresponding result folder for each test item.

[0095] Step S304: Store the test result images corresponding to each test item fed back by each test terminal into the corresponding result folder.

[0096] Specifically, for the same test project, the control terminal stores the test result images received from various test terminals in the result folder corresponding to the test project, thereby realizing the classified storage of test result images corresponding to different test projects and facilitating the subsequent analysis of the test result images.

[0097] Step S305, input the test result image into the data recognition model to obtain the test result data corresponding to each test item.

[0098] Specifically, the test result data corresponding to each test item can be determined through steps A1 to A4.

[0099] Step A1: for each result folder, read the test result picture stored in the result folder as the initial result picture.

[0100] The initial result image refers to an unprocessed test result image. Specifically, for each result folder, the test result image stored in the result folder is used as the initial result image.

[0101] Step A2, cropping the initial result image according to the preset image cropping requirements to obtain a result image.

[0102] The image cropping requirements are used to describe the image area that needs to be retained when the initial result image is cropped. Exemplarily, the image area can be a square area, and the number of image areas is at least one. The position of the square area can be determined by the coordinates of the pixel points in the initial result image, and used as the image area that needs to be retained. For the initial result images in the same result folder, the image cropping requirements are the same. The result image is used to describe the image area retained after the initial result image is cropped. After an initial result image is cropped, at least one result image can be obtained. It can be understood that the test result image contains data of multiple test performance types. Therefore, in the initial result image, the data of each test performance type can be cropped to obtain the result image corresponding to the data of each test performance type, that is, one result image can describe the data of one test performance type. Exemplarily, the data described by the result image can be 369.5.

[0103] Specifically, the position coordinates of the area where the performance data to be tested is located in the initial result image are obtained; according to the position coordinates, the initial result image is cropped, and the image of the area where the performance data to be tested is located is used as the result image.

[0104] The performance data to be tested refers to the data of the test performance type that needs to be analyzed. The position coordinates are used to describe the position of the area where the performance data to be tested is located in the initial result image. The number of position coordinates is multiple. The area where the performance data to be tested is located can be a square area. In this case, the position coordinates can be the four vertices of the square area. Specifically, the vertices of the initial result image can be used as the origin to determine the pixel coordinates of the vertices of the area where the performance data to be tested is located in the initial result image and use them as the position coordinates. The position of the origin can be adjusted according to actual conditions, or the position coordinates of the area where the performance data to be tested is located can be determined by other means. The square area described by the position coordinates is cropped as the result image.

[0105] Step A3, input the result images into the data recognition model to obtain the result data corresponding to each result image.

[0106] Input each result image into the data recognition model in turn, and identify the numerical value described by the result image as the result data corresponding to the result image.

[0107] Step A4, storing the result data in the result data table corresponding to the result folder as the test result data corresponding to each test item.

[0108] The result data table is used to store result data, result pictures describing data of different test performance types, and the identified result data can be stored in different result data tables, and the test performance type can be used as the name of the result data table. Exemplarily, when the test performance type includes sequential read speed, sequential write speed and comprehensive score, the result data identified by the result picture of sequential read speed is stored in result data table 1, the result data identified by the result picture of sequential write speed is stored in result data table 2, and the result data of the result picture of comprehensive score failure is stored in result data table 3.

[0109] In addition, the identification code of the solid-state drive corresponding to the result data can also be stored in the result data table. The identification code of the solid-state drive is used to distinguish different solid-state drives. It is understandable that one solid-state drive corresponds to one test result picture, so after the test result picture is cropped as the initial result picture and the result picture is obtained, one solid-state drive can correspond to multiple result pictures, and the data of the test performance type described by the result picture can be classified and stored in the folder corresponding to the test performance type. In the folder corresponding to each test performance type, the result picture can be stored with the identification code of the solid-state drive as the name. After the result picture in the folder corresponding to the test performance type is identified to obtain the result data, the identification code of the solid-state drive and the identified data result can be stored together in the result data table corresponding to the test performance type.

[0110] By cropping the initial result image to obtain a result image that only describes the data, the result image is recognized to obtain the result data. During the recognition process, only numbers can be recognized, which achieves accurate recognition of the data and improves the accuracy of the result data recognition. By storing the result data, the foundation is laid for subsequent data analysis.

[0111] Step S306: for each test item, the test result data corresponding to the test item is input into the performance analysis model to obtain the performance test result corresponding to each solid state drive.

[0112] The solid-state hard disk performance detection method provided by the embodiment of the present invention realizes classified storage of the test result images by storing the test result images corresponding to each test item in the corresponding result folder, which provides convenience for subsequent performance analysis.

[0113] Example 4

[0114] An embodiment of the present invention also provides another solid-state hard disk performance detection method; this method is implemented on the basis of the above-mentioned embodiment method; this method focuses on describing the specific implementation method of inputting the test result data into the performance analysis model to obtain the performance detection results corresponding to each solid-state hard disk.

[0115] Figure 4 A flowchart of another solid state drive performance detection method provided by an embodiment of the present invention is shown in FIG. Figure 4 As shown, the solid state drive performance detection method may include the following steps:

[0116] Step S401 : sending test requests corresponding to the test items to a plurality of test terminals in sequence according to the test sequence of the test items for testing the solid state drive.

[0117] Step S402: receiving a test result picture for each test item fed back by each test terminal.

[0118] Step S403: input the test result image into the data recognition model to obtain the test result data corresponding to each test item.

[0119] Step S404, comparing the test result data with the corresponding performance threshold to determine the compliance rate corresponding to the test result data.

[0120] For the test result data corresponding to each test item, the performance threshold corresponding to the test result data can be queried. When the test result data is greater than or equal to the corresponding performance threshold, the test result of the test result data is determined to be up to standard. When the test result data is less than the corresponding performance threshold, the test result of the test result data is determined to be not up to standard. The number of test result data with up to standard and the number of all test result data are counted, and the ratio between the number of test result data with up to standard and the number of all test result data is used as the compliance rate corresponding to the test result data.

[0121] Specifically, the compliance rate can be determined through steps B1 to B4.

[0122] Step B1, obtaining the performance type to be tested and the corresponding performance threshold.

[0123] The performance type to be tested refers to the test performance type that needs to be analyzed. The performance threshold is used to determine whether the data of the test performance type meets the standard. When analyzing data of different test performance types, the corresponding performance thresholds are different.

[0124] Specifically, the user can set the performance type to be tested and the corresponding performance threshold in the control terminal according to the actual situation; the user can also set the performance type to be tested in the control terminal according to the actual situation, and the control terminal queries the corresponding test performance by looking up the table. The number of performance types to be tested is at least one.

[0125] Step B2: acquiring at least one performance data to be tested from the test result data according to the performance type to be tested.

[0126] The performance data to be tested refers to the data of the performance type to be tested in the test result data. It is understandable that the test result image describes data of multiple test performance types, and the test result data obtained after identifying the test result image contains data of multiple test performance types. The test result data is screened according to the performance type to be tested, and the test result data corresponding to the performance type to be tested is selected as the performance data to be tested. One performance type to be tested corresponds to at least one performance data to be tested.

[0127] Step B3: compare each performance data to be tested with the performance threshold to determine the comparison result corresponding to each performance data to be tested.

[0128] For each performance data to be tested corresponding to the performance type to be tested, compare it with the performance threshold corresponding to the performance type to be tested. When the performance data to be tested is greater than or equal to the performance threshold, the comparison result corresponding to the performance data to be tested is determined to be up to standard; when the performance data to be tested is less than the performance threshold, the comparison result corresponding to the performance data to be tested is determined to be not up to standard.

[0129] Step B4, taking the ratio between the number of comparison results that meet the standard and the total number of comparison results as the standard-reaching rate corresponding to the test result data.

[0130] The number of performance data to be tested whose comparison results are up to standard is counted as the number of comparison results. The number of all performance data to be tested is counted as the total number of comparison results. The ratio between the number of comparison results and the total number of comparison results is taken as the compliance rate corresponding to the test result data.

[0131] By selecting the test result data to be tested from the test result data, analyzing the test result data to be tested, and obtaining the compliance rate corresponding to the test result data, the test result data can be analyzed in a targeted manner, the amount of data analyzed can be reduced, and the efficiency of the analysis can be improved.

[0132] Step S405 , when the compliance rate is greater than or equal to the compliance threshold, determining that the performance test result corresponding to each solid state drive is stable.

[0133] The compliance threshold is used to determine whether the solid-state drive is stable. When the compliance rate is greater than or equal to the compliance threshold, the performance test result corresponding to each solid-state drive is determined to be stable. When the compliance rate is less than the compliance threshold, the performance test result corresponding to each solid-state drive is determined to be unstable.

[0134] The solid-state drive performance detection method provided in the embodiment of the present invention determines the performance of multiple solid-state drives by obtaining the compliance rate corresponding to the test result data, thereby realizing a comprehensive analysis of a large number of solid-state drive performance detections, and can quickly complete performance analysis when detecting the performance of a large number of solid-state drives.

[0135] Example 5

[0136] Corresponding to the above method embodiment, an embodiment of the present invention provides a solid state hard disk performance detection device, which is applied to a control terminal, the control terminal is connected to a plurality of test terminals, and a solid state hard disk to be tested is installed on the test terminal. Figure 5 A structural diagram of a solid state drive performance detection device provided by an embodiment of the present invention is shown in FIG. Figure 5 As shown, the solid state hard disk performance detection device may include:

[0137] The test request sending module 501 is used to send the test requests corresponding to the test items to multiple test terminals in sequence according to the test order of the test items for testing the solid-state hard disk, and the test requests are used for the test terminals to control the test tools on the test terminals to run to test the solid-state hard disk;

[0138] A result picture receiving module 502 is used to receive a test result picture for each test item fed back by each test terminal;

[0139] The result data recognition module 503 is used to input the test result image into the data recognition model to obtain the test result data corresponding to each test item;

[0140] The performance analysis module 504 is used to input the test result data corresponding to each test item into the performance analysis model to obtain the performance test results corresponding to each solid state drive.

[0141] The solid-state hard disk performance detection device provided by the embodiment of the present invention sends test requests corresponding to the test items to multiple test terminals in sequence according to the test order of each test item for testing the solid-state hard disk, so as to control the operation of the test tool on the test terminal, and receives the test result image for each test item fed back by each test terminal, thereby realizing batch testing of a large number of solid-state hard disk performances and the collection of a large number of test result images, improving the efficiency of obtaining test result images, inputting the test result images into the data recognition model, obtaining the test result data corresponding to each test item, realizing batch processing of the test result images, and using the performance analysis model to analyze the test result data corresponding to each test item, thereby simplifying the test result processing flow and improving the efficiency and accuracy of performance analysis.

[0142] In some embodiments, the result picture receiving module 502 includes:

[0143] A result feedback request sending unit, used for sending a result feedback request to each test terminal at a preset time interval for each test item;

[0144] A request feedback receiving unit, used to receive feedback information from each test terminal according to the result feedback request;

[0145] A result acquisition request sending unit, used for sending a result acquisition request to the test terminal where the test is completed when the feedback information indicates that the test is completed;

[0146] The result picture receiving unit is used to receive the test result picture fed back by the test terminal after the test is completed.

[0147] In some embodiments, the apparatus further comprises:

[0148] A folder generation module is used to generate a result folder corresponding to each test project;

[0149] The image storage module is used to store the test result images corresponding to each test item fed back by each test terminal into the corresponding result folder.

[0150] In some embodiments, the result data identification module 503 includes:

[0151] A reading unit, used for reading, for each result folder, the test result picture stored in the result folder as the initial result picture;

[0152] A cropping unit, used to crop the initial result image according to a preset image cropping requirement to obtain a result image;

[0153] The recognition unit is used to input the result images into the data recognition model to obtain the result data corresponding to each result image;

[0154] The data storage unit is used to store the result data in the result data table corresponding to the result folder as the test result data corresponding to each test item.

[0155] In some embodiments, the cropping unit is specifically configured to:

[0156] Get the location coordinates of the area where the performance data to be tested is located in the initial result image;

[0157] The initial result image is cropped according to the position coordinates, and the image of the area where the performance data to be tested is located is used as the result image.

[0158] In some embodiments, the performance analysis module 504 includes:

[0159] A compliance rate determination unit, used to compare the test result data with the corresponding performance threshold to determine the compliance rate corresponding to the test result data;

[0160] The result analysis unit is used to determine that the performance test results corresponding to each solid-state hard disk are stable when the compliance rate is greater than or equal to the compliance threshold.

[0161] In some embodiments, the compliance rate determination unit is specifically configured to:

[0162] Get the performance type to be tested and the corresponding performance threshold;

[0163] According to the type of the performance to be tested, obtaining at least one performance data to be tested from the test result data;

[0164] Compare each performance data to be tested with the performance threshold, and determine the comparison result corresponding to each performance data to be tested;

[0165] The ratio between the number of comparison results that meet the standards and the total number of comparison results is taken as the compliance rate corresponding to the test result data.

[0166] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.

[0167] Example 6

[0168] The embodiment of the present invention also provides an electronic device for executing the above-mentioned solid state hard disk performance detection method; see Figure 6 A structural schematic diagram of an electronic device is shown, which includes a memory 600 and a processor 601, wherein the memory 600 is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor 601 to implement the above-mentioned solid-state hard disk performance detection method.

[0169] Further, Figure 6 The electronic device shown further includes a bus 602 and a communication interface 603 , and the processor 601 , the communication interface 603 and the memory 600 are connected via the bus 602 .

[0170] The memory 600 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 603 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 602 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0171] The processor 601 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 601. The above processor 601 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 600, and the processor 601 reads the information in the memory 600 and completes the steps of the method of the above embodiment in combination with its hardware.

[0172] An embodiment of the present invention also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the above-mentioned solid-state hard disk performance detection method. The specific implementation can be found in the method embodiment, which will not be repeated here.

[0173] The computer program product for performing a solid-state hard disk performance detection method provided in an embodiment of the present invention includes a computer-readable storage medium storing a non-volatile program code executable by a processor. The instructions included in the program code can be used to execute the method described in the previous method embodiment. The specific implementation can be found in the method embodiment, which will not be repeated here.

[0174] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0175] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0176] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0177] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0178] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0179] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for detecting solid state hard disk performance, characterized in that: Applied to a control terminal, the control terminal is connected to a plurality of test terminals, and a solid state drive to be tested is installed on the test terminal, the method comprises: According to the test order of each test item for testing the solid-state hard disk, the test request corresponding to each test item is sent to the multiple test terminals in sequence, and the test request is used for the test terminal to control the test tool on the test terminal to run to test the solid-state hard disk; Receive a test result picture for each test item fed back by each of the test terminals; Input the test result image into the data recognition model to obtain the test result data corresponding to each test item; For the test result data corresponding to each test item, the test result data is input into the performance analysis model to obtain the performance test results corresponding to each of the solid state drives.

2. The method according to claim 1, characterized in that The receiving the test result picture for each test item fed back by each test terminal includes: For each test item, at a preset time interval, a result feedback request is sent to each of the test terminals; receiving feedback information fed back by each of the test terminals according to the result feedback request; When the feedback information indicates that the test is completed, sending a result acquisition request to the test terminal where the test is completed; Receive the test result image fed back by the test terminal after the test is completed.

3. The method according to claim 1, characterized in that After receiving the test result picture for each test item fed back by each test terminal, the method further includes: Generate a result folder corresponding to each of the test items; The test result pictures corresponding to each of the test items fed back by each test terminal are stored in the corresponding result folder.

4. The method according to claim 3, characterized in that The step of inputting the test result image into a data recognition model to obtain the test result data corresponding to each of the test items includes: For each of the result folders, read the test result picture stored in the result folder as the initial result picture; Cropping the initial result image according to a preset image cropping requirement to obtain a result image; Input the result images into a data recognition model to obtain result data corresponding to each result image; The result data is stored in a result data table corresponding to the result folder as test result data corresponding to each of the test items.

5. The method according to claim 4, characterized in that The step of cropping the initial result image according to a preset image cropping requirement to obtain a result image includes: Obtaining the position coordinates of the area where the performance data to be tested is located in the initial result image; The initial result picture is cropped according to the position coordinates, and the picture of the area where the performance data to be tested is located is used as the result picture.

6. The method according to claim 1, characterized in that The step of inputting the test result data into a performance analysis model to obtain performance test results corresponding to each of the solid state drives includes: Compare the test result data with the corresponding performance threshold to determine the compliance rate corresponding to the test result data; When the compliance rate is greater than or equal to the compliance threshold, it is determined that the performance test results corresponding to each of the solid state drives are stable.

7. The method according to claim 6, characterized in that The comparing the test result data with the corresponding performance threshold to determine the compliance rate corresponding to the test result data includes: Get the performance type to be tested and the corresponding performance threshold; According to the type of the performance to be tested, obtaining at least one performance data to be tested from the test result data; Comparing each of the performance data to be tested with the performance threshold, and determining a comparison result corresponding to each of the performance data to be tested; The ratio between the number of comparison results that meet the standards and the total number of comparison results is used as the compliance rate corresponding to the test result data.

8. A solid state hard disk performance detection device, characterized in that: Applied to a control terminal, the control terminal is connected to a plurality of test terminals, the test terminal is equipped with a solid state hard disk to be tested, the device comprises: A test request sending module, used for sending the test requests corresponding to the test items to the multiple test terminals in sequence according to the test order of the test items for testing the solid-state hard disk, wherein the test requests are used for the test terminals to control the running of the test tools on the test terminals to test the solid-state hard disk; A result picture receiving module, used to receive a test result picture for each test item fed back by each of the test terminals; A result data recognition module, used to input the test result image into a data recognition model to obtain the test result data corresponding to each of the test items; The performance analysis module is used to input the test result data corresponding to each test item into the performance analysis model to obtain the performance detection results corresponding to each solid state drive.

9. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the solid state drive performance detection method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by the processor, the computer-executable instructions prompt the processor to implement the solid-state hard disk performance detection method according to any one of claims 1 to 7.