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

Method, device and equipment for file locking of user state network file system

A network file system and file lock technology, applied in the field of Linux network file system, can solve the problems of file conflict system stability, data inconsistency, etc., to ensure data consistency, improve stability, and avoid file conflict events.

Active Publication Date: 2021-10-29
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, as enterprise data becomes larger and larger, users have higher and higher requirements for data transmission performance and stability. In the current distributed object storage NFS-Ganesha, when multiple clients simultaneously access server files When this happens, it will cause data inconsistency, which will cause problems such as file conflicts and poor system stability.

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, device and equipment for file locking of user state network file system
  • Method, device and equipment for file locking of user state network file system
  • Method, device and equipment for file locking of user state network file system

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 application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0041] The embodiment of this application discloses a method for locking files in a user-mode network file system, which is applied to the NFS-Ganesha server, see figure 1 As shown, the method includes:

[0042] Step S11: Obtain the file lock request information sent by the client, and obtain corresponding file lock information according to the file lock request information.

[0043] Specifically, the file lock request information may include the client's lock status response flag ...

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 present application discloses a file lock method, device and equipment of a user-mode network file system, including: obtaining file lock request information sent by a client, and obtaining corresponding file lock information according to the file lock request information; obtaining the client The file lock operation request generated according to the file lock request information sent by the terminal; the file lock operation request is verified by using the file lock information; if the verification is passed, the underlying distributed file system is called to verify the file Respond to a lock operation request. It can be seen that this application combines the file lock technology with the distributed object storage NFS-Ganesha to ensure the data consistency of the distributed file system in the concurrent access process through the file lock technology, effectively avoiding the occurrence of file conflict events, Improved system stability.

Description

technical field [0001] The present application relates to the field of Linux network file systems, in particular to a file locking method, device and equipment of a user state network file system. Background technique [0002] NFS-Ganesha (Network File System User-space, the network file system user-space version) is an open source project as a user-space network file system. Among them, the user mode refers to only limited access to memory, and does not allow access to peripheral devices, the ability to occupy the CPU is deprived, and CPU resources can be obtained by other programs. NFS is a kernel-mode network file system. As one of the file systems supported by FreeBSD, it allows computers in the network to share resources through the TCP / IP network. Among them, the kernel mode means that the CPU can access all data in the memory, including peripheral devices, such as hard disks, network cards, etc., and the CPU can also switch itself from one program to another. In the ...

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/176G06F16/182H04L29/08
CPCH04L67/1097
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