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

Directory access method and apparatus for distributed file system

A distributed file and directory access technology, applied in the field of directory access of distributed file systems, can solve problems such as crash and slow speed, and achieve the effect of improving user experience, speed of access and query, and speed of directory access.

Active Publication Date: 2018-07-24
UNITED INFORMATION TECH H K COMPANY
View PDF14 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present invention provides a directory access method and device of a distributed file system to solve the problem of slow speed or crash when a client accesses a large number of files or directories

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
  • Directory access method and apparatus for distributed file system
  • Directory access method and apparatus for distributed file system
  • Directory access method and apparatus for distributed file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0026] In the present invention, the directory entry obtained when the client accesses the distributed file system server is divided into two parts in the storage of the client, and the part of the directory entry smaller than the first preset directory entry (such as 100,000) is cached in the specified directory of the client In the first memory cache; the part of the directory entry greater than the first preset directory entry (eg, 100,000) is stored in a file on the client's local disk.

[0027] Based on this, the directory access method of the distributed file system of the present invention is proposed, such as figure 1 As shown, the method includes the following steps:

[0028] Step 10 (S101): The client generates an access request to a sp...

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 provides a directory access method and apparatus for a distributed file system. The method comprises the steps of 10: according to user operation, generating a specified directory accessrequest for the distributed file system by a client; 11: judging whether a first memory cache of a specified directory exists in the client or not, and if the first memory cache of the specified directory exists, executing the step 12; 12: loading directory entries in the first memory cache of the specified directory at the client; 13: continuing to judge whether a local directory file exists inthe client or not, and if the local directory file exists, executing the step 14, wherein the local directory file is used for storing the directory entries in the specified directory; and 14: loadingdirectory entries in a specified directory file at the client. According to the directory access method and apparatus for the distributed file system, the access speed of a small amount of directories or files and more than millions of directories or files can be increased, so that the user experience of the client is improved.

Description

technical field [0001] The invention relates to the computer field, in particular to a directory access method and device for a distributed file system. Background technique [0002] At present, large-scale distributed file systems can provide PB-level or even EB-level data storage, and storage space is no longer the bottleneck of storage technology. In theory, a distributed file system can provide an uncountable number of files. [0003] On the other hand, if a directory in the distributed file system contains millions of sub-files or sub-directories, when the client accesses the directory through the network, since the client memory cannot cache more than one million sub-files or sub-directories, Therefore, the memory of the client is often insufficient or the memory is exhausted, which affects the user's access speed in the slightest, and causes the client to crash in severe cases, affecting the user experience. [0004] For the above problems, no effective solution has...

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
CPCG06F16/13G06F16/182
Inventor 阳小鲜
Owner UNITED INFORMATION TECH H K COMPANY
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