Patent US6081807A successfully refreshed from Google Patents.
← Back to Patent Explorer
US6081807A Expired / Lapsed US ⏱️ 0.0 years remaining

Method and apparatus for interfacing with a stateless network file system server

Assignee: Hewlett Packard Development Co LP
•
Filing: 1997-06-13
•
Granted: 2000-06-27
•
Expires: 2017-06-13
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A method and apparatus for interfacing with a stateless NFS (Network File System) server. A pseudo-open state is created for a file when a request from a network client for accessing the file is received in a network server. The term pseudo-open data relates to a set of data that is kept in a network server. The pseudo-open describes the state of a file being currently accessed via an NFS server in the network server. The pseudo-open data differs from normal file state data in that it can be created or recreated at will, thus preserving the stateless functionality of the NFS server. Thus, if a request is received at any time and there is no pseudo-open state established for the file, the pseudo-open state will be established or reestablished at that time. If, on the other hand, a request is received for which a pseudo-open state already exists, the overhead of creating the pseudo-open state is avoided, and the existing data is used. The pseudo-open state is stored in a file-system data structure called VNODE. Each active file has an associated VNODE. The pseudo-open state of a file can be then closed. The state of the file can be changed to a higher or lower level of access privilege via open-promotion or open-demotion operations, respectively. Open-demotion refers to the change of a file state to a lower level of access privilege.

Inventors

  • 👤 Glenn Story
  • 👤 Amardeep S. Sodhi
  • 👤 Gary Tom
  • 👤 Mon For Yee

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-07 10:54
CPC Classifications
G; G06; G06F; G06F16/00; G06F16/10; Y; Y10; Y10S; Y10S707/00; Y10S707/953; Y10S707/959; Y10S707/99931; Y10S707/99938; Y10S707/99941; Y10S707/99942; Y10S707/99943

Claims Analysis

