Supercharge Your Innovation With Domain-Expert AI Agents!

Method for reading and writing file of distributed file system

A distributed file and system file technology, applied in file system, file access structure, electronic digital data processing, etc., can solve the problems of large differences in data reading and writing methods, low data processing efficiency, etc., and achieve the goal of improving data processing efficiency Effect

Active Publication Date: 2017-06-27
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the rapid development of computer technology, the amount of information data in various forms is increasing. According to different industry conditions, the way to read and write data varies greatly. Under the control of existing file read and write permissions, if multiple customers If the terminal reads and writes a file at the same time, only direct writing and direct reading methods can be used, and the data processing efficiency is low.

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 for reading and writing file of distributed file system
  • Method for reading and writing file of distributed file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions protected by the present invention will be clearly and completely described below using specific embodiments and accompanying drawings. Obviously, the implementation described below Examples are only some embodiments of the present invention, but not all embodiments. Based on the embodiments in this patent, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this patent.

[0030] This embodiment provides a distributed file system file reading and writing processing method, such as figure 1 , figure 2 As shown, the methods include:

[0031] S1: Before multiple clients write to the file, each client applies to the MDS for the write permission of the file, and each client marks the application for modifying the writing permission or adding the writing permis...

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 method for reading and writing a file of a distributed file system. Before multiple clients write the file, each client applies to an MDS for file writing permission, each client marks and applies for modification writing permission or append writing permission, and the MDS authorizes the clients to directly read and write; the clients send append writing modes or modification writing modes to the MBS asynchronously; the MBS counts client read and writing modes and authorizes the clients again to write cache or read the cache. The file writing permission is split into append writing with smaller scale and modification writing with smaller scale, if only the append writing situation exists, cache writing permission is granted to the clients, and the data processing efficiency is improved.

Description

technical field [0001] The invention relates to the field of distributed files, in particular to a method for reading and writing files in a distributed file system. Background technique [0002] With the rapid development of computer technology, the amount of information data in various forms is increasing. According to different industry conditions, the way to read and write data varies greatly. Under the control of existing file read and write permissions, if multiple customers If the terminal reads and writes a file at the same time, it can only use the method of direct writing and direct reading, and the data processing efficiency is low. Contents of the invention [0003] In order to overcome the deficiencies in the above-mentioned prior art, the present invention provides a distributed file system file reading and writing processing method, the method includes: [0004] Before multiple clients write to the file, each client applies to the MDS for the write permissi...

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
IPC IPC(8): G06F17/30
CPCG06F16/13G06F16/172G06F16/1724G06F16/182
Inventor 于鲁宪
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More