Storage method of file index, and file system

A file system and file index technology, applied in the field of storage, can solve the problem that the storage performance of NANDFLASH cannot be fully utilized, and achieve the effect of optimizing storage performance and improving storage performance.

Active Publication Date: 2012-06-27
SHENZHEN TECHRISE ELECTRONICS
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide a storage method for file index, aiming to solve the prob

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
  • Storage method of file index, and file system
  • Storage method of file index, and file system
  • Storage method of file index, and file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0020] In the embodiment of the present invention, by referring to the MAP data structure in the C++ standard algorithm library, the keyword KEY is associated with a group of index storage spaces, and this group of index storage spaces is obtained by using a prefabricated space generation function for the keyword KEY , the parameters in the space generating function can be dynamically selected according to the actual situation. File index header data can be stored in the free index storage space associated with keywords, so that the storage of file index data can have both the data independence of ...

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 applies to the technical field of storage, and provides a storage method of a file index, and a file system. The method comprises the following steps of: pairing a key word with an associated object, wherein the associated object is a group of index storage spaces corresponding to the key word; according to the data type of the stored data, dividing NAND FLASH into three sections, namely a key word area, an index storage space area and a file data area; and when storing file index head data, the file system finding the current idle index storage space for storage by the key word in the key word area. According to the storage method and the file system, the key word is associated with the index storage space, the file index data is stored in the index storage space associated with the key word, so that the storage of the file index data has data independence of random scattered storage, and simultaneously has the indexibility of chain storage, and the storage efficiency of an NAND FLASH storage body is better optimized and improved.

Description

technical field [0001] The invention belongs to the technical field of storage, and in particular relates to a file index storage method and a file system. Background technique [0002] As a widely used storage body, NAND FLASH has a major weakness of dynamically generating bad blocks during use. Therefore, avoiding the generation of bad blocks and minimizing the loss of stored data are issues that must be considered by the software system corresponding to NAND FLASH. [0003] Among the currently widely used file systems, one is the JFFS and YAFFS file systems, which randomly store the file index in NAND FLASH. Since the file index is stored in an unrelated manner in NAND FLASH, when a bad block is generated, It does not affect other directory files. However, when the file system is mounted, the entire NAND FLASH needs to be scanned, resulting in a long time for mounting. [0004] The other is to improve the JFFS and YAFFS file systems, store the file index in the form of ...

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): G06F17/30
Inventor 卞凤来何运衡
Owner SHENZHEN TECHRISE ELECTRONICS
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
Try Eureka
PatSnap group products