Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Data input method for memory and data storage device

A data writing and data storage technology, applied in the field of memory, can solve the problems of increased removal times and wear, and achieve the effect of extending the service life and improving performance

Active Publication Date: 2011-10-19
SILICON MOTION TECH CORP
View PDF1 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The blank block 123 has been cleared up to 30 times, but it is still used to store update data and put it into the data area 110. When the block 123 is deleted again, the number of clearing of the block 123 will increase and wear out early

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
  • Data input method for memory and data storage device
  • Data input method for memory and data storage device
  • Data input method for memory and data storage device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] Figure 4 This is a block diagram of the data storage device 408 according to the present invention. The data storage device 408 is coupled to a host 406 and includes a controller 402 and a memory 404. In one embodiment, the memory 404 is a flash memory. The memory 404 includes multiple blocks for storing data. The blocks of the memory 404 can be divided into two groups. The blocks of the data area 410 are data blocks 411, 412, ..., 41Z where data has been stored. The blocks in the blank area 420 are blank blocks 421, 422,..., 42X where no data is stored. The controller 402 receives the access command from the host 406, and then accesses the data in the memory 404 according to the access command.

[0056] When the controller 402 receives a write command from the host 406, the controller 402 will find the corresponding block in the memory 404 according to the address included in the write command. If the block is located in the data block in the data area 410, the upda...

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 relates to a data input method for a memory and a data storage device. The memory comprises a data field and a blank area, wherein, the data field comprises multiple data field blocks in which data is stored, and the blank area comprises multiple blank area blocks in which no data is stored. The method disclosed by the invention comprises the following steps: firstly, receiving a write command of writing to-be-written data into the first data field block of the memory from a host; secondly, sequencing the blank area blocks in the blank area according to the clearing times; thirdly, choosing the first blank area block with the fewest clearing times in the blank area; fourthly, writing the to-be-written data into the first blank area block; and finally, clearing the data stored in the first data field block so as to convert the first data field block into a blank area block and put the obtained blank area block into the blank area. According to the invention, the blank area block with high clearing times is not required to be used as the target blank area block for storing update data, thus the clearing times of each blank area block are quite even so as to prolong the service life of the memory.

Description

Technical field [0001] The present invention relates to the technical field of memory, and more specifically, to a data writing method and data storage device of a memory. Background technique [0002] The flash memory includes a plurality of blocks, and each block includes a plurality of pages for data storage. In addition, each block of the flash memory corresponds to a different address. When the host wants to access the data of the flash memory, the host sends an access command to the controller of the flash memory. The access command includes the address of the block to be accessed. For example, when the flash memory receives a write command from the controller, it stores data in certain pages of the block corresponding to the write address according to the instructions of the controller. When the flash memory receives a read command from the controller, it reads data from certain pages of the block corresponding to the read address according to the instructions of the con...

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): G06F12/06
Inventor 萧惟益
Owner SILICON MOTION TECH CORP
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
Eureka Blog
Learn More
PatSnap group products