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

Method and device for reading metadata, and computer readable storage medium

A reading device and storage medium technology, applied in the field of metadata, can solve the problems of frequent interaction between the client and the metadata server, the number of visits to the metadata server, and the high pressure on the metadata server, so as to reduce the frequency and pressure of interaction The effect of reducing and improving efficiency

Inactive Publication Date: 2017-12-22
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] With the rapid development of the Internet, there are more and more application scenarios for distributed storage systems, but with the storage of massive files in distributed storage systems, the interaction between clients and metadata servers is becoming more and more frequent
If the above access method is followed, the number of accesses to the metadata server by the client will be very large, even tens of millions of times, resulting in excessive pressure on the metadata server and slow system response

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 device for reading metadata, and computer readable storage medium
  • Method and device for reading metadata, and computer readable storage medium
  • Method and device for reading metadata, and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0041] The core of the present invention is to provide a metadata reading method, device and computer-readable storage medium, which are used to reduce the IO pressure of the metadata server and improve the access speed.

[0042] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and s...

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 a device for reading metadata, and a computer readable storage medium. The method includes transmitting access requests to a metadata server when the access requests for reading the metadata are first access requests corresponding to the metadata; receiving the metadata fed by the metadata server; caching the metadata in local spaces. The method, the device and the computer readable storage medium have the advantages that the corresponding metadata are cached in the local spaces when the access requests are the first access requests, accordingly, the metadata can be directly read from the local spaces when accessed at another time, and the frequencies of interaction between clients and the metadata server can be lowered to a great extent when each single metadata need to be repeatedly accessed; the metadata cached in the local spaces are directly read, accordingly, the metadata acquisition time can be saved, and the access request efficiency can be improved; the method does not depend on the metadata server to a certain extent, and accordingly the metadata acquisition reliability can be improved.

Description

technical field [0001] The present invention relates to the technical field of metadata, in particular to a metadata reading method, device and computer-readable storage medium. Background technique [0002] The data in the file system is divided into common data and metadata. Ordinary data refers to the actual data contained in ordinary files, while metadata refers to data used to describe the characteristics of files, such as access rights, file owners, and distribution information of file data blocks. In a distributed storage system, operations such as reading and writing small files need to obtain the metadata of the file from the metadata server, and then obtain the corresponding actual data of the file according to the metadata of the file. [0003] In the prior art, when the client receives a request for metadata access, it sends the request to the metadata server, and the metadata server finds the metadata corresponding to the request according to the request, and s...

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): G06F3/06
CPCG06F3/061G06F3/0656G06F3/067
Inventor 张书扬
Owner ZHENGZHOU YUNHAI INFORMATION 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