Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for processing file access request on basis of nfs protocol

A file access and protocol processing technology, applied in the computer field, can solve problems such as poor user experience, inability to process requests in priority, and inability to process key requests in a timely manner, so as to improve user experience.

Active Publication Date: 2019-02-05
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a method and system for processing file access requests based on the nfs protocol, in order to solve the problem that the traditional nfs protocol can only process requests according to the order of requests, but cannot process requests according to priority, resulting in some key requests not being available Timely processing, problems with poor user experience

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 system for processing file access request on basis of nfs protocol
  • Method and system for processing file access request on basis of nfs protocol
  • Method and system for processing file access request on basis of nfs protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] The following introduces Embodiment 1 of a method for processing file access requests based on the nfs protocol provided by the present invention. Embodiment 1 is applied to the NFS server, see figure 1 , Embodiment 1 specifically includes:

[0052] Step S101: Receive a file access request sent by a client.

[0053] Step S102: Analyze the file access request, and determine whether the file access request is a high-priority file access request.

[0054] Step S103: If the file access request is a high-priority file access request, add the high-priority file access request to the request processing queue, wherein the request processing queue includes multiple The file access requests in the request processing queue include high-priority file access requests and non-high-priority file access requests.

[0055] Step S104: During the process of processing each file access request in the request processing queue, determine whether the high-priority file access request has no...

Embodiment 2

[0059] see figure 2 , embodiment two specifically includes:

[0060] Step S201: Receive a file access request sent by a client.

[0061] Step S202: Determine whether the client has the authority to initiate a high-priority file access request.

[0062] Although the file access request is initiated by the client, in order to prevent the client from arbitrarily setting a high-priority file access request, which makes this feature meaningless, this embodiment needs to set a client with high-priority access on the nfs server And files, that is, whether each client has the authority to initiate a high-priority file access request, and which target files or classes are available for each client to initiate a high-priority file access request.

[0063] After the nfs server creates a share, the client needs to mount the shared directory of the nfs server to the local through the file mount protocol to access the file. Specifically, when the client creates an nfs share on the nfs s...

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 discloses a method for processing a file access request on the basis of an nfs protocol. The method is applied to an nfs server side. By adopting the method, after a file access requestsent by a client is received, whether the file access request is a file access request with a high priority can be judged; if yes, the file access request is added into a request processing queue; inthe process of processing file access requests in the request processing queue, time during which the request is not processed from the beginning of addition in the request processing queue is judgedwhether to exceed a preset time period; and if yes, the request is processed. Therefore, compared to a conventional nfs protocol request processing method, the method allows that the request is set tohave the high priority, and can ensure that the time from receiving to processing on the request does not exceed the preset time period, so that user experience is greatly improved. Moreover, the invention further provides a method and system for processing a file access request on the basis of the nfs protocol, which are applied to a client and have effects corresponding to those of the method above.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and system for processing file access requests based on the nfs protocol. Background technique [0002] NFS is a very common file sharing access protocol used in the Linux environment. The client accesses the files stored on the NFS server through the NFS protocol. [0003] Currently, the nfs protocol processes all requests in chronological order without considering priority. However, in an actual environment, especially when the nfs server is busy with IO, the nfs request sent by the client may not be processed due to the busy IO, and the file access will fail due to timeout. It is said that the demand for access to some key files will be very urgent, and the time limit requirement is relatively high. The client hopes that the server can first ensure that the access request for such files is processed. [0004] It can be seen that the traditional nfs protocol can only process...

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): H04L29/08
CPCH04L67/06H04L67/61
Inventor 刘相乐姜洪正
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD