Method and implementation of session-based file locking for network applications
First Claim
1. A computer-implemented system for managing document access, comprising:
- a web server for storing, editing, and manipulating files and file folders in accordance with at least one session received via an associated network from a browser of at least one of a plurality of associated computers;
means for generating a common lock file associated with each of a plurality of electronic documents, which electronic documents include at least one of a file and file folder corresponding thereto;
means for receiving a document access request for access to a selected electronic document from an associated thin client via an associated network;
means for generating a temporary file lock associated with the selected electronic document;
testing means for testing the common lock file for a preexisting lock corresponding to the selected electronic document;
means for releasing the temporary lock file upon a determination of an existence of a preexisting lock on the selected electronic document;
means for generating a file lock in the common lock file corresponding to the selected electronic document upon a determination of an absence of a preexisting lock on the selected electronic document;
control means for controlling access to the at least one of the files and file folders in accordance with the common lock file;
networked storage means associated with the web server for storing the common lock file so as to control sessions of each of the plurality of computers; and
means for communicating, to at least one associated computer via the associated network, status data representative of whether access to at least one of the files and file folders are allowed in accordance with an output of the testing means,wherein the control means includes means for selectively updating content of the lock file to include lock access data for controlling access attributes to at least one file and file folder corresponding thereto stored on the file storage means, the lock access attributes including at least one of a read lock, an authority lock, a write lock, and a folder lock.
1 Assignment
0 Petitions
Accused Products
Abstract
A file locking method and implementation are disclosed which allows a plurality of user sessions to open and read a file, but at any one time, only one session will be allowed to change the data displayed in the browser window and to update the file. This file locking method sets up a file access priority by using file locks that are date-time stamped and session stamped. The types of lock associated with the present invention include read lock, authority lock, write lock, and folder lock. When a session/user requests access to a file, the application will check a lock table associated with the requested file. For each lock on the file, there is an entry in the lock table for each of the attributes of the lock: lock type, session owner, date-time stamp. Depending on the lock and the existing locks on the file, the requesting session may be granted a lock. After the access request is fulfilled, the file lock may be removed. When a session expires, all the locks owned by this session will be invalidated and removed.
52 Citations
26 Claims
-
1. A computer-implemented system for managing document access, comprising:
-
a web server for storing, editing, and manipulating files and file folders in accordance with at least one session received via an associated network from a browser of at least one of a plurality of associated computers; means for generating a common lock file associated with each of a plurality of electronic documents, which electronic documents include at least one of a file and file folder corresponding thereto; means for receiving a document access request for access to a selected electronic document from an associated thin client via an associated network; means for generating a temporary file lock associated with the selected electronic document; testing means for testing the common lock file for a preexisting lock corresponding to the selected electronic document; means for releasing the temporary lock file upon a determination of an existence of a preexisting lock on the selected electronic document; means for generating a file lock in the common lock file corresponding to the selected electronic document upon a determination of an absence of a preexisting lock on the selected electronic document; control means for controlling access to the at least one of the files and file folders in accordance with the common lock file; networked storage means associated with the web server for storing the common lock file so as to control sessions of each of the plurality of computers; and means for communicating, to at least one associated computer via the associated network, status data representative of whether access to at least one of the files and file folders are allowed in accordance with an output of the testing means, wherein the control means includes means for selectively updating content of the lock file to include lock access data for controlling access attributes to at least one file and file folder corresponding thereto stored on the file storage means, the lock access attributes including at least one of a read lock, an authority lock, a write lock, and a folder lock. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-implemented method for managing web-based document access comprising the steps of:
-
performing at least one of a storing, editing, and manipulating of files and file folders in a web server in accordance with at least one session received via an associated network from a browser of at least one of a plurality of associated computers; generating a common lock file associated with each of a plurality of electronic documents, which electronic documents include at least one of a file and file folder corresponding thereto; receiving a document access request for access to a selected electronic document from an associated thin client via an associated network; generating a temporary file lock associated with the selected electronic document; testing the common lock file for a preexisting lock corresponding to the selected electronic document; releasing the temporary lock file upon a determination of an existence of a preexisting lock on the selected electronic document; generating a file lock in the common lock file corresponding to the selected electronic document upon a determination of an absence of a preexisting lock on the selected electronic document; controlling access to the at least one of the files and file folders in accordance with the common lock file; storing the common lock file in a storage associated with the web server so as to control sessions of each of the plurality of computers; and communicating, to at least one associated computer via the associated network, status data representative of whether access to at least one of the files and folders are allowed in accordance with an output of the testing of the common lock file, and updating content of the lock file to include lock access data adapted for controlling access attributes to at least one file and file folder corresponding thereto stored on the file storage means, the lock access attributes including at least one of a read lock, an authority lock, a write lock, and a folder lock. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer-implemented method for managing web-based document access comprising the steps of:
-
performing at least one of a storing, editing, and manipulating of files and file folders in a web server in accordance with at least one session received via an associated network from a browser of at least one of a plurality of associated computers; generating a common lock file associated with each of a plurality of electronic documents, which electronic documents include at least one of a file and file folder corresponding thereto; receiving a document access request for access to a selected electronic document from an associated thin client via an associated network; generating a temporary file lock associated with the selected electronic document; testing the common lock file for a preexisting lock corresponding to the selected electronic document; releasing the temporary lock file upon a determination of an existence of a preexisting lock on the selected electronic document; generating a file lock in the common lock file corresponding to the selected electronic document upon a determination of an absence of a preexisting lock on the selected electronic document; controlling access to the at least one of the files and file folders in accordance with the common lock file; storing the common lock file in a storage associated with the web server so as to control sessions of each of the plurality of computers; and communicating, to at least one associated computer via the associated network, status data representative of whether access to at least one of the files and folders are allowed in accordance with an output of the testing of the common lock file, and updating content of the lock file to include lock access data for controlling access attributes to at least one file and file folder corresponding thereto stored on the file storage means, the lock access attributes including at least one of a read lock, an authority lock, a write lock, and a folder lock. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25, 26)
-
Specification