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

File access method, data server and file access system

An access method and data technology, applied in file systems, file access structures, special data processing applications, etc., can solve problems such as large performance loss, deadlock of locking mechanism, and inability to complete file access operations.

Active Publication Date: 2022-02-11
HUAWEI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Processes that have not obtained key resources (locks) usually check the lock status by polling, which has a large performance loss
[0004] However, the lock mechanism is prone to deadlock problems. The so-called deadlock refers to the blocking phenomenon caused by competition for resources or communication between two or more processes during execution. Unable to move forward, at this time, the system is in a deadlock state, and the file access operation cannot be completed

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
  • File access method, data server and file access system
  • File access method, data server and file access system
  • File access method, data server and file access system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, 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 embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0062] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate ci...

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

An embodiment of the present invention provides a file access method, a data server, and a file access system, wherein the method includes: receiving an access request sent by a terminal; if the access operation type is a write operation, and the access request also includes data to be written, then Obtain the first data corresponding to the storage address at the first moment, generate the signature of the first data according to the first data, and modify the first data to the data to be written; obtain the second data corresponding to the storage address at the second moment, and Generate the signature of the second data from the second data; judge whether the signature of the first data is the same as the signature of the second data; if they are the same, write the modified first data into the storage location corresponding to the storage address, and generate the first access operation result , and send the first access operation result to the terminal. The file access method provided by the embodiment of the present invention can realize concurrent file access without introducing deadlock problem.

Description

technical field [0001] The invention relates to the technical field of file management, in particular to a file access method, a data server and a file access system. Background technique [0002] With the rise of the wave of big data, the importance of the Distributed File System (DFS for short) is becoming more and more obvious. DFS is based on the client / server model, which forms a file system network with many nodes. Each node can be distributed in different locations, and the communication and data transmission between nodes are carried out through the network. When people use DFS, they don’t need to care about the data source. From which node, the data in DFS can be managed like a local file system. As a large-capacity carrier, DFS's concurrent access becomes the key to the file system. [0003] At present, in order to solve the problem of high concurrent access, the lock mechanism is usually used. The so-called lock mechanism refers to constructing an exclusive key ...

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/13
CPCG06F16/13
Inventor 向小佳
Owner HUAWEI 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