Storing and accessing method of flash memory data and device thereof

A data and flash memory technology, which is applied to the access method and device, and the storage field of flash memory data, can solve the problems of complex software implementation, data loss, and data without a starting address, and achieves the effect of improving storage security and ensuring efficient utilization.

Active Publication Date: 2011-07-27
HUAWEI DEVICE CO LTD
View PDF3 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The inventor found that there are at least the following problems in the prior art: when the Flash data is stored and managed using the fixed Flash partition + sequential data storage method, when the size of the APP CODE partition changes, the relative reference information in the USER DATA partition is lost, That is, the data in the USERDATA partition has no starting address, and the data in the USER DATA partition cannot be effectively retrieved. Therefore, all the data stored in the USER DATA partition will be lost
However, when using the data management method of the file system to store and manage Flash data, the implementation of the system boot software is relatively complicated, resulting in a large amount of storage space (RAM / ROM space) consumed by the boot software and a slow system startup speed.

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
  • Storing and accessing method of flash memory data and device thereof
  • Storing and accessing method of flash memory data and device thereof
  • Storing and accessing method of flash memory data and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0030] In order to improve the storage security of data and ensure the efficient use of Flash resources, an embodiment of the present invention provides a method for storing flash data, such as image 3 Shown, including:

[0031] 101. Determine a positive-sequence partition and a reverse-order partition in the partitions of the flash memory. The positive-sequence partition is the partition containing the lowest address or the partitions seq...

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 embodiment of the invention discloses a storing and access method of flash memory data and a device thereof. In order to improve the safety of data storage and guarantee the high-efficient utilization of Flash resource, the technical scheme provided by the invention comprises the following steps: determining positive sequence partitions and negative sequence partitions in the partitions of the flash memory, wherein the positive sequence partition is a partition including the lowest address or partitions sequentially continuously arranged from the partition including the lowest address, and the negative sequence partitions are other partitions except for the positive sequence partition; and writing data in the positive sequence partition from a low address to a high address, and writing the data in the negative sequence partitions from the high address to the low address. The method and the device are suitable for the operation and the use of the flash memory.

Description

Technical field [0001] The present invention relates to the field of data processing, in particular to a method and device for storing and accessing flash memory data. Background technique [0002] In embedded systems, Flash (flash memory) is an important resource for storing code and data. The effective use of Flash resources is related to the stability and cost of using the system products. At present, the following two methods are generally used to store and manage data: fixed Flash partition + sequential data storage method, which divides the Flash storage space into several areas. The partition structure is, for example, figure 1 As shown, the data in each partition is stored sequentially, and the data storage of each partition is stored from the low address of the Flash to the high address, and access is performed according to the structure of the storage file itself; or, the data management of the file system is used Way, the Flash storage space is divided into several are...

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
Inventor 陶志东易涛
Owner HUAWEI DEVICE 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