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

File system implementation method and device

A technology of a file system and an implementation method, applied in the embedded field, can solve the problems of not specifically limiting the file backup and writing method, unable to guarantee the recoverability of the file writing file, etc., so as to improve the speed and reliability of file management and simplify the flash. Operation, Guaranteed Recoverability Effect

Pending Publication Date: 2022-03-25
NANJING FENGDAO POWER TECH
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the data processing method of this lightweight file system operates on the disk, and does not specifically limit the file backup writing method, and cannot guarantee the recoverability of the file written to the file.

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
  • File system implementation method and device
  • File system implementation method and device
  • File system implementation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the objects, technical solutions, and advantages of the present invention more clearly, the technical solutions in the embodiments of the present invention will be described in connection with the embodiment of the present invention, and will be described in connection with the embodiment of the present invention. Embodiments, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained without creative labor are not made in the premise of creative labor.

[0045] Such as figure 1 As shown, the first embodiment of the present invention discloses a file system implementation, the method comprising the steps of:

[0046] S10, the first sector of the flash hardware device stores the first hyper block, the last sector stores the second super super block, the rest of the Sector makes M file storage, where each file storage includes the primary file and backup file, The first hyper block stores the file list inform...

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 file system implementation method and device, and the method comprises the steps that a first section of flash hardware equipment stores a first super block, a last section stores a second super block, the rest sections form M file storage spaces, each file storage space comprises a main file and a backup file, the first super block stores the file list information of the main file, the second super block stores the file list information of the backup file, and the first super block stores the file list information of the backup file; the second super block stores file list information of backup files; when a file is written, writing of a main file and writing of a backup file are carried out in sequence for each file storage space; during file updating, copying and writing from the main file in each file storage space, and updating the backup file after the writing of the main file is completed; and synchronizing file list information in the first super block and the second super block. The whole file management speed and reliability can be improved, and the recoverability of the written file is ensured.

Description

Technical field [0001] The present invention relates to the field of embedded techniques, and more particularly to a file system implementation method and apparatus. Background technique [0002] For the reliable operation of the critical field equipment, the reliability of the device file system has played a decisive impact, and the device file system provides basic support for device file storage, management, and running. [0003] According to the invention, the application number of the present invention discloses a data processing method and system of a lightweight file system, and the processing process includes setting the file system layout as a disk header storage tag, hyper block, file data, Metadata, data verification value, metadata check value information, central part, and tail storage hyper block backup information; when data is written to disk, verification information of data and metadata is calculated by algorithm; The file system load process is set to first cal...

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): G06F16/13G06F11/14G06F11/10
CPCG06F16/13G06F11/1446G06F11/1004
Inventor 刘家严肖遥
Owner NANJING FENGDAO POWER TECH
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