PROVIDING USER INTERFACE (UI) ELEMENTS HAVING SCROLLABLE CONTENT IN VIRTUAL MACHINE SESSIONS AT REDUCED LATENCY AND RELATED METHODS
A computing system includes a virtualization server that runs virtual machine sessions and provides a hosted application with user interface (UI) elements having scrollable content. A client computing device accesses the hosted application during one of the virtual machine sessions and receives the scrollable content. The client computing device displays at least a portion of the scrollable content as local virtual UI elements, applies user input to scroll the portion of the scrollable content in focus, caches scrollable content that is positioned adjacent the portion of the scrollable content being scrolled that is not in focus, and generates a local virtual UI element graphics overlay that includes at least a portion of the cached scrollable content for display corresponding to a predicted response to the user input.
Traditionally, personal computers include combinations of operating systems, applications, and user settings, which are each managed individually by owners or administrators on an ongoing basis. However, many organizations are now using desktop virtualization to provide a more flexible option to address the varying needs of their users.
In desktop virtualization, a user's computing environment (e.g., operating system, applications, and/or user settings) may be separated from the user's physical computing device (e.g., smartphone, laptop, desktop computer). Using client-server technology, a “virtualized desktop” may be stored in and administered by a remote server, rather than in the local storage of the client computing device.
Desktop virtualization systems may be implemented using a single virtualization server or a combination of servers interconnected as a server grid. For example, a cloud computing environment, or cloud system, may include a pool of computing resources (e.g., desktop virtualization servers), storage disks, networking hardware, and other physical resources that may be used to provision virtual desktops, along with additional computing devices to provide management and customer portals for the cloud system.
As more workloads are migrated into these cloud systems and data centers are consolidated across, continents, however, the network conditions between the workloads and the endpoints at the client computing devices become more challenging and are characterized with much higher latency and packet loss. This creates a poor user experience (UX) since a time lag appears to the user, especially when navigating user interface (UI) elements in response to different user input such as scrolling or tabbing.
SUMMARYA computing system includes a virtualization server configured to run virtual machine sessions and provide a hosted application during the virtual machine sessions. The hosted application includes user interface (UI) elements having scrollable content. At least one client computing device is configured to access the hosted application during one of the virtual machine sessions with the virtualization server so as to receive the scrollable content. The at least one client computing device is configured to display at least a portion of the scrollable content as local virtual UI elements, apply user input to scroll the portion of the scrollable content in focus, cache scrollable content that is positioned adjacent the portion of the scrollable content being scrolled that is not in focus, generate a local virtual UI element graphics overlay that includes at least a portion of the cached scrollable content for display corresponding to a predicted response to the user input, and send the user input to the virtualization server.
The virtualization server is configured to apply the received user input to the hosted application, generate an updated UI element graphics that includes at least the portion of the cached scrollable content corresponding to an actual response to the user input, and send the updated UI element graphics to the at least one client computing device.
The at least one client computing device is configured to replace at least a portion of the local virtual UI element graphics overlay with the received updated UI element graphics, which may be based on an estimated latency between the virtualization server and the at least one client computing device. The estimated latency may be based on at least one of an average, a median and a standard deviation of latencies between the virtualization server and the at least one client computing device.
The replacement of at least a portion of the local virtual UI element graphics overlay with the received updated UI element graphics may be performed by hiding said at least a portion of the local virtual UI element graphics overlay and unveiling the said received updated UI element graphics underneath the said at least a portion of the local virtual UI element graphics overlay. Metadata may be associated with the scrollable content, which may include text, and also may include at least one of grid item, table item, spreadsheet item, list item, and data item. The metadata may also include encrypted text and may include at least one of UI automation properties and events retrieved from the hosted application.
The scrollable content may include at least one of vertically scrollable content and horizontally scrollable content that includes a scroll pattern and at least one of a text pattern, grid pattern, table pattern, spreadsheet pattern, and a list pattern. The local virtual UI element graphics overlay may be deleted based on one or more of replacing the said local virtual UI element graphics overlay with the received updated UI element graphics, hosted application process terminating, hosted application window closing, hosted application UI element getting out of focus, hosted application UI element becoming hidden, hosted application UI element being deleted, heuristics specific to receiving the hosted application UI element, and policies associated with displaying the received hosted application UI element.
Another aspect is directed to a method for operating virtual machine sessions provided by a virtualization server in communication with at least one client computing device to provide a hosted application that includes user interface (UI) elements having scrollable content. The method includes accessing the hosted application from at least one client computing device during one of the virtual machines sessions for receiving the UI elements having scrollable content, wherein the client computing device is operable for displaying at least a portion of the scrollable content as local virtual UI elements, applying user input to scroll the portion of the scrollable content in focus, caching scrollable content that is positioned adjacent the portion of the scrollable content being scrolled that is not in focus, generating a local virtual UI element graphics overlay that includes at least a portion of the cached scrollable content for display corresponding to a predicted response to the user input, and sending the user input to the virtualization server.
Yet another aspect is directed to a non-transitory computer readable medium for operating virtual machine sessions provided by a virtualization server in communication with at least one client computing device and providing a hosted application that includes user interface (UI) elements having scrollable content that are displayed at the client computing device. The non-transitory computer readable medium has a plurality of computer executable instructions for causing the client computing device to perform steps as described above.
The present description is made with reference to the accompanying drawings, in which exemplary embodiments are shown. However, many different embodiments may be used, and thus the description should not be construed as limited to the particular embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. Like numbers refer to like elements throughout.
As will be discussed in greater detail below, the computing system has three different aspects and provides for reduced latency User Interface (UI) element navigation in virtual applications. Because the latency reduction in effect is substantial, it may appear to the user as a zero latency navigation of UI elements when tabbing, scrolling and performing other similar functions. These three major aspects are generally described, followed by a more detailed analysis.
In a first aspect, a hosted application on a virtualization server includes user interface (UI) elements. A client computing device accesses the hosted application during a virtual machine session, receives the UI elements, and displays the UI elements as local hidden virtual UI elements. User input is applied to a local virtual UI element in focus and a local visible virtual UI element graphics overlay is generated corresponding to a predicted response to user input. User input is sent to the virtualization server, which in turn, generates updated UI element graphics corresponding to an actual response to the user input. Those updated UI element graphics are sent to the client computing device, which replaces at least a portion of the local visible virtual UI element graphics overlay corresponding to the predicted response.
In a second aspect, the hosted application may include UI elements having scrollable content. The client computing device may not only display at least a portion of the scrollable content but may also create corresponding local hidden virtual UI elements. The client computing device may also apply user input to scroll a portion of the scrollable content in focus and cache scrollable content that is positioned adjacent to the portion of the scrollable content being scrolled that is not in focus and generate the local visible virtual UI element graphics overlay that includes at least a portion of the cached scrollable content for display corresponding to a predicted response to the user input. The virtualization server may generate updated UI element graphics that include at least a portion of the cached scrollable content corresponding to an actual response to the user input and send the updated UI element graphics to the client computing device.
In a third aspect, the UI elements are in an ordered hierarchy of graphical control elements when sequenced therethrough such as when a user selects a tab, button, menu, jump list, toggle, and picker control via an input device. A UI element in focus may be highlighted, e.g., as a rectangle. A UI element may include data being cached by the at least one client computing device. The caching by the at least one client computing device may be performed when the corresponding graphical control element is in focus. In other embodiments the caching by the at least one client computing device may be performed even when the corresponding graphical control element is not in focus.
In the description that follows, the first aspect of the computing system is shown generally at
As will be appreciated by one of skill in the art upon reading the following disclosure, various aspects described herein may be embodied as a device, a method or a computer program product (e.g., a non-transitory computer-readable medium having computer executable instruction for performing the noted operations or steps). Accordingly, those aspects may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects.
Furthermore, such aspects may take the form of a computer program product stored by one or more computer-readable storage media having computer-readable program code, or instructions, embodied in or on the storage media. Any suitable computer readable storage media may be utilized, including hard disks, CD-ROMs, optical storage devices, magnetic storage devices, and/or any combination thereof.
Referring initially to
In some embodiments, the client machines 102A-102N communicate with the remote machines 106A-106N via an intermediary appliance 108. The illustrated appliance 108 is positioned between the networks 104, 104′ and may be referred to as a network interface or gateway. In some embodiments, the appliance 108 may operate as an application delivery controller (ADC) to provide clients with access to business applications and other data deployed in a datacenter, the cloud, or delivered as Software as a Service (SaaS) across a range of client devices, and/or provide other functionality such as load balancing, etc. In some embodiments, multiple appliances 108 may be used, and the appliance(s) 108 may be deployed as part of the network 104 and/or 104′.
The client machines 102A-102N may be generally referred to as client machines 102, local machines 102, clients 102, client nodes 102, client computers 102, client devices 102, computing devices 102, endpoints 102, or endpoint nodes 102. The remote machines 106A-106N may be generally referred to as servers 106 or a server farm 106. In some embodiments, a client device 102 may have the capacity to function as both a client node seeking access to resources provided by a server 106 and as a server 106 providing access to hosted resources for other client devices 102A-102N. The networks 104, 104′ may be generally referred to as a network 104. The networks 104 may be configured in any combination of wired and wireless networks.
A server 106 may be any server type such as, for example: a file server; an application server; a web server; a proxy server; an appliance; a network appliance; a gateway; an application gateway; a gateway server; a virtualization server; a deployment server; a Secure Sockets Layer Virtual Private Network (SSL VPN) server; a firewall; a web server; a server executing an active directory; or a server executing an application acceleration program that provides firewall functionality, application functionality, or load balancing functionality.
A server 106 may execute, operate or otherwise provide an application that may be any one of the following: software; a program; executable instructions; a virtual machine; a hypervisor; a web browser; a web-based client; a client-server application; a thin-client computing client; an ActiveX control; a Java applet; software related to voice over internet protocol (VoIP) communications like a soft IP telephone; an application for streaming video and/or audio; an application for facilitating real-time-data communications; a HTTP client; a FTP client; an Oscar client; a Telnet client; or any other set of executable instructions.
In some embodiments, a server 106 may execute a remote presentation client or other client or program that uses a thin-client or a remote-display protocol to capture display output generated by an application executing on a server 106 and transmits the application display output to a client device 102.
In yet other embodiments, a server 106 may execute a virtual machine providing, to a user of a client device 102, access to a computing environment. The client device 102 may be a virtual machine. The virtual machine may be managed by, for example, a hypervisor, a virtual machine manager (VMM), or any other hardware virtualization technique within the server 106.
In some embodiments, the network 104 may be: a local-area network (LAN); a metropolitan area network (MAN); a wide area network (WAN); a primary public network 104; and a primary private network 104. Additional embodiments may include a network 104 of mobile telephone networks that use various protocols to communicate among mobile devices. For short range communications within a WLAN, the protocols may include 802.11, Bluetooth, and Near Field Communication (NFC).
The non-volatile memory 128 may include: one or more hard disk drives (HDDs) or other magnetic or optical storage media; one or more solid state drives (SSDs), such as a flash drive or other solid state storage media; one or more hybrid magnetic and solid state drives; and/or one or more virtual storage volumes, such as a cloud storage, or a combination of such physical storage volumes and virtual storage volumes or arrays thereof.
The user interface 123 may include a graphical user interface (GUI) 124 (e.g., a touchscreen, a display, etc.) and one or more input/output (I/O) devices 126 (e.g., a mouse, a keyboard, a microphone, one or more speakers, one or more cameras, one or more biometric scanners, one or more environmental sensors, and one or more accelerometers, etc.).
The non-volatile memory 128 stores an operating system 115, one or more applications 116, and data 117 such that, for example, computer instructions of the operating system 115 and/or the applications 116 are executed by processor(s) 103 out of the volatile memory 122. In some embodiments, the volatile memory 122 may include one or more types of RAM and/or a cache memory that may offer a faster response time than a main memory. Data may be entered using an input device of the GUI 124 or received from the I/O device(s) 126. Various elements of the computer 100 may communicate via the communications bus 150.
The illustrated computing device 100 is shown merely as an example client device or server, and may be implemented by any computing or processing environment with any type of machine or set of machines that may have suitable hardware and/or software capable of operating as described herein.
The processor(s) 103 may be implemented by one or more programmable processors to execute one or more executable instructions, such as a computer program, to perform the functions of the system. As used herein, the term “processor” describes circuitry that performs a function, an operation, or a sequence of operations. The function, operation, or sequence of operations may be hard coded into the circuitry or soft coded by way of instructions held in a memory device and executed by the circuitry. A processor may perform the function, operation, or sequence of operations using digital values and/or using analog signals.
In some embodiments, the processor can be embodied in one or more application specific integrated circuits (ASICs), microprocessors, digital signal processors (DSPs), graphics processing units (GPUs), microcontrollers, field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), multi-core processors, or general-purpose computers with associated memory.
The processor may be analog, digital or mixed-signal. In some embodiments, the processor may be one or more physical processors, or one or more virtual (e.g., remotely located or cloud) processors. A processor including multiple processor cores and/or multiple processors may provide functionality for parallel, simultaneous execution of instructions or for parallel, simultaneous execution of one instruction on more than one piece of data.
The communications interfaces 118 may include one or more interfaces to enable the computing device 100 to access a computer network such as a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or the Internet through a variety of wired and/or wireless connections, including cellular connections.
In described embodiments, the computing device 100 may execute an application on behalf of a user of a client device. For example, the computing device 100 may execute one or more virtual machines managed by a hypervisor. Each virtual machine may provide an execution session within which applications execute on behalf of a user or a client device, such as a hosted desktop session. The computing device 100 may also execute a terminal services session to provide a hosted desktop environment. The computing device 100 may provide access to a remote computing environment including one or more applications, one or more desktop applications, and one or more desktop sessions in which one or more applications may execute.
Additional descriptions of a computing device 100 configured as a client device 102 or as a server 106, or as an appliance intermediary to a client device 102 and a server 106, and operations thereof, may be found in U.S. Pat. Nos. 9,176,744 and 9,538,345, which are incorporated herein by reference in their entirety. The '744 and '345 patents are both assigned to the current assignee of the present disclosure.
There now follows a description of the computing system that may incorporate the computing device 100, client device 102, server 106, and other components such that a user at a client device 102 may navigate UI elements and visually to the user, it will appear there is zero latency navigation of the UI elements since the latency has been substantially reduced by displaying the predicted and later actual response to user input.
The computing system, in accordance with the first, second and third aspects, provides a reduced and what appears to the user to be a zero latency navigation of UI elements in virtual applications. The computing system is an improvement over traditional local text echo for typing, such as disclosed in commonly assigned U.S. Pat. No. 6,538,667, the disclosure which is hereby incorporated by reference in its entirety. The computing system provides local and what appears to be instant or zero latency UI element navigation for actions such as tabbing, scrolling, navigating in grid controls, opening/closing and navigation and selecting from picker controls, menus, jump lists, changing state and toggle controls, and similar functions, using almost any user input at a keyboard, mouse, touch pad, pen, or similar input device.
The approach of local text echo for typing as disclosed in the incorporated by reference '667 patent is based on input position and font information from a virtual application. That system as disclosed in the '667 patent is currently used in the Receiver and XenApp applications manufactured by Citrix Systems, Inc. under conditions of high latency. The improvements implemented by the computing system having the reduced, i.e., zero latency navigation of UI elements may be implemented with the local text echo based on the application programming interfaces (API's) that work with modern operating systems and applications.
The computing system having reduced, i.e., zero latency navigation of UI elements detects and enumerates from a virtualization server as a host agent and caches at a client computing device selected application UI elements and content metadata, and creates virtual local UI elements that are hidden by default and overlay the UI elements at the client computing device. The computing system thus provides an immediate visible predicted or approximate response to the user input and eventually substitutes that predicted response with the actual response as a post-response, for example, based on the estimated latency and/or by receiving graphic updates in the area of the user interface in focus. This computing system is advantageous because as more workloads are integrated into a Cloud network, such as the Citrix Cloud as a non-limiting example, and data centers are consolidated across different continents, the network conditions between the workloads and the endpoints, e.g., a client computing device, become more challenging to implement and have much higher latency and packet loss. As such, the systems and methods set forth herein advantageously provide improved performance within a virtualized and/or enterprise computing environment.
Referring now to
Referring now to the flowchart in
This first aspect described generally at
In operation of the computing system 200, further functional enhancements of the reduced latency navigation may occur wherein replacement of the local virtual UI element graphics overlay with the received updated UI element graphics may be performed by hiding the said local virtual UI element graphics overlay and unveiling the said received updated UI element graphics underneath the said local virtual UI element graphics overlay. In an example, all of the local virtual UI element graphics overlay may be replaced with the received updated UI element graphics. This replacing at least a portion of the local virtual UI element graphics overlay with the received updated UI element graphics may be based on an estimated latency between the virtualization server 214 and the at least one client computing device 210, for example, at least one of an average, a median, and a standard deviation of latencies between the visualization server and the at least one client computing device. The replacing may also be based on one or more of receiving the updated UI element graphics, heuristics specific to receiving the updated UI element graphics, and policies associated with displaying the received updated UI element graphics.
The UI elements may include metadata, such as encrypted text, and include at least one of UI automation properties and events retrieved from the hosted application. The local virtual UI element graphics overlay may be deleted based on one or more of replacing the said local virtual UI element graphics overlay with the received updated UI element graphics, a hosted application process terminating, a hosted application window closing, a hosted application UI element getting out of focus, a hosted application UI element becoming hidden, a hosted application UI element being deleted, heuristics specific to receiving the hosted application UI element, and policies associated with displaying the received hosted application UI element.
A second aspect of the computing system is shown in
Referring now to the flowchart in
Referring now to
The estimated latency times as described relative to the computing system 200 in the first aspect shown at
Another aspect is directed to a non-transitory computer readable medium for operating virtual machine sessions provided by a virtualization server 314 in communication with at least one client computing device 310 and providing a hosted application that includes UI elements having scrollable content that are displayed at the client computing device. The non-transitory computer readable medium has a plurality of computer executable instructions for causing the client computing device 310 to perform steps, including accessing the hosted application during one of the virtual machine sessions for receiving the UI elements having scrollable content, displaying at least a portion of the scrollable content as local virtual UI elements, applying user input to scroll the portion of the scrollable content in focus, caching scrollable content that is positioned adjacent the portion of the scrollable content being scrolled that is not in focus, generating a local virtual UI element graphics overlay that includes at least a portion of the cached scrollable content for display corresponding to a predicted response to the user input and sending the user input to the virtualization server.
Referring now to
Referring now to the flowchart in
Referring now to
Further enhancements in operation of the computing system 400 having the UI elements and graphical control elements include replacing at least a portion of the local virtual UI element graphics overlay with the received updated UI element graphics. This function is similar as described relative to the computing systems 200 and 300 in
Similar to the functionality of the computing systems 200, 300 described above, the local virtual UI element graphics overlay may be deleted based on one or more of replacing the said local virtual UI element graphics overlay with the received updated UI element graphics, hosted application process terminating, hosted application window closing, hosted application UI element getting out of focus, hosted application UI element becoming hidden, hosted application UI element being deleted, heuristics specific to receiving the hosted application UI element, and policies associated with displaying the received hosted application UI element.
Another aspect of this computing system 400 is directed to a non-transitory computer readable medium for operating virtual machine sessions provided by a virtualization server 414 in communication with at least one client computing device 410 and providing a hosted application that includes UI elements 418 comprising an ordered hierarchy of graphical control elements when sequenced therethrough. This non-transitory computer readable medium has a plurality of computer executable instructions for causing the client computing device 410 to perform steps, including: accessing the hosted application during one of the virtual machine sessions for receiving the UI elements comprising an ordered hierarchy of graphical control elements when sequenced therethrough, displaying the ordered hierarchy of graphical control elements as local virtual UI elements, applying user input to one of the graphical control elements in focus, generating a local virtual UI element graphics overlay for display corresponding the a predicted response to the user input, with the predicted response corresponding to a next graphical control element in the ordered hierarchy after the graphical control element receiving the user input, and sending the user input to the virtualization server 414.
These computing systems 200, 300, 400 as described above relative to the specific examples that reduce latency to what appears to the user to be a zero latency, include use of the cloud-based services such as the Citrix Cloud, which can be prone to latency issues, and thus, address the latency by reducing latency in the navigation of the UI elements to what appears to be a zero latency to the user. These latency issues are often apparent in Cloud-based systems and are now described in greater detail to obtain a better understanding of the advantageous functions resulting from these computing systems 200, 300, 400 described above. Unless otherwise indicated, the reference numerals for the computing system 200, client computing device 210, virtualization server 214, and their functionality are described but basic functions apply, of course, with computing systems 300, 400 shown in
As used herein, the term cloud may refer to the Citrix Cloud as a platform that allows organizations to deploy cloud-hosted desktops and applications to end users or any other cloud based systems. For example, Citrix Systems' XenApp Essentials delivers Windows-based applications and shared, hosted desktops to any user on a client computing device 210 and provides as a service the consolidated remote access to cloud-based workloads of desktops and applications, or a hybrid combination of the cloud network and on-premises workloads with a consolidated interface. In addition, the Citrix Systems' Gateway as a Service (GWaaS), also referred to as the NetScaler Gateway Service (NGS), allows users to access remotely both the Cloud and on-premises workloads without setting up a specific customer on a gateway located at the premises. However, as the network “hops” to and from the Cloud, this “hopping” action further increases the network latencies between a virtualization server 214 and client computing device 210, creating a poor user experience and associated problems when navigating the UI elements, such as by tabbing or scrolling. As a result, the user experience working remotely is dramatically impaired. The computer system 200 with reduced, i.e., zero latency navigation of UI elements addresses and solves this latency problem as noted above, and can best be evident when looked at in relation to a chart of latencies or round trip times in a system.
Referring now to
The user experience with Asia-Pacific workloads is particularly challenging since the lag time is high as illustrated at the bar chart at 492 (az-jp-e). Even in the United States, over 50% of the connections incur an ICA RTT of 100 ms or higher such as the az-us-w or az-us-sc illustrated at the bar charts at 494. There are additional cases of users in remote branch office locations using a VSAT (very small aperture terminal) as a satellite communications system and having connections with 1000-2000 ms latency. In addition, high resolution monitors, e.g., about 4K, and other multi-monitor displays will make graphic loads have an even higher latency, further diminishing the user experience when operating remotely. Conversely, when using mobile devices, while resolutions are lower, there is an expectation of native-like application responsiveness when remotely connected. The current user experience without the reduced, i.e., zero latency navigation of UI elements, “lags” in normal office workloads such as typing, mouse or touch window dragging, scrolling, application switching and similar functions. The user experience also “lags” when using three-dimensional gaming software while interacting with complex 3D graphics models, and when using Virtual Reality (VR) applications when remote, such as with the Citrix XenApp hosted applications.
The computing systems 200, 300, 400 as described allow reduced, i.e., zero latency navigation of UI elements to the point where a user believes they are experiencing no latency. Benefits in improving latency delays have been found in some systems when a shift to UDP (User Datagram Protocol) as the transport protocol is achieved to overcome some of the limitations of the TCP (Transport Control Protocol). It is known that TCP uses the Additive Increments Multiplicative Decrements (AIMD) congestion control algorithm, but it cannot fully use the bandwidth in conditions of latency and loss. In modern networks, the bandwidth tends to be more plentiful and packet loss occurs primarily due to endpoint interference and stochastic loss and not congestion. Therefore, some packet loss can be tolerated without drastically reducing throughput. For example, different software manufacturer product families are migrating to QUIC as an experimental transport layer network protocol designed by Google. The Citrix Systems' HDX has recently introduced the Enlightened Data Transport (EDT) protocol, which is a reliable-transmission UDP-based protocol that has better congestion and flow control than TCP in challenging network conditions. For a typical transoceanic WAN (Wide Area Network) of 250 ms RTT and 1% packet loss each way, the HDX over EDT as a transport mechanism performs better than that over TCP, and thus, may allow a better reduced latency navigation of UI elements in the example computing systems 200, 300, 400. The interactivity is up to 2.5 times better, depending on the workload, such as scrolling text in a Notepad program vs. a webpage with images. It is also better because of the client drive mapping (remote file copy), e.g., up to a tenfold improvement, and with printing improved two-fold. A generic USB redirection may have up to a 35% improvement. The more stream-oriented and less interactive the remoting technology, the higher the benefits of the EDT.
While the EDT benefits ICA virtual channels, there is still room for improvement, which is provided by the reduced, i.e., zero latency navigation of UI elements as described above. EDT is a reliable protocol, but any loss results in packet retransmissions, which invariably limits the user experience. Improvements in a default display remoting technology such as Citrix HDX Thinwire used with a progressive display for transient regions helps improve the user experience, but the user experience is still limited by the nature of the underlying transport protocol.
Commonly assigned provisional patent application Ser. No. 62/667,072 filed on May 4, 2018, the disclosure which is hereby incorporated by reference in its entirety, discloses a remote computing system that optimizes region detection, classification and update prioritization, using a hierarchical display with optimized graphics for remote communication in challenging network conditions, including those conditions having high latency and/or loss, to achieve better interactivity but at the expense of fidelity with a lossy transmission or a combination of reliable and lossy transmissions in some areas. Interactivity may be improved when Forward Error Correction (FEC) is applied to reliable transmissions, but there will be some trade-off in the overall bandwidth and processing efficiency. That type of remote computing regains fidelity when using FEC in those areas having lossy transmissions, and for that reason, achieves a better quality along with improved interactivity from the client computing device at the expense of some bandwidth and CPU. The optimal FEC algorithm is selected based on expected bit rate, percentage loss and other similar factors. User input is transmitted with aggressive FEC to optimize the transmission and avoid retransmission delays with negligible impact on the bandwidth. Yet even with these improvements, the user experience is much better when used in conjunction with the computing systems 200, 300, 400 as described.
Although there are improvements for interactivity as described above, that type of remote computing disclosed in the '072 application, even when using an optimal and aggressive FEC, does not do better than the underlying RTT, i.e., the system cannot physically do better when it comes to delivering the true updates from the hosted application. In addition, some users in remote branch office locations use VSAT connections with as much as a 1000-2000 ms latency, where the existing techniques or systems are not always sufficient for an adequate user experience, and thus, the remote computing systems 200, 300, 400 as described could be implemented to improve the user experience and allow a reduced, i.e., zero latency navigation of UI elements.
In addition to the traditional local text echo for typing as disclosed in the incorporated by reference and commonly assigned '667 patent, the computing systems 200, 300, 400 operate to reduce the latency in navigation of UI elements and provide localized and more robust navigation for actions such as tabbing, scrolling, navigating grid controls, opening and selecting from picker controls, menus and similar user input functions. Although these user actions or functions may not work for all possible applications, the computing systems 200, 300, 400 as described optimize most common use cases and applications as permits a reduced latency navigation of UI elements, which to the user appears as a zero latency.
Referring now to
Communication is initiated between the interfaces at the client computing device 210 and virtualization server 214 as the respective client agent 227 and the host agent 215. The latency in communication is detected, which could include a latency standard deviation above predetermined levels or an average or median as non-limiting examples as discussed above. The host agent 215 enumerates the hosted application processes and windows and enumerates the UI elements, their properties, and a hierarchical view for some graphical control elements with respect to the computing system 400 shown in
To optimize the host processing and network traffic, the UI elements may be created only for any applications in focus, although this may reduce responsiveness immediately after bringing a new window in focus and until the new UI elements are cached at the client computing device 210, especially with reference to UI elements having scrollable data in the cache 322 or with graphical control elements in the cache 422. Some metadata may be sent to the client computing device 210, e.g., text, and it may be additionally encrypted for security, both in transit and at rest.
The computing system 200 as described allows reduced, i.e., zero latency navigation of UI elements, and includes Application Programming Interfaces (API's) that have different features, including virtual window tracking in some applications. For example, the Seamless App Support Virtual Channel (VC) subsystem supplied by Citrix Systems may enumerate and track updates at top-level windows. It may also include Virtual App (application) process monitoring, for example, as provided by a process monitoring driver used by the Seamless App Support VC subsystem supplied by Citrix Systems. Different patterns, properties and events may be retrieved from hosted applications or a desktop environment, for example, as based on the Microsoft UI Automation API (Application Programming Interface), which is the successor of the Microsoft Active Accessibility API, as found in https:\\msdn.Microsoft.com\EN-US\library\windows\desktop\EE684009(v=vs.85).aspx. In particular, an application programming interface at the virtualization server 214 enables applications to interact with controls and other applications and retrieve information about them. The host agent 215 in the HDX session may use the Microsoft Active Accessibility API as a client to retrieve information about hosted applications and the desktop. The host agent 215 may register for specific event notifications and can request that the specific UI automation properties and control pattern information be passed into its event handlers. A UI automation API may be used to enumerate elements starting from the desktop as the root of the hierarchy, or from any window or current UI element in focus, which may be a data container for additional elements. The UI Automation API as supplied by Microsoft may be used to identify processes and windows as an alternative to the Seamless App Support VC subsystem. The Seamless Subsystem itself may be efficiently implemented based on the UI Automation API. For example, the Seamless Subsystem may register for the following events using the UI Automation API provided by Microsoft: WindowPattern.WindowOpenedEvent, WindowPattern.WindowClosedEvent. The Seamless Subsystem could also query AutomationElement.ProcessIDProperty, AutomationElement.NativeWindowHandleProperty. The remote application protocol may include process Identifiers (IDs) and window IDs for purposes of supporting both Seamless Applications and a Desktop Window mode. Local virtual overlays may be scaled or panned to account for window scaling, panning and resolution differences (Dots Per Inch (DPI)) between the client and host environments, e.g., based on the Citrix Systems' Receiver Window Positioning APIs. The network latency and latency standard deviation could be measured by the HDX transport driver provided by Citrix Systems, Inc. It should be understood that the HDX Thinwire as a Citrix XenApp Virtual Channel (VC) may operate for graphics remoting between the virtualization server 214 and the client computing device 210.
The computing system 200 handles UI element patterns and may also include an improved text echo with the host agent 215, for example, detecting the focus in a text element, e.g., exhibiting a pattern for the text and sending the cursor position and rich font information to the client computing device 210. For example, the pattern for the text, also termed TextPattern as a data item, may include various attributes or elements that are categorized as various data items: FontSizeAttribute; FontNameAttribute; MixedAttributeValue; FontWeightAttribute (thin, light, normal, medium, bold, heavy, etc.); IsItalicAttribute; IsSuperscriptAttribute; ForegroundColorAttribute; BackgroudColorAttribute; BulletStyleAttribte; HorizontalTextAlignmentAttribute; IndentationLeadingAttribute; IndentationTrailingAttribute; MarginTopAttribute; MarginTrailingAttribute; IsHiddenAttribute; TextFlowDirectionsAttribute (Default: Top to bottom, left to right, horizontal); and similar attributes.
The client computing device 210 may present a virtual local UI element overlay of the type text field, located at a respective cursor position, and with the font consistent with the received font attributes. As the user types on the input device 229, the client computing device 210 provides immediate text response in the overlay field. As noted before, a general explanation of simplified local text echo is described in the incorporated by reference and commonly assigned '667 patent, but the reduced, i.e., zero latency navigation of the computing system 200 improves this text echo by supporting both Seamless Apps and Desktop mode, panning, scaling, DPI differences and similar functional items. The computing system 200 may account for text container margins and not going beyond margins.
For example, while typing towards the end of the line in a text document, the computing system 200 may avoid going off the right end of the visible page. The expected behavior is wrapping around to a new line. This can be achieved based on knowledge of container margins, complete font information such as line spacing, indentation and similar items with sufficient surrounding text context. For example, the surrounding text can be retrieved by means of the data items and program routines associated with a TextRange control pattern using the text pattern.range from point API, TextPatternRange.ExpandToEnclosingUnit API or other related APIs, and specifying the amount by which to move or change the size of the text range in units (TextUnit) of character and format where the text shares all the same attributes. This also may include a word, line, paragraph, page or a whole document. The computing system 200 may send and cache at the client computing device 210 sufficient text context around the cursor focus to allow for local auto-correction of typed text and the proper letter capitalization, word correction or suggestions. The computing system 200 may take into account the boundary of an embedded object such as an image or hyperlink.
The computing system 200 may also provide for tab stops with the respective correct positions for tab stops occurring by enumerating them. For example, it is possible to use a GetAttributeValue API as provided by Citrix Systems to retrieve the TextPattern.TabsAttribute as a collection of tab stops and points and associated with various graphics. It is possible to determine if the UI element content is protected, for example, using a password field, based on a data and program routine AutomationElement.ISPasswordProperty. The client computing device 210 may then provide a local overlay with an asterisk and additionally encrypt the text sent to the virtualization server 214.
Referring now to
Referring now to
Referring now to
The computing system 300 in a second aspect as described above may include window and container scrolling with or without text. Referring now to
Referring to
Referring to
An example explanation for window/container scrolling with text is now described. Reference may be made to the details in the high level flow sequence of data explained at
The virtualization server 314 may query the UI element exhibiting the text pattern by determining a text range within the element that is currently in view, for example, using routines such as described as an IUIAutomationTextRange:GetAttributeValue API with attribute parameters set to a data item as UIA_IsHiddenAttributeId. It is then possible to retrieve a text range currently beyond the view, for example, the surrounding text could be retrieved by means of the TextRange control pattern using different API's, including the TextPattern.RangeFromPoint API, the TextPatternRange.ExpandToEnclosingUnit API or other related APIs and specify the amount by which to move or change the size of a text range in units (Text Unit) of the character and format where all text that shares all the same attributes include word, line, paragraph, page or a whole document.
It is possible to have the UI element metadata Sent from the virtualization server 314 to the client computing device 310, and this metadata may include the scroll pattern UI element properties described above. It may also include a range of text content beyond the currently visible area, e.g., several paragraphs or pages above or below the current view of the vertically scrollable content. It is possible to send the actual text with text attributes, including the font type, font size, foreground/background color, italic, bold, underline, line spacing and similar text attributes. The client computing device 310 may create the virtual local UI elements overlaying a corresponding local display window that are hidden by default. When the user scrolls, the client computing device 310 in effect performs a local screen-to-screen copy of the scrolled area such as shown and described relative to the window/container scrolling of
Rather than sending text with attributes, the virtualization server 314 may enumerate the scroll items (ScrollItemPattern) and send them as individual items to the client computing device 310 to be presented with what appears to be zero latency to the user when they move into view. An example includes scroll items in a list control (List), for example, the system Start Menu as in
Referring now to
In an example, to determine the tab order, the virtualization server 414 initially enumerates UI elements starting at the top-level parent window as the root element (RootElement) and then enumerates its children in a control view. In that enumeration, for example, the children, i.e., in this example, the next in sequence for a UI as a graphical control element as described, could be accomplished using TreeWalker, GetFirstChild and GetNextSibling API's in a remote session application and provided by Microsoft. Different commands are deployed as described. The search/walk can be optimized by adding conditions, for example, via PropertyCondition and AndCondition APIs to enumerate only elements that are controls, e.g., (AutomationElement.IsControlElementProperty), which are enabled and (AutomationElement.IsEnabledProperty), which are a tab stop, i.e., it can receive a keyboard focus as a UI element as a tab stop (IsTabStop). The relative tab order of enumerated controls can be retrieved using a defined tab index (TabIndex) of each control in combination with the enumerated order, such as left-to-right and top-to-bottom, when a specific tab index is not defined. The coordinates of the rectangle that completely encloses each element may also be retrieved as a BoundingRectangle property. The element with the current keyboard focus as a HasKeyboardFocus property is also identified.
The virtualization server 414 inserts the enumerated control elements along with their relative tab order in a hierarchal tree, e.g., a TreeNode, and remotes the hierarchy along with its top-level window handle to the client agent 427 at the client computing device 410, which recreates the tree locally as virtual local UI elements overlaying a corresponding local display window, which are hidden by default. The client agent 427 at the client computing device 410 keeps track of the current UI element with the keyboard focus.
When the user enters a “tab” on the input device such as the keyboard, the client agent 427 at the client computing device 410 may perform an immediate keyboard focus switch to the virtual local UI element that is next in the tab order and makes it visible. This allows the user to immediately start input into the new virtual local UI element in focus, e.g. a new control UI element, or continue tabbing to the next control, and thus, receive a reduced but what appears to the user to be a zero latency local feedback.
The user at the client computing device 410 may choose a new UI element in focus. The client agent 427 at the client computing device 410 may highlight it such as by a bounding rectangle. For example, it is possible to apply a rectangular graphic with a thick and/or blinking border, or impart a different color or impart a different distinguishing technique to highlight the rectangle. This may be necessary because the actual hosted application response will be delayed, and therefore, the control UI element previously in focus may still show the graphics implying the keyboard focus in the regular graphics display, even though the client agent 427 at the client computing device 410 has already switched the focus with the reduced or what appears to the user to be zero latency to the next local control in the tab order as the next graphical control element in the ordered hierarchy. The local highlighting may stop as soon as the virtualization server 414 reports a new element in focus consistent with the current virtual local UI element in focus. The computing system 400 may also include navigation in tables, data grid controls and similar functional user input items with graphical control elements.
Referring now to
As shown in
It is also possible to conduct navigation in picker controls, referred to by some skilled in the art as a combo box, e.g., a list box, combined with a static control or edit control that displays the currently selected item in the list box portion of the combo box. The list box portion of the edit control may be displayed at all times or only appear when a user selects the drop-down arrow, which can be a push button, next to the edit control. For example, referring now to
As an example, the client computing device 410 may receive from the virtualization server 414 metadata associated with a combo box. Upon receiving user input in the area of a drop-down arrow, the client computing device 410 may immediately display the complete list items (ListItem) in the local virtual UI element overlay. Upon receiving user selection of one of the list items, the client computing device 410 may immediately display the selection in a local static/edit control and asynchronously hide the local list box in the local virtual UI element overlay.
It is also possible to apply the reduced latency navigation UI elements as described for opening, closing menus and jump lists using similar techniques as described. Similar to the parameters described relative to the navigation and picker controls described above, metadata associated with menus containing a collection of menu items as UI elements and metadata associated with different jump lists such as a taskbar, also known as destination lists, could be cached at the client computing device 410 to provide immediate local feedback. It is also possible to change the state of toggle controls such as check boxes or groups of radio buttons that could be optimized with immediate local feedback in a similar fashion. For example, an application may use radio buttons in a group box to permit the user to choose from a set of related, but mutually exclusive options. Therefore, similar to the technique for tab order navigation described above, the computing system may focus in a new UI element as a selected radio button that may need to be highlighted to distinguish it from the residual graphics showing the focus in the previous UI element.
This application is related to copending patent applications entitled, “PROVIDING USER INTERFACE (UI) ELEMENTS IN VIRTUAL MACHINE SESSIONS AT REDUCED LATENCY,” and “PROVIDING USER INTERFACE (UI) ELEMENTS HAVING AN ORDERED HIERARCHY OF GRAPHICAL CONTROL ELEMENTS IN VIRTUAL MACHINE SESSIONS AT REDUCED LATENCY AND RELATED METHODS,” which are filed on the same date and by the same assignee and inventors, the disclosures which are hereby incorporated by reference.
Many modifications and other embodiments will come to the mind of one skilled in the art having the benefit of the teachings presented in the foregoing descriptions and the associated drawings. Therefore, it is understood that the disclosure is not to be limited to the specific embodiments disclosed, and that modifications and embodiments are intended to be included within the scope of the appended claims.
Claims
1. A computing system comprising:
- a virtualization server configured to run virtual machine sessions and provide a hosted application during the virtual machine sessions, with the hosted application including user interface (UI) elements having vertically or horizontally scrollable content that includes text or graphics; and
- at least one client computing device configured to access the hosted application during one of the virtual machine sessions with said virtualization server so as to receive the vertically or horizontally scrollable content, and configured to perform the following: display at least a portion of the vertically or horizontally scrollable content as local virtual UI elements, apply user input to scroll the portion of the vertically or horizontally scrollable content in focus, cache scrollable content that is positioned adjacent to the portion of the scrollable content being scrolled that is not in focus, generate a local virtual UI element graphics overlay that includes at least a portion of the cached scrollable content for display corresponding to a predicted response to the user input, send the user input to said virtualization server, and receive from the virtualization server an updated UI element graphics that includes scrollable content corresponding to an actual response to the user input.
2. (canceled)
3. The computing system according to claim 1 wherein said at least one client computing device is configured to replace at least a portion of the local virtual UI element graphics overlay with the received updated UI element graphics.
4. The computing system according to claim 3 wherein replacing at least a portion of the local virtual UI element graphics overlay with the received updated UI element graphics is based on an estimated latency between said virtualization server and said at least one client computing device.
5. The computing system according to claim 4 wherein the estimated latency is based on at least one of an average, a median and a standard deviation of latencies between the virtualization server and said at least one client computing device.
6. The computing system according to claim 3 wherein the replacement of the at least a portion of the local virtual UI element graphics overlay with the received updated UI element graphics is performed by hiding the said at least a portion of the local virtual UI element graphics overlay and unveiling the said received updated UI element graphics underneath the said at least a portion of the local virtual UI element graphics overlay.
7. The computing system according to claim 1 further comprising metadata associated with the vertically or horizontally scrollable content.
8. (canceled)
9. The computing system according to claim 7 wherein the vertically or horizontally scrollable content includes at least one of grid item, table item, spreadsheet item, list item, and data item.
10. The computing system according to claim 7 wherein the metadata includes encrypted text.
11. The computing system according to claim 7 wherein the metadata includes at least one of UI automation properties and events retrieved from the hosted application.
12. The computing system according to claim 1 wherein the vertically or horizontally scrollable content includes a scroll pattern and at least one of a text pattern, grid pattern, table pattern, spreadsheet pattern, and a list pattern.
13. The computing system according to claim 1 wherein the local virtual UI element graphics overlay is deleted based on one or more of replacing said local virtual UI element graphics overlay with the received updated UI element graphics, hosted application process terminating, hosted application window closing, hosted application UI element getting out of focus, hosted application UI element becoming hidden, hosted application UI element being deleted, heuristics specific to receiving the hosted application UI element, and policies associated with displaying the received hosted application UI element.
14. A method for operating virtual machine sessions provided by a virtualization server in communication with at least one client computing device to provide a hosted application that includes user interface (UI) elements having vertically or horizontally scrollable content that includes text or graphics, the method comprising:
- accessing the hosted application from at least one client computing device during one of the virtual machines sessions for receiving the UI elements having the vertically or horizontally scrollable content, the client computing device operable to perform the following: displaying at least a portion of the vertically or horizontally scrollable content as local virtual UI elements, applying user input to scroll the portion of the vertically or horizontally scrollable content in focus, caching scrollable content that is positioned adjacent the portion of the scrollable content being scrolled that is not in focus, generating a local virtual UI element graphics overlay that includes at least a portion of the cached scrollable content for display corresponding to a predicted response to the user input, sending the user input to the virtualization server, and receiving updated UI element graphics from the virtualization server that includes scrollable content corresponding to the actual response to the user input and the cached scrollable content and replacing at least a portion of the local virtual UI element graphics overlay with the received updated UI element graphics.
15. (canceled)
16. The method according to claim 14 wherein the replacing at least a portion of the local virtual UI element graphics overlay with the received updated UI element graphics is based on an estimated latency between the virtualization server and the at least one client computing device.
17. The method according to claim 14, further comprising metadata associated with the scrollable content.
18. The method according to claim 14 wherein the vertically or horizontally scrollable content includes a scroll pattern and at least one of a text pattern, grid pattern, table pattern, spreadsheet pattern, and a list pattern.
19. The method according to claim 14 wherein the local virtual UI element graphics overlay is deleted based on one or more of replacing the said local virtual UI element graphics overlay with the received updated UI element graphics, hosted application process terminating, hosted application window closing, hosted application UI element getting out of focus, hosted application UI element becoming hidden, hosted application UI element being deleted, heuristics specific to receiving the hosted application UI element, and policies associated with displaying the received hosted application UI element.
20. A non-transitory computer readable medium for operating virtual machine sessions provided by a virtualization server in communication with at least one client computing device and providing a hosted application that includes user interface (UI) elements having vertically or horizontally scrollable content that includes text or graphics that are displayed at the at least one client computing device, and with the non-transitory computer readable medium having a plurality of computer executable instructions for causing the at least one client computing device to perform steps comprising:
- accessing the hosted application during one of the virtual machines sessions for receiving the UI elements having the vertically or horizontally scrollable content;
- displaying at least a portion of the vertically or horizontally scrollable content as local virtual UI elements;
- applying user input to scroll the portion of the vertically or horizontally scrollable content in focus;
- caching scrollable content that is positioned adjacent the portion of the scrollable content being scrolled that is not in focus;
- generating a local virtual UI element graphics overlay that includes at least a portion of the cached scrollable content for display corresponding to a predicted response to the user input;
- sending the user input to the virtualization server; and
- receiving updated UI element graphics from the virtualization server that includes at least the portion of the cached vertically or horizontally scrollable content corresponding to the actual response to the user input and the cached scrollable content and replacing at least a portion of the local virtual UI element graphics overlay with the received updated UI element graphics.
Type: Application
Filed: Mar 27, 2019
Publication Date: Oct 1, 2020
Patent Grant number: 11263029
Inventor: Georgy Momchilov (Parkland, FL)
Application Number: 16/365,753