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

Management method and device for file system directory entry

A file system and management method technology, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as large operation response delay, and achieve the effect of shortening response delay and improving performance

Active Publication Date: 2015-04-15
HUAWEI TECH CO LTD
View PDF6 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a file system management method and device. The method and device provided by the present invention solve the problem of excessive operation response delay when creating files in the prior art

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
  • Management method and device for file system directory entry
  • Management method and device for file system directory entry
  • Management method and device for file system directory entry

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0035] The embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0036] If the file system in the server is organized in such a way that directory attributes are embedded in the directory list, when the client accesses a file or directory, it will first initiate a query acti...

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 management method and device for a file system directory entry, and relates to a file system with the storage organization mode that the directory properties are embedded into a directory list. The method comprises the steps of receiving a first operation request from a client, wherein the first operation request is used for creating a file in the directory of the file system; creating the file in the directory, and distributing a file identity to the file; inserting the file name and property information of the file into a directory storage object corresponding to the directory; determining that the file name and property information of the file are inserted, sending a response message of the first operation request to the client, wherein the response message includes a directory entry handle corresponding to the directory; the directory entry handle includes the file identity and the identity of the directory storage object. With the adoption of the method and device, the problem of large delay of operation response in file creation in the prior art can be solved.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a method and device for managing directory items in a file system. Background technique [0002] A file system is a system for managing files and directories. Files and directories are collectively called directory entries, and these directory entries form a file system directory tree. When a user creates a new directory item, the file system will assign a file and directory unique identifier (file identity, fid) as the unique identifier of the directory item; when the user accesses a directory item specified by a certain path, the file system starts from the root directory and Level search resolves the directory item name, and finally obtains the attribute information of the last level directory item. This process is called forward indexing. [0003] However, in some scenarios, it is necessary to reversely obtain information about the path of the corresponding directory item thro...

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
CPCG06F16/113G06F16/122G06F16/183G06F16/9017
Inventor 谢晓芹
Owner HUAWEI 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