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

Method and device for accessing data of Nand flash memory

A flash memory and data technology, applied in the field of accessing Nand flash data, can solve the problems of frequent NandFlash read and write operations, affecting system performance, affecting NandFlash life, etc., to prolong life, improve read and write speed, and reduce the effect of erasing and writing times.

Inactive Publication Date: 2010-05-05
张翠茹 +4
View PDF0 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when operating Nand Flash as a file, most of the time it is only necessary to change part of the data of a physical block, and there is no need to change the entire physical block. However, due to the characteristics of Nand Flash, only the entire physical block can be operated at a time, which means Causes frequent read and write operations on Nand Flash
[0006] In embedded systems, since Nand Flash is a low-speed device, frequent reading and writing of Nand Flash will inevitably affect the performance of the entire system, and will also affect the life of Nand Flash

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
  • Method and device for accessing data of Nand flash memory
  • Method and device for accessing data of Nand flash memory
  • Method and device for accessing data of Nand flash memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The basic idea of ​​the present invention is: create NandBuf, initialize HitBlockNum in the management information of each BlockBuf in NandBuf; When accessing Nand Flash data, first calculate the WriteBlockNum to be accessed, then judge whether to hit BlockBuf according to WriteBlockNum and HitBlockNum, if hit , then access the BlockBuf that hits; if it misses, apply for BlockBuf during the write operation, and record WriteBlockNum to HitBlockNum, and then write the BlockBuf; during the read operation, according to the linear address of the Nand Flash to be read , read data from Nand Flash.

[0036] Wherein, the judgment according to WriteBlockNum and HitBlockNum whether to hit the BlockBuf in the NandBuf specifically includes: searching the BlockBuf with the same hit block number as the WriteBlockNum in the NandBuf, if found, it is a hit; if not found, it is a miss.

[0037] The present invention will be further described in detail below with reference to the drawings ...

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 method for accessing data of a Nand flash memory, which comprises the following steps: creating a Nand cache; when accessing data of the Nand flash memory, firstly calculating the Write Block Num of the Nand flash memory to be accessed according to the linear address of the Nand flash memory, then judging whether a cache block is hit in the Nand cache or not according to the Write Block Num and the hit block number in management information of all cache blocks, if so, accessing the hit cache block; if not, applying for the cache block and recording the Write Block Num in the hit block number when the access is the write operation, and further carrying out the write operation on the cache block; and directly reading the data from the Nand flash memory when the access is the write operation. The invention simultaneously discloses a device for accessing the data of the Nand flash memory. The adoption of the scheme of the invention can greatly improve the reading speed and the writing speed of the Nand flash memory.

Description

technical field [0001] The invention relates to data storage technology, in particular to a method and device for accessing Nand flash memory data. Background technique [0002] NOR and Nand are the two main non-volatile flash memory technologies on the market today. Intel first developed NOR flash memory (Flash) technology in 1988, which completely changed the situation where EPROM and EEPROM dominated the world. Then, in 1989, Toshiba released the Nand Flash structure, which emphasizes lower cost per bit, higher storage performance, and can be easily upgraded through the interface like a disk. [0003] Nand Flash has become the main choice for mass storage in consumer applications, because it has the advantages of lower cost per bit and higher storage density than NOR Flash, and it has a smaller size and lower cost than hard disks. power consumption and more reliable advantages. [0004] For this reason, in embedded applications, Nand Flash is adopted by more and more p...

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/08
CPCG06F12/08G06F12/0246G06F2212/7203
Inventor 李贤军
Owner 张翠茹
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