Supercharge Your Innovation With Domain-Expert AI Agents!

A kind of embedded flash data storage method and system

A data storage and embedded technology, applied in memory systems, electrical digital data processing, memory address/allocation/relocation, etc., can solve the problems of limited erasing and rewriting times, long erasing time, and great destructiveness.

Active Publication Date: 2021-04-30
深圳市泰比特科技有限公司
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, the storage hardware of embedded storage devices is basically FLASH, and the FAT file system inherited from the PC is basically used in the storage structure, and the FAT file system is not suitable for FLASH. The main reasons are as follows: First, the structure of FAT is relatively Fixed, the location of the directory table and files is relatively fixed. When the configuration file changes repeatedly, the area where the configuration file is located will be repeatedly erased, but the total number of erases of FLASH is limited, some even only a thousand times, which is prone to damage block, resulting in damage to the FLASH hardware; second, FAT stores the configuration in a file structure, modifying a single configuration must modify the entire file, and FLASH is limited by the hardware principle, it is easy for each storage unit to change from 1 to 0, and from 0 to 1 Difficult, each modification operation of the FAT file system needs to erase the block where the entire file is located, the affected area is large, and the erasing time is long, and if the power supply is unstable during the erasing process, the entire block of data will be lost. Third, FAT is mainly for large-capacity storage, and the smallest data unit is a cluster. On an embedded small-capacity memory with only a few Mbytes, it is easy to cause space waste and low interest rate efficiency

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
  • A kind of embedded flash data storage method and system
  • A kind of embedded flash data storage method and system
  • A kind of embedded flash data storage method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The preferred embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0039] like figure 1 As shown, this example provides an embedded FLASH data storage method, including an index area and a data area, wherein, the index area uses a fixed length for storage and management from front to back, and the data area uses a variable length from back to front. The length is stored and managed until the index area and the data area conflict, then the recovery is realized through FLASH erasing; the index area is used to store the record index, and the data area is used to store the FLASH data.

[0040] The basic structure of the index area described in this example includes a mark bit (such as a delete mark), a checksum, a reserved bit, a key name address, a key name length, a key value address, and a key value length; the key name and key value are abbreviated as KV, That is, key Value; the basic structure ...

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 present invention provides an embedded FLASH data storage method and system. The embedded FLASH data storage method includes an index area and a data area, wherein, the index area adopts a fixed length for storage and management from front to back, and the data area Store and manage with variable length from back to front, until the index area and the data area conflict, then realize recovery and arrangement through FLASH erasing; the index area is used to store the record index, and the data area is used to store FLASH data. The present invention adopts a storage method extending from both ends to the middle, which can maximize the use of FLASH space and reduce the number of erasures as much as possible; change the operation of modifying records into new records, avoid block erasure actions, and greatly speed up configuration The modification time reduces the probability of failure; through the recording method of sequential growth, hardware fatigue and FLASH damage caused by repeated erasing and writing at a single point are avoided, and the stability is high.

Description

technical field [0001] The invention relates to a data storage method, in particular to an embedded FLASH data storage method, and to an embedded FLASH data storage system adopting the embedded FLASH data storage method. Background technique [0002] At present, the storage hardware of embedded storage devices is basically FLASH, and the FAT file system inherited from the PC is basically used in the storage structure, and the FAT file system is not suitable for FLASH. The main reasons are as follows: First, the structure of FAT is relatively Fixed, the location of the directory table and files is relatively fixed. When the configuration file changes repeatedly, the area where the configuration file is located will be repeatedly erased, but the total number of erases of FLASH is limited, some even only a thousand times, which is prone to damage block, resulting in damage to the FLASH hardware; second, FAT stores the configuration in a file structure, modifying a single config...

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 Patents(China)
IPC IPC(8): G06F12/02
CPCG06F12/0246G06F12/0292
Inventor 葛文韬李小禄
Owner 深圳市泰比特科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More