Flash memory equipment detection method and apparatus thereof

A flash memory storage and device detection technology, applied in static memory, instruments, etc., can solve problems such as data error and loss, and achieve strong usability and practicality

Active Publication Date: 2014-10-08
SHENZHEN NETCOM ELECTRONICS CO LTD
View PDF4 Cites 41 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a method and device for detecting a flash storage device, so as to avoid the problem that the flash storage device uses "bad blocks" to store data, resulting in data error or loss

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
  • Flash memory equipment detection method and apparatus thereof
  • Flash memory equipment detection method and apparatus thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0018] figure 1 The implementation flow of the method for detecting a flash memory storage device provided by Embodiment 1 of the present invention is shown, and the process of the method is described in detail as follows:

[0019] In step S101, after the flash storage device is powered on and the flash storage device is in an idle state, at least one operation of writing detection data is performed on the flash storage device.

[0020] In this embodiment, the idle state refers to a state when the flash storage device has no tasks or commands to be executed. The detection data is different from the detection data written in the flash storage device during mass production. The detection data described in this embodiment is to re-detect the flash memory storage device through some data similar to the data written into the flash storage device by the user's normal operation during the user's use after the flash memory storage device is mass-produced.

[0021] It should be noted...

Embodiment 2

[0047] figure 2 The composition structure of the apparatus for detecting a flash memory storage device provided by the second embodiment of the present invention is shown, and for the convenience of description, only the parts related to the embodiment of the present invention are shown.

[0048] The device for detecting flash storage devices can be applied to flash storage devices, and can be a software unit, a hardware unit, or a combination of software and hardware running in the flash storage device, or can be integrated into the flash storage device or run as an independent pendant. In the application system of the flash storage device.

[0049] The device for detecting a flash storage device includes a first writing unit 21 and a first detecting unit 22 . Among them, the specific functions of each unit are as follows:

[0050] The first writing unit 21 is configured to perform at least one operation of writing detection data to the flash storage device after the flash...

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 is applicable to the technical field of storage equipment, and provides a flash memory equipment detection method and an apparatus thereof. The method includes the following steps: writing detection data into the above flash memory equipment at least one time when the flash memory equipment is in a vacant state after the flash memory equipment is powered on; reading the detection data written into the flash memory equipment with a store block as a unit, carrying out ECC check on the detection data read from each of store blocks, and determining the current store block is bad and marking the current store block when a check result shows that the largest number of error bytes in the current store block is not lower than a preset threshold value; and determining the current store block is normal when the largest number is lower than the preset threshold value, erasing the detection data written into the store block, and marking the store block. A problem of wrong or lost data due to the use of the bad block to store data in the flash memory equipment can be effectively avoided through the method and the apparatus.

Description

technical field [0001] The invention belongs to the technical field of storage devices, and in particular relates to a method and device for detecting a flash memory storage device. Background technique [0002] The flash storage device internally includes multiple storage blocks (blocks), each storage block includes multiple pages (pages), and each page includes multiple bytes (bytes). [0003] Due to process limitations, flash storage devices cannot guarantee that each storage block is a "good block" during mass production. Therefore, in the prior art, storage blocks are usually detected during mass production of flash storage devices, and after detecting "good blocks" and "bad blocks", the storage blocks are classified and used. However, due to the unstable characteristics of flash storage devices, new bad blocks are prone to appear during use, that is, "good blocks" detected during mass production may not necessarily be "good blocks" during use, resulting in flash memor...

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 Applications(China)
IPC IPC(8): G11C29/56
Inventor 李志雄邓恩华尹慧
Owner SHENZHEN NETCOM ELECTRONICS CO LTD
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