File system, and method and device for retrieving, writing, modifying or deleting file

A file system and file technology, applied in the field of retrieving, modifying or deleting files, and writing, and can solve problems such as unsupported retrieval methods

Active Publication Date: 2011-09-14
CHENGDU HUAWEI TECH
View PDF3 Cites 34 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing file system only supports retrieval by file name, and does not support other retrieval methods

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, and method and device for retrieving, writing, modifying or deleting file
  • File system, and method and device for retrieving, writing, modifying or deleting file
  • File system, and method and device for retrieving, writing, modifying or deleting file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] An embodiment of the present invention provides a file system, including: a super block area, an inode area, and a data block area; the super block area includes at least two super blocks as retrieval entries for different attributes of files; the inode area includes The attribute index item list corresponding to the block, and the index node corresponding to each file stored in the data block area. Each attribute index item list stores the correspondence between a file attribute and the index node number. The index node stores the file attribute and A storage address, the storage address points to the data block area storing the data block of the file. The embodiment of the present invention also provides methods and devices for retrieving, writing, modifying or deleting files in the file system. Each will be described in detail below.

[0047] An embodiment of the present invention provides a file system. A file system is a system that manages file information on a ...

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 embodiment of the invention discloses a file system. The file system comprises a superblock region, an index node region and a data block region, wherein the superblock region comprises at least two superblocks serving as search entrances of different attributes of a file; the index node region comprises attribute index entry lists corresponding to each superblock, and index nodes corresponding to each file stored in the data block region, wherein each attribute index entry list stores a corresponding relationship between file attributes and index node serial numbers; the index nodes store the file attributes and storage addresses; and each storage address points to a data block, storing the file, of the data block region. The invention also provides a method and a device for retrieving, writing, modifying or deleting the file. By using the file system provided by the invention, the problem that the file system in the prior art cannot provide a single retrieving mode of retrieving by taking a file name as an attribute is solved by providing different retrieving modes through the superblocks and the attribute index entry lists of the different attributes of corresponding file.

Description

technical field [0001] The invention relates to the technical field of file systems, in particular to a file system and methods and devices for retrieving, writing, modifying or deleting files in the file system. Background technique [0002] There are many types of popular file systems, such as EXT2, EXT3, EXT4, JFS (Journal File System), GFS (Distributed File System), ReiserFS (Reiser File System), GoogleFS (Google File System), ZFS (Zettabyte File System) wait. [0003] Such as figure 1 , the above-mentioned file system adopts a three-layer structure of super block (Super block)-index node (inode)-data block (data block). The file system is first divided into physical blocks (blocks), and these physical blocks are divided into super blocks, index node areas, and data areas. The super block is located in the first block of the file volume, and the data stored in it is the control information of the file volume, including the root directory of the directory structure tre...

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
CPCG06F17/30G06F17/30091G06F16/13
Inventor 程菊生
Owner CHENGDU HUAWEI TECH
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