Data updating method and device of Flash memory

A data update and storage technology, applied in the field of data processing, can solve the problems of file data storage and erasing, which is difficult to guarantee high life application requirements, and achieve the effects of life and performance improvement, less storage resource consumption, and efficient use and update

Pending Publication Date: 2021-04-02
BEIJING HUAHONG INTEGRATED CIRCUIT DESIGN
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the above-mentioned analysis, the embodiment of the present invention aims to provide a data update method and device for Flash memory to solve the problem that the existing file data storage erasure is difficult to guarantee the application requirements of high life

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
  • Data updating method and device of Flash memory
  • Data updating method and device of Flash memory
  • Data updating method and device of Flash memory

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0117] The disadvantages of the prior art that the example 1 can overcome or the technical problems to be solved. In order to realize the method of the present invention, Example 1 shows an address mapping method and a scrolling storage mechanism implementing the reference data structure and flow of the present invention.

[0118] refer to Figure 4 , Example 1 supports the data update process method in which the update data range is within one physical page. The data content can be controlled by the address mapping page to complete the cyclic update of the file content and the address mapping page itself. The example shows that this step can realize data by logical address. Dynamic mapping to physical addresses, using the effective free physical pages of the FLASH storage space to implement rolling updates, effectively improving the anti-wear performance for general-purpose data storage; and compared with the existing solutions, significantly reducing the erasing and writing ...

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 relates to a data updating method and device of a Flash memory, belongs to the technical field of data processing, and solves the problem that in the prior art, data storage and erasingare difficult to ensure the application requirement of long service life. The method comprises the steps of determining an original logic page corresponding to to-be-updated file data and an originalphysical page mapped by the original logic page according to a file data updating request and a current address mapping table; according to the position of the physical page where the current addressmapping table is located, one or more idle physical pages are searched in the idle physical page table in a circulating mode and serve as data idle physical pages; reading the to-be-updated file datato a cache, updating the file data in the cache, and correspondingly writing the updated file data into a data idle physical page; reading the current address mapping table into the cache, updating the current address mapping table in the cache, and writing the updated current address mapping table into the second idle physical page. The updating method can meet the application requirement of longservice life.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method and device for updating data of a Flash memory. Background technique [0002] The Flash memory is a semiconductor memory chip, and the data writing method uses the page as a unit to erase first and then write data. Existing embedded operating systems are generally based on the solution of storing media with Flash physical devices. The number of erasing and writing of Flash storage is the key performance of its service life, but the existing Flash file storage methods: [0003] Fixed file storage method, this method uses the logical mapping of the file body with a single physical address. Every update to the file is at this physical storage location. Due to the fixed physical storage location of the file, the fixed file storage solution cannot meet specific application requirements that require high erasing times. The update life of the stored data is consistent...

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/02G06F3/06
CPCG06F3/0616G06F3/0643G06F3/0644G06F3/0679G06F12/0238G06F12/0292
Inventor 黄明刘青王卫东张秀玲
Owner BEIJING HUAHONG INTEGRATED CIRCUIT DESIGN
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