Data storage method, metadata server and client

A metadata server and storage server technology, which is applied in electronic digital data processing, digital data information retrieval, special data processing applications, etc., can solve the problems of low performance, poor flexibility, cumbersome release lock range, and cumbersome allocation lock range, and achieve The effect of improving locking performance, ensuring consistency, and ensuring data consistency and reliability

Pending Publication Date: 2020-04-07
HUAWEI TECH CO LTD
View PDF15 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this distributed lock mechanism, the server allocates the file ranges of different nodes, and when multiple nodes access the same file together, the server releases the lock range and allocates the lock range. The process is cumbersome, with low performance and poor flexibility.

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
  • Data storage method, metadata server and client
  • Data storage method, metadata server and client
  • Data storage method, metadata server and client

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] The terms used in the embodiments of the present application are only used to explain specific embodiments of the present application, and are not intended to limit the present application.

[0073] Firstly, the network architecture involved in this application is introduced. refer to figure 1 , figure 1 A distributed file system (distributed file system, DFS) involved in the embodiment of the present invention is shown. The distributed file system 100 includes: one or more clients (client) 101 (the present application takes the first client and the second client as examples), a client server 102, and a metadata server (meta data server, MDS ) 103 and one or more storage servers (storageserver, SS) 104.

[0074] Wherein, the client 101 may be an electronic device, such as a desktop computer, a portable computer, a mobile phone, and the like.

[0075] The client server 102 is configured to receive the access request of the client 101, and the client 101 may be any pe...

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 data storage method, a metadata server and a client. The method comprises the steps that a first client transmits a first locking request for locking a first data interval ofa first file to the metadata server, and the metadata server receives the first locking request transmitted by the first client; If the first data interval of the first file is not locked, the metadata server locks the first data interval of the first file and sends a first locking response to the first client to indicate that the first data interval of the first file is locked by the first client. By implementing the application, when the client applies to the metadata server for locking the data interval of the file, which data interval of the file is locked can be autonomously requested, so that the locking of the file range is more flexible, the locking efficiency of the range lock of the file is improved, and the parallel writing efficiency of the file is improved.

Description

technical field [0001] The invention relates to the field of distributed file systems, in particular to a data storage method, a metadata server and a client. Background technique [0002] With the continuous development of Internet technology, the amount of data continues to expand, and business logic becomes increasingly complex. Traditional centralized systems can no longer meet business needs, and distributed file systems are used in more scenarios. A distributed file system generally adopts a client / server architecture, where data is stored on the server, and the client application can access files located on a remote server just like accessing a local file system. In a distributed file system, when multiple clients access the same shared resource on the server, a mutual exclusion mechanism is needed to prevent mutual interference and ensure data consistency. Therefore, the concept of distributed locks is introduced. [0003] Distributed lock is the core component of d...

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/176G06F16/182G06F16/18
CPCG06F16/1774G06F16/1873G06F16/2343
Inventor 敬宜
Owner HUAWEI TECH CO LTD
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