Method for storing data in Flash memory

A data storage and memory technology, applied in the data storage and storage fields of Flash memory, can solve the problems of low utilization rate of Flash storage space, and achieve the effects of reducing memory space, improving reading and writing speed, and reducing the number of erasures.

Inactive Publication Date: 2009-09-30
HISENSE BROADBAND MULTIMEDIA TECH
View PDF0 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Aiming at the above-mentioned shortcomings and deficiencies in the Flash storage method in the prior art, the present invention provides a data storag

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 for storing data in Flash memory
  • Method for storing data in Flash memory
  • Method for storing data in Flash memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0028] see figure 2 Shown is a flow chart of an embodiment of the flash memory data storage method of the present invention. The data storage method described in this embodiment is carried out according to the following steps:

[0029] S101: the process starts.

[0030] S102: Divide the Flash storage space into several logical partitions (Logic Partition), each logical partition includes n consecutive physical blocks, where n is a natural number greater than or equal to 1. Each logical partition can be used to store data records of one or more data types.

[0031] The data record refers to a character string of char type. For example, a piece of program information can be regarded as a data record; all system configuration information can also be regarded as a data record. In the data storage method of the present invention, the Flash memory uses the dat...

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 storing data in a Flash memory, including the following steps: a, an entire Flash storage space is divided into a plurality of logical partitions used for storing at least one type of data log, and each logical partition comprises one or more continuous physical blocks; b, the storage space occupied by each item of the data log is used as a virtual sector, and each virtual sector is provided with a virtual sector distribution sheet which is used for describing the attribute of the data log; and c, the virtual sector distribution sheet and the data log which corresponds to the virtual sector distribution sheet are sequentially written into the physical blocks of the logical partitions. By utilizing the method for storing data in the Flash memory, the technical problem of the low utility ratio of the Flash storage space, which is caused by the existing method, can be effectively solved.

Description

technical field [0001] The invention relates to a storage method of a memory, in particular to a data storage method of a Flash memory, and belongs to the technical field of memory. Background technique [0002] As a storage medium, Flash is widely used in the storage field. The physical structure of Flash is divided into several physical blocks (Block), which are independent of each other. It has the following characteristics: (1) Due to the writing operation of Flash, the data bit can only be written from 1 to 0, and cannot be written from 0 to 1, so the erase operation must be performed before writing to the flash memory, and the pre-written data bit is initialized to 1, and the minimum unit of the erase operation is a block, not a single byte; (2) Flash The erasing and writing life of the Flash has a limit on the number of times; (3) During the use of the Flash, some blocks may be damaged, and once the block is damaged, it will not be repaired; (4) Due to the inherent e...

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/08G06F11/10G06F12/06
Inventor 田友强
Owner HISENSE BROADBAND MULTIMEDIA TECH
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