Solid state disk testing method and device, readable storage medium and electronic equipment
A solid-state hard disk, testing method technology, applied in fault hardware testing methods, electrical digital data processing, error detection/correction, etc., can solve the problem of changing the testing method, the testing process cannot be modified, increased or decreased, and the testing logic and steps are not fully opened. and other problems, to achieve the effect of low cost, short development cycle and low difficulty
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0067] Please refer to figure 1 and Figure 4 , a solid-state hard disk test method, comprising steps:
[0068] S1. Receive a software environment configuration request, install a preset operating system at a preset location on the mainboard under test according to the software environment configuration request, configure the compilation environment of the preset operating system, and compile open source drivers and open source drivers through the compilation environment Unit test framework, the preset location is a non-test hard disk;
[0069] Wherein, the solid-state hard disk to be tested is connected to a serial port debugging program, and the physical connection state of the solid-state hard disk to be tested and the running state of the firmware are inquired through the serial port debugging program;
[0070] Specifically, please refer to Figure 5 and Figure 6 , when preparing the hardware, set up one or more tested mainboards that support NVMe solid-state drives, ...
Embodiment 2
[0102] The difference between this embodiment and Embodiment 1 is that the content of the protocol test for the SSD to be tested is further limited:
[0103] Specifically, carrying out protocol testing on the solid state drive to be tested through the solid state drive test tool and the open source driver includes:
[0104] Obtain the test log of the solid-state hard drive test tool and the open source driver, judge whether there is abnormal data in the test log, if so, obtain the assertion mark marked by the open source unit test framework on the abnormal data, and pass the assertion mark Locate and analyze the problem of test failure;
[0105] If not, then repeat the solid state disk test method until the test time reaches the preset test time;
[0106] Specifically, when developing the dtest code under unittest, under each test case, use the gtest assertion method to realize the judgment standard of the use case, develop the use case script, and each test step in the code ...
Embodiment 3
[0109] Please refer to figure 2 , a solid-state hard drive testing device, comprising:
[0110] The compiling module is used to receive a software environment configuration request, install a preset operating system at a preset location on the mainboard under test according to the software environment configuration request, configure the compiling environment of the preset operating system, and compile an open source program through the compiling environment Driver and open source unit test framework, the preset location is a non-test hard disk;
[0111] An interface configuration module, configured to receive a test interface addition request, add a preset test interface to the open source driver according to the test interface addition request, the preset test interface is not available in the open source driver and is the tested The test interface required by the SSD to be tested in the motherboard;
[0112] A script generating module, configured to receive a protocol te...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com