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

Method and system for buffering file system in embedded system

An embedded system and file system technology, applied in the field of data communication, can solve problems such as file allocation table access and data area access conflicts, and achieve the effect of avoiding access failure and improving throughput

Inactive Publication Date: 2014-04-02
MAIPU COMM TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a buffering method and a buffering system for a file system in an embedded system aiming at the shortcomings of conflicts between the access of the file allocation table and the access of the data area in the file system in the existing embedded system

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
  • Method and system for buffering file system in embedded system
  • Method and system for buffering file system in embedded system
  • Method and system for buffering file system in embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention will be further elaborated below in conjunction with the accompanying drawings and specific embodiments.

[0023] Such as figure 1 Shown is a flow diagram of a file system buffering method in an embedded system according to an embodiment of the present invention, specifically including:

[0024] S1, set the end position of the file allocation table FAT buffer in the disk and set it as the memory variable P in the disk A ;

[0025] It is specifically: read the boot sector in the disk, calculate the end position of the file allocation table FAT in the disk according to the number of the file allocation table FAT in the boot sector and the size of each file allocation table FAT, and its end position Set to memory variable P on disk A .

[0026] For example: the boot sector takes FAT32 as an example, and its structure is as follows figure 2 As shown, the number of FATs at offset 16, and sectors per FAT at offset 36, the size of the FAT area SizeF...

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 method and a system for buffering a file system in an embedded system. The method mainly comprises the following steps of setting an end position of a file allocation table (FAT) buffer area in a disc as a memory variable PA in the disc; setting a buffer area in the disc as two areas, wherein the two areas are respectively a first buffer area Buf A and a second buffer area Buf B which are used as the buffer area of the FAT and the buffer area of file data respectively; issuing one disc calling to the buffer area in the disc for judging into which buffer area the sector number called by the disc at the current time falls, and transmitting an access request to the corresponding buffer area by the embedded system. Through establishing the independent FAT buffer area, failure in access of the FAT caused by the fact that the access competition of a file data area is overgreat is avoided, and the throughput of the system is improved.

Description

technical field [0001] The invention belongs to the technical field of data communication, and relates to a file system buffering method and system, in particular to a file system buffering method and system design in an embedded system. Background technique [0002] The software organization responsible for managing and storing file information in the operating system is called a file management system, or file system for short. The file system consists of three parts: software related to file management, managed files, and data structures required for file management. From a system perspective, a file system is a system that organizes and allocates file storage space, is responsible for file storage, and protects and retrieves stored files. Specifically, it is responsible for creating files for users, storing, reading, modifying, and dumping files, controlling file access, and revoking files when users no longer use them. [0003] In the file system of the embedded syste...

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): G06F17/30G06F12/08
CPCG06F12/0866G06F16/172
Inventor 张德强
Owner MAIPU COMM TECH CO LTD
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