RELATED APPLICATIONSThe present application claims priority to U.S. Provisional Patent Application Ser. No. 60/761,674, entitled “Methods and Systems for Providing Access to a Computing Environment,” filed Jan. 24, 2006, which is incorporated herein by reference.
FIELD OF THE INVENTIONThe invention generally relates to providing access to computing environments. More particularly, the invention relates to methods and systems for incorporating remote windows from disparate remote desktop environments into a local desktop environment.
BACKGROUND INFORMATIONContemporary computer networks are characterized in that a number of computer systems communicate with other computer systems via communication links. Typically, some of the systems are client machines and other systems are server machines. A server machine may host a variety of application programs, execution of which may be requested by client machines. In some environments, a user of a client machine may view application-output data from multiple sources. These sources can include applications executing on a client machine, either in a browser or outside of the browser, applications executing on a server machine, or applications executing on a virtual machine that executes on a server machine.
Combining output data from various sources into a single display presents several challenges. Early attempts were made to cause server-based applications to write directly into local windows. Although this method can display application output from various servers on a single display, it lacks the ability to arrange the windows on the client responsive to the z-axis ordering of the windows at each individual server. Thus, if a server brings a new window to the top of its desktop, no corresponding change appears to the user at the client.
It would be desirable to provide a system capable of combining various sources of data into a single display without modification of the applications generating the output data, including enabling the deployment of legacy applications in various execution environments.
SUMMARY OF THE INVENTIONIn one aspect, problems of current desktop deployment strategies are addressed. An array of inexpensive physical machines may be partitioned into multiple virtual machines, creating a virtual PC for each user. The physical machines may be servers such as rack-mount servers, blade servers, or stand-alone servers. The physical machines may also be workstations or workstation blades or personal computers. A policy-based dynamic deployment system provisions the virtual machines and associates the virtual machine with an execution machine (i.e., a physical machine) and a user. Centralized hosting provides the manageability of server-based computing while the dedicated environment provides the flexibility and compatibility with applications that a desktop PC enables. However, the system has a much lower total cost of ownership—because the system is implemented in software, rather than being dependent on hardware, the system has a much lower total cost of ownership.
In another aspect, the hardware lifecycle may be extended by increasing the amount of hardware resources assigned to virtual machines as computational demands increase over time. Additionally, the use of virtualization eases the difficulty in dealing with multiple OS images.
In one embodiment, machines are configured to run multiple copies of one or more operating systems (e.g. different versions/releases of WINDOWS from Microsoft Corporation). Users transmit requests for access to computing resources to the deployment system, which may use a configuration policy to decide how (with what physical and/or virtual resources) and where (on which physical machine in the machine farm and on which virtual machine) to provide access to the requested computing resource. The virtual machine can be created on demand, and the requested software resource may be downloaded and installed in the virtual machine as required. Alternatively, the virtual machine may be pre-configured with a plurality of software and/or virtual hardware resources to provide a particular computing environment to the user. The user request is directed to the selected, configured virtual machine and a remote display connection is established between the virtual machine and a remote display client on the user's access device, which will be referred to generally as a “client machine.” Devices such as CD-ROM drives, floppy drives, USB drives and other similar devices that are connected to the client machine are connected and remotely accessible to the virtual machine, thereby allowing the use of these devices in a manner similar to a standard desktop computer.
A deployment system may manage a pool of virtual machines (a machine farm) to which new virtual machines can be added on demand. Alternatively, a plurality of software modules, including a session management component and a virtual machine management component may provide management functionality. Executing virtual machines may be migrated from one physical machine to another, under control of the deployment system, to provide load balancing or to facilitate hardware maintenance. Inactive virtual machines may be suspended to free physical computing resources. Active virtual machines may be migrated from one physical machine to another to consolidate them onto a smaller number of physical machines to allow the unused physical machines to be shutdown to save power during off-peak periods or to free the physical resource to be re-assigned for a different purpose e.g. process web requests. Suspended virtual machines may be resumed prior to users requiring access. This can be done manually or automatically via policies or preferences or through a learning process by monitoring a user's behavior over time.
Performance requirements of the requested resource may be considered when allocating computing resources to virtual machines. For example, a financial analysis package may require twice as many CPU resources as a generic productivity application, such as those included in MICROSOFT OFFICE, manufactured by Microsoft Corporation of Redmond, Wash. A virtual machine providing the financial analysis package may execute on a physical machine determined to have sufficient spare computational capacity, or existing virtual machines may be relocated to other available physical machines to ensure sufficient available capacity on a particular physical machine.
Each user is provided a separate virtual machine environment, which provides increased flexibility in that each user may run any version or configuration of an operating system independently of other users and also allows users to run potentially dangerous or destabilizing applications with little risk of affecting other users. This is particularly useful for developers/testers/information technology personnel who frequently need to re-install and modify the operating system and run potentially destabilizing applications.
Since sharing computing resources and CPU scheduling occurs outside of the virtual machine environment, users can run computing-resource intensive resources with no risk of affecting other users. Virtual machines also provide increased security isolation between users. Because each user is running a separate copy of the OS, there is much less chance of security breaches and virus infections over the between-users boundaries than in the shared OS case.
A solution is also provided for problems that arise from a situation where, in a hardware-based system of machines, the hardware is mixed, whether due to an initial purchasing decision or due to the acquisition of different types of physical machines over time. Even if initially all of the hardware was uniform, purchasing additional hardware to replace failing modules and increasing the capacity typically leads to non-uniform hardware throughout a machine farm. Even if all hardware is purchased from the same vendor, it is likely that the hardware purchased later will use different chipsets and components, and will require different drivers. Non-uniform hardware has traditionally translated into the need to maintain multiple versions of the operating system images (which means higher costs) and limits flexibility of moving users between machines—because the operating system image may be incompatible—which also translates into higher cost. Virtual machines allow efficient use of the same operating system image even in a hardware farm that includes heterogeneous machines. The use of the same operating system image helps to significantly reduce the management cost.
Adding remote display capability (e.g. presentation layer protocols, such as ICA, RDP, or X11) to virtualization techniques allows virtualization to be used for interactive computing. Hosting multiple virtual machines on an execution machine allows better utilization of the available physical computing resources (e.g.: space, power, processing power, processing capacity, RAM, bandwidth, etc.) thereby lowering costs. The use of virtualization also allows hardware to be updated and maintained independently of OS version and specific device drivers hosted in the operating systems or virtual machines. Additionally, virtual machines enhance system security by isolating computing environments from each other.
In still another aspect, a system for incorporating remote windows from disparate remote desktop environments into a local desktop environment comprises a first virtual channel coupled to a first remote desktop environment provided by a native operating system, a second virtual channel coupled to the first remote desktop environment, a third virtual coupled to a second remote desktop environment provided by a virtual machine, a fourth virtual channel coupled to the second remote desktop environment, and a local agent coupled to the remote desktop environments via the first, second, third and fourth virtual channels. The first virtual channel conveys graphical data associated with a remote window provided by the first remote desktop environment. The second virtual channel conveys window attribute data associated with the remote window provided by the first remote desktop environment. The third virtual channel conveys graphical data associated with a remote window provided by the second remote desktop environment. The fourth virtual channel conveys window attribute data associated with the remote window provided by the second remote desktop environment. The local agent directs the formation of a first local window in the local desktop environment corresponding to the remote window provided by the first remote desktop environment and the formation of a second local window in the local desktop environment corresponding to the remote window provided by the second remote desktop environment, the first local window displaying the graphical data conveyed by the first virtual channel in accordance with the window attribute data conveyed by the second virtual channel and the second local window displaying the graphical data conveyed by the third virtual channel in accordance with the window attribute data conveyed by the fourth virtual channel.
In one embodiment, the local agent forms and maintains a combined windows list representing a modifiable z-order of a window in the local desktop environment. In another embodiment, the window attribute data associated with the remote windows and conveyed by the second and fourth virtual channels includes the size and z-order of the remote windows. In still another embodiment, a local operating system forms the local desktop environment. In yet another aspect, the local agent detects an attribute change in one of the first local window and the second local window, wherein the local agent transmits a message to one of the first remote desktop environment and the second remote desktop environment indicative of the attribute change.
In yet another aspect, a method of incorporating remote windows from disparate remote desktop environments into a local desktop environment includes the step of receiving graphical data associated with a remote window provided by a first remote desktop environment provided by a native operating system, the graphical data received via a first virtual channel coupled to the first remote desktop environment. Window attribute data associated with the remote window provided by the first remote desktop environment is received via a second virtual channel coupled to the first remote desktop environment. Graphical data associated with a remote window provided by a second remote desktop environment provided by a virtual machine is received, the graphical data received via a third virtual channel coupled to the second remote desktop environment. Window attribute data associated with the second remote window provided by the second remote desktop environment is received via a fourth virtual channel coupled to the second remote desktop environment. A first window displaying the graphical data received from the first virtual channel in accordance with the window attribute data received from the second virtual channel is formed in the local desktop environment. A second window is formed in the local desktop environment, the second window displaying the graphical data received from the third virtual channel in accordance with the window attribute data received from the fourth virtual channel.
In one embodiment, a combined windows list storing at least some of the window attribute data is formed. In another embodiment, an attribute change in one of the first local window and the second local window is detected and a message is transmitted to one of the first remote desktop environment and the second desktop environment indicative of the detected attribute change. In another embodiment, the local windows exhibit window attribute data substantially similar relative to the local desktop environment as the window attribute data of the remote windows relative to the remote desktop environments.
In one aspect, a system for incorporating remote windows from remote desktop environments into a local desktop environment comprises a first virtual channel coupled to a remote desktop environment provided by a virtual machine, a second virtual channel coupled to the remote desktop environment, and a local agent coupled to the remote desktop environment via the first and second virtual channels. The first virtual channel conveys graphical data associated with a remote window provided by the remote desktop environment. The second virtual channel conveys window attribute data associated with the remote window provided by the remote desktop environment. The local agent directs the formation of a local window in the local desktop environment corresponding to the remote window provided by the remote desktop environment, the first local window displaying the graphical data conveyed by the first virtual channel in accordance with the window attribute data conveyed by the second virtual channel.
In one embodiment, the local agent forms and maintains a combined windows list representing a modifiable z-order of the corresponding window in the local desktop environment. In another embodiment, the window attribute data associated with the remote windows and conveyed by the second virtual channel includes the size and z-order of the remote window. In still another embodiment, a local operating system forms the local desktop environment, the local agent periodically polling the local operating system to detect an attribute change in the local window, wherein the local agent transmits a message to the remote desktop environment indicative of the attribute change. In yet another embodiment, the corresponding windows exhibit window attribute data substantially similar relative to the local desktop environment as the window attribute data of the remote window relative to the remote desktop environment.
In one embodiment, the local desktop environment is coupled with a plurality of remote desktop environments via a plurality of communications links, the communication links including first and second virtual channels conveying graphical and window attribute data associated with remote windows from the plurality of remote desktop environments to the local agent, wherein the local agent forms corresponding windows in the local desktop environment corresponding to each of the plurality of remote windows.
In another aspect, a method of incorporating remote windows from remote desktop environments into a local desktop environment includes the step of receiving graphical data associated with a remote window provided by a remote desktop environment provided by a virtual machine, the graphical data received via a first virtual channel coupled to the remote desktop environment. A first window is formed in the local desktop environment displaying the graphical data received from the first virtual channel in accordance with the window attribute data received from the second virtual channel.
In one embodiment, a combined windows list storing at least some of the window attribute data is formed. In another embodiment, a local operating system associated with the local desktop environment is polled to detect an attribute change in the local window and a message is transmitted to the remote desktop environment indicative of the detected attribute change. In still another embodiment, the local window exhibits window attribute data substantially similar relative to the local desktop environment as the window attribute data of the remote window relative to the remote desktop environment.
BRIEF DESCRIPTION OF THE DRAWINGSThese and other aspects of this invention will be readily apparent from the detailed description below and the appended drawings, which are meant to illustrate and not to limit the invention, and in which:
FIG. 1 is a block diagram of one embodiment of an environment in which a client machine accesses a computing resource provided by a remote machine;
FIGS. 1A and 1B are block diagrams depicting embodiments of typical computers useful in embodiments with remote machines or client machines;
FIG. 2A is a block diagram of a system for providing access to a resource;
FIG. 2B is a block diagram of one embodiment of a system in which a client machine can initiate execution of an application program for determining the resource neighborhood of that client machine;
FIG. 2C is a block diagram of an embodiment in which a client machine uses a web browser application to determine its resource neighborhood;
FIGS. 3A,3B, and3C are block diagrams of embodiments of systems of communication among a client machine and multiple remote machines;
FIG. 3D is a block diagram of one embodiment of a system in which a client machine can access a resource from a resource neighborhood web page displayed at that client machine;
FIG. 3E is a block diagram of one embodiment of a system in which a remote machine acts as an intermediary for a machine farm;
FIG. 4 is a block diagram of one embodiment of a resource neighborhood application in which a client machine is in communication with one of the remote machines;
FIG. 5 is a block diagram of a computing embodiment in which a client machine is in communication with a remote machine having an installed resource neighborhood application program of the invention;
FIG. 6A is a screen shot of an embodiment of a display of a client machine after a resource neighborhood application program is executed;
FIG. 6B is a screen shot of another embodiment of a display screen of a client machine after the resource neighborhood application program is executed;
FIG. 7A is a block diagram of an embodiment of a network providing policy-based access to application programs for a machine;
FIG. 7B is a block diagram depicting a more detailed embodiment of a policy engine;
FIG. 8 is a flowchart depicting one embodiment of a process for providing access to a resource;
FIG. 9 is a flow diagram depicting one embodiment of a process for electing a management node;
FIG. 10 is a flow diagram depicting one embodiment of a process to update information collected by the management node;
FIG. 11 is a block diagram depicting an embodiment of a machine farm including first and second network management processes;
FIG. 12 is a block diagram depicting one embodiment of a virtual machine management component;
FIG. 13 is a block diagram depicting one embodiment of a session management component;
FIG. 14 is a block diagram depicting one embodiment of a system in which a drive associated with theclient machine10 is made available to a computing environment;
FIG. 15A is a block diagram depicting one embodiment of a client machine supporting multiple client machine display devices;
FIG. 15B is a block diagram depicting one embodiment of a system for supporting multiple client machine display devicesFIG. 15C is a block diagram depicting one embodiment of a session login mechanism providing support for multiple client machine display devices;
FIG. 16A is a flow diagram depicting one embodiment of the steps to be taken to provide a desired display layout to a client machine having multiple display devices;
FIG. 16B is a flow diagram depicting one embodiment of a process to modify a window message;
FIG. 16C is a flow diagram depicting one embodiment of the steps taken to associate a display layout with a client machine;
FIG. 16D is a flow diagram depicting one embodiment of the steps taken to change a desired display layout for a client machine;
FIG. 17 is a block diagram depicting one embodiment of a system in which a remote machine authenticates the user of a client machine;
FIG. 18 is a flow diagram depicting one embodiment of the steps taken to access a plurality of files comprising an application program;
FIG. 19 is a block diagram depicting one embodiment of aclient machine10 including an application streaming client, a streaming service and an isolation environment;
FIG. 20 is a flow diagram depicting one embodiment of steps taken by a client machine to execute an application;
FIG. 21 is a block diagram depicts one embodiment of a plurality of application files;
FIG. 22A is a flow diagram depicting one embodiment of the steps taken to enable transparent distributed program execution on a remote machine through the selection of graphical indicia representative of a data file located on the client machine;
FIG. 22B is a flow diagram depicting one embodiment of the steps taken by a remote machine to enable transparent distributed program execution on a remote machine through the selection of graphical indicia representative of a data file located on the client machine;
FIG. 23 is a flow diagram depicting another embodiment of the steps taken to enable transparent distributed program execution on a client machine through the selection of graphical indicia representative of a data file located on a remote machine;
FIG. 24 is a flow diagram depicting one embodiment of the steps taken to negotiate the protocol for a connection between a client machine and a remote machine;
FIG. 25 is a block diagram depicting an embodiment of a remote machine and a client machine establishing a protocol stack for communication;
FIG. 26 is a block diagram depicting one embodiment of a client machine architecture;
FIG. 27 is a block diagram depicting one embodiment of communication between a client machine and a machine farm;
FIG. 28 is a block diagram depicting one embodiment of a client machine architecture;
FIG. 29 is a flow diagram depicting one embodiment of the steps taken to display application output in a web page;
FIG. 30 is a flow diagram depicting one embodiment of the steps taken link to a virtual machine identified by a hyperlink configuration file;
FIG. 31 is a block diagram depicting an embodiment of a system architecture in which a multiplexer is used to transmit data to more than one client machine;
FIG. 32 is a block diagram depicting another embodiment of a system architecture in which a multiplexer is used to transmit data to more than one client machine;
FIG. 33 is a block diagram depicting one embodiment of an architecture for displaying application output in a web page;
FIG. 34 is a block diagram depicting another embodiment of an architecture for displaying application output in a web page;
FIG. 35 is a block diagram depicting another embodiment of an architecture for displaying application output in a web page;
FIG. 36 is a block diagram depicting another embodiment of an architecture for displaying application output in a web page;
FIG. 37 is a block diagram depicting one embodiment of a client machine receiving window attribute data via a virtual channel;
FIG. 38 is a block diagram depicting a client machine connected to more than one remote machine;
FIG. 39 is a flow diagram depicting one embodiment of the steps taken to detect and transmit server-initiated display changes;
FIG. 40 is a flow diagram depicting one embodiment of the steps taken to detect and transmit client-initiated display changes;
FIG. 41 is a flow diagram depicting one embodiment for enabling transmission of seamless windows between a client machine and a remote machine;
FIG. 42 is a block diagram depicting one embodiment of an agent;
FIG. 43 is a block diagram depicting one embodiment of a system for enabling seamless windowing mode between a client machine and remote computing environments;
FIG. 44 is a flow diagram depicting one embodiment of the steps taken in a method of receiving window attribute data and graphical data associated with remote windows from virtualized operating systems and from native operating systems;
FIG. 45 is a block diagram of a system for providing a client with a reliable connection to a host service according to an embodiment of the invention;
FIG. 46 is a block diagram of a system for providing a client with a reliable connection to a host service according to another embodiment of the invention;
FIG. 47 depicts communications occurring over a network according to an embodiment of the invention;
FIG. 48 depicts communications occurring over a network according to another embodiment of the invention;
FIG. 49 depicts a process for encapsulating a plurality of secondary protocols within a first protocol for communication over a network according to an embodiment of the invention;
FIG. 50 is a block diagram of an embodiment of a computer system to maintain authentication credentials in accordance with the invention;
FIG. 51 is a flow diagram of the steps followed in an embodiment of the computer system ofFIG. 5 to maintain authentication credentials during a first communication session in accordance with the invention;
FIG. 52 is a flow diagram of the steps followed in an embodiment of the computer system ofFIG. 50 to maintain authentication credentials during a second communication session following the termination of the first communication session ofFIG. 53A in accordance with the invention;
FIG. 53 is a block diagram of an embodiment of a computer system to maintain authentication credentials in accordance with another embodiment of the invention;
FIG. 54 is a flow diagram of the steps followed in an embodiment of the computer system ofFIG. 53 to maintain authentication credentials during a first communication session in accordance with the invention;
FIG. 55 is a flow diagram of the steps followed in an embodiment of the computer system ofFIG. 53 to maintain authentication credentials during a second communication session following the termination of the first communication session ofFIG. 53 in accordance with the invention;
FIG. 56 is a flow diagram of the steps followed in an embodiment of the computer system ofFIG. 53 to maintain authentication credentials during a second communication session following the termination of a second communication channel of the first communication session ofFIG. 53 in accordance with the invention;
FIG. 57 is a block diagram of a system to maintain authentication credentials and provide a client with a reliable connection to a host service according to an embodiment of the invention;
FIG. 58 is a block diagram of a system to maintain authentication credentials and provide a client with a reliable connection to a host service according to another embodiment of the invention;
FIG. 59 is a block diagram of a system to maintain authentication credentials and provide a client with a reliable connection to a host service according to another embodiment of the invention;
FIG. 60 is a block diagram of a system to maintain authentication credentials and provide a client with a reliable connection to a host service according to another embodiment of the invention;
FIG. 61 is a block diagram of a system for providing a client with a reliable connection to a host service and further including components for reconnecting the client to a host service according to an embodiment of the invention;
FIG. 62 is a block diagram of an embodiment of a system for providing a client with a reliable connection to a host service and further including components for reconnecting the client to a host service;
FIG. 63 is a block diagram of an embodiment ofFIG. 61 further including components for initially connecting the client to a host service;
FIG. 64 is a block diagram of the system ofFIG. 62 further including components for initially connecting the client to a host service and to maintain authentication credential according to an embodiment of the invention;
FIG. 65 is a flow diagram of a method for network communications according to an embodiment of the invention;
FIG. 66 is a flow diagram of a method for reconnecting the client to the host services;
FIGS. 67-69 are flow diagrams of a method for connecting a client to a plurality of host services according to an embodiment of the invention;
FIG. 70 is a flow diagram of a method for providing a client with a reliable connection to host services and for reconnecting the client to the host services according to an embodiment of the invention;
FIGS. 71-72 are flow diagrams of a method for reconnecting a client to host services according to an embodiment of the invention;
FIG. 73 is a conceptual block diagram of an embodiment of client software and server software;
FIG. 74 is a flow chart of an embodiment of a method for monitoring network performance;
FIG. 75 is a flow chart of an embodiment of a method of operation of the server software;
FIG. 76 is a flow chart of an embodiment of a method of generating sub-metrics by the client;
FIG. 77 is a flow chart of an embodiment of a method of generating sub-metrics by the client;
FIG. 78 is a flow chart of an embodiment of a method of generating sub-metrics by the server;
FIG. 79 is a schematic diagram depicting a networked client-server computing system;
FIG. 80 is a flow chart depicting a method for connecting a client machine to disconnected application sessions;
FIG. 81 is a flow chart depicting on embodiment a method for connecting the client machine to active application sessions;
FIG. 82 is a schematic diagram depicting one embodiment of a client machine in communication with several remote machines;
FIG. 83 is a flow diagram depicting one embodiment of steps taken in a method to connect a user of a client machine to a computing environment;
FIG. 84 is a flow diagram depicting an embodiment of steps taken in a method to connect a user of a client machine to a computing environment in response to selection of a graphical user interface element;
FIG. 85 is a block diagram depicting one embodiment of a remote machine able to connect the client machine to an application session;
FIG. 86 is a block diagram of an embodiment of a system for connecting a client machine to an application session responsive to application of a policy;
FIG. 87 is a flow diagram depicting the steps taken in one method to connect a client machine to an application session responsive to application of a policy;
FIG. 88 is a block diagram depicting one embodiment of a system for providing, by a virtual machine, access to a computing environment;
FIG. 89A is a block diagram depicting one embodiment of a storage device and a computing device;
FIG. 89B is a flow diagram depicting one embodiment of the steps taken in a method for providing access to a computing environment on a computing device via a storage device;
FIG. 90A is a block diagram depicting one embodiment of a mobile computing device;
FIG. 90B is a flow diagram depicting one embodiment of the steps taken in a method for providing a portable computing environment by a mobile computing device;
FIG. 91A is a block diagram of one embodiment of a mobile computing device and a computing device;
FIG. 91B is a flow diagram depicting depicts one embodiment of the steps taken in a method for providing access to a computing environment on a computing device via a mobile computing device;
FIG. 92A is a block diagram depicting one embodiment of a mobile computing device and a computing device comprising a computing environment selector;
FIG. 92B is a flow diagram depicting an embodiment of the steps taken in a method for establishing a computing environment on a computing device via a mobile computing device;
FIG. 93A is a block diagram depicting one embodiment of a mobile computing device connecting to a docking station;
FIG. 93B is a block diagram depicting one embodiment of a docking station connecting a mobile computing device and a computing device;
FIG. 93C is a block diagram depicting one embodiment of a mobile computing device and computing device having a docking mechanism;
FIG. 93D is a flow diagram depicting one embodiment of the steps taken in a method of providing to a mobile computing device one or more hardware resources;
FIG. 94A is a block diagram depicting one embodiment of a mobile computing device having a plurality of processors;
FIG. 94B is a flow diagram depicting one embodiment of the steps taken in a method for switching, by a mobile computing device, between use of multiple processors;
FIG. 95 is a block diagram depicting one embodiment of a system for providing to a first client agent, via a second client agent on a first remote machine, output data generated by a resource executing in a virtual machine provided by a second remote machine;
FIG. 96 is a block diagram depicting an embodiment of a system for providing to a first client agent, via a second client agent on a first remote machine, output data generated by a resource executing in a virtual machine provided by a second remote machine; and
FIG. 97 is a block diagram depicting one embodiment of a system for identifying, by a coordinator machine, a worker machine providing, via a virtual machine, access to a computing environment.
DETAILED DESCRIPTION OF THE INVENTIONReferring now toFIG. 1, a block diagram of one embodiment of an environment in which aclient machine10,10′ accesses a computing resource provided by a remote machine,30,30′,30″,30′″ is shown.
Aremote machine30 such asremote machine30,30′,30″, or30′″ (hereafter referred to generally as remote machine30) accepts connections from a user of aclient machine10. Although only twoclient machines10 and only fourremote machines30 are depicted in the embodiment shown inFIG. 1, it should be understood that the system may provide multiple ones of any or each of those components. For example, in one embodiment, the system may include multiple, logically-groupedremote machines30, one or more of which is available to provide aclient machine10,10′ access to computing resources. In these embodiments, the logical group of remote machines may be referred to as a “server farm” or “machine farm,” indicated inFIG. 1A asmachine farm38. In some of these embodiments, theremote machines30 may be geographically dispersed. Thus, the group ofremote machines30 logically grouped as amachine farm38 may be interconnected using a wide-area network (WAN) connection, metropolitan-area network (MAN) connection, a local area network (LAN) a storage-area network (SAN), or a public network such as the Internet. For example, amachine farm38 may includeremote machines30 physically located in geographically diverse locations around the world, including different continents, regions of a continent, countries, regions of a country, states, regions of a state, cities, regions of a city, campuses, regions of a campus, or rooms. Data transmission speeds betweenremote machines30 in themachine farm38 can be increased if theremote machines30 are connected using a local-area network (LAN) connection or some form of direct connection. Amachine farm38 may be administered as a single entity.
A centralized service may provide management formachine farm38. In some embodiments, one or moreremote machines30 elect a particularremote machine30 to provide management functionality for the farm. The electedremote machine30 may be referred to as a management server, management node, or management process. Themanagement node30 may gather and store information about a plurality ofremote machines30, respond to requests for access to resources hosted byremote machines30, and enable the establishment of connections betweenclient machines10 andremote machines30. In other embodiments, an administrator designates one or moreremote machines30 to provide management functionality formachine farm38.
Alternatively, management of themachine farm38 may be de-centralized. In some embodiments, one or moreremote machines30 comprise components, subsystems and modules to support one or more management services for themachine farm38. In one of these embodiments, one or moreremote machines30 provide functionality for management of dynamic data, including techniques for handling failover, data replication, and increasing the robustness of themachine farm38. In another of these embodiments, one or moreremote machines30 include communications capabilities to enable the one or moreremote machines30 to interact with one another to share responsibility for management tasks. Eachremote machine30 may communicate with a persistent store and, in some embodiments, with a dynamic store.
Persistent store may be physically implemented on a disk, disk farm, a redundant array of independent disks (RAID), writeable compact disc, or any other device that allows data to be read and written and that maintains written data if power is removed from the storage device. A single physical device may provide storage for a plurality of persistent stores, i.e., a single physical device may be used to provide the persistent store for more than onemachine farm38. The persistent store maintains static data associated with eachremote machine30 inmachine farm38 and global data used by allremote machines30 within themachine farm38. In one embodiment, the persistent store may maintain the server data in a Lightweight Directory Access Protocol (LDAP) data model. In other embodiments, the persistent store stores server data in an ODBC-compliant database. For the purposes of this description, the term “static data” refers to data that do not change frequently, i.e., data that change only on an hourly, daily, or weekly basis, or data that never change.
The data stored by the persistent store may be replicated for reliability purposes physically or logically. For example, physical redundancy may be provided using a set of redundant, mirrored disks, each providing a copy of the data. In other embodiments, the database itself may be replicated using standard database techniques to provide multiple copies of the database. In further embodiments, both physical and logical replication may be used concurrently.
As described above, theremote machines30 store “static” data, i.e., data that persist across client sessions, in the persistent store. Writing to the persistent store can take relatively long periods of time. To minimize accesses to the persistent store, theremote machines30 may develop a logical, common database (i.e., the dynamic store) that is accessible by all of theremote machines30 in themachine farm38 for accessing and storing some types of data. The dynamic store may be physically implemented in the local memory of a single or multipleremote machines30 in themachine farm38. The local memory can be random access memory, disk, disk farm, a redundant array of independent disks (RAID), or any other memory device that allows data to be read and written.
In general, data stored in the dynamic store are data that are typically queried or changed frequently during runtime. Examples of such data (hereafter referred to as runtime data) are the current workload level for each of theremote machines30 in themachine farm38, the status of theremote machines30 in themachine farm38, client session data, the number of virtual machines supported by aremote machine30, the identity of the operating systems supported by aremote machine30, and licensing information.
In one embodiment, the dynamic store comprises one or more tables, each of which stores records of attribute-value pairs. Any number of tables may exist, but each table stores records of only one type. Tables are, in some embodiments identified by name. Thus, in this embodiment, tworemote machines30 that use the same name to open a table refer to the same logical table.
The dynamic store (i.e., the collection of all record tables) can be embodied in various ways. In one embodiment, the dynamic store is centralized; that is, all runtime data are stored in the memory of oneremote machine30 in themachine farm38. That server operates in a manner similar to the management node described above, that is, all otherremote machines30 in themachine farm38 communicate with the server acting as the centralized data store when seeking access to that runtime data. In another embodiment, eachremote machine30 in themachine farm38 keeps a full copy of the dynamic store. Here, eachremote machine30 communicates with every otherremote machine30 to keep its copy of the dynamic store up to date.
In another embodiment, eachremote machine30 maintains its own runtime data and communicates with every otherremote machine30 when seeking to obtain runtime data from them. Thus, for example, aremote machine30 attempting to find an application program requested by theclient machine10 may communicate directly with every otherremote machine30 in themachine farm38 to find one or more servers hosting the requested application.
For machine farms38 having a large number ofremote machines30, the network traffic produced by these embodiments can become heavy. One embodiment alleviates heavy network traffic by designating a subset of theremote machines30 in amachine farm38, typically two or more, as “collector points.” Generally, a collector point is a server that collects run-time data. Each collector point stores runtime data collected from certain otherremote machines30 in themachine farm38. Eachremote machine30 in themachine farm38 is capable of operating as, and consequently is capable of being designated as, a collector point. In one embodiment, each collector point stores a copy of the entire dynamic store. In another embodiment, each collector point stores a portion of the dynamic store, i.e., it maintains runtime data of a particular data type. The type of data stored by aremote machine30 may be predetermined according to one or more criteria. For example,remote machines30 may store different types of data based on their boot order. Alternatively, the type of data stored by aremote machine30 may be configured by an administrator usingadministration tool140. In these embodiments, the dynamic store is distributed among two or moreremote machines30 in themachine farm38.
Remote machines30 not designated as collector points know theremote machines30 in amachine farm38 that are designated as collector points. Aremote machine30 not designated as a collector point communicates with a particular collector point when delivering and requesting runtime data. Consequently, collector points lighten network traffic because eachremote machine30 in themachine farm38 communicates with a single collector pointremote machine30, rather than with every otherremote machine30, when seeking to access the runtime data.
Themachine farm38 can be heterogeneous, that is, one or more of theremote machines30 can operate according to one type of operating system platform (e.g., WINDOWS NT, manufactured by Microsoft Corp. of Redmond, Wash.), while one or more of the otherremote machines30 can operate according to another type of operating system platform (e.g., Unix or Linux). Additionally, aheterogeneous machine farm38 may include one or moreremote machines30 operating according to a type of operating system, while one or more otherremote machines30 execute one or more types of hypervisors rather than operating systems. In these embodiments, hypervisors may be used to emulate virtual hardware, partition physical hardware, virtualize physical hardware, and execute virtual machines that provide access to computing environments. Hypervisors may include those manufactured by VMWare, Inc., of Palo Alto, Calif.; the Xen hypervisor, an open source product whose development is overseen by XenSource, Inc., of Palo Alto; the VirtualServer or virtual PC hypervisors provided by Microsoft or others.
In some embodiments, a hypervisor executes on a machine executing an operating system. In one of these embodiments, a machine executing an operating system and a hypervisor may be said to have a host operating system (the operating system executing on the machine), and a guest operating system (an operating system executing within a computing resource partition provided by the hypervisor). In other embodiments, a hypervisor interacts directly with hardware on a machine, instead of executing on a host operating system. In one of these embodiments, the hypervisor may be said to be executing on “bare metal,” referring to the hardware comprising the machine.
Remote machines30 may be servers, file servers, application servers, appliances, network appliances, gateways, application gateways, gateway servers, virtualization servers, deployment servers, or firewalls. Theremote machine30 may be an SSL VPN server. Theremote machine30 may be an application acceleration appliance. For embodiments in which theremote machine30 is an application acceleration appliance, theremote machine30 may provide functionality including firewall functionality, application firewall functionality, or load balancing functionality. In some embodiments, theremote machine30 comprises an appliance such as one of the line of appliances manufactured by the Citrix Application Networking Group, of San Jose, Calif., or Silver Peak Systems, Inc., of Mountain View, Calif., or of Riverbed Technology, Inc., of San Francisco, Calif., or of F5 Networks, Inc., of Seattle, Wash., or of Juniper Networks, Inc., of Sunnyvale, Calif.
In some embodiments, aremote machine30 comprises a remote authentication dial-in user service, referred to as a RADIUS server. In other embodiments,remote machines30 may have the capacity to function as a master network information node monitoring resource usage of other machines in thefarm38. In still other embodiments, aremote machine30 may provide an Active Directory.Remote machines30 may be referred to as execution machines, intermediate machines, broker machines, intermediate broker machines, or worker machines.
In one embodiment,remote machines30 in themachine farm38 may be stored in high-density racking systems, along with associated storage systems, and located in an enterprise data center. In this embodiment, consolidating the machines in this way may improve system manageability, data security, the physical security of the system, and system performance by locating machines and high performance storage systems on localized high performance networks. Centralizing the machines and storage systems and coupling them with advanced system management tools allows more efficient use of machine resources.
Theclient machines10 may also be referred to as endpoints, client nodes, clients, or local machines. In some embodiments, theclient machines10 have the capacity to function as both client machines seeking access to resources and asremote machines30 providing access to remotely hosted resources forother client machines10. In some embodiments,remote machines30 may request access to remotely-hosted resources. In one of these embodiments, theremote machines30 may be referred to asclient machines10.
In one embodiment, theclient machine10 communicates directly with one of theclient machines30 in amachine farm38. In another embodiment, theclient machine10 executes an application to communicate with theremote machine30 in amachine farm38. In yet another embodiment, theclient machine10 communicates with one of theremote machines30 via a gateway, such as an application gateway. In some embodiments, theclient machine10 communicates with theremote machine30 in themachine farm38 over acommunications link150. Over the communications link150, theclient machine10 can, for example, request access to or execution of various resources provided byremote machines30, such as applications, computing environments, virtual machines, or hypervisors hosted by or executing on theremote machines30,30′,30″, and30′″ in themachine farm38. Theclient machine10,10′ receives for display output of the results of execution of the resource or output of interaction between theclient machine10 and the applications or computing environments provided by theremote machines30. In another of these embodiments, over the communications link150, theclient machine10 can receive the output of applications executing in one or more virtual machines on aremote machine30,30′,30″, and30′″ in themachine farm38.
The communications link150 may be synchronous or asynchronous and may be a LAN connection, MAN connection, or a WAN connection. Additionally, communications link150 may be a wireless link, such as an infrared channel or satellite band. The communications link150 may use a transport layer protocol such as TCP/IP or any application layer protocol, such as the Hypertext Transfer Protocol (HTTP), Extensible Markup Language (XML), Independent Computing Architecture Protocol (ICA) manufactured by Citrix Systems, Inc. of Ft. Lauderdale, Fla., or the Remote Desktop Protocol manufactured by the Microsoft Corporation of Redmond, Wash. In one embodiment, the communications link150 uses a Wi-Fi protocol. In still another embodiment, the communications link150 uses a mobile internet protocol.
The communications link150 may provide communications functionality through a variety of connections including standard telephone lines, LAN or WAN links (e.g., T1, T3, 56 kb, X.25, SNA, DECNET), broadband connections (ISDN, Frame Relay, ATM, Gigabit Ethernet, Ethernet-over-SONET), and wireless connections or any combination thereof. Connections can be established using a variety of communication protocols (e.g., TCP/IP, IPX, SPX, NetBIOS, Ethernet, ARCNET, SONET, SDH, Fiber Distributed Data Interface (FDDI), RS232, IEEE 802.11, IEEE 802.11a, IEEE 802.11b, IEEE 802.11g, CDMA, GSM, WiMax and direct asynchronous connections). In one embodiment, theremote machine30 and theclient machine10 communicate via any type and/or form of gateway or tunneling protocol such as Secure Socket Layer (SSL) or Transport Layer Security (TLS), or the Citrix Gateway Protocol manufactured by Citrix Systems, Inc. of Ft. Lauderdale, Fla. Thecomputer system100 may include a network interface comprising a built-in network adapter, network interface card, PCMCIA network card, card bus network adapter, wireless network adapter, USB network adapter, modem or any other device suitable for interfacing thecomputer system100 to any type of network capable of communication and performing the operations described herein.
Thecomputer system100 may support installation devices, such as a floppy disk drive for receiving floppy disks such as 3.5-inch, 5.25-inch disks or ZIP disks, a CD-ROM drive, a CD-R/RW drive, a DVD-ROM drive, network interface card, tape drives of various formats, USB device, hard-drive or any other device suitable for installing software, programs, data or files, such as any software, or portion thereof.
Thecomputer system100 may also include a storage device of any type and form for storing an operating system and other related software, and for storing application software programs. In one embodiment, the storage device includes one or more hard disk drives or redundant arrays of independent disks. In other embodiments, the storage device comprises any type and form of portable storage medium or device, such as a compact flash card, a micro hard drive or pocket drive, embedded flash storage, or USB storage drive. Portable storage devices may be generally referred to by a variety of names, including but not limited to, finger drive, flash disk, flash drive, flash memory drive, jump drive, jump stick, keychain drive, keydrive, memory key, mobile drive, pen drive, thumb drive, thumb key, vault drive, USB drive, or USB stick. Optionally, any of the installation devices or mediums could also provide a storage medium or device.
In some embodiments, theclient machine10 includes a client agent which may be, for example, implemented as a software program and/or as a hardware device, such as, for example, an ASIC or an FPGA. An example of a client agent with a user interface is a Web Browser (e.g., INTERNET EXPLORER manufactured by Microsoft Corp. of Redmond, Wash. or SAFARI, manufactured by Apple Computer of Cupertino, Calif.). The client agent can use any type of protocol, such as a remote display protocol, and it can be, for example, an HTTP client agent, an FTP client agent, an Oscar client agent, a Telnet client agent, an Independent Computing Architecture (ICA) client agent manufactured by Citrix Systems, Inc. of Fort Lauderdale, Fla., or a Remote Desktop Protocol (RDP) client agent manufactured by Microsoft Corporation of Redmond, Wash. In some embodiments, the client agent is configured to connect to theremote machine30. In other embodiments (not shown), theclient machine10 includes a plurality of client agents, each of which may communicate with aremote machine30, respectively.
In many embodiments, theremote machines30, and theclient machines10, are provided as computers or computer servers, of the sort manufactured by Apple Computer, Inc., of Cupertino, California, International Business Machines of White Plains, N.Y., Hewlett-Packard Corporation of Palo Alto, Calif. or the Dell Corporation of Round Rock, Tex. In some embodiments, theremote machines30 may be blade servers, servers, workstation blades or personal computers executing hypervisors emulating hardware required for virtual machines providing access to computing environments. In these embodiments, a single physical machine may provide multiple computing environments.
FIGS. 1A and 1B depict block diagrams of typical computer architectures useful in those embodiments as theremote machine30, or theclient machine10. As shown inFIGS. 1A and 1B, eachcomputer100 includes acentral processing unit102, and amain memory unit104. Eachcomputer100 may also include other optional elements, such as one or more input/output devices130a-130n(generally referred to using reference numeral130), and acache memory140 in communication with thecentral processing unit102.
Thecentral processing unit102 is any logic circuitry that responds to and processes instructions fetched from themain memory unit104. In many embodiments, the central processing unit is provided by a microprocessor unit, such as those manufactured by Intel Corporation of Mountain View, Calif.; those manufactured by Motorola Corporation of Schaumburg, Ill.; those manufactured by International Business Machines of White Plains, N.Y.; or those manufactured by Advanced Micro Devices of Sunnyvale, Calif.
Main memory unit104 may be one or more memory chips capable of storing data and allowing any storage location to be directly accessed by themicroprocessor102, such as Static random access memory (SRAM), Burst SRAM or SynchBurst SRAM (BSRAM), Dynamic random access memory (DRAM), Fast Page Mode DRAM (FPM DRAM), Enhanced DRAM (EDRAM), Extended Data Output RAM (EDO RAM), Extended Data Output DRAM (EDO DRAM), Burst Extended Data Output DRAM (BEDO DRAM), Enhanced DRAM (EDRAM), synchronous DRAM (SDRAM), JEDEC SRAM, PC100 SDRAM, Double Data Rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), SyncLink DRAM (SLDRAM), Direct Rambus DRAM (DRDRAM), or Ferroelectric RAM (FRAM).
In the embodiment shown inFIG. 1A, theprocessor102 communicates withmain memory104 via a system bus120 (described in more detail below).FIG. 1B depicts an embodiment of acomputer system100 in which the processor communicates directly withmain memory104 via a memory port. For example, inFIG. 1B, themain memory104 may be DRDRAM.
FIG. 1A andFIG. 1B depict embodiments in which themain processor102 communicates directly withcache memory140 via a secondary bus, sometimes referred to as a “backside” bus. In other embodiments, themain processor102 communicates withcache memory140 using thesystem bus120.Cache memory140 typically has a faster response time thanmain memory104 and is typically provided by SRAM, BSRAM, or EDRAM.
In the embodiment shown inFIG. 1A, theprocessor102 communicates with various I/O devices130 via alocal system bus120. Various buses may be used to connect thecentral processing unit102 to the I/O devices130, including a VESA VL bus, an ISA bus, an EISA bus, a MicroChannel Architecture (MCA) bus, a PCI bus, a PCI-X bus, a PCI-Express bus, or a NuBus. For embodiments in which the I/O device is a video display, theprocessor102 may use an Advanced Graphics Port (AGP) to communicate with the display.FIG. 1B depicts an embodiment of acomputer system100 in which themain processor102 communicates directly with I/O device130bvia HyperTransport, Rapid I/O, or InfiniBand.FIG. 1B also depicts an embodiment in which local busses and direct communication are mixed: theprocessor102 communicates with I/O device130ausing a local interconnect bus while communicating with I/O device130bdirectly.
A wide variety of I/O devices130 may be present in thecomputer system100. Input devices include keyboards, mice, trackpads, trackballs, microphones, and drawing tablets. Output devices include video displays, speakers, inkjet printers, laser printers, and dye-sublimation printers. An I/O device may also provide mass storage for thecomputer system100 such as a hard disk drive, a floppy disk drive for receiving floppy disks such as 3.5-inch, 5.25-inch disks or ZIP disks, a CD-ROM drive, a CD-R/RW drive, a DVD-ROM drive, DVD-RW drive, DVD+RW drive, tape drives of various formats, and USB storage devices such as the USB Flash Drive line of devices manufactured by Twintech Industry, Inc. of Los Alamitos, California, and the iPod Shuffle line of devices manufactured by Apple Computer, Inc., of Cupertino, California.
In some embodiments, theclient machine10 may comprise or be connected to multiple display devices, which each may be of the same or different type and/or form. As such, any of the I/O devices130a-130nmay comprise a display device or any type and/or form of suitable hardware, software, or combination of hardware and software to support, enable or provide for the connection and use of multiple display devices by theclient machine10. For example, theclient machine10 may include any type and/or form of video adapter, video card, driver, and/or library to interface, communicate, connect or otherwise use the display devices. In one embodiment, a video adapter may comprise multiple connectors to interface to multiple display devices. In other embodiments, theclient machine10 may include multiple video adapters, with each video adapter connected to one or more of the display devices. In some embodiments, any portion of the operating system of theclient machine10 may be configured for using multiple displays. In other embodiments, one or more of the display devices may be provided by one or more other computing devices, such asremote machine30 connected to theclient machine10, for example, via a network. These embodiments may include any type of software designed and constructed to use another computer's display device as a second display device for theclient machine10. One ordinarily skilled in the art will recognize and appreciate the various ways and embodiments that aclient machine10 may be configured to have multiple display devices.
In further embodiments, an I/O device130 may be a bridge between thesystem bus120 and an external communication bus, such as a USB bus, an Apple Desktop Bus, an RS-232 serial connection, a SCSI bus, a FireWire bus, a FireWire800 bus, an Ethernet bus, an AppleTalk bus, a Gigabit Ethernet bus, an Asynchronous Transfer Mode bus, a HIPPI bus, a Super HIPPI bus, a SerialPlus bus, a SCI/LAMP bus, a FibreChannel bus, or a Serial Attached small computer system interface bus.
General-purpose computers of the sort depicted inFIG. 1A andFIG. 1B typically operate under the control of operating systems which control scheduling of tasks and access to system resources. In some embodiments, the computers operate under control of hypervisors, which represent virtualized views of physical hardware as one or more virtual machines. Operating systems may execute in these virtual machines to control the virtual machine in a manner analogous to the way a native operating system controls a physical machine. Typical operating systems include: the MICROSOFT WINDOWS family of operating systems, manufactured by Microsoft Corp. of Redmond, Wash.; the MacOS family of operating systems, manufactured by Apple Computer of Cupertino, California; OS/2, manufactured by International Business Machines of Armonk, N.Y.; and Linux, a freely-available operating system distributed by Caldera Corp. of Salt Lake City, Utah, among others.
Theclient machines10 and20 may be any personal computer (e.g., a Macintosh computer or a computer based on processors manufactured by Intel Corporation of Mountain View, Calif.), Windows-based terminal, Network Computer, wireless device, information appliance, RISC Power PC, X-device, workstation, mini computer, main frame computer, personal digital assistant, television set-top box, living room media center, gaming console, mobile gaming device, NetPC's, thin client, or other computing device that has a windows-based desktop and sufficient persistent storage for executing a small, display presentation program. The display presentation program uses commands and data sent to it across communication channels to render a graphical display. Windows-oriented platforms supported by theclient machines10 and20 can include, without limitation, WINDOWS 3.x, WINDOWS 95, WINDOWS 98, WINDOWS NT 3.51, WINDOWS NT 4.0, WINDOWS 2000, Windows 2003, WINDOWS CE, Windows XP, Windows Vista, MAC/OS, Java, Linux, and UNIX. Theclient machines10 can include a visual display device (e.g., a computer monitor), a data entry device (e.g., a keyboard), persistent or volatile storage (e.g., computer memory) for storing downloaded application programs, a processor, and a mouse. Execution of a small, display presentation program allows theclient machines10 to participate in a distributed computer system model (i.e., a server-based computing model).
In other embodiments, the general-purpose computers of the sort depicted inFIG. 1A andFIG. 1B may have different processors, operating systems, and input devices consistent with the device and in accordance with embodiments further described herein. Thecomputer system100 can be any workstation, desktop computer, laptop or notebook computer, server, handheld computer, mobile telephone or other portable telecommunication device, media playing device, a gaming system, or any other type and/or form of computing, telecommunications or media device that is capable of communication and that has sufficient processor power and memory capacity to perform the operations described herein. For example, thecomputer system100 may comprise a device of the IPOD family of devices manufactured by Apple Computer of Cupertino, California, aPLAYSTATION 2,PLAYSTATION 3, or PERSONAL PLAYSTATION PORTABLE (PSP) device manufactured by the Sony Corporation of Tokyo, Japan, a NINTENDO DS, NINTENDO GAMEBOY, NINTENDO GAMEBOY ADVANCED or NINTENDO REVOLUTION device manufactured by Nintendo Co., Ltd., of Kyoto, Japan, or an XBOX orXBOX 360™ device manufactured by the Microsoft Corporation of Redmond, Wash.
For embodiments in which aclient machine10 is a mobile device, the device may be a JAVA-enabled cellular telephone, such as those manufactured by Motorola Corp. of Schaumburg, Ill., those manufactured by Kyocera of Kyoto, Japan, or those manufactured by Samsung Electronics Co., Ltd., of Seoul, Korea. In other embodiments in which theclient machine10 is mobile, it may be a personal digital assistant (PDA) operating under control of the PalmOS operating system, such as the devices manufactured by palmOne, Inc. of Milpitas, California. In further embodiments, theclient machine10 may be a personal digital assistant (PDA) operating under control of the PocketPC operating system, such as the iPAQ devices manufactured by Hewlett-Packard Corporation of Palo Alto, Calif., the devices manufactured by ViewSonic of Walnut, California, or the devices manufactured by Toshiba America, Inc. of New York, N.Y. In still other embodiments, theclient machine10 is a combination PDA/telephone device such as the Treo devices manufactured by palmOne, Inc. of Milpitas, Calif. In still further embodiments, theclient machine10 is a cellular telephone that operates under control of the PocketPC operating system, such as those manufactured by Motorola Corp.
In some embodiments, aclient machine10 communicates with aremote machine30 to determine an enumeration of resources available to theclient machine10 or to a user of theclient machine10. Resources may include, without limitation, computing environments, applications, documents, and hardware resources. In another of these embodiments, theremote machine30 provides theclient machine10 with address information associated with aremote machine30′ hosting a resource identified by the enumeration of resources. In still another of these embodiments, theclient machine10 communicates with theremote machine30′ to access the identified resource. In one embodiment, theclient machine10 executes a resource neighborhood application to communicate with theremote machines30 and30′. In some embodiments, each of theremote machines30 provides the functionality required to identify and provide address information associated with aremote machine30′ hosting a requested resource.
Referring now toFIG. 2A, a block diagram depicts one embodiment of a system for providing access to a resource. In brief overview, a request to enumerate computing resources is transmitted from a client machine10 (step202). In some embodiments, the request includes an identification of a user of theclient machine10. An enumeration of a plurality of resources available to the user of the requesting machine is provided by the remote machine (step204). Theclient machine10 transmits a request for access to a particular resource included in the enumeration (step206).
Still referring toFIG. 2A, and in more detail, the transmitted request is a request for an enumeration of computing environments available to theclient machine10. In another embodiment, the request is a request for an enumeration of computing environments supporting a particular application requested for execution by theclient machine10. In still another embodiment, the request is a request for access to a computing environment supported by a particular plurality of hardware resources.
In some embodiments, information associated with theclient machine10 or with a user of theclient machine10 is received with the request. In one of these embodiments, credentials associated with the user, or with a user of theclient machine10, are received. In one embodiment, theremote machine30 receives a request for an enumeration of available computing environments from theclient machine10 with the information associated with theclient machine10,10′ or the user of theclient machine10. In another embodiment, theremote machine30 receives a transmission from a policy engine including the information. In still another embodiment, theremote machine30 receives a transmission from a collection agent including the information. In yet another embodiment, theremote machine30 comprises a component receiving requests and associated information.
In some embodiments, aremote machine30 functioning as a web server receives communications from theclient machine10,10′. In one of these embodiments, the web server forwards the communications to aremote machine30′. In one of these embodiments, the web server forwards the communications to a service on theremote machine30′. In another of these embodiments where communications from theclient machine10,10′ are routed to aremote machine30′ by the web server, theremote machine30 may be selected responsive to an Internet Protocol (IP) address of theclient machine10.
In some embodiments, the user provides credentials to theremote machine30 via a graphical user interface presented to theclient machine10,10′ by theremote machine30. In other embodiments, aremote machine30′″ having the functionality of a web server provides the graphical user interface to theclient machine10. In still other embodiments, a collection agent transmitted to theclient machine10,10′ by theremote machine30 gathers the credentials from theclient machine10.
In some embodiments, collected data regarding available resources is accessed. In some of these embodiments, collected data regarding computing environments is accessed. In some of these embodiments, the accessed data includes an indication of a virtual machine providing access to one of the computing environments. In one of these embodiments, the accessed data includes an indication of a location of the virtual machine. In other embodiments, the accessed data concerning computing environments includes an indication of a plurality of hardware resources required to support the computing environments. In still other embodiments, the accessed data concerning computing environments includes an indication of a user or type of user authorized to access the computing environments. In yet other embodiments, the accessed data is provided responsive to a request for identification of a computing environment providing access to an application program.
In some embodiments, the collected data is stored on a server, such as aremote machine30. In other embodiments, the server is in communication with a database storing the collected data. In still other embodiments, the server collects the data from a plurality ofmachines30 in amachine farm38. In one of these embodiments, the data is received from at least one server responsive to a request for the information concerning the computing environments. In another of these embodiments, the server collects the data from a hypervisor executing on amachine30′ in themachine farm38. In still another of these embodiments, the server collects the data from a management component residing in a guest operating system provided by a virtual machine launched into a hypervisor executing on amachine30′ in themachine farm38.
In some embodiments, the data is collected by an intermediate, brokering machine. In one of these embodiments, the brokering machine maintains a database of a status of at least one computing environments and collects information from at least one machine providing access to at least one computing environments. In another of these embodiments, the brokering machine collects information from a virtual machine service component residing in a virtual machine providing the computing environments. In still another of these embodiments, the brokering machine collects information from a virtual machine providing management functionality for a virtual machine providing a computing environment. In yet another of these embodiments, the brokering machine collects information from a hypervisor on which an executing virtual machine provides a computing environment. In other embodiments, the brokering machine comprises amachine30 including a brokering module.
In some embodiments, a determination is made for each available computing environment as to whether that computing environment is available to a user of the client system. In other embodiments, data is gathered about the client system and a data set is generated from the gathered information. In one of these embodiments, the accessed data is transmitted to the client system with an indication to the client system, made responsive to the generated data set, of each computing environment available to the client system. In another of these embodiments, the accessed data is transmitted to the client system indicating to the client system, responsive to the application of a policy to the generated data set, each computing environment available to the client system. In still another of these embodiments, the indication includes at least one method of access available to the user seeking access to the computing environment. In yet another of these embodiments, the indication includes at least one type of action associated with the computing environment which may be taken by, or on behalf of, the user of the client system.
An enumeration of a plurality of resources available to theclient machine10 is provided (step204). In one embodiment, the enumeration is provided responsive to an application of a policy to received information associated with the user of theclient machine10 or theremote machine30. In another embodiment, the enumeration is provided responsive to a request from the user for a particular type of computing environment. In still another embodiment, the enumeration is provided responsive to a request from the user for computing environments providing access to a type of application program. In yet another embodiment, the enumeration is provided responsive to a request from the user for computing environments supported by a specified plurality of hardware resources.
In some embodiments, an indication is transmitted to theclient machine10 of a plurality of computing environments available to a user of theclient machine10. In one of these embodiments, the indication is generated responsive to accessing collected data associated with the plurality of computing environments. In another of these embodiments, the accessed data is transmitted to theclient machine10 with an enumeration of computing environments available to theclient machine10. In some embodiments, a determination is made, for each stored computing environment, as to whether that computing environment is available to theclient machine10. In one embodiment, the collected information is transmitted to theclient machine10, the transmitted information displayable at theclient machine10 as icons in a graphical user interface window representing computing environments available to the client system. In another embodiment, the collected information is transmitted to theclient machine10, the transmitted information displayable at theclient machine10 as icons in a graphical user interface window representing computing environments unavailable to theclient machine10.
In some embodiments, an enumeration of available computing environments is presented to a user of theclient machine10. In other embodiments, an enumeration of applications is presented to a user of theclient machine10. In one of these embodiments, a physical machine provides access to an enumerated application. In another of these embodiments, a virtual machine provides access to an enumerated application. In still another of these embodiments, a virtual machine provides access to a computing environment from which a user of theclient machine10 may access the application. In still other embodiments, an enumeration of standard operating environments (such as a guest operating system pre-configured with a plurality of application programs) is provided to the user of theclient machine10.
In some embodiments, the enumeration of available resources includes an enumeration of a plurality of actions associated with a requested resource. In one of these embodiments, the enumeration of the plurality of actions enables the user to request execution of a computing environment. In another of these embodiments, the enumeration of the plurality of actions enables the user to request cloning of a computing environment. In still another of these embodiments, the enumeration of the plurality of actions enables the user to request shutdown of a computing environment. In yet another of these embodiments, the enumeration of the plurality of actions enables the user to request that a computing environment be rebooted. In some embodiments, the enumeration of the plurality of actions enables the user to request that a snapshot be taken of an existing state of a computing environment. In other embodiments, the enumeration of the plurality of actions enables the user to request that a previous snapshot of a computing environment be provided.
A request is transmitted for access to a particular resource (step206). In one embodiment, a user of theclient machine10 requests a resource responsive to a received enumeration of available resources. In another embodiment, the user requests a resource independent of a received enumeration. In some embodiments, the user requests a resource by selecting a graphical representation of the resource presented on theclient machine10 by a client agent. In other embodiments, the user requests a resource by selecting a graphical or textual representation of the resource presented to the user on a web server or otherremote machine30′″.
In some embodiments, the user requests an action associated with a resource. In one of these embodiments, the user requests execution of the resource. In another of these embodiments, the user requests termination of the resource. In still another of these embodiments, the user requests transmission of the resource, including transmission across an application streaming session. In yet another of these embodiments, the user requests that a resource be shutdown. In other embodiments, a request to execute an application is received from theclient machine10, the requested application requiring one of the computing environments. In still other embodiments, a request to access a file is received from theclient machine10, the requested file requiring execution within one of the computing environments.
Still referring toFIG. 2A, aremote machine30 launches the Resource Neighborhood (RN) application and presents results of the RN application to theclient machine10. Theremote machine30 can launch theRN application241 in response to arequest202 by theclient machine10 for an enumeration of available resources. Theremote machine30 provides an enumeration of available resources to the client machine10 (step204). Theclient machine10 andremote machine30′ establish a connection (arrows245 and246). By this connection, theremote machine30′ can transfer the executable code of the particular application to theclient machine10, when theclient machine10 andremote machine30′ are operating according to the client-based computing model. Alternatively, theremote machine30′ can execute the particular application and transfer the graphical user interface to theclient machine10, when theclient machine10 andremote machine30′ are operating according to the server-based computing model. In some embodiments theremote machine30′ can execute theResource Neighborhood application241 and push the results back to theclient machine10 so that when theclient machine10 requests the Resource Neighborhood application, the Resource Neighborhood results are already available at theclient machine10.
FIG. 2B shows another embodiment of a system in which theclient machine10 initiates execution of theResource Neighborhood application241 and aremote machine30 presents the results of theRN application241 to theclient machine10. Theclient machine10 launches the Resource Neighborhood application (e.g., by clicking on a Resource Neighborhood icon representing the application241). In response, theclient machine10 directs arequest202 for the Resource Neighborhood application to theremote machine30. Theremote machine30 can execute theResource Neighborhood application241, if the application is on theremote machine30, and return the results to theclient machine10. Alternatively, theremote machine30 can indicate (arrow204) to theclient machine10 that theResource Neighborhood application241 is available on another remote machine, in this exampleremote machine30′. Theclient machine10 andremote machine30′ establish a connection (arrows206 and210) by which theclient machine10 requests execution of theResource Neighborhood application241. Theremote machine30′ can execute theapplication241 and transfer the results (i.e., the graphical user interface any audio output etc.) to theclient machine10.
FIG. 2C shows another embodiment of a system in which aclient machine10 initiates execution of theResource Neighborhood application241, in this example via the World Wide Web. Aclient machine10 executes aweb browser application280, such as NETSCAPE NAVIGATOR, manufactured by Netscape Communications, Inc. of Mountain View, Calif., INTERNET EXPLORER, manufactured by Microsoft Corporation of Redmond, Wash., or SAFARI, manufactured by Apple Computer of Cupertino, Calif.
Theclient machine10, via theweb browser280, transmits arequest282 to access a Uniform Resource Locator (URL) address corresponding to an HTML page residing onremote machine10. In some embodiments, the first HTML page returned284 to theclient machine10 by theremote machine30 is an authentication page that seeks to identify theclient machine10 or the user of theclient machine10.
The authentication page allows theclient machine10 to transmit user credentials, via theweb browser280, to theremote machine30 for authentication. Transmitted user credentials are verified either by theremote machine30 or by anotherremote machine30 in thefarm38. This allows a security domain to be projected onto theremote machine30. For example, if theremote machine30 runs the WINDOWS NT operating system, manufactured by Microsoft Corporation of Redmond, Wash., and the authenticating machine runs the UNIX operating system, the UNIX security domain may be said to have been projected onto theremote machine30. User credentials may be transmitted “in the clear,” or they may be encrypted. For example, user credentials may be transmitted via a Secure Socket Layer (SSL) connection, which encrypts data using algorithms such as the RC4 algorithm, manufactured by RSA Security Inc. of Bedford, Mass.
In some embodiments, an access control decision is made based on received information about the user resources available to the user of the client system are identified responsive to the access control decision. In other embodiments, a policy is applied to the received information about the user. Theremote machine30 may verify the user credentials received from theclient machine10. Alternatively, theremote machine30 may pass the user credentials to another remote machine for authentication. In this embodiment, the authenticating server may be in a different domain from theremote machine30. Authenticated user credentials of theclient machine10 may be stored at theclient machine10 in a per-session cookie, in fields that are not displayed by theweb browser280, or in any other manner common in maintenance of web pages. In some embodiments, amachine farm38 with which theremote machine30 is associated may allow guest users, i.e., users that do not have assigned user credentials, to access resources hosted by thefarm38. In these embodiments, the authentication page may provide a mechanism for allowing aclient machine10 to identify that it is a guest user, such as a button or menu selection. In other of these embodiments, theremote machine30 may omit the authentication page entirely.
Still referring toFIG. 2C, once theclient machine10 is authenticated by theremote machine30, the remote machine prepares and transmits to theclient machine10 anHTML page288 that includes aResource Neighborhood window258 in which appearsgraphical icons257,257′ representing resources to which theclient machine10 has access. A user ofclient machine10 requests access to a resource represented byicon257 by clicking thaticon257.
FIG. 3A shows one embodiment of a process of communication among theclient machine10 and multipleremote machines30,30′. In the embodiment shown inFIG. 3A, theclient machine10 has anactive connection372 with theremote machine30′. Theclient machine10 andremote machine30′ can use theactive connection372 to exchange information regarding the status or execution of a first resource. User credentials may be stored at theclient machine10. Such storage of the user credentials can be in cache memory or persistent storage.
In this embodiment, the Resource Neighborhood application (not shown onFIG. 3A) runs on theclient machine10. The client machine display has aResource Neighborhood window258 in which appears agraphical icon257 representing a second resource. A user of theclient machine10 can access the second resource by double-clicking theicon257 with the mouse. The request passes to theremote machine30 viaconnection359. Theremote machine30 indicates to theclient machine10 viaconnection359 that the sought-after resource is available onremote machine30′. Theclient machine10 signals theremote machine30′ to establish asecond connection370. Theremote machine30′ requests the user credentials from theclient machine10 to authenticate access to the second resource. Upon a successful authentication, theclient machine10 andremote machine30′ establish thesecond connection370 and exchange information regarding status of or execution of the second resource. In some embodiments, the remote machine does not request user credentials to establish thesecond connection370. In these embodiments, theremote machine30′ may use the credentials supplied by the user ofclient machine10 to establish theconnection372 to also establish thesecond connection370. Accordingly, theclient machine10 and theremote machine30′ communicate with each other over multiple connections.
FIG. 3B shows one embodiment of a system of communication among theclient machine10, masterremote machine30, andservers32,34, and36. Theclient machine10 has anactive connection373 with theremote machine32. Theclient machine10 andremote machine32 can use theactive connection373 to exchange information regarding the status of or execution of a first resource. User credentials may be stored at theremote machine32 in cache memory or in persistent storage.
In this embodiment, the Resource Neighborhood application runs on theremote machine32. Theremote machine32 includes software providing a server-based client engine62, enabling theremote machine32 to operate in the capacity of theclient machine10. Theclient machine10 display has aResource Neighborhood window258 in which appeargraphical icons357,357′ representing a second resource and a third resource, respectively. A user of theclient machine10 can access the second resource by double-clicking theicon357. The request to launch the second resource passes to theremote machine32 viaactive connection373, and theremote machine32 forwards the request to the master remote machine30 (arrow365).
The masterremote machine30 indicates (arrow365) to theremote machine32 that the sought-after resource is available onserver34. Theremote machine32 contacts theserver34 to establish aconnection366. To authenticate access to the application, theserver34 obtains the user credentials of theclient machine10 from theremote machine32. Theremote machine32 andserver34 establish the connection (arrow366) by which theremote machine32 requests access to the second resource and theserver34 returns the results to theremote machine32. Theremote machine32 forwards the results to theclient machine10, where the results are displayed. Accordingly, the information exchanged between theclient machine10 and theserver34 “passes through” theremote machine32.
Similarly, theclient machine10 can launch the third resource by double-clicking theicon357′. The request to launch the third resource passes to theremote machine32. Theremote machine32 forwards the request to the masterremote machine30. In this example, the masterremote machine30 indicates that theserver36 can be used to access the third resource.
Theremote machine32 and theserver36 establish a connection (arrow374) by which theremote machine32 requests access to the third resource, and theserver36 returns the results to theremote machine32. To permit access to the third resource, theserver36 can authenticate the user credentials of the user of theclient machine10, which are obtained from theremote machine32. Theremote machine32 forwards the results to theclient machine10 where the results are displayed. Accordingly, the results of accessing the third resource pass between theclient machine10 and theserver36 through theremote machine32.
FIG. 3C shows another embodiment of a system of communication among theclient machine10, a masterremote machine30, andservers32 and34. Theclient machine10 has anactive connection376 withserver32. Theclient machine10 andserver32 can use theactive connection376 to exchange information regarding the access to a first resource. Theclient machine10 can store user credentials in cache memory or in persistent storage.
In this embodiment, the Resource Neighborhood application runs on theserver32. Theclient machine10 display has aResource Neighborhood window258 in which appears agraphical icon257 representing a second resource. A user of theclient machine10 can access the second resource by double-clicking theicon257. The request to access the second resource passes to theserver32. Theserver32 responds (i.e., “calls back”) to theclient machine10 by returning resource-related information such as the name of the resource and capabilities needed by theclient machine10 to access the second application.
With the information provided by theserver32, theclient machine10 then communicates with the masterremote machine30 viaconnection377 to determine the server for accessing the second resource. In this example, that server isserver34. Theclient machine10 then establishes aconnection378 to theserver34.Server34 requests the user credentials from theclient machine10 to authenticate the user of theclient machine10. Theclient machine10 accesses the second resource on theserver34, and theserver34 returns the results to theclient machine10 via the establishedconnection378. Accordingly, theclient machine10 can have multiple active connections between the multiple servers.
FIG. 3D shows one embodiment of a system of communication between theclient machine10, aremote machine30 that in this example acts as a web server, and a secondremote machine30′. Theclient machine10 authenticates itself to theremote machine30 as described above in connection withFIG. 2C. In one embodiment, theremote machine30 accesses anoutput display template390, such as an SGML, HTML or XML file, to use as a base for constructing the Resource Neighborhood window to transmit to theclient machine10. The Resource Neighborhood window may display an enumeration of resources available to the client. The enumeration of resources may include an enumeration of available application programs or computing environments. The template may be stored in volatile or persistent memory associated with theserver30 or it may be stored inmass memory392, such as a disk drive or optical device, as shown inFIG. 3D.
In this embodiment, thetemplate390 is a standard SGML, HTML, or XML document containing Resource Neighborhood-specific tags that are replaced with dynamic information. The tags indicate to theserver30 where in the output display to insert information corresponding to available resources, such as icon images. In one particular embodiment, the Resource Neighborhood-specific tags are embedded within comments inside a file, allowing the file to remain compatible with standard interpreters. In another embodiment, the Resource Neighborhood-specific tags are extensions of the markup language used as the base for the template.
Examples of HTML tags that may be used in a template are set forth below in Table 1:
| TABLE 1 |
|
| Tag | Description |
|
| ControlField field value | This tag is used to set the value of data |
| that either persists between Resource |
| Neighborhood web pages, is set by the |
| user, or is used to help in cross page |
| navigation, such as user name, domain, |
| password, template, and resource. |
| DrawResourceNeighborhood | This tag is used to draw a Resource |
| Neighborhood display at this location in |
| an output display. |
| ResourceName | This tag is replaced by the name of the |
| published resource in the current |
| context. |
| WindowType | This tag is replaced by the window type of |
| the published resource in the current |
| context. |
| WindowHeight | This tag is replaced by the window height |
| of the published resource in the current |
| context. |
| WindowWidth | This tag is replaced by the window width |
| of the published resource in the current |
| context. |
| WindowScale | This tag is replaced by the window scale |
| of the published resource in the current |
| context. |
| WindowColors | This tag is replaced by the color depth of |
| the published resource in the current |
| context. |
| SoundType | This tag is replaced by the sound setting |
| of the published resource in the current |
| context. |
| VideoType | This tag is replaced by the video setting |
| of the published resource in the current |
| context. |
| EncryptionLevel | This tag is replaced by the encryption |
| level of the published resource in the |
| current context. |
| Icon | This tag is replaced by the icon of the |
| published resource in the current |
| context. |
|
Other tags can be provided to set control fields and to provide conditional processing relating to the Resource Neighborhood application.
In one embodiment, the template is constructed dynamically using, for example, COLD FUSION, manufactured by Allaire Corp. of Cambridge, Mass. or ACTIVE SERVER PAGES manufactured by Microsoft Corporation of Redmond, Wash. Alternatively, the template may be static. The Resource Neighborhood application parses the template, replacing Resource Neighborhood-specific tags as noted above. Tags that are not Resource Neighborhood-specific are left in the file to be parsed by the browser program80 executing on theclient10.
In one embodiment, a template parser object is provided that accepts an HTML template as input, interprets Resource Neighborhood-specific tags present in the template, and outputs the original template with all Resource Neighborhood tags replaced with appropriate text. The template parser object can be passed a cookie, a URL query string, or a control field from a web server interface to provide the information with which Resource Neighborhood-specific tags should be replaced.
In some embodiments, a web server receives a request from theclient machine10 for an enumeration of available computing environments. In one of these embodiments, the web server executes an application to access data regarding the computing environments. In another of these embodiments, a page template is retrieved from a database. In still of these embodiments, a page is created, at the web server, describing a display of stored computing environment images available to theclient machine10 responsive to the collected information and the retrieved page template, and the created page is transmitted to theclient machine10, indicating to theclient machine10 each computing environment available to theclient machine10. In some embodiments, computing environment images may comprise virtual machine images, resource images, screenshots of suspended virtual machines, and other images selected by a user or administrator for presentation to the user. In yet another of these embodiments, an output display is created indicating each computing environment available to theclient machine10 and transmitting the created output display to theclient machine10.
In some embodiments, an output display is created comprising a page constructed in a markup language, the output display indicating each computing environment available to the client system and transmitted to the client system.
In another embodiment, the Resource Neighborhood application allows scripts to access information via an application programming interface. Scripts may be written in, for example, VBScript or Jscript. In this embodiment, the scripting language is used to dynamically generate an output display using information returned by the application in response to queries posed by the script. Once the output display is generated, it is transmitted toclient machine10 for display by the browser program80.
A user of theclient machine10 can access a resource by clicking anicon257,257′ displayed in the Resource Neighborhood web page. In some embodiments, eachicon257,257′ is associated with an encoded URL that specifies: the location of the resource (i.e., on which remote machines it is hosted or, alternatively, the address of a master remote machine, a gateway, or other remote machine30); a launch command associated with the resource; and a template identifying how the results of accessing the resource should be displayed (i.e., in a window “embedded” in the browser or in a separate window). In some embodiments, the URL includes a file, or a reference to a file, that contains the information necessary for the client to create a connection to the remote machine hosting the resource. This file may be created by the Resource Neighborhood application dynamically. Theclient machine10 establishes a connection (arrow394) with theremote machine30′ identified as hosting the requested resource and exchanges information regarding access to the desired resource. In some embodiments, theconnection394 is made using the Independent Computing Architecture (ICA) protocol, manufactured by Citrix Systems, Inc. of Fort Lauderdale, Fla. In other embodiments, the connection is made using: the RDP protocol, manufactured by Microsoft Corp. of Redmond, Wash.; the X11 protocol; or the Virtual Network Computing (VNC) protocol, manufactured by AT&T Bell Labs. Thus, theclient machine10 may display the results of accessing the resource in a window separate from theweb browser280, or it may “embed” application output within the web browser.
FIG. 3E depicts an embodiment in which aremote machine30 acts as an intermediary for amachine farm38 and comprises a broker module310, a transmitter312, areceiver314, and atransceiver316.
The broker module310 accesses collected data regarding resources, including application programs, computing environments, and hardware resources. In some embodiments, the broker module310 accesses collected data regarding resources and determines for each resource whether that resource image is available to aclient machine10. In some embodiments, the server further comprises a database storing the collected data. In one of these embodiments, the broker module310 determines for each resource whether that resource image is available to aclient machine10 based on the collected data. In other embodiments, the broker module310 receives user credentials and determines for each resource whether that resource image is available to aclient machine10 based on the user credentials and the collected data.
In some embodiments, the server further comprises an output display creation engine creating output displays indicating each resource available to theclient machine10. In one of these environments, the output display creation engine creates a page describing a display of the resources available to a client system, the page created responsive to the collected information and a page template.
The transmitter312 transmits accessed data to theclient machine10 indicating to theclient machine10 each resource determined to be available to theclient machine10. In some embodiments, the transmitted data is displayable at the client system as icons in a graphical user interface window representing resources available to the client system. In other embodiments, the transmitted data is displayable at the client system as icons in a graphical user interface window representing resources unavailable to the client system. Thereceiver314 receives a request to access one of the available resources. In some embodiments, the receiver receives user credentials from theclient machine10. In other embodiments, the receiver receives a request to access an application program available through one of the available resources, such as an available computing environment. In still other embodiments, a database storing the collected information and the service module determines for each resource stored by the plurality of servers whether that resource image is available to aclient machine10 based on the user credentials and the collected information. In yet other embodiments, a determination is made as to an availability of resources, such as virtual machines or application servers, providing access to the available resources.
Thetransceiver316 provides a connection between theclient machine10 and a virtual machine providing the requested resource. In some embodiments, thetransceiver316 provides a connection between theclient machine10 and a virtual machine providing the requested resource and thetransceiver316 establishes a presentation-layer protocol connection. In one of these embodiments, thetransceiver316 establishes an X11 or VNC connection. In another of these embodiments, thetransceiver316 establishes an ICA connection. In still another of these embodiments, thetransceiver316 establishes an RDP connection.
An intermediary machine of the sort just described may be used as any one of theremote machine30 described above inFIGS. 1-1B,2A-2B, and3A-3D.
FIG. 4 illustrates one embodiment of program components for a client-based implementation of the Resource Neighborhood application. A client-based implementation of theResource Neighborhood application416 can be used in a network using either the server-based computing model in which the servers execute the Resource Neighborhood application or in a client-based computing model in which theclient machine10 executes the Resource Neighborhood application locally. The Resource Neighborhood application includes a Resource Neighborhood Service (RNSVC)component444, aresource database component448, a Resource Neighborhood Application Program Interface (RNAPI)component452, a Resource NeighborhoodUser Interface component456, and alocal cache460.
Theremote machine30, for example, includes the service component (RNSVC)444 and theresource authorization cache448. Theclient machine10, which is a representative example of aclient machine10 that can support a client-based implementation of the Resource Neighborhood application, includes the applicationprogram interface RNAPI452, the user interfaceuser interface component456, and thelocal cache460 components. TheRNAPI452 communicates with theuser interface component456 and thelocal cache460. TheRNSVC444 communicates with theresource authorization cache448 and with theRNAPI452 on theclient machine10 via communications link462.
The communications link462 can be established by, for example, using the ICA protocol, the RDP protocol, the X11 protocol, the VNC protocol, or any other suitable presentation-level protocol designed to run over industry standard transport protocols, such as TCP/IP, IPX/SPX, NetBEUI, using industry-standard network protocols, such as ISDN, frame relay, and asynchronous transfer mode (ATM) and which provides for virtual channels, which are session-oriented transmission connections that can be used by application-layer code to issue commands for exchanging data. The communications link462 may also be established by protocols that support RPC or RPC-equivalents such as SOAP and HTTP. The communications link462 may also be a communications link150 as described above. The virtual channel commands are designed to be closely integrated with the functions of client machines. The ICA protocol can support the Resource Neighborhood virtual channel.
The Resource Neighborhood virtual channel protocol can include four groups of commands:
(1) Initialization-related commands;
(2) Single authentication related commands that can be supported by each client machine wanting a copy of the user credentials;
(3) Resource data related commands for implementing the Resource Neighborhood user interface; and
(4) Resource launch callback-related commands for running the user interface on a remote machine.
Theresource authorization cache448 may be a cache of the authorized user and group information for all the public (i.e., published) resources in amachine farm38 or in a group of trusted domains. Each remote machine in amachine farm38 can maintain its own resource-related information in persistent storage and build up theresource authorization cache448 in volatile storage. In another embodiment, all collected resource-related information in theresource authorization cache448 can be stored in persistent storage and made accessible to each other server in themachine farm38. Theresource authorization cache448 can be implemented in a proprietary format (e.g., as a linked list in memory) or using Novell's Directory Services (NDS) or any directory service adhering to the X.500 standard defined by the International Telecommunication Union (ITU) for distributed electronic directories. Theresource authorization cache448 may be implemented as a standard relational database.
Theresource authorization cache448 includes a list of remote machines. Each remote machine in the list has an associated set of resources. Associated with each resource is resource-related information that can include the resource name, a list of remote machines, and client users that are authorized to use that resource. An overly-simplified example of the resource-related information maintained in the database is illustrated by the following Table 2. Users A and B are users of theclient machines10, “n/a” indicates that a desired application program is hosted, but is not available to client machine users, and “-” indicates that the application program is not hosted.
| TABLE 2 |
|
| Remote Machine | | Customer | Word | |
| Name | SpreadSheet | Database | Processor | Calculator |
|
| Server |
| 30 | User A | User B | n/a | — |
| Server 32 | User B | n/a | User A | — |
| Server 34 | — | — | — | User A |
| | | | User B |
|
Table 2 shows: a list ofservers30,32,34; applications hosted by the servers (Spreadsheet, Customer Database, Word Processor, and Calculator); and those users who are authorized to use the applications. For example, theserver30 hosts the Spreadsheet program, the Customer Database and the Word Processor. User A is authorized to use the Spreadsheet, User B is authorized to use the Customer Database, and no users are authorized to use the Word Processor. It is to be understood that other techniques can be used to indicate who is authorized to use a particular application. For example, the user information stored in the database can be used to indicate those users who are unauthorized to use a particular application rather than those who are authorized, or to indicate that multiple users may access a resource on aremote machine30, or to indicate that a predetermined group of users are authorized to access a particular resource. Although Table 2 depicts an embodiment in which the resources that are available are application programs, a similar technique may be used for computing environments and other resources.
To obtain the information that is stored in theresource authorization cache448, theremote machine30 obtains the resource-related information from each other machine in themachine farm38 regarding the resources on those remote machines, including control information that indicates which client users and remote machines are permitted to access each particular resource. The resource-related information maintained in the database may or may not persist across re-boots of theremote machine30.
Eachremote machine30 having the Resource Neighborhood application installed thereon executes theRNSVC software444. TheRNSVC software444, operating on eachremote machine30 establishes a communication link (e.g. a named pipe) with at least one other and, in some embodiments, each otherremote machine30. Theremote machines30 exchange resource-related information on the communications links. In another embodiment, theRNSVC software444 collects the resource-related information from the otherremote machine30 in themachine farm38 through remote registry calls (e.g., theservice component444 transmits a datagram to otherremote machine30 in thefarm38 requesting the resource-related information corresponding to the resources hosted by those remote machine30). In some embodiments the resource authorization cache is populated by system administrators of by programs and scripts communicating withremotes machines30. TheRNSVC444 software also maintains the relationships of groups and users to published resources in theresource authorization cache448 and accesses the information when authenticating a client user. An administrator of theremote machine30 can use a user interface to configure theRNSVC444.
Other functions of theRNSVC software444 include implementing the services and functions requested by theRNAPI452 and communicating with theRNAPI452 on theclient machine10 using a Resource Neighborhood virtual channel driver (VCRN). The VCRN operates according to the Resource Neighborhood virtual channel protocol described.
TheRNAPI452 is a set of software functions or services that are used by the Resource Neighborhood application to perform various operations (e.g., open windows on a display screen, open files, and display message boxes). TheRNAPI452 provides a generic mechanism for accessing user interface elements (e.g., icons) produced by running the Resource Neighborhood application and objects in a legacy (i.e., predecessor or existing for some time) client user interface. When theclient machine10 accesses an available resource, the accessing mechanism can launch the resource on theremote machine30, if necessary (e.g., when theclient machine10 is unable to locally execute the application).
TheRNAPI452 provides all published resource information to theuser interface component456 for display on the screen12 (FIG. 1) of theclient machine10. TheRNAPI452 also managesmachine farm38 logons in a local database of logon credentials (e.g., passwords) for users of theclient machine10 to support the single authentication feature. Credentials may or may not be persistent across a reboot (power-off and on cycles) of theclient machine10.
TheRNAPI452 provides automatic and manual management for Resource Neighborhood objects stored in thelocal cache460. Thelocal cache460 can either be refreshed manually by the user of theclient machine10, or at a user-definable refresh rate, or by the server at any time during a connection. In a Windows implementation, theRNAPI452 can build remote application file resource associations and manage the “Start” menu and desktop icons for resource object shortcuts.
Theuser interface module456 interfaces theRNAPI452 and can be a functional superset of an existing client user interface (e.g., Remote Resource Manager). Theuser interface module456 accesses the information stored in thelocal cache460 through theRNAPI452 and visually presents that information to the user on the display screen12 (FIG. 1) of theclient machine10. The displayed information is a mixture of information generated by a user of theclient machine10 and information obtained by the Resource Neighborhood application. Theuser interface module456 can also show the user all resources that the user is currently accessing and all active and disconnected sessions.
In a Windows-based embodiment, theuser interface module456 can present a variety of graphical components, such as windows and pull-down menus, to be displayed on the display screen12 (FIG. 1). A display of a combination of such graphical user interface components is generally referred to as a “desktop.” A desktop produced by theuser interface module456 can include a Resource Neighborhood window displaying the neighborhood of resources available to the user of theclient machine10. These resources may be a filtered combination of the published resources hosted by amachine farm38. Theuser interface module456 can generate a Resource Neighborhood window for eachmachine farm38 or merge the resources fromdifferent machine farms38 under a single Resource Neighborhood window.
At a top level, the Resource Neighborhood window includes a folder for eachmachine farm38. Clicking on one of the folders produces a window containing a representation (e.g., an icon) of each hosted resource available to the user, e.g., seeFIGS. 6A and 6B. The Resource Neighborhood window becomes the focal point for accessing published resources, and theuser interface module456 can be used to access resources and launch applications through theRNAPI452. For example, the user of theclient machine10 can use the mouse18 (FIG. 1) to select one of the displayed icons and launch the associated resource.
A feature of a client-based implementation is that the user can browse the objects displayed in the Resource Neighborhood window although the client machine is offline, that is, theconnection462 is inactive. Also, a user of theclient machine10 can drag application objects and folders out of the Resource Neighborhood window and into other graphical components (e.g., other windows, folders, etc.) of the desktop.
FIG. 5 shows one embodiment of the program components for a server-based implementation of the Resource Neighborhood application. The components include a Service (RNSVC)component544′, aResource Database component548′, an Application Program Interface (RNAPI)component552′, aUser Interface component556′ and alocal cache560′. Eachsoftware component544′,548′,552′,556′, and560′ is installed on theapplication server30′. The software components for the server-based implementation correspond to the software components for the client-based implementation ofFIG. 4. The functionality of each server-based software component is similar to the client-based counterpart, with differences or added capabilities described below. TheRNSVC544′ communicates with theresource database548′ and with theRNAPI552′ using local procedure calls. TheRNAPI552′ also communicates with theuser interface module556′ and thelocal cache560′.
Similar to that described inFIG. 4 for theclient machine10, theclient machine10 logs on to the network40 (FIG. 1), theserver30′ develops and maintains a database containing the resource related information collected from the other machines in themachine farm38, and a communication link is established between theserver30′ and theclient machine20. Theapplication server30′ may be in communication with theclient machine10 via anICA connection562′.
To run the Resource Neighborhood application in a server-based implementation, the user of theclient machine10 connects to an initial desktop (at theserver30′) and launches the Resource Neighborhood application from within that desktop environment. The connection to the initial desktop can occur automatically, e.g., via a logon script of theclient machine20, via an entry in a Startup group, or by another centrally managed server specific mechanism. All remote application management and launching is accomplished through this initial desktop.
Similar to that described inFIG. 4 for theserver30, theserver30′ uses the user credentials to determine those resources that the user of theclient machine10 is authorized to use. A Resource Neighborhood graphical window is returned to theclient machine10 and displayed on the client screen22 (FIG. 1). This window can contain icons representing the available and, possibly, the unavailable resources that are in the Resource Neighborhood of theclient machine20.
In one embodiment, the web-based Resource Neighborhood application includes a group of objects that manage various aspects of a resource. In one embodiment, the Resource Neighborhood application includes three primary object classes that “plug in” to a web server: a gateway object class; a credentials object class; and a resources object class. In some specific embodiments, the object classes are provided as JavaBeans. The three primary object classes facilitate: validation of user credentials into a server farm; generation of lists of published resources that a specified user may access; provisioning of detailed information about a specific published resource; and conversion of resource application information into a format compatible with the protocol over which connection will be made.
When provided as JavaBeans, the objects can be accessed in a number of different ways. For example, they may be compiled as COM objects and made available to the web server as ActiveX components. In another embodiment, the JavaBeans can be used in their native form, such as when the server uses Java Server Pages technology. In yet another embodiment, the JavaBeans can be instantiated and used directly in a Java Servlet. In still another embodiment, theremote machine30 can instantiate the JavaBeans as COM objects directly.
A credentials object class manages information necessary to authenticate a user into atarget machine farm38. A credentials object passes stored user credentials to other Resource Neighborhood objects. In some embodiments, the credentials object is an abstract class that cannot be instantiated and represents a user's credentials. Various class extensions may be provided to allow different authentication mechanisms to be used, including biometrics, smart cards, token-based authentication mechanisms such as challenge-response and time-based password generation, or others. For example, a “clear text credentials” extension may be provided that stores a user's name, domain, and password in plain text.
A gateway object class handles communications with atarget machine farm38. In one embodiment, the gateway object class is provided as an abstract Java class that cannot be instantiated. A particular gateway object may retrieve resource information by communicating with amachine farm38 using a particular protocol, reading cached resource information, a combination of these two methods, or other various methods.
As noted above, the gateway object class may cache information to minimize communication with atarget machine farm38. Extensions to the gateway object may be provided to communicate with themachine farm38 over specific protocols, such as HTTP. In one embodiment, an extension class is provided that allows the gateway object to communicate with themachine farm38 via WINDOWS NT named pipes. The gateway object may provide an application programming interface hook that allows other Resource Neighborhood objects to query the object for application information.
A resources object class contains information about published resources and returns information about resources hosted by themachine farm38 in order to create the Resource Neighborhood web page. The resources object class creates objects representing resources by retrieving information relating to the resources, either from an object created by the gateway object or directly from the machines in themachine farm38. A resources object acts as a container for certain properties of the resource, some settable and some not settable, such as: the name of the resource (not settable); the width of the client window, in pixels, for this resource (settable); the height of the client window, in pixels, for this resource (settable); the number of colors to use when connecting to the resource (settable); the severity of audio bandwidth restriction (settable); the level of encryption to use when connecting to the resource (settable); the level of video to use when connecting to this resource (settable); whether the resource should be placed on a client's start menu (settable); whether the resource should be placed on the client's desktop (settable); the identity of the Resource Neighborhood folder to which the resource belongs (settable); the description of the resource (settable); the source of the graphics icon file for the resource (settable); the type of window that should be used when connecting to the resource (not settable); and whether to override default parameters for the object.
FIG. 6A is a screenshot of one embodiment ofResource Neighborhood window620 that can be displayed on thescreen12,22 (FIG. 1) of aclient machine10,10′ after the Resource Neighborhood application has executed. Thewindow120 includesgraphical icons622. Eachicon622 represents a resource that is hosted by one of the machines in amachine farm38. Each represented resource is available to the user of theclient machine10. The user can select one of the resources using themouse18,28 orkeyboard14,24.
FIG. 6B is a screenshot of another embodiment of aResource Neighborhood window624 that can be displayed on thescreen12,22 (FIG. 1) of aclient machine10,10′ after the Resource Neighborhood application has executed. Thewindow624 includesgraphical icons626,628. Eachicon626,628 represents a resource that is hosted by one of the machines in amachine farm38. Each resource represented by one of theicons626 is available to the user of theclient machine10. The user can select one of the resources using themouse18,28 orkeyboard14,24. For web-based Resource Neighborhood environments, the screenshots ofFIGS. 6A and 6B are similar, except thaticons622,626,628 are displayed within a browser window.
Each resource represented by one of theicons628 is unavailable to the user of theclient machine10, although such resources are present in the server farm. The unavailability of these resources can be noted on the display screen (e.g., “X”s can be drawn through the icons628). An attempt to access such a resource can trigger a message indicating that the user is not authorized to access the resource. Alternatively, the attempt may invoke a method allowing the user of theclient machine10 to request access to the resource.
In some embodiments, the resource comprises a computing environment. In one of these embodiments, a connection is established between theclient machine10 and a virtual machine hosting the requested computing environment. In one embodiment, a presentation layer protocol is used in establishing the connection between the client system and the virtual machine. In another embodiment, the X11 protocol is used in establishing the connection. In still another embodiment, the Remote Desktop Protocol (RDP) is used in establishing the connection. In yet another embodiment, the Independent Computing Architecture (ICA) protocol is used in establishing the connection.
In some embodiments, a connection is established between theclient machine10 and a physical machine, such as a traditional workstation or server, hosting the requested computing environment. In other embodiments, a connection is established between theclient machine10 and a hardware partition hosting the requested computing environment.
In some embodiments, an enumeration of a plurality of resources available to theclient machine10 is provided (step204) responsive to a determination by a policy engine regarding whether and how a client machine may access a resource. The policy engine may collect information about the client machine prior to making the determination. Referring now toFIG. 7A, one embodiment of a computer network is depicted which includes aclient machine10, amachine farm38, acollection agent704, apolicy engine706, apolicy database708, and aresource server30′. In one embodiment, thepolicy engine706 is aremote machine30. Although only oneclient machine10,collection agent704,policy engine706,machine farm38, andresource server30′ are depicted in the embodiment shown inFIG. 7A, it should be understood that the system may provide multiple ones of any or each of those components.
In brief overview, when theclient machine10 transmits the policy engine706 arequest206 for a resource enumeration, thecollection agent704 communicates with theclient machine10, retrieving information about theclient machine10, and transmits theclient machine information712 to thepolicy engine706. Thepolicy engine706 makes an access control decision by applying a policy from thepolicy database708 to the receivedinformation712.
In more detail, theclient machine710 transmits to the policy engine706 arequest206 for resource enumeration. In one embodiment, thepolicy engine706 resides on aresource server30′. In another embodiment, thepolicy engine706 resides on aremote machine30. In still another embodiment, aresource server30′ receives therequest206 from theclient machine10 and transmits therequest206 to thepolicy engine706. In yet another embodiment, theclient machine10 transmits arequest206 for resource enumeration to an intermediateremote machine30′″ (not shown), which transmits therequest206 to thepolicy engine706.
In some embodiments, theclient machine10 transmits therequest206 over a network connection such as those described above. Upon receiving the request, thepolicy engine706 initiates information gathering by thecollection agent704. Thecollection agent704 gathers information regarding theclient machine10 and transmits theinformation712 to thepolicy engine706.
In some embodiments, thecollection agent704 gathers and transmits theinformation712 over a network connection. In some embodiments, thecollection agent704 comprises bytecode, such as an application written in the bytecode programming language JAVA. In some embodiments, thecollection agent704 comprises at least one script. In those embodiments, thecollection agent704 gathers information by running at least one script on theclient machine10. In some embodiments, the collection agent comprises an Active X control on theclient machine10. An Active X control is a specialized Component Object Model (COM) object that implements a set of interfaces that enable it to look and act like a control.
In one embodiment, thepolicy engine706 transmits thecollection agent704 to theclient machine10. In some embodiments, thepolicy engine706 requires another execution of thecollection agent704 after thecollection agent704 has transmittedinformation712 to thepolicy engine706. In some of these embodiments, thepolicy engine706 requires another execution of thecollection agent704 because thepolicy engine706 may haveinsufficient information712 to determine whether theclient machine10 satisfies a particular condition. In other embodiments, thepolicy engine706 requires a plurality of executions of thecollection agent704 in response to receivedinformation712.
In some embodiments, thepolicy engine706 transmits instructions to thecollection agent704 determining the type of information thecollection agent704 gathers from theclient machine10. In those embodiments, a system administrator may configure the instructions transmitted to thecollection agent704 from thepolicy engine706. This provides greater control over the type of information collected. This also expands the types of access control decisions that thepolicy engine706 can make, due to the greater control over the type of information collected. Thecollection agent704 gathersinformation712 including, without limitation, machine ID of theclient machine10, operating system type, existence of a patch to an operating system, MAC addresses of installed network cards, a digital watermark on the client device, membership in an Active Directory, existence of a virus scanner, existence of a personal firewall, an HTTP header, browser type, device type, network connection information such as internet protocol address or range of addresses, machine ID of theremote machine30, date or time of access request including adjustments for varying time zones, and authorization credentials.
In some embodiments, the device type is a personal digital assistant. In other embodiments, the device type is a cellular telephone. In other embodiments, the device type is a laptop computer. In other embodiments, the device type is a desktop computer. In other embodiments, the device type is an Internet kiosk. In still other embodiments, the device type is a game console.
In some embodiments, the digital watermark includes data embedding. In some embodiments, the watermark comprises a pattern of data inserted into a file to provide source information about the file. In other embodiments, the watermark comprises hashed data files to provide tamper detection. In other embodiments, the watermark provides copyright information about the file.
In some embodiments, the network connection information pertains to bandwidth capabilities. In other embodiments, the network connection information pertains to the Internet Protocol address of theclient machine10. In still other embodiments, the network connection information consists of the Internet Protocol address of theclient machine10. In one embodiment, the network connection information comprises a network zone identifying the logon agent to which theclient machine10 provided authentication credentials.
In some embodiments, the authorization credentials include a number of types of authentication information, including without limitation, user names, client names, client addresses, passwords, Personal Identification Numbers (PINs), voice samples, one-time passcodes, biometric data, digital certificates, tickets, etc. and combinations thereof. After receiving the gatheredinformation712, thepolicy engine706 makes an access control decision based on the receivedinformation712.
Referring now toFIG. 7B, a block diagram depicts one embodiment of apolicy engine706, including afirst component720, including acondition database722 and alogon agent724, and asecond component730, including a policy database732. Thefirst component720 applies a condition from thecondition database722 toinformation712 received aboutclient machine10 and determines whether the receivedinformation712 satisfies the condition.
In some embodiments, a condition may require that theclient machine10 execute a particular operating system to satisfy the condition. In other embodiments, a condition may require that theclient machine10 execute a particular operating system patch to satisfy the condition. In still other embodiments, a condition may require that theclient machine10 provide a MAC address for each installed network card to satisfy the condition. In some embodiments, a condition may require that theclient machine10 indicate membership in a particular Active Directory to satisfy the condition. In another embodiment, a condition may require that theclient machine10 execute a virus scanner to satisfy the condition. In other embodiments, a condition may require that theclient machine10 execute a personal firewall to satisfy the condition. In some embodiments, a condition may require that theclient machine10 comprise a particular device type to satisfy the condition. In other embodiments, a condition may require that theclient machine10 establish a particular type of network connection to satisfy the condition.
If the received information satisfies a condition, thefirst component720 stores an identifier for that condition in adata set726. In one embodiment, the received information satisfies a condition if the information makes the condition true. For example, a condition may require that a particular operating system be installed. If theclient machine10 has that operating system, the condition is true and satisfied. In another embodiment, the received information satisfies a condition if the information makes the condition false. For example, a condition may address whether spyware exists on theclient machine10. If theclient machine10 does not contain spyware, the condition is false and satisfied.
In some embodiments, thelogon agent724 resides outside of thepolicy engine706. In other embodiments, thelogon agent724 resides on thepolicy engine706. In one embodiment, thefirst component720 includes alogon agent724, which initiates the information gathering aboutclient machine10. In some embodiments, thelogon agent724 further comprises a data store. In these embodiments, the data store includes the conditions for which the collection agent may gather information. This data store is distinct from thecondition database722.
In some embodiments, thelogon agent724 initiates information gathering by executing thecollection agent704. In other embodiments, thelogon agent724 initiates information gathering by transmitting thecollection agent704 to theclient machine10 for execution on theclient machine10. In still other embodiments, thelogon agent724 initiates additional information gathering after receivinginformation712. In one embodiment, thelogon agent724 also receives theinformation712. In this embodiment, thelogon agent724 generates thedata set726 based upon the receivedinformation712. In some embodiments, thelogon agent724 generates thedata set726 by applying a condition from thedatabase722 to the information received from thecollection agent704.
In another embodiment, thefirst component720 includes a plurality oflogon agents724. In this embodiment, at least one of the plurality oflogon agents724 resides on each network domain from which aclient machine10 may transmit aresource request710. In this embodiment, theclient machine10 transmits theresource request710 to aparticular logon agent724. In some embodiments, thelogon agent724 transmits to thepolicy engine706 the network domain from which theclient machine10 accessed thelogon agent724. In one embodiment, the network domain from which theclient machine10 accesses alogon agent724 is referred to as the network zone of theclient machine10.
Thecondition database722 stores the conditions that thefirst component720 applies to received information. The policy database732 stores the policies that thesecond component730 applies to the receiveddata set726. In some embodiments, thecondition database722 and the policy database732 store data in an ODBC-compliant database. For example, thecondition database722 and the policy database732 may be provided as an ORACLE database, manufactured by Oracle Corporation of Redwood Shores, Calif. In other embodiments, thecondition database722 and the policy database732 can be a Microsoft ACCESS database or a Microsoft SQL Server database, manufactured by Microsoft Corporation of Redmond, Wash.
After thefirst component720 applies the received information to each condition in thecondition database722, the first component transmits thedata set726 tosecond component730. In one embodiment, thefirst component720 transmits only thedata set726 to thesecond component730. Therefore, in this embodiment, thesecond component730 does not receiveinformation712, only identifiers for satisfied conditions. Thesecond component730 receives thedata set726 and makes an access control decision by applying a policy from the policy database732 based upon the conditions identified withindata set726.
In one embodiment, policy database732 stores the policies applied to the receivedinformation712. In one embodiment, the policies stored in the policy database732 are specified at least in part by the system administrator. In another embodiment, a user specifies at least some of the policies stored in the policy database732. The user-specified policy or policies are stored as preferences. The policy database732 can be stored in volatile or non-volatile memory or, for example, distributed through multiple servers.
Using thepolicy engine706 as just described, an access control decision based upon information received about aclient machine10 is made. Upon receiving gathered information about theclient machine10, thepolicy engine706 generates a data set based upon the information. The data set contains identifiers for each condition satisfied by the receivedinformation712. Thepolicy engine706 applies a policy to each identified condition within thedata set726. That application yields an enumeration of resources which theclient machine10 may access. In some embodiments, the enumeration of resources includes an enumeration of levels of access to the resource. In one of these embodiments, a plurality of allowable actions associated with the resource is enumerated. In another of these embodiments, a plurality of methods of execution of the resource is enumerated. Thepolicy engine706 then presents that enumeration to theclient machine10. In some embodiments, as described above in connection withFIGS. 6A and 6B, thepolicy engine706 creates a Hypertext Markup Language (HTML) document used to present the enumeration to the client machine.
In some embodiments, thepolicy engine706 transmits the enumeration to a differentremote machine30. In one of these embodiments, theremote machine30 transmits the enumeration to theclient machine10. In another of these embodiments, theremote machine30 applies additional policies to the enumeration. In still another of these embodiments, the remote machine is an appliance such as an application gateway or a firewall. In some of these embodiments, thepolicy engine706 transmits an assigned level of action applicable to a requested resource to aremote machine30 functioning as a broker server. The broker server establishes, responsive to the assigned level of access, a connection between theclient machine10 and a computing environment providing the requested resource.
Referring now toFIG. 8, a flow diagram depicts one embodiment of the steps taken to provide access to a resource. In brief overview, a request for access to a resource is received (step802). A method for providing access to the resource is identified (step804). An application execution server may be selected to provide access to the resource (step806). A virtualized environment may be selected to provide access to a resource (step808). An application streaming service may be selected to provide access to the resource (step816). If the virtualized environment is selected to provide access to the resource, an execution machine is identified (step810). A virtual machine is selected (step812). The virtual machine is configured (step814). Access to the resource is provided (step818).
Still referring toFIG. 8, and in more detail, a request for access to a resource is received (step802). In one embodiment, aremote machine30 receives the request. In some embodiments, theremote machine30 is an intermediate broker server. In other embodiments, theremote machine30 is a gateway. In still other embodiments, theremote machine30 is a policy engine. In yet other embodiments, theremote machine30 is an appliance.
In one embodiment, theremote machine30 verifies that the user is authorized to access the resource. In still another embodiment, theremote machine30 receives with the request information verifying authorization for access by the user.
In one embodiment, theremote machine30 receives a request for an application program. In another embodiment, theremote machine30 receives a request for access to a file. In yet other embodiments, theremote machine30 receives a request for access to a computing environment. In one of these embodiments, the computing environment is a desktop environment from which theclient machine10 may execute application programs. In another of these embodiments, the computing environment provides access to one or more application programs. In some embodiments, theremote machine30 receives a request for access to a computing environment supported by a plurality of hardware requirements. In some embodiments, aremote machine30 functioning as deployment system receives a request for access to a resource, such as execution of an application program, from aclient machine10.
A method for providing access to the resource is identified (step804). In one embodiment, aremote machine30 consults a database to identify the method for providing access. In another embodiment, aremote machine30 consults a policy or rules database to identify the method for providing access. In still another embodiment, aremote machine30 receives from a policy engine an identification of a method to select.
For embodiments in which the resource is an application program, a policy may allow execution of the application program on theclient machine10. In another of these embodiments, a policy may enable theclient machine10 to receive a stream of files comprising the application program. In this embodiment, the stream of files may be stored and executed in an isolation environment on the client. In still another of these embodiments, a policy may allow execution of the application program only on a remote machine, such as an application server, and require the remote machine to transmit application-output data to theclient machine10. In yet another of these embodiments, a policy may allow execution of the application program only in a computing environment hosted on a virtual machine. In either of these cases, a stream of files comprising the application programs may be sent to the remote machine.
For embodiments in which the resource is a computing environment, a policy may allow installation of the computing environment on theclient machine10. In another of these embodiments, a policy may enable theclient machine10 to access a copy of the computing environment executing in a virtual machine on aremote machine30. In still another of these embodiments, a policy may forbid the user of theclient machine10 to access the requested computing environment and offer an alternative computing environment.
For embodiments in which the resource is a computing environment supported by a plurality of hardware resources, a policy may enable theclient machine10 to access a copy of the computing environment executing in a virtual machine, which in turn executes on a hypervisor providing access to the requested plurality of hardware resources. In still another of these embodiments, a policy may forbid the user of theclient machine10 to access the requested computing environment and offer a computing environment supported by an alternative plurality of hardware resources.
Theremote machine30 may choose to provide access to an application execution server which provides access to a requested application program (step806). The application execution server executes the application program and transmits application output data to theclient machine10. The application execution server may transmit the application output data over a presentation layer protocol, such as X11, VNC, ICA, or RDP.
Referring back to step804, theremote machine30 may choose to provide access to an application streaming service capable of transmitting a requested application program to the client machine10 (step816) for execution. Embodiments of application streaming services are described in greater detail below.
Referring back to step804, theremote machine30 may choose to respond to the client's request by allowing access to a computing environment provided by a virtual machine, the computing environment providing access to the requested resource (step808). The computing environment may be provided by a virtual machine launched into a hypervisor executing on aremote machine30′. In other embodiments, theremote machine30 determines to provision on theclient machine10 a virtual machine providing access to the computing environment.
In embodiments where aremote machine30 determines to provide access to the requested resource via a virtualized environment, theremote machine30 identifies an execution machine providing access to a computing environment requested by the client machine10 (step810). In one of these embodiments, theremote machine30 identifies an execution machine capable of hosting the computing environment. In another of these embodiments, theremote machine30 determines that the user requesting access to the computing environment lacks authorization to access the requested computing environment. Theremote machine30 may identify an alternative computing environment which the user is authorized to access. In still another of these embodiments, theremote machine30 identifies an execution machine on which a hypervisor provides access to a requested plurality of hardware and in which the requested computing environment may execute.
In other embodiments, theremote machine30 is an execution machine capable of hosting the computing environment. In some of these embodiments, the computing environment is installed on the execution machine. In others of these embodiments, a hypervisor on the execution machine emulates a plurality of hardware resources required by the requested computing environment and the computing environment is launched in the hypervisor.
In some embodiments, theremote machine30 identifies aremote machine30′ functioning as an execution machine capable of providing access to the computing environment supported by a requested plurality of hardware resources. In one of these embodiments, theremote machine30′ functions as an execution machine on which a hypervisor emulating the requested plurality of hardware resources executes and on which a computing environment supported by the hypervisor executes.
In some embodiments, an execution machine providing hardware resources, physical or virtual, capable of supporting a particular virtual machine is identified responsive to a load-balancing determination. In one of these embodiments, the execution machine is selected responsive to load-balancing information maintained by amanagement server30. In some embodiments, themanagement server30 is a single machine. In still other embodiments, severalremote machines30 may be capable of acting as a management server, but only one of such nodes is designated the management server. In some embodiments, a client request is directed to themanagement server30 in the first instance. In other embodiments, aremote machine30 queries themanagement server30 to determine the identity of a suitable execution machine.
The master networkinformation server node30 maintains a table of addresses for theremote machines30′,30″. In addition, the master networkinformation server node30 receives messages from theremote machines30′,30″ indicating their level of activity, which may comprise CPU load or may comprise an identification of the number of a virtual machines currently hosted by aremote machine30′,30″. The level of activity of theremote machines30′,30″ is maintained in a table along with the address of each of theremote machines30′,30″.
For embodiments, in which asingle management server30 is used, it is desirable to dynamically select a master networkinformation server node30 from the availableremote machines30 on the network. In this way, if theactive management server30 fails, anew management server30 may be selected as soon as the failure of theprevious management server30 is detected. In one embodiment amanagement server30 is selected by an election process among theremote machines30.
In one embodiment, any machine (client machine10 or remote machine30) may force an election at any time by broadcasting a request election datagram to themachine farm38. The election results are determined by a comparison of the set of election criteria which is transmitted within the request election datagram transmitted by the requesting node with the set of election criteria maintained on each receiving node. That is, the first election criterion from the datagram of the requesting node is compared by the receiving node to the first criterion of the receiving node. The highest ranking of the two criteria being compared wins the comparison and the node with that criterion wins the election. If the two criteria tie, then the next criteria are sequentially compared until the tie is broken. If aremote machine30 receiving the request election datagram has a higher election criterion than that received in the request election datagram, theremote machine30 receiving the request election datagram issues its own request election datagram. If the receivingremote machine30 has a lower election criteria than the criteria received in the request election datagram, the receivingremote machine30 determines it is not the master network information server node and attempts to determine whichremote machine30 in themachine farm38 is themanagement server30.
In one embodiment the criteria which determine the outcome of the election include: whether or not the node is statically configured as a master network information server node; whether theremote machine30 has the higher master network information server software version number; whether theremote machine30 is an NT domain controller; whether theremote machine30 is the longest running node; and whether theremote machine30 has a lexically lower network name. In one embodiment, the datagram structure for the election request includes an unsigned shortword for the server version number, an unsigned shortword in which the bits are flags which designate whether the node is statically configured as a master network information server node, or is executing on a NT domain controller and an unsigned longword containing the amount of time the server has been running.
Periodically, themanagement server30 transmits a declare message to the otherremote machines30 declaring itself to be themanagement server30. If anotherremote machine30 believes itself to be amanagement server30, the otherremote machine30 will request an election. In this way erroneous master networkinformation server nodes30 of the same protocol are detected and removed. In addition an election will also be requested: by anyremote machine30 when thatremote machine30 reboots; by anyremote machine30 to whom the master network information server node has failed to acknowledge an update message; or anyclient machine10 to whom the master networkinformation server node30 has failed to respond to a request for information.
In more detail and referring toFIG. 9, once any remote machine30 (which may be referred to as a node) broadcasts a request election datagram requesting an election (Step920), theremote machine30 receiving the request election datagram (Step924) first compares its election criteria to the criteria in the request election datagram (Step930) to determine if the receivingremote machine30 has higher criteria (Step934). If theremote machine30 receiving the datagram has lower election criteria (Step938) than the criteria contained in the request election datagram, theremote machine30 receiving the request election datagram drops out of the election process and awaits the results of the election (Step938).
If theremote machine30 receiving the request election datagram has higher election criteria than that contained in the request election datagram, then theremote machine30 receiving the request election datagram broadcasts its own request election datagram containing the remote machine's own election criteria (Step940). If in response to the transmission of the request election datagram by the secondremote machine30, anotherremote machine30′ responds with a request election datagram with even higher election criteria, then the secondremote machine30 drops out of the election and theremote machine30′ with higher criteria broadcasts it's own request election datagram. If no otherremote machine30 responds with higher election criteria, the node which has apparently won the election for master network information server node sends n more election requests, (in one embodiment three requests) (Step956) and then if still no otherremote machine30 responds with higher election criteria, theremote machine30 which has sent the n election requests is thenew management server30.
After the election has occurred and thenew management server30 has been determined, all theremote machines30 send all of their configured gateway addresses to the new networkinformation server node30. In this way thenew management server30 becomes a gateway node.
Referring again toFIG. 1, once themanagement server30 is elected, theremote machines30 send update datagrams to the masternetwork information server30 providing information about eachremote machine30 transmitting the update datagram. In one embodiment, the update datagram sent to the master networkinformation server node30 from aremote machine30 includes: theremote machine30 name; the network address; the cluster name; the network transport protocol; the total number ofremote machines30 configured with this transport; the number of ports available for connection with a client using this transport protocol; the total number of users permitted to be active at one time; number of available user slots; and server load level. Upon receipt of the update datagram, the master networkinformation server node30 returns an acknowledgment to theremote machines30 that transmitted the update datagram indicating that the update datagram was received. If theremote machine30 transmitting the update datagram does not receive an acknowledgment from the master networkinformation server node30, the transmittingremote machine30 assumes that the master networkinformation server node30 has failed and transmits an election request.
In more detail and referring toFIG. 10, aremote machine30, after the election of amanagement server30, waits a random period of time and then sends a datagram to themanagement server30 with its latest load information (Step1000). In one embodiment the delay is between four and six seconds. If themanagement server30 receives (Step1008) an update datagram from aremote machine30, then the master networkinformation server node30 replies to the transmittingremote machine30 with an acknowledgment (Step1010) and forwards the data to anyremote machine30 configured as a gateway node. If the masternetwork information server30 fails to receive data from a remote machine30 (Step1008), then the masternetwork information server30 discards the old data from theremote machine30 after a predetermined amount of time (Step1020).
If theremote machine30 does not receive an acknowledgment from the master networkinformation server node30 after theremote machine30 has sent an update datagram (Step1028), theremote machine30 retransmits the update datagram. Theremote machine30 will attempt n retransmits (in one embodiment three) before it assumes that the masternetwork information server30 has failed and then transmits an election request (Step1030). If theremote machine30 receives an acknowledgment, then it periodically updates the master networkinformation server node30, in one embodiment every 5 to 60 minutes (Step1040).
In some embodiments, a remote machine's participation in the activities just described is controlled by a virtual machine executing in the hypervisor rather than by an operating system.FIG. 11 is a block diagram depicting one embodiment of amachine farm38 including a first and second network management processes. The firstnetwork management process1110 executes in a native operating system1105 (such as WINDOWS NT) and accesses a native memory element storing (i) a data table and (ii) at least one election criteria for allowing the firstnetwork management process1110 to be dynamically selected as a management process, the data table having an entry for each of said at least two network management processes. The second network management process1120 executes in avirtualized operating system1115 and accesses a virtualized memory element storing (i) a data table and (ii) at least one election criteria for allowing the second network management process1120 to be dynamically selected as the management process, the data table having an entry for each of said at least two network management processes. Theclient machine10 communicates with the one of the firstnetwork management process1110 and the second network management process1120 selected as the management process and receives from the management process an address of aremote machine30 with which to communicate. In some embodiments, a plurality ofclient machines10 is in communication with a master network information process.
The firstnetwork management process1110 executes in anative operating system1105. The second network management process1120 executes in avirtualized operating system1115. In one embodiment, the at least two network management processes are grouped into clusters. In another embodiment, one of the at least two network processes is a gateway process. In still another embodiment, the gateway process is a master network management process. In some embodiments, the master network management process is selected by a process comprising the steps of (a) broadcasting an election datagram to the at least two network management processes, the election datagram comprising election criteria; and (b) selecting a master network management process in response to the election criteria. In one of these embodiments, the master network management process broadcasts a declare datagram to detect multiple master network management processes using the same transport protocol. In another of these embodiments, the master network management process is selected by a process that occurs after an event selected from the group of events consisting of: a system reboot, a master network management process failing to respond to a datagram sent from a network management process, a master network management process failing to respond to a request from a client machine, detection of at least two master network management processes configured with the same transport, and a new network management process appearing on said network.
In one embodiment, the management process is elected as described above in connection withFIGS. 9 and 10.
In some embodiments, the network includes a third network management process using a different network transport protocol from the first network management process. In one of these embodiments, the third network management process comprises a master network management process for the different network transport protocol.
For embodiments in which machine farm management is decentralized, eachremote machine30 may include a load management subsystem (LMS) providing a load management capability. In general, the LMS manages overall server and network load to minimize response time to client requests.
In some embodiments, an apparatus for selecting a server from a network plurality of servers to service a client request comprises a plurality of network management processes. In one of these embodiments, each of said plurality of network management processes includes an event bus and a subsystem in communication with the event bus. In another of these embodiments, a first one of the plurality of network management processes receives from a client machine a request for access to a computing resource and sends the client request to a second one of the plurality of network management processes. In still another of these embodiments, the second one of the plurality of network management processes executes in a virtualized operating system and comprises a dynamic store and a load management subsystem.
The dynamic store loads information associated with at least some of the plurality of network management processes in a virtualized memory element. In some embodiments, the dynamic store contains information relating to server processor load. In other embodiments, the dynamic store contains information relating to server input/output transaction load.
The load management subsystem (i) receives, via said event bus, a request to identify a server for servicing a client request, (ii) retrieves from said dynamic store the loading information, (iii) chooses, based on the retrieved loading information, one of the plurality of servers for servicing the client request, and (iv) transmits, via said event bus, a message including information identifying the chosen server. In some embodiments, the load management subsystem stores run-time information in the dynamic store at predetermined intervals. In other embodiments, the apparatus further includes a persistent store, the load management subsystem in communication with the persistent store via the event bus, the persistent store containing an identification of at least one rule to be used to manage server load.
In one embodiment, the LMS is rule-based, and an administration tool can be used to modify or create rules for managing server load. A rule is one or more criteria that influences how a LMS will direct requests. Rules may be individualized to a specificremote machine30. Rules can also be individualized to a specific application or computing environment on a per-server basis. That is, one or more rules may be associated with a copy of an application or a computing environment residing on a firstremote machine30 in themachine farm38 and different rules may be associated with a copy of the same application or computing environment residing on a secondremote machine30 in amachine farm38. The output of rules individualized to a specific application may be combined with the output of general server rules to direct a client request.
Rules use the output from one or more operational meters. Operational meters may measure any aspect of server performance and the result is used by rules to help determine whichremote machine30 is most appropriate to service a client request. For example, operational meters may measure: processor load; context switches; memory usage; page faults; page swaps; transmission rate of input/output reads or writes; number of input/output operations performed or number of virtual machines hosted. In one embodiment, operational meters are used by a LMS to measure server performance during the occurrence of certain events such as a request for a client connection. In another embodiment, operational meters are used by a LMS to measure server performance at predetermined intervals, which may be configured by an administrator. A LMS on eachremote machine30 in themachine farm38 evaluates various performance metrics for theremote machine30 for each predetermined period of time and stores that information in the dynamic store. For example, every thirty seconds, an evaluation of server load may include a query to operational meters for server's CPU utilization and memory utilization. The results from the query will be used, in conjunction with other applicable load factors, to calculate a load number for this server load. The new load number is then sent to the dynamic store.
Rules and operational meters are, in one embodiment, executable code modules that query specific system conditions, resources, and performance metrics forremote machines30 in themachine farm38. Some of the rules accept user-configurable parameters that are entered by the administrator via the administration tool. Rules may be provided to the LMS using a dynamic link library (“DLL”), and the rules and rule parameters applicable to a specific server may be stored in the persistent store. That is, the administrator's selection of rules is stored, together with a weighting factor and applicable settings associated with those rules, in the persistent store. For example, some operational meters may measure load at a predetermined interval; the predetermined interval may be set by the administrator.
Examples of conditional rules that may be used by the LMS to determine to whichremote machine30 to direct a request include: whether the number ofclient machines10 that may connect to aremote machine30 is limited; whether the number of client sessions that may be serviced by aremote machine30 is limited; whether the number of virtual machines that may be hosted by aremote machine30 is limited; the number of application or connection licenses available to aremote machine30; whether the application requested by theclient machine10 is currently executing on theremote machine30; whether a client is physically proximate to, or is connected by a high bandwidth link to, a server; and whether a client request is being made during a time period for which theremote machine30 is available to service client requests.
A set of rules may be grouped together by the group subsystem300 to form a load evaluator associated with a particular server or a particular application. A server load evaluator is a load evaluator that applies to all applications published on the server. An application load evaluator is a load evaluator that encapsulates rules specific to certain applications. In one embodiment, loads for published application programs are the sum of a server load evaluator and an application load evaluator. The load evaluator associated with a particular server may be stored in the persistent store230. When a LMS initializes, it queries persistent store230 to determine whether a load evaluator is associated with theremote machine30 on which the LMS resides. If so, the rules and operational meters are loaded and the LMS begins using those elements of the load evaluator. The outputs of the constituent parts of the load evaluator are combined to calculate composite indicia of the load on particular servers, and each LMS stores the results of its load evaluator in dynamic store. Each rule encapsulated in a load evaluator may have a configurable weighting factor. Many rules have user-configurable parameters that control the way LMS loads are calculated. For example, in one embodiment, a CPU Utilization rule has two parameters: Report Full Load when processor utilization is greater than X-percent; report no load when processor utilization is less than X percent. In one particular embodiment, the load reported by a load evaluator equals the sum of each rule's load times each rule's weight.
In another example, aremote machine30 that hosts four applications may have three load evaluators with which it is associated. The server itself and a first application may by associated with a first load evaluator, the second and third applications may be associated with a second load evaluator, and the fourth application may be associated with a third load evaluator. When theremote machine30 boots, it read the first, second, and third load evaluators from the persistent store230. Periodically (or perhaps after certain events) theremote machine30 calculates the output for each of the load evaluators and sends those values to the dynamic store. When a connection request is received, those values are used to determine if theremote machine30 should service a client request.
For example, using operational meters the LMS can obtain information about the processor load on a particularremote machine30, the memory load on thatremote machine30, and the network load of thatremote machine30. The LMS combines these results to obtain an overall load number that indicates the total aggregate load on thatremote machine30. In determining the aggregate load, the load evaluator may weight each piece of information differently. For embodiments in which a rule is associated with aremote machine30, the rule may disqualify aremote machine30 from servicing a client request. For example, a rule may limit the number of client sessions aremote machine30 may initiate. In this embodiment, if aremote machine30 is currently servicing the maximum number of client sessions allowed by the rule, it will not be chosen by the LMS to service a new client request, even if the outputs of its operational meters indicate that it is the most favorableremote machine30 to which to route the client request.
Referring back toFIG. 8, after an execution machine has been selected, a virtual machine providing a requested computing environment is identified (step812). In some embodiments, declarative policies such as rules databases, policy databases or scripts are consulted to direct requests to a virtual machine. In other embodiments, aremote machine30 functioning as an application server hosting a plurality of virtual machines is identified. In one of these embodiments, one of the plurality of virtual machines hosted by the application server may be selected and associated with theclient machine10. In another of these embodiments, an identifier for the selected virtual machine may be transmitted to theclient machine10.
In some embodiments, a session management component identifies the virtual machine. In one of these embodiments, anintermediate machine30 receiving the request invokes a session management component. In another of these embodiments, the intermediate machine launches the session management component in a terminal services session executing on the intermediate machine. In still another of these embodiments, the intermediate machine launches the session management component in a terminal services session executing on the identified execution machine.
In one embodiment, the session management component provides functionality for identifying a location of a virtual machine providing access to a computing environment. In still another embodiment, the session management component is provided as a program module published on a server, such as an application server. In yet another embodiment, the session management component identifies, launches, and monitors virtual machines.
In some embodiments, the session management component communicates with a virtual machine management component to identify a virtual machine. In one of these embodiments, the virtual machine management component provides functionality for locating virtual machines. In another of these embodiments, the virtual machine management component provides functionality for allocating an available virtual machine to a user from a plurality of available virtual machines. In still another embodiment, the virtual machine management component provides functionality for reallocating shared virtual machines to the plurality of available virtual machines. In yet another embodiment, the virtual machine management component provides functionality for tracking a state associated with a virtual machine for each virtual machine in a plurality of virtual machines.
Referring now toFIG. 12, a block diagram depicts one embodiment of a virtualmachine management component1200. In one embodiment, the virtualmachine management component1200 provides functionality for accessing and updating a database including a virtual machine catalog. In another embodiment, the virtualmachine management component1200 provides functionality for allowing an administrator or virtual machine provisioning system to add, remove, or modify entries in the database including a virtual machine catalog. In some embodiments, the virtualmachine management component1200 includes a virtual machine providing administrative functionality. In other embodiments, thevirtual machine component1200 includes a virtual machine providing management functionality.
In some embodiments, the virtualmachine management component1200 may receive a request from a provisioning system or from a session management component. In one of these embodiments, a provisioning system contacts the virtualmachine management component1200 when a virtual machine is created or destroyed. In another of these embodiments, the session management component contacts the virtualmachine management component1200 when the session management component is invoked to request a virtual machine to launch. In still another of these embodiments, the session management component contacts the virtualmachine management component1200 when the session management component identifies a change in a state of a launched virtual machine. The session management component may send messages, such as heartbeat messages, to the virtualmachine management component1200 while a virtual machine is active. If the virtual machine may be accessed by more than one user, the virtualmachine management component1200 may reassign the virtual machine to the plurality of available virtual machines after a user has terminated a session with the virtual machine.
In some embodiments, virtual machines of the same machine type may be categorized into a plurality of standard operating environments (SOE). In one of these embodiments, an SOE may be a group of virtual machine images of a particular configuration that implement the function of a particular Machine Type, e.g. a machine type “C++ Developer Workstation” may have one SOE containing images with WinXP Pro SP2 with Visual Studio 2003 installed and another SOE containing images with Win Vista with Visual Studio 2005 installed.
In other embodiments, the virtualmachine management component1200 may provide functionality for one or more of the following actions related to a standard operating environment (an SOE): creating an SOE, updating an SOE, deleting an SOE, finding an SOE, and retrieving an SOE. In still another embodiment, the virtualmachine management component1200 may provide functionality for one or more of the following actions related to virtual machines: create a virtual machine, update a virtual machine, delete a virtual machine, find a virtual machine, and assignment to or removal from a standard operating environment.
A machine type may refer to a non-technical description of a computing environment provided by a virtual machine. Some examples of machine types are “C++ Developer Workstation” or “Secretarial Workstation.” Many virtual machines may be grouped in a single machine type. In one embodiment, the virtualmachine management component1200 may provide functionality for one or more of the following actions related to machine types: creating machine types, updating a machine type, deleting a machine type, finding a machine type, and retrieving a machine type.
In some embodiments, the virtualmachine management component1200 may provide functionality for creating virtual machines. In one of these embodiments, an administrator or provisioning service creates a new machine type in a database of virtual machines. The machine type is given a meaningful name such as “HR Manager Workstation.” In one embodiment, the machine type name is the name for a class of standard operating environment (SOE) rather than a specific SOE, and multiple SOEs may be assigned to the machine type name. In another embodiment, the machine type may be used to publish the class of virtual machines.
In another of these embodiments, a standard operating environment (SOE) is created for the machine type and assigned to the machine type in the database of virtual machines. In one embodiment, the SOE is a virtual machine with a specific hardware and software configuration. A snapshot of the SOE virtual machine may be taken and used as a template for virtual machine clones. In one embodiment, clones of the SOE virtual machine are assigned to users.
In one embodiment, an administrator clones an SOE for use by users by creating linked clones of the snapshot of the SOE virtual machine. The linked clone virtual machines may be created in consecutively numbered subfolders in the SOE folder. The linked clones of the SOE may be assigned to the SOE in the database of virtual machines.
In another embodiment, an administrator updates a machine type by creating a new SOE, and new linked clones of the SOE. The administrator updates an SOE pointer within a machine type record in the database of virtual machines to point to the new SOE, and marks the old SOE as being superseded. The administrator may create the new SOE by creating a new virtual machine and installing the software, or by creating a full clone of an existing SOE and updating it. As an example the administrator could create a new virtual machine and install Microsoft Windows XP Professional, followed by Windows XP SP1, followed by Microsoft Office 2003, or the administrator could have taken a full clone of an existing SOE with Windows XP and Microsoft Office 2003 already installed, and installs Windows XP SP1 to achieve the same SOE. The new SOE may be created in a new SOE folder and a new SOE record is created in the database of virtual machines. Linked clones of the superseded SOE can be deleted when users have finished with them and the superseded SOE can be deleted when all linked clones have been deleted.
In some embodiments, a virtual machine may be designated as a shared virtual machine. In one of these embodiments, a shared virtual machine is an instance of a virtual machine image that is designated for use by multiple users. In another of these embodiments, the shared virtual machine is used by one user at a time and returned to a pool of available virtual machines when not in use. In still another of these embodiments, as the image of a shared virtual machine is executed, users may change the image but may not persist any changes to the image once it is shutdown. In this embodiment, all changes are discarded when the image is shutdown or a user terminates a session.
In other embodiments, a virtual machine may be designated as a private virtual machine. In one of these embodiments, a private virtual machine is an instance of a virtual machine image that is designated for use by a specific user. Only that user may be allocated to the image, launch the image, or execute the image. In another of these embodiments, private images will be configured to permit changes to be persisted when the image is shutdown. In still another of these embodiments, changes may be configured to be discarded upon image shutdown as per shared images, depending on the requirements of the user.
In some embodiments, a session management component is launched and identifies a virtual machine. In one of these embodiments, the session management component transmits an identification of a user and a virtual machine type identified responsive to a request for access to a resource to the virtualmachine management component1200. In another of these embodiments, the session management component requests an identification of a specific virtual machine to launch. In still another of these embodiments, the session management component requests an identification of a location of the configuration and virtual disk files of the identified virtual machine.
In some embodiments, a virtual machine is identified responsive to the received identification of the user of the requesting machine. In other embodiments, a virtual machine is identified responsive to a request by the user for a type of virtual machine. In still other embodiments, a virtual machine is identified responsive to a request by the user for a type of computing environment.
In some embodiments, the virtualmachine management component1200 transmits to the session management component an identification of a specific virtual machine to launch. In one of these embodiments, the session management component then proceeds to launch the virtual machine. In another of these embodiments, the virtual machine management component launches the virtual machine.
In other embodiments, the virtual machine management component transmits to the session management component an identification of a plurality of virtual machines to launch. In one of these embodiments, the session management component may present an enumeration of available virtual machines to a user. In another of these embodiments, the session management component receives a selection of a virtual machine from the enumeration of available virtual machines and the session management component launches the selected virtual machine. In still other embodiments, the virtual machine management component transmits to the session management component an indication that no virtual machines are available for the user requesting the access. In yet other embodiments, the virtualmachine management component1200 transmits to the session management component an indication that an existing, executing virtual machine has now been allocated to the user.
In yet other embodiments, the virtual machine management component transmits to the session management component an identification of an available virtual machine responsive to accessing a database storing information associated with a plurality of virtual machines, the information including, but not limited to, an identification of the plurality of virtual machines, an identification of a location of files associated with the plurality of virtual machines, an identification of an access control list associated with the plurality of virtual machines, and an indication of availability of the plurality of virtual machines.
In one embodiment, when a virtual machine has been identified as a machine to launch, the virtualmachine management component1200 modifies an access control list associated with the virtual machine responsive to the identification of the user received from the session management component in the initial request. In another embodiment, the virtualmachine management component1200 modifies the access control list to allow the virtual machine to be launched for the user. In still another embodiment, the virtualmachine management component1200 transmits additional information associated with the virtual machine to the session management component. The additional information may include network share details relating to a folder storing files associated with the virtual machine. In yet another embodiment, the session management component uses the additional information to map the folder to a mount point, such as a drive letter, in the virtual machine.
In some embodiments, virtual machine images—configuration and data files comprising the virtual machine—are stored on a storage area network. In other embodiments, virtual machine images are stored in network attached storage. In one of these embodiments, a file server in communication with the storage area network makes the virtual machine images accessible as if they were located on network attached storage.
Referring back toFIG. 8, an identified virtual machine is configured (step814). In brief overview, an execution machine identified by the intermediate machine executes a hypervisor emulating hardware resources required by the requested computing environment. A session management component launches a configured virtual machine in the hypervisor. Configuration occurs of the virtual machine for aparticular client machine10. A connection is established between the client machine and the virtual machine.
Referring now toFIG. 13, a block diagram depicts one embodiment of asession management component1300 in a system providing access to a computing environment by an intermediate machine to a requesting machine. In brief overview, thesession management component1300 includes anidentification component1302, anexecution component1304, and a management component1306.
Theidentification component1302 is in communication with a virtual machine management component and receives an identification of a virtual machine providing a requested computing environment. In some embodiments, theidentification component1302 is in communication with the virtualmachine management component1200. In one embodiment, theidentification component1302 receives an identification of anexecution machine30′ into which to launch the virtual machine. In some embodiments, theidentification component1302 identifies an execution machine on which a required hypervisor executes and into which to launch the virtual machine. In other embodiments, theidentification component1302 receives an identification of the execution machine. In one of these embodiments, theidentification component1302 receives the identification from theintermediate machine30.
In some embodiments, theidentification component1302 further comprises a transceiver. In one of these embodiments, the transceiver in theidentification component1302 receives an identification of a user of the requesting machine and transmits the identification of the user to the virtual machine management component. In another of these embodiments, the transceiver receives an identification by a user of a type of computing environment requested and transmits the identification to the virtualmachine management component1200. In still another of these embodiments, the transceiver receives an identification by a user of a type of virtual machine requested and transmits the identification of the type of virtual machine requested to the virtualmachine management component1200.
In some embodiments, theidentification component1302 receives an identification of a virtual machine providing a requested computing environment, the virtual machine selected responsive to a received identification of a user of the requesting machine. In other embodiments, theidentification component1302 receives an identification of a virtual machine providing a requested computing environment, the virtual machine selected responsive to a received identification of a type of computing environment requested. In other embodiments, theidentification component1302 receives an identification of a virtual machine providing a requested computing environment, the virtual machine selected responsive to a received identification of a type of virtual machine requested.
Theexecution component1304 launches the virtual machine into a hypervisor. In one embodiment, the hypervisor executes on anexecution machine30′. In another embodiment, theexecution component1304 is in communication with the identification component. In still another embodiment, theexecution component1304 receives from theidentification component1302 an identification of anexecution machine30′ executing a hypervisor into which to launches the virtual machine. In yet another embodiment, theexecution component1304 launches the virtual machine into a hypervisor emulating hardware resources required to support the computing environment. In some embodiments, a virtual machine service component executes in the hypervisor. In other embodiments, a virtual machine service component executes in a guest operating system provided by a virtual machine executing in the hypervisor. In one of these embodiments, the virtual machine service component is in communication with thesession management component1300 and receives configuration information associated with theclient machine10.
The management component1306 establishes a connection between the requesting machine and the virtual machine and manages the connection. In one embodiment, the management component1306 provides an internet protocol address associated with the virtual machine to the user of the requesting machine. In another embodiment, the management component1306 provides an internet protocol address associated with an execution machine to the user of the requesting machine. In still another embodiment, the management component1306 provides a proxy for communication between the requesting machine and the virtual machine. In yet another embodiment, the management component1306 establishes a connection between the requesting machine and the virtual machine using a presentation layer protocol.
Although described above as separate functional entities, it should be understood that theidentification component1302, theexecution components1304 and the management component1306 may be provided as a single functional unit or the functions provided by those components may be grouped into two or more components.
In some embodiments, thesession management component1300 establishes and manages a user's virtual machine session. In one of these embodiments, thesession management component1300 provides functionality for, without limitation, locating a virtual machine, launching a hypervisor, launching a virtual machine in the hypervisor, connecting a user to the virtual machine, and managing the established connection. In another of these embodiments, thesession management component1300 publishes a plurality of available virtual machines. In still another of these embodiments, thesession management component1300 provides, without limitation, enumeration into client drives, mapping of client drives to shared folders on the virtual machine, monitoring of the hypervisor, monitoring of an operating system provided by the virtual machine, and a virtual machine control panel to the user.
In one embodiment, thesession management component1300 provides a virtual machine control panel to the user. The virtual machine control panel may enable a user to switch to the virtual machine, power off the virtual machine, reset the virtual machine, or suspend the virtual machine. In some embodiments, thesession management component1300 provides the virtual machine control panel only to users authorized to access the functionality of the virtual machine control panel.
In some embodiments, a virtual machine service component executes in the hypervisor. In one of these embodiments, the virtual machine service component is in communication with thesession management component1300 and receives configuration information associated with theclient machine10. In another of these embodiments, thesession management component1300 creates a connection to the virtual machine service component, such as a TCP/IP connection, and communicates with the virtual machine service component over the created connection. In still another of these embodiments, thesession management component1300 transmits information associated with theclient machine10, such as initialization parameters or client monitor geometry, to the virtual machine service component.
In some embodiments, thesession management component1300 identifies a folder containing an image of the identified virtual machine. In one of these embodiments, the folder contains configuration and data files comprising the virtual machine. In another of these embodiments, thesession management component1300 mounts the folder in the execution machine prior to launching the virtual machine. In still another of these embodiments, thesession management component1300 copies definition data files associated with the virtual machine onto the execution machine. Thesession management component1300 may copy the definition data files back into the identified folder when a session is completed. In yet another of these embodiments, the configuration and data files are streamed to the execution machine, as described below.
In other embodiments, thesession management component1300 enumerates in the virtual machine a plurality of drives associated with theclient machine10. In one of these embodiments, thesession management component1300 creates a folder associated with each drive in the plurality of drives. In another of these embodiments, thesession management component1300 stores a folder associated with a drive in the plurality of drives in the mounted folder containing the identified virtual machine. In still another of these embodiments, an enumeration of the stored folder associated with the drive is provided to a user of theclient machine10. In some embodiments, a protocol stack located in the hypervisor or in the guest operating system enables drive mapping through other techniques, including techniques enabled by presentation layer protocols.
Referring now toFIG. 14, a block diagram depicts one embodiment of a system in which a drive associated with theclient machine10 is made available to a computing environment. In brief overview, theclient machine10 has a connection (1) to an execution machine and a connection (2) to a plurality of drives available to a user of theclient machine10.
Thesession management component1300 creates a folder associated with each drive in the plurality of drives (3). In one embodiment, thesession management component1300 stores the created folder associated with a drive in the plurality of drives in avirtual machine folder1002, the mounted folder containing configuration and data files associated with the identified virtual machine. In another embodiment, thesession management component1300 generates a list of shared folders stored in thevirtual machine folder1002.
Thesession management component1300 notifies the virtual machine service component of the change to the virtual machine folder1002 (4). In some embodiments, thesession management component1300 responds to changes in the client device by rebuilding a shared folder list in thevirtual machine folder1002. In one of these embodiments, thesession management component1300 receives an identification of a modification to the drive associated with theclient machine10. In another of these embodiments, thesession management component1300 transmits a notification to the virtual machine service component identifying the change to thevirtual machine1002.
For each folder associated with a drive in thevirtual machine folder1002, the virtual machine service component provides an indication of a mapped client drive to the virtual machine (5). In one embodiment, the virtual machine service component associates the mapped client drive with a drive letter on the virtual machine. In another embodiment, the virtual machine service component monitors for changes to the shared folder list in thevirtual machine folder1002. In some embodiments, an enumeration of the stored folder associated with the drive is provided to a user of theclient machine10.
In some embodiments, thesession management component1300 enumerates in the virtual machine a plurality of printers associated with theclient machine10. In one of these embodiments, thesession management component1300 accesses a printer service to acquire an authorization level required to enumerate a printer in the plurality of printers.
In one embodiment, a printer associated with theclient machine10 is shared as a network printer and made accessible to the virtual machine as a network resource. In another embodiment, the virtual machine generates printer output using the TCP/IP and LPR protocols, and this output is intercepted and transmitted to the printer associated with theclient machine10. In still another embodiment, the virtual machine transmits printer output to a virtualized hardware resource provided by the hypervisor, such as a COM port on the virtual machine. The output is captured and transmitted to the printer associated with theclient machine10. In yet another embodiment, a hypervisor may provide access to a virtual printer or printer port.
Referring back toFIG. 8, as part of the configuration process, an execution machine identified by the intermediate machine executes a hypervisor emulating hardware resources required by the requested computing environment. In one embodiment, the hypervisor executes on the intermediate machine. In another embodiment, the hypervisor executes in a terminal services session executing on the intermediate machine. In still another embodiment, the hypervisor executes on the execution machine. In yet another embodiment, the hypervisor executes in a terminal services session executing on the execution machine. In some embodiments, the hypervisor may be executed on theclient machine10.
In one embodiment, the hypervisor provisions a plurality of hardware resources on the execution machine for use by the requested computing environment. In another embodiment, the hypervisor partitions a plurality of hardware resources on the execution machine and makes the partition available for use by the requested computing environment. In still another embodiment, the hypervisor emulates a plurality of hardware resources on the execution machine for use by the requested computing environment. In yet another embodiment, the hypervisor may partition hardware resources, emulate hardware resources, or provision hardware resources, or all three. For example, a hypervisor may emulate a device (such as a graphics card, network card, and disk), partition the (execution time) of the CPU, and virtualize registers, storage, and underlying devices which they use to fulfill operations on their emulated hardware (such as RAM, and network interface cards).
In some embodiments, thesession management component1300 executes the hypervisor. In one of these embodiments, thesession management component1300 executes the hypervisor in full-screen mode. In other embodiments, thesession management component1300 monitors execution of the hypervisor. In one of these embodiments, thesession management component1300 transmits a notification to the virtualmachine management component1200 that the virtual machine has terminated when thesession management component1300 receives an indication that a virtual machine executing in the hypervisor has terminated. In another of these embodiments, thesession management component1300 receives a notification when the user logs out of a session.
In some embodiments, the hypervisor provides a hardware abstraction layer between hardware on the execution machine and a computing environment provided by a virtual machine. In one of these embodiments, there is no operating system between the execution machine hardware and the hypervisor. The hypervisor may be said to be executing “on bare metal.” In another of these embodiments, there is an operating system executing on the execution machine, referred to as a host operating system, and the hypervisor executes from within the operating system. Computing environments provided by a virtual machine may be referred to as guest operating systems.
In one embodiment, the hypervisor executes in a terminal server session on a host operating system on the execution machine. The hypervisor may emulate hardware resources required by a computing environment provided by a virtual machine. The hypervisor may partition hardware and provide access to the partition. The hypervisor may also virtualize existing hardware, making it appear to at least one domain on the hardware as if that domain were the only domain accessing the hardware. In another embodiment, output from the computing environment, or an application or resource executing within the computing environment, is passed from the computing environment to a virtualized hardware resource provided by the hypervisor. In still another embodiment, the hypervisor transmits the output to a component such as thesession management component1300. Thesession management component1300 may transmit the received output to aclient machine10 from which a user accesses the computing environment. In yet another embodiment, the hypervisor redirects the output from the virtualized hardware resource to an actual hardware resource, such as a network interface card.
In some embodiments, the hypervisor provides a hardware abstraction layer and creates an environment into which a virtual machine may be launched, the virtual machine comprised of configuration and data files creating a computing environment, which may comprise a guest operating system and application programs or other resource. In other embodiments, the hypervisor provides functionality for transmitting data directed to a virtualized hardware resource and redirecting the data to a requesting machine via thesession management component1300. In one of these embodiments, the communication between thesession management component1300 and the hypervisor enable transmission of updates, such as audio updates, updates associated with a graphical user interface, or updates associated with serial COM port input/output, from the virtual machine to the requesting machine. In another of these embodiments, the communication enables transmission of keyboard or mouse or audio updates from the requesting machine to the virtual machine. In still another of these embodiments, where the hypervisor executes within a terminal server session, the hypervisor may map terminal server drives to the computing environment.
Referring still toFIG. 8, a virtual machine is configured for access by aparticular client machine10. In some embodiments, themanagement component1300 receives an identification of a virtual machine already executing in the hypervisor. In other embodiments, thesession management component1300 launches the virtual machine in the hypervisor. In one embodiment, thesession management component1300 receives an identification of a folder containing configuration and data files comprising the virtual machine. In another embodiment, thesession management component1300 mounts the identified folder in the execution machine.
In some embodiments, a virtual machine service component executes in a guest operating system executing within the virtual machine. In one of these embodiments, the virtual machine service component is a system service running in a network service account. In another of these embodiments, the virtual machine service component is configured to initiate execution automatically upon the execution of the computing environment. In still another of these embodiments, the virtual machine service component communicates with thesession management component1300. In other embodiments, the virtual machine service component executes in the hypervisor.
In some embodiments, a virtual machine service component executes within the virtual machine. In one of these embodiments, after launching the virtual machine in the hypervisor, thesession management component1300 establishes a connection, such as a TCP/IP connection, with the virtual machine service component. In another of these embodiments, the virtual machine service component establishes the connection. The connection may be a single multiplexed connection between the components or multiple independent connections.
In still another of these embodiments, thesession management component1300 uses the connection to transmit configuration information to the virtual machine service component. The configuration information may be associated with a presentation layer protocol session executing on theclient machine10 in which output from the virtual machine is presented. The configuration information may also include information associated with display settings and changes, client drive information and authentication data.
In other embodiments, the virtual machine service component receives information associated with a printer to which the requesting machine has access. In one of these embodiments, the virtual machine service component access a network printer service to create in the virtual machine a printer connected to the printer to which the requesting machine has access.
In still other embodiments, the virtual machine service component transmits session status messages to thesession management component1300. In one of these embodiments, the virtual machine service component transmits heartbeat messages to thesession management component1300. In another of these embodiments, the virtual machine service component transmits keep-alive messages to thesession management component1300, to prevent thesession management component1300 from shutting down the virtual machine. In still another of these embodiments, the virtual machine service component transmits a message to thesession management component1300 providing an indication that the user of theclient machine10 has logged off, shut down, or suspended a session with the computing environment. The virtual machine service component may receive the indication of the user's activity from an authentication module.
Referring still toFIG. 8, as described above, a request for access to a resource is received (step802), a method for providing access to the resource is identified (step804), and a virtualized environment may be selected to provide access to a resource (step808). In some embodiments, aclient machine10 receives the request, identifies a method for providing access, and selects a virtualized environment to provide access to a resource. In one of these embodiments, a mobile computing device connects to aclient machine10 referred to as a computing device, which identifies a method for providing access to a computing environment, selects a portable computing environment residing in storage on the mobile computing device and provides access to the portable computing environment.
Referring ahead toFIGS. 89A and 89B, a storage device and a computing device are depicted. In brief overview, the storage device stores data associated with a computing environment, such as a portable computing environment, which in some embodiments includes virtualization software, a virtual machine image, and user data. A computing device connecting to the storage device, executing a virtual machine, and providing access to the computing environment responsive to data stored in the storage device.
Still referring toFIG. 89A, and in further detail, thestorage device8905 stores theportable computing environment8920 of one or more users. In one embodiment, thestorage device8905 may be any type and form of hard drive, including a micro hard drive. In another embodiment, thestorage device8905 may be any type and form of portable storage device, such as a flash drive or USB drive, or any type and form of portable storage medium, such as a CD or DVD. In still another embodiment, thestorage device8905 comprises a flash card, a memory stick, multi-media card or a secure digital card. In some embodiments, thestorage device8905 may store applications including word processing or office applications, ICA clients, RDP clients, software to establish any type and form of virtual private network (VPN) or SSL VPN connection, software to accelerate network communications or application delivery or any other type and form of application.
In one embodiment, thestorage device8905 may store a virtual machine image. In another embodiment, thestorage device8905 may comprise a transmitter for transmitting stored data to acomputing device8910. In still another embodiment, thestorage device8905 may comprise a transceiver for accessing stored data, transmitting stored data and receiving data for storage. In yet another embodiment, thestorage device8905 may comprise stored data comprising an application program for executing a virtual machine on a computing device.
In some embodiments, thestorage device8905 is embedded in a mobile computing device. In other embodiments, thestorage device8905 is connected to a mobile computing device. In still other embodiments, thestorage device8905 comprises a portable storage device removable from a computing device.
Thestorage device8905 stores data associated with a computing environment. The data may comprise aportable computing environment8920. In one embodiment, theportable computing environment8920 is considered portable in that theportable computing environment8920 may be easily or conveniently carried and transported from onecomputing device8910 to anothercomputing device8910′. In another embodiment, theportable computing environment8920 is considered portable in that the computing environment may be established or executed on anysuitable computing device8910 with little or no changes to thecomputing device8910, or in a further embodiment, with little or no maintenance or administration. In still another embodiment, theportable computing environment8920 includes a plurality of files representing a desktop environment, or a portion thereof, of acomputer system100, which a user desires to execute on thecomputing device8910. In yet another embodiment, theportable computing environment8920 may represent an environment under which a user operates a home or office desktop computer. In some embodiments, theportable computing environment8920 represents one or more applications to which a user has access.
Theportable computing environment8920 may include avirtual machine image8925. In one embodiment, thevirtual machine image8925 comprises a computing environment image, including any of the information, data, files, software, applications and/or operating system needed to execute acomputing environment8920, including files needed to execute thecomputing environment8920 via thevirtualization software8921. In another embodiment, thevirtual machine image8925 comprises configuration and data files required to execute a virtual machine providing access to a computing environment requested by a user. In still another embodiment, thevirtual machine image8925 comprises a virtual machine image as described above.
Theportable computing environment8920 may also include user data8930, including, without limitation, any data, information, files, software or applications of a user. In one embodiment, the user data8930 is stored in, or as a part of, thevirtual machine image8925. In another embodiment, the user data8930 may be created, edited or provided by any software, program, or application of thestorage device8905 or of thecomputing device8910.
Theportable computing environment8920 may includevirtualization software8921. In some embodiments, thevirtualization software8921 may comprise any suitable means or mechanisms for a user to access, read and/or write any user data8930 included in or provided by thevirtualization software8921 and/orvirtual machine image8925. In one of these embodiments, thevirtualization software8921 may track, manage and synchronize the access, reading and/or writing of user data8930 during an establishedcomputing environment8920′ with the user data8930 provided on thestorage device8905. In another of these embodiments, the user data8930 may only be accessed via thevirtualization software8921 or the establishedcomputing environment8920′. In still another of these embodiments, any software, programs or applications of thestorage device8905 may access the user data8930 when thestorage device8905 is not connected to thecomputing device120 or when acomputing environment8920′ is not executing. In yet another of these embodiments, the user data8930 may comprise data and files created during a session of an establishedcomputing environment8920′.
Thecomputing device8910 may be any type and form of computer system as described in connection withFIG. 1A andFIG. 1B above. In one embodiment, thecomputing device8910 is aclient machine10 as described above. In another embodiment, a connection between acomputing device8910 and astorage device8905 provides a user of aclient machine10 with access to a requested resource. In still another embodiment, thecomputing device8910 receives a request for access to a resource when a connection is made between thecomputing device8910 and thestorage device8905. In yet another embodiment, a method for providing access to the resource is identified responsive to information received from thestorage device8905.
In one embodiment, thecomputing device8910 has astorage element128. In another embodiment, thecomputing device8910 has anetwork interface118′ connected tonetwork150. In still another embodiment, thecomputing device8910 has a transceiver for accessing data stored in astorage device8905 or in acomputing device8910′.
In some embodiments, thecomputing device8910 comprises an operational or performance characteristic not provided by thestorage device8905. In one of these embodiments, thecomputing device8910 comprises elements, such as a processor or a memory, which thestorage device8905 does not include. In another of these embodiments, thecomputing device8910 provides an I/O device, display device, installation medium, or other peripherals, such as a keyboard or printer not available to thestorage device8905. In still another of these embodiments, thecomputing device8910 may provide a feature, a resource, or peripheral desired to be used by the user of thestorage device8905. For example, the user may want to access a file or an application provided on aremote machine30′ available via a connection across thenetwork150. In yet another of these embodiments, thecomputing device8910 provides access to a network, such asmachine farm38, not available to thestorage device8905, or to a user of thestorage device8905.
In one embodiment, thecomputing device8910 establishes acomputing environment8920′ based on theportable computing environment8920 provided by thestorage device8905. Thecomputing device8910 establishes avirtual machine8925′ and avirtualization layer8922 to execute thecomputing environment8920′ based on thevirtualization software8921 or8921′,virtual machine image8925 and/or user data230.
In some embodiments, virtualization allows multiplevirtual machines8925′, with heterogeneous operating systems to run in isolation, side-by-side on the samephysical machine8910. In one embodiment, thevirtualization software8921 may include a virtual machine image. Virtual machines may include cross-platform X86 PC emulators, such as the products distributed by The Bochs Project at bochs.sourceforge.net, or VMware products manufactured and distributed by VMware, Inc. of Palo Alto, Calif., or products manufactured and distributed by Softricity, Inc., or the Virtuozzo products manufactured and distributed by SWSoft, Inc. of Herndon, Va., or the Microsoft® Virtual PC products manufactured and distributed by Microsoft Corporation of Redmond, Wash. In another embodiment, thevirtualization software8921 includes any the AppStream products manufactured and distributed by AppStream Inc, of Palo Alto, Calif., or the AppExpress products manufactured and distributed by Stream Theory, Inc of Irvine, Calif.
Thecomputing device8910 may use any other computing resources ofcomputer system100brequired by thecomputing environment8920′. In some embodiments, thehypervisor8923 provides a virtualized hardware resource required by thecomputing environment8920′. In other embodiments, ahypervisor8923 provides, via avirtualization layer8922, access to a hardware resource required for execution of a computing environment. In one of these embodiments, thehypervisor8923 provisions the hardware resource. In another of these embodiments, thehypervisor8923 virtualizes the hardware resource. In still another of these embodiments, thehypervisor8923 partitions existing hardware resources and provides access to a partitioned hardware resource.
In some embodiments, avirtual machine8925′ executing on a virtualization layer provides access to acomputing environment8920′. In other embodiments, asession management component1300 executes thevirtual machine8925. In still other embodiments,virtualization software8921 or8921′ execute thevirtual machine8925. In one of these embodiments, theportable computing environment8920 includes any type and form of software for virtualizing on a computing device a user-accessible resource, such as an operating system, desktop, application, and any hardware computing resources. In yet other embodiments,virtual machine image8925 is accessed to execute avirtual machine8925′. In one of these embodiments, thevirtualization software8921 or8921′ accesses the virtual machine image.
In some embodiments, thevirtualization software8921 may include software for virtualizing a server, such as the Microsoft Virtual Server products manufactured and distributed by Microsoft Corporation of Redmond, Washington, or the Linux Vserver products distributed by the Linux Vserver Project located at linux-vserver.org. In other embodiments, thevirtualization software8921 may also include an interpreter or just-in-time compiler, such as the JAVA Virtual Machine (JVM) originally manufactured by Sun Microsystems of Santa Clara, Calif., or the Common Language Runtime (CLR) interpreter manufactured by the Microsoft Corporation.
In some embodiments, thecomputing device8910 has thevirtualization software8921′ stored or installed instorage element128 prior to a connection with thestorage device8905. In one embodiment, thevirtualization software8921′ does not need to be installed on thecomputing device8910, and can, instead, be executed from thestorage device8905. In another embodiment, thecomputing device8910 installs and executes thevirtualization software8921 on a per connection basis. In this embodiment, thecomputing device8910 may remove thevirtualization software8921 fromstorage element128 upon termination of the establishedcomputing environment8920′. In still another embodiment, thecomputing device8910 installs and executes thevirtualization software8921 on a first connection. In yet embodiment, upon other connections, if thecomputing device8910 detects changes to thevirtualization software8921, such as a newer version, thecomputing device8910 updates thevirtualization software8921, or installs a newer version of thevirtualization software8921. In other embodiments, thecomputing device8910 obtains thevirtualization software8921 from astorage element128″ or aremote machine30 accessible vianetwork150.
In one embodiment, thevirtualization software8921 is used to establish avirtualization layer8922 on thecomputing device8910. In another embodiment, thevirtualization layer8922 provides an abstraction layer that decouples or isolates an application or a hardware resource from the operating system. In still another embodiment, thevirtualization layer8922 comprises an application to host or run another operating system or application, such asvirtual machine8925.
In some embodiments, thehypervisor8923 comprises thevirtualization software8921. In other embodiments, thesession management component1300 comprises thevirtualization software8921. In still other embodiments, thehost computing device8910stores virtualization software8921′ instorage element128. In yet other embodiments, thecomputing device8910 accesses a remotely located copy ofvirtualization software8921′.
In some embodiments, thevirtualization layer8922 and/orvirtual machine8925 provide an execution environment on thecomputing device8910. In one of these embodiments, each execution environment is a unique instance of the same execution environment, while, in another of these embodiments, each execution environment may be an instance of different execution environments. Each execution environment may be isolated from and/or not accessible by another execution environment. In other embodiments, thevirtualization layer8922 and/orvirtual machine8925 provides an execution context, space or “sandbox” to isolate processes and tasks running on the same operating system.
In one embodiment, thevirtualization layer8922 communicates with asession management component1300. In some embodiments, thesession management component1300 is software executing in a layer between a hypervisor8923 or operating system of thecomputing device8910 and one or morevirtual machines8925 that provide a virtual machine abstraction to guest operating systems. In other embodiments, as described above, thesession management component1300 may reside outside of thecomputing device8910 and be in communication with ahypervisor8923 or operating system of thecomputing device8910. In still other embodiment, thesession management component1300 can load, run or operate thevirtual machine image8925 from thestorage device8905 to execute avirtual machine8925′. In yet other embodiments, thesession management component1300 andhypervisor8923 are incorporated into the same application, software or other executable instructions to provide thevirtualization layer8922. In further embodiments, thesession management component1300 is in communication with a virtual machine service component executing within thecomputing environment8920.
In some embodiments and still referring toFIG. 89A, thecomputing device8910 includes aloading mechanism8940, which may comprise software, hardware, or any combination of software and hardware. In one embodiment, theloading mechanism8940 comprises an autorun configuration file. In another embodiment, thestorage device8905 may include theloading mechanism8940. In still another embodiment, thestorage device8905 includes theloading mechanism8940 in an autorun file. In some embodiments, aloading mechanism8940 on thestorage device8905 establishes thecomputing environment8920′ on thecomputing device8910 based on theportable computing environment8920 stored in thestorage device8905. In other embodiments, theloading mechanism8940′ of thecomputing device8910 establishes of thecomputing environment8920′. In still other embodiments, theloading mechanism8940 of thestorage device8905 works in conjunction with theloading mechanism8940′ of thecomputing device8910 to establish thecomputing environment8920′.
In one embodiment, theloading mechanism8940 comprises a driver, such as a device driver or a kernel or user-mode driver for connecting to and/or accessing thestorage device8905, or thestorage element128 thereof. In another embodiment, theloading mechanism8940 comprises any type and form of executable instructions, such as a program, library, application, service, process, thread or task for accessing thestorage element128 orstorage device8905. In still another embodiment, theloading mechanism8940 accesses any type and form of data and information on thestorage128 to establish theuser environment8920′ in accordance with the operations discussed herein. For example, in some embodiments, theloading mechanism8940 reads an autorun configuration file instorage element128 or onstorage device8905. In some embodiments, theloading mechanism8940 comprises a plug-n-play (PnP) mechanism by which the operating system of thehost computing device8910 recognizes thestorage device8905 upon connection, and loads the drivers to connect to thestorage device8905.
In one embodiment, theloading mechanism8940 upon detection of a connection between thestorage device8905 andcomputing device8910 initiates the loading, establishing and/or executing of thevirtualization software8921 and/or theuser environment8920′ on thecomputing device8910. In another embodiment, theloading mechanism8940 may comprise any rules, logic, operations and/or functions regarding the authentication and/or authorization of establishing acomputing environment8920′ on thecomputing device8910 based on theportable computing environment8920. In still another embodiment, theloading mechanism8940 may determine the existence of thevirtualization software8921′ on thecomputing device8910 and/or the difference in versions between thevirtualization software8921 andvirtualization software8921′. In yet another embodiment, theloading mechanism8940 may store, load, and/or execute thevirtualization software8921 or8921′ on thecomputing device8910. In a further embodiment, theloading mechanism8940 may store, load, and/or execute thevirtual machine image8925 on thecomputing device8910 as avirtual machine8925 providing access to thecomputing environment8920′. In still another embodiment, theloading mechanism8940 may comprise or provide any type and form of user interface, such as graphical user interface or command line interface.
In some embodiments, thevirtualization software8921,portable computing environment8920 and/orloading mechanism8940 are designed and constructed in accordance with the U3 application design specification, or USB smart drive, provided by U3 LLC of Redwood City, Calif. For example, theloading mechanism8940 may comprise a U3 launchpad program, and thevirtualization software8921 and/orportable user environment120 may comprise a U3-based application.
Referring now toFIG. 89B, a flow diagram depicts one embodiment of the steps taken in a method for providing access to a computing environment on a computing device via a storage device. In brief overview, a method for providing access to a computing environment includes the step of storing, in a storage device, data associated with a computing environment (step8950). A computing device connects to the storage device (step8960). A virtual machine executing on the computing device provides access to the computing environment, based on the data stored in the storage device (step8970).
In further detail, astorage device8905 stores data associated with a portable computing environment8920 (step8950). In one embodiment, thestorage device8905 stores user data associated with the computing environment. In another embodiment, thestorage device8905 stores avirtual machine image8925. In still another embodiment, thestorage device8905 stores data associated with a computing environment, the computing environment comprising at least one application program. In yet another embodiment, thestorage device8905 stores data associated with a computing environment, the computing environment comprising an operating system.
In one embodiment, thestorage device8905 stores data comprising an operating system. In another embodiment, thestorage device8905 stores data comprising an application program. In still another embodiment, thestorage device8905 stores an application program for executing a virtual machine on a computing device. In yet another embodiment, thestorage device8905 stores virtualization software for executing a virtual machine on a computing device.
In some embodiments, thestorage device8905 may include a connector for establishing a connection between thestorage device8905 and a computing device. In other embodiments, thestorage device8905 resides in a computing device, such as a mobile computing device. In one of these embodiments, thestorage device8905 is embedded in a mobile computing device. In still other embodiments, thestorage device8905 comprises a portable storage device removable from a computing device.
A computing device connects to the storage device (step8960). Thestorage device8905 may connect to thecomputing device8910 by any suitable means and/or mechanism. In one embodiment, thestorage device8905 connects to acomputing device8910 via a mobile computing device. In another embodiment, thestorage device8905 is embedded in a mobile computing device connectable to thecomputing device8910.
Upon connection, a request may be received by thecomputing device8910 for access to a resource. In one embodiment, the request is for a desktop environment. In another embodiment, the request is for an application or for a plurality of applications. In still another embodiment, the request is for a virtual machine.
In some embodiments, a determination may be made to provide access to the requested resource via a virtualized environment. In one of these embodiments, the determination is made as described above in connection withFIG. 8. In another of these embodiments, the determination is made responsive to information received from thestorage device8905, such as a rule requiring the determination.
In one embodiment, thecomputing device8910 accesses thestorage device8905 to access theportable computing environment8920. In another embodiment, thecomputing device8910 obtains thevirtualization software8921 from thestorage device8905 to establish acomputing environment8920′. In still another embodiment, thecomputing device8910 does not obtain thevirtualization software8921 from thestorage device8905 as thecomputing device8910 has access to thevirtualization software8921 instorage element128′ or vianetwork150. In yet another embodiment, thecomputing device8910 obtains portions of thevirtualization software8921 from thestorage device8905. For example, thevirtualization software8921 on thestorage device8905 may be an updated version or have updated files to thevirtualization software8921′ on thecomputing device8910. In some embodiments, thestorage device8905 transmits information to thecomputing device8910. In one of these embodiments, thestorage device8905 transmits the information with a request for access to a resource.
A virtual machine executing on the computing device provides access to the computing environment, based on the data stored in the storage device (step8970). In one embodiment, thecomputing device8910 retrieves data from thestorage device8905. In another embodiment, thecomputing device8910 accesses thestorage device8905 to obtain avirtual machine image8925 used to execute the virtual machine. In still another embodiment, thecomputing device8910 accesses thestorage device8905 to obtain data or information identifying a location of theportable computing environment8920 that may be accessible to thecomputing device8910. For example, thestorage device8905 may comprise user data8930 identifying a Uniform Resource Locator (URL) associated with a location on which avirtual machine image8925 is stored, the URL accessible by thecomputing device8910 vianetwork150. In yet another embodiment, thecomputing device8910 accesses a storage element identified by the user data8930, for example, a storage element orremote machine30 on thenetwork150 storing thevirtual machine image8925.
In some embodiments, thecomputing device8910 mounts thestorage device8905 as a storage, such as a disk, available to thecomputing device8910. In one of these embodiments, thecomputing device8910 mounts thestorage device8905 as removable media. In other embodiments, theloading mechanism8940 accesses thestorage device8905.
Thecomputing device8910 establishes an environment for executing or providing access to thecomputing environment8920′. In one embodiment, a virtual machine may be executed in thecomputing environment8920′ to provide access to a requested resource. In another embodiment, a virtual machine is the requested resource. In still another embodiment, avirtual machine8925′ executes avirtual machine8925″.
In one embodiment, thecomputing device8910 executes a virtual machine responsive to avirtual machine image8925 stored in thestorage device8905. In another embodiment, thecomputing device8910 executes avirtual machine8925′ responsive to the data stored in thestorage device8905. In still another embodiment, thecomputing device8910 executes the virtual machine responsive to a policy stored in the storage device.
In one embodiment, thecomputing device8910 retrieves data stored in thestorage device8905. In another embodiment, thecomputing device8910 uses an application program stored in thestorage device8905 to access the data. In still another embodiment, thecomputing device8910 provides access to a computing environment by executing an operating system providing access to one or more applications identified by information stored in the storage device, the operating system and the one or more applications having access to user data stored in thestorage device8905.
In one embodiment, thecomputing device8910 installs and/or loads thevirtualization software8921 to establish thevirtualization layer8922. In some embodiments, thevirtualization software8921 is designed and constructed as a portable application that can execute, load or establish thevirtualization layer8922 on thecomputing device8910 without requiring installation of thevirtualization software8921. In other embodiments, thevirtualization software8921 is automatically installed on thecomputing device8910 via an installation script. In one of these embodiments, thevirtualization software8921 is installed without requiring a reboot. In another of these embodiments, thevirtualization software8921 is installed and thevirtualization layer8922 established transparently to a user. In still other embodiments, thevirtualization layer8922 is established using thevirtualization software8921′ stored on thecomputing device8910 or accessed vianetwork150.
In some embodiments, thecomputing device8910 executes ahypervisor8923 to establish thevirtualization layer8922. In other embodiments, ahypervisor8923 on thecomputing device8910 and in communication with ahypervisor8923′ on aremote machine30′ establishes thevirtualization layer8922. In still other embodiments, ahypervisor8923 in communication with asession management component1300 establishes thevirtualization layer8922. In one of these embodiments, upon establishment of thevirtualization layer8922, thesession management component1300 identifies, provisions, and/or executes a virtual machine in thevirtualization layer8922 as described above in connection withFIG. 8. In yet other embodiments, theloading mechanism8940 establishes thevirtualization layer8922. In further embodiments, thecomputing device8910 establishes avirtualization layer8922 in which a virtual machine service component executes.
In one embodiment, thevirtualization layer8922 has been established prior to thestorage device8905 connecting to thecomputing device8910. For example, thevirtualization layer8922 may have been established for anothercomputing environment8920′ or during a previous connection of the same or adifferent storage device8905. In some embodiments, thecomputing device8910 and/orloading mechanism8940 establishes thevirtualization layer8922 and actuates, starts, or executes asession management component1300 and/orhypervisor8923. In other embodiments, thecomputing device8910 and/orloading mechanism8940 executessession management component1300 and/orhypervisor8923 upon loading or executing avirtual machine8925.
Thecomputing device8910 provides access to thecomputing environment8920′ based on the portable computing environment8920 (step8970). In one embodiment, thecomputing device8910 and/orloading mechanism8940 accesses thevirtual machine image8925 fromstorage device8905 and executes thevirtual machine image8925 as avirtual machine8925′ in the establishedvirtualized environment8922. In another embodiment, thecomputing device8910 and/orloading mechanism8940 automatically loads, executes or otherwise establishes thecomputing environment8920 with thevirtualization layer8922 upon detection of a connection overnetwork150. In still another embodiment, thecomputing device8910 and/orloading mechanism8940 automatically loads, executes or otherwise establishes thecomputing environment8920 and thevirtualization layer8922 upon detection of existence or identification of theportable computing environment8920 instorage element128.
In some embodiments, a user may select thevirtual machine image8925 from thestorage device8905 for execution as avirtual machine8925′ via any type and form of user interface. In one of these embodiments, thevirtualization software8921,virtualization layer8922,hypervisor8923, orloading mechanism8940 may display a user interface for a user to identify avirtual machine image8925, and/or to execute avirtual machine8925′ based on avirtual machine image8925. In another of these embodiments, a client, such as an ICA client, an RDP client, or an X11 client, executes on thecomputing device8910 and provides the user interface to the user.
In some embodiments, a user may access, read, and/or write user data8930 during the course of using the establishedcomputing environment8920′. In one of these embodiments, a user of thecomputing device8910 may access, read and/or write the user data8930 to thestorage device8905. In another of these embodiments, a user of thecomputing device8910 may edit or modify user data8930 or may create new data and information in user data8930.
In other embodiments, a user of thecomputing device8910 may access, read, and/or write user data to thestorage128′ of thecomputing device8910. In still other embodiments, thecomputing device8910 may synchronize user data8930 on thecomputing device8910 with user data8930 on thestorage device8905. In one of these embodiments, thecomputing device8910 uses thevirtualization layer8922 or theloading mechanism8940 to synchronize the user data8930. In yet other embodiments, thestorage device8905 may have a program or application for synchronizing data between thestorage device8905 and thecomputing device8910.
In some embodiments, thestorage device8905 may disconnect from thecomputing device8910 at any point in time during the establishedcomputing environment8920′. In other embodiments, thestorage device8905 may disconnect after thecomputing environment8920′ is terminated on thecomputing device8910. In still other embodiments, thecomputing environment8920′ is automatically terminated upon disconnection of thestorage device8905 to thecomputing device8910. In yet other embodiments, thecomputing environment8920′ may remain established on thecomputing device8910 after thestorage device8905 disconnects from thecomputing device8910. In one of these embodiments, once thecomputing environment8920′ is established on thecomputing device8910, thestorage device8905 may be disconnected.
In some embodiments, thestorage device8905 can access, read, and/or write user data8930 to any portion of theportable computing environment8920. In one of these embodiments, although theportable computing environment8920 is not established or virtualized oncomputing device8910, thestorage device8905 can still access, read, and/or write to and from the user data8930. In other embodiments, a user may use a first application in the establishedcomputing environment8920′ to access a file of the user data8930. In still other embodiments, the user may use a second application on thestorage device8905 to access the same file of the user data8930. In yet other embodiments, thevirtualization software8921 orvirtual image8925 allows access to the user data8930, even thoughvirtualization software8921 orvirtual machine image8925 is not executing or operating.
AlthoughFIGS. 89A and 89B are generally discussed with oneportable computing environment8920 stored in thestorage device8905, thestorage device8905 may store a plurality ofportable computing environments8920 for establishing a corresponding plurality ofcomputing environments8920′ on thecomputing device8910. In some embodiments, thecomputing device8910,loading mechanism8940, or thevirtualized layer8920 provides a user interface for the user to select a portable computing environment from storage to establish thecomputing environment8920. For example, thestorage device8905 or thecomputing device8910 may have a portable computing environment selection mechanism as is further discussed in connection withFIG. 92A and withFIG. 93A. In other embodiments, thecomputing device8910,loading mechanism8940, or thevirtualized layer8922 uses one of the plurality of portable computing environments based on a characteristic of the computing device, such as operating system type, or based on user data identifying the portable computing environment to use for the computing device.
Referring now toFIG. 90A, amobile computing device9005 is depicted. In brief overview, themobile computing device9005 may be any type and form of computer system as described in connection withFIG. 1A andFIG. 1B above. In one embodiment, themobile computing device9005 comprises a storage device, such as astorage device8905 as described in connection withFIG. 89A andFIG. 89B. In another embodiment, themobile computing device9005 is connected to astorage device8905. In still another embodiment, themobile computing device9005 comprises a portable storage device removable from a computing device. In yet another embodiment, themobile computing device9005 has anetwork interface118 used to connect toremote machines30 orclient machines10 on thenetwork150, such as thecomputing device8910. Thestorage device8905 may store aportable computing environment8920, which in some embodiments includesvirtualization software8921, avirtual image8925, and user data8930.
In some embodiments, themobile computing device9005 stores data associated with a computing environment, executes a virtual machine, and provides access to the computing environment responsive to data stored in themobile computing device9005. In one of these embodiments, themobile computing device9005 comprises a stored virtual machine image. In another of these embodiments, themobile computing device9005 comprises an application program for executing a virtual machine on a computing device. In still another of these embodiments, themobile computing device9005 provides access to a computing environment by executing an operating system with access to one or more applications identified via data stored on the mobile computing device, the operating system and the one or more applications having access to the user data on the mobile computing device. In other embodiments, themobile computing device9005 stores theportable computing environment8920 of one or more users in storage provided by a storage device, such as astorage device8905 as described above in connection withFIGS. 89A and 89B.
In one embodiment, themobile computing device9005 decrypts stored data. In another embodiment, themobile computing device9005 prevents one of unauthenticated and unauthorized access by a user of themobile computing device9005 to a computing environment provided by themobile computing device9005.
Referring now toFIG. 90B, a flow diagram depicts one embodiment of the steps taken in a method for providing a computing environment by a mobile computing device. In brief overview, a method includes the step of storing, in amobile computing device9005, data associated with a computing environment (step9020). A virtual machine executing on the mobile computing device provides access to the computing environment, based on the stored data (step9025).
In further detail, themobile computing device9005 stores data associated with a computing environment (step9020). In one embodiment, themobile computing device9005 receives the data associated with the computing device from a storage device connected to themobile computing device9005. In another embodiment, the mobile computing device stores the data associated with the computing environment in astorage device8905 embedded in the mobile computing device. In still another embodiment, themobile computing device9005 stores user data associated with the computing environment. In yet another embodiment, themobile computing device9005 stores a virtual machine image.
In one embodiment, themobile computing device9005 stores data associated with a computing environment, the computing environment comprising at least one application program. In another embodiment, themobile computing device9005 stores data associated with a computing environment, the computing environment comprising an operating system. In still another embodiment, themobile computing device9005 stores data comprising an operating system. In yet another embodiment, themobile computing device9005 stores data comprising an application program. In some embodiments, themobile computing device9005 stores an application program for executing a virtual machine. In other embodiments, themobile computing device9005 stores virtualization software for executing a virtual machine.
In some embodiments, a request may be received by themobile computing device9005 for access to a resource. In one of these embodiments, the request is for a desktop environment. In another of these embodiments, the request is for an application or for a plurality of applications. In still another of these embodiments, the request is for a virtual machine. In yet another of these embodiments, the request is for access to a computing environment.
In some embodiments, a determination may be made to provide access to the requested resource via a virtualized environment. In one of these embodiments, the determination is made as described above in connection withFIG. 8. In another of these embodiments, the determination is made responsive to information received from themobile computing device9005, such as a rule requiring the determination.
A virtual machine executing on the mobile computing device provides access to the computing environment, based on the stored data (step9025). In one embodiment, an application program stored in themobile computing device9005 executes to access data associated with the computing environment. In another embodiment, themobile computing device9005 executes virtualization software, at least a portion of which is stored on themobile computing device9005. In still another embodiment, themobile computing device9005 provides access to a computing environment by executing an operating system with access to one or more applications stored on the mobile computing device, the operating system and the one or more applications having access to user data stored in themobile computing device9005.
In one embodiment, themobile computing device9005 executes a virtual machine, responsive to data stored in themobile computing device9005. In another embodiment, the mobile computing device executes a virtual machine responsive to a policy stored in themobile computing device9005. In still another embodiment, themobile computing device9005 executes a virtual machine that provides access to a requested resource or computing environment, the virtual machine executed responsive to a virtual machine image stored in themobile computing device9005. In yet another embodiment, themobile computing device9005 transfers execution of the virtual machine to acomputing device8910.
AlthoughFIGS. 90A and 90B are generally discussed with oneportable user environment8920 stored instorage8905 of themobile computing device9005, themobile computing device9005 may store a plurality ofportable computing environments8920 for establishing a corresponding plurality ofcomputing environments8920′ on themobile computing device9005.
Referring now toFIG. 91A, a mobile computing device and a computing device are depicted. In brief overview, the mobile computing device stores data associated with a computing environment. The computing device connects to the mobile computing device, executes a virtual machine, and provides access to the computing environment responsive to data stored in the mobile computing device. In one embodiment, the virtual machine executing on the computing device provides access to the computing environment.
In one embodiment, themobile computing device9005 may be any type and form of computer system as described in connection withFIG. 1A andFIG. 1B above. In another embodiment, themobile computing device9005 comprises astorage device8905 as described above in connection withFIG. 90A andFIG. 90B. In another embodiment, the mobile computing device may be amobile computing device9005 as described above in connection withFIG. 90A andFIG. 90B. In some embodiments, themobile computing device9005 provides access to aportable computing environment8920 of one or more users in storage provided by a storage device, such as astorage device8905 as described above in connection withFIGS. 89A and 89B.
In some embodiments, themobile computing device9005 and thecomputing device8910 may have the same processor or computer architecture, such as an X86 based processor architecture. In other embodiments, themobile computing device9005 may have a different processor or architecture than thecomputing device8910. For example, thecomputing device8910 may be a SPARC (Scalable Processor Architecture) and themobile computing device9005 may be an ARM based architecture. In some embodiments, themobile computing device9005 and thecomputing device8910 may both operate a processor, or a data address or bus using the same numbers of bits, such as a 32-bit or 64-bit processor or bus. In other embodiments, themobile computing device9005 and thecomputing device8910 may operate on processors and/or a data bus with different bit architectures. Furthermore, themobile computing device9005 andcomputing device8910 may operate the same operating system, in one embodiment, and different operating systems, in another embodiment. For example, themobile computing device9005 may operate a PALM operating system while thecomputing device8910 runs a WINDOWS operating system.
In one embodiment, amobile computing device9005 has multiple processors. One processor may have higher performance characteristics than the other processor, and each processor may share one or more storage and memory elements. For example, a storage element, such as a disk drive or portable storage device, may include a computing environment. Themobile computing device9005 may also have a switching mechanism to switch between using a first processor having higher performance characteristics and a second processor having lower performance characteristics, based on operating conditions and applications executing on the device. The processor having lower performance characteristics may be used to execute applications with lower power requirements, such as typical PDA functionality of calendar access and email. When an application requires more power, themobile computing device9005 may automatically switch execution of such applications to the more powerful processor.
Thecomputing device8910 connects to the mobile computing device, executes a virtual machine, and provides access to the computing environment responsive to data stored in themobile computing device9005. In one embodiment, thecomputing device8910 may mount thestorage device8905 of themobile computing device9005 as a removable hard drive orstorage element128′ of thecomputing device8910. In some embodiments, themobile computing device9005 may be a plug and play device (PnP) of thecomputing device8910, such that a PnP protocol manufactured by Microsoft Corporation of Redmond, Wash., is used between themobile computing device9005 andcomputing device8910, such as via I/O devices130a-130nornetwork interfaces118,118′.
In some embodiments, thecomputing device8910 comprises an operational or performance characteristic not provided by themobile computing device9005. In one of these embodiments, thecomputing device8910 has a morepowerful processor102′ and/orlarger memory122′ than theprocessor102 andmemory122 of themobile computing device9005. In another of these embodiments, thecomputing device8910 provides an I/O device130b, display device, installation medium, or other peripherals, such as a keyboard or printer not available to themobile computing device9005. In still another of these embodiments, thecomputing device8910 may provide a feature, a resource, or peripheral desired to be used by the user of themobile computing device9005. For example, the user may want to access a file or an application provided on aremote machine30′ available via a connection across thenetwork150. In yet another of these embodiments, thecomputing device8910 provides access to machines on anetwork150, such as those inmachine farm38, not available to themobile computing device9005, or to a user of the mobile computing device.
In one embodiment, thecomputing device8910 provides access to acomputing environment8920′ based on theportable computing environment8920 provided in themobile computing device9005. Thecomputing device8910 executes avirtual machine8925′ and avirtualization layer8922 to execute thecomputing environment8920′ based on thevirtualization software8921 or8921′,virtual machine image8925, or user data230. In some embodiments, the computing device comprises a transceiver for accessing data stored in themobile computing device9005.
In some embodiments, a loading mechanism on themobile computing device9005 actuates the establishment of thecomputing environment8920′ on thecomputing device8910 based on theportable computing environment8920 stored in themobile computing device9005. In other embodiments, theloading mechanism8940 of thecomputing device8910 actuates the establishment of thecomputing environment8920′. In yet another embodiment, a loading mechanism on themobile computing device9005 works in conjunction with theloading mechanism8940 of thecomputing device8910 to establish thecomputing environment8920′.
Referring now toFIG. 91B, a flow diagram depicts one embodiment of the steps taken in a method for providing access to a computing environment on a computing device via a mobile computing device. In brief overview, a method includes the step of storing, in a mobile computing device, data associated with a computing environment (step9155). A computing device connects to the mobile computing device (step9160). A virtual machine executing on the computing device provides access to a computing environment, based on the data stored in the mobile computing device (step9165).
A mobile computing device stores data associated with a computing environment (step9155). In one embodiment, themobile computing device9005 may store data associated with a computing environment as described above in connection withFIGS. 90A and 90B. In one embodiment, themobile computing device9005 may comprise a storage device embedded in themobile computing device9005, such as thestorage device8905 described in connection withFIG. 89A throughFIG. 90B.
Thecomputing device8910 connects to themobile computing device9005 by any suitable means and/or mechanism (step9160). In one embodiment, thecomputing device8910 connects to a storage device, such as astorage device8905 as described above in connection withFIG. 89A andFIG. 89B, via themobile computing device9005. Upon connection, a request may be received by thecomputing device8910 for access to a resource. In one embodiment, the request is for access to a desktop environment. In another embodiment, the request is for an application or for a plurality of applications. In still another embodiment, the request is for a virtual machine. In some embodiments, a determination may be made to provide access to the requested resource via a virtualized environment. In one of these embodiments, the determination is made as described above in connection withFIG. 8. In another of these embodiments, the determination is made responsive to information received from themobile computing device9005, such as a rule requiring the determination.
In one embodiment, thecomputing device8910 accesses themobile computing device9005 to obtain theportable user environment8920. In another embodiment, thecomputing device8910 obtains thevirtualization software8921 to establish thevirtualized environment8922. In still another embodiment, thecomputing device8910 does not obtain thevirtualization software8921 from themobile computing device9005 as thecomputing device8910 has access to thevirtualization software8921 instorage element128′ or vianetwork150. In yet another embodiment, thecomputing device8910 obtains portions of thevirtualization software8921 from themobile computing device9005. For example, thevirtualization software8921 on themobile computing device9005 may be an updated version or have updated files to thevirtualization software8921′ on thecomputing device8910. In some embodiments, themobile computing device9005 transmits information to thecomputing device8910. In one of these embodiments, themobile computing device9005 transmits the information with a request for access to a resource.
In one embodiment, thecomputing device8910 accesses themobile computing device9005 to obtain thevirtual machine image8925. In another embodiment, thecomputing device8910 accesses themobile computing device9005 to obtain data or information identifying a location of theportable user environment8920 in any storage that may be accessible to thecomputing device8910. For example, themobile computing device9005 may comprise user data8930 identifying a Uniform Resource Locator (URL) associated with a location on which avirtual machine image8925 is stored, the URL accessible by thecomputing device8910 vianetwork150. In still another embodiment, thecomputing device8910 accesses a storage element identified by the user data8930, for example, a storage element onnetwork150 storing thevirtual machine image8925. In some embodiments, thecomputing device8910 mounts themobile computing device9005 as a storage element, such as a disk, available to thecomputing device8910. For example, in one embodiment, thecomputing device8910 mounts themobile computing device9005 as removable media. In one embodiment, theloading mechanism8940 accesses themobile computing device8905.
In some embodiments, thecomputing device8910 provides access to a computing environment by executing an operating system with access to one or more applications identified via data stored on the mobile computing device, the operating system and the one or more applications having access to the user data on the storage device. In other embodiments, the computing device prevents one of unauthenticated or unauthorized access by a user of themobile computing device9005 to a computing environment provided by thecomputing device8910. In still other embodiments, thecomputing device8910 decrypts data stored on themobile computing device9005.
A virtual machine executing on thecomputing device8910 provides access to a computing environment, based on data stored in the mobile computing device9005 (step9165). In one embodiment, thecomputing device8910 establishes a virtualized environment for providing access to thecomputing environment8920′ by executing thevirtual machine8925. In another embodiment, a virtual machine may be executed in theuser environment8920′ to provide access to a requested resource. In still another embodiment, a virtual machine is the requested resource. In some embodiments, thecomputing device8910 executes a virtual machine responsive to avirtual machine image8925 stored in themobile computing device9005. In other embodiments, thecomputing device8910 executes a virtual machine responsive to data stored in themobile computing device9005.
In one embodiment, an application program stored in themobile computing device9005 is executed to access data associated with a computing environment. In another embodiment, thecomputing device8910 executesvirtualization software8921′ by accessing at least a portion of thevirtualization software8921 stored in themobile computing device9005.
In one embodiment, thecomputing device8910 executes thevirtualization software8921 to establish thevirtualization layer8922. In some embodiments, thevirtualization software8921 is automatically installed on thehost computing device8910 via an installation script. In one of these embodiments, thevirtualization software8921 is installed without requiring a reboot. In another of these embodiments, thevirtualization software8921 is installed and thevirtualization layer8922 established transparently to a user.
In some embodiments, thecomputing device8910 executes ahypervisor8923 to establish thevirtualization layer8922. In other embodiments, ahypervisor8923 on thecomputing device8910 and in communication with ahypervisor8923′ on aremote machine30′ establishes thevirtualization layer8922. In still other embodiments, ahypervisor8923 in communication with asession management component1300 establishes thevirtualization layer8922. In one of these embodiments, upon establishment of thevirtualization layer8922, thesession management component1300 identifies, provisions, and/or executes a virtual machine in thevirtualization layer8922 as described above in connection withFIG. 8. In yet other embodiments, theloading mechanism8940 establishes thevirtualization layer8922. In one embodiment, thecomputing device8910 establishes avirtualization layer8922 in which a virtual machine service component executes.
In one embodiment, thevirtualization layer8922 has been established prior to themobile device9005 connecting to thecomputing device8910. For example, thevirtualization layer8922 may have been established for anotheruser environment8920′ or during a previous connection of the same or differentmobile computing device9005. In some embodiments, thecomputing device8910 and/orloading mechanism8940 establishes thevirtualization layer8922 and actuates, starts, or executes asession management component1300 and/orhypervisor8923. In other embodiments, thecomputing device8910 and/orloading mechanism8940 executes thesession management component1300 and/orhypervisor8923 upon loading or executing avirtual machine8925.
In some embodiments, thecomputing device8910 establishes, executes or otherwise provides thecomputing environment8920′ based on theportable computing environment8920. In one embodiment, thecomputing device8910 and/orloading mechanism8940 accesses thevirtual image8925 from themobile computing device9005 and loads or executes thevirtual machine image8925 as avirtual machine8925 in the establishedvirtualized environment8922. In another embodiment, thecomputing device8910 and/orloading mechanism8940 automatically loads, executes or otherwise establishes thecomputing environment8920 with thevirtualization layer8922 upon detection of a connection overnetwork150. In still another embodiment, thecomputing device8910 and/orloading mechanism8940 automatically loads, executes or otherwise establishes thecomputing environment8920 and thevirtualization layer8922 upon detection of existence or identification of theportable computing environment8920 on themobile computing device9005.
In some embodiments, a user may select thevirtual machine image8925 from themobile computing device9005 for execution as avirtual machine8925 via any type and form of user interface. In one of these embodiments, thevirtualization software8921,virtualization layer8922,hypervisor8923, orloading mechanism8940 may display a user interface for a user to identify avirtual image8925, and/or to execute avirtual machine8925 based on avirtual image8925. In another of these embodiments, a client, such as an ICA client, an RDP client, or an X11 client, executes on thecomputing device8910 and provides the user interface to the user.
In some embodiments, a user may access, read, and/or write user data8930 during the course of using the establisheduser environment8920′. In one of these embodiments, the userhost computing device8910 may access, read and/or write the user data8930 to themobile computing device9005. In another of these embodiments, the user of thecomputing device8910 may edit or modify user data8930 or may create new data and information in user data8930.
In other embodiments, a user of thecomputing device8910 may access, read, and/or write user data to thestorage element128′ of thecomputing device8910. In still other embodiments, thecomputing device8910 may synchronize user data8930 on thecomputing device8910 with user data8930 on themobile computing device8905. In one of these embodiments, thecomputing device8910 uses thevirtualization layer8922 or theloading mechanism8940 to synchronize the user data8930. In yet other embodiments, themobile computing device9005 may have a program or application for synchronizing data, such as files and folders, between themobile computing device9005 and thecomputing device8910.
In one embodiment, themobile computing device9005 may disconnect from thecomputing device8910. In some embodiments, themobile computing device9005 may disconnect at any point in time during the use of the establishedcomputing environment8920′. In other embodiments, themobile computing device9005 may disconnect after thecomputing environment8920′ is terminated on thecomputing device8910. In still other embodiments, theuser environment8920′ is automatically terminated upon disconnection of themobile computing device9005 from thecomputing device8910. In one embodiment, thecomputing environment8920′ may remain established on thecomputing device8910 after themobile computing device9005 disconnects from thecomputing device8910. In some embodiments, once thecomputing environment8920′ is established on thecomputing device8910, themobile computing device9005 may be disconnected.
In some embodiments, themobile computing device9005 can access, read, and/or write user data8930 to any portion of theportable computing environment8920. For example, in one embodiment, although theportable computing environment8920 is not established or virtualized oncomputing device8910, themobile computing device9005 can still access, read, and/or write to and from the user data8930. In one embodiment, the user may use a first application in the establishedcomputing environment8920′ to access a file of the user data8930. In another embodiment, the user may use a second application on themobile computing device9005 to access the same file of the user data8930. In some embodiments, thevirtualization software8921 orvirtual machine image8925 allows access to the user data8930, even thoughvirtualization software8921 orvirtual image8925 is not executing or operating.
In some embodiments, thecomputing device8910,loading mechanism8940, or thevirtualized layer8920 provides a user interface for the user to select a portable computing environment from storage to establish thecomputing environment8920. For example, themobile computing device9005 or thecomputing device8910 may have a portable computing environment selection mechanism, as discussed in greater detail below. In other embodiments, thecomputing device8910,loading mechanism8940, or thevirtualized layer8922 uses one of the plurality of portable computing environments based on a characteristic of thecomputing device8910, such as an operating system type, or based on user data identifying the portable computing environment to use for thecomputing device8910.
Referring now toFIG. 92A, in one embodiment, thecomputing device8910 further comprises acomputing environment selector9250. In brief overview,FIG. 92A depicts amobile computing device9005 connected to acomputing device8910 via anetwork150. Themobile computing device9005 further comprises astorage element128, an I/O device or interface130, and aloading mechanism8940. Themobile computing device9005 stores one or moreportable computing environments8920a-8920ninstorage element128. In some embodiments, thestorage element128 comprises a storage device, such as thestorage device8905 described above in connection withFIGS. 90A and 90B.
In some embodiments, themobile computing device9005 does not have a user input I/O device130 and/or a user output I/O device130. In other embodiments, themobile computing device9005 obtains or derives power from the connection to thecomputing device8910, such as for example, from a USB connection. In still other embodiments, themobile computing device9005 is a card of the following type: CompactFlash, Memory Stick, MultiMediaCard, Secure Digital, or SmartMedia.
In one embodiment, thestorage element128 stores a plurality of computing environments and a plurality of virtual machine images. In another embodiment, thestorage element128 stores one or more of a plurality of virtual machine images providing one of a different operating system or a different application than at least one virtual machine images accessible to the computing device. In still another of these embodiments, thestorage element128 stores one of the data associated with at least one computing environment and the at least one virtual machine image in an encrypted format.
In some embodiments, themobile computing device9005 stores data associated with at least oneportable computing environment8920. In one of these embodiments, themobile computing device9005 stores data associated with a plurality ofportable computing environments8920a-8920n. In another of these embodiments, each of theportable computing environments8920a-8920ncomprises thesame virtualization software8921a-8921n. In still another of these embodiments, theportable computing environments8920a-8920ncomprisedifferent virtualization software8921a-8921n.
In other embodiments, theportable computing environments8920a-8920nmay comprise at least onevirtualization software8921athat is the same as another virtualization software8921b. In other embodiments, theportable computing environments8920a-8920nmay comprise at least onevirtualization software8921athat is different from another virtualization software8921b. In yet another embodiment, there may be one copy of thevirtualization software8921 to be used for each of thevirtual images8925a-8925ninstorage128.
In one embodiment, one or more of thevirtual machine images8925a-8925nprovides access to the same operating system or are used on the same operating system. In another embodiment, one or more of thevirtual machine images8925a-8925ncomprises a different operating system or executes on a different operating system. In some embodiments, thevirtual machine images8925a-8925nshare the same user data8930. In other embodiments, thevirtual machine images8925a-8925nmay each have distinct sets of user data8930a-8930n. In one embodiment, one of thevirtual machine images8925a-8925nmay provide access to a first computing environment, for example, a work desktop environment. In another embodiment, one of thevirtual machine images8925a-8925nmay provide access to a second computing environment, for example, a home desktop environment. In some embodiments, avirtual machine image8925a-8925nmay provide access to a computing environment comprising a set of one or more portable applications of the user. Themobile computing device9005 may store any desired set of one ormore user environments8920a-8920n.
Themobile computing device9005 includes a connector for connecting themobile computing device9005 to a computing device, such as thecomputing device8910. In one embodiment, the connector is connectable to acomputing device8910 via one of the following: a wireless connection, a USB connection, a Firewire connection, a Bluetooth connection, a Wi-Fi connection, a network connection, and a docking connection.
Themobile computing device9005 includes aloading mechanism8940 for automatically loading the at least one computing environment from the storage element onto a computing device upon connection of the mobile computing device to the computing device via the connector. In one embodiment, theloading mechanism8940 automatically installs the at least one computing environment on thecomputing device8910. In another embodiment, theloading mechanism8940 automatically executes the at least one computing environment on thecomputing device8910. In still another embodiment, theloading mechanism8940 accesses at least one virtual machine image stored in thestorage element128 to execute a virtual machine, the virtual machine providing access to a computing environment.
In some embodiments, themobile computing device9005 includes a user interface provided for a user to select one virtual machine image to execute on thecomputing device8910 from a plurality of virtual machine images. In other embodiments, thecomputing device8910 provides the user interface.
In one embodiment, a selection mechanism, such as acomputing environment selector9250 provides a user interface for a user to select one of theportable computing environments8920a-8920nto execute or establish on thecomputing device8910. Thecomputing environment selector9250 may comprise software, hardware, or any combination of software and hardware. In some embodiments, thecomputing environment selector9250 has a graphical user interface providing a list of the one or moreportable computing environment8920a-8920nstored in themobile computing device9005. In other embodiments, thecomputing environment selector9250 may comprise a command line interface. In one embodiment, thecomputing environment selector9250 comprises software, stored on or provided by either themobile computing device9005 or thecomputing device8910. In one embodiment, thevirtualized software8921,virtualized layer8922 orportable computing environment8920 comprises thecomputing environment selector9250. In another embodiment, thecomputing environment selector9250 is executed on themobile computing device9005. In some embodiments, thecomputing environment selector9250 comprises a hardware and software mechanism on themobile computing device9005 for a user to select one of theportable computing environments8920a-8920n. For example, themobile computing device9005 may provide via a screen or visual display unit a text based user interface with a thumb wheel to select aportable computing environment8920a-8920n.
Referring now toFIG. 92B, a flow diagram depicts another embodiment of the steps taken in a method for establishing a computing environment on a computing device via a mobile computing device. By connecting themobile computing device9005 carrying aportable computing environment8920a-8920nto acomputing device8910, a user establishes avirtualized computing environment8920′ on thecomputing device8910. In brief overview, atstep9255, themobile computing device9005 is connected to thecomputing device8910, and atstep9260, thecomputing device8910 detects the connection. Atstep9265, and in some embodiments, the user selects aportable computing environment8920a-8920nfrom storage to be used on thecomputing device8910. Atstep9270, aportable computing environment8920a-8920nin thestorage element128 is decrypted. Atstep9275, thevirtualization software8921 is automatically loaded on thecomputing device8910. Atstep9280, thecomputing device8910 executes avirtual machine8925′ in thevirtualized environment8922 based on theportable computing environment8920a-8920n, such as by accessingvirtual image8925. Atstep9285, thecomputing device8910 controls access to thecomputing device8910 via thevirtualized computing environment8920′.
In further detail, atstep9255, themobile computing device9005 is connected to thecomputing device8910 by any suitable means and/or mechanisms. Atstep9260, thecomputing device8910 detects the connection. In some embodiments, the operating system of thecomputing device8910 detects connection of themobile computing device9005. In other embodiments, a device manager detects the connection of themobile computing device9005. In still other embodiments, a plug-and-play manager detects the connection of themobile computing device9005. In other embodiments, a device driver for thecomputing device8910 detects the connection. In yet another embodiment, theloading mechanism8940′ detects the connection of themobile computing device9005.
In some embodiments, upon detection of the connection, thecomputing device8910 may automatically install, load, and execute a device driver, software, application, process, service, thread or task to perform any of the operations described herein, as described above in connection withFIGS. 89A and 89B,FIGS. 90A and 90B, andFIGS. 91A and 91B. In other embodiments, upon detection of the connection,computing device8910 may perform any type and form of authentication and authorization of the user of themobile computing device9005.
Atstep9265, the user selects aportable computing environment8920a-8920nfromstorage element128 to establish as thecomputing environment8920′ on thecomputing device8910. For example, the user may identify or select, via thecomputing environment selector9250, theportable computing environment8920a-8920nto run on thecomputing device8910. In one embodiment, thecomputing device8910 displays a user interface providing a list ofportable computing environments8920a-8920nfrom themobile computing device9005 for the user to select to establish on thecomputing device8910. In some embodiments, thecomputing device8910 executes an application program identified via thestorage element128 of themobile computing device9005, such as via an autorun file. In another embodiment, themobile computing device9005 has a visual display unit displaying a user interface for the user to select one of theportable computing environments8920a-8920n. In some embodiments, one of theportable computing environments8920a-8920nis identified as adefault computing environment8920 to establish on thecomputing device8910. In another embodiment, theportable computing environments8920a-8920nare identified in an order or preference or priority. In one embodiment, themobile computing device9005 comprises oneportable computing environment8920. In this embodiment, theportable computing environment8920 may not need to be selected by the user and is automatically used by thecomputing device8910. In another embodiment, although there is oneportable computing environment8920 on themobile computing device9005, the user may select the oneportable computing environment8920.
Atstep9270, thecomputing device8910 may perform decryption on any portion ofstorage element128 which may be encrypted. In one embodiment, thestorage element128 comprises an encrypted file system. In another embodiment, thevirtualization software8921,virtual image8925 and/or user data8930, or any portions thereof may be encrypted. In one embodiment, thecomputing device8910, decrypts the portion ofstorage128 using a key via theloading mechanism8940′, thevirtualization layer8920, or another set of executable instructions. In some embodiments, the key may a public key. In other embodiments, the key may be a private key. In one embodiment, the decryption key may be identity-based, such as based on the identity of a user authenticated via thecomputing device8910. In another embodiment, the user's authentication credentials, such as user id and/or password, may be used to generate or obtain a key for decryption. For example, the user's authentication credentials may be used to obtain a key stored in the database. In another embodiment, thecomputing device8910 generates a private key based on performing an algorithm on the user's authentication credentials and a public key, such as a public key provided by a trusted third party. In yet another embodiment, themobile computing device9005 may store a key that is used by thecomputing device8910 to authenticate the user and/or generate a decryption key. In some embodiments, thecomputing device8910 uses a ticket authority to obtain a ticket for decrypting the encrypted portions ofstorage128. Any type and form of authentication technologies may be used in performing the operations described herein, such as password based authentication or biometric authentication. In one embodiment, a token is used to provide two-factor authentication, such as a token manufactured by RSA Security Inc. of Bedford, Mass.
Atstep9275, thecomputing device8910 provides or establishes thevirtualization layer8922 on thehost computing device8910 as described above in connection withFIGS. 89A-89B,FIGS. 90A-90B, andFIGS. 91A-91B.
Atstep9280, thecomputing device8910 automatically loads, executes or otherwise establishes avirtual machine8925a-8925nto provide access to aportable computing environment8920a-8920non thevirtualized layer8922. In one embodiment, thecomputing device8910 and/orloading mechanism8940 accesses thevirtual machine image8925a-8925nfrom thestorage element128 and loads or executes thevirtual machine image8925a-8925nas avirtual machine8925′ in the establishedvirtualized environment8922. In another embodiment, thecomputing device8910 loads, executes or establishes a virtual machine as described above in connection withFIGS. 89A-89B,FIGS. 90A-90B, andFIGS. 91A-91B.
Atstep9285, in some embodiments, thecomputing environment8920′ orvirtual machine8925 is established in a secured manner. In one embodiment, the establishedcomputing environment8920′ protects access to user data8930 or portions of thecomputing environment8920 from the environment of thecomputing device8910 external to thecomputing environment8920′. In one embodiment, thevirtualization software8921 and/orvirtualization layer8922 ensures that contents of thevirtual machine8925′ remain secure while running on thecomputing device8910. In some embodiments, thevirtualization software8921 and/orvirtualization layer8922 ensures that no input or no output is made available to the environment of thecomputing device8910 in a persistent fashion. For example, in one embodiment, thevirtualization software8921 and/orvirtualization layer8922 may disable clipboard access between the host environment and thevirtual machine8925′. In another embodiment, thevirtualization software8921 and/orvirtualization layer8922 disables access to a file system, or portion thereof, of thecomputing device8910. In other embodiments, thevirtualization software8921 and/orvirtualization layer8922 prevents paging by thevirtual machine8925′ to the page file of thecomputing device8910. In one embodiment, thevirtual machine8925′ uses thestorage element128 on themobile computing device9005 for file and data operations. In some embodiments, thevirtualization layer8922 acts as firewall between thevirtual machine8925′ and the host environment. In yet another embodiment, thevirtualization software8921 and/orvirtualization layer8922 may provide a configuration mechanism, such as a user interface, to select which actions may be performed and/or data shared between thecomputing device8910 and thevirtual machine8925′.
Although this method is generally discussed as establishing acomputing environment8920′ from one of a plurality ofportable computing environments8920a-8920n, a plurality ofcomputing environments8920′,8920″ may be established on thecomputing device8910. For example, afirst computing environment8920′ may be established on thecomputing device8910 using a firstportable computing environment8920afrom themobile computing device9005, and asecond computing environment8920″ may be established on thecomputing device8910 using a second portable computing environment8920bfrom themobile computing device9005.
Referring now toFIGS. 93A-93D, block diagrams depict embodiments of systems and methods for a mobile computing device to one or more hardware resources. The hardware resource may provide access to resources, such as a processor or memory with greater power, size, capacity or performance as compared to corresponding resources of the mobile computing device.FIG. 93A depicts an embodiment of amobile computing device9005 connecting to a docking station or device having a processor, memory and other computing resources for use by the mobile computing device.FIG. 93B depicts an embodiment of a mobile computing device connecting to a second hardware resource, via a docking mechanism, to use a processor, memory and/or resources of the second hardware resource.FIG. 93C depicts an embodiment of a docking station providing connectivity to a second hardware resource, such as a computing device, to use a processor, memory and/or resources of the second hardware resource.FIG. 93D depicts one embodiment of the steps taken in a method of providing to a mobile computing device one or more hardware resources, as described in the environments illustrated inFIGS. 93A-93C. In some embodiments, a portable computing environment may be established on the hardware resource in accordance with any of the systems and method described in conjunction withFIGS. 89A-89B,90A-90B,91A-91C,92A-92B. In other embodiments, the computing environment of the mobile computing device is accessed using the processor, memory, and/or resources of the hardware resource.
Referring now toFIG. 93A, in brief overview, the depicted system includes amobile computing device9005 connected to ahardware resource9302. Themobile computing device9005 has acentral processing unit102. Thehardware resource9302 has acentral processing unit102′. In one embodiment, thehardware resource9302 includes adocking station9310 providing access to thehardware resource9302. In another embodiment, thedocking station9310 includes aprocessor102′ andmemory122′. In still another embodiment, the mobile computing device provides the functionality of amobile computing device9005 as described above in connection withFIGS. 90A,90B,91A,91B,92A, and92B.
Themobile computing device9005 comprises aconnection mechanism9305 for connecting themobile computing device9005 to thehardware resource9302. Themobile computing device9005 uses thecentral processing unit102 to effect an initial quanta of work and uses thecentral processing unit102′ of thehardware resource9302 to effect subsequent quanta of work when connected to thehardware resource9302. In one embodiment, themobile computing device9005 uses theconnection mechanism9305 to switch to using the processing or computing capabilities of thehardware resource9302 upon or after connecting to thehardware resource9302. For example, themobile computing device9005 may execute acomputing environment8920 on thehardware resource9302 after connecting to thedocking station9310.
In one embodiment, themobile computing device9005 connects to thehardware resource9302 via connection acrossnetwork150. In another embodiment, themobile computing device8905 is docked to thehardware resource9302 via a I/O device mechanism130a-130ndesigned and constructed to connect to, and/or interface or communicate with the type and form ofmobile computing device9005. In one embodiment, themobile computing device9005 is docked to thehardware resource9302 via a docking connector. For example, one of thedevices9005 or9310 may have a docking connector, and one of thedevice9005 or9310 may have a corresponding interface or connection mechanism designed to receive the connector.
Theconnection mechanism9305 may comprise software, hardware, or any combination of software and hardware enabling themobile computing device9005 to access thehardware resource9302. In some embodiments, theconnection mechanism9305 comprises any type and form of integrated circuit, such as a Field Programmable Gate Array (FPGA), Programmable Logic Device (PLD), or Application Specific Integrated Circuit (ASIC) capable of performing any of the operations described herein.
In one embodiment, theconnection mechanism9305 comprises one of the following: a wireless connection, a USB connection, a Firewire connection, a Bluetooth connection, a Wi-Fi connection, a network connection, and a docking connection.
In some embodiments, theconnection mechanism9305 is enables the system or mother board of themobile computing device9005 to use aprocessor102′ and/ormemory122′ of thehardware resource9302. In other embodiments, theconnection mechanism9305 communicates with any system or data bus of themobile computing device9005 to transmit and receive signals directing themobile computing device9005 to use a resource of thehardware resource9302, such as theprocessor102′ andmemory122′ of thedocking station9310. In some embodiments, theconnection mechanism9305 may communicate with a system or data bus of thehardware resource9302 to enable the use of resources of thehardware resource9302 by themobile computing device9005.
In one embodiment, theconnection mechanism9305 may have themobile computing device9005 reboot, restart or reset when connected or docked to thehardware resource9302. In another embodiment, theconnection mechanism9305 may allow real-time switching to use a computing resource of thehardware resource9302 without a reboot or restart. In some embodiments, theconnection mechanism9305 transfers data frommemory122 on themobile computing device9005 tomemory122′ ofhardware resource9302. In other embodiments, theconnection mechanism9305 transfers execution of a process from aprocessor102 on themobile computing device9005 toprocessor102′ of thehardware resource9302. In still other embodiments, themobile computing device9005 transfers central processing control and management to thehardware resource9302. In yet other embodiments, theconnection mechanism9305 provides for the use of theprocessor102 and/ormemory122 on themobile computing device9005 in conjunction with theprocessor102′ and/ormemory122′ of thehardware resource9302. For example, when connected to thehardware resource9302, themobile computing device9005 may operate as a multi-processor device.
In some embodiments, themobile computing device9005 and/orconnection mechanism9305 maintains the state of theprocessor102 and/ormemory122 on themobile computing device9005. As such, in some of these embodiments, upon disconnection from thehardware resource9302, themobile computing environment9005 continues from a state prior to connection to thehardware resource9302. In others of these embodiments, theconnection mechanism9305 transfers data, information, and execution or control from aprocessor102′ and/ormemory122′ to theprocessor102 and/ormemory122 of themobile computing device9005.
In one embodiment, theconnection mechanism9305 comprises any type and form of user interface to receive user input regarding connection to thehardware resource9302, use of hardware resources, and transfer of data and control between hardware resources. For example, theconnection mechanism9305 may display a graphical user interface upon docking to thehardware resource9302 for the user to setup, configure, control and/or manage the use of thehardware resource9302.
In some embodiments, thehardware resource9302 uses thestorage element128 of themobile computing device9005 to provide access to a computing environment. In one of these embodiments, thehardware resource9302 executes an operating system stored instorage element128 of the connectedmobile computing device9005. In another of these embodiments, thehardware resource9302 mounts thestorage element128 of the connectedmobile computing device9005 for access by thehardware resource9302. In still another of these embodiments, the user uses the operating system or computing environment of thehardware resource9302 but executes applications and accesses data on thestorage element128 of themobile computing device9005. In yet another of these embodiments, themobile computing device9005 may store portable applications to execute in thehardware resource9302.
In one embodiment, thehardware resource9302 executes a virtual machine to provide access to a computing environment stored in themobile computing device9005. In another embodiment, thehardware resource9302 executes a virtual machine, the virtual machine providing access to a virtualized computing environment. In still another embodiment, a file from a storage location provided by themobile computing device9005 is accessed by a user via thehardware resource9302 when themobile computing device9005 is connected to thehardware resource9302, and the file is accessed by the user, via themobile computing device9005, when themobile computing device9005 is not connected to thehardware resource9302.
Still referring toFIG. 93A and in one embodiment, thehardware resource9302 comprises adocking station9310, thedocking station9310 comprising acomputer system100. In some embodiments, the docking station9110 may be any type and form ofcomputer system100, as described above in connection withFIGS. 1A-1B. In one of these embodiments, and as described in connection withFIGS. 1A-1B, the docking station9110 may comprise components including, but not limited to, aprocessor102′,memory122,storage128, anetwork interface118′, and/or one or more I/O devices130a-130n′. In another of these embodiments, the docking station9110 is connected to adisplay device124, akeyboard126, and/or apointing device127. Thedocking station9310 may also be connected to or provide access to other hardware resources and computing peripherals. In some embodiments, thedocking station9310 provides access to resources of anothercomputer system100 via anetwork150.
In one embodiment, thehardware resource9302 has aprocessor102′ having a higher processor speed than theprocessor102 of themobile computing device9005. In another embodiment, thehardware resource9302 has aprocessor102′ comprising a processor architecture different than a processor architecture of theprocessor102 of themobile computing device9005. In still another embodiment, themobile computing device9005 uses theprocessor102 to effect an initial quanta of work and, upon connection to thehardware resource9302 via theconnection mechanism9305, uses theprocessor102′ to effect a subsequent quanta of work. In yet another embodiment, themobile computing device9005 determines that amemory122′ of thehardware resource9302 has a memory size larger than a memory size of amemory122 of themobile computing device9005 and uses thememory122′ of thehardware resource9302 to effect subsequent quanta of work.
In some embodiments, themobile computing device9005 uses a first operating system executing on the first central processing unit when not connected to the hardware resource and a second operating system executing on the second central processing unit when connected to the hardware resource. In one of these embodiments, the second operating system is different than the first operating system.
Referring now toFIG. 93B, another embodiment of thehardware resource9302 and themobile computing device9005 is depicted. In brief overview, themobile computing device9005 connects to adocking station9310 across anetwork150, and in turn,docking station9310 connects to acomputing device8910. In this embodiment, thehardware resource9302 includes adocking station9310 connected to or in communication with acomputing device8910. Instead of providing resources, such as aprocessor102′ andmemory122′ as depicted inFIG. 93A, thedocking station9310 provides access to resources of asecond computing device8910 via the connection acrossnetwork150′. In one embodiment, after connection to thedocking station9310, themobile computing device9005 uses resources of thecomputing device8910 via connections acrossnetworks150 and150′.
Referring now toFIG. 93C, another embodiment of thehardware resource9302 and themobile computing device9005 is depicted. In brief overview, themobile computing device9005 connects to thecomputing device8910 viadocking mechanism9310. In this embodiment, thehardware resource9302 includes acomputing device8910 having adocketing mechanism9310, such as an I/O device or mechanism130, to dock themobile computing device9005. After connection viadocking mechanism9310, themobile computing device9005 uses the resources of thecomputing device8910, such as a processor and/or memory. In some embodiments, thehardware resource9302 provides access themobile computing device9005 with access to a peripheral computing device.
In any of the embodiments depicted inFIGS. 93A-93C, thehardware resource9302 may provide resources and capabilities offering improved power, performance, or other operating or performance characteristics desired by the user of themobile computing device8905 or suitable for one or more applications of the mobile computing device, as described in more detail above in connection withFIGS. 89A-89B,90A-90B,91A-91B, and92A-92B.
Referring now toFIG. 93D, a flow diagram depicts one embodiment of the steps taken in a method for providing to a mobile computing device one or more hardware resources. In brief overview, the mobile computing device uses a first central processing unit of themobile computing device9005 to effect an initial quanta of work (step9355). Themobile computing device9005 connects to ahardware resource9302 including a second central processing unit (step9360). The mobile computing device uses a second central processing unit of thehardware resource9302 to effect subsequent quanta of work (step9365).
A mobile computing device uses a first central processing unit to effect an initial quanta of work (step9355). In one embodiment, the mobile computing device is acomputer100 as described above in connection withFIGS. 1A and 1B. In another embodiment, the mobile computing device is amobile computing device9005 as described above in connection withFIGS. 90A-92B.
Themobile computing device9005 connects to ahardware resource9302 including a central processing unit (step9360). In one embodiment, themobile computing device9005 connects to thehardware resource9302 by any suitable means and/or mechanisms. In some embodiments, themobile computing device8905 connects or docks to adocking station9310 providing one or more resources. In one of these embodiments, themobile computing device9005 connects to adocking station9310 having aprocessor102′ and/ormemory122′. In another of these embodiments, themobile computing device9005 connects to adocking station9310 providing a connection to asecond computing device8910, thesecond computing device8910 including aprocessor102′. In still another of these embodiments, themobile computing device9005 connects or docks to adocking mechanism9310 of ahost computing device8910.
In some embodiments, themobile computing device8905 and the docking station9110 may connect via any type and form of connection, wired, wireless or otherwise, including, but not limited to, via a wireless connection, a Wi-Fi connection, a USB connection, a Firewire connection, a Bluetooth connection, a network connection, and a docking connection. Themobile computing device8905 and docking station9110 may communicate via any type and form of protocol, such as a device, bus, communication, application, data, or network protocol.
Themobile computing device9005 uses a central processing unit of the hardware resource9302 (step9370). In one embodiment, themobile computing device9005 initiates use of aprocessor102′ and/ormemory122′ of thehardware resource9302 via aconnection mechanism9305. In another embodiment, themobile computing device9005 transfers execution control and management to the central processing unit of thehardware resource9302. In still another embodiment, themobile computing device9005 transfers data and information to the processor and/or memory of thehardware resource9302. In some embodiments, themobile computing device9005 uses the processor and/or memory of thehardware resource9302 as a second processor and/or memory for themobile computing device9005.
In one embodiment, themobile computing device9005 connects to ahardware resource9302 comprising one of the following: a first docking station having the second central processing unit; a second computing device having the second central processing unit; and a second docking station providing access to a third computing device having the second central processing unit.
In some embodiments, an application program on themobile computing device9005 executes in theprocessor102′ and usesmemory122′ of the computing environment9102 and displays on a visual display unit of themobile computing device9005. In other embodiments, an application program executing on the processor and using the memory of thehardware resource9302 receives user input from an input device of themobile computing device9005. In still other embodiments, an application program executing on the processor and using the memory of thehardware resource9302 displays on adisplay device124 of thehardware resource9302 while receiving input from an input mechanism of themobile computing device9005.
In one embodiment, an application program executing on the processor and using the memory of thehardware resource9302 displays on a visual display unit of themobile computing environment9005 while receiving input from an input device of thehardware resource9302, such askeyboard126 andpointing device127. In some embodiments, the computing environment ofmobile computing device9005 executes on the processor and memory of themobile computing device9005 but also uses a resource of thehardware resource9302, such as a network connection, printer, display device, input device, or any I/O device120.
In one embodiment, themobile computing device9005 determines that the second central processing unit has a processor speed greater than a processor speed of the first central processing unit and uses the second central processing unit of the hardware resource to effect subsequent quanta of work. In another embodiment, themobile computing device9005 determines that the second central processing unit has a processor architecture different than a processor architecture of the first central processing unit and uses the second central processing unit of the hardware resource to effect subsequent quanta of work. In still another embodiment, themobile computing device9005 identifies a memory of themobile computing device9005 and identifies a second memory of thehardware resource9302. In yet another embodiment, themobile computing device9005 determines that the second memory of the hardware resource has a memory size larger than a memory size of the first memory of the mobile computing device and uses the second memory of the hardware resource to effect subsequent quanta of work.
In some embodiments, thehardware resource9302 uses one or more resources of themobile computing device9005. In one of these embodiments, thehardware resource9302 accesses a storage element or storage device of themobile computing device9005, such as thestorage element128. In some embodiments, thehardware resource9302 mounts thestorage element128. In another of these embodiments, thehardware resource9302 boots or reboots or otherwise establishes an environment based on a computing environment stored on the mountedstorage element128. In still another of these embodiments, thehardware resource9302 uses theprocessor102 and/ormemory122 of themobile computing device9005 in addition to the processor and/or memory of thehardware resource9302.
In some embodiments, thehardware resource9302 uses a display device and/or input device of themobile computing device9005. In other embodiments, thehardware resource9302 executes acomputing environment8920′ based on aportable computing environment8920 in thestorage element128 of themobile computing device9005. In some embodiments, theportable computing environment8920 may execute in thehardware resource9302 but display on and receive input from themobile computing device9005.
In one embodiment, thehardware resource9302 provides themobile computing device9005 with access to a peripheral computing device of the hardware resource. In another embodiment, themobile computing device9005 uses a first operating system executing on the first central processing unit on themobile computing device9005 when not connected to thehardware resource9302 and a second operating system executing on the second central processing unit of thehardware resource9302 when connected to thehardware resource9302. In still another embodiment, the first operating system is different than the second operating system. In yet another embodiment, a virtual machine executing on thehardware resource9302 provides themobile device9005 with access to a first operating system. In some embodiments, thehardware resource9302 executes a virtual machine to provide access to a computing environment stored in themobile computing device9005. In other embodiments, themobile computing device9005 provides access to a computing environment on thehardware resource9302. In still other embodiments, a user accesses, via thehardware resource9302, a file stored in themobile computing device9005 when themobile computing device9005 is connected to thehardware resource9302 and accessing, by the user, via themobile computing device9005, the file stored in themobile computing device9005 when themobile computing device9005 is not connected to thehardware resource9302.
In one embodiment, themobile computing device9005 uses a processor of thehardware resource9302 to provide access to a computing environment stored on themobile computing device9005. In another embodiment, themobile computing device9005 uses a processor of thehardware resource9302 to provide access to an operating system stored on themobile computing device9005. In still another embodiment, themobile computing device9005 uses a processor of thehardware resource9302 to provide access to an application program stored on themobile computing device9005. In yet another embodiment, themobile computing device9005 uses a processor of thehardware resource9302 to execute a virtual machine on the hardware resource, responsive to a virtual machine image stored on the mobile computing device. In some embodiments, the mobile computing device uses a processor of thehardware resource9302 to provide access to a computing environment stored on the hardware resource.
Referring now toFIG. 94A, a block diagram depicts one embodiment of a mobile computing device having a plurality of processors. In brief overview,mobile computing device9005 comprises afirst processor102 and asecond processor102′. Theprocessors102,102′ may access amemory122 and/orstorage element128 on themobile computing device9005. Themobile computing device9005 includes aswitching mechanism9405 for switching between using thefirst processor102 and thesecond processor102′. In some cases, themobile computing device9005 may have a lower-poweredprocessor102 for minimal functionality or standby operations, and have a higher-poweredprocessor102 for normal operations or for applications suitable or requiring more powerful processor capability. While mobile, the user may want to access features such as email, calendar, and contact information much like a PDA or smartphone. When accessing such applications, themobile computing device9005 may use the lower-poweredprocessor102 to lengthen battery-life and conserve power. The user may at any time want to access an application having higher processor requirements or suitability. When accessing these applications, themobile computing device9005 may use the higher-poweredprocessor102′.
In further detail, theprocessor102 andprocessor102′ may be the same type and speed of processor. In other embodiments, theprocessor102 andprocessor102′ may be a different type and speed of processor. In some embodiments,processor102 comprises a processing speed and/or capability greater thanprocessor102′. In other embodiments,processor102′ comprises a processing speed and/or capability greater than theprocessor102. In some embodiments, theprocessor102 and102′ are single core processors. In other embodiments, theprocessor102 and102′ are multiple core processors. In one embodiment, theprocessor102 is a single core processor andprocessor102′ is a multiple core processor, such as dual or quad core processor. In yet another embodiment, theprocessors102 and102′ comprise the same processor architecture and/or are manufactured by the same processor manufacturer. In other embodiments, theprocessors102 and102′ comprise different processor architectures and/or are manufactured by different processor manufacturers.
In some embodiments, afirst processor102 comprises operational characteristics designed and constructed for lower power consumption, longer battery life, performance and/or applications of a mobile or portable computing device. In one of these embodiments, afirst processor102 may be referred to as a low-powered CPU. In other embodiments, asecond processor102′ comprises operational characteristics designed and constructed for the power, performance and/or application requirements of a desktop computing environment, server computing environment, or otherwise a non-mobile computing environment. In one of these embodiments, thesecond processor102′ may be referred to as a high-powered CPU. In other embodiments, theprocessor102 provides a first level of processing or processor capability, and thesecond processor102′ provides a second level of processing or processor capability. In one of these embodiments, the second level of capability is greater or higher than the first level. In another of these embodiments, the second level of capability is preferred over the first level. In still other embodiments, the mobile computing device uses the first processor for one or more applications suitable for the first level of power consumption and processing capability, and the mobile computing device uses the second processor for one or more applications suitable for the second level of power consumption and processing capability.
Theswitching mechanism9405 enables themobile computing device9005 to switch between using afirst processor102 and asecond processor102′, or any plurality of processors. In some embodiments, theswitching mechanism9405 comprises any type and form of integrated circuit, such as a Field Programmable Gate Array (FPGA), Programmable Logic Device (PLD), or Application Specific Integrated Circuit (ASIC) capable of performing any of the operations described herein. In some embodiments, theswitching mechanism9405 enables the system or mother board of themobile computing device9005 to use afirst processor102. In some embodiments, theswitching mechanism9405 enables the system or mother board of themobile computing device8905 to use asecond processor102′. In one embodiment, theswitching mechanism9405 communicates with any system or data bus of themobile computing device9005 to transmit and/or receive signals directing themobile computing device9005 to use asecond processor102′ instead of afirst processor102, and likewise to use thefirst processor102 instead of thesecond processor102′. In some embodiments, theswitching mechanism9405 may interface and/or communicate with a system or data bus of themobile computing device9005 to transmit and/or receive signals to use both thefirst processor102 andsecond processor102′ instead of just thefirst processor102 or thesecond processor102′.
In another embodiment, theswitching mechanism9405 transfers data and execution fromprocessor102 toprocessor102′ of themobile computing device9005. In some embodiments, theswitching mechanism9405 transfers central processing control and management from afirst processor102 to asecond processor102′, or from thesecond processor102′ to thefirst processor102. In one embodiment, theswitching mechanism9405 may have themobile computing device9005 reboot, restart or reset when switching between using aprocessor102,102′. In another embodiment, theswitching mechanism9405 may perform real-time switching from processor to processor.
In some embodiments, theswitching mechanism9405 identifies a condition, event or trigger upon which to switch between using one processor and another processor. In other embodiments, switching mechanism switches to one of the first processor or the second processor based on a user selection. In one of these embodiments, theswitching mechanism9405 comprises a user interface, such as a graphical user interface or a command line user interface, for a user to identify, specify or configure the conditions, events or triggers for performing switching between processors. For example, theswitching mechanism9405 may switch, automatically, manually or otherwise, between afirst processor102 and asecond processor102′ based on any operational characteristics of themobile computing device9005 or theprocessors102,102′. In still other embodiments, the switch mechanism9105 switches between use of a processor based on a level of load of the first processor or second processor. In yet other embodiments, theswitch mechanism9405 switches between use of a processor based on a level of activity, such as task, processes, applications, of thefirst processor102 orsecond processor102′. In some embodiments, theswitch mechanism9405 switches between using a first processor and a second processor based on a level of consumption of power and/or battery life. In still another embodiment, theswitch mechanism9405 switches between use of a processor based on a type of application actuated or executed on themobile computing device9005.
In another embodiment, theswitching mechanism9405 comprises a user interface for the user to switch betweenprocessors102,102′. For example, using a hot key, set of key strokes, or selecting an icon in a task bar, a user may instruct, command or direct themobile computing device9005 and/orswitching mechanism9405 to switch between processors, use one processor instead of another, or use the plurality ofprocessors102,102′ at the same time.
Referring now toFIG. 94B, a flow diagram depicts one embodiment of a method for switching, by a mobile computing device, between use of multiple processors. In brief overview, the mobile computing device uses a first processor designed and constructed to provide a first level of power consumption and processing capability (step9455). The switching mechanism determines to switch the mobile computing device to using a second processor based on an operating characteristic of the mobile computing device, the second processor designed and constructed to provide a second level of power consumption and processing capability (step9460). Themobile computing device9005 uses the second processor responsive to the determination by the switching mechanism.
In further detail, themobile computing device9005 uses the first processor (step9455). In one embodiment, theswitching mechanism9405 identifies thefirst processor120 as the default processor for use by themobile computing device9005. In another embodiment, themobile computing device9005 uses thefirst processor120 upon starting, restarting or booting of the operating system on themobile computing device9005. In some embodiments, a user selects thefirst processor120 as the default processor. In one of these embodiments, the use may have identified thefirst processor120 to theswitching mechanism9405.
Theswitching mechanism9405 determines to switch themobile computing device9005 to using thesecond processor120′, based on an operating characteristic of the mobile computing device, the second processor designed and constructed to provide a second level of power consumption and processing capability (step9460). In some embodiments, theswitching mechanism9405 determines to switch based on operating conditions or characteristics of themobile computing device9005, such as the operating system, resource usage, memory usage, power consumption, load, and numbers of processes, applications, services or tasks.
In one embodiment, the second level of power consumption and processing capability of the second processor comprises a level greater than the first level of power consumption and processing capability of the first processor. In another embodiment, the mobile computing device uses the first processor for one or more applications suitable for the first level of power consumption and processing capability, and uses the second processor for one or more applications suitable for the second level of power consumption and processing capability. In still another embodiment, theswitching mechanism9405 switches to one of the first processor or the second processor automatically based on the initiation of execution of an application.
In some embodiments, theswitching mechanism9405 switches to one of the first processor or the second processor automatically based on one or more of the following operating characteristics: a level of load of one of the first processor or the second processor, a level of activity of one of the first processor or the second processor, and a level of power consumption of one of the first processor or the second processor. In one of these embodiments, theswitching mechanism9405 determines the load, activity or power consumption of thefirst processor102 is near, equal or greater than the processing capability of thefirst processor102. In another of these embodiments, theswitching mechanism9405 determines the processor requirements of an application executed by the user or requested by the user for execution is near, equal or greater than the processing capability of thefirst processor102.
In other embodiments, theswitching mechanism9405 determines themobile computing device9005 would perform at a more suitable performance or operational level, or in a manner desired by the user if themobile computing device9005 was using the second level of processing capability of thesecond processor120′. In still other embodiments, a user selects to switch to using thesecond processor120′. In one of these embodiments, a user, via a user interface, directs or instructs theswitching mechanism9405 to switch themobile computing device9005 to use thesecond processor120′.
Themobile computing device9005 uses the second processor120 (step9465). In one embodiment, themobile computing device9005 uses thesecond processor120′ instead of thefirst processor120. In another embodiment, themobile computing device9005 uses thesecond processor120′ in addition to thefirst processor120. In some embodiments, themobile computing device9005 and/orswitching mechanism9405 transfers information, data, control and/or management to thesecond processor120′ to continue operation of the operating system, applications, process, services or tasks executing on thefirst processor102. In other embodiments, new applications or processes initiated by the user are executed on thesecond processor120′.
In some embodiments, theswitching mechanism9405 switches to having themobile computing device9005 use thefirst processor120 for a first level of processing capability. As withstep9460, theswitching mechanism9405 determines to switch based on the operating conditions or characteristics of thedevice9005, such as the operating system, resource usage, memory usage, power consumption, load, and numbers of processes, applications, services or tasks. For example, in one embodiment, theswitching mechanism9405 determines the load, activity or power consumption of thesecond processor102′ is greater than the processing capability needed for operating themobile computing device9005 in its current state. In another embodiment, theswitching mechanism9405 determines the processor requirements of an application executed by the user or requested by the user for execution is near, or equal to the processing capability of thefirst processor102. In some embodiments, theswitching mechanism9405 determines the processor requirements of an application executed by the user or requested by the user for execution is less than the second level of processing capability ofprocessor120′. In other embodiments, theswitching mechanism9405 determines themobile computing device9005 would perform at a suitable performance or operational level, or in a manner desired by the user if themobile computing device9005 was using the first level of processing capability of thefirst processor120. For example, themobile computing device9005 would perform in a suitable manner for the user using thefirst processor102 but would also save on battery life or reduce power consumption. In yet another embodiment, a user selects to switch to using thefirst processor120. For example, in one embodiment, the user via a user interface directs or instructs theswitching mechanism9405 to switch themobile computing device9005 to use thefirst processor120. Themethod9450 may be performed again to switch themobile computing device9005 to using the first processor atstep9455.
Referring still toFIG. 8, in some embodiments, thesession management component1300 uses a connection to transmit information associated with a monitor on theclient machine10 to the virtual machine service component. In one of these embodiments, multi-monitor geometry support is provided. In another of these embodiments, thesession management component1300 accesses multi-monitor information and enables the virtual machine service component to create a version of the multi-monitor information in the virtual machine.
In one embodiment, techniques are provided for virtualizing a display environment of a client by modifying and controlling the behavior and appearance of an application's window based on a desired display layout for the client. The techniques may be used for simulating or providing a multiple display setup for a single display environment. One embodiment provides a window processing mechanism to intercept a selected message to a window of an application and modify the message to the window to display the window on the client based on the desired display layout. The message to the window provides for the behavior or appearance of a window used or displayed by the application. In one embodiment, the window processing mechanism provides a hooking mechanism to an application's window procedure and replaces the original window procedure with a window procedure designed to intercept a selected window message and modify values of arguments or parameters of the intercepted window message based on the desired display layout of the client. As such, selected window messages are processed to provide or translate the behavior or appearance of the window to the desired display layout.
The techniques and mechanisms described may be practiced in a server-based computing environment, such as between aclient machine10 and aremote machine30 communicating via a remote display protocol. Aremote machine30, or a virtual machine executing in a hypervisor on theremote machine30, may be setup or configured for a single display environment while theclient machine10 may be setup or configured for one or more display devices. For example, a session on a machine, such as a session on a WINDOWS server operating system may only be able to be configured or setup for a single display. The server may obtain a preferred or desired display layout for the client, and store the display layout in association with the client, such as associating the display layout with a remote session for the client. The window message processing mechanism may be used by the server to intercept and modify selected messages to windows of the application running on the server on behalf of the client. The window messages are modified to provide a behavior or appearance of the window based on the display layout associated with the client. As such, the display output communicated by the server to the client includes display output to be displayed on the client according to the client's display layout rather than the display layout, e.g., single display layout, of the session on the server.
Using the techniques and mechanisms described herein allows a user to access a remotely available application in a server-based computing environment regardless of the monitor layout of the client. Instead of the server associating a single display with the remote session, the server will provide display output based on the client's display layout. Furthermore, remotely-provided application may maximize to the proper display from the perspective of the client. Also, menu items and other windows of an application may be displayed appropriately within an application, for example, without appearing disjoint from the application. Additionally, the issue of a window being rendered off-screen after changes to the display layout is handled by automatically moving the window to a viewable upon detection of an off-screen window.
Furthermore, these techniques and mechanisms may also be practiced in a local computing environment to virtualize, simulate, or otherwise provide a multiple monitor environment for a client having a single display device. Although the client may have a single display device, a desired display layout may be configured or provided to specify multiple displays. The window processing mechanism may be used to intercept and modify window messages for an application on the client to control the behavior or appearance of the window based on the desired display layout instead of the actual monitor layout. As such, a user may gain the functionality, benefits, and advantages of a multiple monitor environment without having multiple display devices.
Referring now toFIG. 15A, one embodiment of an environment1502 is depicted. In brief overview, aclient machine10, may be connected to or otherwise use adisplay device124, in one embodiment, ormultiple display devices124a-124n, in another embodiment. Theclient machine10 includes adisplay layout1520 comprising a desired display configuration for theclient machine10, such as fordisplay device124. Theclient machine10 includes astorage element1525 for storing the display layout of theclient machine10. Theclient machine10 also includes awindow processing mechanism1550.
In further detail, thedisplay layout1520 comprises any type and/or form of information or data to identify, specify, or describe a desired display layout configuration for the client. In one embodiment, thedisplay layout1520 may comprise a file or set of files in any format. In another embodiment, thedisplay layout1520 may comprise any information or data stored in any type and/or form of storage or memory element provided by theclient machine10. In an additional embodiment, thedisplay layout1520 may be provided or stored in any suitable type and/or form of database. In further embodiments, thedisplay layout1520 may be provided via any object, data structure, or application programming interface (API). Thedisplay layout1520 may comprise any graphical, textual, or combination of graphical and textual elements. Thedisplay layout1520 may be created, edited, configured, or otherwise provided by any suitable means and/or mechanisms, such as a graphical and/or text-based tool, program or application. In one embodiment, a graphical tool with a user interface may be used to design, create, edit and configure thedisplay layout1520.
Thedisplay layout1520 may include attributes, properties, characteristics, values, settings, profiles, and other display configuration information1522a-1522nto define each display for the client. Thedisplay layout1520 may include display configuration1522a-1522nfor each of the desired displays, physical, virtual, or otherwise. In some embodiments, thedisplay layout1520 includes a description of the layout, location, position, organization, or arrangement for eachdisplay device124a-124n. In one embodiment, thedisplay layout1520 includes a visual or graphical arrangement identifying the location and/or size of each monitor with respect to each other. In some embodiments, each display1522a-1522nis identified by an identifier, such as a name or number. Also, the display configuration1522a-1522nmay include a monitor type, a screen refresh rate, adapter type, adapter information, screen resolution, a color quality, a color scheme, a font size, a background, a style for buttons and menus, and a screen saver.
Additionally, the display configuration1522a-1522nmay include information or data to identify or specify a resolution1524a-1524nand/or a work area1526a-1526nfor each display, such as the display corresponding to adisplay device124a-124n. In one embodiment, the resolution1524a-1524nidentifies the number of pixels, or individual points of color, contained on a display monitor, expressed in terms of the number of pixels on the horizontal axis and the number of pixels on the vertical axis. As those ordinarily skilled in the art will appreciate, the sharpness of the image displayed on thedisplay device124a-124nmay depend on the resolution and the size of thedisplay device124a-124n. In another embodiment, the work area1526a-1526nidentifies the usable dimensions of the screen area of thedisplay device124a-124nin pixels. In some embodiments, the work area1526a-1526ndoes not include the dimensions of the screen area not useable by the user, such as the portion of the screen area having a menu, tool, or task bar, such as the task bar on a desktop provided via a WINDOWS operating system.
In one embodiment, thedisplay layout1520 is configured to correspond to the number ofdisplay devices124a-124n, and their available features and characteristics, accessible by the client. In other embodiments, thedisplay layout1520 does not match or correspond to the number ofdisplay devices124a-124nconnected to the client. For example, theclient machine10 may have asingle display device124abut thedisplay layout1520 may be configured formultiple display devices124a-124n. In one aspect, thedisplay layout1520 may be configured for adisplay device124athat is virtual, or a virtual display device. A virtual display device is rendered off the screen area of thephysical display device124aand may be placed on and off the visible screen area by any suitable mechanism and/or means, such as for example, tabbing between desktops, or panning and scrolling beyond the work area of thephysical display device124a. A virtual display device may comprise a resolution1524a-1524n, a work area1526a-1526n, and any other data or information in a display configuration1522a-1522nas if it was a physical display device1524a-1524nconnected or to be connected to aclient machine10.
In some embodiments, the work area1526a-1526nof the virtual display device is relative to and/or adjacent horizontally or vertically to the screen area of thephysical display device124a-124n. In other embodiments, the resolution1524a-1524nof the virtual display device is the same resolution1524a-1524nof thephysical display device124a, or one of the resolutions1524a-1524nsupported by thephysical display device124a. In some embodiments, adisplay1522acorresponding to aphysical display device124ais not required to be configured as the top left monitor. In other embodiments, thedisplay layout1520 may comprise any arrangement of positive and/or negative coordinate systems, and any displays1522a-1522n, ordisplay devices124a-124n, virtual or otherwise, may be configured to be located with any positive and/or negative coordinates, or in any portion of the positive and/or negative coordinate system.
Thestorage element1525 illustrated in theclient machine10 ofFIG. 15A may comprise any type and/or form of storage or memory, such as random-access memory, a disk drive, a disk array, a rewriteable optical drive, shared memory, a database, a file, an object, a data structure, or any other type and/or form of storage or memory element that allows the storing of and access to information or data, such as thedisplay layout1520. In one embodiment,storage element1525 provides thedisplay layout1520 as a globally mapped data file, which may be accessible by any of theapplications1530 of theclient machine10. In some embodiments, thestorage element1525 stores thedisplay layout1520, or a portion of thedisplay layout1520. In other embodiments, thedisplay layout1520 may be converted, translated, transformed or otherwise altered to be stored in thestorage element1525. Although thestorage element1525 is illustrated on theclient machine10, anotherclient machine10 accessible to theclient machine10, such as a server, may have a storage element for storing thedisplay layout1520.
In some embodiments, theclient machine10 executes or otherwise provides one ormore applications1530. Theapplication1530 can be any type and/or form of software, program, or executable instructions such as any type and/or form of web browser, web-based client, client-server application, a thin-client computing client, an ActiveX control, or a Java applet, or any other type and/or form of executable instructions capable of executing onclient machine10. In some embodiments, theapplication1530 provides one or more windows1535a-1535n, also sometimes collectively referenced herein as1535. In one embodiment, the window1535a-1535nis a graphic, sometimes rectangular in shape, having either some kind of user interface or graphical or textual representation of the output of, and in some cases, allowing input for theapplication1530. In another embodiment, the window1535a-1535ncomprises an area on the screen that displays information, including user documents as well as communications such as alert boxes and dialog boxes. Additionally, the user may open or close a window, move it around on the display, and sometimes change its size, scroll through it, and edit its contents.
In one embodiment, the user interface for theapplication1530 is the window1535a-1535n. In other embodiments, theapplication1530 provides a top level window1535a-1535nfor the presentation and/or navigation structure or framework for theapplication1530, and provides additional windows1535a-1535nin response to input or other events. For example, theapplication1530 may have a menu system and screen area for a user interface represented by atop level window1535a, and based on user input, displays a secondary or smaller window1535 to provide output to the user and/or receive input from the user regarding theapplication1530.
Theapplication1530, and/or any windows1535a-1535nof the application may receive amessage1540, such as a window message, as input. Themessage1540 may be any type and/or form of communication via any type and/or form of medium. In some embodiments, themessage1540 comprises a communication to a window1535a-1535nto control or direct the behavior, appearance, attributes, or properties of the window1535a-1535n. In an exemplary embodiment of a WINDOWS-based environment, theapplication1530 is event-driven, and waits for the operating system, or system, to pass input to them. The system passes all input for an application to the various windows1535a-1535nin theapplication1530. Each window1535a-1535nhas a function, called a window procedure, which the operating system calls in response to receiving input for the window. A window procedure is a function that receives and processes all messages sent to the window. A window class may have a window procedure, and every window created with that class uses that same window procedure to respond to messages. The window procedure processes the input and returns control to the system. The system passes input to a window procedure in the form of amessage1540, which may be generated by the operating system orother applications1530. Amessage1540 may be generated for an input event, for example, when the user types, moves the mouse, or clicks a control such as a scroll bar. Amessage1540 may also be generated in response to changes in the operating system or computing device brought about by anapplication1530. Anapplication1530 can generate messages to direct windows1535a-1535nof theapplication1530 to perform tasks or to communicate with windows1535a-1535nin other applications.
In the exemplary embodiment of a WINDOWS-based system, amessage1540 is sent to a window procedure with parameters. In one embodiment, themessage1540 comprises a set of four parameters: a window handle, a message identifier, and two values referred to as message parameters. The window handle identifies the window for which the message is intended, and is used to determine which window procedure should receive the message. A message identifier identifies a purpose or function of themessage1540. When a window procedure receives a message, it uses the message identifier to determine how to process the message. For example, a message identifier WM_PAINT of amessage1540 may indicate to a window procedure that the window's1535 client area has changed and must be repainted. The parameters of amessage1540 may specify data or the location of data used by a window procedure when processing amessage1540. The meaning and value of the parameters may depend on themessage1540. A message parameter can include an integer, a string, packed bit flags, a pointer to a structure containing additional data, or any type and/or form of data or information.
Although amessage1540 is generally described in the context of a WINDOWS-based environment, amessage1540 may be any type and/or form of communication in any type of operating system or environment, as one ordinarily skilled in the art would recognize and appreciate, to control or direct the appearance, behavior and attributes of awindow1540 being displayed or otherwise being used, processed, or provided by theapplication1530. As such, themessage1540 may be in a form and have content suitable to the environment or operating system for which the operations described herein may be practiced.
Still referring toFIG. 15A, thewindow processing mechanism1550, also referred to as a window message processing mechanism, provides the means and mechanism for changing, controlling or directing an appearance, behavior or attribute of the window1535a-1535nof anapplication1530 based on the desireddisplay layout1520 of the client1505. Thewindow processing mechanism1550 may comprise an application programming interface (API), application, module, software component, library, service, process, task or any other form and/or type of executable instructions designed to and capable of executing or providing the functionality described herein. Thewindow processing mechanism1550 may comprise software, hardware, or any combination of software and hardware. In some embodiments, anapplication1530 may be designed or constructed to include the functionality of thewindow processing mechanism1550, while in some other embodiments, thewindow processing mechanism1550 is designed and constructed to be used by existingapplications1530, for example, without changing theapplication1530.
In one embodiment, thewindow processing mechanism1550 comprises a mechanism for subclassing window procedures of a window1535 of theapplication1530, and providing a window procedure that gets called or used in place of the original window procedure of the window1535.
In one embodiment, a hooking mechanism is used by thewindow processing mechanism1550 to provide the replacement window procedure. In some embodiments, a hooking mechanism comprises using an application programming interface (API) to replace the executable instructions or code of a function, procedure, or API with a desired set of executable instructions or code. For example, thewindow processing mechanism1550 may introduce a hooking mechanism for any API related to creating, establishing, or providing a window1535, for example, the CreateWindowA, CreateWindowW, CreateWindowExA, and CreateWindowExW APIs of the WINDOWS operating system environment. In some embodiments, the window procedure is replaced via the Windows application programming interface (API) calls of GetWindowLong and SetWindowLong. In other embodiments, the replaced window procedure is stored in a list of any suitable type and/or form along with a window handle or reference to the replaced window procedure. As such, the window procedure used by thewindow processing mechanism1550 may call the replaced window procedure. For example, thewindow processing mechanism1550 may pass through amessage1540 to the original window procedure for processing.
The window procedure of thewindow processing mechanism1550 may be constructed and designed to intercept all or a portion of themessages1540 communicated to or received by the window1535. In some embodiments, the window procedure intercepts allmessages1540 and anymessages1540 not to be modified are communicated to the original or replaced window procedure. In one embodiment of a Microsoft® Windows based environment, the window procedure of thewindow processing mechanism1550intercepts messages1540 with a message identifier comprising one of the following: 1) WM_DISPLAYCHANGE, 2) WM_WINDOWPOSCHANGED, 3) WM_WINDOWPOSCHANGING, and 4) WM_GETMAXMININFO. AWM_DISPLAYCHANGE message1540 communicates to awindow1535 a change in a resolution1524 of adisplay124. AWM_WINDOWPOSCHANGED message1540 communicates to awindow1535 a change in a size, position, or a place in the Z order for thewindow1540. AWM_WINDOWPOSCHANGING message1540 is communicate to a window1535 when a change in a size, position, or a place in the Z order for thewindow1540 is about to occur. AWM_GETMAXMININFO message1540 is communicated to a window1535 when a size or position, or awindow1540 is about to change.
Thewindow processing mechanism1550 intercepts amessage1540 and modifies a return value or parameter of themessage1540 to correspond to or be based on thedisplay layout1520. In some embodiments, thewindow processing mechanism1550intercepts messages1540 for a top-level window1535, and in other embodiments, thewindow processing mechanism1550 intercepts messages for windows1535 that are not a top-level window. In further embodiments, thewindow processing mechanism1550intercepts messages1540 for a certain set ofwindows1540. For example, thewindow processing mechanism1550 may be configured to interceptwindows1550 defined in a list, database,storage1525, or any other type and/or form of configuration medium.
Themessage1540 intercepted by thewindow processing mechanism1550 may have return values, arguments, and/or parameters designed or targeted for the actual display layout of theclient machine10 orremote machine30, but thewindow processing mechanism1550 changes the return values, arguments and/or parameters to be designed or targeted for the display configuration1522a-1522nprovided by the desireddisplay layout1520. Thewindow processing mechanism1550 may read, access, acquire or otherwise obtain thedisplay layout1520 from thestorage element1525 by any suitable means and/or mechanism. Thewindow processing mechanism1550 may comprise any type of logic, functionality, business rules, or operations to obtain the values, arguments, and parameters of themessage1540 and analyze, compare or otherwise process the values, arguments, and parameters of themessage1540 in view of thedisplay layout1520, and determine any changes or modifications to the values, arguments or parameters or themessage1540 to display the window1535 on a display identified by thedisplay layout1520. Thewindow processing mechanism1550 modifies themessage1540 according to the determined changes and communicates themessage1540 to the window1535. In some embodiments, thewindow processing mechanism1550 determines themessage1540 does not need to be modified and thus communicates themessage1540 in the same form as intercepted by thewindow processing mechanism1550. In other embodiments, thewindow processing mechanism1550 replaces themessage1540 with a second message.
Referring now toFIG. 15B, another embodiment of a networked computer environment is shown in which theclient machine10 communicates with aremote machine30 via one ormore communication networks150. Theclient machine10 may be connected to or otherwise use one ormore display devices124a-124n. Theclient machine10 includes adisplay layout1520 comprising a desired display configuration for theclient machine10, such as fordisplay devices124a-124n. Theclient machine10 may also include aclient agent1508. Theremote machine30 includes anapplication1530 providing one or more windows1535a-1535n, and astorage element1525 for storing thedisplay layout1520 of theclient machine10. Theremote machine30 also includes aserver agent1528, asession login mechanism1545, and awindow processing mechanism1550.
The environment1500 may provide a server-based or thin-client computing environment for practicing the operations described herein. For example, theapplication1530 may be an application executed on theremote machine30 on behalf of theclient machine10. The display output from execution of theapplication1530 may be communicated to theclient machine10 for display on the client, for example, via theclient agent1508. The display output may be communicated between theremote machine30 andclient machine10 via a remote display protocol. The display output may be based on awindow1540 of theapplication1530 running on theremote machine30 but to be displayed on theclient machine10. As will be described in further detail below, thewindow processing mechanism1550 on theremote machine30 intercepts and modifiesmessages1540 of theapplication1530 running on theremote machine30, communicates themessage1540 to the window1535. As such, the display output communicated to theclient machine10 reflects the modifiedmessage1540 processed by the window1535.
In one embodiment, as shown inFIG. 15B, aclient agent1508 is included within theclient machine10. Theclient agent1508 can be, for example, implemented as a software program and/or as a hardware device, such as, for example, an ASIC or an FPGA. An example of aclient agent1508 with a user interface is a Web Browser (e.g. Internet Explorer and/or Netscape™ Navigator browser). Theclient agent1508 can use any type of protocol, such as a remote display protocol, and it can be, for example, an HTTP client agent, an FTP client agent, an Oscar client agent, a Telnet client agent, an Independent Computing Architecture (ICA) client agent from Citrix Systems, Inc. of Fort Lauderdale, Fla., or a Remote Desktop Protocol (RDP) client agent from Microsoft Corporation of Redmond, Wash. In some embodiments, theclient agent1508 is configured to connect to theremote machine30. In some embodiments (not shown), theclient1508 includes a plurality ofclient agents1508, each of which may communicate with aremote machine30, respectively.
Additionally, theremote machine30 may comprise aserver agent1528 which may be capable of and configured to work in conjunction with theclient agent1508. For example, theserver agent1528 may be a server side component that accepts connections and requests from theclient agent1508. In another embodiment, theserver agent1528 may be capable of and configured to accept or establish remote access connections or sessions for theclient machine10. In one embodiment, theclient agent1508 andserver agent1528 may communicate using a protocol, such as http, ICA or RDP, over the network1504. In some embodiments, theclient agent1508 and/orserver agent1528 are used to establish, re-establish, maintain, or otherwise provide a server-based computing or thin-client computing based connection or session. In another embodiment, theclient agent1508 and theserver agent1528 establish the start and end points of communications for a connection between theclient machine10 and the destinationremote machine30.
In some embodiments, theremote machine30 includes astorage element1525 for storing the display layout. In one embodiment,storage element1525 provides thedisplay layout1520 as a globally mapped data file, which may be accessible by any of theapplications1530 of theremote machine30. In some embodiments, thedisplay layout1520 is stored in the same form as provided to or received by theremote machine30. Although thestorage element1525 is illustrated on theremote machine30 inFIG. 15B, theclient machine10 may also include astorage element1525′, and in some embodiments, theclient machine10 stores thedisplay layout1520 in the client'sstorage element1525′, and/or to the remote machine'sstorage element1525.
Theremote machine30 may also include asession login mechanism1545, which may include any type and/or form of service, process, task or program, application, or executable instructions on theremote machine30 to handle and process login or session requests. Thesession login mechanism1545, or any portion thereof, may be provided via the operating system of theremote machine30. In one embodiment, thesession login mechanism1545 includes the windows logon process, winlogon, a component of the Microsoft® Windows families of operating systems. As such, thesession login mechanism1545 may provide interactive logon support, and may include a Graphical Identification and Authentication dynamically linked library (DLL) referred to as the GINA, and any number of network providers. Thesession login mechanism1545 may include any interfaces, such as an application programming interface (API) or dynamically linked libraries, i.e., a dll, to allow any resource, application, network or network provide gather obtain any identification and authentication information during a logon process.
Thesession login mechanism1545 may perform an authentication process and password-updating operations for the operating system and/or for one or more resources, programs, applications, networks, or network providers. In one embodiment, thesession login mechanism1545 provides authentication services for the operating system, and in additional embodiments, also provides authentication services for access toapplications1530 to be executed on theremote machine30 on behalf of theclient machine10, such as in a server-based or thin-client computing model. Additionally, thesession login mechanism1545 may monitor any mouse and/or keyboard activity related to logging on or secure access of theremote machine30, or any resource, application, network, or network provider. In some embodiments, thesession login mechanism1545 may establish any initial services, processes, or tasks for a user or session on theremote machine30.
Theremote machine30 may execute or otherwise provide one ormore applications1530. Theapplication1530 can be any type and/or form of software, program, or executable instructions such as any type and/or form of web browser, web-based client, client-server application, a thin-client computing client, an ActiveX control, or a Java applet, or any other type and/or form of executable instructions capable of executing onclient machine10 or communicating via a network1504. Theapplication1530 can use any type of protocol and it can be, for example, an HTTP client, an FTP client, an Oscar client, or a Telnet client. In some embodiments, theapplication1530 uses a remote display or presentation level protocol. In other embodiments, theapplication1530 comprises any type of software related to Voice-Over-Internet Protocol (VoIP) communications, such as a soft IP telephone. In further embodiments, theapplication1530 comprises any application related to real-time data communications, such as applications for streaming video and/or audio. In some embodiments, theapplication1530 provides one or more windows1535a-1535n, also sometimes collectively referenced herein as1535.
In some embodiments, theremote machine30 or amachine farm38 may be running one ormore applications1530, such as anapplication1530 providing a thin-client computing or remote display presentation application. In one embodiment, theremote machine30 or machine farm executes as anapplication1530, any portion of the Citrix Access Suite™ by Citrix Systems, Inc., such as the MetaFrame or Citrix Presentation Server™, and/or any of the Microsoft® Windows Terminal Services manufactured by the Microsoft Corporation. In one embodiment, theapplication1530 is an ICA client, developed by Citrix Systems, Inc. of Fort Lauderdale, Fla. In other embodiments, theapplication1530 includes a Remote Desktop (RDP) client, developed by Microsoft Corporation of Redmond, Wash.
Additionally, theremote machine30 may run anapplication1530, which for example, may be an application server providing email services such as Microsoft Exchange manufactured by the Microsoft Corporation of Redmond, Wash., a web or Internet server, or a desktop sharing server, or a collaboration server. In some embodiments, any of theapplications1530 may comprise any type of hosted service or products, such as GoToMeeting™ provided by Citrix Online Division, Inc. of Santa Barbara, Calif., WebEx™ provided by WebEx, Inc. of Santa Clara, Calif., or Microsoft Office LiveMeeting provided by Microsoft Corporation of Redmond, Wash.
Although inFIG. 15A andFIG. 15B, thewindow processing mechanism1550 is illustrated as included in theapplication1530, thewindow processing mechanism1550 may reside in any portion of theremote machine30, theclient machine10, and/or external to theapplication1530, for example, as illustrated inFIG. 15C. In one embodiment, thewindow processing mechanism1550 comprises a service, process, or task that runs in a system context or with the system privileges of the operating system. In some embodiments, thewindows processing mechanism1550 may monitormessages1540 communicated to windows1535a-1535nof anapplication1530, and intercept and modify themessage1540 to the windows1535a-1535n. One ordinarily skilled in the art will recognize and appreciate that thewindows processing mechanism1550 may comprise any type and/or form of executable instructions capable of performing the operations described herein.
In another embodiment of illustrated inFIG. 15C, thesession login mechanism1545 may be used to provide for, or use, any of the functionality of thewindow processing mechanism1550. In some embodiments, thesession login mechanism1545 may read, access, acquire or otherwise obtain thedisplay layout1520 from thestorage element1525. In other embodiments, thesession login mechanism1545 accesses, loads, or uses the functionality of thewindow processing mechanism1550 via a dynamically loaded library, such as a library provided via a network provider to the winlogon process of a WINDOWS operating system. In other embodiments, the session login mechanism interfaces with or communicates to thewindow processing mechanism1550 to provide the techniques described herein. In further embodiments, thesession login mechanism1545 may use the techniques described herein during reconnection, re-establishment, and/or re-authentication of a login or user session, such as a remote session in a server-based computing environment1500.
In another aspect, techniques for virtualizing a display environment of aclient machine10 by controlling or directing the appearance, behavior and attributes of a window1535 of anapplication1530 based on the desireddisplay layout1520 for aclient machine10 are described. In view of the systems and structure of the environments1500,1501, and1502 depicted inFIGS. 15A-15C, the operations, functionality, and techniques will be addressed by the methods depicted inFIGS. 3A-3D.FIG. 3A depicts a method300 for practicing an embodiment using thewindow processing mechanism1550.FIG. 3B depicts examples of window messages and processing used in conjunction with the method300.FIG. 3C depicts a method350 for practicing an embodiment when reconnecting, re-establishing or re-authenticating via thesession login mechanism1545.FIG. 3D depictsillustrative method360 for changing the client'sdisplay layout1520, for example, during execution of anapplication1530.
Referring now toFIG. 16A, in brief overview, one embodiment of a method for providing a desireddisplay layout1520 of theclient machine10 is shown. Atstep1610, and atstep1615, thedisplay layout1520 is stored in thestorage element1525, and thedisplay layout1520 is associated with the client1505. Atstep1620, thewindow processing mechanism1550 accesses thedisplay layout1520 from the storage element225 to obtain the desired display layout information for theclient machine10. Atstep1625, thewindow processing mechanism1550intercepts messages1540 to a window1535 displayed on aclient machine10 by anapplication1530. Atstep1630, thewindow processing mechanism1550 modifies themessage1540 to provide the window1535 on theclient machine10 based on the desireddisplay layout1520 for theclient machine10. Atstep1635, the window1535 is displayed on theclient machine10 based on the modifiedmessage1540. As such, the appearance and behavior of the window235 is translated to and based on thedisplay layout1520.
In further detail, atstep1610 of the method, the desireddisplay layout120 for the client is provided. In one embodiment, thedisplay layout120 is communicated from theclient machine10 to theremote machine30. For example, theclient machine10 establishes a connection or communication session with theremote machine30. In some cases, theremote machine30 requests thedisplay layout1520 from theclient machine10, and the client1505 communicates thedisplay layout1520 in response to the request. In another embodiment, thedisplay layout1520 is communicated via thesession login mechanism1545 during a logon or authentication process, and in some embodiments, upon a re-logon or re-authentication process. In one embodiment, thedisplay layout1520 is stored in a database and queried by theclient machine10 orremote machine30 to obtain thedisplay layout1520. In other embodiments, thedisplay layout1520 is downloaded, by either theclient machine10 or theremote machine30 from a web server, a web-site, an application server, anotherremote machine30′ or via the Internet. In further embodiments, a user may configure thedisplay layout1520 with a program, application, or tool, and store thedisplay layout1520 on aclient machine10,remote machine30, or anotherclient machine10.
Atstep1615, thedisplay layout1520 is stored in thestorage element1525, and associated with theclient machine10. In some embodiments, theremote machine30 receives thedisplay layout1520 from theclient machine10 and stores thedisplay layout1520 in thestorage element1525. In one embodiment, theremote machine30 stores thedisplay layout1520 as a globally mapped data file on theremote machine30 accessible by one ormore applications1530. In another embodiment theremote machine30 stores thedisplay layout1520 to anotherclient machine10 accessible to theremote machine30, such as via the network1504. In some embodiments, theclient machine10 stores thedisplay layout1520 to astorage element1525 on theremote machine30, to astorage element1525 on theclient machine10, or to astorage element1525 accessible via the network1504 or via the Internet.
Thedisplay layout1520 may be stored to thestorage element1525 in any form suitable to thestorage element1525, and may be converted, transformed, altered, translated or otherwise processed for storage in thestorage element1525. For example, in one embodiment, thedisplay layout1520 may comprise data, such as a file, on theclient machine10 transmitted via network packets to theremote machine30, and then translated into a globally mapped data file on theremote machine30. In another embodiment, thedisplay layout1520 is stored into any type and/or form ofdatabase1525, such as a relational database. In other embodiments, thedisplay layout1520 is stored instorage1525 comprising memory. For example, thedisplay layout1520 may comprise or be represented by any type of object, data structure, or portion of memory on theclient machine10 and/orremote machine30.
Thedisplay layout1520 may be associated with theclient machine10 by any suitable means and/or mechanisms. In one embodiment, the name, or any portion thereof, of the globally mapped data file may identify theclient machine10. In another embodiment, any portion of content of the globally mapped data file may identify theclient machine10. In additional embodiments, theclient machine10 orremote machine30 may use any type of object, data structure, process, or other elements in memory to associate thedisplay layout1520 with theclient machine10. In other embodiments, theclient machine10 orremote machine30 may use portions of thestorage element1525 or other types of storage, such as another file, to associate thedisplay layout1520 with the client.
Thewindow processing mechanism1550, atstep1620 of illustrative method300, accesses thedisplay layout1520 from thestorage element1525 to obtain the desired display layout information for theclient machine10. In one embodiment, the executable instructions of the window procedure used by thewindow processing mechanism1550 comprises instructions to load, read, or otherwise acquire thedisplay layout1520. For example, thewindow processing mechanism1550 may perform any type and/or forms of file input/output, i.e., file I/O, operations to read a globally mapped data file having thedisplay layout1520. In another embodiment, the instructions of the hooking application programming interface (API) for thewindow processing mechanism1550 provides instructions for obtaining thedisplay layout1520. In another embodiment, theapplication1530 reads or accesses thedisplay layout1520, for example, upon execution or start up. In some embodiments, theapplication1530 may be executed during a session, such as a user or remote session. In one embodiment, the globally mappeddata file1525 may only be accessible by anapplication1530 associated with or available via the remote session. In further embodiments, access to the globally mapped data file may have access locked by a mutex or semaphore, which is global for the remote session. One ordinarily skilled in the art will recognize and appreciate that any type and/or form of locking mechanism can be used to control access thestorage element1525, such as a globally mapped data file.
Atstep1625, thewindow processing mechanism1550intercepts messages1540 to a window1535 displayed on aclient machine10 by anapplication1530. In one embodiment, upon obtaining the display layout1520 a hooking mechanism is introduced into theremote machine30 or theapplication1530 on theremote machine30, which hooks one or more window creation application programming interfaces (APIs), such as for example, a create window type of API in a WINDOWS based environment. In some embodiments, thewindow processing mechanism1550 intercepts allmessages1540 to windows1535 of theapplication1530. In other embodiments, thewindow processing mechanism1550intercepts messages1540 of a certain message identifier or name. In one embodiment, the message240 may have arguments, parameters or values that are used by thewindow processing mechanism1550 to determine that themessage1540 should be intercepted. In additional embodiments, thewindow processing mechanism1550intercepts messages1540 to some of the windows1535 of theapplication1530, and in further embodiments, only for a portion of the types of messages240 communicated to these windows1535. In yet another embodiment, thewindow processing mechanism1550 is configurable, for example, by a user, to select themessages1540, by name, type, or otherwise, to be intercepted.
In some embodiments, thewindow processing mechanism1550intercepts messages1540 communicated to or intended for a top-level window1535 of theapplication1530. In other embodiments, thewindow processing mechanism1550 may intercept any level of window1535, or only certain levels of windows1535 in a hierarchy of windows1535. For example, thewindow processing mechanism1550 may ignore any popup dialog windows of a second level window displayed on top of or in front of a top-level window1535.
In one embodiment, thewindow processing mechanism1550 may intercept amessage1540 but pass themessage1540 through or communicate themessage1540 to the original or replaced window procedure. In some embodiments, thewindow processing mechanism1550 ignorescertain messages1540. In another embodiment, the window procedure of thewindow processing mechanism1550 also includes the functionality and operations of the replaced window procedure. As such, thewindow processing mechanism1550 may intercept amessage1540 and have either the replaced window procedure or the window procedure hooked into theapplication1540 process themessage1540.
Atstep1630, thewindow processing mechanism1550 modifies themessage1540 to provide the window1535 on theclient machine10 based on the desireddisplay layout1520 for theclient machine10. In some embodiments, thewindow processing mechanism1550 examines, inspects, analyzes, or otherwise processes any values, arguments, or parameters of themessage1540 in comparison to thedisplay layout1520 for theclient machine10 displaying theapplication1530. Based on the comparison, thewindow processing mechanism1550 may modify, adjust, edit, change, alter, replace, translate or otherwise set or provide values, arguments, and/or parameters for themessage1540 that will provide the desired behavior, appearance and attributes of the window235 as displayed or to be displayed by theapplication1530 on theclient machine10 in accordance with thedisplay layout1520. For example, the values and/or parameters of themessage1540 may indicate a size, position, location, resolution or other attributes of the window1535. These characteristics may be based on a display environment different than as specified in thedisplay layout1520. As such, in some embodiments, thewindow processing mechanism1550 may modify the size, position, location, resolution or other attributes of themessage1540 for a display1522a-1522nspecified in thedisplay layout1520.
By way of further example, and referring now toFIG. 16B, thewindow processing mechanism1550 may intercept and modify amessage1540 identified as one of the following: 1) WM_GETMAXMININFO, 2) WM_WINDOWPOSCHANGING, 3) WM_WINDOWPOSCHANGED, and 4) WM_DISPLAYCHANGE. Atillustrative step1630a, for amessage1540 intercepted and identified as a WM_GETMINMAXINFO, thewindow processing mechanism1550 analyzes the position of theapplication1530, i.e., a top-level window1535, relative to the one or more displays1522a-1522nof thedisplay layout1520, and determines which of the displays1522a-1522ntheapplication1530 should be maximized to. Thewindow processing mechanism1550 modifies themessage1540 to provide values corresponding and translated to the resolution based on the desireddisplay layout1520. For example, aremote machine30 may provide window resolution for a single monitor session, and thewindow processing mechanism1550 translates the resolution to the multiple display environment provided via thedisplay layout1520. As such, this technique enables theapplication1530 to maximize to a desired location in accordance with thedisplay layout1520, instead of the single monitor session.
Atillustrative step1630b, for amessage1540 intercepted and identified as WM_WINDOWPOSCHANGING, thewindow processing mechanism1550 determines if the window1535 is in the maximized state, and if so, themessage1540 is modified to set the window flag to a no move style of window, or otherwise to fix the location or position of the window1535, or not allow the position of the window1535 to change. As such, in the maximized state a user may not be able to move the window1535. This technique enables theapplication1530, or a window1535 of theapplication1530 to be maximized to a set or fixed location on a display1522a-1522nspecified by thedisplay layout1520. In some embodiments, either in response to theWM_WINDOWPOSCHANGING message1540 or otherwise, thewindow processing mechanism1550 determines the window1535 is not in the maximized state, and modifies themessage1540 to remove the no move style, e.g., the window's position is no longer fixed, or to otherwise allow the position of the window1535 to be moved.
Atillustrative step1630c, for amessage1540 intercepted and identified as WM_WINDOWPOSCHANGED, thewindow processing mechanism1550 compares the position or location of the window1535 to thedisplay layout1520 and if the window1535 is to be rendered outside the screen or work area of display1522a-1522n, then the position or location of the window1535 is changed to be rendered in at least a portion of the screen or work area of the display1522a-1522n. This technique enables the user not to lose theapplication1530 or window1535 of theapplication1530 to an off-screen location.
Atillustrative step1630d, for amessage1540 intercepted and identified as WM_DISPLAYCHANGED, thewindow processing mechanism1550 suspends passing ofmessages1540 until a new orsecond display layout1520 is obtained or provided for the client1505. In one embodiment, thewindow processing mechanism1550 suspends the processing of allmessages1540. In some embodiments, thewindow processing mechanism1550 suspendsmessages1540 that are intercepted and communicated to the replaced or original window procedure. In other embodiments, thewindow processing mechanism1550 suspends messages for the replaced or original window procedure while continuing to processother messages1540. This technique enables aclient machine10 to dynamically change thedisplay layout1520 at any time, for example, during the execution of anapplication1530.
Although the techniques of are generally described above in relation to message, one ordinarily skilled in the art will recognize and appreciate that any message of any type and/or form may be used. Furthermore, thewindow processing mechanism1550 may perform any logic, function, operations or rules based on themessage1540 and/or thedisplay layout1520, and even for the same type ofmessage1540, may perform a different operation or function for each instance of themessage1540 depending on changes to thedisplay layout1520 or any events, conditions or status of the environment1500,1501 or1502.
Referring back toFIG. 16A, atstep1635 of method300, the window1535 is displayed on theclient machine10 based on themessage1540 processed via thewindow processing mechanism1550. As such, when thewindow processing mechanism1550 modifies themessage1540 based on thedisplay layout1520, the window1535 is displayed on theclient machine10 according to thedisplay layout1520. In some embodiments, the window processing mechanism250 does not modify themessage1540, and therefore, thewindow1540 is displayed on theclient machine10 according to theunmodified message1540. The technique as illustrated above enables, for example, in one embodiment of a server-based computing environment1500, anapplication1530 running onremote machine30 to provide display output to theclient machine10 that controls and directs the behavior, appearance, and attributes of windows in the display output in any manner desired and specified by thedisplay layout1520, which may not correspond to the physical display layout of theclient machine10.
In another aspect, although techniques described herein are generally described with a window management system from WINDOWS operating system, one ordinarily skilled in the art will recognize and appreciate that techniques described herein may be practiced with any type and/or form of window manager or management system, such any type and/or form of X-windows managers, including any custom or open-source based window manager running on any type of operating system.
Referring now toFIG. 16C, these techniques may be practiced during the re-connection, re-establishment or re-authentication of any communication session or user session, for example a remote display session between theclient machine10 and theremote machine30. In one embodiment, thesession login mechanism1545 as illustrated on theremote machine30 ofFIGS. 15A and 15B may include thewindow processing mechanism1550, or any portion thereof. In brief overview of method350, thesession login mechanism1545, atstep1652, accesses or obtains thedisplay layout1520 from thestorage element1525. Atstep1654, there may be a disconnection and reconnection processed by thesession login mechanism1545. Upon re-establishing and/or re-authenticating the session, the session login mechanism, atstep1656, compares a location of a window1535 to the client'sdisplay layout1520, and atstep1658, modifies the window235 to display on theclient machine10 based on the client'sdisplay layout1520.
Atillustrative step1652, thesession login mechanism1545 obtains information on thedisplay layout1520 by any suitable means and/or mechanisms. For example, thewindow processing mechanism1550 included in or used by thesession login mechanism1545 may have executable instructions, such as file I/O operations, to access a globally mappeddata file1525. In another embodiment, thesession login mechanism1545 may load dynamically linked libraries that load, read or otherwise access the storage element225 having the display layout information. In one embodiment, as part of establishing or re-establishing the session, thesession login mechanism1545 may obtain thedisplay layout1520 from theclient1520. For example, thesession login mechanism1545 requests thedisplay layout1520 from theclient machine10 along with any identification or authentication credentials.
Atillustrative step1654, any type of disconnection or disruption to a session between theclient machine10 andremote machine30 may occur, and any type of reconnection or re-establishment of the session may be facilitated via thesession login mechanism1545. In some cases, a user may cause a disconnection or disruption, temporary or otherwise, to a session between theclient machine10 and theremote machine30 due to physical changes in the client's display environment or because the user moves to anotherclient machine10. In one case, the user moves from afirst client machine10a, such as a work computer, to asecond client machine10b, such as a home computer. Theremote machine30 may maintain the same user session betweencomputing devices100a-110bbut thedisplay layout1520 may have changed. In another case, the user and/or theclient machine10 may traverse network segments or network access points that cause changes in the network address or host name, e.g., internet protocol (IP) address, of theclient machine10 or causes theclient machine10 to disconnect. Theclient machine10 may reconnect, manually or automatically, to the network1504, such as via theclient agent1508. As such, thesession login mechanism1545 may facilitate or be used to facilitate the reconnection.
Atstep1656 of method350, thesession login mechanism1545 compares the location or position of a window1535 of anapplication1530 in relation to the desireddisplay layout1520. In some embodiments, thesession login mechanism1545 intercepts amessage1540 to a window1535, and examines, inspects or analyzes any portion of themessage1540, such as a value or parameter. In one embodiment, thesession login mechanism1545 queries, acquires or obtains the current location or position of one or more windows1535 of theapplication1530 via an application programming interface (API). In another embodiment, thesession login mechanism1545 requests from theapplication1530, the location or position of any of the application's windows. Thesession login mechanism1545 compares the location, position, size, and any other attributes of the window1535 to any information in thedisplay layout1520.
Atstep1658, thesession login mechanism1545 may modify the window1535 based on the desireddisplay layout1520. From the comparison of the information about the window1535 to the information of thedisplay layout1520, thesession login mechanism1545, in some embodiments, modifies the window1535 to display on theclient machine10 via a display1522a-1522nidentified in thedisplay layout1520 in a desired manner. In one embodiment, via the functionality of thewindow processing mechanism1550 embodied in or interfaced with thesession login mechanism1545, amessage1540 to a window1535 may be intercepted and modified in accordance with the operations described herein. In another embodiment, thesession login mechanism1545 may modify one or more windows1535 of theapplication1530 via any application programming interface (API) to modify such windows1535. The techniques depicted by method350 enable client sessions to be disconnected and reconnected and have the display of windows be adjusted accordingly to any new or changed display environments of theclient machine10, new or changeddisplay layouts1520 of theclient machine10, or changes from oneclient machine10ato anotherclient machine10b.
In another aspect, dynamically changing adisplay layout1520 for aclient machine10 is described. Referring now toFIG. 16D, the techniques described may be practiced for a change to adisplay layout1520 that occurs during the execution of anapplication1530. In brief overview ofillustrative method360, atstep1662, a client'sdisplay layout1520 is changed. Atstep1664, the window processing mechanism350 suspends window message processing when the client'sdisplay layout1520 is changed. Atstep1666, an updated or asecond display layout1520′ is obtained by thewindow processing mechanism1550, and atstep1668, thewindow processing mechanism1550 resumes intercepting and modifyingmessages1540 to windows1535 based on thesecond display layout1520′.
In further detail, atstep1662, thedisplay layout1520 may be changed at any time and for any reason. In one embodiment, the display environment for theclient machine10 may change and thedisplay layout1520 may be updated to reflect the changed display environment. For example, anotherdisplay device124 may be connected to theclient machine10. In another embodiment, a user of theclient machine10 may be making adjustments, updating or otherwise changing thedisplay layout1520 to suit the user's desire for a behavior and appearance ofapplications1530 and the display of windows1535 of theapplication1530 on theclient machine10. In yet a further embodiment, a first session may be on afirst client machine10 with afirst display layout1520, and the user switches to a second session or maintains the first session on asecond client machine10′ with a second or updateddisplay layout1520′.
At step1665, the method suspends intercepting and modifyingmessages1540 for windows1535 of anapplication1530 upon notification of a change to thedisplay layout1520. In one embodiment, thewindow processing mechanism1550 intercepts amessage1540, such as the WM_DISPLAYCHANGE message, indicating a change in any attribute or characteristic, for example, the resolution, of the display environment. In another embodiment, theclient machine10 communicates a notice to theremote machine30, thewindow processing mechanism1550 or thesession login mechanism1545 indicating a change has occurred or is about to occur to thedisplay layout1520. In yet another embodiment, theapplication1530 may comprise a user interface mechanism for a user to indicate a change to the display environment, or to have theapplication1530 suspend processing of window messages according to thedisplay layout1520.
Thewindow processing mechanism1550 may suspend the processing of messages240 for all applications230, a portion of applications230, or for a portion of windows235 of one, some, or all of the application230. In one embodiment, thewindow processing mechanism1550 queues any messages240 received until thewindow processing mechanism1550 obtains anotherdisplay layout1520. In another embodiment, thewindow processing mechanism1550 only suspends processing of window messages to be modified according to thedisplay layout1520, and continues passing the messages240 not to be modified to the original or replaced window procedure.
Atstep1666 of the method, an updated or asecond display layout1520′ is obtained to use for window message processing. The updated orsecond display layout1520′ may be provided by any suitable means and/or mechanisms. In one embodiment, the updated orsecond display layout1520′ is stored with thefirst display layout1520 in the storage element225. In another embodiment, the updated orsecond display layout1520′ is stored as an updated version of thefirst display layout1520, and in further embodiments, thesecond display layout1520′ may replace thefirst display layout1520 in the storage element225. In one embodiment, theclient machine10 communicates the updated orsecond display layout1520′ to theremote machine30 or stores thesecond display layout1520′ to the storage element225 on theremote machine30. In some embodiments, theclient machine10 via a reconnection or re-establishment to theremote machine30 may provide an updateddisplay layout1520. In one embodiment, theclient machine10 communicates anunchanged display layout1520 or adisplay layout1520 to theremote machine30 that theremote machine30 already has stored in the storage element225. In yet other embodiments, theremote machine30 orclient machine10 may obtain thesecond display layout1520′ from anotherclient machine10 on thenetwork204, such as downloading thesecond display layout1520′ form aremote machine30. As described above in connection with illustrative method300, the window processing mechanism350 may obtain thedisplay layout1520 from the storage element225 by a variety of means and/or mechanisms.
Atstep1668 ofmethod360, thewindow processing mechanism1550 resumes intercepting and modifying messages240 to windows235 based on thesecond display layout1520. In one embodiment, if thewindow processing mechanism1550 queued any messages240, thewindow processing mechanism1550 analyzes and modifies the queued messages240 based on thesecond display layout1520′. Otherwise, thewindow processing mechanism1550 uses thesecond display layout1520′ to modify any messages240 intercepted after obtaining thesecond display layout1520′. Using the techniques described herein, a client display environment and a client's display layout can be dynamically changed during the course of executing one or more applications, and the display of windows for the application appear and behave according to the changes to the display layout. For example, another display device may be added to the client, and an application may be minimized during a change in the display layout. When the display layout is updated, the user can maximize the application and have the application appear in the appropriate display even though the display environment changed when the application was minimized.
In view of the functions, structures, and operations described above, systems and methods are provided to control and direct the appearance, behavior and attributes of windows of an application in a flexible manner for virtualizing, simulating or providing a multiple display environment without restricting or limiting the client side display configuration. For example, the display layout of the client may not be limited to configure the physical monitor of the client as the primary display, i.e. as the top left most monitor in the display layout configuration. The systems and methods described may be practiced in a server-based or thin-client based computing environment, with clients having multiple display devices, or with clients having a single display device. Additionally, the configuration of a display layout that is not restricted or limited to the physical display environment of the client is provided. The display environment of the client may extend to include additional virtual displays, so if the client has two display devices, three or more displays may be virtualized or simulated for the client. A single display configuration for a single display device may be implemented while still changing the appearance and behavior of windows based on a desired or customized display layout. A client or user may gain the functionality, benefits, and advantages of a multiple display environment without having multiple display devices, or having all the display devices desired.
In one embodiment, multi-monitor support provides maximizing of windows to fill a single monitor rather than the full screen and centering of dialogs on a monitor rather than on a screen. In another embodiment the session management component, the virtual machine service component, and a multi-monitor hook component executing in a computing environment provided by a virtual machine together provide multi-monitor support in a virtual machine environment. In still another embodiment, a multi-monitor hook component and a component acquiring client geometry data provide multi-monitor support in a virtual machine environment.
In one embodiment, thesession management component1300 reads the monitor configuration for theclient machine10 from a multi-monitor hook file mapping. In some embodiments where a user of theclient machine10 establishes a connection to a presentation server executing on an execution machine in which the virtual machine provides access to a computing environment, the presentation server generates the multi-monitor hook file mapping upon establishment of the connection by the user.
In one embodiment, thesession management component1300 sends a message to the virtual machine service component containing the monitor layout for the user. In some embodiments, the message is sent when thesession management component1300 detects a user reconnection, so that the monitor layout remains synchronized with theclient machine10.
The virtual machine service component receives the monitor layout messages provided by the session management component900. In some embodiments, the virtual machine service component creates a file mapping in the computing environment and updates the file to include monitor layout data.
In other embodiments, the virtual machine service component also creates a checksum for the data that is used by the multi-monitor hook component to ensure that it has correctly read the layout data. In one of these embodiments, a checksum is used rather than a locking scheme to synchronize access to the layout data. In this embodiment, the checksum does not cause any blocking between the processes reading the data. The layout data is updated infrequently and may be small in size, so the checksum calculation may complete quickly. In another of these embodiments, the reader processes save the checksum, read the data and recalculate the checksum. If the calculated checksum does not match the saved checksum it indicates that the data was updated while it was being read and the process is repeated. As the data is usually only updated when the user reconnects to another client and given the short time required to read the data, it is unlikely that a reader would have to reread the data more than once for a particular change. In some embodiments, the virtual machine service component uses a stored default display setting for theclient machine10, the stored default selected to ensure that the computing environment has valid display settings upon initialization of the session.
In some environments, a multi-monitor hook component executes in a computing environment provided by a virtual machine. In one of these embodiments, the multi-monitor hook component receives an event for each window created just before the window is created, including a window handle for the window being created. The multi-monitor hook component may identify a window type of the window and determine to hook window messages for the window. In some embodiments, windows having window types indicating that the window can be maximized or that the window is a dialog will be hooked. Hooked windows may be added to an array that contains the window handle and an original window procedure. In other embodiments, the multi-monitor hook component receives an event indicating that a window is about to be destroyed. In one of these embodiments, the multi-monitor hook component removes the entry in the hook array associated with the window.
In some embodiments, the multi-monitor hook component receives an identification of a window after the window is created and before the window is displayed. In one of these embodiments, the multi-monitor hook component checks the position of the dialog and if it spans multiple monitors, the multi-monitor hook component repositions the window to the centre of the monitor that contains most of the dialog, or the first monitor containing the dialog if the dialogs area is equally split between two monitors. In other embodiments, the multi-monitor hook component receives an event when a window is about to be maximized. The multi-monitor hook component ensures that when the window is maximized from the minimized state it will be positioned on the correct monitor.
In some embodiments, the multi-monitor hook component receives an event when a window is being maximized. The multi-monitor hook component checks the state of the window and, if the window is minimized, the multi-monitor hook component retrieves an identification of a monitor in which the window is minimized from the window hook array. If the window is not minimized, the multi-monitor hook component identifies the monitor that contains most of the window. If no monitor is found, or if the monitor does not exist (as after a reconnection) monitor 0 is used. The multi-monitor hook component then removes the origin and size of the monitor from its saved monitor information and updates the MINMAXINFO structure pointed to by the message. This causes the window to maximize to the specified monitor only.
In some embodiments, the virtual machine service component receives authentication information associated with a user of theclient machine10. In one of these embodiments, the virtual machine service component receives the authentication information from a protocol stack component receiving the credentials from theclient machine10. In another of these embodiments, the virtual machine service component receives authentication information from thesession management component1300. In still another of these embodiments, the virtual machine service component uses the received authentication information to authenticate the user of theclient machine10 to the computing environment provided by the virtual machine.
In one embodiment, when the communications channel is established and the initial session related information is passed to the virtual machine service component, the virtual machine service component automatically logs the user into the computing environment. In one embodiment, the virtual machine service component receives credentials from thesession management component1300. In another embodiment, the virtual machine service component receives credentials previously provided by the user. In some embodiments, the user provides credentials to theclient machine10 prior to requesting access to a resource. In one of these embodiments, the user provides credentials to a client agent, such as an ICA client. The virtual machine service component automatically reconfigures the display settings of the guest operating system to match those of the ICA client. The virtual machine produces graphics and sound output to the virtual devices that redirect that output to a client agent, such as an ICA client, on the requesting machine. The virtual machine receives audio input, mouse and keyboard device data redirected from the ICA client. When the virtual machine is shutdown or suspended thesession management component1300 cleans up and shuts down the ICA session.
Theremote machines30,30′, and30″ can belong to the same authentication domain. A domain may comprise a group of machines, such as application servers, execution machines, or client nodes under control of one security database. A domain can include one or more machine farms linked together to act as a single system to provide centralized administration. Conversely, a machine farm can include one or more domains. For servers of two different domains to belong to the same machine farm, a trust relationship may need to exist between the domains. A trust relationship is an association between the different domains that allows a user to access the resources associated with each domain with just one log-on authentication.
In one embodiment, theremote machine30′″ is in a different domain than thefarm38. In another embodiment, theremote machine30′″ is in the same domain asmachines30,30′, and30″. For either embodiment,machines30,30′, and30″ can belong to one server farm, while theremote machine30′″ belongs to another machine farm, or all of themachines30,30′,30″ and30′″ can belong to the same machine farm. When a new machine is connected to thenetwork150, the new machine either joins an existing machine farm or starts a new machine farm.
Themachines10 may be in a domain, or may be unconnected with any domain. In one embodiment, theclient machine10 is in thedomain38. In another embodiment, theclient machine10 is in another domain that does not include any of themachines30,30′,30″ and30′″. In another embodiment, theclient machine10 is not in any domain.
In one embodiment theclient machine10 is in thedomain38 and a user of the machine provides user credentials to log onto theclient machine10. User credentials typically include the name of the user of the machine, the password of the user, and the name of the domain in which the user is recognized. The user credentials can be obtained from smart cards, time-based tokens, social security numbers, user passwords, personal identification (PIN) numbers, digital certificates based on symmetric key or elliptic curve cryptography, biometric characteristics of the user, or any other means by which the identification of the user of the client node can be obtained and submitted for authentication.
From the user-provided credentials, theclient machine10 generates user authentication data. Theclient machine10 transmits this user authentication data to theremote machine30. In this embodiment, the user credentials are not transmitted over a network, only the resulting user authentication data is transmitted by theclient machine10.
Theremote machine30 may determine which resources hosted by the machine farm containingremote machine30 are available for use by the user of theclient machine10. In one embodiment, theremote machine30 consults user authentication data to make this determination. In another embodiment, theremote machine30 consults information associated with a resource requested by the user to make the determination. Theremote machine30 transmits information representing the available resources to theclient machine10.
The user authentication performed by theremote machine30 can suffice to authorize the use of each hosted resource presented to theclient machine10, although such resources may reside at another machine. Accordingly, in this embodiment, when theclient machine10 accesses or launches (i.e., initiates execution of) one of the hosted resources, additional input of user credentials by the user will be unnecessary to authenticate access to that resource. Thus, a single entry of the user credentials can serve to determine the available resources and to authorize the access or launching of such resources without an additional, manual log-on authentication process by the user.
FIG. 17 depicts in more detail a system for remotely authenticating a client of aclient machine10 to aremote machine30. As shown inFIG. 17, theclient machine10 includes anauthentication module1710 in communication with a thin-client program1720. Theauthentication module1710 receives user authentication credentials provided for the purposes of authenticating a user to theclient machine100, theremote machine30, or both. Received authentication credentials can include username-password combinations, graphical password data, data derived from time-based tokens such as the SecurID line of tokens manufactured by RSA Security Inc. of Bedford, Mass., challenge-response data, information from smart cards, and biometric information such as fingerprints, voiceprints, or facial features. Theauthentication module1710 may use the provided authentication credentials to authenticate the user to themachine100. For example, in WINDOWS-based environments, theauthentication module1710 may be provided by the MSGINA dynamically-linked library. In other embodiments, for example, in Unix-based environments, theauthentication module1710 may be provided by the Unix Pluggable Authentication Manager, using the pam_krb module. In still other embodiments, theauthentication module1710 may be provided by the UNIX kinit command program.
In the embodiment shown inFIG. 17, themachine100 also includes asecurity service1712. In some embodiments, theauthentication module1710 and thesecurity service1712 are provided as the same dynamically-linked library. Thesecurity service1712 provides security services to modules and applications on themachine100, including theauthentication module1710 and the thin-client application1720, such as authentication to themachine100 and authentication to remote machines or network services. For example, thesecurity service1712, which may be the GSSAPI specified by the Internet Engineering Task Force (IETF) or the SSPI manufactured by Microsoft Corporation of Redmond, Wash., may obtain a Kerberos ticket in response to receipt of the user authentication credentials and use this ticket to obtain additional Kerberos tickets to authenticate the user to remote machines or network services, at the request of modules or applications on themachine100. Thesecurity service1712 may then generate user authentication data using these Kerberos tickets if needed for remote authentication. In one embodiment, thesecurity service1712 may generate the user authentication data using an external authentication service, such as a Key Distribution Center in a Kerberos environment or Active Directory in a Windows-based environment.
Thesecurity service1712 provides the generated user authentication data, e.g., Kerberos ticket and associated Kerberos authenticator, to the thin-client application1720. The thin-client application1720 transmits the user authentication data to aremote machine30 for remote authentication of the user. Thus, unlike existing single sign-on mechanisms for server-based computing, user-provided authentication credentials are not transmitted over thenetwork150 to aremote machine30. The user authentication data generated by thesecurity service1712 is independent of the method used by the user to authenticate to themachine100. Thus, for example, a Kerberos ticket for the user ofmachine100 is obtained whether the user uses a username-password combination or a biometric to authenticate to themachine100.
In the embodiment shown inFIG. 17, the thin-client application1720 communicates with theremote machine30 via a thin-client protocol having one or morevirtual channels1735. In these embodiments, the thin-client application1720 loads a virtual channel driver and uses it to send and receive messages on the authentication virtual channel. In some embodiments, the virtual channel driver exposes functions for opening the virtual channel and sending data over it.
The thin-client application1720 passes a data structure to theremote machine30 for thevirtual channel1735 when the thin-client protocol connection is established, indicating to the server-side thin-client application1750 that the authentication virtual channel is available. In one embodiment, the virtual channel data structure for the authentication virtual channel contains the virtual channel information and a representation of the size of the largest data packet themachine100 can accept from or send to theremote machine30 over thevirtual channel1735. The data packet size is constrained by the maximum thin-client size and any specific memory restrictions imposed by theclient machine10. In one particular embodiment, the data structure for the authentication virtual channel is defined as:
| VD_C2H | Header; |
| UINT16 | cbMaxDataSize; |
The server-side thin-client application1750 indicates to the thin-client application1720 its intention to perform authentication using the authenticationvirtual channel1735 by opening the virtual channel and sending a bind request message onto the channel. Once the virtual channel has been opened, the virtual channel driver in the thin-client application1720, in one embodiment, reads a message requesting a binding from the virtual channel, sends a message onto the virtual channel responding to the bind request; and reads a “commit” message from the channel. In one embodiment, the message requesting a binding includes data specifying the protocol version that is supported. In other embodiments, the protocol version can be negotiated between the thin-client application1720 and the server-side thin-client application1750 using the bind request and bind response messages.
The bind request, bind response, and bind commit initialization messages allow the server-side thin-client application1750 and the thin-client application1720 to conduct a 3-way handshake initiated by the server-side thin-client application1750, and negotiate capabilities. A 2-way handshake may be initiated by the server-side thin-client application1750 when the current set of virtual channel capabilities can be negotiated using a 2-way handshake only, but a 3-way handshake is supported to allow more flexibility that might be required by new capabilities or future enhancements to current capabilities. For example, in a 3-way handshake, after receiving a “menu” of capabilities from the server-side thin-client application1750, the thin-client application1720 can exhibit a specific preference or could instead acknowledge a whole set of options pertaining to a specific capability thus letting the server-side thin-client application1750 decide on a specific option. In a 2-way handshake to be initiated by the thin-client application1720, the thin-client application1720 could not exhibit a specific preference because it might not be supported by the host.
Following channel setup, the virtual channel driver of both the thin-client application1720 and the server-side thin-client application1750 does the following in a loop until a “stop” message or an “error” message is received: retrieve authentication data from thesecurity service1712,1712′, providing as input any authentication data sent by the other party via the virtual channel; and send the retrieved authentication data (if any) onto the virtual channel in a data message. If the retrieval of data from thesecurity service1712,1712′ returned a “STOP” message, then signal stop and close the authentication virtual channel. In some embodiments the virtual channel driver may reset itself on a “stop” signal. If the retrieval of data from thesecurity service1712,1712′ returned a “CONTINUE” message, then continue. If the retrieval of authentication data from thesecurity service1712,1712′ returned an “ERROR”, then signal that an error has occurred and close the authentication virtual channel.
As long as “stop” or “error” are not signaled, the virtual channel driver of the thin-client application1720 and the server-side thin-client application1750 are free to exchange data messages until thesecurity service1712,1712′ stops producing data buffers to be sent. In some embodiments, the number of messages exchanged may be limited by the virtual channel driver, the server-side thin-client application1750, or thevirtual channel1735. In other embodiments, the virtual channel driver of the thin-client application1720 and the server-side thin-client application1750 exchange messages sequentially, that is, two messages are not sent in one direction without a reply to the first being sent in the other. In either embodiment, message exchange can stop after a message has been sent in either direction.
In some particular embodiments, the data messages are sent over the virtual channel Least Significant Double Word (LSDW), Least Significant Word (LSW), Least Significant Byte (LSB) first. In other particular embodiments, the data messages are aligned at a byte boundary and fully packed in memory. In these embodiments, data fields will be aligned in memory as written to or read from the virtual channel.
Some messages transmitted on the authentication virtual channel span multiple virtual channel packets. To support this, every message must be preceded by a message specifying the length of the next transmitted command. An example of a message that may be used to specify the length of the next command is:
| |
| typedef struct _PKT_CMDLEN |
| { |
| UINT32 | Length; |
| UINT8 | Command; |
| UINT8 | FlagsBitMask; |
| } PKT_CMDLEN, *PPKT_CMDLEN; |
| |
In some of these embodiments, PKT_CMDLEN also contains a command number to indicate what type of message is to follow:
| |
| #define CMD_BIND_REQUEST | 0x00 |
| #define CMD_BIND_RESPONSE | 0x01 |
| #define CMD_BIND_COMMIT | 0x02 |
| #define CMD_SSPI_DATA | 0x03 |
| |
A PKT_CMDLEN packet containing Length=0 indicates that no more data will follow (i.e. a logical channel close).
The server-side thin-client application1750 passes the authentication data it receives over the authentication virtual channel to itssecurity service1712′. If the server-side security service1712′ is able to verify the data, it generates an access token representing a logon session for the user, allowing the user to authenticate to theremote machine30 without resubmitting authentication credentials. An access token is a data object that includes, among other things, a locally unique identifier (LUID) for the logon session. If the server-side security service1712′ is not able to verify the data, the user is prompted to resubmit authentication credentials.
In some embodiments, until the server-side security service1712′ authenticates the user, the only virtual channel over which the user may communicate with theremote machine30 is the authentication virtual channel. In some of these embodiments, after authentication, new virtual channels are initiated for communication. In other embodiments, only one virtual channel exists and it may only be used for authentication-related communications until the user is authenticated, and it may be used for other communications after the user is authenticated.
For embodiments in which theremote machine30 operates under control of a MICROSOFT WINDOWS operating system, the access token generated by the server-side security service1712′ is an impersonation token that has only network logon rights. That is, the generated access token is not suitable to use for starting applications to run interactively, as is required in the WINDOWS server-based computing environment. To allow applications to run interactively, a primary access token is needed that has interactive logon rights. In one embodiment, the generated access token is modified to provide the appropriate rights. In another embodiment, a new token is generated for the user.
For embodiments in which the server-side computing device140 operates under control of a Unix-based operating system, if the server-side security service1712′ verifies the authentication data it receives over the authentication virtual channel from the server-side thin-client application1750, the server-side thin-client application1750 will grant the user access to the resources. In these embodiments, the server-side security service1712′ does not generate an access token.
In some embodiments, after theremote machine30 has authenticated the user, theremote machine30 presents an enumeration of resources available to the user. In these embodiments, theremote machine30 may create a page describing a display of resources, hosted by a plurality of machines, available to themachine100. Theremote machine30 may then transmit the created page to themachine100 for display and receive from themachine100, a request to access one of the hosted resources.
In some of these embodiments, the selected one of the available resources hosted by one of the plurality of machines is then executed without requiring further receipt of user authentication data from themachine100. In some of these embodiments, theremote machine30 initiates, in response to successful authentication by the user, a connection from theremote machine30 to a secondremote machine30′ which is hosting a resource available to the user. In these embodiments, the available resource is executed over the connection. In some embodiments, the connection is a virtual channel.
In other embodiments, the firstremote machine30 is hosting the selected one of the available resources. In some of these embodiments, theremote machine30 makes the resource available to the user over the existing connection. In others of these embodiments, theremote machine30 makes the resource available to the user over a new connection. In some of those embodiments, the new connection comprises a virtual channel.
In some embodiments, a plurality of components are provided for authenticating a user of theclient machine10 to a virtual machine on aremote machine30. In one of these embodiments, functionality is provided for a Kerberos-based Single Sign-On process between theclient machine10 and a guest operating system provided by the virtual machine.
In some embodiments, a user seeking to access a resource provided by a virtual machine provides authentication credentials multiple times to different entities. In one of these embodiments, the user is authenticated by a client agent on theclient machine10, by aremote machine30, and by a computing environment provided by a virtual machine in theremote machine30. In some of these embodiments, single sign-on support would enable authentication of the user to different entities with only one transmission of authentication credentials from the user.
Authentication of the user to the client machine and theremote machine30 may be accomplished as described above in connection withFIG. 17. In some embodiments, an authentication component, a GINA (Graphical Identification and Authentication) component, an authentication module in the session management component and an authentication module for the virtual machine service component are provided. In one embodiment, a bi-directional virtual channel enables communication between a service management component on theremote machine30 and a virtual machine service component executing in the guest operating system. In one embodiment, theremote machine30 includes client-side single sign-on functionality and the virtual machine includes server-side single sign-on functionality. In still another embodiment, the service management component implements an authentication module and communicates with an authentication module in the virtual machine service component to authenticate the user.
In one embodiment, the session management component creates a Kerberos SSPI channel between itself and the virtual machine service component. When the channel is established the session management component acquires the credentials of the user and initializes a security context using this data. The initialization data returned is sent to the virtual machine service component which accepts the data and starts an exchange of SSPI messages between the two components until the security context is established in the virtual machine service component. This context is then used to log the user on to the virtual machine using a single sign-on GINA component.
In some embodiments, the session management component authenticates the user to a host operating system on theremote machine30. In one of these embodiments, the host operating system then authenticates the user to the virtual machine. In other embodiments, the session management component authenticates the user to a hypervisor. In one of these embodiments, the hypervisor then authenticates the user to the virtual machine. In still other embodiments, the session management component authenticates the user to a virtual machine providing management functionality for the virtual machine to which the user seeks access.
Referring back toFIG. 8, aremote machine30 may determine to provide access to a resource streaming service capable of transmitting a requested resource to the client machine (step816). In some embodiments, theremote machine30 determines to implement a resource streaming service to transmit to theclient machine10 or to aremote machine30′ a requested resource. In other embodiments, theremote machine30 determines to use a resource streaming service to stream the resource to a computing environment provided by a virtual machine. In still other embodiments, the resource is a computing environment and theremote machine30 determines to use a resource streaming technique to stream the computing environment to a virtual machine. In some embodiments, the plurality of resource files resides on theremote machine30′. In other embodiments, the plurality of resource files resides on a separate file server orremote machine30″. In still other embodiments, the plurality of resource files may be transmitted to aclient machine10. In yet other embodiments, a file in the plurality of resource files may be executed prior to transmission of a second file in the plurality of resource files to theclient machine10.
In some embodiments, theremote machine30 retrieves information about the enumerated resource from aremote machine30′. In one of these embodiments, theremote machine30 receives an identification of aremote machine30″ hosting a plurality of resource files. In another of these embodiments, theremote machine30 receives identification of a location of a plurality of resource files, the identification conforming to a Universal Naming Convention (UNC). In still another of these embodiments, the identification includes a network location and a socket for a resource streaming protocol.
In one embodiment, theremote machine30 retrieves a file containing information about the enumerated resource. The file may include an identification of a location of aremote machine30′ hosting the enumerated resource. The file may include an identification of a plurality of versions of the enumerated resource. The file may include an enumeration of a plurality of resource files comprising the enumerated resource. The file may include an identification of a compressed file comprising a plurality of resources files comprising the enumerated resource. The file may include an identification of pre-requisites to be satisfied by a machine executing the enumerated resource. The file may include an enumeration of data files associated with the enumerated resource. The file may include an enumeration of scripts to be executed on a machine executing the enumerated resource. The file may include an enumeration of registry data associated with the enumerated resource. The file may include an enumeration of rules for use in an embodiment where the enumerated resource executes within an isolation environment. In one embodiment, the file may be referred to as a “manifest” file. The information that the file may contain is described in further detail below.
The stream of data packets may include resource files comprising the enumerated resource. In some embodiments, resource files include data files associated with an resource. In other embodiments, resource files include executable files required for execution of the resource. In still other embodiments, the resource files include metadata including information about the files, such as location, compatibility requirements, configuration data, registry data, identification of execution scripts rules for use in isolation environments, or authorization requirements.
In some embodiments, the streamed resource executes prior to the transmission of each resource file in a plurality of resource files comprising the streamed resource. In one of these embodiments, execution of the streamed resource begins upon receipt by aclient machine10 of one resource file in the plurality of resources. In another of these embodiments, execution of the streamed resource begins upon receipt by aclient machine10 of an executable resource file in the plurality of resource files. In still another of these embodiments, theclient machine10 executes a first received resource file in a plurality of resource files and the first received resource file requests access to a second resource file in the plurality of resource files.
In one embodiment, the streamed resource executes on theclient machine10 without permanently residing on theclient machine10. In this embodiment, the streamed resource may execute on theclient machine10 and be removed from theclient machine10 upon termination of the streamed resource. In another embodiment, the streamed resource executes on theclient machine10 after a pre-deployed copy of each resource file is stored on theclient machine10. In still another embodiment, the streamed resource executes on theclient machine10 after a copy of each resource file is stored in an isolation environment on theclient machine10. In yet another embodiment, the streamed resource executes on theclient machine10 after a copy of each resource file is stored in a cache on theclient machine10.
In some embodiments, theremote machine30 streams the enumerated resource to theremote machine30, executes the enumerated resource on theremote machine30, and provides to theclient machine10 resource-output data generated by the execution of the enumerated resource. In other embodiments, a resource is streamed to a virtual machine and resource output data is transmitted to aclient machine10 using a presentation layer protocol such as X11, VNC, ICA or RDP.
In one embodiment, theremote machine30 receives a plurality of resource files comprising the enumerated resource. In another embodiment, theremote machine30 provides the resource-output data via a presentation level protocol, such as an ICA presentation level protocol or a Remote Desktop Windows presentation level protocol or an X-Windows presentation level protocol.
In some embodiments, theremote machine30 also provides access information associated with the enumerated resource, the access information generated responsive to the selected method. In one of these embodiments, the access information provides an indication to theclient machine10 of the selected method for execution of the enumerated resource. In another of these embodiments, the access information includes an identification of a location of the enumerated resource, the identification conforming to a Universal Naming Convention (UNC). In still another of these embodiments, the access information includes an identification of a session management server.
In some embodiments, the access information includes a launch ticket comprising authentication information. In one of these embodiments, theclient machine10 may use the launch ticket to authenticate the access information received from theremote machine30. In another of these embodiments, theclient machine10 may use the launch ticket to authenticate itself to a secondremote machine30 hosting the enumerated resource. In still another of these embodiments, theremote machine30 includes the launch ticket in the access information responsive to a request from theclient machine10 for the launch ticket.
Referring now toFIG. 18, flow diagram depicts one embodiment of the steps taken to access a plurality of files comprising a resource, such as a computing environment or an application program. Aclient machine10 performs a pre-launch analysis (step1810). In one embodiment, theclient machine10 performs the pre-launch analysis prior to retrieving and executing a plurality of resource files comprising a resource. In another embodiment, theclient machine10 performs the pre-launch analysis responsive to a received indication that the pre-launch analysis is a requirement for authorization to access the plurality of resource files comprising a resource.
In some embodiments, theclient machine10 receives, from aremote machine30, access information associated with the plurality of resource files. In one of these embodiments, the access information includes an identification of a location of aremote machine30′ hosting the plurality of resource files. In another of these embodiments, theclient machine10 receives an identification of a plurality of resources comprising one or more versions of the resource. In still another of these embodiments, theclient machine10 receives an identification of a plurality of resource files comprising one or more resources. In other embodiments, theclient machine10 receives an enumeration of resources available to theclient machine10 for retrieval and execution. In one of these embodiments, the enumeration results from an evaluation of theclient machine10. In still other embodiments, theclient machine10 retrieves at least one characteristic responsive to the retrieved identification of the plurality of resource files comprising a resource.
In some embodiments, the access information includes a launch ticket capable of authorizing theclient machine10 to access the plurality of resource files. In one of these embodiments, the launch ticket is provided to theclient machine10 responsive to an evaluation of theclient machine10. In another of these embodiments, the launch ticket is provided to theclient machine10 subsequent to a pre-launch analysis of theclient machine10 by theclient machine10.
In other embodiments, theclient machine10 retrieves at least one characteristic required for execution of the plurality of resource files. In one of these embodiments, the access information includes the at least one characteristic. In another of these embodiments, the access information indicates a location of a file for retrieval by theclient machine10, the file enumerating the at least one characteristic. In still another of these embodiments, the file enumerating the at least one characteristic further comprises an enumeration of the plurality of resource files and an identification of aremote machine30 hosting the plurality of resource files.
Theclient machine10 determines the existence of the at least one characteristic on theclient machine10. In one embodiment, theclient machine10 makes this determination as part of the pre-launch analysis. In another embodiment, theclient machine10 determines whether theclient machine10 has the at least one characteristic.
In one embodiment, determining the existence of the at least one characteristic on theclient machine10 includes determining whether a device driver is installed on theclient machine10. In another embodiment, determining the existence of the at least one characteristic on theclient machine10 includes determining whether an operating system is installed on theclient machine10. In still another embodiment, determining the existence of the at least one characteristic on theclient machine10 includes determining whether a particular operating system is installed on theclient machine10. In yet another embodiment, determining the existence of the at least one characteristic on theclient machine10 includes determining whether a particular revision level of an operating system is installed on theclient machine10. For embodiments in which aremote machine30 acts as a client machine10 (such as, for example, a terminal services session in which the remote machine executes computing resources on behalf of a user of a client machine), determining the existence of at least on characteristic may include determining whether theremote machine30 executes a hypervisor or, alternatively, whether the remote machine executes a hypervisor which itself executes in the native operating system.
In some embodiments, determining the existence of the at least one characteristic on theclient machine10 includes determining whether theclient machine10 has acquired authorization to execute an enumerated resource. In one of these embodiments, a determination is made by theclient machine10 as to whether theclient machine10 has received a license to execute the enumerated resource. In another of these embodiments, a determination is made by theclient machine10 as to whether theclient machine10 has received a license to receive across a resource streaming session a plurality of resource files comprising the enumerated resource. In other embodiments, determining the existence of the at least one characteristic on theclient machine10 includes determining whether theclient machine10 has sufficient bandwidth available to retrieve and execute an enumerated resource.
In some embodiments, determining the existence of the at least one characteristic on theclient machine10 includes execution of a script on theclient machine10. In other embodiments, determining the existence of the at least one characteristic on theclient machine10 includes installation of software on theclient machine10. In still other embodiments, determining the existence of the at least one characteristic on theclient machine10 includes modification of a registry on theclient machine10. In yet other embodiments, determining the existence of the at least one characteristic on theclient machine10 includes transmission of acollection agent704 to theclient machine10 for execution on theclient machine10 to gather credentials associated with theclient machine10.
Theclient machine10 requests, from aremote machine30, authorization for execution of the plurality of resource files, the request including a launch ticket (step1812). In some embodiments, theclient machine10 makes the request responsive to a determination that at least one characteristic exists on theclient machine10. In one of these embodiments, theclient machine10 determines that a plurality of characteristics exist on theclient machine10, the plurality of characteristics associated with an enumerated resource and received responsive to a request to execute the enumerated resource. In another of these embodiments, whether theclient machine10 receives an indication that authorization for execution of the enumerated resource files depends upon existence of the at least one characteristic on theclient machine10. In one embodiment, theclient machine10 received an enumeration of resources, requested execution of an enumerated resource, and received access information including the at least one characteristic and a launch ticket authorizing the execution of the enumerated resource upon the determination of the existence of the at least one characteristic on theclient machine10. In one embodiment, theclient machine10 receives from the remote machine30 a license authorizing execution of the plurality of resource files. In some embodiments, the license authorizes execution for a specified time period. In one of these embodiments, the license requires transmission of a heart beat message to maintain authorization for execution of the plurality of resource files. For embodiments in which a virtual machine is streamed or otherwise downloaded to the client machine, a license pool may be provided that authorizes the virtual machine, its guest operating system and all the licensed software installed within that guest operating system. In some of these embodiments, a single license is provided that authorizes those entities.
In another embodiment, theclient machine10 receives from theremote machine30 the license and an identifier associated with aremote machine30 monitoring execution of the plurality of resource files. In some embodiments, theremote machine30 is asession management server1962, as described below in connection withFIG. 19. In one of these embodiments, thesession management server1962 includes asession management subsystem1910 that monitors the session associated with theclient machine10. In other embodiments, a separateremote machine30″″ is thesession management server1962.
Referring back toFIG. 18, theclient machine10 receives and executes the plurality of resource files (step1814). In one embodiment, theclient machine10 receives the plurality of resource files across a resource streaming session. In another embodiment, theclient machine10 stores the plurality of resource files in an isolation environment on theclient machine10. In still another embodiment, theclient machine10 executes one of the plurality of resource files prior to receiving a second of the plurality of resource files. In some embodiments, aremote machine30 transmits the plurality of resource files to a plurality ofclient machines10, eachclient machine10 in the plurality having established a separate resource streaming session with theremote machine30.
In some embodiments, theclient machine10 stores the plurality of resource files in a cache and delays execution of the resource files. In one of these embodiments, theclient machine10 receives authorization to execute the resource files during a pre-defined period of time. In another of these embodiments, theclient machine10 receives authorization to execute the resource files during the pre-defined period of time when theclient machine10 lacks access to a network. In other embodiments, theclient machine10 stores the plurality of resource files in a cache. In one of these embodiments, a resource streaming client1952 (described in further detail below in connection withFIG. 19) establishes an internal resource streaming session to retrieve the plurality of resource files from the cache. In another of these embodiments, theclient machine10 receives authorization to execute the resource files during a pre-defined period of time when theclient machine10 lacks access to a network.
Theclient machine10 transmits at least one heartbeat message to a remote machine (step1816). In some embodiments, theclient machine10 transmits the at least one heartbeat message to retain authorization to execute the plurality of resource files comprising the enumerated resource. In other embodiments, theclient machine10 transmits the at least one heartbeat message to retain authorization retrieve a resource file in the plurality of resource files. In still other embodiments, theclient machine10 receives a license authorizing execution of the plurality of resource files during a pre-determined period of time.
In some embodiments, theclient machine10 transmits the heartbeat message to a secondremote machine30″″. In one of these embodiments, the secondremote machine30″″ may comprise asession management server1962 monitoring the retrieval and execution of the plurality of resource files. In another of these embodiments, the secondremote machine30″″ may renew a license authorizing execution of the plurality of resource files, responsive to the transmitted heartbeat message. In still another of these embodiments, the secondremote machine30″″ may transmit to theclient machine10 a command, responsive to the transmitted heartbeat message.
Referring now toFIG. 19, theclient machine10 may include aresource streaming client1952, astreaming service1954 and anisolation environment1956.
Theresource streaming client1952 may be an executable program. In some embodiments, theresource streaming client1952 may be able to launch another executable program. In other embodiments, theresource streaming client1952 may initiate thestreaming service1954. In one of these embodiments, theresource streaming client1952 may provide thestreaming service1954 with a parameter associated with executing a resource. In another of these embodiments, theresource streaming client1952 may initiate thestreaming service1954 using a remote procedure call.
In one embodiment, theclient machine10 requests execution of a resource and receives access information from aremote machine30 regarding execution. In another embodiment, theresource streaming client1952 receives the access information. In still another embodiment, theresource streaming client1952 provides the access information to thestreaming service1954. In yet another embodiment, the access information includes an identification of a location of a file associated with a plurality of resource files comprising the resource.
In one embodiment, thestreaming service1954 retrieves a file associated with a plurality of resource files. In some embodiments, the retrieved file includes an identification of a location of the plurality of resource files. In one of these embodiments, thestreaming service1954 retrieves the plurality of resource files. In another of these embodiments, thestreaming service1954 executes the retrieved plurality of resource files on theclient machine10. In other embodiments, thestreaming service1954 transmits heartbeat messages to aremote machine30 to maintain authorization to retrieve and execute a plurality of resource files.
In some embodiments, the retrieved file includes an identification of a location of more than one plurality of resource files, each plurality of resource files comprising a different resource. In one of these embodiments, thestreaming service1954 retrieves the plurality of resource files comprising the resource compatible with theclient machine10. In another of these embodiments, thestreaming service1954 receives authorization to retrieve a particular plurality of resource files, responsive to an evaluation of theclient machine10.
In some embodiments, the plurality of resource files are compressed and stored on a file server within an archive file such as a CAB, ZIP, SIT, TAR, JAR or other archive file. In one embodiment, a plurality of resource files stored in an archive file comprises a resource. In another embodiment, multiple pluralities of resource files stored in an archive file each comprise different versions of a resource. In still another embodiment, multiple pluralities of resource files stored in an archive file each comprise different resources. In some embodiments, an archive file includes metadata associated with each file in the plurality of resource files. In one of these embodiments, thestreaming service1954 generates a directory structure responsive to the included metadata. As will be described in greater detail below, the metadata may be used to satisfy requests by resources for directory enumeration.
In one embodiment, thestreaming service1954 decompresses an archive file to acquire the plurality of resource files. In another embodiment, thestreaming service1954 determines whether a local copy of a file within the plurality of resource files exists in a cache on theclient machine10 prior to retrieving the file from the plurality of resource files. In still another embodiment, the filesystem filter driver1964 determines whether the local copy exists in the cache. In some embodiments, thestreaming service1954 modifies a registry entry prior to retrieving a file within the plurality of resource files.
In some embodiments, thestreaming service1954 stores a plurality of resource files in a cache on theclient machine10. In one of these embodiments, thestreaming service1954 may provide functionality for caching a plurality of resource files upon receiving a request to cache the plurality of resource files. In another of these embodiments, thestreaming service1954 may provide functionality for securing a cache on theclient machine10. In another of these embodiments, thestreaming service1954 may use an algorithm to adjust a size and a location of the cache.
In some embodiments, thestreaming service1954 creates anisolation environment1956 on theclient machine10. In one of these embodiments, thestreaming service1954 uses an isolation environment application programming interface to create theisolation environment1956. In another of these embodiments, thestreaming service1954 stores the plurality of resource files in theisolation environment1956. In still another of these embodiments, thestreaming service1954 executes a file in the plurality of resource files within the isolation environment. In yet another of these embodiments, thestreaming service1954 executes the resource in the isolation environment. In some embodiments, thestreaming service1954 accesses anisolation environment1956 provided by a virtual machine.
For embodiments in which authorization is received to execute a resource on theclient machine10, the execution of the resource may occur within anisolation environment1956. In some embodiments, a plurality of resource files comprising the resource is stored on theclient machine10 prior to execution of the resource. In other embodiments, a subset of the plurality of resource files is stored on theclient machine10 prior to execution of the resource. In still other embodiments, the plurality of resource files does not reside in theisolation environment1956. In yet other embodiments, a subset of the plurality of resources files do not reside on theclient machine10. Regardless of whether a subset of the plurality of resource files or each resource file in the plurality of resource files reside on theclient machine10 or inisolation environment1956, in some embodiments, a resource file in the plurality of resource files may be executed within anisolation environment1956.
In some embodiments, isolation environments are used to provide additional functionality to theresource streaming client1952. In one of these embodiments, a resource is executed within an isolation environment. In another of these embodiments, a retrieved plurality of resource files resides within the isolation environment. In still another of these embodiments, changes to a registry on theclient machine10 are made within the isolation environment.
In one embodiment, theresource streaming client1952 includes anisolation environment1956. In some embodiments, theresource streaming client1952 includes a filesystem filter driver1964 intercepting resource requests for files. In one of these embodiments, the filesystem filter driver1964 intercepts a resource request to open an existing file and determines that the file does not reside in theisolation environment1956. In another of these embodiments, the filesystem filter driver1964 redirects the request to thestreaming service1954 responsive to a determination that the file does not reside in theisolation environment1956. Thestreaming service1954 may extract the file from the plurality of resource files and store the file in theisolation environment1956. The filesystem filter driver1964 may then respond to the request for the file with the stored copy of the file. In some embodiments, the filesystem filter driver1964 may redirect the request for the file to afile server1940, responsive to an indication that thestreaming service1954 has not retrieved the file or the plurality of resource files and a determination the file does not reside in theisolation environment1956.
In some embodiments, the filesystem filter driver1964 uses a strict isolation rule to prevent conflicting or inconsistent data from appearing in theisolation environment1956. In one of these embodiments, the filesystem filter driver1964 intercepting a request for a resource in a user isolation environment may redirect the request to a resource isolation environment. In another of these embodiments, the filesystem filter driver1964 does not redirect the request to a system scope.
In one embodiment, thestreaming service1954 uses IOCTL commands to communicate with the filter driver. In another embodiment, communications to thefile server1940 are received with the Microsoft SMB streaming protocol.
Referring now toFIG. 20, a flow diagram depicts one embodiment of steps taken by aclient machine10 to execute a resource. As described above inFIG. 18, regardingstep1814, aclient machine10 receives and executes the plurality of resource files. In brief overview, theclient machine10 receives a file including access information for accessing a plurality of resource files and for executing a first client capable of receiving a resource stream (step2002). Theclient machine10 retrieves an identification of the plurality of resource files, responsive to the file (step2004). Theclient machine10 retrieves at least one characteristic required for execution of the plurality of resource files, responsive to the file (step2006). Theclient machine10 determines whether theclient machine10 includes the at least one characteristic (step2008). Theclient machine10 executes a second client, the second client requesting execution of the plurality of resource files on aremote machine30, responsive to a determination that theclient machine10 lacks the at least one characteristic (step2010).
Referring toFIG. 20, and in greater detail, theclient machine10 receives a file including access information for accessing a plurality of resource files and for executing a first client capable of receiving a resource stream (step2002). In one embodiment, theclient machine10 receives access information including an identification of a location of a plurality of resource files comprising a resource. In another embodiment, theclient machine10 receives the file responsive to requesting execution of the resource. In still another embodiment, the access information includes an indication that the plurality of resource files reside on aremote machine30′ such as a resource server or a file server. In yet another embodiment, the access information indicates that theclient machine10 may retrieve the plurality of resource files from theremote machine30 over a resource streaming session.
Theclient machine10 retrieves an identification of the plurality of resource files, responsive to the file (step2004). In one embodiment, theclient machine10 identifies aremote machine30 on which the plurality of resource files resides, responsive to the file including access information. In another embodiment, theclient machine10 retrieves from the remote machine30 a file identifying the plurality of resource files. In some embodiments, the plurality of resource files comprises a resource. In other embodiments, the plurality of resource files comprises multiple resources. In still other embodiments, the plurality of resource files comprises multiple versions of a single resource.
Referring ahead toFIG. 21, a block diagram depicts one embodiment of a plurality of resource files residing on aremote machine30′, such asfile server1940. InFIG. 21, a plurality of resource files, referred to as a package, includes resource files comprising three different versions of one or more resources.
In one embodiment, each subset of resource files comprising a version of one or more resources and stored within the package is referred to as a target.Target 1, for example, includes a version of a word processing resource and of a spreadsheet program, the version compatible with the English language version of the Microsoft Windows 2000 operating system.Target 2 includes a version of a word processing resource and of a spreadsheet program, the version compatible with the English language version of the Microsoft XP operating system. Target 3 a version of a word processing resource and of a spreadsheet program, the version compatible with the Japanese language version of the Microsoft Windows 2003 operating system withservice pack3.
Returning back toFIG. 20, in some embodiments, the file retrieved from theremote machine30 hosting the plurality of resource files includes a description of the package and the targets included in the plurality of resource files. In other embodiments, the file retrieved from theremote machine30 identifies the plurality of resource files comprising a resource requested for execution by theclient machine10.
Theclient machine10 retrieves at least one characteristic required for execution of the plurality of resource files, responsive to the file (step2006). In some embodiments, theclient machine10 may not execute a resource unless theclient machine10 includes certain characteristics. In one of these embodiments, different resources requireclient machines10 to include different characteristics from the characteristics required by other resources. In another of these embodiments, theclient machine10 receives an identification of the at least one characteristic required for execution of the plurality of resource files comprising the resource requested by theclient machine10.
Still referring toFIG. 20, theclient machine10 determines whether theclient machine10 includes the at least one characteristic (step2008). In one embodiment, theclient machine10 evaluates an operating system on theclient machine10 to determine whether theclient machine10 includes the at least one characteristic. In another embodiment, theclient machine10 identifies a language used by an operating system on theclient machine10 to determine whether theclient machine10 includes the at least one characteristic. In still another embodiment, theclient machine10 identifies a revision level of an operating system on theclient machine10 to determine whether theclient machine10 includes the at least one characteristic. In yet another embodiment, theclient machine10 identifies a resource version of a resource residing on theclient machine10 to determine whether theclient machine10 includes the at least one characteristic. In some embodiments, theclient machine10 determines whether theclient machine10 includes a device driver to determine whether theclient machine10 includes the at least one characteristic. In other embodiments, theclient machine10 determines whether theclient machine10 includes an operating system to determine whether theclient machine10 includes the at least one characteristic. In still other embodiments, theclient machine10 determines whether theclient machine10 includes a license to execute the plurality of resource files to determine whether theclient machine10 includes the at least one characteristic.
In one embodiment, theclient machine10 determines whether theclient machine10 comprises a required amount of available disk space to access the resource. In another embodiment, theclient machine10 determines whether a central processing unit of theclient machine10 provides a required processing speed. In still another embodiment, theclient machine10 determines whether theclient machine10 comprises a required amount of available RAM. In yet another embodiment, theclient machine10 determines whether theclient machine10 comprises a required level of graphical processing and display capabilities.
Theclient machine10 executes a second client, the second client requesting execution of the plurality of resource files on aremote machine30, responsive to a determination that theclient machine10 lacks the at least one characteristic (step2010). In one embodiment, when theclient machine10 determines that theclient machine10 lacks the at least one characteristic, theclient machine10 does not execute the first client capable of receiving a resource stream. In another embodiment, a policy prohibits theclient machine10 from receiving the plurality of resource files over a resource stream when theclient machine10 lacks the at least one characteristic. In some embodiments, theclient machine10 determines that theclient machine10 does include the at least one characteristic. In one of these embodiments, theclient machine10 executes the first client, the first client receiving a resource stream comprising the plurality of resource files from aremote machine30 for execution on theclient machine10.
In some embodiments, theclient machine10 executes the second client requesting execution of the plurality of resource files on aremote machine30 upon determining that theclient machine10 lacks the at least one characteristic. In one of these embodiments, the second client transmits the request to aremote machine30 hosting the plurality of resource files. In another of these embodiments, theremote machine30 executes the plurality of resource files comprising the resource and generates resource-output data. In still another of these embodiments, the second client receives resource-output data generated by execution of the plurality of resource files on theremote machine30. In yet another of these embodiments, the second client displays the resource-output on theclient machine10. In one embodiment, theclient machine10 requests execution of the plurality of application files on aphysical machine30. In another embodiment, theclient machine10 requests execution of the plurality of application files on a virtual machine executing on aremote machine30.
In some embodiments, the second client receives a file comprising access information for accessing a plurality of resource files and requests, responsive to a determination by the first client that theclient machine10 lacks the at least one characteristic, execution of the plurality of resource files on a virtual machine providing a computing environment having the least one characteristic. In other embodiments, theclient machine10 executes the second client requesting execution of the plurality of resource files on aremote machine30 upon determining that theclient machine10 lacks the at least one characteristic. In one of these embodiments, the second client transmits the request to aremote machine30 hosting the plurality of resource files. In another of these embodiments, a virtual machine executing on theremote machine30 executes the plurality of resource files comprising the resource and generates resource-output data. In still another of these embodiments, the second client receives resource-output data generated by execution of the plurality of resource files on the virtual machine. In yet another of these embodiments, the second client displays the resource-output on theclient machine10.
In some embodiments, the second client transmits the request to aremote machine30 that does not host the plurality of resource files. In one of these embodiments, theremote machine30 may request the plurality of resource files from a secondremote machine30 hosting the plurality of resource files. In another of these embodiments, theremote machine30 may receive the plurality of resource files from the secondremote machine30 across a resource streaming session. In still another of these embodiments, theremote machine30 stores the received plurality of resource files in an isolation environment and executes the resource within the isolation environment. In yet another of these embodiments, theremote machine30 transmits the generated resource-output data to the second client on theclient machine10.
In some embodiments, the second client transmits the request to aremote machine30 that does not host the plurality of resource files. In one of these embodiments, theremote machine30 may request the plurality of resource files from a secondremote machine30 hosting the plurality of resource files. In another of these embodiments, theremote machine30 may receive the plurality of resource files from the secondremote machine30 across a resource streaming session.
In other embodiments, theremote machine30 stores the received plurality of resource files in a computing environment provided by a virtual machine executing on theremote machine30, the computing environment having the at least one characteristic. In yet another of these embodiments, theremote machine30 executes the resource within the computing environment provided by the virtual machine and transmits the generated resource-output data to the second client on theclient machine10.
In some embodiments, a virtual machine on theremote machine30 executes the plurality of resource files. In one of these embodiments, the virtual machine receives for execution a resource stream comprising the plurality of resource files. In some embodiments, a virtual machine may receive for execution a resource stream responsive to an application of a policy. In one of these embodiments, the result of the application of the policy depends on an availability of the requested resource in the machine farm38 (including availability of a suitably configuredphysical machine30 or virtual machine), the sensitivity of the requested resource (including whether a policy prevents the transmission of the requested resource to an unsecured environment), information associated with the user of the client machine10 (including authorization to execute or access the requested resource in an unsecured environment).
Referring back toFIG. 19, in one embodiment, thefirst client machine10, capable of receiving the resource stream, is aresource streaming client1952. Theresource streaming client1952 receiving the file, retrieving an identification of a plurality of resource files and at least one characteristic required for execution of the plurality of resource files, responsive to the file, and determining whether theclient machine10 includes the at least one characteristic. In another embodiment, the second client is aclient agent1960. In some embodiments, theclient agent1960 receives the file from theresource streaming client1952 responsive to a determination, by theresource streaming client1952, that theclient machine10 lacks the at least one characteristic.
Aremote machine30 includes functionality for monitoring resource usage by aclient machine10. Theremote machine30 may monitor the status of each resource used by theclient machine10, for example upon execution or termination of a resource. In one embodiment, theremote machine30 requires theclient machine10 to transmit messages about the status of a resource executed by theclient machine10. In another embodiment, when aclient machine10 connects to a network on which theremote machine30 resides, theclient machine10 transmits a message indicating that theclient machine10 has connected to the network.
In one embodiment, theclient machine10 is said to have a session when theclient machine10 interacts with theremote machine30 and executes one or more resources. In another embodiment, theremote machine30 requires theclient machine10 to maintain, for the duration of a session, a license authorizing execution of resources received from aremote machine30. In still another embodiment, sessions have unique session identifiers assigned by theremote machine30.
In one embodiment, theclient machine10 transmits the messages to theremote machine30 with which it interacted to receive and execute the resource. In another embodiment, theclient machine10 receives from theremote machine30 an identifier of a secondremote machine30, such as asession management server1962, the secondremote machine30 receiving and storing all transmitted messages associated with the session on theclient machine10.
In some embodiments, thesession management server1962 is aremote machine30 providing license management and session monitoring services. In one of these embodiments, thesession management server1962 includes aserver management subsystem1908 providing these services.
In one embodiment, theclient machine10 transmits messages directly to thesession management server1962. In another embodiment, theclient machine10 transmits messages to aremote machine30, theremote machine30 forwarding the messages to thesession management server1962 with an identification of theclient machine10.
Aclient machine10 may transmit a heartbeat message to theremote machine30. In one embodiment, the heartbeat message includes a request for a license. In this embodiment, theclient machine10 may transmit the heartbeat message after receiving access information associated with a resource which theclient machine10 requested authorization to execute. Theclient machine10 may transmit the heartbeat message prior to executing the resource. In one embodiment, theclient machine10 includes with the heartbeat message a launch ticket received with the access information. In this embodiment, theremote machine30 may grant theclient machine10 a license upon successful verification of the launch ticket.
In another embodiment, the heartbeat message includes an indication that theclient machine10 has initiated execution of a resource. In still another embodiment, the heartbeat message includes an indication that theclient machine10 has terminated execution of a resource. In yet another embodiment, the heartbeat message includes an indication of a failure to execute a resource.
In one embodiment, the heartbeat message includes a request for an identification of a second session management server, such as asession management server1962. In another embodiment, the heartbeat message includes an indication that theclient machine10 has connected to a network on which theremote machine30 resides.
In some embodiments, the heartbeat message includes a request to reset a resource streaming session. In one of these embodiments, theclient machine10 transmits this heartbeat message when an error has occurred and a connection is terminated between a network on which theremote machine30 resides and theclient machine10. In another of these embodiments, theclient machine10 transmits with the heartbeat message information associated with the session. In still another of these embodiments, theremote machine30 may transmit to theclient machine10 session-related data if the session has not expired.
In another of these embodiments, if aremote machine30 disconnects from a network on which it replies, theclient machine10 may not receive a reply to a heartbeat message transmitted to theremote machine30. In one embodiment, theclient machine10 may re-establish a session by transmitting a message requesting a session reset to theremote machine30. In another embodiment, theclient machine10 may re-establish a session by transmitting a message requesting a session reset to a secondremote machine30. In some embodiments, when theremote machine30 reconnects to the network, it will create a new session for each session reset request received while theremote machine30 was disconnected. In one of these embodiments, the new session will be associated with the reconnected and unlicensed state. In another of these embodiments, no new license will be acquired for the new session. In still another of these embodiments, when theclient machine10 executes a resource, a new license will be acquired and all sessions associated with theclient machine10 will be associated with an active and licensed state.
In some embodiments, aresource streaming client1952 on theclient machine10 generates the heartbeat message. In one of these embodiments, theresource streaming client1952 forwards the heartbeat message to aweb interface1958 for transmission to theclient machine10 for transmission to theremote machine30. In other embodiments, themanagement service1904 on theremote machine30 receives the heartbeat message from theclient machine10 via theweb interface1958. In still other embodiments, aremote machine30 comprising a collector point240 (described above) receives and stores the heartbeat messages.
In some embodiments, theresource streaming client1952 requests a license from theremote machine30. In one of these embodiments, the license authorizes execution of a resource on theclient machine10. In another of these embodiments, theremote machine30 may access a secondremote machine30 to provide the license. In still another of these embodiments, theremote machine30 may provide the license to theclient machine10. In yet another of these embodiments, theremote machine30 may provide a license acceptable for authorization purposes to a secondremote machine30. In some embodiments, the license is revoked upon termination of execution of a resource.
Referring back toFIG. 8, a request for access to a resource is received (step802). In some embodiments, the resource is a file. In one of these embodiments, an application program is selected and executed to provide access to the file. In another of these embodiments, a type of file associated with the requested file is identified to select an application program for execution. In still another of these embodiments, prior to the request for access to the file, an application program is associated with a type of file, enabling automatic selection of the application program upon identification of a type of file associated with the requested file. In some embodiments, file type association (FTA) functionality permits users to automatically initiate the execution of application programs associated with a data file, even though the data file and the executable program are hosted on different computing nodes.
Typically, file type association functionality permits users to transparently execute executable programs by selecting data files located on a computing machine that differs from the machine(s) where the executable programs are located. In one embodiment, a user of aclient machine10 can transparently invoke the execution of an executable program on aremote machine30 by selecting a data file located on theclient machine10. In another embodiment, a user can transparently invoke the execution of an application program on theirclient machine10 by selecting a data file located on aremote machine30. In still another embodiment, a user can select a data file stored on aremote machine30′, such as a web server, and transparently invoke the execution of an associated executable program on aremote machine30, such as an application execution server. Typically, execution permits processing of the contents of the selected data file, the output of which is then provided to the user at theclient machine10.
It is to be understood that examples using filename extensions necessarily reflect the idiosyncrasies of embodiments utilizing the WINDOWS family of operating systems. Other embodiments implement methods and apparatus in accord using special parameters stored in the data file itself, the data contained in the data file, the file system records associated with the data file, or a separate data file or database. For example, embodiments using the MacOS family of operating systems utilize file and application creator types and store file-type association data in the Desktop file associated with each storage device. Embodiments using a UNIX-variant operating system utilize file extensions, embedded parameters, or other mechanisms as appropriate. Accordingly, the scope of the claims should not be read to be limited to embodiments relying on filename extensions or embodiments utilizing WINDOWS operating systems.
Client-Based FTAReferring toFIG. 22A, a flow diagram depicts one embodiment of the steps taken in a method of enabling transparent distributed program execution on aremote machine30 through the selection of graphical indicia representative of a data file located on theclient machine10. Theclient machine10 receives, from one of a plurality ofremote machines30, a mapping specifying an association between a type of data file and an executable program for execution on one of a plurality of remote machines30 (Step2206). In some embodiments, the mapping specifies an association between a type of data file and an executable program for execution on a virtual machine located on one of a plurality ofremote machines30.
Theclient machine10 presents a graphical depiction of a data file stored on the client machine10 (Step2214) and receives a selection of the graphical depiction of the data file (Step2218). Theclient machine10 identifies an received mapping (Step2222) and sends a request to aremote machine30 for execution of the identified executable program (Step2226). In one embodiment, theclient machine10 initiates the execution of a local display application (Step2230) to receive application output data from the executing program (Step2234), which it displays to the end user (Step2238).
Still referring toFIG. 22A, when the client,machine10 receives the mapping (Step106), the mapping may be received by itself, with several other mappings, or with other messages or data such as software updates. Table 3 illustrates an exemplary mapping provided in one embodiment of the invention:
| TABLE 3 |
| |
| File type: | Executable program: |
| |
| “.DOC”, “.RTF” | MSWORD.EXE |
| “.PDF” | ACROBAT.EXE |
| |
In one embodiment, the mapping identifies an association between a particular executable program for use with a particular data file or type of data file stored on the user'sclient machine10. In another embodiment, the mapping specifies the relationship between an executable program and a data file in terms of aclient machine10 application that launches the executable program on aremote machine30 and displays the output from execution at theclient machine10. For example, as described in connection withFIG. 8A (step2206), the mapping could specify that when a “.DOC” file is selected, theclient machine10 is to execute METAFRAME from Citrix Software of Ft. Lauderdale, Fla., which in turn sends a request to one of a plurality ofremote machines30 to execute WORD, receiving the output data from execution for display to the user at theclient machine10. In some embodiments, aremote machine30 receiving the request to execute the application program chooses a method for providing access to the application program, as described above in connection withFIG. 8 (step804). In one of these embodiments, theremote machine30 determines to execute the application and provide the application output data to theclient machine10. In another of these embodiments, theremote machine30 identifies aremote machine30 that executes the application and provides the application output data to theclient machine10. In still another of these embodiments, theremote machine30 identifies an application streaming service that transmits the application program to theclient machine10 for local execution. In yet another of these embodiments, theremote machine30 identifies aremote machine30′ on which a virtual machine provides a computing environment capable of executing the application program and transmitting the application output data to theclient machine10.
In still another embodiment, mapping specifies the relationship between an executable program and a data file in terms of aclient machine10 application that requests transmission of the executable program to theclient machine10 from an application streaming service provided by aremote machine30. In other embodiments, the mapping could specify that when a file is selected, theclient machine10 is to establish a connection to a virtual machine provided by one of a plurality ofremote machines30 to initiate execution of an application program on the virtual machine and to receive application output data from the execution for display to the user atclient machine10. In some of these embodiments, as described in connection withFIG. 8 (step808), a virtual machine and an execution machine onto which the virtual machine is launched are identified, configured, and provide the user of theclient machine10 with access to the file.
In some embodiments, theclient machine10 displays a list of file names associated with data files stored on theclient machine10. In still another embodiment, indicia representative of files stored on theclient machine10 are intermingled with indicia representative of files stored on one or moreremote machines30, or on virtual machines executing onremote machines30. In this embodiment, client-based FTA is operative when indicia representative of a file stored on theclient machine10 is selected. In another embodiment, multiple forms of FTA (see below) are operative, with the appropriate form of FTA activated based on the location of the file associated with the selected indicia.
FIG. 22B illustrates one embodiment of the steps taken by aremote machine30 in the client-based file-type association process. A mapping is provided specifying an association between a type of data file stored on aclient machine10 and an executable program for execution on one of a plurality of remote machines30 (Step2254). A request to execute the executable program is received (Step2262) and the executable program is executed on one of a plurality of remote machines30 (Step2266). In one embodiment, theremote machine30 receiving the request to execute the executable program chooses to provide the requested access as describe above in connection withFIG. 8 (step2204 and step2206). In some embodiments, theremote machine30 receives a request for transmission of the identified executable program to theclient machine10 for local execution. In one of these embodiments, theremote machine30 chooses to provide theclient machine10 with the executable program via an application streaming service as described above. In another of these embodiments, theremote machine30 chooses to stream the executable program to aremote machine30 or to a virtual machine executing on aremote machine30′.
Server-Based FTAReferring now toFIG. 23, a flow diagram depicts another embodiment of the steps taken in a method for enabling transparent distributed program execution on aclient machine10 through the selection of graphical indicia representative of a data file located on aremote machine30. Theclient machine10 presents a graphical depiction of a data file stored on one of a plurality of remote machines30 (Step2300). Theclient machine10 receives a selection of the graphical depiction of the data file (Step2304) and transmits the selection to one of the plurality of remote machines30 (Step2308). Theclient machine10 receives a request from one of the plurality ofremote machines30 to execute an executable program associated with the selected data file (Step2312) and executes the associated executable program (Step2316).
Still referring toFIG. 23, theclient machine10 presents a user with a graphical depiction of at least one data file stored on at least one remote machine30 (Step2300). In one embodiment, indicia representative of files stored on one or moreremote machines30, and on virtual machines executing on the one or moreremote machines30, are intermingled with indicia representative of files stored on theclient machine10. In this embodiment, server-based FTA is operative when indicia representative of a file stored on aremote machine30 is selected. In another embodiment, multiple forms of FTA (see above, below) are operative, with the appropriate form of FTA activated based on the location of the file associated with the selected graphical indicia.
As described above in connection withFIG. 8 (step804), aremote machine30 receiving a request to access a selected data file chooses a method for providing access to the data file. In one embodiment, the data file resides on theremote machine30. In another embodiment, the data file resides on aremote machine30′, such as a web server. In some embodiments, theremote machine30 consults a mapping to identify an application program associated with the requested data file.
In some embodiments, theremote machine30 chooses to provide theclient machine10 with access to the file via execution of the associated application program in a computing environment provided by a virtual machine (step806). In one of these embodiments, theremote machine30 may identify aremote machine30′ to execute the application program and transmit application output data to theclient machine10. In another of these embodiments, theremote machine30 identifies aremote machine30′ to execute the application program in a computing environment provided by a virtual machine executing on theremote machine30′, as described in connection withFIG. 8 (step808).
In other embodiments, theremote machine30 identifies aremote machine30′ providing an application streaming service capable of transmitting the application program to theclient machine10 for execution on theclient machine10 as described in connection withFIG. 8 (step816). In one of these embodiments, the application streaming service transmits the application program to aremote machine30′ for execution and theremote machine30 transmits application output data resulting from the execution to theclient machine10.
In some embodiments, theremote machine30 selects one of a predetermined number of methods for executing a requested application program, responsive to a policy, the predetermined number of methods including a method for executing the requested application in a computing environment provided by a virtual machine. In one of these embodiments, the application streaming service transmits the application program to aremote machine30′ for executing in a computing environment provided by a virtual machine executing in theremote machine30′. In another of these embodiments, theremote machine30 selects a method for streaming the requested application program to a virtual machine and executing the enumerated application in the virtual machine environment. In still another of these embodiments, the virtual machine is evaluated and, a determination to stream the requested application is made responsive to the evaluation. In other embodiments, the determination to stream one of a plurality of files comprising an enumerated application program to a virtual machine is made responsive to credentials gathered from aclient machine10.
Having received data associated with the selected data file, theclient machine10 typically processes the received data using the executing program and displays the result of the processing to the end user.
As described above, aclient machine10 connects to one or more of theremote machines30 in themachine farm38. In some of these embodiments, theclient machine10 may communicate withremote machines30 to receive application-output data generated by an execution of an application program on aremote machine30, or on a virtual machine executing on theremote machine30. In some embodiments, protocol stacks are implemented to enable communications between theclient machine10 andremote machines30.
FIG. 24 is a flow diagram depicting one particular embodiment of a method for establishing an extensible and dynamicallybindable protocol stack20. In one embodiment, the method allows aclient machine10 to specify the contents of a protocol stack dynamically without requiring that aremote machine30 have a prior protocol stack description for a particular client machine and a particular application requirement.
In one embodiment, aremote machine30 is on-line and monitoring activity on a specific transport system (e.g. LAN or WAN) and has initialized its protocol stack with the minimal necessary protocol modules to support a “TTY” communication mode. This mode is a raw ASCII stream mode with no protocol assumptions above the transport layer (i.e. there are no protocol layers for compression, encryption, reliability, framing, or modem). Similarly, aclient machine10 seeking access to theremote machine30 establishes a connection to the common transport system with the minimum protocol set needed to support a TTY communication mode.
Upon detecting that aclient machine10 has established transport system connection (step2401), the application server broadcasts a TTY data stream, “DETECT.sub.—STRING”, instep2402 that indicates service is available. The method used for detecting a client machine connection is transport system dependent (e.g. in the case of the TCP transport, when a client machine connects to a known port). If theclient machine10 does not respond within a prescribed time period,step2403, a re-broadcast of mission of the message occurs instep2402. Otherwise the process proceeds to step2405 where theclient machine10 sends the TTY string “DETECT-STRING”. Instep2406, theclient machine10 waits for theremote machine30 to respond and, if the response is within a prescribed time interval, the process proceeds tosteps2407 where theclient machine10 enables the required protocol for supporting its application. Otherwise, theclient machine10 repeats the transmission of the message instep2405. The server responds instep4108 by enabling the required set of protocols. Atstep2409, the TTY mode of communication ends because the next message sent by the server is a presentation layer protocol packet, “PACKET.sub.—INIT.sub.—REQUEST”, which indicates that the client's required “DETECT.sub.—STRING” has been received and accepted. In response to step2409, the client, atstep2410, sends a set of presentation layer protocol packets, “PACKET.sub.—INIT.sub.—RESPONSE”, each of which is used to specify a required or optional protocol module that is being negotiated with the server. Atstep2411, the server sends a set of “PACKET.sub.—INIT.sub.—CONNECT” packets. The number of packets is variable: one for each client packet sent instep2410, thus giving theremote machine30 the opportunity to negotiate the parameters under which communications will take place by overriding the parameters of theclient machine10; or, theremote machine30 may indicate that all of the parameters of theclient machine10 are acceptable by sending the parameters unchanged. Atstep2412 theremote machine30 enables the negotiated protocols (including any optional protocols) ofstep2411. After theclient machine10 receives the packets fromstep2411, theclient machine10 enables the negotiated protocols instep2413.
Still referring toFIG. 24, in some embodiments, a virtual machine host server communicates with theclient machine10 to enable negotiated protocols. As described above, a request is received from aclient machine10 for access to a computing environment or for application execution, the request including an identification of a user of theclient machine10. In some embodiments, a virtual machine is launched in communication with a hypervisor. In other embodiments, a virtual machine host server is initialized with a prescribed set of protocols and associated protocol parameters providing a common transport mechanism, wherein the common transport mechanism is for raw ASCII stream mode communications. In still other embodiments, a virtual machine host server is initialized with a prescribed set of protocols and associated protocol parameters providing a common transport mechanism.
A virtual machine host server creates a first portion of a protocol stack. In one embodiment, a hypervisor creates the first portion of the protocol stack. In another embodiment, the hypervisor transmits a request protocol message to theclient machine10. In still another embodiment, the hypervisor receives from theclient machine10 a plurality of protocol packets specifying one or more protocol parameters desired by theclient machine10. In yet another embodiment, the virtual machine host server generates, in response to each received protocol packet, a packet counter-specifying one or more protocol parameters.
The virtual machine host server transmits a request protocol message to theclient machine10. The virtual machine host server receives from theclient machine10 a plurality of protocol packets specifying one or more protocol parameters desired by theclient machine10. The virtual machine host server transmits, in response to each received protocol packet, a packet counter-specifying one or more protocol parameters. In one embodiment, the virtual machine host server sends an acknowledgment message to theclient machine10 indicating that at least one of the protocols specified by theclient machine10 has been enabled. In another embodiment, the virtual machine host server responds to each received protocol packet transmitted by theclient machine10 with a virtual machine host server protocol packet, at least one of the virtual machine host server protocol packets modifying at least one of the associated protocol parameters. The virtual machine host server creates on the virtual machine host server a second portion of a protocol stack, the first portion and the second portion of the protocol stack establishing a communication channel for communicating with theclient machine10 having the negotiated protocol parameters.
Still referring toFIG. 24, in some embodiments, a virtual machine communicates with theclient machine10 to enable negotiated protocols as described above. As described above, a request is received from aclient machine10 for access to a computing environment or for application execution, the request including an identification of a user of theclient machine10. A virtual machine in communication with a hypervisor is identified. In one embodiment, a virtual machine is launched in communication with a hypervisor. In another embodiment, a virtual machine in communication with a hypervisor is allocated. In one embodiment, a second virtual machine is initialized with a prescribed set of protocols and associated protocol parameters providing a common transport mechanism. In another embodiment, the second virtual machine is initialized with a prescribed set of protocols and associated protocol parameters providing a common transport mechanism, wherein the common transport mechanism is for raw ASCII stream mode communications.
The second virtual machine creates a first portion of a protocol stack. The second virtual machine transmits a request protocol message to theclient machine10. The second virtual machine receives from theclient machine10 a plurality of protocol packets specifying one or more protocol parameters desired by theclient machine10. The second virtual machine transmits, in response to each received protocol packet, a packet counter-specifying one or more protocol parameters. In one embodiment, the second virtual machine sends an acknowledgement message to theclient machine10 indicating that at least one of the protocols specified by theclient machine10 has been enabled. In another embodiment, the second virtual machine responds to each received protocol packet transmitted by theclient machine10 with a response protocol packet, at least one of the response protocol packets modifying at least one of the associated protocol parameters. The first virtual machine creates a second portion of a protocol stack, the first portion and the second portion of the protocol stack establishing a communication channel for communicating with theclient machine10 having the negotiated protocol parameters. In one embodiment, the first virtual machine sends an acknowledgment message to theclient machine10 indicating that at least one of the protocols specified by theclient machine10 has been enabled. In another embodiment, the first virtual machine responds to each received protocol packet transmitted by theclient machine10 with a response protocol packet, at least one of the response protocol packets modifying at least one of the associated protocol parameters.
Still referring toFIG. 24, in some embodiments, a virtual machine host server communicates with theclient machine10 to enable negotiated protocols as described above. As described above, a request is received from aclient machine10 for access to a computing environment or for application execution, the request including an identification of a user of theclient machine10. In one embodiment, a virtual machine is launched in communication with a hypervisor. In another embodiment, a virtual machine in communication with a hypervisor is allocated. In one embodiment, the virtual machine host server is initialized with a prescribed set of protocols and associated protocol parameters providing a common transport mechanism. In another embodiment, the virtual machine host server is initialized with a prescribed set of protocols and associated protocol parameters providing a common transport mechanism, wherein the common transport mechanism is for raw ASCII stream mode communications.
The virtual machine host server transmits a request protocol message to theclient machine10. The virtual machine host server receives from theclient machine10 a plurality of protocol packets specifying one or more protocol parameters desired by theclient machine10. The virtual machine host server transmits, in response to each received protocol packet, a packet counter-specifying one or more protocol parameters. In one embodiment, the virtual machine host server sends an acknowledgement message to theclient machine10 indicating that at least one of the protocols specified by theclient machine10 has been enabled. In another embodiment, the virtual machine host server responds to each received protocol packet transmitted by theclient machine10 with a virtual machine host server protocol packet, at least one of the virtual machine host server protocol packets modifying at least one of the associated protocol parameters. The virtual machine host server generates a data structure representing the connection and associated with an initial protocol stack. The virtual machine host server identifies a virtual machine in communication with a hypervisor and generates a client space in the identified virtual machine. The virtual machine host server generates a second protocol stack associated with the generated client space and transfers the established connection between the virtual machine host server and theclient machine10 from the initial protocol stack to the second protocol stack by associating the data structure with the second protocol stack.
Still referring toFIG. 24, in some embodiments, a virtual machine communicates with theclient machine10 to enable negotiated protocols as described above. As described above, a request is received from aclient machine10 for access to a computing environment or for application execution, the request including an identification of a user of theclient machine10. A first virtual machine in communication with a hypervisor is identified. In one embodiment, a second virtual machine is initialized with a prescribed set of protocols and associated protocol parameters providing a common transport mechanism. In another embodiment, a second virtual machine is initialized with a prescribed set of protocols and associated protocol parameters providing a common transport mechanism, wherein the common transport mechanism is for raw ASCII stream mode communications.
The second virtual machine transmits a request protocol message to theclient machine10. The second virtual machine receives from theclient machine10 a plurality of protocol packets specifying one or more protocol parameters desired by theclient machine10. The second virtual machine transmits, in response to each received protocol packet, a packet counter-specifying one or more protocol parameters. In one embodiment, the second virtual machine sends an acknowledgement message to theclient machine10 indicating that at least one of the protocols specified by theclient machine10 has been enabled. In another embodiment, the second virtual machine responds to each received protocol packet transmitted by theclient machine10 with a response protocol packet, at least one of the response protocol packets modifying at least one of the associated protocol parameters. The second virtual machine generates a data structure representing the connection and associated with an initial protocol stack. The second virtual machine generates a client space in the identified first virtual machine. The second virtual machine generates a second protocol stack associated with the generated client space and transfers the established connection between the second virtual machine and theclient machine10 from the initial protocol stack to the second protocol stack by associating the data structure with the second protocol stack.
Referring now toFIG. 25, a block diagram depicts one embodiment of aclient machine10 in communication with aremote machine30. When aclient machine10 wishes to access a resource provided by aremote machine30, theclient machine10 may transmit a request to the general communications port previously defined by the communications protocol or to the “well-known” communications port on theremote machine30. In one embodiment, the communication takes place by way of a datagram service. Theremote machine30 accesses the table of server addresses and returns a message containing the address of theremote machine30′ providing access to the requested resource and having the least load. In some embodiments, an address of a virtual machine executing on aremote machine30′ having the least load is provided. For embodiments in which the message identifies the execution machine having the lightest load, the operating system or hypervisor may forward the communication request, and all subsequent traffic, to the appropriate virtual machine.
Subsequent communications are automatically addressed by theclient machine10 also to a “well-known” or predefined general communications port on theremote machine30′. In one embodiment, the type of protocol with which the initial query was made to theremote machine30 determines the protocol of the information returned by theremote machine30 to theclient machine10. Thus, if the request were made using a TCP/IP datagram, theremote machine30 would return the TCP/IP address of theremote machine30′ to theclient machine10 and theclient machine10 would subsequently establish contact with theremote machine30′ using that protocol. In another embodiment, the datagram requesting an application address by aclient machine10 includes a request for a different type of protocol than the one used to send the request to theremote machine30. For example, theclient machine10 may make a request to theremote machine30 using the IPX protocol and request the address of theremote machine30′ as a TCP/IP protocol address.
As described above, in connection withFIG. 8, (steps802-804), aremote machine30 receives a request for access to a resource and chooses a method for providing access to the requested resource. In some embodiments, theremote machine30 returns the network address of aremote machine30′ having the desired resource to theclient machine10. Theclient machine10 then uses the information received from theremote machine30 to request connection to the specifiedremote machine30′. As is described above, such a connection is first established to a “well-known” communications port and is later transferred to a specific communications port under control of a connection manager. The specific communications port is associated with the resource executing on theremote machine30′ which then communicates with theclient machine10 through the specific communications port.
In more detail, and referring toFIG. 25, in some embodiments, aclient process2502 onclient machine10 makes arequest2504 to theremote machine30 to obtain the address of aremote machine30′ which includes the desiredresource2506. Theremote machine30 returns to theclient machine10 amessage2508 containing the address of theremote machine30′ which includes theresource2506. In one embodiment, the protocol used at this point of the connection is a datagram service.
Theclient machine10 uses the returned address to establish acommunication channel2510 with theremote machine30′. The port number used by theclient machine10 corresponds to the “well-known port” in theremote machine30′ which has been defined by the network protocol as the port by which theremote machine30′ establishes communication connections withclient machines10. The well-knownport2512 has arudimentary protocol stack2514 which includes primarily anendpoint data structure2516.
Theendpoint data structure2516 points to the communication protocol stack76 and client connection thereby establishing a unique representation or “handle” for theclient machine10. Theendpoint data structure2516 permits the connection between theremote machine30′ and theclient machine10 to be moved at will between theconnection manager2518 and thevarious resources2506 on themachine30′. In some embodiments, theendpoint data structure2516 permits the connection between theremote machine30′ and theclient machine10 to be moved at will to or from a virtual machine providing management functionality for a virtual machine on theremote machine30′.
Theendpoint data structure2516, in one embodiment, not only contains the handle to theclient machine10 but may also contain other information relating to the client connection. In the embodiment shown, themachine30′ monitors activity on a specific communications system (e.g. LAN or WAN) and has initialized this minimum protocol stack76 with only the necessary protocol modules needed to support a “TTY” communication mode. The “TTY” communication mode is a simple ASCII stream with no protocol assumptions above the transport layer. That is, there are no protocol layers for compression, encryption, reliability, framing, or presentation of transmitted data. Thus aclient machine10 seeking aresource2506 running on theclient machine10′ establishes a connection to the well-knowncommunications port2512 with the minimum protocol set needed to support a TTY communication mode.
Aconnection manager2518 executing on themachine30′ is “listening” to the well-knowncommunications port2512 for aconnection request2510. When aconnection request2510 is received from theclient machine10, theconnection manager2518 is notified2520. Theconnection manager2518 knows which protocol is being used based on thenotification2520.
With this information theconnection manager2518 creates a new minimum protocol communications stack2522, starts a computing environment2524 (referred to throughout this discussion as an execution environment2524) and binds the newminimum protocol stack2522 to theexecution environment2524. In some embodiments, theconnection manager2518 creates a newminimum protocol stack2522 in a virtual machine on theremote machine30′. In other embodiments, theconnection manager2518 creates a newminimum protocol stack2522 in a virtual machine providing administrative or management functionality for a virtual machine executing on theremote machine30′. In still other embodiments, theconnection manager2518 creates a plurality ofminimum protocol stacks2522, each of which may be located on theremote machine30′, in a computing environment provided by a virtual machine executing on theremote machine30′, or on a virtual machine providing administrative or management functionality for a virtual machine executing on theremote machine30′.
In one embodiment, theremote machine30′ includes a number ofexecution environments2524 which have been previously been started, but which have not been associated with a communications port. In this embodiment, the pre-connection starting of the execution environments permits a faster response time than if eachexecution environment2524 is started when the connection request is received from theclient machine10. When theexecution environment2524 is started, theresource2506 requested by theclient machine10 is also started. In another embodiment, if theclient machine10 does not specify a resource, either a default application is started or theexecution environment2524 with no resource started. In some embodiments, theexecution environment2524 is the requested resource.
Theconnection manager2518 then moves the client connection, including the unique client identifier or handle, from the well-knownport2512 to the newminimum protocol stack2522. In some embodiments, theconnection manager2518 moves the client connection to the newminimum protocol stack2522 in a virtual machine on theremote machine30′. In other embodiments, theconnection manager2518 moves the client connection to the newminimum protocol stack2522 in a virtual machine providing administrative or management functionality for a virtual machine executing on theremote machine30′. In still other embodiments, theconnection manager2518 moves portions of the client connection to a plurality ofminimum protocol stacks2522, each of which may be located on theremote machine30′, in a computing environment provided by a virtual machine executing on theremote machine30′, or on a virtual machine providing administrative or management functionality for a virtual machine executing on theremote machine30′.
Theconnection manager2518, using theminimum protocol stack2522 sends a TTY data stream that indicates service is available. Thus, this method for detecting a client connection is independent of the port to which the connection is first established. If theclient machine10 does not respond within a prescribed time period (e.g. 5 seconds) to the service available message, a resend of the “service available” message is performed by themachine30′.
If theclient machine10 receives the message, theclient machine10 sends a TTY string indicating that the “service available” message was detected. Theclient machine10 waits for themachine30′ to respond and if the response is not within a prescribed time interval (e.g. 5 seconds) theclient machine10 resends the message. Theconnection manager2518 then queries90 theclient machine10 asking for the client's default communication parameters. This query90 takes the form of a message which is passed back to theclient machine10 and which indicates that theclient machine10 should respond with details regarding what protocols theclient machine10 would like to use in the connection.
In response, theclient machine10 sends a set ofprotocol packets2526; each packet of which is used to specify a required or optional protocol module that is being requested from theremote machine30′. In one embodiment, the number of packets in the set is variable with one packet being sent for each protocol requested. In another embodiment, the number of packets that is being sent is included in the header of the first packet. In a third embodiment, the remaining number of packets being sent is included in the header of each packet and is decremented with each succeeding packet sent. Thus, theclient machine10 may respond to thequery2528 by indicating that, for example, encryption and data compression will be used. In such a case, two protocol packets will be sent from themachine client10 to theremote machine30′ and, in one embodiment, the header of the first packet will indicate the number of packets as two.
Once the responses to the query90 have been received, theconnection manager2518 builds a protocol stack usingprotocol drivers2530,2530′,2530″ which correspond to the protocols requested by theclient machine10. In one embodiment, theconnections manager2518 places each of the requiredprotocol drivers2530,2530′,2530″, corresponding to the requested client protocols (e.g. an encryption driver if encryption is desired by the client) into the protocol stack “container”2532 and links them together. In some embodiments the connections manager80places protocol drivers2530,2530′,2530″ into a plurality of protocol stack “containers”2532 residing in different locations and links the plurality of protocol stack “containers”2532. This dynamic process allows aclient machine10 to specify the contents of a protocol stack dynamically without requiring that themachine30′ have a prior protocol stack description for aparticular client machine10. Using this method,multiple client machines10 may be served by asingle machine30, even if theseparate client machines10 have vastly differing requirements for the associated communications channel. In the embodiment shown, eachclient machine10,10′,10″ is associated with a respectivecommunications protocol stack2522,2522′ and2522″. Such dynamically extensible protocol stacks are described in more detail below.
In the embodiment just discussed, the “container”2532 is a user level or kernel level device driver, such as an NT device driver. This container driver provides ancillary support for the inner protocol modules or “drivers” (generally2530) which correspond to the protocol requirements of theclient machine10. This ancillary support is in the form of helper routines that, for example, aid one protocol driver to transfer data to the next driver. Alternatively, in another embodiment each protocol driver is a complete user-level or kernel-level driver in itself.
Referring now toFIG. 26, the viewing user uses a so-called “browser” program to display anHTML page2602 having aresource window2604 on thescreen2606 of the user'sclient machine10. Once the viewing user has indicated that execution of theresource2506 should commence, thebrowser application2706 instantiates aparameter handler2708 and passes the instantiation parameters associated with theresource window2604 by the generic embeddedwindow tag2704. Theparameter handler2708 instance spawns anetwork executive2710 and passes to it the parameters of theresource window2604. Thenetwork executive2710 determines whichresource2506 is to be invoked, and on whatmachine30′ thatresource2506 resides. Generally this information is passed to it by theparameter handler2708 instance which gets it from thebrowser application2706 in the form of the generic embeddedwindow tag2704, but thenetwork executive2710 may need to query anotherremote machine30, in order to determine which servers, if any, host the desiredresource2506. Thenetwork executive2710 then begins execution of the resource and displays the output of theresource2506 in theresource window2604 as described in detail above.
Thenetwork executive2710 continues to directly display resource output in theresource output window2604′ until the viewing user indicates that execution of theresource2506 should stop, e.g. by closing theresource window2604, or until the viewing user clicks on a tag indicating that a different HTML page should be displayed. When this occurs, execution of theresource2506 can be terminated. It is preferred, however, is to “cache” the connection. In effect, thefirst parameter handler2708 instance is not immediately terminated. However, theresource2506 continues executing with a reduced priority level, i.e. in “background” mode, because thefirst parameter handler2708 no longer has “focus”.
In general, it is desirable to accomplish connection caching by providing theparameter handler2708 source code with a globally accessible data structure for registering instances. For example, theparameter handler2708 may be provided with a globally accessible linked list data structure, data array, data table, or other data structure. Because the data structure is globally available, each instance of theparameter handler2708 is able to read and write the data structure. This allows each instance of theparameter handler2708 to “register” with every other instance by writing to the data structure to signal its existence.
For embodiments in which no other connection information is stored, a predetermined limit on the number of connections that may be cached at any one time can be set. In these embodiments if registration of an instance would result in an excess number of cached connections, one of the “cached” connections is removed, i.e. theparameter handler2708 instantiation associated with that connection is notified that it should terminate. Before termination, theparameter handler2708 notifies its associatednetwork executive2710 that it should terminate. In turn, thenetwork executive2710 closes its session with the server hosting theresource2506 and then terminates.
In embodiments in which other information is stored, the additional information may be used to more effectively manage the cached connections. For example, if a user has not actively viewed anHTML page2602 in a predetermined number of minutes, e.g. ten minutes, theparameter handler2708 instantiation is instructed to terminate, the session with the hosting server is terminated, and theparameter handler2708 instance removes its entry in the registry.
Cached connection information may be managed using any known cache management scheme. Connection entries may be discarded on a “first in, first out” basis, i.e. the oldest entry is discarded each time a new entry must be added. Alternatively, cached connection information entries may be discarded on a “least recently used” basis, which discards information relating to connections which have been used the least amount by the user. Other cache management techniques, such as random replacement, may also be used.
If the viewing user returns to aprevious HTML page2602 having a cached connection, thenetwork executive2710 associated with theHTML page2602 is returned to the foreground, i.e., it regains “focus”, and processing of the associated resource resumes at a normal priority level. If necessary, thenetwork executive2710 re-establishes the connection with theresource2506. Although no output data is stored by thenetwork executive2710 for cached connections, as soon as a connection is re-established for aresource window2604 the connection to theresource2506 is re-established and theresource2506 again writes directly to theresource window2604.
Referring toFIG. 27, anHTML file2602 located on amachine30′ and constructed in accordance with an embodiment of the invention includes a generic embeddedwindow tag2704. The generic embeddedwindow tag2704 is any data construct which indicates to a browser60 displaying theHTML file2602 that a generic embeddedwindow2604 should be displayed at a particular location in theHTML page2602 described by theHTML file2602. The generic embeddedwindow tag2704 may include additional information, such as height of the window, width of the window, border style of the window, background color or pattern in the window, which resources may be displayed in the window, how often the output display should be updated, or any other additional information that is useful to enhance display of the resource output.
Some examples of generic embedded window tags that can be embedded in an HTML file follow.
| |
| ActiveX tag |
| <object classid=“clsid:238f6f83-b8b4-11cf-8771-00a024541ee3” |
| data=“/ica/direct.ica” CODEBASE=“/cab/wfica.cab” |
| width=436 height=295> |
| <param name=“Start” value=“Auto”> |
| <param name=“Border” value=“On”> |
| </object> |
| Netscape Plugin tag |
| <embed src=“http://www.citrix.com/ica/direct.ica” |
| pluginspage=“http://www.citrix.com/plugin.html” |
| height=295 width=436 Start=Auto Border=On> |
| <embed> |
| JAVA tag |
| <applet code=JICA.class width=436 height=295> |
| <param name=Address value=“128.4.1.2602”> |
| <param name=InitialProgram value=Microsoft Word 7.0> |
| <param name=Start value=Auto> |
| <param name=Border value=On> |
| </applet> |
| |
In each case above, the tag indicates that a window having a height of 295 pixels and a width of 436 pixels should be drawn to receive resource output. Each tag also specifies that the resource should automatically start execution and that the window in which the resource output is displayed should be drawn with a border. The ActiveX and Netscape Plugin tags have the remote resource parameters specified in the file “direct.ica” located in the directory “/ica.” The JAVA tag specifies the remote resource parameters directly. In the example above, the address of themachine30 hosting the resource is specified as well as the name of the resource to be executed.
Thebrowser application2706 accesses theHTML file2602 by issuing a request to a specific Uniform Resource Locator (URL) address. Themachine30′ hosting theHTML file2602 transmits theHTML file2602 data to thebrowser application2706, which displays text and translates any tags that are included in theHTML file2602. Thebrowser application2706 displays theHTML file2602 data as anHTML page2602. If a generic embeddedwindow tag2704 is present in theHTML file2602, such as one of the tags described above, the browser60 draws ablank window2604 in the displayedHTML page2602.
Execution of the desiredresource2506 may commence immediately upon display of theHTML page2602 or execution may await some signal, e.g. a specified user input which indicates execution of theresource2506 should begin. Once execution of theresource2506 is commenced, thebrowser application2706 instantiates aparameter handler2708 associated with theresource window2604. Theparameter handler2708 instance may be spawned as a child process of thebrowser application2706, as a peer process of thebrowser application2706, a statically-linked thread of execution, a dynamically-link thread of execution, or as a Dynamically Linked Library (“DLL”) associated with thebrowser application2706.
Thebrowser application2706 passes any specific parameters associated with theresource window2604 that were provided by the generic embedded window66 tag to theparameter handler2708 instance. Additionally, thebrowser application2706 may pass the handle for theresource window2604 to theparameter handler2708 instance or theparameter handler2708 instance may query thebrowser application2706 to retrieve the handle for theresource window2604. Theparameter handler2708 instance also spawns anetwork executive2710. Thenetwork executive2710 may be spawned as a child process of theparameter handler2708 instance, a statically-linked thread of execution, a dynamically-link thread of execution, or as a peer process of theparameter handler2708 instance.
Theparameter handler2708 instance forwards any specifiedresource window2604 parameters to thenetwork executive2710. Parameters which are not specified by theparameter handler2708 instance or the embeddedgeneric window tag2704 may be set to default values. Thenetwork executive2710 may have certain parameter defaults hard-coded, or thenetwork executive2710 may access a file which contains parameter defaults.
Thenetwork executive2710 creates its ownresource output window2604′. Thenetwork executive2710 creates itsresource output window2604′ as a child of the displayedresource window2604 and displays itsresource output window2604′ directly over theparent window2604 drawn by thebrowser application2706. Since theresource output window2604′ drawn by thenetwork executive2710 is a child of theresource window2604 drawn by thebrowser application2706, theresource output window2604′ inherits various properties of its parent including position information. Accordingly, theresource output window2604′ will follow theresource window2604 as the viewing user scrolls the screen of thebrowser application2706 or performs other actions which vary the position of theresource window2604.
Thenetwork executive2710 also establishes a communications channel with themachine30′ and invokes execution of the desiredresource2506 by themachine30′ using the connection methodology described above. Thenetwork executive2710, which acts as theclient machine10 in the above description, passes any parameters it received from theparameter handler2708 instantiation to themachine30′, along with any necessary default values. If a parameter is not passed to themachine30′, themachine30′ may request the parameter if it is a necessary parameter which has no default value, e.g. “user id,” or it may provide a default value for the parameter, e.g. execution priority. Themachine30′ begins execution of the desiredresource2506 and directs the output to thenetwork executive2710. Thenetwork executive2710 receives data from theresource2506 and displays the output data in itsresource output window2604′. Since theresource output window2604′ is drawn on top of theresource window2604 drawn by thebrowser application2706, the resource output data is displayed in theHTML page2602. As noted above, theresource output window2604′ drawn by thenetwork executive2710 is a child of theresource window2604 drawn by thebrowser application2706. This allows theresource output window2604′ to scroll as theHTML page2602 is scrolled
Theresource output window2604′ also receives input from the viewing user. Raw input data, e.g. a mouse click, is received into theresource output window2604′ by thenetwork executive2710. Thenetwork executive2710 forwards the raw input data to theresource2506 executing on themachine30″ In this manner, the viewing user is able to interact with theresource2506 via theHTML page2602.
Referring now toFIG. 28, and in brief overview, an embodiment of an interactive hypermedium system of the invention includes aclient machine10, a networkremote machine30 and an executionremote machine30′ interconnected by acommunications link150, herein referred to without any loss of generality as a network or web. The networkremote machine30 may be provided by aremote machine30. Theexecution machine30′ may be provided by a physical machine or a virtual machine.
A user on aclient machine10 wishing to access theresource2802 which is located on theexecution machine30′ on theweb150 does so through agraphical user interface2804, which is herein referred to without any loss of generality as a hypermedium, located on theclient machine10. The graphical interface is displayed on agraphical display device124. Data is entered by amouse16 and akeyboard17 located on theclient machine10. The graphical display orpage2806 which the user first views on thehypermedium2804 is referred to herein without any loss of generality as the home page or web page of theresource2802. Apage2806 or home page of thehypermedium2804 includes agraphic link2808 ortextual link2810 herein referred to without any loss of generality as a hyperlink. The web page is displayed by aprocess2602 referred to herein without any loss of generality as anetwork browser2602 executing on theclient machine10.
Thenetwork browser2602 obtains the first page orweb page2806 from a networkremote machine30 and displays theweb page2806 on thehypermedium2804 for the user to view on thegraphical display device124. When the user selects aresource2802 to access (by selecting a graphical2808 or textual2810 hyperlink using themouse16 or keyboard17) thenetwork browser2602 obtains anetwork configuration file2812 corresponding to the selectedresource2802 from apredetermined network server2606 and starts aclient agent2814 which will communicate with the selectedresource2802. This will be discussed in more detail below.
Theclient agent2814 reads theconfiguration file2812 and establishes a communications link to a server agent2816 on theexecution server24 specified by theconfiguration file2812. In one embodiment, theconfiguration file2812 includes the name of the resource and the node location of theresource2802 corresponding to thehyperlink2808,2810. The configuration file may also contain optional information such as authentication or authorized user information. Server agent2816 performs the operations necessary (such as authentication) to permit theclient agent2814 access to theresource2802, and once access is permitted, allows access to theresource2802 requested by the user. The server agent2816 may execute in a hypervisor, a virtual machine, or on an operating system. In some embodiments, the functionality provided by the server agent2816 is split between a hypervisor and a virtual machine or between two virtual machines. In still other embodiments, the functionality provided by the server agent is split between a hypervisor and a guest operating system executing in a virtual machine. In some embodiments, a connection to a computing environment including theresource2802 is established, as described in further detail below.
Once theresource2802 is available on theexecution server30′, theclient machine10 may access theresource2802 through the server agent2816 directly with theclient agent2814 without intervention by thenetwork browser2602. Theclient agent2814 is then responsible for receiving data from the user through themouse16 andkeyboard17 and transmitting it to theresource2802 on theexecution machine30′. Similarly, theclient agent2814 is responsible for receiving data from theresource2802 on theexecution machine30′ and displaying the data in adisplay window2818 on thegraphical display device124 on theclient machine10. It should be noted that thedisplay window2818 may be located within the boundaries or outside the boundaries of thehypermedium2804. When theresource2802 is completed the server agent2816 instructs theclient agent2814 to disconnect thecommunication link150 between theclient agent2814 and the server agent2816. In some embodiments, the server agent2816 may reside outside of theexecution machine30′. In other embodiments, theclient agent2814 may reside outside of theclient machine10.
FIG. 29 depicts the operation of the system in more detail. Initially, theclient agent2814 is registered (step2901) with thenetwork browser2602 of theclient machine10 and an entry is made in the network browser's registration file2820 (FIG. 28). This entry permits thenetwork browser2602 to start theclient agent2814 whenever a given file type (including types such as a MIME type) is requested by thehyperlink2808,2810 of thehypermedium2804. In this case theclient agent2814 is designed to permit a user on theclient machine10 to execute and interact with aremote resource2802 on anexecution machine30′. Theclient agent2814 would be registered with thenetwork browser2602 such that whenever ahyperlink2808,2810 requested the given file type (for example .RMT for remote execution) from thenetwork browser2602, thenetwork browser2602 would start theclient agent2814 which would permit remote execution and interaction with aresource2802 resident on anexecution machine30′. The invoking of theclient agent2814 is discussed in more detail below.
When a user wishes to access a resource from a hypermedium environment, for example a database program, thehypermedium2804 is displayed in a manner that is well known to those skilled in the art. When the user selects ahyperlink2808,2810 on thepage2806 of the hypermedium (step2902) by using themouse16 orkeyboard17 on theclient machine10, a request is made to thenetwork browser2602 for the corresponding data file (step2903). In this example, the file type (.RMT) is requested.
Thenetwork browser2602 obtains the correspondingconfiguration file2812 from thenetwork server2606 which is specified in the file request made by thehyperlink2808,2810 to the network browser2602 (step2904). Thenetwork browser2602 then compares the obtainedconfiguration file2812 with theregistration file2820 of client agent names which it maintains (step2905). In one embodiment, thenetwork browser2602 compares a file type of the obtainedconfiguration file2812 with theregistration file2820. In another embodiment, thenetwork browser2602 compares an entry in the obtainedconfiguration file2802 with theregistration file2820. If theclient agent2814 specified by theconfiguration file2812 is found in theregistration file2820, theclient agent2814 is started (step2906).
The invokedclient agent2814 reads the configuration file2812 (step2907), and based upon the information in theconfiguration file2812, begins to establish a communication link with the server agent2816 on the execution server24 (step2908), in this case the sales database application execution server (generally30′).
Considering the process of beginning the communications link of step2908 (FIG. 29) in more detail, communication begins with the server agent2816 monitoring communication activity on thenetwork150. At this point, no protocol assumptions are made by the server agent2816 beyond those necessary for the transport layer. Similarly, theclient agent2814 also makes no assumption of the communications protocol beyond that required by the transport layer. Once the server agent2816 determines that aclient agent2814 is attempting to communicate with it, the server agent2816 transmits a message to theclient agent2814 indicating that service is available.
Once theclient agent2814 determines that service is available on the executionremote machine30′, theclient agent2814 transmits a message to the server agent2816 indicating that it is ready to proceed with the communication protocol. Once the server agent2816 has responded that it is ready to continue the communication protocol, theclient agent2814 enables the protocol necessary for it to run theapplication36. In response to the message from theclient agent2814, the server agent2816 also enables the required protocol. The server agent2816 then transmits a message using the required protocol indicating that the client agent's request has been received and accepted.
In response theclient agent2814 and the server agent2816 exchange a set of messages which negotiate the parameters under which communications will occur. Once negotiations are complete, theclient agent2814 and the server agent2816 are able to communicate as necessary for theresource2802 to be run by the user.
Once the communications protocol has been established and the server agent2816 has authenticated the client agent2814 (step2909) (for example determining that the user has permission to read and write to the database) access to the resource2802 (step2910) is provided by theapplication execution server24. At thispoint resource2802 on theexecution server30′ is communicating via the server agent2816 with theclient agent2814 on theclient machine10. Theclient agent2814 is now responsible for transmitting data input by the user using themouse16 andkeyboard17 to theresource2802 on theexecution machine30′. Further, theclient agent2814 is responsible for receiving data for display from theresource2802 and displaying that data in theapplication window2818 on thegraphical display device124 of theclient machine10.
It should be noted that the underlying presentation protocol which passes data to a transport layer such as TCP/IP must be capable of transferring graphical information. Examples of such protocols which may be used for interactive hypermedia communication include public domain X11 protocol, the proprietary Independent Computing Architecture (ICA) protocol of Citrix Systems Inc., or the proprietary Remote Desktop Protocol (RDP) of Microsoft Corporation.
Thus the above described system permits a user on aclient machine10, which may have very limited resources, to start and interact with aresource2802 located on anexecution machine30′. Theresource2802 then runs on theexecution machine30′ and the data is input and the results displayed on theclient machine10. In some embodiments, the accessedresource2802 executes in a virtual machine provided by theremote machine30′.
Referring now toFIG. 30, a flow diagram depicts an embodiment of method of making a hypermedium page interactive, the hypermedium page displayed by a network browser. As described above, a hyperlink on a hypermedium page displayed on aclient machine10 is selected, the hyperlink identifying a desired computing resource (step3002). A hyperlink configuration file is retrieved, the hyperlink configuration file corresponding to the hyperlink and identifying aremote machine30′ (step3004). A client agent is started on a client machine10 (step3006). The client agent creates a communication link to a virtual machine executing on theremote machine30′ identified by the hyperlink configuration file (step3008). The client agent receives data from the virtual machine and displays on theclient machine10 the received data without intervention by the network browser (step3010).
A hyperlink on a hypermedium page displayed on aclient machine10 is selected, the hyperlink identifying a desired computing resource (step3002). In one embodiment, the hypermedium page is obtained from aremote machine30 prior to selection of the hyperlink on the hypermedium page. In another embodiment, the hypermedium page is received responsive to a request for an enumeration of available resources.
A hyperlink configuration file is retrieved, the hyperlink configuration file corresponding to the hyperlink and identifying aremote machine30′ (step3004). In one embodiment, aremote machine30, functioning as a brokering machine, identifies theremote machine30′. In another embodiment, theremote machine30′ functions as an execution machine. In still another embodiment, a hypervisor executes on theremote machine30′. In yet another embodiment, a virtual machine is launched into a hypervisor executing on theremote machine30. In some embodiments, a server agent starts on a virtual machine in theremote machine30′.
A client agent is started on the client machine10 (step3006). In one embodiment, the client agent is started by the network browser upon a successful match of an entry in the hyperlink configuration file with an identifier associated with the client agent in a registration file accessible by the network browser. In another embodiment, the client agent is registered with the network browser.
The client agent creates a communication link to a virtual machine executing on theremote machine30′ identified by the hyperlink configuration file (step3008). In one embodiment, execution of an identified application program begins on the virtual machine in response to the created communication link. In another embodiment, the client agent creates the communication link without intervention by the network browser.
The client agent receives data from the virtual machine and displays on theclient machine10 the received data without intervention by the network browser (step3010). In one embodiment, the data received from the virtual machine is displayed in a display window on theclient machine10. In some embodiments, a presentation layer protocol is employed for communication over the communication link.
Referring back toFIG. 28, in some embodiments of a system for making a hypermedium page interactive, access to a requested computing environment is provided through the interactive hypermedium page. Theclient machine10 executes abrowser application2602. Aremote machine30 functions as anetwork server2606 and transmits a network configuration file to theclient machine10. Aclient agent2814 executing on theclient machine10 establishes a communications link with aremote machine30′, functioning as anexecution machine30′.
As described above, theclient machine10 executes abrowser application2602, which displays a hypermedium page including a hyperlink identifying aresource2802. Aremote machine30 functions as anetwork server30 and transmits, in response to selection of said hyperlink, a network configuration file to theclient machine10, the network configuration file corresponding to said identifiedcomputing resource2802. In some embodiments, a process obtains the hypermedium page from thenetwork server30 and provides the hypermedium page to theclient machine10.
In one embodiment, the network configuration file comprises a resource identifier corresponding to said hyperlink and a virtual machine address corresponding to said hyperlink. In some embodiments, the virtual machine address is a virtual IP address provided by a hyperlink in which the virtual machine executes. In other embodiments, the virtual machine address is an IP address associated with anexecution machine30′ on which the virtual machine executes.
Aclient agent2814 executing on theclient machine10 establishes a communications link with aremote machine30′, functioning as anexecution machine30′. Theclient agent2814 establishes the link responsive to data in the network configuration file. In one embodiment, a hypervisor executes on theexecution machine30′ and a virtual machine providing theresource2802 executes in the hypervisor. In some embodiments, the virtual machine transmits data to theclient agent2814 for display without intervention by thebrowser application2602. In one of these embodiments, the virtual machine provides access to the requestedresource2802 and the data is output from an execution of the requestedresource2802.
In some embodiments, the client agent establishes, responsive to data in the configuration file, a communications link with a management program executing on a remote machine. In one of these embodiments, the management program executes on thenetwork server2606. In another of these embodiments, the management program executes on theexecution machine30′. In still another of these embodiments, the management program executes on a virtual machine in theexecution machine30′. In yet another of these embodiments, the management program executes on a virtual machine having management privileges on theexecution machine30′ or on aremote machine30″. In other embodiments, the management program launches the virtual machine providing the desired computing resource into a hyperlink on theexecution machine30′.
In some embodiments, theclient agent2814 displays data received from said virtual machine in a display window located at theclient machine10. In one of these embodiments, the display window is located within the boundaries of the hypermedium page. In another of these embodiments, the display window is located outside the boundaries of the hypermedium page.
Referring toFIG. 31, in some embodiments of the methods described above, data transmitted by theresource2506 is sent to otherremote machines30 prior to being sent toclient machines10. In this manner, data transmitted by theresource2506 is transmitted to an increasing number ofclient machines10 as the network fans out.
When eachclient machine10 terminates its connection with themachine30′, each client protocol stack (generally2522) and its associated minimal stack (generally3102) is destroyed. Similarly, the minimal protocol stack (generally3104) associated with the firstclient protocol stack2522 is also destroyed. When the last of the minimal3102 and second (and subsequent) client protocol stacks2522 has terminated, the configuration is as it was initially with only a first clientcommunications protocol stack2522 associated with theexecution environment2524. Note that until all the second and subsequent client protocol stacks2522 are terminated, the firstclient protocol stack2522 may not be destroyed, even if theclient machine10 is no longer present.
As shown inFIG. 25 above, eachexecution environment2524 communicates with eachprotocol stack2522 through amultiplexer2534,2534′,2534″. Now referring also toFIG. 31, it is possible for more than onemachine10 to receive data being transmitted to theclient machine10, for example, in order to shadow or monitor the transmission of data from amachine30′ or to broadcast data from a specialized broadcast application, such as a stock quotation application, from which the same data is broadcast or transmitted substantially simultaneously to a number of clients (generally10).
In such a case, theclient machine10 causes thespecialized resource2506 to execute and transmit its data to theclient machine10 as discussed previously. When aclient machine10′ requests access to thebroadcast resource2506, theconnection manager2518 begins to construct theprotocol stack2522′ for thesecond client machine10′ as previously discussed with regard to thefirst client machine10. However, because theresource2506 is a broadcast application, theconnection manager2518 recognizes that it need not start anadditional execution environment2524 and instead takes the steps necessary to send the data from thebroadcast resource2506 to theclient machine10 and anyadditional machine10″.
First, theconnection manager2518 creates a first minimalcommunications protocol stack3104 which it associates with acommunications protocol stack2522 of thefirst client machine10. Theconnection manager2518 next creates a secondminimal protocol stack3102 and associates it with thecommunications protocol stack2522′ of thesecond client machine10′. As eachadditional client machine10″ requests access to thebroadcast resource2506, anotherminimal protocol stack3104′ is created and associated with the firstclient protocol stack2522 and anotherminimal protocol stack3102′ andclient protocol stack2522″ is created for eachnew client machine10″. The firstclient protocol stack2522 and all theminimal protocol stacks3104,3104′ associated with the firstclient protocol stack2522, and each pair of client protocol stacks2522′,2522″ andminimal protocol stacks3102,3102′ associated with eachadditional machine10′,10″ are in communication by way of amultiplexer2534.
In some embodiments, theconnection manager2518 resides outside of a virtual machine executing on aremote machine30′ and createsminimal protocol stacks3102 within the virtual machine executing on theremote machine30′. In other embodiments, theconnection manager2518 resides outside of a virtual machine executing on aremote machine30′ and createsminimal protocol stacks3102 within a second virtual machine providing management and administrative functionality for the virtual machine executing on theremote machine30′. In still other embodiments, theconnection manager2518 resides outside of a virtual machine executing on aremote machine30′ and createsminimal protocol stacks3102 within a hypervisor providing management and administrative functionality for the virtual machine executing on theremote machine30′. In yet other embodiments, theconnection manager2518 resides outside of a virtual machine executing on aremote machine30′ and createsminimal protocol stacks3102 within a host operating system on theremote machine30′ providing management and administrative functionality for the virtual machine executing on theremote machine30′. In some embodiments, theconnection manager2518 resides inside a virtual machine executing on aremote machine30′ and createsminimal protocol stacks3102 within the virtual machine executing on theremote machine30′.
When amultiplexer2534 is directing data to or receiving data from only onemachine10, themultiplexer2534 is acting as a simple pass-through device. However, when there is more than oneclient machine10,10′,10″ receiving data from or transmitting data to asingle resource2506, each multiplexer (generally2534) takes on two additional configurations. In one configuration, themultiplexer2534 is configured to send resource data to or receive data from both the firstclient protocol stack2522 and each of the minimalcommunications protocol stacks3104,3104′ associated with it. In the second configuration themultiplexer2534 is configured to send data received by theminimal protocol stack3102,3102′ to theclient protocol stack2522′,2522″, respectively, associated with it. In this embodiment, themultiplexer2534 may receive input data directly from eachclient protocol stack2522,2522′,2522″.
Theconnection manager2518 connects theminimal protocol stacks3104,3104′ associated with theclient machine10 with theminimal protocol stacks3102,3102′ respectively, of thesecond client machine10′ andsubsequent client machines10″ and instructs themultiplexer2534 to direct output from theresource2506 to thecommunications protocol stack2522 of theclient machine10 and its associatedminimal protocol stacks3104,3104′. Themultiplexer2534 is also instructed by theconnection manager2518 to connect each second and subsequent clientminimal protocol stack3102,3102′ to its associatedclient protocol stack2522,2522′, respectively. Data transmitted to theclient machine10 by way of the firstclient protocol stack2522 is therefore also transmitted to theminimal protocol stacks3104,3104′ associated with theclient machine10 and hence to theclient machine10′ andsubsequent client machines10″ by way of their associatedprotocol stacks2522′,2522″, respectively, and associatedminimal protocol stacks3102,3102′, respectively. In one embodiment, the protocol stack container includes a data structure to keep track of the number and type of protocols associated with a givenresource2506.
Referring toFIG. 32, as discussed above, it is possible that the “clients” of onemachine30′ be otherremote machines30′ and30″ (only two being shown for simplicity). Theremote machines30′ and30″ then transmit the data toclient machines10 or to additionalremote machines30′. In this embodiment the output of the server protocol stack (generally2522) is connected to the protocol stacks107′ of the secondaryremote machines30′ and30″. Then as described previously, the data is transmitted between the protocol stacks and out to theclient machines10. In this manner the data may fan out and be distributed to many more clients than may reasonably be supported by one server. In some embodiments, the output of the server protocol stack may be connected toprotocol stacks3102′ created in virtual machines executing onremote machines30.
In brief overview, in one embodiment of the methods described above, a user of aclient machine10 requests access to one or more resources from aremote machine30, which may provide web server functionality. After authenticating the user's credentials, the web server accesses user-specific and resource-specific parameters from a memory coupled to the web server. The web server subsequently communicates these parameters to one or moreremote machines30 hosting the requested resources, and software processes operating on the resource servers execute and initialize the requested resources using the communicated parameters. In this manner, each instance of the resources is personalized for a particular requesting user. The particular network addresses of the resource servers hosting these personalized application programs are then forwarded to the user'sclient machine10, which establishes a communications link and client-server session therewith.
Commands, events, graphical data, and window attribute information associated with the executing resources are communicated between the user device and the resource servers during the client-server session to ensure that the resource-output data is displayed seamlessly on the desktop of the user device. Seamless display of the resource-output data refers to the presentation of the data on the user desktop in a manner that is consistent with how locally-executing resources are presented and manipulated in the local desktop of the user device. A user may therefore view and interact with the resource-output data generated by the remote resources as if the resources were being executed locally.
In one embodiment, the output of the resources is displayed in one or more resource-output windows positioned within a web page displayed by a web browser of the user's device. The resource may be executing on aremote machine30 or on a virtual machine executing on theremote machine30. In a further embodiment, the attributes of the resource-output windows can be modified so that the resource-output windows are moveable and resizeable within the boundaries of the web page. In another embodiment, the resource-output windows initially appear within the boundaries of the web page and are subsequently moveable so that they are positioned outside the boundaries of the web page and thus give the appearance that the application-output windows correspond to locally-executing applications rather than to remotely-executing applications. In yet another embodiment, the application-output windows initially appear outside the boundaries of the web page and thus also appear to correspond to locally-executing applications. In one embodiment, the application output displayed in the application-output windows and the attributes of the application-output windows themselves are communicated and manipulated by software processes on the user's device and on the resource servers, without involvement of the web server or web browser that initially provided access to the resources.
In more detail and with reference toFIG. 33, a server-basedcomputing architecture3300, capable of providing remote users with web-access to the full functionality of web and legacy applications (e.g., unmodified application programs that are not designed for web-based delivery), includes a client machine10 (e.g., any digital data processing device), aweb server3304, one or moreremote machines30 that are either standalone or clustered within amachine farm38 and which are preferably protected by afirewall3302, and a data communications network150 (e.g., Internet, Intranet, etc.) that provides the necessary connectivity to enable each of these elements to communicate with each other.
In other embodiments, theweb server3304 is aremote machine30. In some of these embodiments, virtual machines may be executing on one or more of theremote machines30, the virtual machines providing computing environments in which a requested resource resides and generates resource-output data.
In operation and also with reference toFIG. 28, a user of theclient machine10 directs abrowser2822 executing on theclient machine10 to submit a request for access to particularweb page content3306 accessible via theweb server3304. In one embodiment, the user enters a universal resource locator (“URL”) address into thebrowser2822. The URL is associated with theweb page content3306 hosted by theweb server3304 and thebrowser2822 responds by transmitting the request for access to the appropriate URL address. Theweb server3304 receives the request for access, which typically includes user credential information (e.g., user ID, password, group/project membership identifier, etc.), and authenticates the user to themachine farm38 or to the individual servers114 that provide at least some of theweb page content3306.
Theweb server3304 authenticates the user by accessing an authentication process that compares the credentials entered by the user with previously-assigned credentials. In one embodiment, the authentication process and database of previously-assigned credentials are stored and maintained on theweb server3304. In other embodiments, the previously-assigned credentials can be stored in themachine farm38, on individual applicationremote machines30, and/or on an administrative server (not shown) that is coupled to theweb server3304 via the Internet or other data communication network.
In the scenario where theweb page content3306 corresponds to an enterprise portal, which provides access to a resource set3308 (e.g., the set of resources that have been personalized for the user by a portal administrator), theweb server3304 accesses one or more resource objects3310 (e.g., COM-compliant Java objects, ActiveX objects, HTML tags, etc.) that call web server-side scripts to authenticate the user and/or to obtain theresource set3308 information associated with the portal and user from themachine farm38. The resource objects3310 also include properties that are associated with the user and/or theparticular resources3312 in theresource set3308 that are provided via the portal. The user properties include, for example, group/project information that identifies theparticular resources3312 and data that the user needs to access in order to allow the user to collaborate with other members of the group/project. The resource properties include, for example, the user's preferences for each of theresources3312 in theresource set3308.
The scripts called by the resource objects3310 establish a network session between theweb server3304 and themachine farm38 via, for example, a central administrative process (not shown), which monitors and controls eachresource machine30 in themachine farm38. The administrative process selects one or more resource servers, which host theresources3312 in theresource set3308 specified by the resource objects3310, based, for example, on a server and/or network performance basis. The desiredresource set3308 can be provided entirely by asingle server30 by selecting/allocating eachresource3312 in the resource set3308 from a plurality ofresources3312,3314 hosted on theserver30. Alternatively, theresource set3308′ can be provided by a plurality ofremote machines30 with eachmachine30 hosting at least one of the resources in theresource set3308′.
The administrative process launches one ormore server agents3316 on the selected/allocatedremote machines30 in response to the scripts called by the resource objects3310.Server agents3316 are software processes that execute, initialize, and interact with each of theresources3312 in theresource set3308 in accordance with the properties specified by the resource objects3310. In one embodiment, there is aserver agent3316 for eachresource3312 in theresource set3308. In other embodiments, there is asingle server agent3316 for theresource set3308, to the extent that all of theresources3312 are hosted on thesame server30. In yet another embodiment, there is asingle server agent3316 for eachserver30. Theserver agents3316 then provide the output of theresources3312 in theresource set3308 as well as any other information relating to the resource set3308 to theweb server3304, which subsequently formats the resource set information into theweb page content3306. Theweb page content3306 can include application icons corresponding to one or more of theresources3312 in theresource set3308 as well as resource-output data from one or more of theresources3312. In one embodiment, the resource-output data provided by theresources3312 corresponds to graphical data that is formatted to fit into a window, which exhibits attributes (e.g., window position on the web page, size, style, z-order, etc.) as initially specified by the properties of the resource objects3310.
In one embodiment and with reference toFIG. 34, thebrowser2822 receives and displays theweb page content3306 within abrowser window3402, which includes many possible graphical user interface (“GUI”) elements (e.g.,menu3406,local window3408, etc.) that form theclient desktop3410 displayed on a display device coupled to theclient machine10. In this embodiment, theweb page content3306 is displayed within aweb page3412 displayed in thebrowser window3402 and includes one ormore resource icons3414 and/or one or more resource-output windows3416, which are associated with theresource set3308. In one embodiment, one or more of the resource objects3310 also form part of theweb page content3306 of theweb page3412 and can therefore set the initial attributes (size, z-order, position) of the resource-output windows3416. The initial orientation, size, position, and z-order of each of the resource-output windows3416 displayed on theweb page3412 can be modified, as described below, so that the resource-output windows3416 exhibit different orientations, sizes, positions, and z-orders relative to theweb page3412 and/or relative to theclient desktop3410.
The resource objects3310 can be any data constructs which indicate to thebrowser2822 displaying theweb page content3306 that a resource-output window3416 should be displayed at a particular location in theweb page3412. The resource objects3310 may include additional information, such as the height, width, border style, background color or pattern in the resource-output window3416, along with indicia of whichresources3312 may be displayed in thewindow3416, how often the output display should be updated, or any other additional information that is useful to enhance the display of the resource output.
In one embodiment, the resource objects3310 are window tags that are embedded in an HTML file, examples of such tags are delineated below.
| |
| ActiveX tag |
| <object classid=“clsid:238f6f83-b8b4-11cf-8771-00a024541ee3” |
| data=“/ica/direct.ica” CODEBASE=“/cab/wfica.cab” |
| width=436 height=295> |
| <param name=“Start” value=“Auto”> |
| <param name=“Border” value=“On”> |
| </object> |
| Netscape Plugin tag |
| <embed src=“http://www.citrix.com/ica/direct.ica” |
| pluginspage=“http://www.citrix.com/plugin.html” |
| height=295 width=436 Start=Auto Border=On> |
| <embed> |
| JAVA tag |
| <applet code=JICA.class width=436 height=295> |
| <param name=Address | value=“128.4.1.2602”> |
| <param name=InitialProgram | value=Microsoft Word 7.0> |
| <param name=Start | value=Auto> |
| <param name=Border | value=On> |
| </applet> |
| |
In each case above, the tag indicates that a resource-output window3416 having a height of 295 pixels and a width of 436 pixels should be drawn to receive output data from theresource3312. Each tag also specifies that theresource3312 should automatically start execution and that the resource-output window3416 in which the resource output is displayed should be drawn with a border. The ActiveX and Netscape Plugin tags have the properties of theremote resource3312 specified in the file “direct.ica” located in the directory “/ica.” The JAVA tag specifies the properties of theremote resource3312 directly. In the example above, the address of theserver30 hosting theresource3312 is specified as well as the name of theresource3312 to be executed.
In one embodiment, theresource3312 executes substantially at the same time as the display of theweb page3412. In another embodiment, theresource3312 executes when instructed to do so by theserver30 as part of providingweb page content3306 to theweb server3304. In yet another embodiment, the resource executes in response to a signal, such as a user-specified input (e.g., selecting aresource icon3414 on theweb page3412. Once execution of theresource3312 is commenced, thebrowser2822 instantiates aclient agent2814 on theclient machine10. Alternatively, theclient agent2814 is instantiated substantially at the same time as the display of theweb page3412 or in response to user-specified inputs.
Theclient agent2814 comprises one or more software processes, which execute on theclient machine10 and which are configured to interact with theserver agent3316,browser2822, resource-output window3416, and/orweb server3304. In one embodiment, theclient agent2814 is spawned as a child process of thebrowser2822. In other embodiments, theclient agent2814 is a peer process of thebrowser2822 or a dynamically linked library associated with thebrowser2822. In one embodiment, aclient agent2814 is instantiated for each resource-output window3416 displayed in theweb page3412. In another embodiment, asingle client agent2814 is instantiated for one or more resource-output windows3416 associated with a particular one of theresources3312 in theresource set3308. In yet another embodiment, asingle client agent2814 is instantiated for eachserver agent3316, which contributed to theweb page content3306. In yet another embodiment, asingle client agent2814 is instantiated for theentire resource set3308.
Thebrowser2822 passes the properties of the resource objects3310 relating toparticular resources3312 in the resource set3308 to theclient agent2814 associated with thosesame resources3308. Additionally, thebrowser2822 may pass a handle for a resource-output window3416 to theclient agent2814 or theclient agent2814 may query thebrowser2822 to retrieve the handle for the resource-output window3416. Resource properties, which are not specified by either thebrowser2822 or the resource objects3310, may be set to default values. Theclient agent2814 may also have certain property defaults hard-coded, or theclient agent2814 may access a file which contains property defaults.
Theclient agent2814 uses the name of theresource3312 and the address of theresource server30, which are both provided as part of the properties of the resource objects3310, to establish a communications link and initiate a client-server session with theserver agent3316 associated with theresource server30 andresource3312. Theclient agent2814 passes some or all of the properties of the resource objects3310 to theserver agent3316 along with any necessary default values. Alternatively, theserver agent3316 may have already received some or all of the properties of the resource objects3310 from theweb server3304 prior to contributing to theweb page content3306, which was subsequently displayed in theweb page3412. If a particular property is not passed to theserver agent3316, theserver agent3316 may request it from theclient agent2814 if it is a necessary property to which it has no default value (e.g., user ID) or theserver agent3316 may provide its own default value for the property (e.g., execution priority).
Theserver agent3316 uses the properties received from theclient agent2814 to authenticate theclient agent2814 and to execute the desiredresource3312 if it has not previously been started. Once theresource3312 is executing and theclient agent2814 has been authenticated, theresource3312 communicates through the server agent130 directly with theclient agent2814, without intervention of thebrowser2822 orweb server3304. Theclient agent2814 receives output data from theresource3312 and displays the output data in the appropriate resource-output window3416 in theweb page3412. Theclient agent2814 also detects input events, such as mouse clicks and keyboard inputs, associated with the resource-output window130 and forwards any such input events to theresource3312 via theserver agent3316. This type of client-server session is repeated for eachresource3312 in the application set126 that is selected by the user and thus enables the user to interact with all of the resources in theresource set3308.
The data exchanged between theclient agent2814 andserver agent3316 during the client-server session includes not only input events and the graphical output data of theresource3312, but also window attribute information (e.g., window position, z-order, size, style, color, etc.). The window attribute information of the resource-output windows3416 is initially specified by the resource objects3310 embedded in theweb page3412. For example, the resource objects3310 can include an ActiveX control, which specifies and controls the window attributes of the resource-output windows3416 during the client-server session. In one embodiment, the resource-output windows3416 exhibit the same dimensions as the corresponding ActiveX controls.
Theclient agent2814 communicates the initial window attributes of the local application-output windows to theserver agent3316 along with information relating to the client desktop3410 (e.g., size, resolution, etc.). Theserver agent3316 responds by conforming the size of its server desktop to that of theclient desktop3410 and by conforming the window attributes of local server windows to those of the resource-output windows3416 on theclient desktop3410. The resource-output windows3416 on theclient desktop3410 and the server windows on the server desktop thus exhibit the same window attributes and display the same graphical output data that is generated by theresource3312. Note that the server desktop can correspond to either an offscreen surface contained within the server's video memory or to an onscreen surface displayed on a display device coupled to theserver30.
The user of theclient machine10 can move, resize, and/or alter the z-order or other initial window attributes of the resource-output windows3416 during the client-server session, by entering an input event that is detected by theclient agent2814 and then communicated to theserver agent3316. Theserver agent3316 conforms its desktop and/or windows to be consistent with the input event and then transmits updated graphical output data and window attribute information, corresponding to the input event, to theclient agent2814 with instructions to update the resource-output windows3416 so that they match the windows on theserver30.
For example, if the user of theclient machine10 resizes one of the resource-output windows3416 from that originally specified by the resource objects3310 (such as by clicking with the mouse and dragging the border of the application-output window3416 to the desired location/size), theclient agent2814 detects the input event generated by the mouse action and communicates it to theserver agent3316, which effects the same resize event in the on or offscreen surfaces of theserver30. Theserver agent3316 then sends repaint and resizes command messages to theclient agent2814 along with updated graphical output data and window attribute information. In response, theclient agent2814 modifies theappropriate resource object3310 affected by the resize event (e.g., the ActiveX control discussed above) so that the corresponding resource-output window3416 is resized and the updated graphical output data is painted within the borders of theoutput window3416.
These embodiments thus enable the window attributes of the resource-output window3416 to be modified so that the resource-output window3416 can be moved, resized, etc., within the boundaries of thebrowser window3402. With reference toFIG. 35 and by way of nonlimiting example, resource-output window B′3502 can be resized using the methodology described above to form resource-output window B″3504, which overlaps (thus exhibiting a different z-order from) resource-output window F3506. Alternatively, the resource-output window3416 can be moved or resized to extend beyond or be entirely outside of thebrowser window3402. By way of nonlimiting example and with reference toFIG. 36, resource-output window J3602 lies within the boundaries of thebrowser window3402, while resource-output window K3604 extends beyond the boundaries of thebrowser window3402 and resource-output window L3606 is entirely outside thebrowser window3402. Note that the resource-output windows can exhibit varying z-orders with respect to other elements in theclient desktop3410. For example, local window3608 exhibits a z-order between that of thebrowser window3402 and resource-output window L3606. In this embodiment, theclient agent2814 instructs the operating system of theclient machine10 to draw the desired resource-output window3416 in response to command messages received from theserver agent3316, without having to first modify the properties of the resource objects3310 embedded in theweb page3412, which initially established the window attributes of the resource-output window3416.
In one embodiment, each input event affecting the resource-output window3416 is transferred to and processed by theserver agent3316, which then instructs theclient agent2814 to effect corresponding changes in the resource-output window3416. In another embodiment, one or more input event types (e.g., click and drag mouse actions directed at moving the resource-output window3416 to another grid location on the web page3412) are processed entirely by theclient agent2814 and not reported to theserver agent3316, where the graphical output data displayed within the resource-output window3416 remains unchanged.
In more detail and with reference toFIG. 37, theclient agent2814 comprises amonitor process3702, acommand process3704, amessage receiving process3706, and amessage transmission process3708. In one embodiment, eachprocess3702,3704,3706,3708 is a separately functioning code segment that operates independently of the other processes. For example, themessage receiving process3706 and thecommand process3704 can be implemented as separate threads, which communicate with each other via a named pipe or shared memory. Use of a common data set allows themessage receiving process3706 and themessage transmission process3708 to be synchronized.
Themessage receiving process3706 receives graphical data, window attribute information, and commands from theserver agent3316 via the communications link that provides the connectivity between theclient agent2814 andserver agent3316 during the client-server session. The communications link preferably includes a firstvirtual channel3710 and a secondvirtual channel3712. Command, event, and window attribute information is passed between theclient agent2814 and theserver agent3316 via the firstvirtual channel3710, while graphical data corresponding to the graphical contents of the resource-output windows3416 is passed via the secondvirtual channel3712. Themessage receiving process3706 informs thecommand process3704 of the commands, window attributes, and graphical data received from theserver agent3316 and thecommand process3704 further processes this data.
In one embodiment, thecommand process3704 processes the commands received from theserver agent3316 by instructing theclient operating system3714 to form and/or modify affected resource-output windows3416 in accordance with the window attributes specified by theserver agent3316. Thecommand process3704 also instructs theclient operating system3714 to display the graphical data provided by theserver agent3316 in the appropriate resource-output windows3416. In one embodiment, thecommand process3704 implements changes to the resource-output windows3416 in theclient desktop3410 by issuing GDI commands. In other embodiments, thecommand process3704 issues commands directly to an associated graphics subsystem or via graphics API commands.
Thecommand process3704 also instructs themonitor process3702 to periodically monitor theclient desktop3410 in order to detect changes affecting the resource-output windows3416. In one embodiment, themonitor process3702 instructs theclient operating system3714 to return information relating to theclient desktop3410 at predetermined polling intervals. In other embodiments, themonitor process3702 monitors the message queue maintained by theclient operating system3714 in order to detect changes affecting the resource-output windows. Themonitor process3702 communicates some or all of the detected desktop changes to thecommand process3704 for further processing.
In one embodiment, thecommand process3704 instructs themessage transmission process3708 to transmit all of the changes detected by themonitor process3702 to theserver agent3316 via the first virtual channel. In another embodiment, thecommand process3704 instructs themessage transmission process3708 to transmit a subset of the detected changes, such as changes which only affect the graphical data and/or window attributes of the resource-output windows3416. Theserver agent3316 receives the detected changes along with any commands from thecommand process3704 and any input events made by the user of theclient machine10 that triggered the detected changes. Theserver agent3316 then modifies its local desktop to accommodate the detected changes and transmits associated commands, window attributes, and graphical data back to the client'smessage receiving process3706. In this manner, desktop elements, such as the resource-output windows3416, that are common in the client and server desktops remain in lock step.
Thecommand process3704 of theclient agent2814 ensures that analogous/common elements in the client and server desktops remain in lock step by maintaining a common window list. The common window list includes the window attribute information for each window in theclient desktop3410 and for each corresponding window in the resource server desktop. In embodiments, in which a plurality of client agents is executing on theclient machine10, thecommand process3704 of asingle client agent2814 has primary responsibility for maintaining the common window list. If thesingle client agent2814 terminates, while other client agents remain in operation, the remaining client agents will elect another primary client agent to maintain the common window list.
FIG. 38 depicts a system in which aclient machine10 is connected to more than oneremote machine30,30′. As shown inFIG. 38,client machine10 has an associateddisplay3802. Thedisplay3802 may be used to display one or more components of a graphical user interface, such as windows and pull-down menus. The collection of graphical user interface components displayed to a user by thedisplay3802 is generally referred to as the “desktop.” As shown inFIG. 38, theclient machine10 displays alocal desktop environment3804 to a user.Client machine10 may provide at least a part of thelocal desktop environment3804 orclient machine10 may simply display various desktop components received from other sources such asremote machines30. As shown inFIG. 38, eachremote machine30,30′ has an associateddisplay3806,3806′ which also displays adesktop environment3808,3808′. It should be noted thatdisplay3806,3806′ need not be a video display monitor. For example,display3806,3806′ may simply be a bank of video RAM to which resources write the output of graphical procedure calls.FIG. 38 depicts an embodiment of a system in which eachmachine30displays3806,3806′ displays one graphicaluser interface window3810,3812′.
Eachremote machine30,30′ also includes at least oneagent3814,3814′. In some embodiments, eachremote machine30,30′ includes oneagent3814,3814′ for eachclient machine10 connected to theremote machine30,30′.Client machine10 may also host anagent3816. In some embodiments, aclient machine10 hosts a separatelocal agent3816 for eachremote machine30 to which theclient machine10 is connected. In other embodiments, theclient machine10 hosts asingle agent3816 that manages connections to multipleremote machines30. Each of theagents3814,3814′,3816 may monitor their associateddesktop environment3808,3808′,3816 for windows which: change position; are opened; are closed; change size; are minimized; are maximized; or are brought to the top of the desktop, i.e., windows which gain focus that do not previously have focus. Eachagent3814,3814′,3816 transmits messages indicative of changes in their associateddesktop3808,3808′,3804 to other agents. For example,local agent3816 may receive messages transmitted fromserver node agents3814,3814′. Thelocal agent3816 commands theclient machine10 to modify thelocal desktop environment3804 in response to the messages received fromserver agents3814,3814′, that is, thelocal agent3816 issues commands to theclient machine10 to conform thelocal desktop environment3804 to thedesktop environment3804 In other embodiments,agents3814,3814′ forremote machine30,30′ receive messages from alocal agent3816 and command themachine30,30′ to modify thedesktop environment3808,3808′ in response to messages received from thelocal agent3816.
In one embodiment, theagents3814,3816 monitor changes to their associateddesktop environment3808,3808′ by periodically issuing one or more of a set of commands provided by the operating system that allow details of the graphical user interface desktop to be determined. For embodiments in which theagents3814,3816 reside on nodes that execute a version of the WINDOWS operating system, theagents3814,3816 may periodically issue the Enum Windows command to the WINDOWS operating system, which returns a list of all windows present on the desktop, together with information related to those windows. Theagents3814,3816 can issue the Enum Windows command every 50 milliseconds, every 100 milliseconds, every 500 milliseconds, or at any period that allows theagent3814,3816 to rapidly determine when changes to its associated desktop environment have occurred without putting a significant computational burden on the node. In this embodiment, theagent3814,3816 maintains a data structure storing information about the desktop windows and compares the values returned by the Enum Windows command to the data structure to determine changes.
Information determined and stored by theagent3814,3814′ can include the title bar associated with each window, the location of each window in thedesktop environment3808,3808′, the size of each window, and the z-order positioning of each window in thedesktop environment3808,3808′. In another embodiment, theagent3814,3814′,3816 monitors an intranode graphics message queue to determine changes to its associated desktop environment.Server agents3814,3814′ monitor an intraserver message queue andlocal agent3816 monitors an intraclient message queue. In this embodiment, changes to thedesktop environment3808,3808′ are affected via messages sent to a graphics subsystem from system applications or the operating system itself. Thus, a resource executing on aremote machine30,30′ would send a message to a graphics engine residing on theserver30,30′ in order to change theserver desktop environment3808,3808′. Other commands which return graphical user interface data are readily apparent to those of ordinary skill in the art. For embodiments in which theagents3814,3816 reside on nodes executing a version of the WINDOWS operating system, theagents3814,3816 monitor the Windows Message Queue for messages affecting the desktop environment associated with the node on which the agent resides. Examples of such messages include: WM_SETFOCUS, which indicates to which window focus will be given (i.e., brought to the “top” of the desktop); WM_KILLFOCUS, which removes focus from an indicated window; and WM_WINDOWPOSCHANGING, which indicates a change in the position of a window. Other messages that can be posted to the Windows Message Queue are readily known to those of ordinary skill in the art.
Referring now toFIG. 39, the steps taken during a server-initiated event are shown. Theagent3814 forremote machine30 senses a change in its associated desktop (step3902). Theagent3814 may do this by intercepting a window event on the server message queue, or theagent3814 may determine a change in the desktop by comparing the results returned from serially issued operating system commands, as described above. Theagent3814 sends a message to aclient agent3816 indicating the change in the server desktop3810 (step3904). For example, if a new window has been given focus, theagent3814 can transmit a message to aclient agent3816 indicating the identity of the new “top” window. In one embodiment, theagent3814 broadcasts its message to allclient agents3816 that exist in the system. Alternatively, theagent3814 may transmit its message only to a predetermined subset ofclient agents3816. For example, when aclient machine10 makes a connection to aremote machine30, theclient agent3816 may register with theagent3814. In this embodiment, theagent3814 would transmit change messages only to those client agents that have registered with theremote machine30.
Theclient agent3816 receives the transmitted message (step3906). In embodiments in which theremote machine30 broadcasts commands, theclient agent3816 must have some mechanism for determining whether a transmitted command affects its associated desktop. For example, theclient agent3816 may maintain a list ofremote machines30 to which it is connected. In these embodiments, theclient agent3816 responds to messages broadcast by anyremote machine30 present in its list. For embodiments in which theagent3814 does not broadcast messages, no such mechanism is necessary.
Theclient agent3816 implements a change to its associateddesktop14 responsively to the received message (step3908). Theclient agent3816 may accomplish this by directly issuing graphics Application Programming Interface commands that cause theclient machine10 to change the display of its associated desktop. Alternatively, theclient agent3816 may issue GDI commands to change its associated desktop. In still other embodiments, theclient agent3816 issues commands directly to the system, whether implemented in hardware or software, responsible for displaying graphics on theclient machine10.
Referring now toFIG. 40, the steps taken when aclient machine10 initiates a desktop change are shown. Theclient agent3816 senses a change in its associated desktop14 (step4002). As noted above, this may be done on an event-driven basis or by polling the operating system operating on theclient machine10. Theclient agent3816 determines to whichremote machine30 the affected window belongs (step4004). To facilitate this process, theclient agent3816 may maintain a list that associates remote windows with a particularremote machine30. Theclient agent3816 then sends a message to the identifiedremote machine30 indicating the change in its desktop14 (step4006). Alternatively, theclient agent3816 may skip step404 entirely and broadcast its change message to allremote machines30. The server agent receives the transmitted message (step4008) and implements the change in its associated desktop (step4010), as described above.
In one particular embodiment, aclient machine10 and aremote machine30 communicate using the ICA protocol and theclient machine10 and theremote machine30 execute a version of the WINDOWS operating system.Client machine10 hosts alocal agent3816 that may be provided as a dynamically linked library module. Theremote machine30 hosts anagent3814 that may be provided as a separate thread.
In this embodiment, thelocal agent3816 and theagent3814 exchange graphical data, i.e., the data actually displayed in each window on the desktop, via a first ICA virtual channel. Information about window positioning, window size, z-access ordering of window and other such information is communicated between theclient machine10 and theremote machine30 via a second ICA virtual channel. Throughout the description, when theclient machine10 and theremote machine30 are actively exchanging information via the second ICA virtual channel, theclient machine10 will be referred to as being in “seamless windowing mode.”
Referring now toFIG. 41, the process for enabling seamless windowing mode between thelocal agent3816 andagent3814 is shown. In this embodiment, all communication between a server agent and a client agent is packet-oriented and takes place over a dedicated ICA virtual channel, making the functioning of theagents3814,3816 independent from the underlying communication protocol. All packets start with packet type (1 byte), followed by packet data length (2 bytes, can be zero) and data (optional).Agents3814,3816 will try to send as much data in a single network packet as possible, but it will always send complete packets. That is, the size of seamless window virtual packets never exceeds the allowable size of an ICA packet. Packet flow control and delivery confirmation is implemented by the transport level of the ICA protocol. Individual packets are executed immediately on reception.
Theclient agent3816 waits for an initial packet from theserver agent3814. After user logon to the server, aserver agent3814 will be invoked (step4104).
Theserver agent3814 sends a TWI_PACKET_START packet to theclient agent3816, which includes some essential information about theremote machine30 desktop environment (desktop resolution, desktop size, version number of ICA protocol supported by the server, etc.) (step4106). This packet is sent by theserver agent3814 on initial connection or on reconnect, and is used to: (1) detect seamless windowing capabilities of theclient machine10; and (2) requestsbasic machine10 information.
The client agent receives the TWI_PACKET_START packet (step4107) and responds with a TWI_PACKET_C2H_START_ACK packet, confirming TWI_PACKET_START and supplyingmachine10 version/capabilities information (step4108). This packet is sent by theclient agent3816 to confirm reception of TWI_PACKET_START packet and to send the requestedbasic machine10 information to theserver agent3814.
If there is no response from the client agent3816 (step4109), theserver agent3814 assumes that theclient machine10 is unable to enter seamless windowing mode, and the seamless windowing virtual channel is not used by theremote machine30 to communicate window information. In this case, theremote machine30 continues to communicate graphical data to theclient machine10 via another virtual channel, and theclient machine10 desktop displays the server desktop without incorporating windows from other nodes.
Theclient agent3816 uses the information sent by theserver agent3814 instep4106 to determine if a seamless windowing session can be established between theserver agent3814 and theclient agent3816. In one embodiment, theclient agent3816 compares information relating to the version of the virtual channel protocol supported by theserver agent3814 to makes the determination If theclient agent3816 determines that it is possible to enable seamless windowing mode (step4110), theclient agent3816 sends a TWI_PACKET_C2H_OPEN packet to the server agent3814 (step4111). This packet requests that theserver agent3814 enable seamless windowing mode.
On reception of a TWI_PACKET_C2H_OPEN packet (step4112) the server agent3816 (I) resets its internal data structures, (ii) sends a TWI_PACKET_SYSINFO packet to theclient agent3816 to communicate some general information regarding the window settings on theremote machine30 to theclient agent3816, (iii) sends a TWI_PACKET_OPEN packet to the client agent3816 (step4114) indicating the establishment of seamless windowing mode, and (iv) enables its main polling loop (step4116) that will poll the operating system on the server node for desktop changes. If theclient agent3816 and theserver agent3814 do not support the same version of the seamless window protocol, theserver agent3814 ignores the TWI_PACKET_C2H_OPEN packt.
On reception of TWI_PACKET_OPEN packet (step4120), theclient agent3816 resets its internal data structures (step4122) and seamless windowing mode between theclient agent3816 and theserver agent3814 is established.
During a seamless windowing mode session, theserver agent3814 will send window information such as window position, size, styles, window text, etc. for all top-level windows on the server node. Also, foreground window information is sent, i.e., which window on the server node desktop is the foreground window. In accordance with this information, theclient agent3816 creates windows with the same size/position as the server node windows on the machine desktop. In some embodiments, window elements are transmitted as bitmaps from theserver node20. Examples of packets sent by theserver agent3814 include: TWI_PACKET_CLOSE, which is sent to switch theclient agent3816 out of seamless windowing mode and back to regular, or full screen, mode; that is, theclient machine10 is switched back to displaying the server node desktop environment without incorporating windows from other desktop environments; TWI_PACKET_CREATEW, which is sent to create new windows on theclient machine10; TWI_PACKET_DELETEW, which is sent to destroy a window on theclient machine10; TWI_PACKET_CHANGEW, which is sent to change a window displayed by thelocal node10; TWI_PACKET_SYSINFO, which is sent to reportremote machine30 system settings—normally it is sent only once, but the packet can be sent multiple times; TWI_PACKET_FOREGROUNDW, which is sent during normal seamless windowing mode operation to change the foreground window; TWI_PACKET_SETTOPW, which is sent during normal seamless windowing mode operation to change the top window, that is, to bring a new window to top; TWI_PACKET_SETFOCUS, which is sent during normal seamless windowing mode operation to change the focus window; TWI_PACKET_FOCUSACK, which is sent in response to TWI_PACKET_C2H_SETFOCUS (see below), and reports the result of a SetFocus attempt; and TWI_PACKET_SPA_STATUS, which is sent in response to TWI_PACKET_C2H_START_PUBLICAPP (see below), and is used to report the result of the requested operation.
Examples of packets that can be sent by theclient agent3816 to theserver agent3814 include: TWI_PACKET_C2H_PAUSE, which is sent to suspend theserver agent3814, that is, theserver agent3814 will stop sending window information, clear its internal data structure and send a TWI_PACKET_CLOSE packet (see above); TWI_PACKET_C2H_RESUME, which is sent to resume theserver agent3814—theserver agent3814 will clear its internal data structure, and send a TWI_PACKET_OPEN packet (see above); TWI_PACKET_C2H_SETPOS, which is sent to report window size/position change on the machine; TWI_PACKET_C2H_SETFOCUS, which is sent to report a change in the focus window on the machine; TWI_PACKET_C2H_RESTORE, which is sent to request restoration of a minimized window; TWI_PACKET_C2H_TERMINATE, which is sent to request termination of a program executing on theremote machine30; TWI_PACKET_C2H_STARTAPP, which is sent to start a new resource on theremote machine30; TWI_PACKET_C2H_LOGOUT, which is sent to end the current session; TWI_PACKET_C2H_START_PUBLICAPP, which is sent to start a new published resource on theremote machine30; and TWI_PACKET_C2H_CLIENTINFO, which is sent to report client desktop settings to theserver agent3814—this packet is generally sent on startup, but can also be used during seamless windowing session.
Theclient agent3816 will try to perform some operations (such as window move and resize) locally, sending update information back to theremote machine30 afterwards. Proper window behavior is emulated by intercepting the WM_NCHITTEST message for the client-created windows.
Foreground window changes can happen on both theclient machine10 and theremote machine30, so theclient machine10 andremote machine30 will negotiate and balance actual foreground window changes. For example, if theremote machine30 changes its foreground window, that change should be properly represented on theclient machine10 desktop. Theserver agent3814 sends information regarding the new foreground window to theclient agent3816 using the TWI_PACKET_FOREGROUNDW packet. Similarly, if theclient agent3816 detects a foreground window change on theclient machine10 desktop, theclient agent3816 sends information regarding the change to theserver agent3814 and theserver agent3814 implements the change on theremote machine30 desktop.
When focus is taken away from a window representing a server window and is given to alocal machine10 window, theclient machine10 notifies theremote machine30 of the change and theremote machine30 gives focus to an invisible window. For embodiments in which theclient machine10 is connected to twoserver nodes30, and focus is shifted from a window representing a window from the firstremote machine30 and is given to a window representing a window from the secondremote machine30′, theclient machine10 sends a packet informing the currentremote machine30 or30′ that its window no longer has focus. Once theremote machine30 or30′ responds by giving focus to an invisible window, theclient agent3816 instructs the otherremote machine30 that its window now has focus on theclient machine10 desktop.
In some embodiments, it is desirable to add some complexity to the agent's main polling loop to reduce network traffic. In these embodiments, the main polling loop includes a comparison between the current foreground window and the identity of the window last requested to be moved to the foreground. If the current foreground window matches the window identified in the most recent request, the agent does not need to send information acknowledging the change. This technique is useful in bothserver agent3814 andclient agents3816.
Window z-ordering on theclient machine10 is a superset of the server node z-ordering (machine10 will always have more windows than the host). Server node Bordering is reproduced on theclient machine10 by reproducing owner/owned relationship among windows and the TOP_MOST flag in the window style. Owner/owned relationships refer to windows which are children of other windows, such as dialog boxes associated with resource windows. The dialog box is said to be owned by the resource window, and the dialog box will always appear on top of its owner. The TOP_MOST flag indicates that a particular window should appear on “top” of the desktop, for example, the status bar in WINDOWS 95.
When a user disconnects, theserver agent3814 switches itself to suspended mode, and will not send information to theclient agent3816. On a reconnect, theserver agent3814 sends a TWI_PACKET_START packet, reporting HostAgentState as “already running, reconnect.”
Based on the version number of the protocol supported by the server theclient machine10 will decide whether it is possible to enable seamless windowing mode (from theclient machine10 point of view). If it is possible to switch to seamless windowing mode, theclient agent3816 will send a TWI_PACKET_C2H_OPEN packet, asking theserver agent3814 to enable seamless windowing mode.
Each agent responsible for monitoring an associated desktop may be implemented as a stand-alone software routine (such as an executable file on DOS-based systems), a dynamically linked library routine (DLL), or as an integral piece of the operating system. Referring now toFIG. 42, and in brief overview, each agent includes amessage receiving facility4202, acommand facility4204, amonitor facility4206, and amessage transmission facility4208. Agent-agent communication is full-duplex, i.e., agents can transmit and receive messages simultaneously. Thus, each facility can be implemented as a separately functioning code segment that operates independently of the other facilities. For example,message receiving facility4202 andcommand facility4204 can be implemented as separate threads which communicate with each other via a named pipe or shared memory. Use of a common data allows themessage receiving facility4202 and themessage transmitting facility4208 to be synchronized.
Message receiving facility4202 receives messages transmitted from other agents indicating changes in the desktop environments associated with those agents.Message receiving facility4202 may connect directly with the physical layer of the communications protocol the agents use to communicate, or themessage receiving facility4202 may operate at a higher layer of the protocol by cooperating with one or more communications subsystems. For embodiments in which messages are broadcast by agents, themessage receiving facility4202 has some mechanism for determining whether a broadcast message is intended for it. For example, themessage receiving facility4202 may store a list of the windows which its associated desktop displays. Themessage receiving facility4202 would compare the target of any received message to its list of windows to determine whether or not to take action on the received message. The message receiving facility may be implemented as a blocking function. Alternatively, the message receiving facility can be implemented a call-back function invoked by the ICA virtual channel transport.
Once themessage receiving facility4202 has determined that a received message is intended for its desktop, the command facility is invoked to effect the change indicated by the message to the associated desktop environment. Thecommand facility4204 may be passed the received message facility, or themessage receiving facility4202 may process the received message before communicating with thecommand facility4204. Thecommand facility4204 may implement the desktop change indicated by the received message by issuing GDI commands. In other embodiments, thecommand facility4204 may issue commands directly to an associated graphics subsystem or may issue other graphics API commands.
During a seamless windowing session, a number of desktops are associated with asingle machine10—one desktop on theclient machine10 itself and one desktop perremote machine30 to which theclient machine10 is connected. Theclient agent3816, in conjunction with theserver agent3814,3814′, creates a combined window list representing the z-order of all desktops. All participating desktops are “linked” together by theclient agents40 and theserver agents3814,3814′, and any z-order changes on any desktops will be propagated to other desktops.
In one embodiment, eachremote machine30 has knowledge only of its own graphical desktop representation and theremote machine30 desktops are individually represented within theclient machine10. Theclient machine10 display is updated by combining allremote machine30 andmachine10 desktop images into a single display image based on the window information that has been obtained from eachserver node3030′ by theclient agent3816. The resulting image is displayed at theclient machine10.
The combining process involves building a common window list based on the windows information exchanged by all agents. Using the combined window list, the graphical desktop data is clipped and merged for representation by theclient machine10. The node takes care of “clipping” displayed windows resulting from the commands issued by thecommand facility4204. Such “clipping” functions are well-known to those of ordinary skill in the art. In some embodiments, however, thecommand facility4204 maintains a shadow bitmap of clipped windows. That is, thecommand facility4204 maintains a bit image of windows that are obscured by other windows. This allows the agent to change its associated desktop without requiring it to reload the window image of an obscured window from the appropriate source. In other embodiments, the node determines whether graphical data is obscured at the time it is received. If it is, the node ignores the received graphical data. If it is not, the node displays the data. The node makes a determination as to whether the graphical data is obscured by applying clipping functions.
Monitoring facility4206 monitors the desktop associated with the agent.Monitoring facility4206 may monitor the desktop by periodically issuing commands provided by the operating system executing on the node which return information about the node's desktop. Alternatively, the monitoring facility506 may watch for messages posted to an intranode message queue. As noted above, in one particular embodiment themonitoring facility4206 monitors the Windows Message Queue. Once a desktop change occurred, themessage transmission facility4208 transmits a message indicating the change that has occurred. In some embodiments, themessage transmission facility4208 broadcasts notification of the change.
In one embodiment,message transmission facility4208 can be implemented in the form of non-blocking function that can be called from any window procedure. If the function can not send a data packet immediately (for example, the communication subsystem has no buffer space), a timer will be set and retry attempts will be done until the send succeeds.
Referring now toFIG. 43, an embodiment of a system for enabling seamless windowing mode between aclient machine10 and remote computing environments is shown. In brief overview, the system includes a firstvirtual channel4302, a first remote desktop environment4304, anative operating system4306, aremote window4308, a secondvirtual channel4310, a thirdvirtual channel4312, a second remote desktop environment4314, avirtualized operating system4316, aremote window4318, a fourthvirtual channel4320, alocal agent4330, and alocal desktop environment4340.
In some embodiments the methods and systems described above in connection withFIGS. 24-37 may be implemented in systems including virtual machines. In some embodiments, thelocal agent4330 resides on aclient machine10. In one of these embodiments, theclient machine10 establishes a connection to a physical machine providing access to a resource requested by theclient machine10. In this embodiment, thelocal agent4330 on theclient machine10 may receive window attribute data and graphical data associated with aremote window4308 from an agent on aremote machine30 as described above.
In other embodiments, theclient machine10 has established a connection to a virtual machine providing access to a resource. In one of these embodiments, an agent for theremote machine30 may reside in the virtual machine. In another of these embodiments, the agent for theremote machine30 may reside in a hypervisor into which the virtual machine is launched. In still another of these embodiments, the agent for theremote machine30 may reside in a second virtual machine providing management functionality for the virtual machine on theremote machine30. In these embodiments, theclient machine10 may receive window attribute data and graphical data associated with aremote window4308 through the implementation of the methods and systems described above in connection withFIGS. 24-37.
Theclient machine10 may access multiple resources from differentremote machines30. In some embodiments, theclient machine10 may access resources on different machines substantially simultaneously over multiple established connections to, for example, both physical machines onremote machines30 and to virtual machines executing in a hypervisor onremote machines30′.
Referring still toFIG. 43, and in greater detail, a block diagram depicts one embodiment of a system for receiving window attribute data and graphical data associated with remote windows from virtualized operating systems and from native operating systems. The firstvirtual channel4302 is coupled to the first remote desktop environment4304, which is provided by thenative operating system4306. The firstvirtual channel4302 conveys graphical data associated with theremote window4308 provided by the first remote desktop environment4304. The secondvirtual channel4310 coupled to the first remote desktop environment4304 conveys window attribute data associated with theremote window4308 provided by the first remote desktop environment4304.
The thirdvirtual channel4312 is coupled to the second remote desktop environment4314 provided by avirtualized operating system4316, the thirdvirtual channel4312 conveying graphical data associated with the secondremote window4318 provided by the third remote desktop environment4314. The fourthvirtual channel4320 coupled to the second remote desktop environment4314 and conveying window attribute data associated with the secondremote window4318 provided by the second remote desktop environment4314. In one embodiment, the window attribute data associated with theremote windows708 and718 and conveyed by the secondvirtual channel4310 and the fourthvirtual channel4320 includes the size and z-order of the remote windows.
Thelocal agent3814, coupled to the first remote desktop4304 and the second remote desktop4314 via the first, second, third and fourth virtual channels directs the formation of a first window in thelocal desktop environment4340 corresponding to theremote window4308 provided by the first remote desktop environment4304 and the formation of a second window in thelocal desktop environment4340 corresponding to the secondremote window4318 provided by the second remote desktop environment4314. The first local window displays the graphical data conveyed by the firstvirtual channel4302 in accordance with the window attribute data conveyed by the secondvirtual channel4310 and the second local window displaying the graphical data conveyed by the thirdvirtual channel4312 in accordance with the window attribute data conveyed by the fourthvirtual channel4320. In one embodiment, thelocal agent4330 forms and maintains a combined windows list representing a modifiable z-order of a corresponding window in thelocal desktop environment4340.
In some embodiments, a local operating system forms thelocal desktop environment4340. In one of these embodiments, thelocal agent4330 periodically polls the local operating system to detect an attribute change in one of the first local window and the second local window. In another of these embodiments, upon detection of attribute change, thelocal agent4330 transmits a message to one of the first remote desktop environment and the second remote desktop environment indicative of the attribute change. In some embodiments, corresponding windows on thelocal desktop environment4340 and on the remote desktop environments4304 and4314 exhibit window attribute data substantially similar relative to the local desktop environment as to the window attribute data of the remote windows relative to their respective remote desktop environment.
Referring now toFIG. 44, a flow diagram depicts one embodiment of the steps taken in a method of receiving window attribute data and graphical data associated with remote windows from virtualized operating systems and from native operating systems. In brief overview, graphical data associated with a remote window provided by a first remote desktop environment provided by a native operating system is received via a first virtual channel coupled to the remote desktop (step4302). Window attribute data associated with the remote window provided by the first remote desktop environment is received via a second virtual channel coupled to the first remote desktop environment (step4304). Graphical data associated with a remote window provided by a second remote desktop environment provided by a virtualized operating system is received via a third virtual channel coupled to the remote desktop environment (step4306). Window attribute data associated with the remote window provided by the second remote desktop environment is received via a fourth virtual channel coupled to the second remote desktop environment (step4308). A first window is formed in the local desktop environment, the first window displaying the graphical data received from the first virtual channel in accordance with the window attribute data received from the second virtual channel (step4310). A second window is formed in the local desktop environment, the second window displaying the graphical data received from the third virtual channel in accordance with the window attribute data received from the fourth virtual channel (step4312).
In some embodiments, a combined windows list is formed and stores at least some of the window attribute data. In other embodiments, a local operating system associated with the local desktop environment is polled to detect an attribute change in one of the first local window and the second local window and transmitting a message to one of the first remote desktop environment and the second remote desktop environment indicative of the detected attribute change. In still other embodiments, the local windows exhibit window attribute data substantially similar relative to the local desktop environment as the window attribute data of the remote windows relative to the remote desktop environments.
Referring toFIG. 45, one embodiment of a system for providing a client with a reliable connection to a host service is shown. In a broad overview, asystem4500 for network communications includes a client machine10 (e.g., a first computing device) in communication with a first protocol service4502 (e.g., a second computing device) over anetwork150. Also included in thesystem4500 are a plurality of host services4516a-4516n(e.g., third computing devices) that are in communication, over anetwork150′, with thefirst protocol service4502 and, through thefirst protocol service4502 and over thenetwork150, with theclient machine10. Alternatively, in another embodiment, and with reference now toFIG. 46, thefirst protocol service4502 and the host services4516a-4516nare not implemented as separate computing devices, as shown inFIG. 45, but, rather, they are incorporated into the same computing device, such as, for example, aremote machine30. Thesystem4500 can include one, two, or any number ofremote machines30,30′. Theprotocol service4502 may also be provided as aremote machine30.
In one embodiment, thenetworks150 and150′ are separate networks, as inFIG. 45. Thenetworks150 and150′ can be thesame network150, as shown inFIG. 46.
Referring still to the embodiments ofFIGS. 45 and 46, theclient machine10 is configured to establish aconnection4504 between theclient machine10 and afirst protocol service4502 over thenetwork150 using a first protocol. For its part, thefirst protocol service4502 is configured to accept theconnection4504. Theclient machine10 and thefirst protocol service4502 can, therefore, communicate with one another using the first protocol as described below in reference toFIGS. 47-48 andFIG. 49.
In some embodiments, as shown inFIGS. 45 and 46, aclient agent4506 is included within theclient machine10. Theclient agent4506 can be, for example, implemented as a software program and/or as a hardware device, such as, for example, an ASIC or an FPGA. Theclient agent4506 can use any type of protocol and it can be, for example, an HTTP client agent, an FTP client agent, an Oscar client agent, a Telnet client agent, an Independent Computing Architecture (ICA) client agent from Citrix Systems, Inc. of Fort Lauderdale, Fla., or a Remote Desktop Procedure (RDP) client agent from Microsoft Corporation of Redmond, Wash. In some embodiments, theclient agent4506 is itself configured to communicate using the first protocol. In some embodiments (not shown), theclient machine10 includes a plurality ofclient agents4506a-4506n, each of which communicates with a host service4516a-4516n, respectively.
In another embodiment, a standalone client agent is configured to enable theclient machine10 to communicate using the first protocol. The standalone client agent can be incorporated within theclient machine10 or, alternatively, the standalone client agent can be separate from theclient machine10. The standalone client agent is, for example, a local host proxy. In general, the standalone client agent can implement any of the functions described herein with respect to theclient agent4506.
As also described further below, thefirst protocol service4502 is, in one embodiment, itself configured to communicate using the first protocol. Thefirst protocol service4502 is configured to establish a connection4508a-4508nbetween thefirst protocol service4502 and the host service4516a-4516n, respectively. For example, thefirst protocol service4502 can establish aconnection4508abetween thefirst protocol service4502 and onehost service4516aand aconnection4508bbetween thefirst protocol service4502 and anotherhost service4516b. In one embodiment, thefirst protocol service108 separately establishes such connections4508a-4508n(i.e., thefirst protocol service4502 establishes one connection at a time). In another embodiment, thefirst protocol service4502 simultaneously establishes two or more of such connections4508a-4508n.
In yet another embodiment, thefirst protocol service4502 can concurrently establish and maintain multiple connections4508a-4508n. Thefirst protocol service4502 is configured to provide two or more connections4508a-4508nwithout interrupting theconnection4504 with theclient machine10. For example, thefirst protocol service4502 can be configured to establish theconnection4508abetween thefirst protocol service4502 and thehost service4516awhen a user of theclient machine10 requests execution of a first application program residing on thehost service4516a. When the user ends execution of the first application program and initiates execution of a second application program residing, for example, on thehost service4516b, thefirst protocol service4502 is, in one embodiment, configured to interrupt theconnection4508aand establish theconnection4508bbetween thefirst protocol service4502 and thehost service4516b, without disrupting theconnection4504 between thefirst protocol service4502 and theclient machine10.
Thefirst protocol service4502 and the host services4516a-4516ncan communicate over the connections4508a-4508n, respectively, using any one of a variety of secondary protocols, including, but not limited to, HTTP, FTP, Oscar, Telnet, the ICA remote display protocol from Citrix Systems, Inc. of Fort Lauderdale, Fla., and/or the RDP remote display protocol from Microsoft Corporation of Redmond, Wash. For example, thefirst protocol service4502 and thehost service4516acan communicate over theconnection4508ausing the ICA remote display protocol, while thefirst protocol service4502 and thehost service4516bcan communicate over theconnection4508busing the RDP remote display protocol.
In one embodiment, the secondary protocol used for communicating between thefirst protocol service4502 and a host service4516, such as, for example, the ICA remote display protocol, includes a plurality of virtual channels. A virtual channel is a session-oriented transmission connection that is used by application-layer code to issue commands for exchanging data. For example, each of the plurality of virtual channels can include a plurality of protocol packets that enable functionality at theremote client machine10. In one embodiment, one of the plurality of virtual channels includes protocol packets for transmitting graphical screen commands from a host service4516, through thefirst protocol service4502, to theclient machine10, for causing theclient machine10 to display a graphical user interface. In another embodiment, one of the plurality of virtual channels includes protocol packets for transmitting printer commands from a host service4516, through thefirst protocol service4502, to theclient machine10, for causing a document to be printed at theclient machine10.
In another embodiment, the first protocol is a tunneling protocol. Thefirst protocol service4502 encapsulates a plurality of secondary protocols, each used for communication between one of the host services4516a-4516nand thefirst protocol service4502, within the first protocol. As such, the host services4516a-4516nand thefirst protocol service4502 communicate with theclient machine10 via the plurality of secondary protocols. In one embodiment, the first protocol is, for example, an application-level transport protocol, capable of tunneling the multiple secondary protocols over a TCP/IP connection.
Referring toFIG. 47, communications between theclient machine10 and thefirst protocol service4502 via theconnection4504 take the form of a plurality of secondary protocols4702a-4702n(e.g., HTTP, FTP, Oscar, Telnet, ICA, and/or RDP) encapsulated within afirst protocol4704. This is indicated by the location of secondary protocols4702a-4702ninside thefirst protocol4704. Where secure communication is not called for, thefirst protocol4704 can be, as illustrated inFIG. 47, communicated over an unsecured TCP/IP connection4706.
Referring now toFIG. 48, if secure communication is used, thefirst protocol4704 is communicated over an encrypted connection, such as, for example, a TCP/IP connection4802 secured by using asecure protocol4804 such as the Secure Socket Layer (SSL). SSL is a secure protocol first developed by Netscape Communication Corporation of Mountain View, Calif., and is now a standard promulgated by the Internet Engineering Task Force (IETF) as the Transport Layer Security (TLS) protocol and described in IETF RFC-2246.
Thus, the plurality of secondary protocols4702a-4702nare communicated within thefirst protocol4704 with (FIG. 48) or without (FIG. 47) asecure protocol4804 over theconnection4504. The secondary protocols that can be used to communicate over the connections4508a-4508ninclude, but are not limited to, HTTP, FTP, Oscar, Telnet, ICA, and RDP. Moreover, in one embodiment, at least one of the secondary protocols, as described above, includes a plurality of virtual channels, each of which can include a plurality of protocol packets enabling functionality at theremote client machine10. For example, in one embodiment, onehost service4516ais a web server, communicating with thefirst protocol service4502 over theconnection4508ausing the HTTP protocol, and anotherhost service4516bis an application server, communicating with thefirst protocol service4502 over theconnection4508busing the ICA protocol. Thehost service4516bgenerates both protocol packets for transmitting graphical screen commands to theclient machine10, for causing theclient machine10 to display a graphical user interface, and protocol packets for transmitting printer commands to theclient machine10, for causing a document to be printed at theclient machine10.
In another embodiment, the method and systems described herein reduce the number of times network connections are opened and closed. In one embodiment, thefirst protocol4704 allows the secondary protocol connections4702a-4702ntunneled therein, such as, for example, anHTTP connection4702n, to be opened and/or closed, repetitively, without also requiring the transport connection over which thefirst protocol4704 is communicated (e.g.,TCP connection4706 and/or4802), thesecure protocol connection4804, or thefirst protocol connection4704 itself to similarly be repetitively opened and/or closed. Without the encapsulation of thefirst protocol4704, the secondary protocol4702a-4702nmay frequently open and close network connections, such as TCP connections. This would add significant delays and overhead to the system. These delays and overhead would be further increased by the use of asecure encapsulation protocol4806, such as SSL, which have significant overhead in establishing network connections. By encapsulating the secondary protocol4702a-4702nwithin thefirst protocol4704 and maintaining the connection of the transport connection (4706,4802), the secondary protocols4702a-4702n, as part of the payload of thefirst protocol4704, do not need to perform frequent and costly open and closes of thenetwork connection4504. Furthermore, since the secondary protocols4702a-4702ncan be communicated within thefirst protocol4704 with asecure protocol4804, the secondary protocols4702a-4702nalso do not need to open and close secured connections such as with SSL. The transport connection (4706,4802) establishes and maintains thenetwork connection4504 so that the encapsulated second protocols4702a-4702ncan be communicated without repetitively opening and closing the secured orunsecured network connection4504. This significantly increases the speed of operation in communicating the secondary protocols4702a-4702n.
As described above, the secondary protocols4702a-4702ncarry protocol packets related to applications using such protocols as HTTP, FTP, Oscar, Telnet, RDA or ICA. The secondary protocol packets4902a-4902ntransport data related to the application functionality transacted between theclient machine10 and the host service4516a-4516n. For example, a user on theclient machine10 may interact with a web page provided by a host service4516a-4516n. In transactions between theclient machine10 and the host service4516a-4516n, the secondary protocol4702a-4702nencapsulated in thefirst protocol4704 may have http protocol packets related to displaying the web page and receiving any user interaction to communicate to the host service4516a-4516n. Since the transport connection (4706,4802) is not maintained by the secondary protocols4702a-4702n, the secondary protocols4702a-4702ndo not need to handle any network-level connection interruptions. As such, the secondary protocols4702a-4702nmay not provide any network-level connection interruption information in their payloads. In the above example, the http related secondary protocol packets4902a-4902nof the secondary protocol4702a-4702ntransmitted to theclient machine10 would not provide a notification that a network interruption occurred, e.g., an error message on a web page. Therefore, the user on theclient machine10 will not be notified of any network-level connection interrupts through the secondary protocol4702a-4702n. This effectively hides the network connection interruptions from the user during the use of the applications related to the secondary protocols4702a-4702n.
Referring toFIG. 49, anexample process4900 used by thefirst protocol service4502 and theclient agent4506 of theclient machine10 encapsulates the plurality of secondary protocols4702 (e.g., HTTP, FTP, Oscar, Telnet, ICA, and/or RDP) within thefirst protocol4704 for communication via theconnection4504. Optionally, as described below, theexample process4900 used by thefirst protocol service4502 and theclient agent4506 of theclient machine10 also compresses and/or encrypts the communications at the level of the first protocol prior to communications via theconnection4504. From the point of view of thefirst protocol service4502, secondary protocol packets4902a-4902nare received via the connections4508a-4508nat thefirst protocol service4502. For example, twosecondary protocol packets4902aand4902bare received by thefirst protocol service4502. One, two, or any number of secondary protocol packets4902a-4902ncan be received. In one embodiment, the secondary protocol packets4902a-4902nare transmitted by the host services4516 to thefirst protocol service4502 over the connection4508. The secondary protocol packets4902a-4902ninclude a header4904 and a data packet4906, also referred to as a data payload.
Following receipt of the secondary protocol packets4902a-4902n, thefirst protocol service4502 encapsulates one or more of the secondary protocol packets4902 within afirst protocol packet4908. In one embodiment, thefirst protocol service4502 generates a firstprotocol packet header4910 and encapsulates within thedata payload4912 of thefirst protocol packet4908 one or more secondary protocol packets4902a-4902n, such as, for example, twosecondary protocol packets4902aand4902b. In another embodiment, only onesecondary protocol packet4902ais encapsulated in eachfirst protocol packet4908.
In one embodiment, thefirst protocol packets4908 are then transmitted over theconnection4504, for example over theconnection4706 described with reference toFIG. 47, to theclient agent4506 of theclient machine10. Alternatively, in another embodiment, thefirst protocol service4502 is further configured to encrypt, prior to the transmission of anyfirst protocol packets4908, communications at the level of thefirst protocol4704. In one such embodiment, thefirst protocol packets4908 are encrypted by using, for example, the SSL protocol described with reference toFIG. 48. As a result, asecure packet4914, including aheader4916 and an encryptedfirst protocol packet4908′ as adata payload4918, is generated. Thesecure packet4914 can then be transmitted over theconnection4504, for example over the secure TCP/IP connection4802 illustrated inFIG. 48, to theclient agent4506 of theclient machine10.
In another embodiment, thefirst protocol service4502 is further configured to compress, prior to the transmission of anyfirst protocol packets4908, communications at the level of thefirst protocol4704. In one embodiment, prior to encrypting thefirst protocol packet4908, thefirst protocol service4502 compresses, using a standard compression technique, thefirst protocol packet4908. As such, the efficiency of thesystem4502 is improved.
Referring again toFIGS. 45-46, in one embodiment, thesystem4500 provides theremote client machine10 with a persistent connection to aremote machine30, such as, for example, theremote machine30′. For example, if theclient machine10 establishes aconnection4504 between theclient machine10 and thefirst protocol service4502 and thefirst protocol service4502 establishes aconnection4508abetween thefirst protocol service4502 and theremote machine30′, then either theclient agent4506, thefirst protocol service4502, or both are configured to maintain a queue of the first protocol data packets most recently transmitted via theconnection4504. For example, the queued data packets can be maintained by theclient agent4506 and/or thefirst protocol service4502 both before and upon a failure of theconnection4504. Moreover, upon a failure of theconnection4504, thefirst protocol service4502 and, likewise, theremote machine30 are configured to maintain theconnection4508a.
Following a failure of theconnection4504, theclient machine10 establishes anew connection4504 with thefirst protocol service4502, without losing any data. More specifically, because theconnection4508ais maintained upon a failure of theconnection4504, a newly establishedconnection4504 can be linked to the maintainedconnection4508a. Further, because the most recently transmitted first protocol data packets are queued, they can again be transmitted by theclient machine10 to thefirst protocol service4502 and/or by thefirst protocol service4502 to theclient machine10 over the newly establishedconnection4504. As such, the communication session between theremote machine30′ and theclient machine10, through thefirst protocol service4502, is persistent and proceeds without any loss of data.
In one embodiment, theclient agent4506 of theclient machine10 and/or thefirst protocol service4502 number the data packets that they transmit over theconnection4504. For example, each of theclient agent4506 and thefirst protocol service4502 separately numbers its own transmitted data packets, without regard to how the other is numbering its data packets. Moreover, the numbering of the data packets can be absolute, without any re-numbering of the data packets, i.e., the first data packet transmitted by theclient agent4506 and/or thefirst protocol service4502 can be numbered as No. 1, with each data packet transmitted over theconnection4504 by theclient agent4506 and/or thefirst protocol service4502, respectively, consecutively numbered thereafter.
In one such embodiment, following a disrupted and re-establishedconnection4504, theclient agent4506 and/or thefirst protocol service4502 informs the other of the next data packet that it requires. For example, where theclient agent4506 had received data packets Nos. 1-10 prior to the disruption ofconnection4504, theclient agent4506, upon re-establishment of theconnection4504, informs thefirst protocol service4502 that it now requires data packet No. 11. Similarly, thefirst protocol service4502 can also operate as such. Alternatively, in another such embodiment, theclient agent4506 and/or thefirst protocol service4502 informs the other of the last data packet received. For example, where theclient agent4506 had received data packets Nos. 1-10 prior to the disruption ofconnection4504, theclient agent4506, upon re-establishment of theconnection4504, informs thefirst protocol service4502 that it last received data packet No. 10. Again, thefirst protocol service4502 can also operate as such. In yet another embodiment, theclient agent4506 and/or thefirst protocol service4502 informs the other, upon re-establishment of theconnection4504, of both the last data packet received and the next data packet it requires.
In such embodiments, upon re-establishment of theconnection4504, theclient agent4506 and/or thefirst protocol service4502 can retransmit the buffered data packets not received by the other, allowing the communication session between a host service4516 and theclient machine10, through thefirst protocol service4502, to proceed without any loss of data. Moreover, upon re-establishment of theconnection4504, theclient agent4506 and/or thefirst protocol service4502 can flush from each of their respective buffers the buffered data packets now known to be received by the other.
By providing theclient machine10 with a reliable and persistent connection to aremote machine30, the process of opening a new user session with theremote machine30 is avoided by maintaining the user session through network connection interruptions. For each user session with aremote machine30, theclient machine10 and theremote machine30 may maintain session specific context and caches, and other application specific mechanisms related to that instance of the user session. For each new user session established, these session-specific context and caches need to be re-populated or re-established to reflect the new user session. For example, a user on theclient machine10 may have an http session with aremote machine30. Theremote machine30 may keep context-specific information of this instance of the http session with theclient machine10. The context may be stored in the memory of the server, in files of the server, a database or other component related to providing the functionality of theremote machine30. Also, theclient machine10 may have local context specific to the instance of the http session, such as a mechanism for keeping track of an outstanding request to theremote machine30. This context may be stored in memory of theclient machine10, in files on theclient machine10, or other software component interfaced with theclient machine10. If the connection between theclient machine10 and theremote machine30 is not persistent, then a new user session needs to be established with new session specific context on theremote machine30 and theclient machine10. The session is maintained so that a new session, and therefore new specific session context, does not need to be re-established.
In some embodiments, the user session is maintained through network level connection interruptions and without notification to the user of the client that the session was interrupted. In operation of these embodiments, thefirst protocol service4502 establishes and maintains a first connection with aclient machine10 and a second connection with a host service4516a-4516n. Via the first connection and the second connection, a session between theclient machine10 and theremote machine30 is established. Thefirst protocol service4502 can store and maintain any session-related information such as authentication credentials, andclient machine10 andremote machine30 context for the established session. A user on theclient machine10 will exercise the functionality provided by theremote machine30 through the established session. As such, related secondary protocol packets4902a-4902nwill contain data related to the transaction of such functionality. These secondary protocol packets4902a-4902nas part of the secondary protocol4702a-4702nare encapsulated and communicated in afirst protocol4704. Upon detection of a disruption in either the first connection or the second connection, thefirst protocol service4502 can re-establish the disrupted connection while maintaining the other connection that may have not been disrupted. The network connection disruption may cause an interruption to the session between theclient machine10 and theremote machine30. However, since the transport mechanism is not maintained by the secondary protocols4702a-4702n, the session can be re-established after the network connection is re-established without the user on theclient machine10 having notification that the session was interrupted. The secondary protocol4702a-4702ndoes not need to contain any interruption related information to transmit to theclient machine10. Thus, the interruption of the session caused by the network connection disruption is effectively hidden from the user because of the encapsulation of thefirst protocol4704.
Thefirst protocol service4502 maintaining session related information can re-establish the session between theclient machine10 and theremote machines30. For example, if the first connection between theclient machine10 and the first protocol service4516 is disrupted, thefirst protocol service4502 can keep theclient machine10's session active or open between thefirst protocol service4502 and theremote machine30. After the first connection is re-established, thefirst protocol service4502 can link the session of theclient machine10 to the maintained session between thefirst protocol service4502 and the host service4516. Thefirst protocol service4502 can send to theclient machine10 any data that was queued prior to the disruption in the first connection. As such, theclient machine10 will be using the same session prior to the disruption, and theremote machine30 andclient machine10 can continue to use any session specific context that may have in memory or stored elsewhere. Furthermore, because of the intermediary of thefirst protocol service4502, theremote machine30 may not be aware of the network disruption between thefirst protocol service4502 and theclient machine10.
In another example, if the second connection between thefirst protocol service4502 and theremote machine30 is disrupted, the first protocol service can maintain the first connection with theclient machine10 while re-establishing the second connection with theremote machine30. After re-establishing the second connection, thefirst protocol service4502 can re-establish the client's session, on behalf of the client, with theremote machine30. Since thefirst protocol service4502 was maintaining any session relation information, the first protocol service may re-establish the same session or a similar session so that theclient machine10 is not aware of the disruption in the second network connection and the resulting disruption to the session between thefirst protocol service4502 and theremote machine30. During re-establishing the second network connection and the session, thefirst protocol service4502 can queue any session transactions sent by theclient machine10 during the disruption. Then, after re-establishing the session with theremote machine30, thefirst protocol service4502 can transmit the queued transactions to theremote machine30 and the session can continue normally. In this manner, theclient machine10 continues to operate as if there was not an interruption to the session.
Additionally, by providing a reliable and persistent connection, some embodiments also avoid interruptions to transactions, commands or operations as part of the functionality exercised between theclient machine10 and aremote machine30, or aremote machine30. For example, a file copy operation using Windows Explorer has not been designed to continue working after there is a disruption in a network connection. A user on theclient machine10 may use the file copy feature of Windows Explorer to copy a file from theclient machine10 to aremote machine30. Because of the size of the file or files, this operation may take a relatively extended period of time to complete. If during the middle of the operation of the copy of the file to theremote machine30, there is an interruption in the network connection between theclient machine10 and theremote machine30, the file copy will fail. Once the network connection is re-established, the user will need to start another file copy operation from Windows Explorer to copy the file from theclient machine10 to theremote machine30. Under some embodiments of the methods described above, the user would not need to start another file copy operation. The network connection would be re-established as part of thefirst protocol4704 connection. The file copy operations would be encapsulated in the payload of the secondary protocols4702a-4702n. As such, the file copy of Windows Explorer would not get notified of the interruption in the network connection and therefore, would not fail. Thefirst protocol service4502 would re-establish any connections and transmits any queued data so that operation can continue without failure. Thefirst protocol service4502 would maintain a queue of the data related to the file copy operations that has not been transferred to theremote machine30 because of the interruption in the network connection. Once the network connection is re-established, thefirst protocol service4502 can transmit the queued data and then continue on with transferring the data related to the file copy operation in due course.
Although these embodiments are described in terms of a file copy operation example, one ordinarily skilled in the art will recognize that any operation, transaction, command, function call, etc. transacted between theclient machine10 and theremote machine30, orremote machines30, can be maintained and continued without failure from the network connection disruption, and, furthermore, without theclient machine10 recognizing there was a disruption or having notice of the disruption.
Furthermore, by providing a reliable and persistent connection, aclient machine10 is able to traverse through different network topologies without re-starting a session or an application on theclient machine10. For example, theclient machine10 may be a computer notebook with a wireless network connection. As theclient machine10 moves from a first wireless network to a second wireless network, the client'snetwork connection4504 may be temporarily disrupted from the first wireless network as a network connection is established with the second wireless network. The second wireless network may assign a new network identifier, such as a host name or internet protocol address, to theclient machine10. This new network identifier may be different than the network identifier assigned to theclient machine10 by the first wireless network. In another example, theclient machine10 may be physically connected through an Ethernet cable to a port on the network. The physical connection may be unplugged and theclient machine10 moved to another location to plug into a different port on the network. This would cause a disruption into thenetwork connection102 and possible a change in the assigned network identifier. By the method and systems described herein, the network connection is maintained for the client and automatically re-established the network connection of theclient machine10, including handling changes in the network topology and network identifier. Theclient machine10, and any applications or sessions on theclient machine10, can continue to operate as if there was not a network connection disruption or a change in the network identifier. Furthermore, the user on theclient machine10 may not recognize there were any interruptions or changes, and theclient machine10 may not receive any notice of such interruptions.
Even with a reliable and persistent communication session as described above, network connections are still disrupted. When re-establishing the client's connection to the host service, theclient machine10 also needs to be re-authenticated to theremote machine30. In one embodiment, systems and methods authenticate aclient machine10 to a host service4516 and re-authenticate theclient machine10 to theremote machine30 without re-entering authentication credentials.
In another embodiment, securely establishing a communication session between theclient machine10 and the host service4516 is enabled via multiple connections or “hops” that traverse multiple network components, such as a proxy, security gateway, firewall or router. The establishment of the multiple hop secure communication session may further be initiated via a secure client-web server communication channel, for example, between theweb browser6302 and a firstremote machine30 using SSL. Theticket authority6102 can provide tickets for each of the hops such as the client-firstprotocol service connection4504 and the first protocol service to host service connections4508a-4508n. In this manner, theclient machine10 is authenticated through all the connections between theclient machine10 and the host service4516a-45116n.
In some embodiments, a firstremote machine30, functioning as a web server, receives a request from theclient machine10 for an application and the firstremote machine30 validates the request with theticket authority6102. Theticket authority6102 then generates an N part ticket (e.g., T1to TN). In one embodiment, theticket authority6102 then transmits a portion Tiof the N part ticket (e.g., the first part of the ticket, or first ticket T1) to the firstremote machine30. The firstremote machine30 then transmits the ticket T1to theclient machine10. In one embodiment, theticket authority6102 also transmits the address of the next “hop” (e.g., thefirst protocol service4502 to the firstremote machine30, which then transmits the address to theclient machine10. This address is the address of the next hop (e.g., first protocol service4502) that this hop (e.g., client machine10) needs to communicate with for theclient machine10 to eventually be authenticated to theremote machine30.
Theclient machine10 uses the address to then contact the next “hop” (e.g., first protocol service4502) and initiates a communication session with thefirst protocol service4502aby transmitting a proxy connection request over the client-first protocolservice communication channel4504. Thefirst protocol service4502athen extracts the first ticket T1from the proxy connection request and forwards this ticket to theticket authority6102 for validation. Theticket authority6102 then validates the first ticket T1.
Upon proper verification of the first ticket T1, theticket authority6102 transmits the next ticket Tifrom the N part ticket (e.g., T2) to the next first protocol service4502 (e.g.,first protocol service4502a). In some embodiments, theticket authority6102 also transmits the address of the next hop (e.g., the secondfirst protocol service4502b) to this hop (e.g., thefirst protocol service4502a). Thefirst protocol service4502atransmits this ticket to the next hop (e.g., the secondfirst protocol service4502b). In one embodiment, the secondfirst protocol service4502bverifies T2by transmitting the ticket to theticket authority6102. Theticket authority6102 validates the second ticket T2and the process continues. Once the last part of the N part ticket has been validated the application is launched on theclient machine10.
In one embodiment, each first protocol service4502 (i.e., each hop) validates Ti(e.g., T2) with aticket authority6102 associated with the first protocol service4502 (i.e., hop). In this embodiment, after eachfirst protocol service4502 validates the ticket Ti(e.g., T2) with aticket authority6102, theticket authority6102 at which the validation took place transmits the next ticket Ti+1(e.g., T3) and the address of the next first protocol service4502 (i.e., the next “hop” destination) to thefirst protocol service4502 that had validated the ticket Ti. Thus, eachfirst protocol service4502 is associated with aticket authority6102 that has been configured with the current and next hop tickets (i.e., validating Tiand transmitting Ti+1for the next hop). Consequently, the nextfirst protocol service4502 acts as the client for that hop. This process is repeated until reaching theremote machine30. Thus, each hop has been validated individually without revealing all of the ticket to any one hop.
In other embodiments, theticket authority6102 may issue more than one ticket rather than issuing one ticket having many parts. For example, theticket authority6102 generates a first hop ticket and a second hop ticket, where the first hop ticket has no association with the second hop ticket. Theticket authority6102 subsequently transmits the first hop ticket to the firstremote machine30 and the firstremote machine30 transmits the first hop ticket to theclient machine10. Theclient machine10 transmits this first hop ticket to the first protocol service4502 (e.g.,first protocol service4502a) for validation by theticket authority6102. Upon validation, theticket authority6102 transmits the second hop ticket to the next first protocol service4502 (e.g., secondfirst protocol service4502b) while the first hop ticket is independent from the second hop ticket.
In a further embodiment, one or more of theticket authorities6102 provides proxies, either as part of thefirst protocol service4502 or separated from thefirst protocol service4502, with any necessary information needed to connect to the next hop, such as, but without limitation, encryption keys, SSL method configuration information, and authentication information to connect to a SOCKS server (e.g., SOCKS5 server, developed by NEC Corporation of Tokyo, Japan).
In yet another embodiment, aticket authority6102 only generates a single ticket. Theticket authority6102 transmits the single ticket to the firstremote machine30. The firstremote machine30 forwards the single ticket to theclient machine10. Thefirst protocol service4502 subsequently receives the ticket from theclient machine10 and “consumes” the single ticket upon validation. As a result, a single ticket can provide the ability to use arbitrary communication protocols over the client-proxy communication channel4504 and the client-web server communication channel. Additionally, because theremote machine30 does not receive or verify the single ticket, the ticket is transparent to theremote machine30 and, consequently, theremote machine30 is not “aware” of the use of the ticket.
By exploiting the security of the secure communications between theclient machine10 and the firstremote machine30 over the secure client-web server communication channel, the system establishes a secure communication link over the non-secure client-proxy communication channel4504 to remotely display desktop applications securely on theclient machine10.
In yet another embodiment, theticket authority6102 transmits a disabled version of the first protocol service ticket with the client ticket to the firstremote machine30 for transmission to theclient machine10. Theclient machine10 subsequently transmits the first protocol service ticket along with the client ticket to thefirst protocol service4502 as part of the proxy connection request. Thefirst protocol service4502 then forwards both tickets to theticket authority6102. Upon receiving a disabled first protocol service ticket, theticket authority6102 enables the first protocol service ticket after validating the client ticket. Theticket authority6102 then transmits the enabled first protocol service ticket to thefirst protocol service4502 for authentication to thehost node118.
Alternatively, in another embodiment the firstremote machine30 receives a disabled first protocol service ticket and an enabled client ticket from theticket authority6102 and only transmits the client ticket to theclient machine10. Theclient machine10 transmits the client ticket to thefirst protocol service4502 as part of the proxy connection request. Thefirst protocol service4502 then forwards the client ticket to theticket authority6102. Theticket authority6102 validates the client ticket and, upon validation, enables the first protocol service ticket previously transmitted to the firstremote machine30. In yet another embodiment, theticket authority6102 transmits an enabled first protocol service ticket to the firstremote machine30 upon validation of the client ticket for authentication to theremote machine30.
Thus, at any given time, theticket authority6102 provides only one ticket that is enabled to theclient machine10 orfirst protocol service4502 that theticket authority6102 can validate. Theticket authority6102 may provide another ticket that can't be validated (i.e., a disabled ticket) until the enabled ticket is validated. Alternatively, theticket authority6102 may not transmit the first protocol service ticket to thefirst protocol service4502 until theticket authority6102 validates the enabled ticket. As discussed in further detail below, this enforces network routing of communications using embodiments of this system because theclient machine10 cannot traverse the firstremote machine30 or thefirst protocol service4502 without having theticket authority6102 validate the enabled ticket and transmit the ticket needed to communicate with theremote machine30.
In another embodiment, instead of transmitting the first protocol service ticket to thefirst protocol service4502, theticket authority6102 transmits the first protocol service ticket to the firstremote machine30 directly over a web server-authority communication channel. The firstremote machine30 then automatically transmits the first protocol service ticket to theremote machine30. In other words, the firstremote machine30 “pushes” the first protocol service ticket to theremote machine30. Theticket authority6102 can also push the first protocol service ticket to theremote machine30 without transmission of the first protocol service ticket to thefirst protocol service4502 or the firstremote machine30.
In yet another embodiment, theremote machine30 retrieves the first protocol service ticket from theticket authority6102 over the ticket-content server communication channel157. In other words, theremote machine30 “pulls” the first protocol service ticket from theticket authority6102.
Moreover, the system enforces the routing of theclient machine10 through thefirst protocol service4502. As stated above, theclient machine10 has to possess the first protocol service ticket to establish a communication session with theremote machine30. More specifically, to establish a connection with theremote machine30, the firstremote machine30 first has to validate the request of theclient machine10 with theticket authority6102. Once validated, theclient machine10 obtains the first ticket and transmits this first ticket to theticket authority6102 for validation. However, upon validation, theticket authority6102 transmits the first protocol service ticket back to thefirst protocol service4502 rather than theclient machine10. The communication session between theclient machine10 and the host service4516 is established when the host service4516 receives the first protocol service ticket. Thus, theclient machine10 has to communicate with thefirst protocol service4502 in order to have the first protocol service ticket transmitted to the host service4516, thereby enforcing the routing of theclient machine10 through thefirst protocol service4502. Thus, the invention can ensure the proper traversal of a security device (e.g., the first protocol service4502) before granting access to theremote machine30.
For example, aremote machine30 executes several applications, such as MICROSOFT WORD and MICROSOFT EXCEL, both developed by Microsoft Corporation of Redmond, Wash. In one embodiment, theclient machine10 uses NFUSE, developed by Citrix Systems, Inc. of Fort Lauderdale, Fla., to obtain information from themachine farm38 in which applications can be accessed by theclient machine10. If a client user wants to access and use MICROSOFT WORD, theclient machine10 requests the application from the firstremote machine30. However, only users who pay an application fee for MICROSOFT WORD can become authorized to access the application.
To ensure the payment of the application fee, the system includes thefirst protocol service4502 and theticket authority6102 to enforce the routing of theclient machine10 through thefirst protocol service4502. The routing of theclient machine10 through thefirst protocol service4502 is valuable to the application provider if thefirst protocol service4502 is used to collect the application fee and authorize the user for access to the application.
Theticket authority6102 subsequently generates a ticket associated with the request for the application. An enabled first ticket is then transmitted to theclient machine10. Because theclient machine10 does not have the address of thehost node118, theclient machine10 cannot access the application. Further, theclient machine10 has not been authorized by thefirst protocol service4502 yet (i.e., has not yet paid). Thus, theclient machine10 has to communicate with thefirst protocol service4502 to become authorized. Thefirst protocol service4502 can then transmit the enabled first ticket to theticket authority6102 upon payment of the application fee.
The ticket authority then validates the client ticket and subsequently transmits (or enables) a first protocol service ticket to the proxy. Thefirst protocol service4502 then transmits the first protocol service ticket to the remote machine30 (e.g., assuming the client user has paid the application fee), which enables theremote machine30 to transmit the application to theclient machine10.
FIG. 50 depicts one embodiment of asystem5000 that is capable of reconnecting theclient machine10 to a host service4516 using an automatic client reconnect service referred to as auto client reconnect service orACR Service5002. In brief overview, aclient machine10 communicates with aremote machine30, also referred to as a server, over acommunication channel5004. Thecommunication channel5004 may include anetwork150. For example, thecommunication channel5004 can be over a local-area network (LAN), such as a company Intranet, or a wide area network (WAN) such as the Internet or the World Wide Web. Theremote machine30 provides auto client reconnect services through anACR Service5002. Theclient machine10 accesses theremote machine30 through thecommunication channel5004. TheACR Service5002 of theremote machine30 provides authentication services to authenticate theclient machine10 to theremote machine30. When there is a disruption in a network connection, theACR Service5002 further provides re-authentication services to re-authenticate theclient machine10 to theremote machine30. Although described with asingle client machine10 and onecommunication channel5004, any number of clients (e.g.10,10′) and number of communication channels (e.g.5004,5004′) can be part of thesystem4500.
TheACR Service5002 running on theremote machine30 includes akey generator5006, a session identifier (SID)generator5008, anencryptor5010, akey destroyer5012, and adecryptor5014. Thekey generator5006 generates a key when theremote machine30 or theACR Service5002 receives authentication credentials from theclient machine10. In one embodiment, thekey generator5006 derives the key from a characteristic of theremote machine30. Particular examples include thekey generator5006 deriving the key from the temperature of theprocessor5016, the time thatremote machine30 received the authentication credentials, and the number of keys stored inmemory5018. In a further embodiment, the key and the authentication credentials are the same size (e.g. eight bits). In one embodiment, the key generator is a software module. In another embodiment, thekey generator5006 is a random number generator.
TheSID generator5008 generates the unique SID to enable theremote machine30 to identify a particular communication session. In one embodiment, theSID generator5008 is a software module. In another embodiment, theSID generator5008 is a random number generator. In another embodiment, the SID generator transmits the SID to the host service4516. In one embodiment, theSID generator5008 obtains the SID from a host service4516 running on the server. In yet another embodiment, the SID generator generates the SID by receiving a session identifier from the host service116 establishing a user session.
Theencryptor5010 encrypts the key with the authentication credentials to create encrypted authentication credentials. In one embodiment, theencryptor5010 encrypts the key with the authentication credentials by performing an exclusive OR operation (i.e. XOR) on the key and the authentication credentials. In another embodiment, theencryptor5010 adds the authentication credentials to the key to encrypt the authentication credentials; that is, theencryptor5010 performs a “Caesar Cipher” on the authentication credentials using the key as the shift value. In another embodiment, theencryptor5010 performs a hash function, such as MD4, MD5, or SHA-1, on the authentication credentials. It should be clear that theencryptor5010 can perform any type of manipulation on the authentication credentials as long as theACR Service5002 can decrypt the encrypted authentication credentials with the key.
In one embodiment, theencryptor5010 is a software module that executes mathematical algorithms on the key and the authentication credentials to create the encrypted authentication credentials. In another embodiment, theencryptor5010 is a logic gate of theremote machine30, such as an exclusive OR (XOR) gate.
In one embodiment, theencryptor5010 stores the encrypted authentication credentials with the SID in a table5020 inmemory5018. In another embodiment, theencryptor5010 stores the encrypted authentication credentials in the table5020 and theSID generator5008 stores the SID in the table5020. In one embodiment, the table5020 is an area inmemory5018 allocated by theprocessor5016 for us by theencryptor5010. In another embodiment, theencryptor5010 stores the encrypted authentication credentials with the SID in a database (not shown inFIG. 50) separate frommemory5018.
In one embodiment, theACR Service5002 uses the SID as a vector to the location of the encrypted authentication credentials in the table5020. In another embodiment, theACR Service5002 uses the SID as a database key to locate and retrieve the encrypted authentication credentials in a database (not shown inFIG. 50). Each encrypted authentication credential created by theencryptor5010 is associated with only one unique SID. Thus, theACR Service5002 can locate and retrieve the encrypted authentication credentials by using a particular SID.
Thekey destroyer5012 deletes the key once theACR Service5002 determines that the key is no longer needed. In one embodiment, thekey destroyer5012 is a delete function of a software program such as the operating system of theremote machine30.
Thedecryptor5014 decrypts the encrypted authentication credentials once theACR Service5002 receives the key and the SID from theclient machine10. In one embodiment, thedecryptor5014 is a software module that performs the inverse function or algorithm that theencryptor5010 performed to create the encrypted credentials. In another embodiment, thedecryptor5014 is a hardware component (e.g. a logic gate) to perform the inverse operation of theencryptor5010.
In one embodiment, one or more of thekey generator5006, theSID generator5008, theencryptor5010, thekey destroyer5012 and thedecryptor5014 are joined into one software module representing theACR Service5002. In another embodiment, these components can be hardware components such as logic gates. In a further embodiment, these components are included in a single integrated circuit. In yet another embodiment, some of the components, for example thekey generator5006 and theSID generator5008, can be hardware components, and other components, for example theencryptor5010, thekey destroyer5012 and thedecryptor5014, can be software components.
In another embodiment, methods for reconnecting aclient machine10 to aremote machine30 when there is a disruption in the client's connection to the network are provided. The methods include re-establishing the client's connection to theremote machine30 and using theACR Service5002 to re-authenticate the client to the host service.
Referring toFIG. 51, theclient machine10 establishes a first communication session with theremote machine30 over thecommunication channel5004. Theclient machine10 obtains (step54100) authentication credentials from a user of theclient machine10. In asystem4500 not using an Open System Interconnection (OSI) protocol as the transmission protocol for communications between theclient machine10 and theremote machine30, the authentication credentials may be a login password that is needed to establish the first communication session. In this embodiment, the obtaining of the authentication credentials from the user precedes the establishment of the communication session. In another embodiment, the authentication credential is personal information of the user that theclient machine10 obtains after the first communication session has been established. Examples of authentication credentials include a login password, a social security number, a telephone number, an address, biometric information, a time-varying pass code and a digital certification. Theclient machine10 then transmits (step5405) the authentication credentials to theremote machine30 over thecommunication channel5004 so that theremote machine30 can authenticate theclient machine10 or the user of theclient machine10.
After theremote machine30 receives the authentication credentials, theACR Service5002 provides its auto client reconnect services. Thekey generator5006 creates (step5410) a first encryption key for use with the authentication credentials. In one embodiment, the encryption key is a random number. In another embodiment, the encryption key is any standard cryptographic key. Theencryptor5010 then encrypts (step5415) the authentication credentials with the first key to generate encrypted authentication credentials. This prevents an attacker who gains access to theremote machine30 from accessing the authentication credentials without the key. TheSID generator5008 then creates (step5120) a first SID to identify the first communication session between aclient machine10 and theremote machine30. In one embodiment, the first communication session is with a host service4516 hosted by theremote machine30. Theencryptor5010 then stores (step5425) the encrypted authentication credentials with the first SID in the table5020 described above.
In one embodiment, theencryptor5010 stores the encrypted authentication credentials with the first SID in a certain location for more efficient retrieval at a later time. For instance, theencryptor5010 stores all encrypted authentication credentials and SIDs that have been created within a predetermined amount of time in RAM. TheACR service5002 transfers all encrypted authentication credentials and SIDS created before a predetermined time to a second, external memory (not shown). In another embodiment, theencryptor5010 stores the encrypted authentication credentials with the SID in a database (not shown).
The SID and the encrypted authentication credentials stored in thememory5018 can be arranged in any particular order and/or format. For example, the SID and encrypted authentication credentials can be stored in chronological order with respect to the creation time of the encrypted authentication credentials.
Theremote machine30 then transmits (step5430) the first key and associated first SID to theclient machine10 over thenetwork150. Theclient machine10 stores (step5435) the first key and the first SID in memory (not shown). Then thekey destroyer5012 of theACR Service5002 deletes (step5440) the key stored inmemory5018.
In another embodiment, theACR Service5002 does not delete the first key frommemory5018 until theACR Service5002 has notification that theclient machine10 has received the key. For example, theclient machine10 transmits an acknowledgment message to theremote machine30 after theclient machine10 successfully received the key. Once theACR Service5002 receives notification, thekey destroyer5012 then deletes (step5440) the key from thememory5018. This prevents theACR Service5002 from deleting the key before theclient machine10 successfully received the key. By not deleting the key until the acknowledgment message, theACR Service5002 can retransmit the key and the SID to theclient machine10 upon a failure in the transmission.
By deleting the key instep5440, theACR Service5002 does not have the mechanism needed to decrypt the encrypted authentication credentials stored in the table5020. Thus, if an attacker accesses thememory5018 of theremote machine30, the attacker can retrieve the encrypted authentication credentials but cannot decrypt the encrypted authentication credentials. Therefore, the attacker cannot read the authentication credentials. In short, the encrypted authentication credentials stored on theremote machine30 do not provide any information that the attacker can interpret or understand. As such, theremote machine30 does not possess any information to decrypt the encrypted authentication credentials.
In addition, theclient machine10 is the only device that can provide the key to the encrypted authentication credentials. With the possibility ofmany client machines10 as part of thenetwork150, an attacker may have to attempt to gain access to each client (e.g.10,10′) individually to find theclient machine10 that possesses the correct key. This can be time consuming and tedious and, as a result, may deter an attacker from an attempt to decrypt the encrypted authentication credentials.
In another embodiment, theremote machine30 has a timeout feature with respect to accessing the encrypted authentication credentials. For instance, theremote machine30 starts a timer after the first communication is abnormally terminated. If the timer reached a predetermined value before theclient machine10 re-establishes the second communication session and transmits the key to theremote machine30 for decryption, theACR Service5002 deletes the encrypted authentication credentials from the table5020. If no timer is used, the key acts as a de facto password for future sessions.
Once theclient machine10 receives the first key and the first SID from theremote machine30 as described above in reference toFIG. 51, the session can be re-established, as shown inFIG. 52, without requiring the user to reenter his or her authentication credentials. When a disruption or break occurs in the first communication session (step54100) between theclient machine10 and theremote machine30, thefirst communication session5004 needs to be re-established and theclient machine10 re-authenticated to theremote machine30. TheACR Service5002 provides a system and method for re-establishing and re-authenticating theclient machine10 to theremote machine30.
When theclient machine10 and theremote machine30 re-establish a second communication session, theclient machine10 transmits the first key and the first SID (step5405) to theremote machine30. TheACR Service5002 uses the SID (step5210) to locate and retrieve the encrypted authentication credentials in the server'smemory5018 and uses the key (step5215) to decrypt the retrieved authentication credentials. Theremote machine30 then re-authenticates theclient machine10 to the remote machine30 (step5220) by validating the authentication credentials from theclient machine10. In one embodiment, the authentication and re-authentication is facilitated through the security services provided by the operating system of the computing device of theremote machine30. For example, the authentication credentials are a login and password to theremote machine30. In another embodiment, the authentication and re-authentication is facilitated through application level security services of an application or software program on theremote machine30. For example, the authentication credentials are an application login and password to a specific host service4516.
To illustrate, upon an abnormal termination of a first communication session (step54100) in which the user's login password was the authentication credential, theclient machine10 attempts to establish a second communication session with theremote machine30. As part of the request to theremote machine30 to establish a second communication session with theremote machine30, theclient machine10 transmits the key and the SID (step5405) of the first terminated communication session to theremote machine30. Instead of prompting the user to enter the user's login password again, theremote machine30, through theACR Service5002, uses the SID (step5210) to locate and retrieve the encrypted authentication credentials associated with the user, uses the key (step5215) to decrypt the retrieved authentication credentials, and reauthenticates the client using the decrypted authentication information (step5220).
In one embodiment, during the second communication session, theACR Service5002 creates (step5225) a second key for the authentication credentials and then encrypts (step5230) the authentication credentials using the second key. A second SID is created (step5235) to identify the second communication session and associate the session with theclient machine10. The second encrypted authentication credentials are stored (step5425) with the second SID in the table5020.
In this embodiment, the server then transmits (step5240) the second key and the second SID to theclient machine10. Theclient machine10 then stores (step5245) the second key and the second SID in memory (not shown) for future retrieval. TheACR Service5002 then deletes (Step54150) the second key from thememory5018. Thus, theACR Service5002 can only decrypt the second encrypted authentication upon obtaining the second key and the second SID from theclient machine10. TheACR Service5002 has created a new key and a new SID for the second communication session that is used with the same authentication credentials that the user had transmitted during the first communication session. Therefore, a user's authentication credentials do not have to be retransmitted upon a second communication channel after an abnormal termination of the first communication session.
Although the invention is discussed in terms of authentication credentials, any confidential information which can be maintained across sessions if there is a communication failure can be used. Thus if credit card information is required by an application and the credit card information is sent to the server, the subsequent disconnect between the client and the server does not require the credit card information to be reentered if this invention is issued. Further, although a session identifier, or SID, is discussed as providing a pointer to the stored authentication credentials, any number or value which is suitable as a pointer may be used.
FIG. 53 depicts another embodiment of asystem5300 that is capable of reconnecting aclient machine10 to aremote machine30 using anACR Service5002 executing on anintermediary machine30′. Theintermediary machine30′ is a computing device different from theremote machine30 and can be anyremote machine30 that is capable of communication and that has sufficient processor power and memory capacity to perform the operations described herein. In brief overview, theclient machine10 is in communication with anintermediary machine30′ over acommunication channel5004. Thecommunication channel5004 may include anetwork150. Theintermediary machine30′ provides auto client reconnect services, via anACR Service5002, to theclient machine10 for the connection of theclient machine10 to theremote machine30. Theintermediary machine30′ is in communications with theremote machine30 over acommunication channel5004′. Thecommunication channel5004′ may include anetwork150′. Theclient machine10 accesses the services of theremote machine30 through theintermediary machine30′. TheACR Service5002 on theintermediary machine30′ provides auto client reconnect services for the connection of theclient machine10 to theremote machine30. Although illustrated with asingle client machine10 over acommunication channel5004, any number of clients and number of communication channels can be part of thesystem5300.
In a further embodiment (not shown), thesystem5300 includes multipleintermediary machines30′ that are in communication with one ormore client machines10 through anetwork150 overadditional communication channels5004,5004′. Although illustrated inFIG. 53 with a singleintermediary machine30′ over acommunication channel5004, any number of intermediary nodes and number of communication channels can part of thesystem5300.
In another embodiment, the invention relates to methods to facilitate establishing and authenticating a client machine's10 connection to aremote machine30 using one or moreintermediary machines30′. As shown inFIG. 54, anintermediary machine30′ establishes a session with theremote machine30.
Theclient machine10 establishes a first communication session with theintermediary machine30′ over thecommunication channel5004. Theclient machine10 obtains (step5400) authentication credentials from a user of theclient machine10. Theclient machine10 then transmits (step5405) the authentication credentials to theintermediary machine30′ over thecommunication channel5004 so that theintermediary machine30′ can authenticate the user with theremote machine30.
After theintermediary machine30′ receives the authentication credentials, theACR Service5002 provides its auto client reconnect services. TheACR Service5002 creates (step5410) a first encryption key for use with the authentication credentials and then encrypts (step5415) the authentication credentials with the first key to generate encrypted authentication credentials. This prevents an attacker who gains access to theremote machine30 from accessing the authentication credentials without the key. Then a session is established with the remote machine30 (step5420A) and theclient machine10 is authenticated to theremote machine30 using the authentication credentials. Thereby, theACR Service5002 creates a first SID to identify the first communication session. The encrypted authentication credentials are stored (step5425) with the first SID in the table5020 described above. Theintermediary machine30′ then transmits (step5430) the first key and the first SID to theclient machine10 over thenetwork150. Theclient machine10 stores (step5435) the first key and the first SID in the client machine's memory (not shown). TheACR Service5002 then deletes (step5440) the key stored inmemory5018.
Once theclient machine10 receives the first key and the first SID from theintermediary machine30′ as described above in reference toFIG. 54, the communication session can be re-established and re-authenticated, as shown inFIG. 55, without requiring the user to reenter his or her authentication credentials. For example, there may be a disruption in the first communication session (step5505) between theclient machine10 and theintermediary machine30′ from an abnormal termination.
When theclient machine10 and theintermediary machine30′ re-establish a second communication session, theclient machine10 transmits the first key and the first SID (step5505) to theintermediary machine30′. TheACR Service5002 of theintermediary machine30′ uses the SID (step5510) to locate and retrieve the encrypted authentication credentials in the server'smemory5018 and uses the key (step5515) to decrypt the retrieved authentication credentials. The key generator creates (step5520) a second key for the authentication credentials and thekey encryptor5010 then encrypts (step5525) the authentication credentials using the second key. TheSID generator5008 also creates (step5530) a second SID to identify the second communication session and associates it with the maintained session between theintermediary machine30′ and theremote machine30. Theencryptor5010 stores the second encrypted authentication credentials with the second SID in the table5020.
In this embodiment, theremote machine30 then transmits (step5535) the second key and the second SID to theclient machine10. Theclient machine10 then stores (step5540) the second key and the second SID for future retrieval. Thekey destroyer5012 then deletes (Step5545) the second key from thememory5018. Thus, theACR Service5002 can only decrypt the second encrypted authentication upon obtaining the second key and the second SID from theclient machine10. TheACR Service5002 has created a new key and a new SID for the second communication session that is used with the same authentication credentials that the user had transmitted during the first communication session. Therefore, a user's authentication credentials do not have to be retransmitted upon a second communication channel after an abnormal termination of the first communication session.
In another embodiment, there may be a disruption or abnormal termination in the second communication session (step5600) between theintermediary machine30′ and theremote machine30. As described inFIG. 56, the second communication session can be re-established and re-authenticated without requiring the user to reenter his or her authentication credentials.
When theintermediary machine30′ and theremote machine30 re-establish a second communication session, theintermediary machine30′ requests (step5605) the first key and first SID from theclient machine10 to re-establish a session with theremote machine30 on the client's behalf. In response, theclient machine10 transmits the first key and the first SID (step5610) to theintermediary machine30′. TheACR Service5002 of theintermediary machine30′ uses the SID (step5615) to locate and retrieve the encrypted authentication credentials in the server'smemory5018 and uses the key (step5620) to decrypt the retrieved authentication credentials. The ACR Service500 then re-establishes the client's session with the server (step5625) using the decrypted authentication credentials to re-authenticate theclient machine10 to theremote machine30.
In another embodiment, after re-establishing and re-authenticating the client over the second communication session, theACR Service5002 of theintermediary machine30′ creates a replacement second SID and second key as previously described inFIG. 55. In reference to the embodiment of the ACR Service illustrated inFIG. 50, the key generator creates (step5520) a second key for the authentication credentials and thekey encryptor5010 then encrypts (step5525) the authentication credentials using the second key. TheSID generator5008 also creates (step5530) a second SID to identify the second communication session and associates it with the re-established session between theintermediary machine30′ and theremote machine30. Theencryptor5010 stores the second encrypted authentication credentials with the second SID in the table5020. In this embodiment, the server then transmits (step5535) the second key and the second SID to theclient machine10. Theclient machine10 then stores (step5540) the second key and the second SID for future retrieval. Thekey destroyer5012 then deletes (Step5545) the second key from thememory5018.
In other embodiments, one or more of thefirst protocol service4502 andACR Service5002 can be distributed across any of the host service nodes. As such, the functionality of re-establishing and re-authenticating, or automatically reconnecting, aclient machine10 connect to a host service4516 can be flexibly distributed in different system and deployment architectures across host services4516 and/orremote machines30.
In one embodiment, anACR Service5002 can be associated with each of the host services4516a-4516ninsystem4500 to provide auto client reconnect services dedicated to each host service4516, respectively. A singlefirst protocol service4502 can be deployed to handle all of the host services4516a-4516n. As shown inFIG. 57, each of themultiple ACR Services5002a-5002nis associated with each of the host services4516a-4516n, respectively. By way of example, aclient machine10 establishes a communication session with thehost service4516ausing thefirst protocol service4502. TheACR Service5002aassociated withhost service4516aprovides auto client reconnect services for the connection of theclient machine10 to thehost service4516a. If there is a disruption in a network connection, thefirst protocol service4502 will re-establish the connection with theclient machine10 and theACR Service5002awill re-authenticate theclient machine10 to thehost service4516a. Asecond client machine10′ may concurrently, with thefirst client machine10, establish a communication session with thehost service4516busing thefirst protocol service4502. TheACR Service5002bprovides auto client reconnect services for the client's connection to thehost service4516b. If there is a network disruption, thefirst protocol service4502 in conjunction with theACR Service5002bwill reconnect theclient machine10′ to thehost service4516b.
In another embodiment of these methods, an ACR service can be associated with each of the multiple host services4516a-4516nrunning on each of theremote machines30 of thesystem4500. Afirst protocol service4502 can be deployed on eachremote machine30 to service each of the multipleremote machines30 running on thathost node118. As shown inFIG. 57, eachACR service5002a-5002nis associated with each host service4516a-4516n, respectively. Eachremote machine30 has a dedicatedfirst protocol service4502 servicing each of its host services4516 and eachACR Service5002. For example, aclient machine10 establishes a communication session withhost service4516aonremote machine30 by using thefirst protocol service4502. TheACR Service5002aonremote machine30 provides auto client reconnect services for the connection of theclient machine10 to thehost service4516aonremote machine30.
If a network disruption is detected, thefirst protocol service4502 re-establishes the client's connection to thehost service4516aonremote machine30 and theACR service5002aonremote machine30 re-authenticates theclient machine10 to thehost service4516aonremote machine30. Concurrently with thefirst client machine10, asecond client machine10′ establishes a communication session withhost service4516bonremote machine30 using thefirst protocol service4502 andACR Service5002a. If there is a network disruption, thefirst protocol service4502 in conjunction with theACR Service5002areconnect theclient machine10′ withhost service4516bonremote machine30. Concurrently with thefirst client machine10 and thesecond client machine10′, athird client machine10“establishes a communication session withhost service4516nonremote machine30′ using thefirst protocol service4502 andACR Service5002nonremote machine30′. In a similar manner, thefirst protocol service4502 andACR Service5002ncan reconnect theclient machine10″ to thehost service4516nofremote machine30′.
In other embodiments, one or more of theACR Services5002 can be distributed with thefirst protocol services4502 across any of the intermediary or first protocol services nodes. As such, the functionality of reconnecting aclient machine10 to a host service4516 can be flexibly distributed in different system and deployment architectures associated with thefirst protocol service4502.
In one embodiment of this aspect of the invention, theACR Service5002 can be associated with eachfirst protocol service4502 to provide auto client reconnect services dedicated to thefirst protocol service4502. A singlefirst protocol service4502 andACR Service5002 can be deployed to handle all of the host services4516a-4516n. As shown inFIG. 59, theACR Service5002 resides with thefirst protocol service4502 on the same computing device to provide auto client reconnect services to host services4516a-4516n. For example, aclient machine10 establishes a communication session with any of the host services4516a-4516nby using thefirst protocol service4502 andACR Service5002. Thefirst protocol service4502 andACR Service5002 provide reconnecting functionality from aclient machine10 to any of the host services4516a-4516n.
In another embodiment of this aspect of the invention, each of theACR Services5002a-5002ncan be associated with each of the multiple of first protocol services4516a-4516n. For example as shown inFIG. 60, afirst protocol service4502 and anACR Service5002acan be deployed on aremote machine30 to service each of the multiple host services4516a-4516nrunning on thatremote machine30. As further shown inFIG. 60, eachACR service5002a-405nis associated with each first protocol service4502-112nto provide dedicated auto client reconnect services to the multiple host services4516a-4516nof each remote machine30-118n. By way of example,client machine10 establishes a communication session withhost service4516aonremote machine30 by using thefirst protocol service4502 andACR Service5002aon the sameremote machine30. If there is a network disruption, thefirst protocol service4502 in conjunction with theACR Service5002areconnects theclient machine10 to thehost service4516aon theremote machine30.
Although the invention is discussed above in terms of various system and deployment architectures inFIGS. 57-60, any other system and/or deployment architecture that combines and/or distributes one or more of the first protocol service(s)4502, ACR Service(s)5002, and host service(s)4516 across any of theremote machines30,intermediary machines30′ or other computing devices can be used.
Furthermore, instead of using anACR Service5002 to provide authentication and re-authentication services, aticket authority6102 service can be used. Aticket authority6102 generates and validates tickets for connection and authentication purposes. A ticket can comprise a session identifier and key. It can also comprise a random number, an application server certificate, a nonce, a constant or null value or any other type of identification, confidential or security based information that may be used for such purposes.
In an embodiment of a network communication system for reconnecting aclient machine10 to a host service4516 as shown inFIG. 61, aticket authority6102 can run on a node separate from theintermediary machine30,first protocol service4502 or any of the host services4516a-4516n.FIG. 61 depicts anintermediary machine30 andticket authority6102, which could be a single computing device, as part of thesystem4500. In addition to thenetworks150 and150′, thesystem4500 includes aclient machine10,first protocol service4502, and the host services4516a-4516n, all of which are described above. In one embodiment, theintermediary machine30 is a security gateway, such as, for example, a firewall and/or a router, through which messages between theclient machine10 and thefirst protocol service4502 must pass due to the configuration of thenetwork150. Theticket authority6102 can be, for example, a stand-alone network component that is capable of communication and that has sufficient processor power and memory capacity to perform the operations described herein. Theticket authority6102 also can be a specific host service4516 dedicated to providing ticket related services on aremote machine30.
As shown in an embodiment ofFIG. 61, theintermediary machine30 is configured to accept aconnection4504ainitiated by theclient machine10 and to establish asecond connection4504bwith thefirst protocol service4502. Together, theconnection4504aand thesecond connection4504bconstitute theconnection4504, described above, over which theclient machine10 and thefirst protocol service4502 communicate using the first protocol.
Theintermediary machine30, as shown, is also configured to communicate with theticket authority6102. In one embodiment, theticket authority6102 is configured to receive a request for a first reconnection ticket from theintermediate node30′ and to thereafter generate the first reconnection ticket. The first reconnection ticket can include, for example, a large random number. The first reconnection ticket allows theclient machine10 to automatically re-establish a connection with the host service after an abnormal disruption of service without requiring theclient machine10 to provide authentication credentials again.
In another embodiment, theticket authority6102 is configured to receive a request for a first re-connection ticket for each of the “hops” between theclient machine10 and host service4516. For example, theintermediary machine30 may request re-connection tickets for the connection between theclient machine10 and theintermediary machine30, between theintermediary machine30 and thefirst protocol service4502, and between thefirst protocol service4502 and the host service4516. These re-connection tickets may only be valid for each of the “hops”. For example, a first re-connection ticket for thefirst protocol service4502 to host service4516 connection is valid only for authenticating thefirst protocol service4502 to the host service4516 on behalf of theclient machine10.
After generation of the first reconnection ticket, theticket authority6102 encrypts the authentication credentials supplied by theclient machine10 using the first reconnection ticket so that an attacker who gains access to theintermediary machine30 or theticket authority6102 cannot access the authentication credentials without the first reconnection ticket. Theticket authority6102 may also generate a SID to identify the communication session that is established between theclient machine10 and theintermediary machine30. Theticket authority6102 then stores the encrypted authentication credentials with the SID in memory and transmits the SID and the first reconnection ticket to theclient machine10 over thenetwork150. Upon the client's receipt of the SID and the first reconnection ticket, theticket authority6102 destroys (i.e., deletes) the ticket from its memory (not shown).
In another embodiment, theticket authority6102 is configured to generate a handle. The handle can be, for example, a random number that is associated with (e.g., mapped to) the first reconnection ticket. In one embodiment, the handle is a smaller random number than the random number forming the first reconnection ticket. For example, the handle may be a 32-bit random number. In a further embodiment, the handle associated with a ticket or a re-connection ticket is an address of or pointer to the next “hop” in the multiple-hop connection between theclient machine10 and the host service4516. In this case, a ticket or re-connection ticket is validated for a single “hop” with a pointer to the next “hop”. The next “hop” will need to obtain and validate a different ticket or re-connection ticket and so forth until the last “hop” is validated and connected to the host service4516 on behalf of theclient machine10.
Theticket authority6102 transmits the first reconnection ticket and the handle to theintermediary machine30, while keeping a copy of the first reconnection ticket and a copy of the handle. The copy of the first reconnection ticket can later be used by theticket authority6102 to validate the first reconnection ticket originally transmitted to theclient machine10 when it is later presented to theticket authority6102 during the process of reconnecting theclient machine10. In one embodiment, theticket authority6102 also keeps an address for thefirst protocol service4502, which, as explained below, is associated with the first reconnection ticket and, upon validation of the first reconnection ticket, is transmitted to theintermediary machine30.
In one embodiment, theintermediary machine30 is further configured to use the handle transmitted to it by theticket authority6102 to delete the copy of the first reconnection ticket kept at theticket authority6102. In another embodiment, as described below, theticket authority6102 is further configured to delete, during the process of reconnecting theclient machine10 to a host service4516, the first reconnection ticket and thereafter generate a replacement first reconnection ticket. Additionally, in another embodiment, the first reconnection ticket is configured for automatic deletion after a pre-determined period of time. In the embodiment of re-connection tickets for each of the “hops” between the client and the host service4516, one, some or all of the re-connection tickets may be configured for automatic deletion after a pre-determined period of time. In other embodiments, theticket authority6102 or theintermediary machine30 is configured to delete each of the multiple-hop tickets and generate replacement tickets
In another embodiment, thefirst protocol service4502 is configured to generate a second reconnection ticket, which, as in the case of the first reconnection ticket, can include, for example, a large random number. In one embodiment, thefirst protocol service4502 generates second re-connection tickets for each of the “hops” between theclient machine10 and the host service4516. Thefirst protocol service4502 can also be configured to transmit the second reconnection ticket to theclient machine10, while keeping a copy of the second reconnection ticket and a session number. The copy of the second reconnection ticket can later be used by thefirst protocol service4502 to validate the second reconnection ticket originally transmitted to theclient machine10 when it is later presented to thefirst protocol service4502 during the process of reconnecting theclient machine10. In one embodiment, thefirst protocol service4502 transmits the second reconnection ticket to theclient machine10 via theintermediary machine30. In another embodiment, thefirst protocol service4502 transmits the second reconnection ticket to theclient machine10 directly. In a further embodiment, thefirst protocol service4502 may transmit second re-connection tickets to otherfirst protocol services4502 orintermediary machines30 that may comprise the multiple-hop connection between theclient machine10 and the host service4516.
Moreover, as described in greater detail below, thefirst protocol service4502 can be further configured to delete, during the process of reconnecting theclient machine10 to a host service4516, the second reconnection ticket, and thereafter generate a replacement second reconnection ticket. Additionally, in another embodiment, the second reconnection ticket is configured for automatic deletion after a pre-determined period of time. In further embodiments, afirst protocol service4502 of one or morefirst protocol services4502 in a multiple-hop connection is configured to delete the second re-connection tickets for each of the “hops”, and thereafter generate replacement second re-connection tickets for one, some or all of the “hops.”
In one embodiment, theintermediary machine30 serves as an intermediary for the first and second reconnection tickets. Theintermediary machine30 receives, for example, the first reconnection ticket generated by theticket authority6102 and the second reconnection ticket generated by thefirst protocol service4502. Theintermediary machine30 can then transmit the first reconnection ticket and the second reconnection ticket to theclient machine10. Moreover, during the process of reconnecting theclient machine10 to a host service4516, theintermediary machine30 can accept the first reconnection ticket and the second reconnection ticket from theclient machine10 and thereafter transmit the first reconnection ticket to theticket authority6102 and, if appropriate, the second reconnection ticket to thefirst protocol service4502.
In another embodiment, the intermediary node632 serves as an intermediary for the re-connection tickets for the multiple-hops between theclient machine10 and the host service4516. Theintermediary machine30 receives, for example, the first re-connection ticket for theclient machine10 tofirst protocol service4502 connection and the first re-connection ticket for thefirst protocol service4502 to the host service4516. In a further embodiment, theintermediary machine30 receives a first re-connection ticket for the connection between theintermediary machine30 and thefirst protocol service4502. Theintermediary machine30 can then transmit the first re-connection ticket for the client to theclient machine10 and the first re-connection ticket for thefirst protocol service4502 to thefirst protocol service4502. Moreover, during the process of re-connecting theclient machine10 to a host service4516, theintermediary machine30 can accept the first re-connection ticket from theclient machine10 to validate the ticket to re-establish the client's connection to theintermediary machine30 or thefirst protocol service4502.
If the first communication session between theclient machine10 and the host service4516 terminates, for example abnormally, the new session can be re-established without requiring the user to reenter his or her authentication credentials. When theclient machine10 and the host service4516 re-establish a second communication session, theclient machine10 retransmits the first and second reconnection tickets and the SID to theintermediary machine30. Theintermediary machine30 transmits the first and second reconnection tickets and the SID to theticket authority6102, which uses the SID to locate and retrieve the encrypted authentication credentials for the first connection and uses the first reconnection ticket to decrypt the retrieved authentication credentials. Theticket authority6102 then authenticates the client by validating the decrypted authentication credentials. After re-authentication, the second reconnection ticket is forwarded to thefirst protocol service4502 to re-establish the second connection4508 with the host service4516.
In another embodiment of anetwork communications system6100 as shown inFIGS. 62 and 63, theclient machine10 uses theweb browser6302 to request access to a resource and a firstremote machine30 authenticates the user. After receiving the request, the firstremote machine30 validates the request with the ticket authority136. Theticket authority6102 then generates a ticket, which includes a first ticket, or client ticket, and a second ticket, or first protocol service ticket. The first and second tickets are “one-time use” tickets having no further value after their first use. In still another embodiment, the first and second tickets must be used within a predetermined time period.
In one embodiment, theticket authority6102 stores the first and second tickets in memory (e.g., RAM) until the ticket is used. Alternatively, theticket authority6102 stores the first and second tickets in a storage device (not shown) until the ticket is used. The storage device may include, for example, a database or a persistent memory (e.g., on a floppy disk or hard disk drive). Theticket authority6102 subsequently transmits the client ticket to the firstremote machine30 and the firstremote machine30 then forwards the client ticket to theclient machine10.
Theclient machine10 then initiates a communication session with thefirst protocol service4502 by transmitting a proxy connection request over the client-first protocolservice communication channel4504. The proxy connection request includes the client ticket. In one embodiment, the proxy connection request also includes a dummy password that can be replaced by thefirst protocol service4502 when establishing a communication session with aremote machine30. In another embodiment, the firstremote machine30 transmits the dummy password to theclient machine10 for future generation of a proxy connection request having a format acceptable to thefirst protocol service4502. Thefirst protocol service4502 then extricates the client ticket from the proxy connection request and forwards the client ticket to theticket authority6102 for validation. Theticket authority6102 then validates the first ticket. In one embodiment, theticket authority6102 verifies the first ticket by searching its storage device (e.g., database) for the first expected ticket.
If theticket authority6102 does not find the first ticket in the storage device (such as if the first ticket has been used already), theticket authority6102 ends the communication session. If the received ticket matches the client ticket that theticket authority6102 expects, the client ticket is validated. Theticket authority6102 then transmits the second or first protocol service ticket to thefirst protocol service4502. Additionally, theticket authority6102 deletes the client ticket from the storage device, as the client ticket has now been used once. In another embodiment, theticket authority6102 also transmits the Internet protocol (IP) address of theremote machine30 to thefirst protocol service4502. In yet another embodiment, theticket authority6102 transmits the domain name of theremote machine30 to thefirst protocol service4502 for future conversion into the IP address.
Thefirst protocol service4502 receives the second ticket, or the first protocol service ticket, and subsequently opens communications across the proxy-server communication channel145 by transmitting the second ticket to theremote machine30. Theremote machine30 receives the first protocol service ticket and then transmits the ticket over a ticket-server communication channel to theticket authority6102 for validation. In one embodiment, if theticket authority6102 determines that the first protocol service ticket received from theremote machine30 has been used previously or does not have the correct value (i.e., the same value as the value stored in the associated storage device), theticket authority6102 transmits an error message to the first protocol service4502 (or the first remote machine30) to terminate the established communication session with theclient machine10. If theticket authority6102 validates the first protocol service ticket, theremote machine30 then launches the ICA published application. Theremote machine30 then transmits application information to thefirst protocol service4502 for remote displaying of the application on theclient machine10 using theclient agent4506.
In one embodiment, theclient machine10 launches theclient agent4506 when initiating communications with thefirst protocol service4502. In other embodiments, theclient machine10 launches theclient agent4506 when theclient machine10 receives the application information from thefirst protocol service4502.
Thus, theclient machine10 is not aware of the first protocol service ticket but only the client ticket. Moreover, theclient agent4506 cannot access theremote machine30 without communicating with thefirst protocol service4502 and presenting the client ticket.
Theticket authority6102 could also transmit the first protocol service ticket to thefirst protocol service4502 as the user password for the user of theclient machine10. This allows thefirst protocol service4502 to use the first protocol service ticket as the login password to gain access to theremote machine30 without exposing the user's login password over the untrusted part of the web (i.e., the non-secure client-first protocol service communication channel4504). Thus, in one embodiment, thecommunications system6100 could include a centralized password mapping database managed by theticket authority6102 and co-located with theremote machine30 to map the first protocol service ticket with a user's password.
Therefore, the password can accompany both tickets (i.e., the first protocol service ticket and the client ticket) or the password can accompany one of the two tickets. As described above, if the password accompanies one of the two tickets, such as the client ticket, then the first protocol service ticket is the password. In one embodiment, the password can be a system password that does not change in value or may be a one-time use password, such as those generated by SecurID tokens developed by RSA Security Inc. of Bedford, Mass.
Additionally, the methods described above can be expanded to a communications system having any number offirst protocol services4502, or “hops” with which theclient machine10 has to communicate before establishing a communication session with theremote machine30. Although described in relation to afirst protocol service4502, a hop can comprise any network component, such as a proxy, firewall, router, and relay.
For instance, a four-hop example is a communication system having afirst protocol service4502a, afirst protocol service4502b, and afirst protocol service4502n, each protocol service including a proxy and located within the demilitarizedzone6308. Theprotocol services4502a-nmay communicate with each other over a proxy-proxy communication channel. Theclient machine10 communicates with thefirst protocol service4502awhich communicates with the secondfirst protocol service4502b. In turn, the secondfirst protocol service4502bcommunicates with the thirdfirst protocol service4502nand then the thirdfirst protocol service4502ncommunicates with the remote machine over a proxy-server communication channel4508 to establish the communication session with the remote machine. Furthermore, although the embodiment described above includes a ticket having a client ticket and a first protocol service ticket, another embodiment includes the ticket comprising numerous tickets.
In still another embodiment of anetwork communications system6100 as shown inFIG. 62, anACR Service5002 can be used instead of theticket authority6102 for reconnecting theclient machine10 to any of the host services4516a-4516n. In this embodiment, theACR Service5002 can provide similar services as described above with regards to theticket authority6102. As previously described, theACR Service5002 generates, validates and manages a SID and a key for connecting and reconnecting a client communication session. A SID and a key can form a ticket as in the type of ticket generated, validated and managed by theticket authority6102 as described above. As such, in another embodiment, a ticket may be used interchangeably for the combination of a session identifier and a key.
Theintermediary machine30, as shown inFIG. 62, is configured to communicate with theACR Service5002. In one embodiment, theACR Service5002 is configured to receive a request for a first SID and a first key from theintermediary machine30 and to thereafter generate the first SID and first key. TheACR Service5002 uses the first SID to identify the communication session that is established between theclient machine10 and a host service4516. The first SID and the first key allow theclient machine10 to automatically reconnect with the host service4516 after an abnormal disruption of service without requiring theclient machine10 to provide authentication credentials again.
After generation of the first SID and the first key, theACR Service5002 encrypts the authentication credentials supplied by theclient machine10 using the first key so that an attacker who gains access to theintermediary machine30 or theACR Service5002 cannot access the authentication credentials without the first key. TheACR Service5002 then stores the encrypted authentication credentials with the SID inmemory5018 and transmits the first SID and the first key to theclient machine10 over thenetwork150. Upon the client's receipt of the SID and the key, theACR Service5002 destroys (i.e., deletes) the key from itsmemory5018.
In another embodiment, thefirst protocol service4502 is configured to generate a second SID and second key. Thefirst protocol service4502 can also be configured to transmit the second SID and second key to theclient machine10, while keeping a copy of the second SID and second key. The copy of the second SID and second key can later be used by thefirst protocol service4502 to validate the second SID and second key originally transmitted to theclient machine10 when it is later presented to thefirst protocol service4502 during the process of reconnecting theclient machine10. In one embodiment, thefirst protocol service4502 transmits the second SID and second key to theclient machine10 via theintermediary machine30. In another embodiment, thefirst protocol service4502 transmits the second SID and second key to theclient machine10 directly. Moreover, as described in greater detail below, thefirst protocol service4502 can be further configured to delete, during the process of reconnecting theclient machine10 to a host service4516, the second SID and second key, and thereafter generate a replacement second SID and second key. Additionally, in another embodiment, the second SID and second key is configured for automatic deletion after a pre-determined period of time.
In one embodiment, theintermediary machine30 serves as an intermediary for the first and second SIDs and keys. Theintermediary machine30 receives, for example, the first SID and first key generated by theACR Service5002 and the second SID and second key generated by thefirst protocol service4502. Theintermediary machine30 can then transmit the first SID and first key and the SID and second key to theclient machine10. Moreover, during the process of reconnecting theclient machine10 to a host service4516, theintermediary machine30 can accept the first SID and first key and the second SID and second key from theclient machine10 and thereafter transmit the first SID and first key to theACR Service5002 and, if appropriate, the second SID and second key t to thefirst protocol service4502.
If the first communication session between theclient machine10 and the host service4516 terminates, for example abnormally, the new session can be re-established without requiring the user to reenter his or her authentication credentials. When theclient machine10 and the host service4516 re-establish a second communication session, theclient machine10 transmits the first and second SIDs and keys to theintermediary machine30. Theintermediary machine30 transmits the first SID and first key to theACR Service5002, which uses the SID to locate and retrieve the encrypted authentication credentials for the first connection and uses the first key to decrypt the retrieved authentication credentials. TheACR Service5002 then authenticates the client by validating the decrypted authentication credentials. After re-authentication, the second SID and second key is forwarded to thefirst protocol service4502 to re-establish the second connection4508 with the host service4516.
Referring toFIG. 63, another embodiment of asystem4500 for network communications includes thenetworks150 and150′, theclient machine10, thefirst protocol service4502, the host services4516, theintermediary machine30, and theticket authority6102, as described above, and further depicts a firstremote machine30 and a secondremote machine30, both of which are used, in one embodiment, for initially connecting theclient machine10 to a host service4516. Moreover, in the embodiment ofFIG. 63, theclient machine10 further includes aweb browser6302, such as, for example, the INTERNET EXPLORER program from Microsoft Corporation of Redmond, Wash., to connect to the World Wide Web.
In one embodiment (not shown), thesystem4500 includes two or moreintermediary machines30 and/or two or morefirst protocol services4502. Theintermediary machine30, through which messages between theclient machine10 and thefirst protocol service4502 must pass, and/or thefirst protocol service4502 can, as explained below, each be chosen based on, for example, a load balancing equation.
Each of the firstremote machine30 and the secondremote machine30 can be any computing device that is capable of communication and that has sufficient processor power and memory capacity to perform the operations described herein. For example, in one embodiment, the firstremote machine30 is a web server, providing one or more websites or web based applications. In another embodiment, the secondremote machine30 provides an XML service or web service.
In one embodiment, theclient machine10 and thenetwork150 form anexternal network6304, separated from the rest of thesystem6100 by afirst firewall6306, depicted as a dashed line. Theintermediary machine30 and the firstremote machine30 can be located in a “demilitarized zone”6308 (i.e., a network region placed between a company's private network and the public network), separated from the rest of thesystem4500 by thefirst firewall6306 and asecond firewall6310, also depicted by a dashed line. In some embodiments, thefirst firewall6306 and thesecond firewall6310 prohibit unauthorized communications to or from theremote machines30. Then, as shown, thenetwork150′, thefirst protocol service4502, the host services4516a-4516n, theticket authority6102, and the secondremote machine30, form aninternal network6312, separated from the rest of thesystem4500 by thesecond firewall6310.
In some embodiments, the demilitarizedzone6308 includes a ticket protocol service6314 (shown in shadow inFIG. 63), comprising a proxy (not shown), and the firstremote machine30, which may be a web server. The proxy may comprise a security gateway through which messages over the client-first protocolservice communication channel4504 pass. In one embodiment, thenetwork firewall6306 repudiates any incoming message from the client-first protocolservice communication channel4504 that does not have thefirst protocol service4502 as its destination. Likewise, thenetwork firewall6306 repudiates any outgoing message for the client-first protocolservice communication channel4504 unless its source is thefirst protocol service4502. The security gateway can alternatively be a router, firewall, relay, or any network component that can provide the necessary security. The proxy may also be a network component separate from thefirst protocol service4502 that may run on the same computing device of thefirst protocol service4502 or on a different computing device. In some embodiments, the proxy is an intermediary for securely passing communications between theclient machine10 and thefirst protocol service4502.
Alternatively, in another embodiment not shown inFIG. 63, thesystem4500 further includes a thirdremote machine30 positioned, in the demilitarizedzone6308, between thenetwork150 and theintermediary machine30. The thirdremote machine30 can be any computing device that is capable of networked communication and that has sufficient processor power and memory capacity to perform the operations described herein. As described below, the thirdremote machine30 is used, in some embodiments, during the process of initially connecting theclient machine10 to a host service4516 and/or during the process of reconnecting theclient machine10 to a host service4516. More specifically, as described below, where thesystem4500 includes two or moreintermediary machines30, the thirdremote machine30 can, based on a load balancing equation for example, choose theintermediary machine30 through with communications between theclient agent4506 of theclient machine10 and thefirst protocol service4502 must pass.
Moreover, referring toFIG. 63, theintermediary machine30, in an alternative embodiment, can be replaced by two or more levels “a”-“n” ofintermediary machines30. As illustrated, each level “a”-“n” can include two or moreintermediary machines30′. As described below, theclient agent4506 of theclient machine10 can be routed through any combination of theintermediary machines30 based on, for example, load balancing equations. For example, as illustrated, theclient agent4506 can be routed through theintermediary machines30 viaconnection4504. For additional security, each of the “hops” viaconnection4504 may require a ticket or re-connection ticket for validating and authenticating the multiple-hop connection between theclient machine10 and the host service4516. Other configurations of thesystem4500, as would be readily apparent to one skilled in the art, are also possible.
Referring again toFIG. 63, in one embodiment, theweb browser6302 communicates over thenetwork150 with the firstremote machine30, which itself interfaces with the secondremote machine30 and theticket authority6102. More specifically, the firstremote machine30 is configured with the address of the secondremote machine30 and theticket authority6102. In one embodiment, as explained further below, the firstremote machine30 is configured to relay information between, and thereby prevent direct communication between, theweb browser6302 of theclient machine10, the secondremote machine30, and theticket authority6102. By preventing such direct communication, the firstremote machine30 adds an additional level of security to thesystem4500. The firstremote machine30 can also be configured with the address of theintermediary machine30, or, alternatively, with the address of two or moreintermediary machines30.
For its part, the secondremote machine30 is configured to determine which of the application programs running on the host services4516 are available to a user of theclient machine10. In other words, the secondremote machine30 is configured to determine which of the application programs the user is authorized to access. In one embodiment, after the user selects his desired application program, as described further below, the secondremote machine30 is further configured to determine which of the host services4516 will be used to run the user's desired application for purposes of load balancing. The secondremote machine30 returns the address of that host service4516 to the firstremote machine30. The secondremote machine30 also returns the address of thefirst protocol service4502, which can also be selected from amongst a plurality offirst protocol services4502 through the use of a load balancing equation, to the firstremote machine30. In turn, the firstremote machine30 transmits the address of the chosenfirst protocol service4502 and the chosen host service4516 to theticket authority6102.
For its part, theticket authority6102 generates connection tickets. In one embodiment, theticket authority6102 transmits an initial connection ticket to the firstremote machine30 for transmission to theclient machine10. In another embodiment, the ticket authority transmits a first reconnection ticket to theintermediary machine30.
In one embodiment, theticket authority6102 issues one or more tickets to authenticate theclient machine10. In particular, theticket authority6102 enables authentication of theclient machine10 over one communication channel (i.e., a client-web server communication channel) based on authentication credentials. Theticket authority6102 further enables theclient machine10 to be authenticated to another communication channel (i.e., the client-first protocol service communication channel4504) without having theclient machine10 repeatedly provide authentication credentials on the other communication channel.
In one embodiment, theticket authority6102 is a stand-alone network component. In other embodiments, a modular ticket authority136 is a software module residing on one or moreremote machines30. For example, there may be aticket authority6102 for each of theremote machines30. In some embodiments, a firstremote machine30, such as a web server in the demilitarizedzone6308, may communicate with theticket authority6102 and/or theremote machine30 over an agent-server communication channel. In another embodiment, theticket authority6102 may reside on an intermediaryremote machine30 separate from otherremote machines30.
In one embodiment, theticket authority6102 generates a first ticket and a second ticket. In some embodiments, the tickets are both nonces. In further embodiments, the tickets are generated using a cryptographic random number generator that has been suitably seeded with randomness. The first ticket is transmitted to theclient machine10 and is used to establish a first communication session between theclient machine10 and thefirst protocol service4502. The second ticket is transmitted to thefirst protocol service4502 and is used to establish a second communication session between thefirst protocol service4502 and aremote machine30.
In some embodiments, the firstremote machine30 is a web server. In one of these embodiments, the firstremote machine30 delivers web pages to theclient machine10. In another of these embodiments, the firstremote machine30 is capable of establishing a secure client-web server communication channel with theclient machine10.
In other embodiments, the firstremote machine30 is a web server providing a corporate portal, also referred to as an enterprise information portal, to theclient machine10. In one of these embodiments, enterprise portals are company web sites that aggregate, personalize and serve applications, data and content to users, while offering management tools for organizing and using information more efficiently. In other embodiments, the firstremote machine30 provides a web portal, or Internet portal, to theclient machine10. A web portal is similar to a corporate portal but typically does not include business-specific information.
In one embodiment, a user of theclient machine10 employs theweb browser6302 to authenticate the user to the firstremote machine30. In one embodiment, theclient machine10 transmits user credentials, such as log in and password information, to the firstremote machine30. The firstremote machine30 verifies that the user has access to themachine farm38.
In a further embodiment, theweb browser6302 uses SSL to establish a secure client-web server communication channel. Theweb browser6302 can alternatively connect to the firstremote machine30 over a client-web server communication channel using other security protocols, such as, but not limited to, Secure Hypertext Transfer Protocol (SHTTP) developed by Terisa Systems of Los Altos, Calif., HTTP over SSL (HTTPS), Private Communication Technology (PCT) developed by Microsoft Corporation of Redmond, Wash., and the Transport Level Security (TLS) standard promulgated by the Internet Engineering Task Force (IETF). In one embodiment, the firstremote machine30 transmits a web portal or enterprise portal, as described above, to theclient machine10 upon validation of the user to enable theclient machine10 to request a resource, such as, for example, an application or a server desktop to be remotely displayed on theclient machine10.
The client-web server communication channel may be any secure communication channel. In some embodiments, communications over the channel are encrypted. In certain of these embodiments, theclient machine10 and the firstremote machine30 may communicate using the Secure Socket Layer (SSL) of the HyperText Transfer Protocol (HTTPS). Alternatively, theclient machine10 and the firstremote machine30 may use other encryption techniques, such as symmetric encryption techniques, to protect communications.
Further, in one embodiment the client-first protocolservice communication channel4502 can be established by using, for example, a presentation services protocol such as ICA, X11 protocol, VNC, or RDP. Although described as establishing a first communication session between theclient machine10 and thefirst protocol service4502 and a second communication session between thefirst protocol service4502 and theremote machine30, the communication session can be viewed as a single, logical communication session between theclient machine10 and the host service4516.
In another embodiment of anetwork communication system4500 as shown inFIG. 64, theACR Service5002 can be used instead of theticket authority6102 to reconnect aclient machine10 to a host service4516. Instead of using tickets as with theticket authority6102, theACR Service5002 generates, validates and manages SIDs and keys for connecting and reconnecting client communication sessions. TheACR Service5002 authenticates and re-authenticates the client to a host service4516 orremote machine30 using a SID and key, or a ticket, associated with theclient machine10. As previously mentioned, a ticket can be used to refer to the combination of a SID and key or a ticket can comprise a SID and a key.
Thesystem4500 ofFIG. 64 includes thenetworks150 and150′, theclient machine10, thefirst protocol service4502, the host services4516, theintermediary machine30, and theACR Service5002, as described above, and further depicts a firstremote machine30 and a secondremote machine30, both of which are used, in one embodiment, for initially connecting theclient machine10 to a host service4516. Moreover, theclient machine10 further includes aweb browser6302 to connect to the World Wide Web.
In one embodiment (not shown), thesystem4500 includes two or moreintermediary machines30 and/or two or morefirst protocol services4502 or two ormore ACR Services5002. Theintermediary machine30, through which messages between theclient machine10 and thefirst protocol service4502 must pass, and/or thefirst protocol service4502 can and/or theACR Service5002, as explained below, each be chosen based on, for example, a load balancing equation.
In another embodiment, thesystem4500 ofFIG. 64 can include anexternal network6304, separated from a “demilitarized zone”6308 by afirst firewall6306 which in turn is separated from aninternal network6312 by asecond firewall6310. Although the invention is discussed above in terms of various network topologies inFIGS. 63 and 64, any other network topologies can be used, such as for example, a topology including combinations of internal networks, external networks, sub-networks, intranets, firewalls, security zones, single servers, a server network or server farms.
Alternatively, in another embodiment not shown inFIG. 64, thesystem4500 further includes a thirdremote machine30 positioned, in the demilitarizedzone6308, between thenetwork150 and theintermediary machine30. The thirdremote machine30 is used, in some embodiments, during the process of initially connecting theclient machine10 to a host service4516 and/or during the process of reconnecting theclient machine10 to a host service4516.
In another embodiment of thesystem4500 inFIG. 64, theintermediary machine30, can be replaced by two or more levels “a”-“n” ofintermediary machines30′. Theclient agent4506 of theclient machine10 can be routed through any combination of theintermediary machines30 based on, for example, load balancing equations.
In one embodiment, theweb browser6302 communicates over thenetwork150 with the firstremote machine30, which itself interfaces with the secondremote machine30 and theACR Service5002. The firstremote machine30 is configured with the address of the secondremote machine30 and theACR Service5002. In another embodiment to provide an additional level of security in thesystem4500, the firstremote machine30 is configured to relay information between, and thereby prevent direct communication between, theweb browser6302 of theclient machine10, the secondremote machine30, and theACR Service5002. The firstremote machine30 can also be configured with the address of any of theintermediary machines30′.
For its part, the secondremote machine30 is configured to determine which of the application programs running on the host services4516 are available to a user of theclient machine10 and to provide the address of the host service4516 selected by the user to the firstremote machine30. The secondremote machine30 also provides the address of one of the multiplefirst protocol service4502, through the use of a load balancing equation, to the firstremote machine30. In turn, the firstremote machine30 transmits the address of the chosenfirst protocol service4502 and the chosen host service4516 to theACR Service5002.
For its part, theACR Service5002 generates, validates and manages connection SIDs and key to provide authentication and re-authentications services to re-establish a client's communication session with a host service4516 orremote machine30, as described herein. In one embodiment, theACR Service5002 transmits a first SID and first key to the firstremote machine30 for transmission to theclient machine10. In another embodiment, theACR Service5002 transmits a first SID and first key to one of theintermediary machines30.
In other embodiments, methods for network communications enable reconnecting aclient machine10 to a host service4516 using a plurality of secondary protocols encapsulated within a first protocol. The method includes establishing a first connection between aclient machine10 and afirst protocol service4502 using a first protocol and communicating between theclient machine10 and thefirst protocol service4502 via a plurality of second protocols encapsulated within the first protocol. Moreover, at least one of the second protocols includes a plurality of virtual channels.
In one embodiment of this aspect of the invention, a second connection is established between thefirst protocol service4502 and a host service4516 using one of the secondary protocols. Communication between thefirst protocol service4502 and the host service4516 occurs via one of the secondary protocols. Specifically, each of the plurality of second connections is established between thefirst protocol service4502 and a different host service4516 and each of the plurality of second connections is established using one of the plurality of secondary protocols. In yet another embodiment, the first connection between theclient machine10 and the first protocol service4516 is established through one or moreintermediary machines30.
Referring now toFIG. 65, one embodiment of amethod6500 for reconnecting a client to a host service after a network failure is illustrated. Atstep6502, theclient machine10 initially connects to one of a plurality of host services4516. Generally, theclient machine10 is required to transmit authentication credentials to the host service4516 to initiate the communication session. After theclient machine10 is connected to the host service4516, theclient machine10 and the host service4516 communicate, through thefirst protocol service4502, and atstep6504, via a plurality of secondary protocols encapsulated within the first protocol as discussed above in reference toFIGS. 47-48 andFIG. 49. In one embodiment, thefirst protocol service4502 encrypts, prior to the transmission of any first protocol packets, communications at the level of thefirst protocol4704, thereby securing the communications. In another embodiment, thefirst protocol service4502 compresses, prior to the transmission of any first protocol packets, the communications at the level of the first protocol, thereby improving communication efficiency.
Atstep6506, theclient agent4506 determines whether theconnection4504 between theclient agent4506 and thefirst protocol service4502 has failed. For example, theconnection4504abetween theclient agent4506 and theintermediary machine30 may have failed, theconnection4504bbetween theintermediary machine30 and thefirst protocol service4502 may have failed, or both theconnection4504aand theconnection4504bmay have failed. If theclient agent4506 determines that theconnection4504 has not failed, themethod6500 proceeds to step6508. If, on the other hand, theclient agent4506 determines that theconnection4504 has failed, theclient machine10 is, atstep6510, reconnected to the host service4516.
The step of reconnecting instep6510 after a first communication session ends abnormally, can comprise in asystem4500 deploying aticket authority6102 and theclient machine10 transmitting the SID and the first and second reconnection tickets to theintermediary machine30. Theintermediary machine30 uses the first reconnection ticket to authenticate theclient machine10 and re-establish theconnection4504 between theclient machine10 and theintermediate node30′. Theintermediary machine30 then transmits the second reconnection ticket to thefirst protocol service4502, which uses the second reconnection ticket to authenticate re-establish the connection4508 to the host service4516. The reconnection tickets thus allow theclient machine10 to automatically establish a second communication session to the host service4516 without retransmitting the authentication credentials a second time.
In another embodiment, the step of reconnecting, instep6510, can also comprise asystem4500 deploying anACR Service5002. In such an embodiment, theclient machine10 transmits a first SID and first key to theintermediary machine30 to authenticate theclient machine10 and reestablish the connection of theclient machine10 to the host service4516.
It is determined, atstep6508, whether theclient machine10 wishes to cleanly terminate itsconnection4504 with thefirst protocol service4502 and, consequently, its connections4508a-4508nwith the host services4516a-4516n. If not, communication between theclient machine10 and thefirst protocol service4502, via the plurality of secondary protocols encapsulated within the first protocol, continues atstep6504. If so, then, atstep6512, allconnections4504a,4504b, and4508a-4508nare broken and all reconnection tickets are deleted. In another embodiment using anACR Service5002, atstep6512, allconnections4504a,4504b, and4508a-4508nare broken and all SIDS and keys are deleted. In one embodiment, theintermediary machine30 uses a handle it receives from theticket authority6102 to delete a copy of a first reconnection ticket kept at theticket authority6102. In another embodiment deploying aticket authority6102, thefirst protocol service4502 deletes a copy of a second reconnection ticket kept at thefirst protocol service4502. In yet another embodiment deploying theACR Service5002, thefirst protocol service4502 deletes a copy of a second SID and second key kept at thefirst protocol service4502.
In a further embodiment using aticket authority6102, if for some reason a secondary protocol connection4508 fails, a copy of the second reconnection ticket associated therewith and kept at thefirst protocol service4502 is deleted by thefirst protocol service4502. In yet another embodiment, a first reconnection ticket and/or a second reconnection ticket is automatically deleted after a pre-determined period of time following a failure in theconnection4504, as atstep6506, and/or following a clean termination of theconnection4504, as atstep6508.
In another aspect, this invention relates to methods for reconnecting theclient machine10 to the host service4516 using theACR Service5002. Referring now toFIG. 66, one embodiment ofstep6510 inFIG. 65 is illustrated. Theclient machine10 transmits the first SID and the first key to theACR Service5002 to reconnect to the host service (step6602). TheACR Service5002 uses the SID (step6604) to locate and retrieve the encrypted authentication credentials and uses the key (step6606) to decrypt the retrieved authentication credentials. In one embodiment (not shown), theACR Service5002 uses the decrypted authentication credentials to re-authenticate theclient machine10 to the maintained session between thefirst protocol service4502 and the host service4516. After re-authenticating, the reestablished connection of theclient machine10 to the first protocol service4516 is re-linked to the maintained session between thefirst protocol service4502 and the host service4516.
In another embodiment, during the second communication session, theACR Service5002 generates (step6608) a second key for the authentication credentials and then encrypts (step6610) the authentication credentials using the second key. TheACR Service5002 creates a second SID (step6612). Then the decrypted authentication credentials are re-authenticated with the host service4516 and the second SID is associated with the maintained communication session with the host service4516 (step6612a). TheACR Service5002 then transmits the second SID and second key to the client machine10 (step6614). In one embodiment, theACR Service5002 may transmit the second SID and second key through anintermediary machine30. Theclient machine10 stores the second SID and second key (step6616). TheACR Service5002 then deletes the second key (step6618).
Referring toFIGS. 67-68, one embodiment of amethod6700 for initially connecting theclient machine10 to the host service4516 using anACR Service5002 is illustrated. Atstep6702, theclient machine10, using thebrowser6302, sends a request, such as, for example, an HTTP request, to the firstremote machine30. The firstremote machine30 returns a web page, such as, for example, an HTML form requesting authentication information (e.g., a username and a password). A user of theclient machine10 enters his authentication credentials and transmits the completed form to the firstremote machine30.
The firstremote machine30, atstep6704, then informs the user of theclient machine10 of applications available for execution. In one embodiment, the firstremote machine30 extracts the user's credentials from the login page and transmits them to the secondremote machine30, together with a request for the secondremote machine30 to enumerate the applications available to the user. Based on the user's credentials, the secondremote machine30 returns a list of specific applications available to the firstremote machine30, which then forwards the list, in the form of a web page for example, to the user of theclient machine10.
Atstep6706, the user selects the desired application and a request for that application is sent to the firstremote machine30. For example, in one embodiment, the user clicks on a desired application listed in the web page presented to him by the firstremote machine30 and an HTTP request for that application is forwarded to the firstremote machine30. The request is processed by thefirst computing node140 and forwarded to the secondremote machine30.
Atstep6708, the secondremote machine30 determines the host service4516 on which the desired application will be executed. The secondremote machine30 can make that determination based, for example, on a load balancing equation. In one embodiment, the secondremote machine30 also determines afirst protocol service4502 from amongst a plurality offirst protocol services4502 that will be used to communicate with the host service4516 via a connection4508. Again, the secondremote machine30 can make that determination based, for example, on a load balancing equation. The secondremote machine30 returns the address of the chosen host service4516 and the chosenfirst protocol service4502 to the firstremote machine30.
Theclient machine10, atstep6710, is then provided with an initial connection session id and key, a first SID and first key, and an address for the intermediary machine30 (which is either its actual address or its virtual address, as described below). In one embodiment, the firstremote machine30 provides the address for the chosen host service4516 and the chosenfirst protocol service4502 to theACR Service5002, together with a request for the initial connection session id and key. TheACR Service5002 generates the initial session id and key, and transmits the session id and key to the firstremote machine30, while keeping a copy for itself.
In some embodiments, theticket authority6102 generates an initial connection ticket. In one of these embodiments, theticket authority6102 keeps the address of the chosen host service4516 and the chosenfirst protocol service4502, generates the initial connection ticket, and transmits the initial connection ticket to the firstremote machine30, while keeping a copy for itself. In one embodiment, theticket authority6102, in response to the request for the initial connection ticket by the firstremote machine30, generates connection tickets for each of the “hops” between theclient machine10 and the host service4516. In another embodiment, the firstremote machine30 requests initial connection tickets for each of the “hops” either in a single request or in multiple requests.
The firstremote machine30, configured, in one embodiment, with the actual address of theintermediary machine30, then transmits the actual address of theintermediary machine30 and the initial connection session id and key to thebrowser6302 of theclient machine10. In some embodiments, an initial connection ticket is transmitted. The firstremote machine30 can, for example, first create a file containing both the actual address of theintermediary machine30 and the initial connection ticket and then transmitting the file to thebrowser6302 of theclient machine10. Optionally, in another embodiment, the firstremote machine30 is configured with the actual address of two or moreintermediary machines30. In such an embodiment, the firstremote machine30 first determines theintermediary machine30 through which messages between theclient machine10 and thefirst protocol service4502 will have to pass. The firstremote machine30 then transmits the actual address of that chosenintermediary machine30 and the initial connection ticket to thebrowser6302 of theclient machine10 using, for example, the file described above. In one embodiment, the firstremote machine30 chooses theintermediary machine30 using a load balancing equation. Theclient agent4506 of theclient machine10 is then launched and uses the address of theintermediary machine30, to establish, atstep6712, afirst protocol connection4504abetween theclient agent4506 of theclient machine10 and theintermediary machine30.
Alternatively, in another embodiment, the firstremote machine30 is configured with an actual address of the thirdremote machine30, which serves as a virtual address of anintermediary machine30. In such an embodiment, the firstremote machine30 transmits, atstep6710, the actual address of the thirdremote machine30 and the initial connection session id and key to thebrowser6302 of theclient machine10 using, for example, the file described above. Theclient agent4506 of theclient machine10 is then launched and uses the actual address of the thirdremote machine30 to establish, atstep6712, a first protocol connection between theclient agent4506 of theclient machine10 and the thirdremote machine30. The thirdremote machine30 then determines theintermediary machine30 through which messages between theclient machine10 and thefirst protocol service4502 will have to pass. In one embodiment, the thirdremote machine30 chooses theintermediary machine30 using a load balancing equation. Having chosen theintermediary machine30, the thirdremote machine30 establishes a first protocol connection to theintermediary machine30. Afirst protocol connection4504atherefore exists, through the thirdremote machine30, between theclient agent4506 of theclient machine10 and theintermediary machine30. The actual address of the thirdremote machine30 is therefore mapped to the actual address of theintermediary machine30. To theclient agent4506 of theclient machine10, the actual address of the thirdremote machine30 therefore serves as a virtual address of theintermediary machine30.
In one embodiment, where more than one level ofintermediary machines30′ exist, as described above, the firstremote machine30 or the thirdremote machine30, respectively, only choose theintermediary machine30 to which theclient agent4506 will connect at level “a.” In such an embodiment, at each of the levels “a”-“n−1”, theintermediary machine30 through which theclient agent4506 is routed at that level thereafter determines, based on a load balancing equation for example, theintermediary machine30 to which it will connect at the next level. Alternatively, in other embodiments, the firstremote machine30 or the thirdremote machine30, respectively, determine, for more than one or all of the levels “a”-“n”, theintermediary machines30 through which theclient agent4506 will be routed.
Having established thefirst protocol connection4504abetween theclient agent4506 of theclient machine10 and theintermediary machine30, for example theintermediate node30′ at level “n” (hereinafter referred to inmethod6700 as the intermediary machine30), theclient agent4506 then transmits the initial connection ticket to theintermediary machine30.
It is then determined, atstep6714, whether the initial connection SID and key is valid. In one embodiment, theintermediary machine30 transmits the initial connection SID and key to theACR Service5002 for validation. In one embodiment, theACR Service5002 validates the SID and key by comparing it to the copy of the SID and encrypted authentication credentials it kept atstep6710. If theACR Service5002 determines the SID and key to be valid, theACR Service5002 transmits, at step6802 (FIG. 68), the address of thefirst protocol service4502 and the address of the chosen host service4516 to theintermediary machine30. Thefirst protocol service4502 can also delete the SID and key and any copy thereof. If, on the other hand, theACR Service5002 determines the SID and key to be invalid, theclient machine10 is, atstep6716, refused connection to thefirst protocol service4502 and, consequently, connection to the host service4516. In some embodiments, theticket authority6102 receives an initial connection ticket from theintermediary machine30 for validation and validates the ticket as described above.
Followingstep6802, theintermediary machine30 uses the address of the chosenfirst protocol service4502 to establish, atstep6804, afirst protocol connection4504bbetween theintermediary machine30 and thefirst protocol service4502. In one embodiment, theintermediary machine30 uses an initial connection ticket to establish thefirst protocol connection4504bbetween theintermediary machine30 and thefirst protocol service4502. In one case, theintermediary machine30 uses the same initial connection ticket received from theclient machine10 to validate theconnection4504b. In another case, theintermediary machine30 uses an initial connection ticket generated for and valid for thefirst protocol connection4504b. Afirst protocol connection4504 therefore now exists, through theintermediary machine30, between theclient agent4506 of theclient machine10 and thefirst protocol service4502. Theintermediary machine30 can also pass the address of the chosen host service4516 to thefirst protocol service4502.
In one embodiment, atstep6806, thefirst protocol service4502 uses the address of the chosen host service4516 to establish a secondary protocol connection4508 between thefirst protocol service4502 and the chosen host service4516. For example, the chosen host service4516 is in fact thehost service4516aand asecondary protocol connection4508ais established between thefirst protocol service4502 and thehost service4516a.
In one embodiment, followingstep6806, the user chooses, atstep6808, a second application to be executed and the secondremote machine30 determines, atstep6810, the host service4516 on which the second application is to be executed. For example, by calculating a load balancing equation, the secondremote machine30 may choose thehost service4516bto execute the second application program. The secondremote machine30 then transmits the address of the chosenhost service4516bto thefirst protocol service4502. In one embodiment, the secondremote machine30 is in direct communication with thefirst protocol service4502 and directly transmits the address thereto. In another embodiment, the address of the chosenhost service4516bis indirectly transmitted to thefirst protocol service4502. For example, the address can be transmitted to thefirst protocol service4502 through any combination of the firstremote machine30, theACR Service5002, theintermediary machine30, and thefirst protocol service4502. Having received the address of the chosenhost service4516b, thefirst protocol service4502 establishes, atstep6812, asecondary protocol connection4508bbetween thefirst protocol service4502 and the chosenhost service4516b.
The secondary protocols that can be used to communicate over theconnections4508aand4508binclude, but are not limited to, HTTP, FTP, Oscar, Telnet, ICA, and RDP. Moreover, in one embodiment, at least one of the secondary protocols, as described above, includes a plurality of virtual channels, each of which can include a plurality of protocol packets enabling functionality at theclient machine10. For example, in one embodiment, onehost service4516ais a web server, communicating with thefirst protocol service4502 over theconnection4508ausing the HTTP protocol, and anotherhost service4516bis an application server, communicating with thefirst protocol service4502 over theconnection4508busing the ICA protocol. Thehost service4516bgenerates both protocol packets for transmitting graphical screen commands to theclient machine10, for causing theclient machine10 to display a graphical user interface, and protocol packets for transmitting printer commands to theclient machine10, for causing a document to be printed at theclient machine10.
Steps6808,6810, and6812 can be repeated any number of times. As such, any number of application programs can be executed on any number of host services4516a-4516n, the outputs of which can be communicated to thefirst protocol service4502 over the connections4508a-4508nusing any number of secondary protocols.
Turning now to step6814, thefirst protocol service4502 can, as described above, encapsulate the plurality of secondary protocols within the first protocol. As such, theclient machine10 is connected to, and simultaneously communicates with, a plurality of host services4516.
In another embodiment, prior to performingsteps6808,6810, and6812 to execute a new application program on a host service4516, such as, for example, thehost service4516b, a user of theclient machine10 ends execution of another application program, such as, for example, an application program executing onhost service4516a. In such a case, thefirst protocol service4502 disrupts theconnection4508abetween thefirst protocol service4502 and thehost service4516a. Thefirst protocol service4502 then establishes, by implementingsteps6808,6810, and6812, theconnection4508bbetween thefirst protocol service4502 and thehost service4516b, without interrupting theconnection4504 between theclient machine10 and thefirst protocol service4502.
In one embodiment, a first SID and key is generated atstep6816. In some embodiments, a first re-connection ticket is generated. For example, theintermediary machine30 requests a first SID and key from theACR Service5002. Upon receiving the request, theACR Service5002 generates the first SID and key, and can also generate a handle, which is, for example, a random number. TheACR Service5002 can then transmit, atstep6902, the first SID and key and the handle to theintermediary machine30, while keeping a copy of the first SID and key and a copy of the handle. TheACR Service5002 continues to maintain the address of thefirst protocol service4502 that was transmitted to it by the firstremote machine30 atstep6710. Theintermediary machine30 then transmits, atstep6904, the first reconnection ticket to theclient machine10.
In some embodiments, theintermediary machine30 requests a first re-connection ticket from theticket authority6102 or requests a first re-connection ticket for each of the “hops” between theclient machine10 and the host service4516. Upon receiving the request, theticket authority6102 generates the one or more first re-connection tickets. A re-connection ticket is, for example, a large random number, and can also generate a handle, which is, for example, a smaller random number. Theticket authority6102 can then transmit, atstep6902, the first re-connection tickets and the handles to the intermediary node632, while keeping a copy of the first re-connection tickets and a copy of the handles. Theticket authority6102 continues to maintain the address of thefirst protocol service4502 that was transmitted to it by the firstremote machine30 atstep6710. The intermediary node632 then transmits, atstep6904, the client's first re-connection ticket to theclient machine10.
Atstep6906, a second SID and key is then generated. In one embodiment, thefirst protocol service4502 generates the second SID and key. Thefirst protocol service4502, atstep6908, then transmits the second SID and key, through theintermediary machine30, to theclient machine10. In doing so, thefirst protocol service4502 keeps a copy of the key and a session number associated therewith for identifying the session to be reconnected following a disruption of theconnection4504. In one embodiment, for example, thefirst protocol service4502 maintains, for a particular session number, a table listing the secondary protocol connections4508a-4508nassociated with that session number.
Atstep6906, one or more second re-connection tickets are then generated. In one embodiment, thefirst protocol service4502 generates the second re-connection ticket for theclient machine10, which can be, for example, a large random number. In another embodiment, thefirst protocol service4502 generates second re-connection tickets for one or more of the “hops” between theclient machine10 and the host service4516. Thefirst protocol service4502, atstep6908, then transmits the client's second re-connection ticket, through theintermediary machine30, to theclient machine10. In doing so, thefirst protocol service4502 keeps a copy of the second re-connection ticket and a session number associated therewith for identifying the session to be re-connected following a disruption of theconnection4504. In one embodiment, for example, thefirst protocol service4502 maintains, for a particular session number, a table listing the secondary protocol connections4508a-4508nassociated with that session number. In a like manner, thefirst protocol service4502 may maintain the first and/or second re-connection tickets for each of the “hops” being validated to reconnect theclient machine10 to the host service4516.
Accordingly, following re-establishment of thefirst protocol connection4504 and validation of the second SID and key at thefirst protocol service4502, or second re-connection ticket, as described below, thefirst protocol service4502 can identify the secondary protocol connections4508 to be encapsulated within the re-establishedfirst protocol connection4504 for communication to theclient machine10.
In an embodiment not shown inFIGS. 67-69, aticket authority6102 can be used instead of theACR Service5002 to provide for reconnecting aclient machine10 to a host service4516. In themethod6700, theticket authority6102 would generate and transmit reconnection tickets instead of SIDs and keys as with theACR Service5002. For example, atstep6710, aticket authority6102 would provide theclient machine10 with an initial connection ticket and an address for theintermediary machine30. Also, instep6714, theticket authority6102 would determine if the initial connection ticket is valid and atstep6816, would generate a first reconnection ticket. Additionally, atsteps6902,6904,6906 and6908 the ticket authority would generate and transmit the first and second reconnection tickets in accordance withmethod6700. As such, theticket authority6102 facilitated the reconnecting of theclient machine10 to the host service4516.
Referring now toFIG. 70, one embodiment of amethod7000 for providing aclient machine10 with a persistent and reliable connection to one or more host services4516 and for reconnecting theclient machine10 to the host services4516 (for example atstep6510 ofFIG. 65) is illustrated. In particular, atstep7002, the secondary protocol connection4508 between thefirst protocol service4502 and each of the one or more host services4516 is maintained. Moreover, atstep7004, a queue of data packets most recently transmitted between theclient agent4506 of theclient machine10 and thefirst protocol service4502, via theconnection4504 that was determined to have broken, for example, atstep6510 ofFIG. 65, is maintained. In one embodiment, the data packets are queued and maintained both before and upon failure of theconnection4504. The queued data packets can be maintained, for example, in a buffer by theclient agent4506. Alternatively, thefirst protocol service4502 can maintain in a buffer the queued data packets. In yet another embodiment, both theclient agent4506 and thefirst protocol service4502 maintain the queued data packets in a buffer.
Atstep7006, a newfirst protocol connection4504 is established between theclient agent4506 of theclient machine10 and thefirst protocol service4502 and linked to the maintained secondary protocol connection4508 between thefirst protocol service4502 and each of the one or more host services4516, thereby reconnecting theclient machine10 to the host services4516. After theclient machine10 is reconnected, the queued data packets maintained atstep7004 can be transmitted, atstep7008, via the newly establishedfirst protocol connection4504. As such, the communication session between the host services4516 and theclient machine10, through thefirst protocol service4502, is persistent and proceeds without any loss of data. In one embodiment, theACR Service5002 authenticates theclient machine10 to the host service4516 before reconnecting theclient machine10 to a host service4516. In another embodiment, thefirst protocol service4502 validates a reconnection ticket with theticket authority6102 before reconnecting theclient machine10 to a host service4516.
In an embodiment with multiple “hops” traversing multiplefirst protocol services4502, a portion or all of the data packets may be maintained at one or more of thefirst protocol services4502 so that each “hop” may be re-established. After theclient machine10 is re-connected and re-linked to the first of the one or morefirst protocol services4502 as described above, each of the remaining connections may be re-established and re-linked to the previously re-linked “hop” until the final “hop” to the host service4516 is re-established. Either after the final “hop” is re-established and re-linked, or as each “hop” is re-established and re-linked, the queued data packets maintained can be transmitted.
FIGS. 71-72, illustrate one embodiment of amethod7100 for reconnecting theclient machine10 to the one or more host services4516 using anACR Service5002 as in the embodiment of thesystem4500 depicted inFIG. 64.
Atstep7102, any remaining connections between theclient machine10 and thefirst protocol service4502 are broken. For example, where theconnection4504ahas failed, but theconnection4504bhas not, theconnection4504bis broken. Alternatively, where theconnection4504bhas failed, but theconnection4504ahas not, theconnection4504ais broken.
In one embodiment, using the actual address of theintermediary machine30 provided to theclient machine10, theclient agent4506 of theclient machine10 then re-establishes, atstep7104, thefirst protocol connection4504abetween theclient agent4506 and theintermediary machine30. Alternatively, in another embodiment, using the actual address of the thirdremote machine30 provided to theclient machine10, theclient agent4506 of theclient machine10 then re-establishes, atstep7104, a first protocol connection between theclient agent4506 and the thirdremote machine30. The thirdremote machine30 then determines theintermediary machine30 through which messages between theclient machine10 and thefirst protocol service4502 will have to pass. In one embodiment, the thirdremote machine30 chooses theintermediary machine30 using a load balancing equation. Theintermediary machine30 chosen by the thirdremote machine30 in reconnecting theclient machine10 to the one or more host services4516 can be different from that chosen to initially connect theclient machine10 to the one or more host services4516. In one embodiment, an initial connection ticket for the chosenintermediary machine30 is generated when re-connecting theclient machine10 to a host service4516.
Having chosen theintermediary machine30, the thirdremote machine30 re-establishes a first protocol connection to theintermediary machine30. Afirst protocol connection4504ais therefore re-established, through the thirdremote machine30, between theclient agent4506 of theclient machine10 and theintermediary machine30. In one embodiment, when thefirst protocol connection4504 to theintermediary machine30 is re-established, thefirst protocol connection4504 is validated by validating a first or second re-connection ticket for this “hop” with theticket authority6102.
In one embodiment, where more than one level ofintermediary machines30 exist, theintermediary machine30 through which theclient agent4506 is routed at each of the levels “a”-“n−1” thereafter determines, based on a load balancing equation for example, theintermediary machine30 to which it will connect at the next level. Alternatively, in another embodiment, the thirdremote machine30 determines, for more than one or all of the levels “a”-“n”, theintermediary machines30 through which theclient agent4506 will be routed. In other embodiments, either theintermediary machine30 or one of the remote machines30 (e.g., the third remote machine30) generates first or second re-connection tickets for one or more of the connections or “hops” through which theclient agent4506 is routed.
Having re-established thefirst protocol connection4504abetween theclient agent4506 of theclient machine10 and theintermediary machine30, for example theintermediate node30′ at level “n” (hereinafter referred to inmethod7100 as the intermediary machine30), theclient agent4506 then transmits, atstep7106, the first SID and key and the second SID and key to theintermediary machine30. In one embodiment, theclient agent4506 transmits, atstep7106, the first re-connection ticket and the second re-connection ticket for theclient machine10 to theintermediary machine30.
It is then determined, atstep7108, whether the first SID and key is valid. In one embodiment, the validity of the first SID and key is determined by using theACR Service5002. For example, theintermediary machine30 transmits the first SID and key to theACR Service5002. In one embodiment, theACR Service5002 determines the validity of the first SID and key by comparing it to a copy of the first SID stored inmemory5018. If theACR Service5002 determines the first SID and key to be valid, theACR Service5002 re-authenticates theclient machine10 to the host service4516 and transmits, atstep7110, the address of thefirst protocol service4502 to theintermediary machine30. Otherwise, if theACR Service5002 determines the first SID and key to be invalid, theclient machine10 is, atstep7112, refused reconnection to thefirst protocol service4502 and, consequently, reconnection to the host services4516.
In one embodiment, the validity of a first re-connection ticket is determined by using theticket authority6102. For example, theintermediary machine30 transmits the first re-connection ticket to theticket authority6102. In one embodiment, theticket authority6102 determines the validity of the first re-connection ticket by comparing it to a previously kept copy of the first re-connection ticket. If theticket authority6102 determines the first re-connection ticket to be valid, theticket authority6102 transmits, atstep7110, the address of thefirst protocol service4502 to theintermediary machine30. Otherwise, if theticket authority6102 determines the first re-connection ticket to be invalid, theclient machine10 is, atstep7112, refused re-connection to thefirst protocol service4502 and, consequently, re-connection to the host services4516.
Atstep7114, the first SID and key is deleted by, for example, theACR Service5002 and a replacement second SID and key is generated by theACR Service5002. In some such embodiments, theACR Service5002 transmits the second SID and key to theintermediary machine30. In some embodiments, theACR Service5002 waits for theclient machine10 to acknowledge that it has received the second SID and key before it proceeds to delete the first SID and key.
In other embodiments, atstep7114, a first re-connection ticket is deleted by, for example, theticket authority6102 and a replacement first re-connection ticket is generated by, for example, theticket authority6102. Moreover, a replacement handle can be generated by, for example, theticket authority6102. In some such embodiments, theticket authority6102 transmits the replacement first re-connection ticket and the replacement handle to theintermediary machine30. Moreover, in some such embodiments, theticket authority6102 keeps a copy of the replacement first re-connection ticket. In some embodiments, theticket authority6102 waits for theclient machine10 to acknowledge that it has received the replacement first re-connection ticket before it proceeds to delete the first re-connection ticket.
After the first SID and key (or, in some embodiments, the first re-connection ticket) is validated, theintermediary machine30, using the address of thefirst protocol service4502, re-establishes, atstep7116, thefirst protocol connection4504bbetween theintermediary machine30 and thefirst protocol service4502. Having re-established thefirst protocol connection4504bbetween theintermediary machine30 and thefirst protocol service4502, it is then determined whether the second SID and key, or re-connection ticket, is valid.
In one embodiment, the validity of the second SID and key is determined by using thefirst protocol service4502. For example, theintermediary machine30 transmits the second SID and key to thefirst protocol service4502. In one embodiment, thefirst protocol service4502 determines the validity of the second SID and key by comparing it to a previously kept copy of the second SID and encrypted authentication credentials. If thefirst protocol service4502 determines the second SID and key to be valid, the re-establishedfirst protocol connection4504bbetween the firstintermediary machine30 and thefirst protocol service4502 is linked, atstep7202, to the maintained secondary protocol connection4508 between thefirst protocol service4502 and each of the one or more host services4516. Otherwise, if thefirst protocol service4502 determines the second SID and key to be invalid, the re-establishedfirst protocol connection4504bis not linked to the one or more maintained secondary protocol connections4508 and theclient machine10 is refused reconnection to the one or more host services4516.
In embodiments using re-connection tickets, the validity of the second re-connection ticket is determined by using thefirst protocol service4502. For example, theintermediary machine30 transmits the second re-connection ticket to thefirst protocol service4502. In one embodiment, thefirst protocol service4502 determines the validity of the second re-connection ticket by comparing it to a previously kept copy of the second re-connection ticket. In another embodiment, the first protocol service112 validates a first re-connection ticket for the connection between thefirst protocol service4502 and the host service4516, or in another embodiment, between thefirst protocol service4502 and anotherfirst protocol service4502 or anintermediary machine30. In a similar manner, each “hop” thereafter between thefirst protocol service4502 and the host service4516 may be validated with one or more tickets, either initial or re-connection tickets, to validate the continued use of the “hop” on behalf of theclient machine10.
If thefirst protocol service4502 determines the second re-connection ticket to be valid, the re-establishedfirst protocol connection4504bbetween the firstintermediary machine30 and thefirst protocol service4502 is linked to the maintained secondary protocol connection4508 between thefirst protocol service4502 and each of the one or more host services4516. Otherwise, if thefirst protocol service4502 determines the second re-connection ticket to be invalid, the re-establishedfirst protocol connection4504bis not linked to the one or more maintained secondary protocol connections4508 and theclient machine10 is refused re-connection to the one or more host services4516. In the case of a multiple-hop connection between thefirst protocol service4502 and the host service4516, each “hop” may be validated for re-connection and be linked to the previous “hop” until the final “hop” to the host service4516 is validated, or until one of the “hops” is refused re-connection.
Atstep7204, the second SID and key is deleted by, for example, thefirst protocol service4502 and a replacement second SID and key is generated by, for example, thefirst protocol service4502 for transmission to theclient machine10. In such an embodiment, thefirst protocol service4502 keeps a copy of the replacement second SID and key. In some embodiments, thefirst protocol service4502 waits for theclient machine10 to acknowledge that it has received the replacement second SID and key before it proceeds to delete the second session id and key
In some embodiments, the second re-connection ticket is deleted by, for example, thefirst protocol service4502 and a replacement second re-connection ticket is generated by, for example, thefirst protocol service4502 for transmission to theclient machine10. In such an embodiment, thefirst protocol service4502 keeps a copy of the replacement second re-connection ticket. In some embodiments, thefirst protocol service4502 waits for theclient machine10 to acknowledge that it has received the replacement second re-connection ticket before it proceeds to delete the second re-connection ticket. In the case of validating one or more of the “hops” for re-connecting aclient108, one or more replacement re-connection tickets, at step948, may be generated and/or a copy saved by the ticket authority136, intermediary nodes632, any of the computing nodes, or one or more of the first protocol services112.
At step7206, the replacement second SID and key are transmitted to theclient machine10. For example, theACR Service5002 can transmit, through theintermediary machine30, the replacement second SID and key to theclient machine10. Moreover, in one embodiment, thefirst protocol service4502 transmits, through theintermediary machine30, the replacement second SID and key to theclient machine10.
In some embodiments, the replacement first re-connection ticket and the replacement second re-connection ticket are transmitted to theclient machine10. For example, theticket authority6102 can transmit, through theintermediary machine30, the replacement first re-connection ticket to theclient machine10. Moreover, in one embodiment, thefirst protocol service4502 transmits, through theintermediary machine30, the replacement second re-connection ticket to theclient machine10. In other embodiments, the replacement re-connection tickets for one or more “hops” may be transmitted to one or more of theintermediary machine30, any of the computing nodes, or one or more of thefirst protocol services4502.
Alternatively, in other embodiments, the methods described above provide for only a single re-connection ticket for theclient machine10 and/or a single re-connection for each of the “hops” between theclient machine10 and a host service4516. As such, rather than using both first and second re-connection tickets, in these embodiments, only the aforementioned single re-connection ticket is used. In one such embodiment, theclient agent4506 of theclient machine10 is also provided with the address of thefirst protocol service4502. To re-connect to the host services4516, theclient agent4506 transmits the single re-connection ticket directly to thefirst protocol service4502. Thefirst protocol service4502 then determines whether the single re-connection ticket is valid. In one embodiment, thefirst protocol service4502 determines the validity of the single re-connection ticket by comparing it to a previously kept copy of the single re-connection ticket. If thefirst protocol service4502 determines the single re-connection ticket to be valid, the re-establishedfirst protocol connection4504 between theclient machine10 and thefirst protocol service4502 is linked to the maintained secondary protocol connection4508 between thefirst protocol service4502 and each of the one or more host services4516. Otherwise, if thefirst protocol service4502 determines the single re-connection ticket to be invalid, the re-establishedfirst protocol connection4504 is not linked to the one or more maintained secondary protocol connections4508 and theclient machine10 is refused re-connection to the one or more host services4516.
After the single re-connection ticket is validated, the single re-connection ticket is deleted by, for example, thefirst protocol service4502 and a replacement single re-connection ticket is generated by, for example, thefirst protocol service4502 for transmission to theclient machine10. In transmitting the replacement single re-connection ticket to theclient machine10, thefirst protocol service4502 keeps a copy of the replacement single re-connection ticket. In some embodiments, thefirst protocol service4502 waits for theclient machine10 to acknowledge that it has received the replacement single re-connection ticket before it proceeds to delete the single re-connection ticket.
In yet another embodiment, like the first and second re-connection tickets, the single re-connection ticket is configured for automatic deletion after a pre-determined period of time following a failure in theconnection4504, and/or following a clean termination of theconnection4504.
In an embodiment not shown inFIGS. 71-72, aticket authority6102 could also be used instead of theACR Service5002 for reconnecting aclient machine10 to a host service4516. In themethod7100, theticket authority6102 would generate and transmit reconnection tickets instead of SIDs and keys as with theACR Service5002. For example, atstep7106, aticket authority6102 would determine instep7108 if a first reconnect ticket received from theintermediary machine30 instep7106 is valid. Atstep7114 theticket authority6102 would delete the first reconnection ticket and generates a second reconnection ticket with a handle. As such, theticket authority6102 facilitates re-establishing and re-authenticating the communication session of theclient machine10 to the host service4516.
Performance of thenetwork150 can be monitored to increase performance perceived by the user of aclient machine10. The bandwidth and latency of thenetwork150 is a factor that affects the interaction experience of the end-user of theclient machine10. Other factors include the number of virtual machines executing on aremote machine30 or the number of applications executing within a virtual machine on theremote machine30, the amount of data being executed (or load) of the applications, the amount of processing (or load) being done by theclient machine10. During operation, each of these factors fluctuates. As data is transmitted through thenetwork150 the amount of available bandwidth of the network is reduced. The number of requests to aremote machine30 increases and decrease thereby varying the load of theremote machine30. One aspect of the invention features systems and method for determining whether and how these independent changes affect the interaction experience of the end-user.
FIG. 73 is a conceptual block diagram of an embodiment of a system that includesclient software7302 andremote machine software7306 which monitor the status of the connection between theclient machine10 and theremote machine30. It should be understood the various modules are not necessarily individual applications. Instead, the modules can be provided as a single software application or grouped as any combination of individual applications. Additionally, certain modules may be physical hardware.
Theclient software7302 is in communication with atransceiver module7304 of theclient machine10. Theclient software7302 includes atrigger module7308 in communication with thetransceiver module7304. Thetrigger module7308 generates amessage7310 that is transmitted to theremote machine software7306. Themessage7310 is configured to generate a response from theremote machine software7306 when the message is processed by theremote machine30. For example, the message can include a user input event that results in a graphical response from the remote machine. In one embodiment, thetrigger module7308 generates themessage7310 on a periodic basis. The length of the period can be configurable by the user of theclient machine10 or another user such as a system administrator. In another embodiment, the trigger module generates themessage7310 in response to a specific end-user input usinginput device7312.
Thetransceiver module7304 is in communication withnetwork150 and is configured to transmit themessage7310 from theclient machine10 to theremote machine30 via thenetwork150 and receive a response from theremote machine30. If necessary, thetransceiver module7304 formats themessage7310 for transmission via thenetwork150 and formats the response for execution by theclient software7302.
Optionally, theclient software7302 can include atimer module7316 and acalculation module7314. Thetimer module7316 is in communication with thetrigger module7308 and thecalculation module7314. Thetimer module7316 is configured to measure the elapsed time from the generation of themessage7310 until theclient machine10 completes the instructions included in the response from the remote machine. In one embodiment, thetimer module7316 generates a start timestamp and a completion timestamp and determines the elapsed time therebetween. In another embodiment, the timer module acts as a stopwatch and generates the elapsed time without performing calculations. In one embodiment, the elapsed time is sent to anotherremote machine30′ for further processing, such a calculation of an expected elapsed time, trending analysis, and storage. In another embodiment, the elapsed time is forwarded to the calculation module from comparison against an expected value to determine if theenvironment7300 is operating within specification. In still another embodiment, the elapsed time is forwarded to theremote machine30 that the client is communicating with.
Theremote machine software7306 is in communication with atransceiver module7326 of theremote machine30. Theremote machine software7306 includes an echo application7318, anoptional initiation module7320, and anoptional confirmation module7328. In one embodiment, theremote machine software7306 is in communication with theapplication programs7322 and the operating system7324 that are executing on theremote machine30. In another embodiment, theremote machine software7306 is in communication with a computing environment and a hypervisor executing on theremote machine30. In still other embodiments, theremote machine software7306 executes in a virtual machine provided by a hypervisor and, in these embodiments, communicates with application programs provided by the computing environment and the virtualized operating system of the virtual machine. The echo application7318 is in communication with thetransceiver module7326 and if present each of theinitiation module7320 and theconfirmation module7328. In one embodiment, the echo application7318 is invisible to the end-user of theclient machine10. For example, the echo application7318 can be a windowless (e.g., stealth application). The end-user does not interact directly with the echo application7318.
The echo application generates agraphical response7330 to themessage7310 from theclient software7302. Thegraphical response message7330 includes instructions to manipulate, modify, update, alter, or change the display of theclient machine10 in a manner that is not perceivable by the end-user of theclient machine10, but is perceivable byclient software7302 of theclient machine10. In one embodiment, the echo application7318 executes invisibly alongside theapplication programs7322. In such an embodiment, the echo application7318 is subject to the same environmental effects and changes as theapplication programs7322.
Thetransceiver module7326 is in communication withnetwork150 and is configured to transmit theresponse7330 from theremote machine30 to theclient machine10 via thenetwork150 and receive themessage7310 from theclient machine10. If necessary, thetransceiver module7304 formats theresponse7330 for transmission via thenetwork150 and formats themessage7310 for execution by theremote machine30. The transceiver module forwards the receivedmessage7310 to the operating system7324 of theremote machine30.
The operating system7324 is configured to read and process themessage7310 to generate aninput event7332 for the echo application7318. Theinput event7332 can be a known WINDOWS input event or a custom input event. Conceptually, theinput event7332 is configured to cause the echo application7318 generate thegraphic response7330.
Theinitiation module7320 is in communication with theapplication programs7322 and the operating system7324. In one embodiment, theinitiation module7320 monitors theapplication programs7322 and automatically initiates the echo application7318 when a specific one of the application of theapplication programs7322 begins executing on theremote machine30. In another embodiment, theinitiation module7320 initiates the echo application when theremote machine30 receives themessage7310. In another embodiment, the echo application7318 is initiated when a client/remote machine session begins and remains quiescent until themessage7310 is received. It should be understood that the initiation module can initiate one or more instances of the echo application7318. For example, theinitiation module7320 may start a respective echo application7318 for eachclient machine10 that connects to theremote machine30 or that connects to a virtual machine provided by theremote machine30.
Theconfirmation module7328 is in communication with the echo application7318. In one embodiment, a function performed by theconfirmation module7328 includes monitoring the echo application7318 to ensure an instance of the echo application7318 is executing for each connection between aclient machine10 and aremote machine30 that is of interest. Theconfirmation module7328 may report whether the echo application7318 is running and functioning properly to anotherremote machine30′, such as a management server described above, or theconfirmation module7328 may report whether the echo application7318 is running and functioning properly to the operating system7324 of theremote machine30 or to a virtual machine provided by a hypervisor.
With reference toFIG. 74, an embodiment of amethod7400 of operation and interaction between theclient machine10 andremote machine30 is described. As a general overview, the method can be conceptualized as a generating a measurement for use in calculating an end-user experience metric in the remote machine basedcomputing environment7300. The operation of theclient software7302 and theremote machine software7306 includes transmitting themessage7310 to the application7318 (step77410), receiving a graphic response (step77420) from the application7318, and determining an elapsed time (step77430) that represents the end-user's interaction experience.
In one embodiment, thetrigger module7308 on theclient software7302 transmits themessage7310 via thetransceiver7304 on a periodic basis. In another embodiment, thetrigger module7308 generates themessage7310 in response to end-user input. Themessage7310 can include instructions to generate a WINDOWS message that is forwarded to the application7318. Alternatively, themessage7310 can be the WINDOWS message and represent an input event to the application7318. In one embodiment, themessage7310 is transferred over a separate virtual channel within the ICA protocol stream, and a WINDOWS message generated by theremote machine software7306 when themessage7310 is received.
When theremote machine software7306 receives themessage7310, the echo application7318 processes the instructions of themessage7310 and generates thegraphic response7330. In one embodiment, thegraphic response7330 generates a change on the display of the client that is undetectable by the end-user. In various embodiments, thegraphic response7330 can include instructions to change a small number of pixels on the client display, instructions to change single pixel at the origin (i.e., top left corner) of the client display, instructions to cycle a pixel of the display through a range of values, or instructions to cycle a change through a range of pixel locations of the display.
When theclient software7302 processes thegraphic response7330, the elapsed time between the transmission of the transmission of themessage7310 and the completion of the processing of thegraphic response7330 is determined. In one embodiment, theclient software7302 determines the elapsed time and forwards the elapsed time to a managementremote machine30′ for storage and trending analysis. In another embodiment, a start timestamp and an end timestamp are forwarded from thetimer module7316 the managementremote machine30′. In such an embodiment the managementremote machine30′ determines the elapsed time. It should be understood that the elapsed time measurement is equivalent to the interaction experience as used herein.
The managementremote machine30′ can store multiple interaction experience measurements. The stored measurements can be used to isolate which portion of aclient machine10 connection is not performing as expected. For example, network timing measurement for the same time period can be compared to the interaction experience to isolate application, virtual machine, and execution machine load trends. Also, the stored interaction experience measurements can be analyzed using known methods to determine an expected interaction experience value. The expected value can be compared to the measured value, either by thecalculation module7314 of theclient software7302 or the managementremote machine30′.
With reference toFIG. 75, an embodiment of theoperational method7500 of theremote machine30 andremote machine software7306 is described. After theclient machine10 initiates (step77505) established a session with aremote machine30, the remote machine software initiates (step77510) the echo application7318. Theremote machine30 receives (step77520) themessage7310 from theclient machine10. Once themessage7310 is received, theconfirmation module7328 confirms (step77530) that the echo application7318 is executing. From themessage7310, the operating system7324, or the hypervisor, generates (step77540) theinput event7332 that is processed by the echo application to generate (step77550) thegraphic response7330.
Theremote machine software7306initiation module7320 initiates (step77510) the echo application7318 when theclient machine10 starts the session. In one embodiment, a single echo application7318 is initiated. In other embodiments, an echo application7318 is started for each of theapplications programs7322 executing on theremote machine30. In such embodiments, the interaction experience can be measured on an application by application basis. In other embodiments, an echo application7318 is started for each of the virtual machines executing on theremote machine30. In these embodiments, the interaction experience can be measured on a virtual machine basis. In another embodiment, a single echo application7318 is started for an execution machine executing multipleprogram application programs7322. For example, a remote machine may communicate withmultiple client machines10. Each of theclient machines10 connects to theremote machine30 through a different network path and thus has a different interaction experience. The echo application7318 is not visible to the user. That is, the user does not interact directly with the echo application7318 and the echo application7318 is not show on the display of the client. In one embodiment, the echo application7318 is a windowless application.
Thetransceiver module7326 receives (step77520) themessage7310 from theclient machine10. In one embodiment, thetransceiver module7326 includes a network interface card that communicates with thenetwork150. The transceiver module can format the receivedmessage7310 so that themessage7310 is readable by the operating system7324.
Prior to generating thegraphic response7330, theconfirmation module7328 confirms (step77530) that the echo application7318 is executing in user space assigned by the operating system. In some embodiments, the user space is assigned by the native operating system, that is, the operating system of the execution machine. In other embodiments, the user space is assigned by a virtualized operating system, that is, an operating system of a virtual machine provided by a hypervisor. In one embodiment, theconfirmation module7328 communicates an indication that the echo application7318 is executing to the operating system. In one embodiment, theremote machine30 creates a log even on theremote machine30 to indicate that echo application7318 was not running when themessage7310 was received or when the session was initiated.
Once confirmation of the execution of the echo application7318 is received, the operating system processes themessage7310 thereby generating (step77540) theinput event7332. In one embodiment, the input event is a WINDOWS message that is forwarded to the echo application7318 to model a normal input event WINDOWS message. The input event is designed to cause the echo application7318 to generate agraphic response7330. Exemplary input events can include, but are not limited to, mouse movements, keyboard strokes, window generation, window destruction, or any other event that generates a graphic response from the echo application7318. In another embodiment, the input event is a custom “user-defined” application specific WINDOWS message.
The echo application7318 processes theinput event7332 and generates (step77550) thegraphic response7330, which is in turn forwarded to theclient machine10. In various embodiments, thegraphic response7330 is generated once the echo application7318 has performed a set of tasks such as: calculations, memory usage, disk access, and network resource access. The echo application7318 can be configured by an administrator to perform specified tasks. In another embodiment, the echo application7318 can perform execution tasks that mirror an application program158 executing on theremote machine30 and generate thegraphic response7330.
In one embodiment, thegraphic response7330 includes instructions that cause a change on the display of theclient machine10 that is not detectable by the end-user. For example, thegraphic response7330 includes instructions to change a single pixel at the origin of the display. More complex graphic responses can be used to differentiate from graphic generated by theapplication programs7322 or to detect any response indicators lost from graphic protocol optimizations. For example, the pixel value can cycle through an expected range of values. In another embodiment, the graphic response causes a pixel location to cycle through an expected range of pixel locations. Another example of a graphic response is a BitBlt with an unexpected Raster-Operation, either to the display or an off-screen surface (e.g., an off-screen buffer).
In addition to measuring the overall end-user interaction experience, in various embodiments, sub-metrics that comprise the overall end-user interaction experience metric can be measured and recorded. Generally, these sub-metrics include the time required by theclient machine10 to generate and send thetrigger message7310, thenetwork150 latency, the time required by theremote machine30 to process themessage7310 and generate and transmit thegraphic response7330, and the time required by theclient machine10 to process thegraphic response7330.
With reference toFIG. 76 andFIG. 77, embodiments of a method of generatingclient machine10 sub-metrics are described. From the perspective of theclient machine10, there are two types of sub-metrics that are generated a) those related to generating and transmitting thetrigger message7310 as shown inFIG. 76 and b) those related to detecting and processing thegraphic response7330 as shown inFIG. 77.
With reference toFIG. 76, one embodiment of amethod7600 for capturing sub-metrics related to generating thetrigger message7310 is described. Assuming that thetrigger message7310 is generated in response to use of theinput device7312, thetrigger module7304 detects (step77610) use of the input event and marks (step77620) the time of detection. The trigger module generates (step77630) themessage7310 and marks (step77640) the time the message generating is completed. Thetrigger module7308 forwards themessage7310 to the transceiver304, which then transmits (step77650) themessage7310 to theremote machine30. Thetrigger module7308 or thetransceiver module7304 marks (step77660) the time themessage7310 is transmitted to theremote machine30.
With reference toFIG. 77, one embodiment of amethod7700 for capturing sub-metrics related to processing theresponse7330 is described. The transceiver304 receives (step7710) thegraphic response7330 from theremote machine30 and marks (step7720) the time of receipt. Theclient software7302 process (step7730) thegraphic response7330. Upon completion of processing thegraphic response7330, theclient software7302 marks (step7740) the time of completion. Once complete, theclient software7302 displays the graphic response and detects (step7750) that thegraphic response7330 is displayed. Theclient software7302 also marks (step7760) the time of detection on the display.
The above-described actions of marking certain times that indicate the occurrence of certain events can occur in different ways. In one embodiment, multiple timers are started and stopped by thetimer module7316 upon the occurrence of each of the above-described events. In another embodiment, a single timer is used and the split times (i.e., the time elapsed between the occurrence of the events) are saved in a table that is accessible by thecalculation module7314. In still another embodiment, a time stamp is added to themessage7310 and thegraphic response7330 for each of the marking actions. In such an embodiment, prior to transmitting themessage7310 the time stamps are reported to thecalculation module7314, where the elapsed time between each time stamp is determined. These elapsed times represent the above-described different sub-metrics. It should be understood that various combinations of the elapsed times can also be used. For example, the time stamp related to the detection of the use of the input device and the time stamp that indicates the transmission of themessage7310 can be processed to determine the total elapsed used by theclient machine10 to generate and send themessage7310 to theremote machine30. The principles described above with respect to the generation of themessage7310 are equally applicable to the processing of thegraphic response7330 by theclient machine10.
With reference toFIG. 78, one embodiment of amethod7800 for capturing sub-metrics related to generating thegraphic response7330 is described. The transceiver320 receives (step7810) themessage7310 from theclient machine10 and marks (step7820) the time of receipt. The operating system7324 then generates (step7830) theinput event7332. Theremote machine software7306 marks (step7840) the time of completion of the generation of theinput event7332. The echo application7318 receives (step7850) theinput event7332 and theremote machine software7306 marks (step7860) the time of receipt of theinput event7332. Once the echo application7318 receives the input event, the echo application7318 generates (step7870) thegraphic response7330. Theremote machine software7306 marks (step7880) the time the echo application7318 completes generating thegraphic response7330. In one embodiment, the time required to generate thegraphic response7330 by the echo application7318 includes the echo application performing additional executions tasks that similar to those performed by theapplication programs7322. Thetransceiver module7326 receives thegraphic response7330 and transmits (step7890) thegraphic response7330 to theclient machine10. The remote machine software also marks (steps900) the time thegraphic response7330 is sent.
Similar to the marking of events described with reference to theclient machine10, the same methods can be employed with regard to theremote machine30. In one embodiment, multiple timers are started and stopped by thetimer module7316 upon the occurrence of each of the above-described events. In another embodiment, a single timer is used and the split times (i.e., the time elapsed between the occurrence of the events) are saved in a table that is accessible by thecalculation module7314. In still another embodiment, a time stamp is added to thegraphic response7330 for each of the marking actions. In such an embodiment, upon receipt of thegraphic response7330 the time stamps are reported to thecalculation module7314, where the elapsed time between each time stamp is determined. These elapsed times represent the above-described different sub-metrics. It should be understood that various combinations of the elapsed times can also be used. For example, the time stamp related to detecting receipt of themessage7310 and the time stamp that indicates the transmission of thegraphic response7330 can be processed to determine the total elapsed used by theremote machine30 to generate and send the graphic response to theclient machine10.
Referring now toFIG. 79, another system for increasing the convenience and usability of the systems described above is shown. A client-server computer system7900 includes afirst client machine10, asecond client machine10, and aremote machine30. The depiction of two client machines is for illustrative purposes only. The client-server computer system can include any number of client machines.
In one embodiment, thefirst client machine10 includes aninput module7908, aclient process7910, anetwork module7912, and adisplay module7914. Theinput module7908 provides an interface for a user of thefirst client machine10 to interact with thefirst client machine10, for example to request the remote execution of anapplication7916 in anapplication session7918 from theremote machine30.
Anapplication session7918 is a process, operating on theremote machine30 that provides access to or supports the execution of one or more resources, such asapplication7916. Anapplication7916 can be a software program, for example, or any organized set of software code capable of being executed by a computer, or hardwired into circuitry in the form of an Application Specific Integrated Circuit (ASIC), read only memory (ROM) microchip, and the like. Example applications include, but are not limited to Microsoft Word (available from Microsoft Corporation Redmond, Wash.), Internet Explorer (Microsoft), Acrobat (available from Adobe Systems, Inc. San Jose, Calif.), etc. In one embodiment, anapplication session7918 includes adesktop application7916 from which the execution ofother application7916 can be initiated.Application sessions7918 can be nested withinother application sessions7918. In another embodiment, theapplication session7918 includes an instance of the execution of asingle application7916.
In one embodiment, theinput module7908 is, for example, a graphical user interface that provides one or more icons or menu selections for a user to select. Each icon or menu selection represents aspecific application7916 available for remote execution. Selecting an icon or menu selection initiates the transmittal of a log-on request to theremote machine30 for access to thatapplication7916. In another embodiment, an icon or menu selection does not represent anyspecific application7916, but instead represents a generalremote machine30 log-on procedure. In another embodiment, theinput module7908 is non-graphical user interface. In this embodiment, the user can enter a command to send a log-on request toremote machine30. Entering a command can include typing a predefined set of characters or depressing a specified key sequence on an input device (e.g., a keyboard or keypad). The log-on request at least includes user-provided authentication information. Theinput module7908 accepts the input of the user-provided authentication information, which can include any type of authentication information, including without limitation any of user name-password/PIN combinations, voice samples, one-time passcodes, biometric data, digital certificates, smart card data, etc. In some embodiments, theinput module7908 is in communication with additional hardware peripherals (not shown) to facilitate acceptance of user authentication information. In other embodiments, theinput module7908 can accept authentication information outside of the log-on process.
Theinput module7908 accepts authentication information and provides it to theclient process7910. Theclient process7910 then manages the client side functionality of the remotely executing application session. Theclient process7910 forwards user input including the authentication information and requests for termination or disconnection ofapplication sessions7918 to theremote machine30. Theclient process7910 also handles data incoming from theremote machine30, for example, by forwarding the graphical output of anapplication session7918 to thedisplay module7914.
Thenetwork module7912 provides for communication between thefirst client machine10 and theremote machine30. The network module sends user input, such as authentication information and requests for access to, disconnection from, or termination ofapplication sessions7918 executing on theremote machine30. The network module also receives output from theapplication sessions7918 and forwards the output to theclient process7910. In one embodiment, thenetwork module7912 encapsulates user input into, and reconstitutes application session output from, a predetermined protocol for transmission to theremote machine30. In another embodiment, the network module encrypts outgoing transmissions and decrypts incoming transmissions.
Thedisplay module7914 displays the output of anapplication7916 from a remotely-executingapplication session7918. Thenetwork module7920 provides communication functionality for theremote machine30. For example, thenetwork module7920 receives communications from first andsecond client machines10 over one or more data networks or links150. Thenetwork module7920 also transmits resource output data to the first andsecond client machines10. In one embodiment, thenetwork module7920 encrypts outgoing communications and decrypts incoming communications. Likewise, in one embodiment, thenetwork module7920 encapsulates outgoing communications in a protocol for transmission and retrieves incoming data from transmissions received according to a protocol. Protocols can include, for example and without limitation, HTTP, Independent Computing Architecture (ICA) protocol (used by Citrix, Systems, Inc. Ft. Lauderdale, Fla.), Remote Desktop Protocol (RDP) (Microsoft Corporation), or Common Gateway Protocol (CGP) (Citrix). Thenetwork module7920 of theremote machine30 communicates with thenetwork module7912 of thefirst client machine10 over anetwork150. Thenetwork150 can be implemented with any of a variety of suitable technologies. Incoming communications, once decrypted or retrieved from a protocol (if necessary), are forwarded to anapplication session7918 or to theserver process7922, as appropriate.
Theserver process7922 manages the execution, suspension to disk, resumption of execution, suspension without writing state to disk, and termination ofapplication sessions7918 and the connections and disconnections of thoseapplication sessions7918 to the first andsecond client machines10. Theserver process7922 can initiatenew application sessions7918, disconnect aclient machine10 from anapplication session7918, detect aclient machine10 disconnection from anapplication session7918, locate anapplication session7918 from which a user has disconnected, locate an application to which a user of thefirst client machine10 is connected to from thesecond client machine10, and connect a user to adisconnected application session7918. In some embodiments, theapplication sessions7918 are provided so as to be configured with the user's personal preferences and access allowances.
Theserver process7922 may execute in the hypervisor, a virtual machine provided by the hypervisor, a guest operating system executing in a virtual machine, an operating system provided by the physical machine or in combinations of those entities.
Theapplication output transmitter7924 transmits output from anapplication session7918 to aclient machine10 through thenetwork module7920. Theapplication output transmitter7924 intercepts the output of anapplication session7918 and determines whichclient machine10 is connected to theapplication session7918. In other embodiments, the identity of theclient machine10 that is connected to theapplication session7918 is stored at the time the connection is made. If theapplication session7918 is connected to a client station, theapplication output transmitter7924 transmits the application output data to the connectedclient machine10 via thenetwork module7920. In one embodiment, if the application session is not connected to aclient machine10, theapplication output transmitter7924 discards the application output data and waits to receive future application output data. In another embodiment, if theapplication session7918 is not connected to aclient machine10, theapplication output transmitter7924 disregards all further application output data until theapplication output transmitter7924 receives notification that theapplication session7918 has connected to aclient machine10. In another embodiment, theapplication output transmitter7924 stores the data until theapplication output transmitter7924 receives notification that theapplication session7918 has connected to aclient machine10. In another embodiment, theapplication output transmitter7924 attempts to send application output data to aclient machine10 until theserver process7922 notifies theapplication output transmitter7924 that theclient machine10 is disconnected from theremote machine30. In one embodiment, theapplication output transmitter7924 determines whichclient machine10, if any, theapplication session7918 is connected to by consulting thedata store7926.
Thedata store7926 includes information related to application sessions initiated by users. The data store can be stored in volatile or non-volatile memory or, for example, distributed through multiple servers. In some embodiments, the functionality of adata store7926 is provided by asession server8620 as described in connection withFIG. 86.
In one embodiment,remote machine30 also includes arules source7928. The rules source7928 stores rules governing the reaction of theserver process7922 to a user transmitting authentication information to theremote machine30. In one embodiment, the rules stored in the rules source7928 are specified at least in part by the system administrator. In another embodiment, a user specifies at least some of the rules stored in therules source7928. The user-specified rule(s) are stored as preferences. The rules source7928 can be stored in volatile or non-volatile memory or, for example, distributed through multiple servers.
One rule stored in therule source7928, for example, might require or forbid automatic connection to disconnectedapplication sessions7918. Another rule might require or forbid automatic connection toactive application sessions7918 currently connected to adifferent client machine10. Yet another rule might make connection and/or connection contingent on theclient machine10 that requests access being within a secure network. A further rule might only allow connection toapplication sessions7918 after receiving user approval. Another rule might only allow connection for a predetermined time after disconnection. Still another rule only allows connection toapplication sessions7918 that includespecific application7916.
Theauthentication module7930 is responsible for authenticating a user that attempts to log on to theremote machine30. Theauthentication module7930 receives user-provided authentication information transmitted from thefirst client machine10. Theauthentication module7930 then authenticates the user based on the user-provided authentication information. In response to a successful authentication, theauthentication module7930 transmits the results of the authentication process (e.g., allow or deny access, the user's system ID, client computer ID, user access permissions, etc.) to theserver process7922.
In one embodiment, the above-described modules and processes of the remote machine30 (i.e., thenetwork module7920, theserver process7922, theapplication output transmitter7924, and the authentication module7930) and a client machine10 (i.e. theinput module7908, theclient process7910, thenetwork module7912 and the display module7914) are all implemented in software executable on one of several computer operating systems, including without limitation the Windows family of operating systems (Microsoft Corporation), the MacOS family of operating systems (Apple Computer, Inc., Cupertino, Calif.), and Unix based operating systems (e.g., Solaris, Sun Microsystems, Sunnyvale, Calif.). In other embodiments, one or more modules or processes are implemented in hardware as application specific integrated circuits (ASICs), Read Only Memory (ROM) devices, or other digital hardware circuitry.
Unintentional termination ofapplication sessions7918 resulting from imperfect network connections and users' failure to terminate theirapplication sessions7918 themselves can lead to user difficulties. One embodiment of the invention limits these difficulties by differentiating disconnection (which is treated as if the user is not done working with an application session7918) from termination (which is assumed to be an intentional end to the application session) and by correlatingapplication sessions7918 with users as opposed to client machines. When a user is finished using anapplication7916 operating in anapplication session7918, the user can terminate anapplication session7918. Termination generally involves the affirmative input of the user indicating that the server should no longer maintain theapplication session7918. Such affirmative user input can include selecting an “Exit” option from a menu, clicking on an icon, etc. In response to theserver process7922 receiving a termination request, the execution of theapplication session7918 and anyapplication7916 within thatapplication session7918 is halted. In one embodiment, data related to theapplication session7918 is also removed from thedata store7926.
Disconnection, either intentional or unintentional, on the other hand, does not result in termination ofapplication sessions7918. Since the application or applications operating in anapplication session7918 are executing on theremote machine30, a connection to thefirst client machine10 is not usually necessary to continue execution of theapplication7916, and in one embodiment theapplication7916 can continue to execute while waiting for the user to connect. In an alternative embodiment, upon disconnection of a user, theserver process7922 stalls the execution of theapplication7916 operating in theapplication session7918. That is, theserver process7922 halts further execution of theapplication7916, and theserver process7922 stores the operational state of theapplication7916 and any data theapplication7916 is processing. In a further embodiment, theserver process7922 can selectively stall execution ofspecific application7916 after a user disconnects. For example, in one embodiment, the server continues execution of anapplication7916 for a fixed time period, and if a user fails to connect within that time period, theserver process7922 stalls theapplication7916. In another embodiment, the server stalls specifiedapplication sessions7918 that cannot continue executing without user input. In each of the above-described embodiments, if the user of thefirst client machine10 disconnects from theremote machine30 and then connects to theremote machine30 while operating thefirst client machine10, thesecond client machine10, or a third client computer, theserver process7922 can connect the client computer operated by the user to one or more previously initiated, non-terminated application session(s)118 associated with the user, and reinitiate execution of any stalledapplication7916.
In one embodiment, theserver process7922 detects a disconnection. A user can intentionally and manually instruct the server to disconnect anapplication session7918 from theclient machine10 that the user is communicating from. For example, in one embodiment,application sessions7918 provide a menu option for disconnection (as distinguished from termination above) that a user can select. Theserver process7922 can also detect an unintentional disconnection. For example, in one embodiment, thenetwork module7920 of theremote machine30 informs theserver process7922 when a predetermined number of data packets transmitted by thenetwork module7920 to aclient machine10 have not been acknowledged by theclient machine10. In another embodiment, theclient machine10 periodically transmits a signal to theremote machine30 to confirm that a connection is still intact. If theserver process7922 detects that a predetermined number of expected confirmation signals from aclient machine10 have not arrived, theserver process7922 determines that theclient machine10 has disconnected. If theserver process7922 detects that a user has disconnected from anapplication session7918, either intentionally, or unintentionally, the entry in thedata store7926 related to the disconnectedapplication session7918 is modified to reflect the disconnection.
Referring also toFIG. 80, amethod8000 of providing remote access to an application session, in one embodiment, begins with thenetwork module7920 of theremote machine30 receiving authentication information associated with a user (step8002). Authentication information can include a number of types of authentication information, including without limitation user names, client names, client addresses, passwords, PINs, voice samples, one-time passcodes, biometric data, digital certificates, tickets, etc. and combinations thereof. The authentication information could be in the form of a log-on request from a user. As described above, a log-on request can be initiated by a user through theinput module7908 of aclient machine10. The client's network module forwards the request to theserver process7922.
In one embodiment, upon receiving the request, theserver process7922 forwards the user-provided authentication information to theauthentication module7930, which authenticates the identity of the user. The server'sauthentication module7930 can perform the authentication itself and/or in cooperation with one or other modules or computers, such as a domain server, an authentication service, etc. Successful authentication results in the authentication module transmitting identification information for the user (e.g., a username or ID) to theserver process7922.
In response to receiving authentication information associated with the user theserver process7922 identifies any disconnectedapplication sessions7918 associated with the user that are executing, stalled on theremote machine30, or suspended to disk (step8004). In one embodiment, theserver process7922 identifies theapplication sessions7918 upon receiving the authentication information. In another embodiment, the server process identifies the applications in response to receiving the authentication information after theauthentication module7930 verifies of the user's identity. In one embodiment,server process7922 determines whether any suchdisconnected application sessions7918 exist by consulting thedata store7926 for sessions, which is some embodiments is a persistent data store, related to the user. For example, the disconnectedapplication session7918 could have been disconnected by direction of the user of theapplication session7918, resulting in theserver process7922 disconnecting theapplication session7918, for example, by modifying the status ofapplication session7918 in thedata store7926 to “disconnected,” and deleting the identification of the connectedclient machine10 in thedata store7926 entry for theapplication session7918. In another embodiment, the disconnection was unintentional. Unintentional disconnection results in theserver process7922 making the same modifications to thedata store7926 as would be made as a result of an intentional disconnection.
Upon identifying any disconnected application sessions7918 (step8004), in one embodiment, theserver process7922 prompts the user to indicate whether connection is desired. If connection is not desired, theserver process7922 prompts the user to indicate whether the disconnectedapplications sessions7918 should remain disconnected, or whether theapplication sessions7918 should be suspended to disk, paused, or terminated. In an alternative embodiment, theserver process7922 consults a rule stored in the rules source7928 to determine whether connection and/or connection is permitted and/or required.
In an alternative embodiment, the user connects to theremote machine30, theserver process7922, and any disconnected application sessions by utilizing a single user interface element, for example clicking an icon labeled “Log-on.” In this embodiment, activating the single user interface will automatically connect the user to any disconnectedapplications sessions7918.
In one embodiment, the client can be configured to automatically send authentication information upon such user connection. If connection is permitted, and is either assented to by user or is automatic, theserver process7922 connects the user to the disconnected application sessions (step8006). In one embodiment, connection includes modifying the entry in thedata store7926 to indicate that the user is connected to theapplication session7918 and to indicate from whichclient machine10 the user is connected to the server. Upon connection, theremote machine30 resumes transmitting application output data from theapplication output transmitter7924 to the client10 (step8008). In another embodiment, the application output transmitter consults the rules source7928 before beginning transmitting application output to ensure such transmission is permitted.
Application sessions are associated primarily with users instead of theclient machine10 which the user was operating when the user previously had connected to, (and then been disconnected from) the server. As a result, rules permitting, the user can reconnect to anapplication session7918 from thefirst client machine10, thesecond client machine10, or any other client computer. In other embodiments, the user of theclient machine10 may be given further options, such as “reconnect to all sessions not executing on a virtual machine,” suspend all sessions executing on a virtual machine,” “reconnect all sessions currently hosted,” or “reconnect to all session not suspended,” for example.
Referring toFIG. 81, even if a session is not disconnected (i.e., is active) it can be useful to transfer the session from one client to another. For example, it may be that an application session was disconnected, but the server did not yet detect the disconnection. It may be that the user deliberately left a session running, but would now like to access the session from another location.
Amethod8100 for transferringactive application sessions7918 from afirst client machine10 to asecond client machine10 typically begins with thenetwork module7920 receiving authentication information from a user, for example in the form of a log-on request. In one embodiment, the user submits the authentication information via theinput module7908. The authentication information can be transmitted by thenetwork module7912 ofsecond client machine10 to theremote machine30. Thenetwork module7920 of theremote machine30 can forward the request to theserver process7922.
Theserver process7922 receives the user-provided authentication information (step8102). In one embodiment, theserver process7922 forwards the user-provided authentication information to anauthentication module7930, which authenticates the identity of the user using, for example, any of the variety of authentication techniques described above. Successful authentication results in the authentication module transmitting for example, identification information for the user to theserver process7922.
After receiving authentication information (step8102), the server process consults thedata store7926 to identify anyactive application sessions7918 that are associated with the user, but that are connected to a different client computer, such as thefirst client machine10 as an illustrative example (step8104). In one embodiment, if theserver process7922 identifies any suchactive application sessions7918, the server process automatically disconnects the application session(s)118 from the first client machine10 (step8106) and connects the application session(s)118 to the current client machine10 (step8108). In one embodiment, the user can trigger the automatic consultation of the data store and subsequent connection with the selection of a single user interface element.
In an alternative embodiment, theserver process7922 prompts the user as to whether the user wants to have the active application session(s)118 connected to thecurrent client machine10. If the user declines to transfer one or more of the active application session(s), theserver process7922 prompts the user to either keep the application session(s)118 active, suspend the application session to disk, pause the application session, or to terminate the application session(s)118. In an alternative embodiment, theserver process7922 consults a rule stored in the rules source7928 to determine whether transfer of the active application session(s)118 are permitted before transferring the active application session(s)118.
If transfer of the application session(s)118 are permitted and transfer is automatic or requested by the user, in one embodiment theserver process7922 carries out the disconnection (step8106) and connection (step8108) by modifying the entry maintained in thedata store7926 for theapplication session7918 to substitute the identity of the storedclient machine10 with the identity of the current client computer, i.e. theclient machine10. Upon connection with thecurrent client machine10, theapplication output transmitter7924 begins transmitting application output to the current computer (step8110). In another embodiment, the application output transmitter consults the rules source7928 before beginning transmitting application output to ensure such transmission is permitted.
It should be understood that the methods ofFIG. 80 andFIG. 81 can be combined to allow a client to be connected to disconnected, suspended, paused, and active sessions associated with a user. In addition, prior to transfer or reconnection, the active and/or disconnected sessions could have been connected to the same or several different client machines.
Referring toFIG. 82, as mentioned above, theremote machine30 can be implemented as amachine farm38. In one embodiment, themachine farm38 includes severalremote machines30,30′, and30″, which are linked together and which are jointly administered.Several client machines10,10′, and10″ (typically many computers) can connect to themachine farm38 over anetwork150. Theservers30,30′, and30″ share the computational load put on themachine farm38. For example, if a user is accessing threeapplication sessions8218a,8218b, and8218c, each application session can be executing on adifferent server30,30′, or30″. Similarly, if the user is accessing two ormore application7916 through asingle application session8218a,8218bor8218c, theserver process7922 of themachine farm38 can assign one application to execute on oneserver30 and another application to execute onserver30′. In a machine farm configuration, the modules of theserver120,122, and124, thedata store7926, and the rules source7928 (FIG. 1), can be stored on asingle server30,30′ or30″, or can be distributed among theservers30,30′, and30″.
With respect to connecting to themachine farm38 after a disconnection or after changingclient machines10,10′ and10″ without disconnecting, theserver process7922 treats theservers30,30′, and30″ as a single server. That is, if a machine farm is executing a user'sapplication sessions8218a,8218b, and8218conseparate servers30,30′, and30″, and the user disconnects from themachine farm38 or changes theclient computer10,10′, or10″ at which the user is working, upon subsequently connecting to themachine farm38, theserver process7922 of themachine farm38 can automatically connect the user'sclient computer10,10′, or10″ with all threeapplication sessions8218a,8218b, and8218cexecuting on all threesevers30,30′, and30″.
In one embodiment of the system, a user of afirst client computer10, which in this example is a mobile handheld computer, logs on to themachine farm38 via a wireless modem and requests twoapplication sessions8218aand8218b. Theserver process7922 of themachine farm38 launches afirst application session8218aon afirst server30 and a second application session on asecond server30′. The wireless modem loses its connection with the machine farm when the user of thefirst computer10 enters an elevator. Theserver process7922 of themachine farm38 determines that the user is disconnected, and theserver process7922 updates thedata store7926 accordingly.
The user then logs on to themachine farm38 from asecond client computer10′, which in this example is a desktop computer in his office. Theserver process7922 consults thedata store7926 and determines that twodisconnected application sessions8218aand8218bare associated with the user. The server process7922 (assuming no rules to the contrary) automatically connects thesecond client computer10′ to bothapplication sessions8218aand8218bexecuting onservers30 and30′, respectively.
The user then leaves thesecond client computer10′ without disconnecting from themachine farm38 and logs on to themachine farm38 from athird client computer10″, for example a colleague's laptop. Upon logging on from thethird client computer10″, the server process consults thedata store7926 and determines that the user is associated with the twoactive application sessions8218aand8218bconnected to thesecond client computer10′. The server process7922 (assuming no rules to the contrary) then automatically disconnects both of theapplication sessions8218aand8218bfrom thesecond client computer10′, and connects both of theapplication sessions8218aand8218bto thethird client computer10″.
The user next selects a disconnect option for eachapplication session8218aand8218b. Theserver process7922 updates thedata store7926 to indicate that theapplication sessions8218aand8218bhave been disconnected. The user then logs on to themachine farm38 from thesecond client computer10′. Theserver process7922 consults thedata store7926 and determines that twodisconnected application sessions8218aand8218bare associated with the user. The server process7922 (assuming no rules to the contrary) automatically connects the disconnectedapplication sessions8218aand8218bto thesecond client computer10′.
Referring now toFIG. 83, a flow diagram depicts one embodiment of the steps taken in a method for providing remote access to a computing environment provided by a virtualized operating system. In brief overview, authentication information associated with a user of aclient machine10 is received (step8302). Based on the received authentication information, a computing environment provided by a virtualized operating system and already associated with the user is identified (step8304). A connection is established between theclient machine10 and the identified computing environment (step8306).
In some embodiments the methods and systems described above in connection withFIGS. 79-82 may be implemented in systems including virtual machines. In some embodiments, theclient machine10 has established a connection to a physical machine providing access to a resource requested by theclient machine10. In this embodiment, theclient machine10 may be connected to a disconnected application session and receive application output as described above in connection withFIGS. 79-82.
In other embodiments, theclient machine10 has established a connection to a virtual machine providing access to a resource. In one of these embodiments, theclient machine10 may be reconnected to an application session executing on the virtual machine. In another of these embodiments, theclient machine10 may be reconnected to a plurality of application sessions executing within a computing environment provided by a virtual machine. In still another of these embodiments, theclient machine10 may be reconnected to an application session comprising a plurality of application programs executing within a computing environment provided by a virtual machine. In yet another of these embodiments, theclient machine10 may be reconnected to an application session comprising a plurality of computing environments provided by a virtual machine.
Referring still toFIG. 83, and in greater detail, authentication information associated with a user of aclient machine10 is received (step8302). In one embodiment, responsive to the received authentication information, a collection agent gathers information about theclient machine10. In some embodiments, the user of theclient machine10 is authenticated responsive to the received authentication information.
Based on the received authentication information, a computing environment provided by a virtualized operating system and already associated with the user is identified (step8304). In some embodiments, the authentication information includes an access control decision, generated as described above in connection withFIGS. 7A and 7B. As described above, aclient machine10 requests access to a resource, a collection agent gathers information about theclient machine10, and a policy engine makes an access control decision. In one of these embodiments, the identification of the computing environment already associated with the user is made in response to the received authentication information. In another of these embodiments, a connection is established between theclient machine10 and the identified computing environment. In still another of these embodiments, aremote machine30, acting as an intermediary server, receives the authentication information including the access control decision, and establishes a connection between theclient machine10 and aremote machine30′, acting as an execution machine providing the user of theclient machine10 with access to the requested resource.
In one embodiment, based on the received authentication information and gathered client machine information, a computing environment provided by a virtualized operating system and already associated with the user is identified. In another embodiment, stored data associated with at least one computing environment is consulted to identify, based on the received authentication information, a computing environment provided by a virtualized operating system and already associated with the user. In still another embodiment, based on the received authentication information, an identification is made of a first computing environment provided by a first virtualized operating system and a second computing environment provided by a second virtualized operating system, the first and second computing environments already associated with the user. In yet another embodiment, based on the received authentication information, an identification is made of a first computing environment provided by a first virtualized operating system executing on a first server and a second computing environment provided by a second virtualized operating system executing on a second server, the first and second computing environments already associated with the user
A connection is established between theclient machine10 and the identified computing environment (step8306). In one embodiment, the connection is established between theclient machine10 and the identified computing environment subject to a rule. In another embodiment, a connection is established between theclient machine10 and the identified computing environment subject to a policy applied to the received authentication information and gathered client machine information.
In some embodiments, a request is received to disconnect the client machine from the identified computing environment. In one of these embodiments, the connection between the client machine and the identified computing environment is terminated. In another of these embodiments, a data record associated with the identified computing environment is updated to indicate that the client machine is disconnected. In still another of these embodiments, an execution of the identified computing environment is continued. The execution may continue although the client is disconnected from the identified computing environment.
In some embodiments, authentication information associated with the user is received. In one of these embodiments, the user uses asecond client machine10′. In another of these embodiments, an identification is made, based on the received authentication information of a computing environment provided by a virtualized operating system and already associated with the user. In still another of these embodiments, a connection is established between thesecond client machine10′ and the identified computing environment. In yet another of these embodiments, the connection between thefirst client machine10 and the identified computing environment is terminated.
Referring now toFIG. 84, a flow diagram depicts an embodiment of the steps taken in a method for providing remote access to a plurality of application sessions. In brief overview, a selection of a single user interface element by a user of aclient machine10 is received at the client machine10 (step8410). In response to the user interface element selection, authentication information associated with the user is transmitted (step8412). Based on the transmitted authentication information, a computing environment provided by a virtualized operating system and already associated with the user is identified (step8414). A connection is established between the client machine and the identified computing environment (step8416).
A selection of a single user interface element by a user of aclient machine10 is received at the client machine10 (step8410). In response to the user interface element selection, authentication information associated with the user is transmitted (step8412). In one embodiment, a collection agent gathers information about the client machine in response to the received information. In another embodiment, a policy engine makes an access control decision responsive to the gathered information, as described above in connection withFIG. 7A andFIG. 7B. In some embodiments, based on the received authentication information and on gathered client machine information, an identification is made of a computing environment provided by a virtualized operating system and already associated with the user. In other embodiments, the user is authenticated responsive to the received authentication information.
Based on the transmitted authentication information, a computing environment provided by a virtualized operating system and already associated with the user is identified (step8414). In one embodiment, a connection is established between the client machine and the identified computing environment subject to a rule applied to the received authentication information and to gathered client machine information. In another embodiment, based on the received identification, an identification is made of a first computing environment provided by a first virtualized operating system and a second computing environment provided by a second virtualized operating system, the first and second computing environments already associated with the user. In still another embodiment, based on the received authentication information, an identification is made of a first computing environment provided by a first virtualized operating system executing on a first server and a second computing environment provided by a second virtualized operating system executing on a second server, the first and second computing environments already associated with the user. In some embodiments, stored data associated with at least one computing environment is consulted to identify, based on the received authentication information, a computing environment provided by a virtualized operating system and already associated with the user.
A connection is established between the client machine and the identified computing environment (step8416). In one embodiment, the connection between the client machine and the identified computing environment is made subject to a rule. In some embodiments, authentication information associated with theclient machine10 is received including an access control decision, generated as described above in connection withFIGS. 7A and 7B. In one of these embodiments, the identification of the computing environment already associated with the user is made in response to the received authentication information. In another of these embodiments, aremote machine30, acting as an intermediary broker server, receives the authentication information including the access control decision, and establishes a connection between theclient machine10 and aremote machine30′, acting as an execution machine providing the user of theclient machine10 with access to the requested resource.
In some embodiments, a request is received to disconnect the client machine from the identified computing environment. In one of these embodiments, the connection between the client machine and the identified computing environment is terminated. In another of these embodiments, a data record associated with the identified computing environment is updated to indicate that the client machine is disconnected. In still another of these embodiments, execution of the identified computing environment is continued. The execution may continue although the user has terminated the connection between the client machine and the identified computing environment.
In some embodiments, authentication information associated with the user is received, the user using asecond client machine10′. In one of these embodiments, based on the received authentication information, an identification is made of a computing environment provided by a virtualized operating system and already associated with the user. In another of these embodiments, a connection is established between thesecond client machine10′ and the identified computing environment. In yet another of these embodiments, a connection between thefirst client machine10 and the identified computing environment is terminated.
Referring now toFIG. 85, a block diagram depicts one embodiment of a server for providing remote access to a computing environment. In brief overview, aremote machine30 is a server and includes anetwork module7920, adata store7926, and abroker process8532. In some embodiments, theremote machine30 the components, modules and subsystems described above in connection withFIG. 79.
Thenetwork module7920 receives authentication information associated with a user operating a client machine, such asclient machine10. In some embodiments, thenetwork module7920 is in communication with an authentication module for authenticating the user in response to the received authentication information. In other embodiments, thenetwork module7920 includes the authentication module.
Thedata store7926 contains an identifier of a computing environment associated with the user. In one embodiment, thedata store7926 contains a first identifier of a first computing environment associated with the user and a second identifier of a second computing environment associated with the user. In another embodiment the first computing environment executes on a firstremote machine30 and the second computing environment executes on a secondremote machine30′. In some of these embodiments, thebroker process8532 transmits the enumeration from the data store to theclient machine10.
Thebroker process8532 connects theclient machine10 to the identified computing environment enumerated in thedata store7926, in response to the received information. In one embodiment, thebroker process8532 connects theclient machine10 to the identified computing environment subject to a rule. In another embodiment, thebroker process8532 disconnects theclient machine10 from the identified computing environment in response to a received disconnect signal. In still another embodiment, thebroker process8532 updates a data record associated with the identified computing environment to indicate theclient machine10 is disconnected from the identified computing environment.
In some embodiments, theremote machine30 includes a collection agent and a policy engine. In one of these embodiments, the collection agent gathers information about theclient machine10. In another of these embodiments, the collection agent comprises at least one script. In still another of these embodiments, the collection agent comprises bytecode. In yet another of these embodiments, the collection agent gathers the information by running at least one script on theclient machine10. In some of these embodiments, the collection agent executes on theclient machine10. In others of these embodiments, the collection agent is transmitted to theclient machine10. In one of these embodiments, the policy engine transmits the collection agent to theclient machine10.
In some of these embodiments, theremote machine30 includes a policy engine receiving the gathered information and assigning one of a plurality of levels of access responsive to application of a policy to the received information, thebroker process8532 connecting the client machine to the identified computing environment enumerated in the data store responsive to the assigned access level. In one embodiment, the policy engine further comprises a database storing configurable policies. In another embodiment, the policy engine transmits instructions to the collection agent determining the type of information the collection agent gathers.
In others of these embodiments, the policy engine further comprises a logon agent. In one of these embodiments, the logon agent receives the gathered information from the collection agent. In another of these embodiments, the logon agent identifies for the policy engine authentication information received from the collection agent. In still another of these embodiments, the policy engine further comprises a plurality of logon agents. In yet another of these embodiments, at least one of the plurality of logon agents resides on each network domain from which aclient machine10 may transmit a resource request. In some embodiments, theclient machine10 transmits the resource request to a particular logon agent. In other embodiments, the logon agent identifies for the policy engine the network domain from which the client machine transmits the resource request.
In some embodiments, a virtual machine farm provides functionality for relocating a session from one requesting machine to a second requesting machine. In one of these embodiments, the virtual machine farm provides access to information required for relocating a session. In another of these embodiments, a hypervisor provides functionality for relocating a virtual machine session. In some embodiments, the hypervisor implements well-known techniques, including pre-copying, post-copying, and lazy-copying for moving session information associated with a virtual machine session from one execution machine to a second execution machine.
In some embodiments, the virtual machine farm is in communication with a system as described inFIG. 86 andFIG. 87, and provides functionality for relocation of an application session within a virtual machine session.
Referring toFIG. 86, one embodiment of a network constructed in accordance with the invention is depicted, which includes aclient machine10, acollection agent704, apolicy engine706, apolicy database708, acondition database710, aclient machine10′, asession server8620, astored application database8622, aremote machine30′, a first database8628, aremote machine30″, and a second database8632. In brief overview, when theclient machine10 transmits to the policy engine706 arequest206 for access to an application program, thecollection agent704 communicates withclient machine10, retrieves information aboutclient machine10, and transmitsclient machine information714 to thepolicy engine706. Thepolicy engine706 makes an access control decision, as discussed above inFIG. 7A andFIG. 7B. Theclient machine10 receives an enumeration of available applications associated with theclient machine10.
In some embodiments, thesession server8620 establishes a connection between theclient machine10 and a plurality of application sessions associated with theclient machine10. In one of these embodiments, the connection is established to a virtual machine providing access to a computing environment in which the application sessions execute. In other embodiments, thepolicy engine706 determines that theclient machine10 has authorization to retrieve a plurality of application files comprising the application and to execute the application program locally. In one of these embodiments, theremote machine30′ stores application session data and a plurality of application files comprising the application program. In another of these embodiments, theclient machine10 establishes an application streaming session with aremote machine30′ storing the application session data and the plurality of application files comprising the application program.
Referring now toFIG. 87, a flow diagram depicts one embodiment of the steps taken by thesession server8620 to provide access for theclient machine10 to its associated application sessions. Thesession server8620 receives information about theclient machine10 from thepolicy engine706 containing the access control decision thepolicy engine706 made (step8780). In one embodiment, the information also includes theclient machine information714. In another embodiment, the information includes authorization to execute the application program locally. In still another embodiment, the information includes authorization to provide access to computing environment in which the application program executes.
In some embodiments, thepolicy engine706 identifies a plurality of application sessions already associated with theclient machine10. In other embodiments, thesession server8620 identifies stored application sessions associated with the client machine10 (step8782). In some of these embodiments, thesession server8620 automatically identifies the stored application sessions upon receiving the information from thepolicy engine706. In one embodiment, the storedapplication database8622 resides on thesession server8620. In another embodiment, the storedapplication database8622 resides on thepolicy engine706.
The storedapplication database8622 contains data associated with a plurality ofmachines30 in themachine farm38 executing application sessions or providing access to application session data and application files comprising application programs, or providing access to computing environments in which application sessions may execute, including virtual machines which may be active, suspended, paused or disconnected. In some embodiments, identifying the application sessions associated with theclient machine10 requires consulting stored data associated with one ormore machines30. In some of these embodiments, thesession server8620 consults the stored data associated with one ormore machines30. In others of these embodiments, thepolicy engine706 consults the stored data associated with one ormore machines30. In some embodiments, a first application session runs on aremote machine30′ and a second application session runs on aremote machine30″. In other embodiments, all application sessions run on a singleremote machine30 within themachine farm38. In still other embodiments one or more application sessions run on aremote machine30 executing a virtual machine providing access to a computing environment in which the application sessions execute.
Thesession server8620 includes information related to application sessions initiated by users. The session server can be stored in volatile or non-volatile memory or, for example, distributed through multiple servers. Table 4 shows the data included in a portion of an illustrative session server8620:
| TABLE 4 |
|
| Application | | | |
| Session | App Session | 1 | App Session 2 | App Session 3 |
|
| User ID | User | 1 | User 2 | User 1 |
| Client ID | First Client | | First Client |
| Client Address | 172.16.0.50 | | 172.16.0.50 |
| Status | Active | Disconnected | Active |
| Applications | Word Processor | Data Base | Spreadsheet |
| Process Number |
| 1 | 3 | 2 |
| Server | Server A | Server A | Server B |
| Server Address | 172.16.2.55 | 172.16.2.55 | 172.16.2.56 |
| Executing in a | Yes (Instance ID #) | No | no |
| Virtual Machine? |
|
Thesession server8620 in Table 4 includes data associating each application session with the user that initiated the application session, an identification of theclient machine10, if any, from which the user is currently connected to theremote machine30′, and the IP address of thatclient computer10. Thesession server8620 also includes the status of each application session. The data may include an identification of a virtual machine providing a computing environment in which the application session executes. An application session status can be, for example, “active” (meaning a user is connected to the application session), or “disconnected” (meaning a user is not connected to the application session). In an alternative embodiment, an application session status can also be set to “executing-disconnected” (meaning the user has disconnected from the application session, but the applications in the application session are still executing), or “stalled-disconnected” (meaning the user is disconnected and the applications in the application session are not executing, but their operational state immediately prior to the disconnection has been stored). Thesession server8620 further stores information indicating theapplication7916 that are executing within each application session and data indicating each application's process on the server. For embodiments in which the session is hypervisor-based, thesession server8620 may store an identification of a hypervisor domain or a virtual machine instance identifier. In embodiments in which theremote machine30′ is part of themachine farm38, thesession server8620 is at least a part of the dynamic store in addition to the data in the last three rows of Table 4 that identify aremote machine30 in themachine farm38 on which each application is/was executing, and the IP address of thatremote machine30. In alternative embodiments, thesession server8620 includes a status indicator for each application in each application session.
For example, in the example of Table 4, three application sessions exist,App Session 1,App Session 2, andApp Session 3.App Session 1 is associated withUser 1, who is currently usingterminal 1. Terminal one's IP address is 172.16.2.50. The status ofApp Session 1 is active, and inApp Session 1, a word processing program, is being executed. The word processing program is executing on Server A asprocess number 1. Server A's IP address is 172.16.2.55.App Session 2 in Table 1 is an example of adisconnected application session7918.App Session 2 is associated withUser 2, butApp Session 2 is not connected to aclient machine10 or20.App Session 2 includes a database program that is executing on Server A, at IP address 152.16.2.55 asprocess number 3.App Session 3 is an example of how a user can interact with application sessions operating on differentremote machines30.App Session 3 is associated withUser 1, as isApp Session 1.App Session 3 includes a spreadsheet program that is executing on Server B at IP address 152.16.2.56 asprocess number 2, whereas the application session included inApp Session 1 is executing on Server A. Although only oneApp Session 1 is described in the application session, the application session may comprise a plurality of executing resources, including application sessions executing in computing environments and computing environments executing in a virtual machine.
In another example, a user may access a first application program through an application session executing on aremote machine30′, such as Server A, while communicating across an application streaming session with a secondremote machine30″, such as Server B, to retrieve a second application program from the secondremote machine30″ for local execution. The user of theclient machine10 may have acquired authorization to execute the second application program locally while failing to satisfy the local execution pre-requisites of the first application program.
In one embodiment, thesession server8620 is configured to receive a disconnect request to disconnect the application sessions associated with theclient machine10 and disconnects the application sessions in response to the request. Thesession server8620 continues to execute an application session after disconnecting theclient machine10 from the application session. In this embodiment, thesession server8620 accesses the storedapplication database8622 and updates a data record associated with each disconnected application session so that the record indicates that the application session associated with theclient machine10 is disconnected.
After receiving authentication information associated with aclient machine10 connecting to the network, thesession server8620 consults the storedapplications database8622 to identify any active application sessions that are associated with a user of theclient machine10, but that are connected to adifferent client machine10, such as theclient machine10 if the authentication information is associated withclient machine10′, for example. In one embodiment, if thesession server8620 identifies any such active application sessions, thesession server8620 automatically disconnects the application session(s) from theclient machine10 and connects the application session(s) to thecurrent client machine10′ (step8784). In some embodiments, the received authentication information will restrict the application sessions to which theclient machine10 may reconnect. In other embodiments, the received authentication information authorizes execution of an application program on theclient machine10′, where the authorization may have been denied toclient machine10. In one of these embodiments, thesession server8620 may provide theclient machine10 access information for retrieving the application program for second execution. In still other embodiments, the received authentication information authorizes execution of an application program in a computing environment provided by a virtual machine.
Referring now toFIG. 88, a block diagram depicts one particular embodiment of a system for providing, by a virtual machine access to a computing environment. Aclient agent8802 on aclient machine10 connects to aremote machine30. In some embodiments, theclient agent8802 establishes a connection with asession management component1300. In other embodiments, thesession management component1300 is executed by theremote machine30 to which theclient machine10 connects. In one embodiment, thesession management component1300 queries a virtualmachine management component1200, for the location of the configuration and virtual disk files of a virtual machine to run for the current user and a hypervisor in which the virtual machine may execute. In some embodiments, the identified hypervisor and virtual machine execute onremote machine30. In other embodiments, the identified hypervisor and virtual machine execute on aremote machine30′. In one embodiment, the session management component launches the virtual machine within the specified hypervisor in full screen mode. In another embodiment, a previously-executing virtual machine is allocated to theclient machine10.
In some embodiments, a virtualmachine service component8804 executes within a computing environment provided by a virtual machine on aremote machine30. In one of these embodiments, the virtualmachine service component8804 receives an IP address and a port with which to establish a communication channel between thesession management component1300 and the virtualmachine service component8804. In one embodiment, this communication channel is used to pass session related configuration information from the client agent session into the virtual machine session. In some embodiments, the configuration information includes display settings and changes, client drive information and authentication data with which to enable single sign-on for a user of theclient machine10.
In some embodiments, once the communications channel is established and the initial session related information is passed to the virtualmachine service component8804, the virtualmachine service component8804 automatically connects the user to a computing environment, such as a guest operating system, using the same credentials as were provided to theclient agent8802 by the user (if any). In one of these embodiments, the virtualmachine service component8804 automatically reconfigures the display settings of the guest operating system to match those of theclient8802. The virtual machine produces graphics and sound output to virtual devices that redirect that output, directly or indirectly, to theclient agent8802 on theclient machine10. The virtual machine receives audio input, mouse and keyboard device data redirected from theclient machine10. When the virtual machine is shutdown or suspended thesession management component1300 terminates the client agent session.
Referring now toFIG. 95, a block diagram depicts one embodiment of a system for providing to a first client agent, via a second client agent on a first remote machine, output data generated by a resource executing in a virtual machine provided by a second remote machine. Aclient agent8802 on aclient machine10 connects to aremote machine30 and requests access to a resource. In one embodiment, theremote machine30 is an intermediate machine. In another embodiment, theremote machine30 determines to provide access to the requested resource via a virtual machine. In still another embodiment, theremote machine30 identifies aremote machine30′ to provide access to the requested resource via a virtual machine executing on theremote machine30′. Theremote machine30′ may be referred to as anexecution machine30′.
In one embodiment, theclient machine10 communicates with theremote machine30 using a presentation layer protocol, such as ICA, RDP, VNC, or X11. In some embodiments, protocol stacks are implemented to enable communications between theclient machine10 andremote machines30, as described above in connection withFIG. 8,step816 and withFIG. 24.
In one embodiment, anagent8802′ on theremote machine30 establishes a connection to theremote machine30′. In another embodiment, theremote machine30 communicates with theremote machine30′ using a presentation layer protocol, such as ICA, RDP, VNC, or X11. In still another embodiment, theremote machine30 establishes a connection with theremote machine30′ and communicates with theremote machine30′ using a presentation layer protocol, such as RDP, from within a terminal services session executing on theremote machine30. In some embodiments, protocol stacks are implemented to enable communications between theagent8802′ on theremote machine30 and theremote machine30′, as described above in connection withFIG. 8,step816 and withFIG. 24.
In one embodiment, as depicted byFIG. 95, theremote machine30′ provides access to the requested resource by providing access to a virtualized environment or by providing access to an application streaming service, as described above in connection withFIG. 8. In another embodiment, theremote machine30′ executes the resource in a virtual machine executing on theremote machine30′. In still another embodiment, theremote machine30′ transmits output data generated by the execution of the resource to theremote machine30 using a presentation layer protocol. In another embodiment, theremote machine30 forwards the output data received from theremote machine30′ to theclient machine10 using a presentation layer protocol. In some embodiments, the virtual machine executes on theremote machine30′. In other embodiments, the virtual machines execute on aremote machine30″.
In one embodiment, theremote machine30′ provides access to a published desktop computing environment. In another embodiment, theremote machine30′ provides access to a published desktop computing environment selected from an enumeration of a plurality of published desktop computing environments available to theclient machine10. In some embodiments, as described above in connection with the description of the virtualmachine management component1200, virtual machines may provide access to standard operating environments.
Referring now toFIG. 96, a block diagram depicts an embodiment of a system for providing to a first client agent, via a second client agent on a first remote machine, output data generated by a resource executing in a virtual machine provided by a second remote machine. Aclient agent8802 on aclient machine10 connects to aremote machine30 and requests access to a resource. In one embodiment, theremote machine30 is an intermediate machine. In another embodiment, theremote machine30 determines to provide access to the requested resource via a virtual machine. In still another embodiment, theremote machine30 identifies aremote machine30′ to provide access to the requested resource via a virtual machine executing on theremote machine30′. Theremote machine30′ may be referred to as anexecution machine30′.
In one embodiment, theclient machine10 communicates with theremote machine30 using a presentation layer protocol, such as ICA, RDP, VNC, or X11. In some embodiments, protocol stacks are implemented to enable communications between theclient machine10 andremote machines30, as described above in connection withFIG. 8,step816 and withFIG. 24.
In one embodiment, anagent8802′ on theremote machine30 establishes a connection to theremote machine30′. In another embodiment, theremote machine30 communicates with theremote machine30′ using a presentation layer protocol, such as ICA, RDP, VNC, or X11. In still another embodiment, theremote machine30 establishes a connection with theremote machine30′ and communicates with theremote machine30′ using a presentation layer protocol, such as ICA. In some embodiments, protocol stacks are implemented to enable communications between theagent8802′ on theremote machine30 and theremote machine30′, as described above in connection withFIG. 8,step816 and withFIG. 24.
In one embodiment, as depicted byFIG. 96, theremote machine30′ provides access to the requested resource by providing access to a virtualized environment or by providing access to an application streaming service, as described above in connection withFIG. 8. In another embodiment, theremote machine30′ executes the resource in a virtual machine executing on theremote machine30′. In still another embodiment, theremote machine30′ transmits output data generated by the execution of the resource to theremote machine30 using a presentation layer protocol. In another embodiment, theremote machine30 forwards the output data received from theremote machine30′ to theclient machine10 using a presentation layer protocol. In some embodiments, the virtual machine executes on theremote machine30′. In other embodiments, the virtual machines execute on aremote machine30″.
Referring now toFIG. 97, a block diagram depicts one embodiment of a system for identifying, by a coordinator machine, a worker machine providing, via a virtual machine, access to a computing environment. Aclient agent8802 on aclient machine10 connects to aremote machine30 and requests access to a resource. In one embodiment, theremote machine30 is a coordinator machine, providing the functionality of an intermediate broker machine. In another embodiment, theremote machine30 identifies aremote machine30′ to provide access to the requested resource.
In some embodiments, theremote machine30 is a remote machine in a plurality of remote machines functioning as intermediate broker machines. In one of these embodiments, the coordinator machines receive requests and identify otherremote machines30′ from a second plurality of remote machines, the identified machines responding to the requests. In another of these embodiments, the identifiedremote machines30′ are referred to as worker machines. In still another of these embodiments, theclient machine10 communicates with thecoordinator machine30 using a presentation layer protocol, such as ICA, RDP, VNC, or X11.
In one embodiment, thecoordinator machine30 identifies a pool ofworker machines30′ each capable of providing access to the requested resource. In some embodiments, thecoordinator machine30 identifies aworker machine30′ from the pool ofworker machines30′ capable of providing access to the requested resource. In other embodiments, thecoordinator machine30 identifies aworker machine30′ and transmits information for accessing theworker machine30′ to theclient machine10. In still other embodiments, thecoordinator machine30 transmits information for accessing theclient machine10 to theworker machine30′. In one of these embodiments, thecoordinator machine30 provides no additional information or communication to theclient machine10 after transmitting the access information associated with theworker machine30′. In yet other embodiments, thecoordinator machine30 establishes a connection between theclient machine10 and aworker machine30′.
In one embodiment, theclient agent8802 of theclient machine10 establishes a connection to theworker machine30′. In another embodiment, theclient machine10 communicates with theworker machine30′ using a presentation layer protocol, such as ICA, RDP, VNC, or X11.
In some embodiments, theworker machine30′ provides access to the requested resource by executing an application on theworker machine30′ and transmitting application-output data generated by the execution of the application to theclient10. In other embodiments, as depicted byFIG. 97, theworker machine30′ provides access to the requested resource by providing access to a virtualized environment or by providing access to an application streaming service, as described above in connection withFIG. 8.
In some embodiments, upon identification of aworker machine30′, theclient agent8802 of theclient machine10 establishes a connection with asession management component1300 associated with or residing on theworker machine30′. In other embodiments, theworker machine30′ executes thesession management component1300 to which theclient machine10 connects. In one embodiment, thesession management component1300 queries a virtualmachine management component1200, for the location of the configuration and virtual disk files of a virtual machine to run for the current user and a hypervisor in which the virtual machine may execute. In still other embodiments, theclient machine10 connects directly to theworker machine30′.
In some embodiments, the identified hypervisor and virtual machine execute on theworker machine30′. In other embodiments, the identified hypervisor and virtual machine execute on aremote machine30″. In one of these embodiments, theworker machine30′ communicates with theremote machine30″ using a presentation layer protocol to receive output data generated by a resource executed by the virtual machine.
In one embodiment, the session management component launches the virtual machine within the specified hypervisor in full screen mode. In another embodiment, a previously-executing virtual machine is allocated to theclient machine10.
In some embodiments, a virtualmachine service component8804 executes within a computing environment provided by a virtual machine on aworker machine30′. In one of these embodiments, the virtualmachine service component8804 receives an IP address and a port with which to establish a communication channel between thesession management component1300 and the virtualmachine service component8804. In one embodiment, this communication channel is used to pass session related configuration information from the client agent session into the virtual machine session. In some embodiments, the configuration information includes display settings and changes, client drive information and authentication data with which to enable single sign-on for a user of theclient machine10.
In some embodiments, once the communications channel is established and the initial session related information is passed to the virtualmachine service component8804, the virtualmachine service component8804 automatically connects the user to a computing environment, such as a guest operating system, using the same credentials as were provided to theclient agent8802 by the user (if any). In one of these embodiments, the virtualmachine service component8804 automatically reconfigures the display settings of the guest operating system to match those of theclient10. The virtual machine produces graphics and sound output to virtual devices that redirect that output, directly or indirectly, to theclient agent8802 on theclient machine10. The virtual machine receives audio input, mouse and keyboard device data redirected from theclient machine10. When the virtual machine is shutdown or suspended thesession management component1300 terminates the client agent session.
In some embodiments, thecoordinator machine30 provides functionality for managing a pool ofworker machines30′. In one of these embodiments, for example, thecoordinator machine30 receives information identifying theworker machines30′ as physical machines providing access to particular resources, or as virtual machines providing access to particular resources. In another of these embodiments, thecoordinator machine30 receives information identifying a plurality of types of resources provided by the pool ofworker machines30′. For example, thecoordinator machine30 may receive information identifying a pool ofworker machines30′ as providing access to a type of computing environment, such as a desktop or application. In still another of these embodiments, thecoordinator machine30 communicates with a virtualmachine management component1200 to receive information about virtual machines in the pool ofworker machines30′.
In other embodiments, thecoordinator machine30 monitors one ormore worker machines30′ in the pool ofworker machines30′. In one of these embodiments, thecoordinator machine30 identifies aworker machine30′ to provide access to a resource for aclient machine10 and identifies aworker machine30″ to provide access to the resource upon a failure of theworker machine30′. In another of these embodiments, thecoordinator machine30 identifies aworker machine30″ to provide access to the resource responsive to a load balancing technique. In still another of these embodiments, thecoordinator machine30 identifies aworker machine30″ to provide access to the resource responsive to a change associated with theclient machine10. For example, thecoordinator machine30 may identify afirst worker machine30′ to provide access to the resource for theclient machine10 and the receive a second request for access by theclient machine10, after theclient machine10 has established a connected via a different network, or has lost a first network connection and re-established a second network connection.
In some embodiments, thecoordinator machine30 identifies aworker machine30 that provides access to a resource for aclient machine10 according to a method chosen responsive to an evaluation of theclient machine10, an application of a policy to theclient machine10 and to theworker machine30′, and an evaluation of the capabilities and requirements of the resource, theclient machine10 and theworker machine30′.
The previously described embodiments may be implemented as a method, apparatus or article of manufacture using programming and/or engineering techniques to produce software, firmware, hardware, or any combination thereof. The term “article of manufacture” as used herein is intended to encompass code or logic accessible from and embedded in one or more computer-readable devices, firmware, programmable logic, memory devices (e.g., EEPROMs, ROMs, PROMs, RAMs, SRAMs, etc.), hardware (e.g., integrated circuit chip, Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), etc.), electronic devices, a computer readable non-volatile storage unit (e.g., CD-ROM, floppy disk, hard disk drive, etc.), a file server providing access to the programs via a network transmission line, wireless transmission media, signals propagating through space, radio waves, infrared signals, etc. The article of manufacture includes hardware logic as well as software or programmable code embedded in a computer readable medium that is executed by a processor. Of course, those skilled in the art will recognize that many modifications may be made to this configuration without departing from the scope of the present invention.
Having described certain embodiments of methods and systems for incorporating remote windows from disparate remote desktop environments into a local desktop environment, it will now become apparent to one of skill in the art that other embodiments incorporating the concepts of the invention may be used. Therefore, the invention should not be limited to certain embodiments, but rather should be limited only by the spirit and scope of the following claims.