There are two main types of applications available today. A first type of application is a client-side application. The client-side application resides on a client computer and is available for use whenever the client computer is operational. This client-side application undergoes a distinct installation state before it is available for use. Typically, the installation state displays some form of a progress user-interface, such as a thermometer, during installation. During the installation state, the client-side application is not available for use. The client-side application must be fully installed before a user can use the application.
The other type of application is commonly referred to as a Web application or Web app. The Web app is stored on a Web server. The Web app is commonly deployed as multiple Web pages accessible over the Internet. A conventional Web app includes multiple Web pages representing markup-based documents. The Web app may also include scripts or other resources that are accessed through the Web pages. For most Web apps, the multiple Web pages and resources are hyperlinked together in such a way that the “business logic” of the Web app is distributed over the multiple resources. Each page is responsible for a portion of the overall business logic, and, by navigating from page to page, the user can experience the entire Web app. For the purpose of this document, the term “navigating” refers to causing a hosting environment to retrieve a resource associated with the Web app, such as by activating a hyperlink. Navigating to a resource typically involves navigating away from another resource where the navigated-to resource is the one being retrieved by the hosting environment. Web apps do not require an installation phase and are not available once the client computer is disconnected from the Web server.
Both of these methods for interacting with a software application have advantages and disadvantages, neither one is ideal.
The present invention provides a system and method for progressively installing a software application so that a user may begin interacting with the application immediately. Then, while interacting with the application, the application may be progressively installed on the user's computer, and if desired, become available offline at a later time. The progressive installation includes three states: a startup state, a demand state, and a final state. None of the states require a dedicated installation phase in which the application is unavailable for use. Instead, the progressive installation of the present invention blends the two forms of application installation in a manner such that the Web app may be interacted with as a conventional Web app, and then smoothly transitioned to a client-side application without impacting the user's interaction with the application.
The invention provides a mechanism for progressively installing an application. The progressive installation transitions through three states: a start-up state, a demand state, and an install state. During the start-up state, a subset of components associated with the application is downloaded and stored in a local data store. The subset is sufficient to allow execution of the application in a manner similar to a web application. During the demand state, additional resource associated with the application are downloaded upon activation of a hyperlink on a Web page associated with the application. The additional resources that are on demand resources are stored in the local data store. The additional resources that are online resources are stored in a transient cache. During the installed state, the application executes in a manner similar to a client-side application. Transitioning from the demand state to the installed state occurs without impacting a user's interaction with the application. The transition may occur autonomously based on the number of additional resources stored in the local data store or upon an external trigger. During the transition, additional resources that have not been previously downloaded are downloaded to the local data store. In addition, state derived during the demand state is saved with the application, which allows the application to resume from the same state when executed offline.
Briefly, the present invention provides a system and method for progressively installing a software application so that a user may begin interacting with the application immediately. Then, while interacting with the application, the application may be progressively installed on the user's computer, and, if desired, installed in a manner such that the application is available offline at a later time. The progressive installation includes three states: a startup state, a demand state, and a final state. None of the states require a dedicated installation phase in which the application is unavailable for use. Instead, the progressive installation of the present invention blends the two forms of application installation in a manner such that the Web app may be interacted with as a conventional Web app, and then provides a mechanism for smoothly transitioning the application to an offline application without impacting the user's interaction with the application.
Computing device 100 may have additional features or functionality. For example, computing device 100 may also include additional data storage devices (removable and/or non-removable) such as, for example, magnetic disks, optical disks, or tape. Such additional storage is illustrated in
Computing device 100 may also contain communication connections 116 that allow the device to communicate with other computing devices 118, such as over a network. Communication connections 116 is one example of communication media. Communication media may typically be embodied by computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. The term computer readable media as used herein includes both storage media and communication media.
The server 202 is a computing device that is configured to make resources available to other computing devices connected to the network 205. The server 202 may include Web serving software to serve Internet related resources, such as HyperText Markup Language (HTML) documents and the like. The server 202 includes local storage in the form of a server data store 210. On the server data store 210 are at least some of the resources made available by the server 202 over the network 205. In particular, a deployment manifest 212 is stored on the server data store 210, as well as an application package 214 and additional application resources 216, which are described in detail later in conjunction with
The client computer 220 is a computing device configured to execute locally-running applications as well as connect to other computers over the network 205. The client computer 220 also includes local storage in the form of a client data store 228. On the client data store 228 resides an application store 230 and a transient cache 232. In one embodiment, each application executing on client computer 220 has an associated application store 230. The client computer 220 also includes other applications for interacting with other computers over the network. One such application is host software 222, such as Internet browsing software (hereinafter referred to as browser 222). The browser 222 communicates with an application package handler 224 and a resource loader 226. The application package handler 224 is registered so that when the browser 222 encounters an application package, such as application package 214, the browser knows to call the application package handler 224. The application package handler 224 then processes the application package 214. The application package 214 contains the minimal amount of information to start execution of the associated application on the client computer 220. The format for the application package 214 may be an executable or other packaging type format. In one embodiment, the application package handler 224 may be configured to decipher the format of the application package in order to obtain the relevant information. The browser 222 also communicates with the resource loader 226 when the client computer requests additional resources from the server 202, such as additional application resources 216. The processing performed by browser 222, application package handler 224, and resource loader 226 will be described in greater detail below in conjunction with flow diagrams
Briefly stated, a user of the client computer 220 may connect to the server 202 in any conventional manner. The server 202 presents a Web page or some other resource that makes available files that reside on the server data store 210. In response to a selection of a link or the like by the user, the server 202 navigates to the deployment manifest 212, which identifies the application package 214 associated with the requested application. As will be described in greater detail below, the application package 214 contains the minimum amount of code necessary to start the application. The application package 214 is brought down to the client computer 220 from the server 202.
It will be appreciated that the Web page 310 may be provided over the Internet, a corporate intranet, or any other network-accessible location. Activating the hyperlink 360 causes the application package 214 to be pulled down from the server. It should be appreciated that the Web page 310 is only one way that the user may invoke the application. For instance, a link to the application package 214 may be provided in an e-mail message, or the like.
Now, assuming that the application has not been installed locally, the progressive installation proceeds to the start-up state 404. Briefly, described in detail in conjunction with
From the demand state 406, the user may proceed to the exit state 408, foregoing the installation of the application locally. This may occur when the user closes the browser. Once the user transitions from the demand state 406 to the exit state 408, the downloaded components of the application may be deleted. Therefore, the client computer is in the same state as before the user invoked the application. The user may then later invoke the remote application again. The progressive installation will proceed again through the startup state and demand state. Thus, the user may use the application again without committing to installing the application. From the demand state 406, the progressive installation may transition to the installed state 410. The transition may be user-initiated based on a purchasing decision, a request for elevated permission (e.g., trust elevation), or may be performed autonomous by the operating system, such as when a pre-determined number of resources have already been installed on the client computer. The transition from the demand state to the installed state does not impact the user's interaction with the application. This transition is described below in conjunction with
Thus, the progressive installation in accordance with the present invention allows a user to begin interacting with an application as soon as it is invoked. Pieces of the application are downloaded as the user interacts without impacting the user. At no time, does the user need to wait for a dedicated installation.
Returning to
At block 504, navigation to the entry point occurs. In one embodiment, the entry point may be an application package (e.g., application package 214 shown in
At block 506, the host is initiated. In one embodiment, the host is a web browser. In another embodiment, in which the application is being progressively installed from the client computer, the host may be a standalone host. The standalone host will then function in the same manner as described below using the embodiment in which the host is a web browser. The application package handler is registered for the file type associated with the application package. Therefore, when the browser receives the application package, the application package handler may initiate the progressive installation in accordance with the present invention. In one embodiment, the application package handler may be a mime handler that is registered for the file type associated with the application package 214.
At block 508, the minimum amount of code necessary to run the application is downloaded. For the embodiment using the application package 214, this includes downloading the application package 214. As mentioned above, the browser will call the application package handler to process the application package 214.
At block 510, the resource loader is registered and associated with the application. The resource loader is responsible for loading application resources as they are needed. In one embodiment, the resource loader may be a pluggable protocol that knows how to load resources “in the context” of an application.
At block 512, an application domain for the application is created. At block 514, the user code that constitutes the application is executed. In one embodiment, the execution of the application creates an application object. Code within the application package that defines a class is executed to create the application object. The application object has a unique identity. In addition, the application object includes a state. The state will be continuously updated during the demand state. The state includes information related to the user's interaction with the application. This state information will allow the application to smoothly transition from a web application to a client application.
Processing in the start-up state is complete. The progressive installation will then proceed to the demand state. As shown in
At block 602, a request is received. Typically, the request occurs whenever a user selects a hyperlink on one of the web pages associated with the application. Processing continues to decision block 604.
At decision block 604, a determination is made whether the request is for a resource. If the request is not for a resource, processing proceeds to the end. On the other hand, when the request is for a resource, processing continues to decision block 606.
At decision block 606, a determination is made whether the requested resource is available locally. If the resource is available locally, the local copy of the resource is loaded for use and the process proceeds to the end. Depending on the type of resource, the local copy may either be in the application store or in the transient cache. If the resource is not available locally, processing continues at decision block 610.
At decision block 610 a determination is made whether the requested resource is an on demand resource. If the requested resource is an on demand resource, the resource is loaded via http and cached in the local application store. For example, in
At decision block 620, a determination is made whether the resource is an online resource. If the resource is an online resource, processing continues to block 622 where the online resource is loaded via http. At block 624, the online resource is cached in the transport cache 232. For example, in
Thus, as one will note, during the demand state, additional resources are downloaded and are populated in the per application store. Because these resources that are download are the same resources that are needed to run the application offline, as will be described below, the application store, along with the application object, allow the present invention to smoothly transition from a web application to a client-side application without impacting the user's interaction with the application. Thus, instead of having two different types of application, (i.e., a client-side application and a web application), one type of application may be used for both purposes. Using the present invention, the one type of application smoothly transitions from one purpose to the other purpose when desired.
At block 702, the remaining on demand resources are downloaded via http. Processing continues at block 704. At block 704, these remaining on demand resources are stored in the application store. This occurs while the user is still interacting with the application. For example,
At block 706, a copy of online resources is stored in the application store 230. Therefore, if the copy in the transient cache is removed, a copy of the online resource still exists. For example, referring to
At block 708, activation information is recorded in the operating system. For example, a shortcut may be added to the start menu. The activation information allows the application to be invoked using traditional mechanisms the next time the application is invoked locally. Processing continues at block 710.
At block 710, impression information is recorded in the operating system. The impression information describes the manner in which the application interacts with the operating system, such as file associations. In addition, the impression information describes how the application may be changed/removed from the program entries. Referring to
At mentioned above, at this point, the application is available offline. As one notes after reading the above description, the user did not have to wait for the installation of the application. Information generated during the demand state is transitioned to the installed state. Thus, through the use of the application identity and state information that was stored while the user was interacting with the application, the application may smoothly transition to the install state.
The above specification, examples and data provide a complete description of the manufacture and use of the composition of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims hereinafter appended.
Appendix A. Sample Application Manifest
Number | Name | Date | Kind |
---|---|---|---|
5388211 | Hornbuckle | Feb 1995 | A |
5835777 | Staelin | Nov 1998 | A |
5960204 | Yinger et al. | Sep 1999 | A |
5995756 | Herrmann | Nov 1999 | A |
6157948 | Inoue et al. | Dec 2000 | A |
6226747 | Larsson et al. | May 2001 | B1 |
6272556 | Gish | Aug 2001 | B1 |
6282711 | Halpern et al. | Aug 2001 | B1 |
6289512 | Edwards et al. | Sep 2001 | B1 |
6347398 | Parthasarathy et al. | Feb 2002 | B1 |
6381742 | Forbes et al. | Apr 2002 | B2 |
6496979 | Chen et al. | Dec 2002 | B1 |
6546554 | Schmidt et al. | Apr 2003 | B1 |
6574618 | Eylon et al. | Jun 2003 | B2 |
6654888 | Cooper et al. | Nov 2003 | B1 |
6698018 | Zimniewicz et al. | Feb 2004 | B1 |
6715144 | Daynes et al. | Mar 2004 | B2 |
6918113 | Patel et al. | Jul 2005 | B2 |
6931546 | Kouznetsov et al. | Aug 2005 | B1 |
6959320 | Shah et al. | Oct 2005 | B2 |
7028296 | Irfan et al. | Apr 2006 | B2 |
7062567 | Benitez et al. | Jun 2006 | B2 |
7069293 | Cox et al. | Jun 2006 | B2 |
7111055 | Falkner | Sep 2006 | B2 |
20020032763 | Cox et al. | Mar 2002 | A1 |
20020104015 | Barzilai et al. | Aug 2002 | A1 |
20020188941 | Cicciarelli et al. | Dec 2002 | A1 |
20030084439 | Perkins et al. | May 2003 | A1 |
20030145316 | McKinlay et al. | Jul 2003 | A1 |
20030204843 | Barmettler et al. | Oct 2003 | A1 |
20030212990 | Brodkorb et al. | Nov 2003 | A1 |
20040003390 | Canter et al. | Jan 2004 | A1 |
Number | Date | Country |
---|---|---|
WO2005045562 | May 2005 | WO |
Number | Date | Country | |
---|---|---|---|
20040237083 A1 | Nov 2004 | US |