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

Method and device for controlling file access in distributed file system

A technology for distributed files and control equipment, applied in the computer field, to achieve the effect of ensuring correctness, improving service availability, and reducing service downtime

Active Publication Date: 2017-12-26
ALIBABA GRP HLDG LTD
View PDF8 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] An object of this application is to provide a method and device for controlling file access in a distributed file system, so as to solve the problem of improving the service availability of the distributed file system

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 controlling file access in distributed file system
  • Method and device for controlling file access in distributed file system
  • Method and device for controlling file access in distributed file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The application will be described in further detail below in conjunction with the accompanying drawings.

[0040] In a typical configuration of the present application, the terminal, the device serving the network and the trusted party all include one or more processors (CPUs), input / output interfaces, network interfaces and memory.

[0041] Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and / or nonvolatile memory such as read only memory (ROM) or flash RAM. Memory is an example of computer readable media.

[0042] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random acce...

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 aims to provide a method and a device for controlling file access in a distributed file system. Compared with the prior art, a control device obtains a lease request about a target file in the distributed file system and sent by user equipment; if the target file can be leased, the lease about the target file is allocated to the user equipment; and lease serial number information of the lease is sent to the user equipment; by adding the lease serial number information for representing a lease request sequence of the user equipment, data disorder is avoided when an equipment fault occurs, so that the service availability is improved and the service fault time is shortened; and the lease serial number information is maintained through the control device, the user equipment and a storage device, so that the data access correctness of the user equipment is ensured.

Description

technical field [0001] The present application relates to the computer field, in particular to a technology for controlling file access in a distributed file system. Background technique [0002] A typical distributed file system consists of three roles: user equipment (including client), control equipment (Master) and storage equipment (ChunkServer). Among them, the user accesses data through the user device; the Master stores the user's metadata, that is, the file name, file length, and the actual storage location of the data; the ChunkServer actually stores the user's data. For example, when a user reads and writes data, he first visits the Master to query which ChunkServer the actual data is actually stored on, and then visits the corresponding ChunkServer to read and write data. [0003] If there is no restriction, multiple user devices accessing the same file will cause data corruption. For example, suppose a certain file is written by two user devices at the same ti...

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): G06F21/62
CPCG06F21/6218G06F21/6272G06F2221/2141
Inventor 石超
Owner ALIBABA GRP HLDG 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