Unlock instant, AI-driven research and patent intelligence for your innovation.

Pre-reading method and device for distributed file system

A distributed file, pre-reading technology, applied in instrumentation, computing, electrical and digital data processing, etc., can solve problems such as no solutions, and achieve the effect of shortening the time for reading data

Active Publication Date: 2020-03-03
DAWNING INFORMATION IND BEIJING +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] For the above-mentioned problems in related technologies, no effective solution has been proposed yet

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
  • Pre-reading method and device for distributed file system
  • Pre-reading method and device for distributed file system
  • Pre-reading method and device for distributed file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

[0048] According to an embodiment of the present invention, a read-ahead method of a distributed file system is provided.

[0049] Such as figure 1 As shown, the read-ahead method according to the embodiment of the present invention includes:

[0050] Step S101, after the client receives a read request for target data, the client judges whether the data volume corresponding to the read request cached by the server meets the first predetermined optimal cache volume;

[0051] Step S103, when th...

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 pre-reading method and device of a distributed file system. The method comprises the following steps: after receiving a read request for target data by a client, judging, by the client, whether a data amount cached by a server and corresponding to the read request satisfies a first predetermined optimum cache amount; under the condition that the data amount cached by a server and corresponding to the read request does not satisfy the first predetermined optimum cache amount, issuing a first pre-reading request to the server by the client; searching target data corresponding to the read request in a client cache of the client and reading the target data from the client cache under the condition that the target data is searched; judging, by the client, whether a data amount cached by the client and corresponding to the read request satisfies a second predetermined optimum cache amount; and under the condition that the data amount cached by the client and corresponding to the read request does not satisfy the second predetermined optimum cache amount, issuing an asynchronous pre-reading request to the server by the client.

Description

technical field [0001] The invention relates to the field of distributed file systems, in particular to a pre-reading method and device for a distributed file system. Background technique [0002] The file system was originally used to manage local disks and provide user access interfaces. A collection of certain data is called a "file", and each file is given certain attributes to identify certain attributes of the data collection. Files are managed and retrieved hierarchically in a tree structure. The distributed file system provides users with the same access interface as the local file system, but allows users to access and manage remote data. Applications in a distributed file system may come from many different nodes, and the data it manages may also be stored on different nodes. At the same time, there may be multiple metadata servers that provide metadata operations in the system, which depends on the specific implementation. Certainly. Many designs and implement...

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): G06F16/172
CPCG06F16/172
Inventor 袁清波
Owner DAWNING INFORMATION IND BEIJING