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

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

Active Publication Date: 2014-08-06
CHENGDU HUAWEI TECH
View PDF3 Cites 0 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

[0047] 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 a corresponding relationship 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.

[0048] An embodiment of the present invention provides a file system. A file system is a system that manages file informa...

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

Disclosed are a file system and a method for retrieving, writing, modifying and deleting a file. The file system comprises a superblock region, an inode region and a data block region. The superblock region comprises at least two superblocks serving as retrieval entrances of different attributes of a file. The inode region comprises an attribute index entry list corresponding to each superblock, and an inode corresponding to each file stored in the data block region. The data block region stores file content. The file system provides different retrieving modes through superblocks and attribute index entry lists corresponding to different attributes of a file, so as to solve the problem of a single retrieving mode of retrieving by taking a file name as an attribute only.

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), etc. Wait. [0003] Such as figure 1 , the above-mentioned file system adopts a super block (Super block)-index node (inode)-data block (data block) three-layer structure. 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 ...

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 Patents(China)
IPC IPC(8): G06F17/30
CPCG06F17/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