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

Caching method for embedded file system and embedded file system

An embedded file and file system technology, applied in the information field, can solve problems such as failure to meet file system performance, inability to use general caching technology, system performance degradation, etc., to achieve controllable data loss and damage, less resident data, and reliability The effect of sex and performance requirements

Active Publication Date: 2010-08-18
MAIPU COMM TECH CO LTD
View PDF2 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, after this processing, the system performance will be degraded due to frequent access to external storage devices due to metadata read and write operations.
[0006] It can be seen that the existing general-purpose caching technology cannot be used in the embedded file system, and the performance requirements of the file system cannot be met without caching technology.

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
  • Caching method for embedded file system and embedded file system
  • Caching method for embedded file system and embedded file system
  • Caching method for embedded file system and embedded file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0035] From figure 1 It can be seen from the example in that the embedded file system includes a file system processing module, a storage device, and a buffer; in this example, the buffer includes 3 buffer units (buffer unit [0], buffer unit [1 ], buffer unit [2]), each buffer unit can cache the data of one sector, and the storage device is FLASH or CF card. For the buffer of the present invention, it is recommended to be composed of 2 to 5 buffer units, which can meet performance requirements without compromising the reliability of the file system.

[0036] The data processing methods of the file system processing module mainly include:

[0037]1. In the initial state, first allocate a buffer of 3 times the size of the sector in the memory; and divide the buffer into 3 buffer units, each buffer unit has two management parameters: s...

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 problem to be solved of the invention is to provide a caching method, which can meet the requirements of performance and reliability and is suitable for an embedded file system and the embedded file system for realizing the method. The caching method comprises the following steps: directly reading integer data using a sector as a unit on a storage device; finishing reading metadata mainly by operating buffer zone units to possibly reduce the access times to a hardware storage device and total time consumed for accessing the hardware storage device; and synchronizing data of all buffer zone units to a corresponding sector of the storage device while closing a file to ensure the data integrity of the closed file.

Description

technical field [0001] The invention belongs to the field of information technology, and in particular relates to a caching technology applied to an embedded file system. Background technique [0002] In a file system, it is usually necessary to use a first-level cache to access storage devices. The original storage devices were mainly rotating storage devices such as magnetic disks, which are characterized by a long rotating addressing process when accessing data. Because of this characteristic of rotating storage devices, if addressing is performed for each access, the performance of the file system will be low. Under this background, general cache technology emerges as the times require, which can effectively improve the performance of accessing rotating storage devices. [0003] Universal cache technology uses a memory pool to cache data in storage devices, and improves performance by reducing the number of addressing times in storage devices. The file system manages ...

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/30
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