Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Parameter management method and system based on embedded type equipment flash memory

An embedded device and parameter management technology, applied in the direction of memory address/allocation/relocation, etc., can solve the problems of parameter loss, shortened service life, unfavorable product price, etc., reduce the number of rewrites, improve utilization, and save flash memory effect of space

Active Publication Date: 2009-05-20
ZTE CORP
View PDF0 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

A common Flash file system such as jffs2 requires a Flash partition to contain at least five Flash blocks to ensure the normal operation of the flash memory. The Flash partition has such a large space to store parameters, so, for low-cost embedded electronic devices, it is not conducive to controlling the price of the product
[0005]Another compromise is: instead of using the common Flash file system management parameters, all parameters in the Flash memory will be backed up every time the parameters are changed to the RAM, then erase the corresponding Flash block, and finally write the updated parameters and unchanged parameters in the RAM into the Flash block, but the problem with this approach is that even if only one parameter is changed, it must be Erase the entire Flash block area and then rewrite it. If the device is powered off during the erasing or writing process, the parameters will be lost because there is no data protection function of the general Flash file system; The lifetime of a Flash block is about 100,000 erases and writes, so this method will shorten the service life of the product

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
  • Parameter management method and system based on embedded type equipment flash memory
  • Parameter management method and system based on embedded type equipment flash memory
  • Parameter management method and system based on embedded type equipment flash memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] The technical solutions of the present invention will be further elaborated below in conjunction with the accompanying drawings and specific embodiments.

[0061] Under the condition that the Flash flash memory can work normally through the special Flash drive, and can provide a write interface for the flash memory, so that data can be directly written into the flash memory, the present invention classifies the parameters and stores them in the flash memory according to a fixed format. parameters are managed.

[0062] In the present invention, any continuous Flash region in the NOR type Flash flash memory can be selected as the parameter storage area, and the offset address of the parameter storage area relative to the Flash block starting position where it is located is SA, and the size of the parameter storage area can be determined according to Actual setting, for example, it can be set to L, where the parameters are stored in the parameter storage area in turn. fig...

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 parameter management method based on an embedded type equipment flash memory. The method comprises the following steps: according to a fixed format, parameters are encapsulated to obtain parameter data blocks; the parameter data blocks are sequentially stored in a parameter storage region; according to a parameter ID of a new parameter which is prepared to read, whether a parameter containing the same parameter ID exists in the parameter storage region is retrieved; if existing, the current parameter is marked as trash data; whether the residual space in the parameter storage region can contain the new parameter is judged; if not existing, whether the residual space in the parameter storage region can contain the new parameter is directly judged; and when the residual space in the parameter storage region can contain the new parameter, the new parameter is read in the finishing position of the last parameter in the parameter storage region. The invention also discloses a parameter management system based on the embedded type equipment flash memory; and the method and the system can improve the utilization rate of the space of the flash memory, prolong the service life of the flash memory and improve the safety in reading or modifying the parameters.

Description

technical field [0001] The invention relates to a parameter recording technology of an embedded device, in particular to a parameter management method and system based on a flash memory of an embedded device. Background technique [0002] Embedded electronic devices generally do not have storage devices such as hard disks, but use storage devices specially designed for embedded systems such as Flash flash memory chips and compact flash memory cards. Flash memory is the mainstream memory widely used in embedded systems at present. Its main features are erasing as a whole or block unit and programming by byte. It has the advantages of low power consumption, high density, and small size. [0003] At present, Flash memory is divided into two types: NOR (NOR) and NAND. NOR-type Flash flash memory can directly read the data stored in the flash memory chip, so it runs faster; the address line and data line of the NOR-type Flash flash memory chip are separated, so it can be used as...

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/02
Inventor 高迎宾
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products