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

Distributed file lock fault processing method and system, terminal and storage medium

A fault handling method and distributed file technology, which are applied in the fields of electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as unable to continue execution, client file lock failure, missing files, etc., to ensure data consistency , Wide application prospects, avoid missing effects

Pending Publication Date: 2020-04-10
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, once the server fails to restart or the client file lock that applies for the file lock becomes invalid, if the previous file lock is not restored in time, the file operation being executed at the time of the failure will be interrupted and cannot continue to be executed, which may cause file loss

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
  • Distributed file lock fault processing method and system, terminal and storage medium
  • Distributed file lock fault processing method and system, terminal and storage medium
  • Distributed file lock fault processing method and system, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The 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 shall fall within the protection scope of the present invention.

[0045] Key terms appearing in the present invention are explained below.

[0046] NFS network file system.

[0047] NFS-Ganesha user mode network file system.

[0048] NSM network status monitor. On Linux, the NSM service process consists of two independent user space programs. The rpc.statd daemon process is used to monitor the resta...

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 distributed file lock fault processing method and a system, a terminal and a storage medium. The method comprises the following steps: establishing a network state monitoringinteraction chain between a local end and an opposite end; receiving fault restart information sent by the opposite terminal locally through the monitoring interaction link after fault restart of theopposite terminal; and triggering a local file lock management protocol by the fault restart information, and restarting local and opposite file locks by utilizing the file lock management protocol. According to the method, data consistency is guaranteed, concurrent access of multiple clients and stability of the system are supported, after one party is restarted due to a fault, the authorized file lock is immediately recovered, and the situation that the file is lost due to the fact that operation is interrupted is avoided.

Description

technical field [0001] The invention relates to the technical field of distributed file systems, in particular to a distributed file lock fault handling method, system, terminal and storage medium. Background technique [0002] At present, as enterprise data becomes larger and larger, users have higher and higher requirements for data transmission performance and stability. The storage server will have a large number of clients, and multiple clients will simultaneously access files on the server. It is bound to cause file conflicts, and the cooperation of various clients to ensure the consistency of file data has become the focus of attention of software users and developers. Therefore, how to provide an efficient, reliable, easy-to-implement and maintain, and highly consistent network file system file lock is particularly important. [0003] File lock is a mechanism. In a multitasking operating system environment, if a process tries to write to a file that is being read by...

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): G06F11/14G06F16/176G06F16/182G06F21/60G06F21/62
CPCG06F11/1438G06F16/1774G06F16/182G06F21/604G06F21/6218
Inventor 李景要胡超超任洪亮聂东旭
Owner INSPUR SUZHOU INTELLIGENT 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