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

Active Publication Date: 2021-08-06
成都佰维存储科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The current technology for protocol testing often achieves the testing purpose by purchasing third-party certification. The specific testing logic and steps are not completely open, and the testing process cannot be modified, increased or decreased.
In the process of firmware development, not only the conformance test of the protocol

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Solid state disk testing method and device, readable storage medium and electronic equipment
  • Solid state disk testing method and device, readable storage medium and electronic equipment
  • Solid state disk testing method and device, readable storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a solid state disk test method and device, a readable storage medium and electronic equipment, a preset operating system is installed at a preset position of a tested mainboard according to a software environment configuration request, a compiling environment can be configured in the operating system, and an open source driver and an open source unit test framework can be compiled; on the basis of an original driving interface of an open source driver, a test interface required by the to-be-tested solid state disk is added, and the test interface can be adaptively added and adjusted according to the configuration of the to-be-tested solid state disk, so that the test interface in the solid state disk test is comprehensively configured; a protocol test request for the to-be-tested solid state disk is received and a corresponding test script file is generated according to the protocol test request; the solid state disk is tested based on the open source unit test framework, the test script file and the open source drive, and the corresponding test method is adaptively generated according to the configuration of the solid state disk to be tested, so that the protocol test of the solid state disk is comprehensively performed by using the open source technology and the universal PC hardware.

Description

technical field [0001] The invention relates to the technical field of solid-state hard disks, in particular to a solid-state hard disk testing method, device, readable storage medium and electronic equipment. Background technique [0002] During the development and testing of SSDs, protocol conformance testing is the most important part of HDD testing. The current technology for protocol testing often achieves the testing purpose by purchasing third-party certification. The specific testing logic and steps are not fully open, and the testing process cannot be modified, increased or decreased. In the process of firmware development, not only the conformance test of the protocol standard specification is required, but also the function customized by the manufacturer needs to be tested. Therefore, only the third-party certification method is used for testing, and the test method cannot be changed according to the manufacturer's needs, resulting in protocol consistency. The te...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/22
CPCG06F11/2221G06F11/2273Y02D10/00
Inventor 孙成思孙日欣李家敏
Owner 成都佰维存储科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products