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
CN112597072APending Publication Date: 2021-04-02BEIJING HUAHONG INTEGRATED CIRCUIT DESIGN

Patent Information

Authority / Receiving Office
CN ยท China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING HUAHONG INTEGRATED CIRCUIT DESIGN
Publication Date
2021-04-02

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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