Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Embedded file system based on norflash

An embedded file and file system technology, applied in the input/output process of data processing, input/output to record carriers, instruments, etc., can solve the problems of inflexible storage, frequent operations, and unfavorable storage management such as file modification. , to achieve the effect of full utilization, simple format and easy understanding

Active Publication Date: 2018-04-13
NO 30 INST OF CHINA ELECTRONIC TECH GRP CORP
View PDF10 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This kind of storage has no flexibility, frequent operations on the same sector, it is difficult to work normally when the selected sector is damaged, and it is very unfavorable to storage management such as file modification

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] One, design principle of the present invention:

[0015] The file system design includes two core services of sector management and file management. For the sector operation of norflash, information such as the size of the space occupied by the file system and the size of the sector block are registered to the file system through the structure when the file system is formatted or initialized.

[0016] The file system obtains the chip characteristics and operation function interface of norflash through the registered norflash operation structure. Through the registration interface, it is convenient to transplant and replace the norflash device and manage the norflash sector.

[0017] (1) Sector management design in the file system

[0018] Each sector contains a sector header structure information, including sector status (normal use, damage, etc.), sector number id, erasure times, backup sector id (the main data is copied from which sector) ), backup sector erase time...

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 an embedded file system based on norflash. The system comprises the following steps that: 1: sector management: each sector contains one piece of sector header information, andthe sector header information comprises a sector state, a sector number id, an erasing frequency, a backup sector id, a backup sector erasing frequency and header structure verification information;and 2: file management: all files and folders are numbered, and file catalogs and files are continuously stored behind the sector header information. By use of the system, the basic requirements of auser for file storage management in a large-sector norflash memory can be easily met in an embedded application. Sector damage can be immediately found when the file is operated, and the sector is dynamically replaced. Memory occupation is small without buffering one sector, sector erasing use is balanced, and requirements on the file system in a small system can be favorably met.

Description

technical field [0001] The invention relates to an embedded file system based on norflash. Background technique [0002] Embedded microprocessors generally have small memory (KB level), and norflash is widely used as a storage device for embedded systems. Usually in a small embedded system, because the norflash sector block is too large (commonly 64KB), and the total number of storage sectors is not large, it is not easy to transplant commercial file systems such as fat in practical applications, and such file systems often use The whole sector is a storage unit, the RAM is too large for the microprocessor, and the small files of norflash are not fully utilized. Therefore, the usual practice in embedded systems for this application is: when there is norflash to store application data, the use function of each sector is generally defined by the program, and the location of the sector is determined in advance for file storage. This kind of storage is inflexible and frequentl...

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): G06F3/06
CPCG06F3/0614G06F3/0616G06F3/062G06F3/0631G06F3/0637G06F3/0643G06F3/0644G06F3/0652G06F3/0679
Inventor 周悟强
Owner NO 30 INST OF CHINA ELECTRONIC TECH GRP CORP
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
Eureka Blog
Learn More
PatSnap group products