Total Claims: 33
Claim 1
Independent Claim 102 words
A method of interfacing between a network client and a network server, comprising the steps of: (a) receiving a request from the network client for accessing a file in the network server; (b) determining if there is a pseudo-open state for the file in the server, the pseudo-open state can be created and recreated at will; and (c) establishing a pseudo-open state for the file in the server if there is no pseudo-open state for the file, the pseudo-open state being associated with a pseudo-open identification and kept in the server partially by a file system and partially by a disk process.
Claim 2
Independent Claim 102 words
A method of interfacing between a network client and a network server, comprising the steps of: (a) receiving a request from the network client for accessing a file in the network server; (b) determining if there is a pseudo-open state for the file in the server, the pseudo-open state can be created and recreated at will; and (c) establishing a pseudo-open state for the file in the server if there is no pseudo-open state for the file, the pseudo-open state being associated with a pseudo-open identification and kept in the server partially by a file system and partially by a disk process.
Claim 3
Dependent Claim 37 words
The method of claim 1, wherein step (b) includes the step of locating a data structure that stores the pseudo-open state of the file, each file currently in use by the server having such a data structure.
Claim 4
Dependent Claim 26 words
The method of claim 2, wherein step (c) includes the step of creating the data structure if no such data structure is found for the file.
Claim 5
Dependent Claim 23 words
The method of claim 1, further comprising, after step (b), issuing a pseudo-open request if there is no pseudo-open state for the file.
Claim 6
Dependent Claim 37 words
The method of claim 4, wherein the pseudo-open request is similar to a regular open request without specific user information associated with the pseudo-open request, and no security checking is performed with respect to the pseudo-open request.
Claim 7
Dependent Claim 64 words
The method of claim 1, further comprising the steps of: (d) determining whether the request is for a read or write access; (e) determining the current access state of the file; and (f) if the current access state of the file is read only and the request is for a write access, changing the current access state of the file to read and write.
Claim 8
Dependent Claim 65 words
The method of claim 1, further comprising the steps of: (d) associating a counter with the file; (e) configuring a maximum value for the counter; (f) periodically checking the value of the counter; (g) if the value of the counter is non-zero, decrementing the value of the counter; and (h) if the value of the counter is zero, closing the pseudo-open state for the file.
Claim 9
Dependent Claim 93 words
The method of claim 1, further comprising the steps of: (d) associating a read counter and a write counter with the file; (e) setting the read counter to a first maximum value whenever an NFS READ request is processed; (f) setting the write counter to a second maximum value whenever an NFS WRITE request is processed; (g) periodically checking the values of the read and write counters; and (h) if the read counter has a non-zero value but the write counter has a zero value, changing the state of the pseudo-open to read-only.
Claim 10
Independent Claim 190 words
A method of interfacing between a network client and a network server, the network server including an NFS server, a file system and a disk process, the method comprising the steps of: (a) receiving, by the NFS server, a request from the network client for accessing a file in the network server; (b) locating, by the file system, a data structure associated with the file in file system, each file currently in use having such a data structure; (c) creating, by the file system, the data structure for the file if the data structure is not found for the file; (d) checking, by the file system, the data structure to determine if there is a pseudo-open state for the file in the network server, the pseudo-open state can be created and recreated at will; and (e) issuing, by the file system, a pseudo-open request to the disk process for establishing the pseudo-open state for the file if there is no pseudo-open state for the file, the pseudo-open state being associated with a pseudo-open identification and kept in the server partially by a file system and partially by a disk process.
Claim 11
Independent Claim 190 words
A method of interfacing between a network client and a network server, the network server including an NFS server, a file system and a disk process, the method comprising the steps of: (a) receiving, by the NFS server, a request from the network client for accessing a file in the network server; (b) locating, by the file system, a data structure associated with the file in file system, each file currently in use having such a data structure; (c) creating, by the file system, the data structure for the file if the data structure is not found for the file; (d) checking, by the file system, the data structure to determine if there is a pseudo-open state for the file in the network server, the pseudo-open state can be created and recreated at will; and (e) issuing, by the file system, a pseudo-open request to the disk process for establishing the pseudo-open state for the file if there is no pseudo-open state for the file, the pseudo-open state being associated with a pseudo-open identification and kept in the server partially by a file system and partially by a disk process.
Claim 12
Dependent Claim 34 words
The method of claim 9, further comprising the step of performing, by the disk process, a read or write operation with respect to the file in accordance with the request from the network client.
Claim 13
Dependent Claim 39 words
The method of claim 9, wherein the pseudo-open request is similar to a regular open request without specific user information associated with the request and the disk process does not perform security checking with respect to the pseudo-open request.
Claim 14
Dependent Claim 91 words
The method of claim 11, wherein the network server further includes a file manager, and the method further comprising the steps of: (d) determining, by the file manager, whether the request from the network client is for a read or write access; (e) determining, by the file manager, the current access state of the file; and (f) if the current access state of the file is read-only and the request is for a write access, changing, by the file manager, the current access state of the file to read and write.
Claim 15
Dependent Claim 85 words
The method of claim 9, further comprising the steps of: (d) associating, by the file system, a counter with the file; (e) configuring, by the file manager, a maximum value for the counter; (f) periodically checking, by the file manager, the value of the counter; (g) if the value of the counter is non-zero, decrementing, by the file manager, the value of the counter; and (h) if the value of the counter is zero, closing, by the file manager, the pseudo-open state for the file.
Claim 16
Dependent Claim 110 words
The method of claim 9, further comprising the steps of: (d) associating, by the file system, a read counter and a write counter with the file; (e) setting, by the file manager, the read counter to a first maximum value whenever an NFS READ request is processed; (f) setting the write counter to a second maximum value whenever an NFS WRITE request is processed; (g) periodically checking, by the file manager, the values of the read and write counters; and (h) if the read counter has a non-zero value but the write counter has a zero value, changing, by the file manager, the state of the pseudo-open to read only.
Claim 17
Independent Claim 186 words
An apparatus for interfacing between a network client and a network server, comprising: a first portion in the network server configured to receive a request from the network client for accessing a file in the network server; a second portion in the network server configured to locate a data structure associated with the file in file system, each file currently in use having such a data structure; a third portion in the network server configured to create the data structure for the file if the data structure is not found for the file; a fourth portion in the network server configured to check the data structure to determine if there is a pseudo-open state for the file, the pseudo-open state can be created and recreated at will; and a fifth portion in the network server configured to issue a pseudo-open request to the disk process for establishing the pseudo-open state for the file if there is no pseudo-open state for the file, the pseudo-open state being associated with a pseudo-open-identification and kept in the server partially by a file system and partially by a disk process.
Claim 18
Independent Claim 186 words
An apparatus for interfacing between a network client and a network server, comprising: a first portion in the network server configured to receive a request from the network client for accessing a file in the network server; a second portion in the network server configured to locate a data structure associated with the file in file system, each file currently in use having such a data structure; a third portion in the network server configured to create the data structure for the file if the data structure is not found for the file; a fourth portion in the network server configured to check the data structure to determine if there is a pseudo-open state for the file, the pseudo-open state can be created and recreated at will; and a fifth portion in the network server configured to issue a pseudo-open request to the disk process for establishing the pseudo-open state for the file if there is no pseudo-open state for the file, the pseudo-open state being associated with a pseudo-open-identification and kept in the server partially by a file system and partially by a disk process.
Claim 19
Dependent Claim 36 words
The apparatus of claim 15, further comprising a sixth portion in the network server configured to perform a read or write operation with respect to the file in accordance with the request from the network client.
Claim 20
Dependent Claim 39 words
The apparatus of claim 16, wherein the pseudo-open request is similar to a regular open request without specific user information associated with the request and the sixth portion does not perform security checking with respect to the pseudo-open request.
Claim 21
Dependent Claim 84 words
The apparatus of claim 17, further comprising: a sixth portion in the network server configured to determine whether the request is for a read or write access; a seventh portion in the network server configured to determine the current access state of the file; and an eight portion in the network server configured to, if the current access state of the file is read-only and the request is for a write access, change the current access state of the file to read and write.
Claim 22
Dependent Claim 102 words
The apparatus of claim 15, further comprising: a sixth portion in the network server configured to associate a counter with the file; a seventh portion in the network server configured to configure a maximum value for the counter; an eighth portion in the network server configured to periodically check the value of the counter; a ninth portion in the network server configured to, if the value of the counter is non-zero, decrement the value of the counter; and a tenth portion in the network server configured to, if the value of the counter is zero, close the pseudo-open state for the file.
Claim 23
Dependent Claim 135 words
The apparatus of claim 15, further comprising: (d) a sixth portion in the network server configured to associate a read counter and a write counter with the file; (e) a seventh portion in the network server configured to set the read counter to a first maximum value whenever an NFS READ request is processed; (f) an eighth portion in the network server configured to set the write counter to a second maximum value whenever an NFS WRITE request is processed; (g) a ninth portion in the network server configured to periodically check the values of the read and write counters; and (h) a tenth portion in the network server configured to, if the read counter has a non-zero value but the write counter has a zero value, change the state of the pseudo-open to read-only.
Claim 24
Dependent Claim 46 words
The apparatus of claim 18, further comprising: a ninth portion in the network server configured to, if the current access state of the file is write-only and the request is for a read access, change the current access state of the file to read and write.
Claim 25
Dependent Claim 39 words
The method of claim 6, further comprising the step of: (g) if the current access state of the file is write-only and the request is for a read access, changing the current access state of the file to read-and-write.
Claim 26
Dependent Claim 43 words
The method of claim 12, further comprising the step of: (g) if the current access state of the file is write-only and the request is for a read access, changing, by the file manager, the current access state of the file to read-and-write.
Claim 27
Independent Claim 121 words
A method of interfacing between a network client and a network server, comprising the steps of: (a) receiving a request from the network client for accessing a file in the network server; (b) determining if there is a pseudo-open state for the file in the server; and (c) establishing a pseudo-open state for the file in the server if there is no pseudo-open state for the file (d) determining whether the request is for a read or write access; (e) determining the current access state of the file; and (f) if the current access state of the file is read only and the request is for a write access, changing the current access state of the file to read and write.
Claim 28
Independent Claim 121 words
A method of interfacing between a network client and a network server, comprising the steps of: (a) receiving a request from the network client for accessing a file in the network server; (b) determining if there is a pseudo-open state for the file in the server; and (c) establishing a pseudo-open state for the file in the server if there is no pseudo-open state for the file (d) determining whether the request is for a read or write access; (e) determining the current access state of the file; and (f) if the current access state of the file is read only and the request is for a write access, changing the current access state of the file to read and write.
Claim 29
Dependent Claim 15 words
The method of claim 24, wherein the pseudo-open state is associated with a pseudo-open identification.
Claim 30
Dependent Claim 37 words
The method of claim 24, wherein step (b) includes the step of locating a data structure that stores the pseudo-open state of the file, each file currently in use by the server having such a data structure.
Claim 31
Dependent Claim 26 words
The method of claim 26, wherein step (c) includes the step of creating the data structure if no such data structure is found for the file.
Claim 32
Dependent Claim 23 words
The method of claim 24, further comprising, after step (b), issuing a pseudo-open request if there is no pseudo-open state for the file.
Claim 33
Dependent Claim 37 words
The method of claim 28, wherein the pseudo-open request is similar to a regular open request without specific user information associated with the pseudo-open request, and no security checking is performed with respect to the pseudo-open request.

References Cited (Backward Citations)

US5202971A Cited
US5537645A Cited
US5355453A Cited
US5388231A Cited
US5485579A Cited
US5802366A Cited
US5701516A Cited
US5737536A Cited
US5513314A Cited
US5813016A Cited
US5778384A Cited
US5828876A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2003-06-27 2003-12-27 2004-06-27 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2007-06-27 2007-12-27 2008-06-27 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2011-06-27 2011-12-27 2012-06-27 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag