Method of replacing the identity of a file with another as part of a file open request in a computer system
First Claim
1. A method of operating a computer system having, at a first computer site, memory means, a central processor for executing an operating system, and storage means for storing a file, in which the operating system at the first computer site periodically executes requests from a second computer site to open the file stored in the storage means, wherein the method comprising the steps of:
- intercepting, at the first computer site, a file open request made from the second computer site to the operating system identifying by at least a name a first file to be opened;
extracting from the request the name of the first file;
determining whether the extracted name of the first file should be replaced with the name of a substitute file to be opened instead of the first file and, if it is determined that the name should be so replaced, amending the request, before passing the request to the operating system, to replace the name of the first file with the name of the substitute file, andpassing the request to the operating system to open the first file if it is determined that the name of the first file should not be replaced, or to open the substitute file at the first computer site if it is determined that the name of the first file should be replaced.
4 Assignments
0 Petitions
Accused Products
Abstract
In an improved method for accessing files in a computer system, file open requests are intercepted at the level of the operating system. The identity of the file to be opened is extracted from the request and a determination is made as to whether the identity of the requested file should be replaced with the identity of a substitute file to be opened instead of the requested file. If it is determined that the identity should be so replaced, the file open request is amended by substituting the identity of the substitute file for the identity of the requested file, and the request is passed on to its original destination for execution. This technique can be used to cause execution of a substitute program without the knowledge of the user. As an example, software metering can be implemented in a network system by substituting a different program from that requested when the number of copies of the requested program in use on the network has reached the maximum licensed number, so as to provide a user-friendly rejection of the program execution request.
71 Citations
14 Claims
-
1. A method of operating a computer system having, at a first computer site, memory means, a central processor for executing an operating system, and storage means for storing a file, in which the operating system at the first computer site periodically executes requests from a second computer site to open the file stored in the storage means, wherein the method comprising the steps of:
-
intercepting, at the first computer site, a file open request made from the second computer site to the operating system identifying by at least a name a first file to be opened; extracting from the request the name of the first file; determining whether the extracted name of the first file should be replaced with the name of a substitute file to be opened instead of the first file and, if it is determined that the name should be so replaced, amending the request, before passing the request to the operating system, to replace the name of the first file with the name of the substitute file, and passing the request to the operating system to open the first file if it is determined that the name of the first file should not be replaced, or to open the substitute file at the first computer site if it is determined that the name of the first file should be replaced. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer system having, at a first computer site, memory means, a central processor for executing an operating system, and storage means for storing a file, the operating system being arranged to execute periodically requests to open the file stored in the storage means, wherein the system includes:
-
means for intercepting at the first computer site a file open request from a second computer site made to the operating system identifying by at least a name a first file to be opened; means for determining whether the name of the first file should be replaced with the name of a substitute file to be opened and, if it is determined that the name should be so replaced, amending the request, before passing the request to the operating system, to replace the name of the first file therein with the name of the substitute file, and means for passing the request to the operating system to open the first file if it is determined that the name of the first file should not be replaced, or to open the substitute file at the first computer site if it is determined that the name of the first file should be replaced. - View Dependent Claims (12)
-
-
13. A method of limiting the number of copies of a file in use in a computer system, the computer system comprising a memory means, a central processor for executing an operating system, and storage means for storing a file, the method comprising:
-
intercepting a file open request made to the operating system identifying by at least a name, a first file to be opened; extracting from the file open request the name of the first file; comparing the name of the first file with a set of file names to determine whether the first file is a file which is monitored; checking, if the first file is a file which is monitored, a count of the number of copies of the first file in use to determine if a maximum number of copies of the first file has been reached; amending, if the maximum number of copies of the first file is already in use, the file open request, before passing the request to the operating system, to replace the name of the first file with the name of a substitute file to provide an amended file open request; and passing the file open request to the operating system to open the first file if it is determined that the name of the first file should not be replaced, or passing the amended file open request to the operating system for execution to open the substitute file if it is determined that the name of the first file should be replaced.
-
-
14. In a computer system, apparatus for limiting the number of copies of a file in use, the computer system comprising a memory means, a central processor for executing an operating system, and storage means for storing a file, the apparatus comprising;
-
means for intercepting a file open request made to the operating system identifying by at least a name a first file to be opened; means for extracting from the file open request the name of the first file; means for comparing the name of the first file with a set of file names to determine whether the first file is a file which is monitored; means for checking, if the first file is a file which is monitored, a count of the number of copies of the first file in use to determine if a maximum number of copies of the first file has been reached; means for amending, if the maximum number of copies of the first file is already in use, the file open request before passing the request to the operating system, to replace the name of the first file with the name of a substitute file to provide an amended file open request, and means for passing the file open request to the operating system to open the first file if it is determined that the name of the first file should not be replaced or for passing the amended file open request to the operating system to open the substitute file if it is determined that the name of the first file should be replaced.
-
Specification