Flash memory data control method and system

A control method and data technology, applied in the storage field, can solve the problems of low utilization rate of flash memory storage space and waste of storage space, and achieve the effect of reducing the number of times, reducing space waste, and utilizing storage space.

Active Publication Date: 2017-03-22
深圳市先天海量技术有限公司
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention aims to solve the technical problems of low storage space utilization and waste of storage space in the prior art, and provides a flash memory that can effectively use storage space to reduce space waste, reduce the number of erasures of physical blocks, and reduce garbage collection. Control method and control system of flash memory data of times

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 data control method and system
  • Flash memory data control method and system
  • Flash memory data control method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0029] Since there are three parameters in the 3D NAND flash memory management, the first mapping table (EUNtable), the second mapping table (ReplUnitTable) and the virtual unit chain (Virtual Unit Chain), wherein the virtual unit chain consists of the first mapping table and the second mapping table composition.

[0030] EUNtable is used to record the table that maps logical addresses to physical addresses, and stores the starting physical address of the physical block chain to which each physical block belongs. Wherein, the in...

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 provides a flash memory data control method and system. The control method includes the following steps that the logical block number and deviation number of pages in a block are obtained according to logic page number of read/write data; whether a corresponding first physical block number exists or not is judged according to the logical block number and a first preset mapping table, and if not, a blank physical block is searched for to carry out operation of data writing or read finishing; if yes, physical page tables in the first physical block number are sequentially read to determine whether the physical page corresponding to the deviation number of the pages in the block exists or not, and if yes, data writing or reading is carried out on the corresponding physical page; if not, whether a corresponding second physical block number exists or not is determined according to the first physical block number and a second preset mapping table, and if yes, physical page tables of the second physical block number are sequentially read to determine whether the physical page corresponding to the deviation number of the pages in the block exists in the second physical block number or not.

Description

technical field [0001] The invention relates to the field of storage technologies, in particular to a method and system for controlling flash memory data. Background technique [0002] SSD (Solid State Disk) generally refers to a solid-state hard disk composed of NAND flash memory (Flash). Its special feature is that it has no mechanical structure and uses traditional NAND Flash characteristics to read and write functions in the form of block writing and erasing. , so the efficiency of reading and writing is very dependent on the design of reading and writing technology. Compared with the current traditional hard disk, SSD has the advantages of low power consumption, shock resistance, high stability, and low temperature resistance. Since the data on the SSD is stored on the semiconductor memory, it can complete the I / O (input / output) operation on the storage unit at any location in less than one millisecond, so it is the most critical I / O for many applications. O performan...

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): G06F12/06
CPCG06F12/0653
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