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

Data processing method and device for SPI-Flash-based (Serial Peripheral Interface-Flash-based) file system

A technology of data processing and file system, which is applied in the protection of internal/peripheral computer components and protection of stored content to prevent loss, etc. It can solve problems such as extra system overhead and inability to apply SPI-Flash well, and achieve reliable power-off protection Effect

Inactive Publication Date: 2016-07-13
深圳市证通金信科技有限公司
View PDF8 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For existing data processing methods of this kind, see figure 1 , the FatFs unit 1 in the file system directly operates on the Flash unit 2. When the mapping relationship between the logical block and the physical block corresponding to the file changes, a new address mapping table needs to be generated to record the updated mapping relationship. Additional system overhead will be generated; in addition, the existing data processing method is aimed at smaller Flash blocks, such as: 512 bytes, for power-down protection, and cannot be well applied to flash memory with a minimum block size of 4096 bytes. SPI-Flash

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 processing method and device for SPI-Flash-based (Serial Peripheral Interface-Flash-based) file system
  • Data processing method and device for SPI-Flash-based (Serial Peripheral Interface-Flash-based) file system
  • Data processing method and device for SPI-Flash-based (Serial Peripheral Interface-Flash-based) file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Now in conjunction with the accompanying drawings, the preferred embodiments of the present invention will be described in detail.

[0023] The present invention proposes a data processing method of a file system based on SPI-Flash, adding a virtual address mapping list (VAM) unit between the FatFs unit and the SPI-Flash unit, and the virtual address mapping list unit is used for erasing balance and protection Sudden power failure of the file system will not damage the file system. And improve the service life of the SPI-Flash to a certain extent; the SPI-Flash unit is physically divided into three partitions: the physical storage area, which is used to correspond to the actual physical storage of the file system; the address mapping area, which is related to the virtual address The mapping list is used to implement multi-level power-down protection; and the free reserved area is used to implement power-down protection and erase-write balance when the file system is ful...

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 data processing method for an SPI-Flash-based (Serial Peripheral Interface-Flash-based) file system and a data processing device for the SPI-Flash-based file system. The data processing method is characterized in that a virtual address mapping list is added between an FatFs unit and an SPI-Flash unit, and a virtual address mapping list unit is used for balancing erasing and writing and protecting the file system from sudden power failure; the SPI-Flash unit is physically divided into three partitions of a physical storage partition, an address mapping partition and an idle reserving partition; the physical storage partition is used for corresponding to an actual physical memory of the file system; the address mapping partition is matched with the virtual address mapping list, and is used for realizing multistage power failure protection; the idle reserving partition is used for executing power failure protection and balancing erasing and writing when the file system is full. The data processing method and the data processing device disclosed by the invention have the advantage that practical and reliable power failure protection can be provided.

Description

technical field [0001] The invention relates to a data processing method and device of a Flash file system, in particular to a data processing method and device of a SPI-Flash-based file system. Background technique [0002] Chinese patent CN101526927B discloses a data processing method of a Flash file system, the Flash file system includes an address mapping block, and the address mapping block records the mapping relationship between all logical blocks and physical blocks in the Flash file, and the method includes: According to the update request of Flash file, search first free block in the physical block of Flash file system, write the Flash file that updates in described first free block; Continue to search second in the physical block of described Flash file system A free physical block, and a new address mapping block is written in the second free block. Among them, in an example of an address mapping block with a size of 512B, the byte sequence-content relationship ...

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
IPC IPC(8): G06F12/16G06F21/78
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