Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A kind of abnormal branch testing method and system of solid state hard disk

A solid-state drive, branch testing technology, applied in faulty hardware testing methods, software testing/debugging, error detection/correction, etc., to solve problems such as error type classification and inability to test solid-state drives

Active Publication Date: 2022-07-15
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the prior art, by artificially injecting errors, the types of errors are not classified, and the levels directly related to read, write, and erase in solid-state drives cannot be well tested.

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
  • A kind of abnormal branch testing method and system of solid state hard disk
  • A kind of abnormal branch testing method and system of solid state hard disk
  • A kind of abnormal branch testing method and system of solid state hard disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] Embodiment 1 of the present invention proposes an abnormal branch testing method and system for a solid-state hard disk, which involves the level directly related to read, write, and erase in the solid-state hard disk, that is, involves two modules of FCC and NCM in firmware, and the NCM module reports to the FCC. The module sends read, write and erase commands, and the FCC returns the command execution result to NCM after completing the command. The method includes: adding a function for setting abnormal parameters and a function for injecting abnormality in firmware, then programming the firmware into a solid-state hard disk, before testing, accessing the function for setting abnormal parameters through a debug interface, and enabling the function for setting abnormal parameters The function corresponding to the abnormal injection; after starting the test, the abnormal injection operation is performed in the NCM module through the abnormal injection function, that is, ...

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 present invention provides a method and system for testing abnormal branches of solid state hard disks. The method adds a function for setting abnormal parameters and a function for injecting abnormality in firmware, and then writes the firmware into the solid state hard disk. Before testing, access is made through a debugging interface. The function that sets the exception parameter, and the function that sets the exception parameter enables the function corresponding to the injection exception; after starting the test, execute the injection exception operation in the NCM module through the function injection exception, according to the result returned by the FCC for the data operation of the SSD, and To determine whether the conditions for injecting exceptions are met, the firmware enters different branch processes. The test flow after normal read failure is also given. Based on this method, an abnormal branch test system for solid-state hard disks is also proposed. By executing the injection exception operation in the NCM module, according to the returned result, it is easier for the firmware to enter the processing of the exception branch, and the test and development cycle is shortened.

Description

technical field [0001] The invention belongs to the technical field of solid-state hard disk testing, and particularly relates to a method and system for abnormal branch testing of solid-state hard disks. Background technique [0002] During the firmware development process of solid-state drives, it is inevitable to deal with various exceptions. These exceptions come from multiple levels, including but not limited to the interaction between the solid-state drive and the host, the algorithm of the solid-state drive, and the solid-state drive. Levels directly related to read, write and erase. After writing the abnormal branch processing flow, these processes need to be tested and verified. However, the probability that the solid-state drive will be abnormal under the daily fio and other test conditions and cause the firmware to enter the abnormal branch processing flow is extremely low. [0003] At present, the testing method of most exception branches is to make the firmware...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/22G06F11/26G06F11/36
CPCG06F11/2205G06F11/2273G06F11/26G06F11/3688
Inventor 张彬苏军
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products