Method and system for locally opening and closing files on client side based on directory authorization

A client-side, file-opening technology, applied in file systems, transmission systems, electrical components, etc., can solve problems that do not involve methods for opening and closing files, and achieve the effect of reducing access load and optimizing access efficiency

Inactive Publication Date: 2017-06-09
INST OF COMPUTING TECH CHINESE ACAD OF SCI +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this invention aims at the problem of application deployment, and proposes a distributed deployment method and system based on IO decoupling, which transfers the function calls of the display and IO parts to the client for local execution, and does not involve files in the distributed file system. How to open and close

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
  • Method and system for locally opening and closing files on client side based on directory authorization
  • Method and system for locally opening and closing files on client side based on directory authorization
  • Method and system for locally opening and closing files on client side based on directory authorization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The purpose of the present invention is to solve the problem that in the existing cluster file system, the opening and closing of each file needs to interact with the server, resulting in large delay in reading and writing of small files and heavy load of server metadata. The invention proposes a method for locally opening and closing files at the client end based on directory authorization. In the method, when the client sends a read directory operation request (READDIR PLUS) to the specified directory to the server to obtain the directory entry information of the directory and the file attributes under all directories, it requests the extended read authorization of the directory to ensure that the client The data in this directory and the data of each file under this directory will not be modified during the period that the terminal holds the read authorization for this directory.

[0044] The authorization mechanism is an optimization mechanism for state management w...

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 a method and system for opening and closing a file locally through a client side based on catalogue authorization and relates to the technology for optimizing the access performance of small files in a cluster file system. The method comprises the steps of conducting authorization, wherein a server gives the expanding and reading authority to the client side based on the catalogue expanding and reading authority mechanism and sends catalogue information and the expanding and reading authority to the client side, and the client side stores the catalogue information in a local reading cache; opening the file, wherein the client side establishes the catalogue item structure of the file and the index node structure of the file according to the catalogue information, makes the catalogue item structure and the index node structure be associated with the opening structure of the file, and adds the opening structure of the file to the course opened-file table; closing the file, wherein the opening structure of the file in the course opened-file table is removed and released. By the adoption of the method for opening and closing the file locally through the client side based on catalogue authorization, the access efficiency of small files can be optimized, and the access load of metadata of the server can be reduced.

Description

technical field [0001] The invention relates to an optimization technology for small file access performance in a cluster file system, in particular to a method for locally opening and closing files at a client based on directory authorization. Background technique [0002] At present, the access performance of massive small files has become a research hotspot and difficulty in the field of cluster file system. The main factor affecting the access performance of massive small files is the high proportion and high concurrency of metadata synchronous access. The network interaction overhead caused by metadata synchronous access makes the The delay of small file access operation is too large, which seriously affects the system performance. [0003] In the existing system, in order to ensure correct sharing semantics, it is necessary to maintain the state of metadata on the client and the server respectively. The current mainstream distributed file systems (including pNFS, CEPH,...

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/30H04L29/06
CPCG06F16/10H04L63/10
Inventor 邵冰清张军伟杨洪章刘振军
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
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