The present invention relates to a method and system for executing software applications. More particularly, the present invention relates to a method and system for executing software applications that operate in a virtual environment generated using, for example, file system and registry hooks and overlays.
With the popularity and wide access of broadband networks, software publishers have made applications available for use on central servers. Indeed, a commercial market segment known as Application Service Providers (ASPs) has recently emerged. Broadband network access facilitates the use (including downloading and execution) of such server-based software applications by providing high speed data connections for distribution of software applications from a server terminal (or from a remote location) to a local client terminal (for example, a personal computer terminal). However, many users consider it troublesome and time consuming to install applications distributed in this manner onto their client terminals because it typically requires accessing the server terminal via the data connection, downloading the desired application, and thereafter installing the downloaded application onto the client terminal for execution.
In view of the foregoing, it is desirable to have a system and method that provides unobtrusive execution of externally delivered applications, without the traditional installation procedure of the application before execution. It is further desired to have secure access to the applications to prevent unauthorized users from executing them.
In view of the foregoing, in one aspect of the present invention, a system for providing a file system overlay on a local computer includes a file system hook operatively interposed between a file system manager and a file system driver of the local computer, the file system hook configured to detect a file system call corresponding to a target program and to perform one or more procedures, and an agent procedure executing on the local computer to configure the file system hook for executing the target program. The one or more procedures may include accessing data at a server terminal operatively coupled to the local computer via a data network, or at a locally connected CD-ROM drive.
The system further includes a token file corresponding to the target program, the token file including file system overlay information for the target program, where the token file may also include information corresponding to one or more registry overlays, and environment variable changes. The token file may also have a unique file extension for use by the local computer operating system.
In one aspect, the target program may be associated with a unique process identifier, where process identifier is generated by the operating system of the local computer.
A method of providing a file system overlay on a local computer in accordance with another embodiment of the present invention includes the steps of configuring a file system hook operatively interposed between a file system manager and a file system driver of the local computer, to detect a file system call corresponding to a target program, and to perform one or more procedures, and executing an agent procedure on the local computer for configuring the file system hook to execute the target program.
The method in yet another aspect may further include a token file corresponding to the target program, the token file including file system overlay information for the target program.
A computer program product of still another embodiment includes a medium readable by a computer, the computer readable medium having computer program code adapted to configure a file system hook operatively interposed between a file system manager and a file system driver of the local computer, to detect a file system call corresponding to a target program, and to perform one or more procedures, and execute an agent procedure on the local computer for configuring the file system hook to execute the target program. Further, the computer program product may include a token file corresponding to the target program, the token file including file system overlay information for the target program.
In the manner described above, in accordance with the various embodiments of the present invention, there is provided a system and method that provides unobtrusive execution of externally delivered applications, without the traditional installation procedure of the application before execution by employing file system and registry overlays that generate the appearance of having installed the application without actually modifying the underlying file system or registry.
Numerous other aspects are provided, as are methods and computer program products. Each inventive computer program product may be carried by a medium readable by a computer (e.g., a carrier wave signal, a floppy disk, a hard drive, a random access memory, etc.). A computer readable storage medium encompasses physical mediums (floppy disk, a hard drive, a random access memory, etc.) but does not include non-physical media (i.e. carrier wave signal).
These and other features and advantages of the present invention will be understood upon consideration of the following detailed description of the invention and the accompanying drawings.
In accordance with the present invention, a virtual environment is created on a client terminal such that application programs (typically delivered via a broadband computer network, or a local CD-ROM drive) may be efficiently and properly executed without being installed on the client terminal. The environment in which the application executes is not entirely virtual, however, and may be considered an overlay of a virtual environment over an existing “actual” environment. Indeed, in accordance with the present invention, file system and registry hooks are configured to provide a virtual environment that simulates a client terminal's operating environment, but with the addition of file system and registry overlays which provide the appearance of the target program being installed. The file system and registry hooks are also configured to permit access to the computer's virtual operating environment only by designated computer processes. Other programs only see the real environment, not the virtual environment.
For example, the operating system 105 may be configured to translate file system access requests from an application program such as the Windows Explorer 104a into a file system call. The file system call is directed by the file system manager 108 to the appropriate file system driver 111, and, thus, eventually to the appropriate file system 114. Further, a registry manager 109 is configured to handle calls to a registry 115 (such as the Windows registry in the case of the Windows operating system) from the application programs 104a, 104b.
The software application execution environment of
More specifically, a chain of file system hooks is interposed between the file system manager 108 and the file system driver 111. The file system hooks take control of the file system calls before a file system driver 111 is called to perform the function corresponding to the file system call. The file system hooks receive the same information as the file system driver 111. When called, the file system hooks can perform one of four operations. First, the file system hook may ignore the call and chain onto the next file system hook in the hook chain. Second, the file system hook may process the call and return directly to the file system manager 108. Third, the file system hook may change the call or make multiple calls to the file system driver 111 directly, and then return to the file system manager 108. Lastly, the file system hook may call down the hook chain and perform additional processing on the way back.
Referring back to
By way of illustration, the process database 106 shown in
Taking the specific example illustrated in
It is recognized that the target program 104b may itself spawn other processes (i.e., the operating system 105 may spawn other processes based on the execution of the target program 104b) for which it will be necessary to allow access to the file system overlay and private file storage. In one embodiment, the client agent swplayer 103 is configured to monitor any spawning processes and to modify the process database 106 to recognize the spawned processes. Alternatively, when the file system hook 202 is configured to recognize a particular process ID for which a file system access request has been made, the file system hook 202 “walks” the process activation/hierarchy tree for the processes for which it has been configured. If the non-recognized process is found, then the file system hook 202 handles the file system access request and may modify its configuration (e.g., by modifying the process database 106) to recognize the previously non-recognized process.
In accordance with one embodiment, the file system hook 202 maintains a negative table of processes IDs that it is configured not to handle. To determine if a process is one for which the file system hook 202 is configured to handle, the file system hook 202 first checks against the negative table. If the process ID appears in the negative table, there is no need to then “walk” the process activation/hierarchy tree of the process for which the file system hook 202 is configured to handle to determine whether the requesting process is a spawned process which the file system hook 202 should properly handle.
It should be noted that the target program 104b may be considered a manifestation of executing instructions pointed to by the token file 306 in an environment represented by the token file 306. To this end, the environment represented by the token file 306 is encoded as overlays for the file system and registry, with other important data such as environment variables, working directory, command line, and so on, as discussed in further detail below. In this manner, a target program not installed on a client terminal may be executed via file system and registry hooks with superimposed overlays.
Furthermore, in another embodiment, in addition to installing the target program 104b on computer terminal 304, the target program 104b may be executed on the computer terminal 304 before deriving the token file 306 so that any final installation steps performed the target program 104b the first time it is run may be captured.
Referring back to
A user may use the web browser to navigate to a web site, and click on a link indicating a target program listed on a web page. The link points to the token file for that target program. The web browser initiates retrieval of the token file, and, based on the MIME type for the token file, recognizes that the token file should be downloaded to the client terminal, and the client agent swplayer 103 is started with the location of the token file given as an argument to the client agent swplayer 103. The web browser downloads the token file, and starts the client agent swplayer 103. The location of the token file that was downloaded is provided to the client agent swplayer 103 when the client agent swplayer 103 is started.
Optionally, once a token file has been downloaded to the client terminal, the user may bypass accessing the web site and selecting the link for the target program, and rather, directly open the token file already present on the client terminal. Since the token file's file extension was registered with the operating system (for e.g., using Windows Explorer 104a), opening the token file will cause client agent swplayer 103 to be started with the location of the token file given as an argument to client agent swplayer 103. Alternatively, the token file (and the target program component files) may already be local to the client terminal 102, for example, on the hard drive or on the CD-ROM drive.
Once the client agent swplayer 103 is started, it reads parameters from the token file 107 to modify the process database 106 as appropriate, including causing the operating system 105 to create a process ID (PID) under which the target program 104b operates and based on which the file system hook 202 monitors and controls interaction with files necessary to run the target program 104b. That is, the file system hook 202 monitors file system calls as discussed above, i.e., gating access to the private file system overlay only to programs allowed by the process database 106.
As for registry calls by the executing target program 104b, the client agent swplayer 103 uses the registry overlay information in the token file 107 to configure the registry hook 203 that sees all registry calls before the native registry manager 109. Depending on the registry overlay information in the token file 107, the registry hook 203 may handle a particular registry call itself, modify the registry call and pass it along to the native registry manager 109, or pass the registry call along to the native registry manager 109 unmodified. In this way, the registry 115 is handled in a manner analogous to the file system with gated access based on the process database 106 and registry overlay information contained in the token file 107.
One major advantage of using the registry hook 203, as opposed to modifying the registry itself (and then modifying the registry back) is that if an error is returned during the execution of the target program 104b and, for example, the client terminal 102 crashes, then the registry 115 has not been irreparably corrupted.
As discussed in detail above, the present invention provides a system by which a client terminal may robustly and reliably execute programs without installing them through the use of file system hooks and overlays. Moreover, while the detailed description set forth above is directed to a client terminal running in an operating system such as a Windows 2000 operating system or its predecessor versions, the various embodiments of the present invention may be applied to other operating systems and computer networks as well as data systems.
The various processes described above including the processes operating in the software application execution environment at a client terminal, generating a token file, and the process for setting up a client terminal for processing token files, respectively described in conjunction with
Indeed, the various embodiments of the present invention provide a method and apparatus for allowing a computer program (potentially remotely-located) to be accessed and executed by a local computer terminal without that program having to first be installed. In addition, the program is executed in such a way as to limit the possibility of the program or data being indiscriminately copied and propagated, plus providing time limits on the access to the program or data. Moreover, copies of modified files (or portions thereof) or registry entries in the overlay are maintained in a local cache (e.g., using a persistent writeback caching scheme) located on, for example, in a hard drive (or any other storage device) of the local computer to improve performance of subsequent accesses, as well as storing recently used remote data, and retaining file, directory and registry content for subsequent executions of the target program.
Various other modifications and alterations in the structure and method of operation of this invention will be apparent to those skilled in the art without departing from the scope and spirit of the invention. Although the invention has been described in connection with specific preferred embodiments, it should be understood that the invention as claimed should not be unduly limited to such specific embodiments. It is intended that the following claims define the scope of the present invention and that structures and methods within the scope of these claims and their equivalents be covered thereby.
The present application claims priority under 35 USC §119 to provisional application No. 60/256,082 entitled “Method and System for Executing a Software Application in a Virtual Environment” with named inventors Jeffrey de Vries and Gregory Zavertnik, filed on Dec. 15, 2000, the disclosure of which is incorporated by reference in its entirety for all purposes.
Number | Name | Date | Kind |
---|---|---|---|
4796220 | Wolfe | Jan 1989 | A |
5063500 | Shorter | Nov 1991 | A |
5109413 | Comeford et al. | Apr 1992 | A |
5210850 | Kelly et al. | May 1993 | A |
5293556 | Hill et al. | Mar 1994 | A |
5442791 | Wrabetz et al. | Aug 1995 | A |
5495411 | Ananda | Feb 1996 | A |
5548645 | Ananda | Aug 1996 | A |
5666293 | Metz et al. | Sep 1997 | A |
5696965 | Dedrick | Dec 1997 | A |
5701427 | Lathrop | Dec 1997 | A |
5706440 | Compliment et al. | Jan 1998 | A |
5715403 | Stefik | Feb 1998 | A |
5764906 | Edelstein et al. | Jun 1998 | A |
5778395 | Whiting et al. | Jul 1998 | A |
5805809 | Singh et al. | Sep 1998 | A |
5809144 | Sirbu et al. | Sep 1998 | A |
5822537 | Katseff et al. | Oct 1998 | A |
5835722 | Bradshaw et al. | Nov 1998 | A |
5838910 | Domenikos et al. | Nov 1998 | A |
5878425 | Redpath | Mar 1999 | A |
5881229 | Singh et al. | Mar 1999 | A |
5881232 | Cheng et al. | Mar 1999 | A |
5892915 | Duso et al. | Apr 1999 | A |
5895454 | Harrington | Apr 1999 | A |
5903721 | Sixtus | May 1999 | A |
5903732 | Reed et al. | May 1999 | A |
5903892 | Hoffert et al. | May 1999 | A |
5905868 | Baghai et al. | May 1999 | A |
5909545 | Frese et al. | Jun 1999 | A |
5911043 | Duffy et al. | Jun 1999 | A |
5918015 | Suzuki et al. | Jun 1999 | A |
5923885 | Johnson | Jul 1999 | A |
5933603 | Vahalia et al. | Aug 1999 | A |
5933822 | Braden-Harder et al. | Aug 1999 | A |
5943424 | Berger et al. | Aug 1999 | A |
5948062 | Tzelnic et al. | Sep 1999 | A |
5948065 | Eilert et al. | Sep 1999 | A |
5949877 | Traw et al. | Sep 1999 | A |
5953506 | Kalra et al. | Sep 1999 | A |
5960411 | Hartman et al. | Sep 1999 | A |
5963944 | Admas | Oct 1999 | A |
5973696 | Agranat et al. | Oct 1999 | A |
5987454 | Hobbs | Nov 1999 | A |
6014686 | Elnozahy et al. | Jan 2000 | A |
6018619 | Allrad et al. | Jan 2000 | A |
6026166 | LeBourgeois | Feb 2000 | A |
6028925 | Van Berkum et al. | Feb 2000 | A |
6038379 | Fletcher et al. | Mar 2000 | A |
6038610 | Belfiore et al. | Mar 2000 | A |
6047323 | Krause | Apr 2000 | A |
6061738 | Osaku et al. | May 2000 | A |
6065043 | Domenikos et al. | May 2000 | A |
6081842 | Shachar et al. | Jun 2000 | A |
6085186 | Christianson et al. | Jul 2000 | A |
6085193 | Malkin et al. | Jul 2000 | A |
6088705 | Lightstone | Jul 2000 | A |
6094649 | Bowen et al. | Jul 2000 | A |
6099408 | Schneier et al. | Aug 2000 | A |
6101482 | DiAngelo et al. | Aug 2000 | A |
6101491 | Woods | Aug 2000 | A |
6108420 | Larose et al. | Aug 2000 | A |
6138271 | Keeley | Oct 2000 | A |
6154878 | Saboff | Nov 2000 | A |
6157948 | Inoue et al. | Dec 2000 | A |
6185608 | Hon et al. | Feb 2001 | B1 |
6192398 | Hunt et al. | Feb 2001 | B1 |
6192408 | Vahalia et al. | Feb 2001 | B1 |
6195694 | Chen et al. | Feb 2001 | B1 |
6219693 | Napolitano et al. | Apr 2001 | B1 |
6226665 | Deo et al. | May 2001 | B1 |
6253234 | Hunt et al. | Jun 2001 | B1 |
6275496 | Burns et al. | Aug 2001 | B1 |
6278992 | Curtis et al. | Aug 2001 | B1 |
6282712 | Davis et al. | Aug 2001 | B1 |
6298356 | Jawahar et al. | Oct 2001 | B1 |
6301605 | Napolitano et al. | Oct 2001 | B1 |
6311221 | Raz et al. | Oct 2001 | B1 |
6330561 | Cohen et al. | Dec 2001 | B1 |
6347398 | Parthasarathy et al. | Feb 2002 | B1 |
6356946 | Clegg et al. | Mar 2002 | B1 |
6370686 | Delo et al. | Apr 2002 | B1 |
6374402 | Schmeidler et al. | Apr 2002 | B1 |
6418554 | Delo et al. | Jul 2002 | B1 |
6418555 | Mohammed | Jul 2002 | B2 |
6449688 | Peters et al. | Sep 2002 | B1 |
6453334 | Vinson et al. | Sep 2002 | B1 |
6457076 | Cheng et al. | Sep 2002 | B1 |
6510458 | Berstis et al. | Jan 2003 | B1 |
6510462 | Blumenau | Jan 2003 | B2 |
6510466 | Cox et al. | Jan 2003 | B1 |
6574618 | Eylon et al. | Jun 2003 | B2 |
6584507 | Bradley et al. | Jun 2003 | B1 |
6587857 | Carothers et al. | Jul 2003 | B1 |
6598125 | Romm | Jul 2003 | B2 |
6601103 | Goldschmidt Iki et al. | Jul 2003 | B1 |
6601110 | Marsland | Jul 2003 | B2 |
6609114 | Gressel et al. | Aug 2003 | B1 |
6622137 | Ravid et al. | Sep 2003 | B1 |
6622171 | Gupta et al. | Sep 2003 | B2 |
6636961 | Braun et al. | Oct 2003 | B1 |
6687745 | Franco et al. | Feb 2004 | B1 |
6694510 | Williems | Feb 2004 | B1 |
6697869 | Mallart et al. | Feb 2004 | B1 |
6711619 | Chanderamohan et al. | Mar 2004 | B1 |
6735631 | Oekrke et al. | May 2004 | B1 |
6757708 | Craig et al. | Jun 2004 | B1 |
6757894 | Eylon et al. | Jun 2004 | B2 |
6763370 | Schmeidler et al. | Jul 2004 | B1 |
6772209 | Chernock et al. | Aug 2004 | B1 |
6779179 | Romm et al. | Aug 2004 | B1 |
6785768 | Peters et al. | Aug 2004 | B2 |
6810525 | Safadi et al. | Oct 2004 | B1 |
6816909 | Chang et al. | Nov 2004 | B1 |
6832222 | Zimowski | Dec 2004 | B1 |
6836794 | Lucowsky et al. | Dec 2004 | B1 |
6854009 | Hughes | Feb 2005 | B1 |
6918113 | Patel et al. | Jul 2005 | B2 |
6925495 | Hegde et al. | Aug 2005 | B2 |
6938096 | Greschler et al. | Aug 2005 | B1 |
6959320 | Shah et al. | Oct 2005 | B2 |
7028305 | Schaefer et al. | Apr 2006 | B2 |
7043524 | Shah et al. | May 2006 | B2 |
7051315 | Artiz et al. | May 2006 | B2 |
7062567 | Benitez et al. | Jun 2006 | B2 |
20010037399 | Eylon et al. | Nov 2001 | A1 |
20010037400 | Raz et al. | Nov 2001 | A1 |
20010044850 | Raz et al. | Nov 2001 | A1 |
20020019864 | Mayer | Feb 2002 | A1 |
20020042833 | Hendler et al. | Apr 2002 | A1 |
20020078170 | Brewer et al. | Jun 2002 | A1 |
20020078203 | Greschler et al. | Jun 2002 | A1 |
20020083183 | Pujare et al. | Jun 2002 | A1 |
20020083187 | Sim et al. | Jun 2002 | A1 |
20020087717 | Artzi et al. | Jul 2002 | A1 |
20020087883 | Wohlgemuth et al. | Jul 2002 | A1 |
20020091763 | Shah et al. | Jul 2002 | A1 |
20020138640 | Raz et al. | Sep 2002 | A1 |
20020156911 | Croman et al. | Oct 2002 | A1 |
20020157089 | Patel et al. | Oct 2002 | A1 |
20020161908 | Benitez et al. | Oct 2002 | A1 |
20020174215 | Schaefer | Nov 2002 | A1 |
20030004882 | Holler et al. | Jan 2003 | A1 |
20030009538 | Shah et al. | Jan 2003 | A1 |
20030056112 | Vinson et al. | Mar 2003 | A1 |
20030140160 | Raz et al. | Jul 2003 | A1 |
20040230971 | Rachman et al. | Nov 2004 | A1 |
20040268361 | Schaefer | Dec 2004 | A1 |
20050010670 | Greschler et al. | Jan 2005 | A1 |
20050193139 | Vinson et al. | Sep 2005 | A1 |
20060048136 | De Vries et al. | Mar 2006 | A1 |
20060106770 | De Vries et al. | May 2006 | A1 |
20060123185 | De Vries et al. | Jun 2006 | A1 |
20060136389 | Cover et al. | Jun 2006 | A1 |
Number | Date | Country |
---|---|---|
WO 20060022745 | Mar 2006 | WO |
WO 2006047133 | May 2006 | WO |
WO 2006055445 | May 2006 | WO |
Number | Date | Country | |
---|---|---|---|
60256082 | Dec 2000 | US |