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

File query method and device in distributed file system, equipment and medium

A distributed file and query method technology, which is applied in the field of file query and computer-readable storage media, can solve problems such as time-consuming, complicated, and weak filtering functions, and achieve the effect of small time-consuming and improved efficiency

Inactive Publication Date: 2020-03-17
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since all file information is communicated, it takes a lot of time
Moreover, because the filtering function of the Linuxls command itself is weak, it only supports some simple wildcards (such as *, ?, [], etc.) You also need to use awk and regular expressions, which is very complicated

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 query method and device in distributed file system, equipment and medium
  • File query method and device in distributed file system, equipment and medium
  • File query method and device in distributed file system, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The core of the present application is to provide a file query method, device, electronic equipment and computer-readable storage medium in a distributed file system, so as to effectively simplify the file query process, reduce time-consuming and improve efficiency.

[0044] In order to describe the technical solutions in the embodiments of the present application more clearly and completely, the technical solutions in the embodiments of the present application will be introduced below in conjunction with the drawings in the embodiments of the present application. Apparently, the described embodiments are only some of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0045] At present, in the prior art, when a user or administrator needs to query certain files thr...

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 file query method and device in a distributed file system, electronic equipment and a computer readable storage medium, and the file query method is applied to a client, andcomprises the steps: receiving an input filtering query instruction in a preset format; determining a target directory and query parameters by analyzing the filtering query instruction; generating a filtering query request message carrying the target directory and the query parameters; sending the filtering query request message to a metadata server; and after the metadata server executes the filtering query in the target directory according to the query parameter, receiving target file data returned by the metadata server. According to the method, a new instruction format and a related instruction analysis and processing flow are set, on one hand, layer-by-layer calling of the system when the request is sent is omitted, and on the other hand, filtering query is directly carried out by themetadata server, so that the file query processing process is effectively simplified, and the file query efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of distributed systems, and in particular to a file query method, device, electronic equipment and computer-readable storage medium in a distributed file system. Background technique [0002] Distributed file systems are widely used in many government and enterprise departments today. In a distributed file system, important file information is stored in a metadata server (Metadata Server). In the prior art, when a user or an administrator needs to query certain files through the client, the ls command of the Linux system is generally used. After the call, the client can request the query file from the metadata server in the distributed system, and the response is slow; then, the metadata server sends all the file information to the client, and the client performs screening and query. Since all file information is communicated, it takes a lot of time. Moreover, because the filtering function of t...

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): G06F16/14G06F16/182
CPCG06F16/182G06F16/144
Inventor 解志阳张立强
Owner LANGCHAO ELECTRONIC INFORMATION IND 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