Unlock instant, AI-driven research and patent intelligence for your innovation.

Storage management system and method for small-capacity flash in MCU chip

A storage management and small-capacity technology, applied in the direction of input/output to record carrier, etc., can solve the problem of not being able to improve the erasing times and writing speed of flash memory, and achieve the effect of improving the erasing times and writing speed

Active Publication Date: 2018-08-21
WUHAN AOZE ELECTRONICS
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the storage management strategy of the prior art cannot improve the erasing and writing times and the writing speed of the flash memory

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
  • Storage management system and method for small-capacity flash in MCU chip
  • Storage management system and method for small-capacity flash in MCU chip
  • Storage management system and method for small-capacity flash in MCU chip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] Such as figure 1 Shown, a kind of memory management system of small capacity flash in MCU chip, it comprises following unit:

[0057] The storage structure initial unit 10 is used to divide the available flash pages into the current page Page0 and the standby page Page1; both Page0 and Page1 are divided into several blocks, and Block is the basic unit of data storage.

[0058] Optionally, the data structure of the data storage in the storage structure initial unit 10 includes a file name FileName, a file content storage area DataArea, and a file attribute Footer.

[0059] The expansion format of Footer is as follows: including, BlockProp used to indicate the property of this Block; Deled used to indicate whether the file is deleted; the tag number Idx used to mark whether multiple Blocks are required for storage; used to indicate that the data field of this Block has DataLenInBlock of how many valid data; CheckSum used to verify the integrity of a block write.

[0060...

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 provide a storage management system for a small-capacity flash in an MCU chip. The system comprises the following units: a memory structure initial unit, which is used to divide an available flash page into a current page Page 0 and a standby page Page 1, wherein the page 0 and the page 1 are divided into a plurality of Blocks, and each Block is a basic unit of data storage; a storage management system initialization unit, which is used to perform initialization when the storage management is powered on, performing Block writing continuity check and Block usage condition check on the page 0 and the page 1 in sequence, and according to the usage condition, determining a modification processing measure; and a read / write policy execution unit, which is used to execute a read policy or a write policy after storage management system initialization. The present invention also provides a memory management method for the small-capacity flash in the MCU chip.

Description

technical field [0001] The invention relates to the technical field of small-capacity digital information storage, in particular to a storage management system and method for small-capacity flash in an MCU chip. Background technique [0002] Flash memory is a kind of non-volatile (Non-Volatile) memory, which can keep data for a long time without current supply. Its storage characteristics are equivalent to hard disks, and it is suitable for single-chip MCUs to store key data information in an emergency. [0003] Flash memory generally performs erasing operations on memory cell pages. The write operation of any flash device can only be performed in empty or erased cells, so in most cases, the erase must be performed before the write operation. [0004] However, the number of erasing and writing of flash memory is about 100,000 to 1 million times, so a wear-balancing strategy needs to be adopted. In the case that it is possible to perform erasing and writing at a high freque...

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): G06F3/06
Inventor 黎晓英赵波黄俊李鄂胜孙忠明董楚卿
Owner WUHAN AOZE ELECTRONICS