Dynamic resizing of a portion of a virtual device user interface
In certain embodiments, a change to a display resolution (or other display configuration) to be used at a physical device may be effectuated without the need to reboot a virtual device associated with the physical device. In some embodiments, a display resolution for a portion of a virtual device user interface of a virtual device is determined based on display configuration information corresponding to a first physical device (e.g., a display resolution of the first physical device). The portion of the virtual device user interface is configured based on the determined display resolution, and the configured portion is sent to the first physical device. In some embodiments, in response to obtaining second display configuration information from a second physical device, the portion of the virtual device user interface is resized (e.g., without rebooting the virtual device), and the resized portion is sent to the second physical device.
Latest HYPORI LLC Patents:
- Preloading of virtual devices in anticipation of a connection request from a physical device
- System, method and computer program product for implementing bluetooth in a virtual mobile device platform
- SYSTEM, METHOD AND COMPUTER PROGRAM PRODUCT FOR CREDENTIAL PROVISIONING IN A MOBILE DEVICE PLATFORM
- System, method and computer program product for secure Bluetooth cryptography in a virtual mobile device platform
- System, method and computer program product for generating remote views in a virtual mobile device platform using efficient color space conversion and frame encoding
This application claims the benefit of U.S. Provisional Application No. 62/965,072, entitled “Dynamic Resizing of a Portion of a Virtual Device User Interface,” filed on Jan. 23, 2020, which is hereby incorporated by reference herein in its entirety.
FIELD OF THE INVENTIONThe invention relates to facilitating dynamic resizing of a portion of a user interface of a virtual device based on display configuration information associated with a physical client device (e.g., without rebooting the virtual device).
BACKGROUND OF THE INVENTIONWhen different physical devices connect to a virtual device, the information/content within the user interface of the virtual device that is rendered via a display of the physical device may appear squished or stretched. Although there have been attempts to solve this problem by generating a predefined list of display configurations and selecting the best available display configuration from the predefined list of display configurations that closely matches the display configuration of the physical device, such attempts have fallen short because most of the times the predefined list of display configurations does not include an exact match corresponding to the display configuration of the physical device. Additionally, in response to a selection of a display configuration from the predefined list of display configurations, the virtual device needs to be rebooted in order to reflect the selected display configuration. These and other drawbacks exist.
SUMMARY OF THE INVENTIONAspects of the invention relate to methods, apparatuses, and/or systems for facilitating dynamic resizing of a portion of a user interface of a virtual device based on display configuration information associated with a physical client device (e.g., without rebooting the virtual device).
In some embodiments, display configuration information associated with a physical device may be obtained, and a display resolution may be determined for a portion of a virtual device user interface of a virtual device based on the display configuration information. The portion of the virtual device user interface may be configured based on the determined display resolution of the portion of the virtual device user interface. Subsequent to the configuration, the portion of the virtual device user interface may be sent to the physical device (e.g., without sending one or more other portions of the virtual device user interface) such that the physical device presents the portion of the virtual device user interface. In some embodiments, the portion of the virtual device user interface may be resized based on the display configuration information, and the resized portion of the virtual device user interface may be streamed to the physical device (e.g., without streaming one or more other portions of the virtual device user interface). In this way, for example, the display configuration can be “hot swappable” by enabling the display configuration of the physical device to be changed without the need to reboot the virtual device, thereby decreasing the use of computational resources to effect any display configuration change (e.g., by removing the need to use such computational resources to reboot the virtual device). In addition, the foregoing enables a significant increase in the speed at which a user is able to experience any display configuration change, thereby improving the user experience with such virtual device implementations.
Various other aspects, features, and advantages of the invention will be apparent through the detailed description of the invention and the drawings attached hereto. It is also to be understood that both the foregoing general description and the following detailed description are examples and not restrictive of the scope of the invention. As used in the specification and in the claims, the singular forms of “a,” “an,” and “the” include plural referents unless the context clearly dictates otherwise. In addition, as used in the specification and the claims, the term “or” means “and/or” unless the context clearly dictates otherwise.
In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the invention. It will be appreciated, however, by those having skill in the art that the embodiments of the invention may be practiced without these specific details or with an equivalent arrangement. In other cases, well-known structures and devices are shown in block diagram form in order to avoid unnecessarily obscuring the embodiments of the invention.
Users may, for instance, utilize one or more client devices 108 to interact with one another, one or more computer systems 102, or other components of system 100. It should be noted that, while one or more operations are described herein as being performed by components of computer system 102, those operations may, in some embodiments, be performed by components of client device 108 or other components of system 100 and while one or more operations are described herein as being performed by components of client device 108, those operations may, in some embodiments, be performed by components of computer system 102 or other components of system 100. In the present disclosure, a user interface associated with a virtual device 104 (e.g., a user interface associated with a virtual operating system running on (or hosted by) the virtual device 104 or of a virtual application running on (or hosted by) the virtual device 104) may be referred to as a virtual device user interface (UI), and a user interface associated with a client device 108 (e.g., a user interface associated with an operating system running on (or hosted by) the client device 108 or of a client application running on (or hosted by) the client device 108) may be referred to as a client device user interface (UI).
In some embodiments, client applications running on (or hosted by) the client device 108 may be accessed via a client device UI. In some embodiments, a client application (or a plurality of client applications) may be associated with a virtual device 104. Such a client application may be accessed via a client device UI and may render (e.g., via display subsystem 150) a virtual device UI via a display of the client device 108. For example, a virtual device UI (or a portion of the virtual device UI) may be accessed and displayed via a client application running on (or hosted by) the client device 108. In some embodiments, the client applications may correspond to an email application, browser application, or any other application supported by a physical client device 108 (e.g., a mobile device, a tablet, or a desktop computer).
In some embodiments, in response to a selection of a client application associated with the virtual device 104 (e.g., via a client device UI displayed via a display of the client device 108), the client device 108 may communicate with the virtual device 104 to obtain a virtual device UI and the display subsystem 150 may display the virtual device UI via a display of the client device 108. For example, a selection of a client application associated with the virtual device 104 allows virtual device UI to be accessed via a display of the client device 108. The virtual device UI may include a plurality of information/content (e.g., icons) relating to applications (e.g., virtual applications) that run on (or are hosted by) the virtual device 104. The virtual applications may correspond to an email application, browser application, word application, excel application, or any other application supported by, for example, a physical client device 108. Since the virtual applications are accessible via the client device 108 and are hosted by the virtual device 104, the data associated with the virtual applications may be stored in the virtual device 104 (or computer system 102). For example, memory 106 or database 132 (or another database (not shown) within the computer system 102 or virtual device 104) may store the data associated with the virtual applications. Although database 132 is illustrated as being separate from the computer system 102 and virtual device 104 in
In some embodiments, one or more virtual applications may be accessed via a client application hosted on the client device 108. For example, a virtual application may be accessed via a virtual device UI displayed via a display screen of the client device 108. The user interface subsystem 120 of the virtual device 104 may generate (or retrieve) a virtual device UI (or a portion of the virtual device UI) and the communication subsystem 112 of the virtual device 104 may send information associated with the virtual device UI to the client device 108 (e.g., communication subsystem 142 of the client device 108 may obtain the information associated with the virtual device UI). The user interface subsystem 120 may send information associated with the virtual device UI in response to a selection of a client application associated with the virtual device 104, in response to a communication from the client device 108 indicating the selection (via the client device 108) of the client application associated with the virtual device 104, or in response to a connection between the client device 108 and virtual device 104. The information associated with the virtual device UI may include an image of the virtual device UI or a video (e.g., a stream of h264 encoded video) associated with the virtual device UI.
The information associated the virtual device UI may be sent to the client device 108 in response to a request from the client device 108 or in response to a connection between the client device 108 and the virtual device 104. For example, in response to a user selection of a client application running or hosted on the client device 108, the client application may send an application programming interface (API) request to the computer system 102 in order to obtain the information associated with the virtual device UI. The client application may recognize the identity of a user accessing the client application on the client device 108 and the client device 108 (via the client application) may send a request for a virtual device UI associated with the identified user. Alternatively, the client application may request a user to enter his/her user credentials (e.g., a username and password combination, biometrics, etc.) and in response to proper identification, the client application may render the virtual device UI specific to the user via a display screen of the client device 108. Different users or client devices 108 may be associated with different virtual device UIs. Accordingly, the client application may connect to one or more virtual devices 104 and may render a plurality of virtual device UIs based on, for example, identification of users associated with the client device 108 or identification of the client device 108.
However, the content/information of the virtual device UI that is rendered/displayed via the client device 108 may appear squished or stretched. For example, since client devices 108 come in many different sizes and screen configurations, the content/information of the virtual device UI that is displayed via the display screen of the client device 108 may appear to be squished or stretched. In one use case, when a client device 108 connects to a virtual device 104, the virtual device 104 may not know the display (or screen) configuration(s) of the client device 108 and therefore, the information/content of the virtual device UI that is transmitted to the client device108 may appear stretched or squished when being displayed via a display screen of the client device 108.
U.S. Pat. No. 9,697,629 (which is incorporated herein by reference) attempted to solve this problem by generating a predefined list of display configurations such that when a client device connected to a virtual device, the virtual device would try and select the best available display configuration from the predefined list of display configurations that closely matched the display configuration of the client device. However, despite generating a predefined list of display configurations and selecting the best available display configuration from the predefined list of display configurations that closely matched the display configuration of the client device, the information/content of the virtual device UI continued to appear squished or stretched when displayed via different screens of different client devices. Specifically, when the predefined list of display configurations did not include an exact match corresponding to the display configuration of the client device, the information/content of the virtual device UI appeared squished or stretched when being displayed via a display screen of such client device 108. In addition, when a best available display configuration was selected from the predefined list of display configurations that closely matched the display configuration of the client device, the virtual device needed to be rebooted in order to reflect the selected display configuration. Rebooting of the virtual device can be time consuming, thereby delaying the transmission of the virtual device UI to a client device and delaying the display of such virtual device UI via a display screen of the client device. Additionally, rebooting the virtual device can also result in the additional usages of memory and computational resources associated with the virtual device.
In order to overcome one or more of the above-noted problems, the present disclosure describes a system 100 that facilitates configuring a portion of a virtual device UI (or reconfiguring a display resolution of the portion of the virtual device UI or reconfiguring the portion of the virtual device UI) based on display configuration information associated with the client device and presenting the portion of the virtual device UI (e.g., an interactive display of a virtual operating system running on (or hosted by) a virtual device or of a virtual application running on (or hosted by) the virtual device) via a display screen of the client device (e.g., without rebooting the virtual device). The virtual device 104 may be programmed such that a configuration (e.g., display resolution, pixel dimension, dimension, aspect ratio, pixel density, or area) of the virtual device UI is set, for example, to be larger than a configuration (e.g., display resolution, pixel dimension, dimension, aspect ratio, pixel density, or area) of the largest available client device 108. The configuration (e.g., display resolution, pixel dimension, dimension, aspect ratio, pixel density, or area) of the portion of the virtual device UI is smaller than the configuration (e.g., display resolution, pixel dimension, dimension, aspect ratio, pixel density, or area) of the virtual device UI. In
In some embodiments, prior to establishing normal communication between a client device 108a and computer system 102 (e.g., virtual device 104), the client device 108a and the virtual device 104 may perform a handshake, during which information may be exchanged between the client device 108a and the computer system 102. The exchanged information may establish the protocols of a communication link at the start of the communication between the client device 108a and the computer system 102 and prior to establishing normal communication between the client device 108a and computer system 102. Handshaking can negotiate parameters that are acceptable to equipment and systems at both ends of the communication channel (e.g., at both the client device 108a and the computer system 102), including information transfer rate, coding alphabet, parity, interrupt procedure, and other protocol or hardware features. In some embodiments, the handshaking process may also include exchange of display configuration information. For example, during the handshaking process, the client device 108a (e.g., resolution selection and retrieval subsystem 144) may retrieve (e.g., from a memory of the client device 108a) display configuration information associated with the client device and the computer system 102 (e.g., communication subsystem 112) may obtain such display configuration from the client device 108a (e.g., communication subsystem 142) information via a network connection (e.g., network 152). Alternatively, the display configuration information may be retrieved (e.g., from a memory of the client device 108) by the client device 108a (e.g., resolution selection and retrieval subsystem 144) after the handshaking process, and the computer system 102 (e.g., communication subsystem 112) may obtain such display configuration information from the client device 108a (e.g., communication subsystem 142) via a network connection (e.g., network 152).
In some embodiments, the display configuration information associated with the client device 108a may include a resolution (or display resolution or pixel dimensions) of a display of the client device 108a, dimensions (or physical dimensions) of a display of the client device 108a, aspect ratio of a display of the client device 108a, pixel density (pixels per inch (PPI) or pixels per centimeter (PPCM or pixels/cm)) of a display of the client device 108a, area of a display of the client device 108a, or one or more of the foregoing with respect to a client application of the client device 108a (e.g., the client application associated with the virtual device 108). The resolution of the display of the client device 108a may correspond to a number of distinct pixels in each dimension that can be displayed via the display of the client device 108a. For example, a resolution of 1024×768 means that the width is 1024 pixels and the height (or length) is 768 pixels. The dimensions of a display of the client device 108a may include height (or length), width, or diagonal length measurements of the display in inches or centimeters (or any other unit of measurement of height (or length), width, or diagonal length). The aspect ratio of a display of the client device 108a corresponds to a proportional relationship between a width and height (or length) of the display of the client device. The aspect ratio may be expressed as two numbers separated by a colon (e.g., 16:9). Pixel density may be expressed as pixels per inch (PPI) or pixels per centimeter (PPCM or pixels/cm) and PPI or PPCM corresponds to the size of a display in inches or centimeters and the total number of pixels in the horizontal and vertical directions. The pixel density may also be referred to as dots per inch (DPI). The area of a display may be represented as square inches or square centimeters (or any other units of measurement).
As illustrated in
Although the second portion 204 may be programmed (or preconfigured) to a specific fixed configuration (e.g., display resolution, pixel dimension, dimension, aspect ratio, pixel density, or area) and may be generated prior to any connection with a client device 108a, the first portion 202 may be generated based on a connection between the client device 108a and a virtual device 104 and may be configured or reconfigured (e.g., resized or reshaped) based on display configuration information associated with the client device 108a. As noted above, a client application associated with a virtual device 104 may be accessed via a client device UI running on (or hosted by) the client device 108a. In response to accessing such a client application, a connection between the virtual device 104 and the client device 108a may be established and the computer system 102 (e.g.., user interface subsystem 120) may generate the first portion 202 of the virtual device UI corresponding to such a client application associated with the virtual device 104. The first portion 202 of the virtual device UI may include a plurality of information/content (e.g., icons) relating to applications (e.g., virtual applications) that run on (or are hosted by) the virtual device 104. The virtual applications may correspond to an email application, browser application, word application, excel application, or any other application supported by, for example, a physical client device 108a, and such virtual application may be accessed via the client device 108a. In response to a selection of a virtual application via client device 108a, the computer system 102 (e.g.., user interface subsystem 120) may generate the first portion 202 of the virtual device UI such that the information/content within the first portion 202 corresponds to such a virtual application. The content/information within the first portion 202 of the virtual device UI may be changed in response to user interaction via the client device 108a that renders/display the virtual device UI via its display screen.
In some embodiments, the computer system 102 (e.g., resolution determination subsystem 114) may determine one or more configuration (e.g., display resolution, pixel dimension, dimension, aspect ratio, pixel density, or area) of the first portion 202 of the virtual device UI 200 based on the obtained display configuration information from the client device 108a. Determining the configurations of the first portion 202 of the virtual device UI 200 may include determining a plurality of configurations (e.g., a plurality of resolutions, pixel dimensions, or pixel density) for the first portion 202 of the virtual device UI 200. The plurality of configurations may correspond to a low resolution (and a low pixel density), a medium resolution (and a medium pixel density), and a high resolution (and a high pixel density) for the first portion 202 of the virtual device UI 200. Although three configurations for the first portion 202 are described herein, it should be understood that any number of different configurations may be determined based on the obtained display configuration information corresponding to the client device 108a. A listing of the plurality of configurations may be sent to the client device 108a to allow the client device 108a (or a user of the client device 108a) to select one or more of the plurality of configurations. In response to a selection of one or more of the plurality of configurations, the computer system 102 (e.g., resolution determination subsystem 114) may determine one or more configurations (e.g., display resolution, pixel dimension, dimension, aspect ratio, pixel density, or area) of the first portion 202 of the virtual device UI 200 to correspond to the selected configurations. Accordingly, the computer system 102 (e.g., resolution determination subsystem 114) may determine one or more configurations (e.g., display resolution, pixel dimension, dimension, aspect ratio, pixel density, or area) of the first portion 202 of the virtual device UI 200 based on the obtained display configuration information from the client device 108a and based on the obtained selection of configurations from the client device 108a. Alternatively, one or more of the plurality of configurations may be automatically selected by the computer system 102 or the client device 108a (e.g., such that the first portion 202 is reconfigured based on the determined configuration(s) without the computer system 102 or the client device 108a receiving a user input specifying the determined configuration(s) subsequent to the computer system 102 obtaining the display configuration information from client device 108a).
In some embodiments, determining the configurations of the first portion 202 of the virtual device UI 200 may include determining a plurality of configurations (e.g., a plurality of resolutions, pixel dimensions, or pixel density) for the first portion 202 of the virtual device UI 200 and selecting one or more of the plurality of configurations based on network bandwidth, network traffic, or bandwidth usage. Specifically, the computer system 102 (or the client device 108a) may monitor the network bandwidth, network traffic, or bandwidth usage (e.g., bandwidth or traffic associated with network 152) and obtain information associated with the network bandwidth, network traffic, or bandwidth usage. Based on the information associated with the network bandwidth, network traffic, or bandwidth usage, the computer system 102 (or the client device 108a) may select one or more of the plurality of configurations. For example, the computer system 102 may select a configuration corresponding to (i) a high resolution (and a high pixel density) for the first portion 202 of the virtual device UI 200 in response to a high network bandwidth (or low network traffic, or low bandwidth usage), (ii) a low resolution (and low pixel density) for the first portion 202 of the virtual device UI 200 in response to a low network bandwidth (or high network traffic or high bandwidth usage), or (iii) a medium resolution (and medium pixel density) for the first portion 202 of the virtual device UI 200 in response to a medium network bandwidth (or medium network traffic or medium bandwidth usage). The computer system 102 may determine a number of bits (e.g., a number of bits that need to be transmitted) for each of the different configurations and, based on the number of bits for each of the configurations and based on the monitored network bandwidth (or network traffic or bandwidth usage), the computer system 102 may select one or more of the plurality of configurations for the first portion 202 of the virtual device UI 200. Accordingly, the computer system 102 (e.g., resolution determination subsystem 114) may determine one or more configurations (e.g., display resolution, pixel dimension, dimension, aspect ratio, pixel density, or area) of the first portion 202 of the virtual device UI 200 based on the obtained display configuration information from the client device 108a and based on the selection of configurations (e.g., selection being based on the on the number of bits for each of the configurations and based on the monitored network bandwidth (or network traffic or bandwidth usage)).
In some embodiments, the first portion 202 may be configured based on the determined configurations (e.g., display resolution, pixel dimension, dimension, aspect ratio, pixel density, or area). As an example, the first portion 202 may be configured based on a selected one of the plurality of configurations.
The computer system 102 (e.g., communication subsystem 112) may prepare and send (e.g., stream) the first portion 202 (which has been configured) of the virtual device UI 200 to the client device 108a (see
In some embodiments, a frame buffer 122 (as illustrated in memory 106 of the computer system 102 in
In some embodiments, the first portion 202 may be reconfigured in response to one or more triggers, such as a switching of a different physical device on which content is to be displayed, a change in display configurations of a client application (on the physical device) connected to the virtual device 104, a switching of a physical device that is to be connected to the virtual device 104, a change in network bandwidth, network traffic, or bandwidth usage, or other triggers. As an example, if the computer system 102 (or client devices 108a or 108b) detects one or more of the foregoing triggers, one or more operations described herein may be performed to automatically reconfigure the first portion 202 to seamlessly adapt to the situation corresponding to the detected triggers.
In some embodiments, the client device 108a (or the client application thereof) that is connected to the virtual device 104 may be changed or switched. For example, a user accessing information/content associated with the virtual device UI 200 via client device 108a (see
Specifically, in some embodiments, in response to the disconnection of the client device 108a from the virtual device 104 and a connection of the client device 108b to the virtual device 104 (or in response to a connection of a larger display device (e.g., using the Samsung Dex) to the virtual device 104 while the connection between client device 108a and virtual device 104 is maintained), the computer system 102 may receive display configuration information of client device 108b (or the larger display). The display configuration information of client device 108b may include a resolution (or display resolution or pixel dimensions) of a display of the client device 108b, dimensions (or physical dimensions) of a display of the client device 108b, aspect ratio of a display of the client device 108b, pixel density (pixels per inch (PPI) or pixels per centimeter (PPCM or pixels/cm)) of a display of the client device 108b, or area of a display of the client device 108b. The resolution of the display of the client device 108b may correspond to a number of distinct pixels in each dimension that can be displayed via the display of the client device 108b. For example, a resolution of 1024×768 means that the width is 1024 pixels and the height (or length) is 768 pixels. The dimensions of a display of the client device 108b may include height (or length), width, or diagonal length measurements of the display in inches or centimeters (or any other unit of measurement of height (or length), width, or diagonal length). The aspect ratio of a display of the client device 108b corresponds to a proportional relationship between a width and height (or length) of the display of the client device. The aspect ratio may be expressed as two numbers separated by a colon (e.g., 16:9). Pixel density may be expressed as pixels per inch (PPI) or pixels per centimeter (PPCM or pixels/cm) and PPI or PPCM corresponds to the size of a display in inches or centimeters and the total number of pixels in the horizontal and vertical directions. The pixel density may also be referred to as dots per inch (DPI). The area of a display may be represented as square inches or square centimeters (or any other units of measurement).
In some embodiments, in response to obtaining display configuration information corresponding to client device 108b (which is different from client device 108a), the computer system 102 (e.g., resolution determination subsystem 114) may determine a new configuration (e.g., display resolution, pixel dimension, dimension, aspect ratio, pixel density, or area) of the first portion 202 based on the display configuration information corresponding to client device 108b and change the configuration (e.g., resize or reshape) of the first portion 202 of the virtual device UI 200 to generate a reconfigured first portion 302 (see
In some embodiments, in response to one or more display configurations of the client application (e.g., connected to the virtual device 104) being modified (e.g., manually by a user, automatically by the client device 108a or 108b without the user specifying the modification, etc.), the computer system 102 may receive updated display configuration information of the client application. As an example, on a mobile device or other device with multi-window capability, a user may resize the window of the client application, and the client device 108a may send (to the computer system 102) updated display configuration information that includes pixel dimensions, an aspect ratio, or other display characteristic that corresponds to the resized window (e.g., a size of the resized window in pixel width and height (and/or other dimensions), an aspect ratio of the resized window, etc.). In some embodiments, in response to obtaining the updated display configuration information, the computer system 102 may determine a new configuration of the first portion 202 based on the updated display configuration information and change the configuration (e.g., resize or reshape) of the first portion 202 of the virtual device UI 200 to generate a reconfigured first portion 302 (see
In some embodiments, determining the configuration of the portion 302 of the virtual device UI 200 may include determining a plurality of configurations (e.g., a plurality of resolutions, pixel dimensions, or pixel density) for the portion 302 of the virtual device UI 200. The plurality of configurations may correspond to a low resolution (and a low pixel density), a medium resolution (and a medium pixel density), and a high resolution (and a high pixel density) for the portion 302 of the virtual device UI 200. Although three configurations for the portion 302 are described herein, it should be understood that any number of different configurations may be determined based on the obtained display configuration information from the client device 108b. A listing of the plurality of configurations may be sent to the client device 108b to allow the client device 108b (or a user of the client device 108b) to select one of the plurality of configurations. In response to a selection of one of the plurality of configurations, the computer system 102 (e.g., resolution determination subsystem 114) may determine a configuration (e.g., display resolution, pixel dimension, dimension, aspect ratio, pixel density, or area) of the portion 302 of the virtual device UI 200 to correspond to the selected one of the plurality of configurations. Accordingly, the computer system 102 (e.g., resolution determination subsystem 114) may determine a configuration (e.g., display resolution, pixel dimension, dimension, aspect ratio, pixel density, or area) of the portion 302 of the virtual device UI 200 based on the obtained display configuration information from the client device 108b and based on the obtained selection of configurations from the client device 108b. Alternatively, the computer system 102 or client device 108b may automatically determine one of the plurality of configurations (e.g., such that the portion 302 is reconfigured based on the determined configuration without the computer system 102 or the client device 108b receiving a user input specifying the determined configuration subsequent to the computer system 102 obtaining the display configuration information from client device 108b). In some embodiments, determining the configuration of the portion 302 of the virtual device UI 200 may include determining a plurality of configurations (e.g., a plurality of resolutions, pixel dimensions, or pixel density) for the portion 302 of the virtual device UI 200 and selecting one of the plurality of configurations based on network bandwidth or network traffic. In some embodiments, the computer system 102 may monitor the network bandwidth, network traffic, or bandwidth usage (e.g., bandwidth or traffic associated with network 152) and obtain information associated with the network bandwidth, network traffic, or bandwidth usage. Based on the information associated with the network bandwidth, network traffic, or bandwidth usage, the computer system 102 may select one of the plurality of configurations. For example, the computer system 102 may select a configuration corresponding to (i) a high resolution (and a high pixel density) for the portion 302 of the virtual device UI 200 in response to a high network bandwidth (or low network traffic or low bandwidth usage), (ii) a low resolution (and low pixel density) for the portion 302 of the virtual device UI 200 in response to a low network bandwidth (or high network traffic or high bandwidth usage), or (iii) a medium resolution (and medium pixel density) for the portion 302 of the virtual device UI 200 in response to a medium network bandwidth (or medium network traffic or medium bandwidth usage). The computer system 102 may determine a number of bits for each of the different configurations and based on the number of bits for each of the configurations and based on the monitored network bandwidth, network traffic, or bandwidth usage, the computer system 102 may select one of the plurality of configurations for the portion 302 of the virtual device UI 200. Accordingly, the computer system 102 (e.g., resolution determination subsystem 114) may determine a configuration (e.g., display resolution, pixel dimension, dimension, aspect ratio, pixel density, or area) of the portion 302 of the virtual device UI 200 based on the obtained display configuration information from the client device 108b and based on the selection of configurations (e.g., selection being based on the on the number of bits for each of the configurations and based on the monitored network bandwidth, network traffic, or bandwidth usage).
In some embodiments, the first portion 202 may be reconfigured based on the determined configuration (e.g., display resolution, pixel dimension, dimension, aspect ratio, pixel density, or area) for the portion 302. As an example, the first portion 202 may be reconfigured based on a selected one of the plurality of configurations so as to generate a reconfigured portion 302 of the virtual device UI 200. In one use case, if the client device 108a (or other component of system 100) detects a consistently slower network connection, it can start a negotiation for a lower resolution from a list of offered screen resolutions (e.g., to lower the required bit count). Additionally, or alternatively, the client device 108a (or other component of system 100) can renegotiate a higher resolution when the network conditions improve. As discussed herein, the foregoing may be performed automatically without user confirmation or input (e.g., specifying the lower or higher resolution) or in response to a user confirmation or selection to effectuate the adjustment (e.g., prompting a user to accept the adjustment).
For illustrative purposes, the present disclosure presents an example of obtained display configuration information corresponding to a Samsung Galaxy Tablet 2 and determining a plurality of configurations corresponding to the portion 302 based on the obtained display configuration information. For example, the obtained display configuration information may include a display resolution (or pixel dimension) of 1536×2048 (e.g., width×height) and a pixel density of 320 corresponding to the Samsung Galaxy Tablet 2. Based on this display configuration information, the computer system 102 (e.g., resolution determination subsystem 114) may determine a plurality of configurations for the portion 302. Specifically, since the width to height ratio (1536/2048) for the Samsung Galaxy Tablet 2 is 0.75, the computer system 102 (e.g., resolution determination subsystem 114) may determine a plurality of configurations that correspond to this ratio or that are very close to this ratio. For instance, the determined plurality of configurations may include: (i) 1152×1536 (and pixel density of 240), (ii) 1056×1408 (and pixel density of 216), and (iii) 768×1024 (and pixel density of 160). Each of these configurations has a width to height ratio of 0.75. Further, the computer system 102 may utilize the pixel density of 320 of the Samsung Galaxy Tablet 2 to determine the pixel density for each of these configurations. For example, the display resolution (or pixel dimension) of 1536×2048 (e.g., width×height) and a pixel density of 320 indicates that the width of this tablet is 4.8 inches (1536/320) and the height of this tablet is 6.4 inches (2048/320). Accordingly, the computer system 102 may determine (i) a pixel density of 240 for a display resolution (or pixel dimension) of 1152×1536 (because this corresponds to a width of 4.8 inches (1152/240) and height of 6.4 includes (1536/240)), (ii) a pixel density of 216 for a display resolution (or pixel dimension) of 1056×1408 (because this corresponds to a width of 4.89 inches (1056/216) and a height of 6.51 inches (1408/216)), and (iii) a pixel density of 160 for a display resolution (or pixel dimension) of 768×1024 (because this corresponds to a width of 4.8 inches (768/160) and a height of 6.4 inches (1024/160)). One of the plurality of configurations may be selected (e.g., by a client device 108, by a user of a client device 108, or based on network bandwidth, network traffic, or bandwidth usage, etc.) to reconfigure the first portion 202 and, based on such selection, the first portion 202 may be reconfigured to generate a reconfigured portion 302.
The computer system 102 (e.g., communication subsystem 112) may prepare and send (e.g., stream) the reconfigured first portion 302 of the virtual device UI 200 to the client device 108b (see
In some embodiments, a frame buffer 122 (as illustrated in memory 106 of the computer system 102 in
In some embodiments, the first portion 202 (see
As shown in
The computer system 102 (e.g., communication subsystem 112) may prepare and send (e.g., stream) the reconfigured and reoriented first portion 402/502/602 of the virtual device UI 200 to the client device 108a (see
In response to a touch event detected by the client device 108 (e.g., a touch event associated with a display of the client device 108), the client device 108 (e.g., position determination subsystem 148) may determine X and Y coordinates associated with such a touch event. Since the first portion 202 of the virtual device UI is displayed via the display of the client device 108, the client device 108 (e.g., the position determination subsystem 148) may determine the X and Y coordinates associated with the first portion 202 based on the X and Y coordinates associated with the client device 108. For example, the X coordinate associated with the first portion 202 may be determined based on the following formula: ((X coordinate of the client device 108)/(width of the client device 108))*(width of the first portion 202). Similarly, the Y coordinate associated with the first portion 202 may be determined based on the following formula: ((Y coordinate of the client device 108)/(height of the client device 108))*(height of the first portion 202). Alternatively, the X and Y coordinates associated with the first portion 202 may be similarly determined by the computer system 102 (e.g., position determination subsystem 118). The determined (as described above) X and Y coordinates associated with the first portion 202 may be adjusted by the client device 108 or the computer system 102 based on a change in orientation of the client device 108. For example, (i) in response to a counterclockwise rotation of the client device 108 by 90 degrees, the X coordinate associated with the first portion 202 may be adjusted by taking into account the difference in the width of the second portion 204 (or the width of the entire virtual device UI 200) and the width of the first portion 202, (ii) in response to a clockwise rotation of the client device 108 by 90 degrees, the Y coordinate associated with the first portion 202 may be adjusted by taking into account the difference in the height of the second portion 204 (or the height of the entire virtual device UI 200) and the height of the first portion 202, and (iii) in response to a rotation of the client device 108 by 180 degrees, the Y coordinate associated with the first portion 202 may be adjusted by taking into account the difference in the height of the second portion 204 (or the height of the entire virtual device UI 200) and the height of the first portion 202, and the X coordinate associated with the first portion 202 may be adjusted by taking into account the difference in the width of the second portion 204 (or the width of the entire virtual device UI 200) and the width of the first portion 202. The X and Y coordinates of the first portion 202 may then be mapped to X and Y coordinates of the entire virtual device UI 200 by the computer system 102 or the client device 108. Details regarding processing of touch events by the client device 108 is described in U.S. Pat. No. 9,619,673, which is incorporated herein by reference.
Example Flowcharts
In some embodiments, the methods may be implemented in one or more processing devices (e.g., a digital processor, an analog processor, a digital circuit designed to process information, an analog circuit designed to process information, a state machine, and/or other mechanisms for electronically processing information). The processing devices may include one or more devices executing some or all of the operations of the methods in response to instructions stored electronically on an electronic storage medium. The processing devices may include one or more devices configured through hardware, firmware, and/or software to be specifically designed for execution of one or more of the operations of the methods.
In step 706, the portion of the virtual device user interface is configured based on the determined display resolution and streamed to the first physical device. The portion of the virtual device user interface is streamed without streaming one or more other first portions (e.g., one or more other portions of the virtual device user interface other than the portion of the virtual device user interface) of the virtual device user interface such that the first physical device presents the portion of the virtual device user interface. The portion of the virtual device user interface may be sent as an image or a video (e.g., a stream of h264 encoded video) to the physical device.
In step 708, second display configuration information corresponding to a second physical device may be obtained. The second display configuration information may include a display resolution of the second physical device. In this step, in response to obtaining the second display configuration, the portion of the virtual device user interface may be resized based on the second display configuration information without rebooting the virtual device. The display resolution of the resized portion of the virtual device user interface may be less than the display resolution currently loaded for the virtual device user interface. In step 710, the resized portion of the virtual device user interface may be streamed to the second physical device without streaming one or more other second portions (e.g., one or more other portions of the virtual device user interface other than the resized portion) of the virtual device user interface. The resized portion of the virtual device user interface may be streamed to the second physical device such that the second physical device presents the resized portion of the virtual device user interface.
In some embodiments, the various computers and subsystems illustrated in
The electronic storages may include non-transitory storage media that electronically stores information. The storage media of the electronic storages may include one or both of (i) system storage that is provided integrally (e.g., substantially non-removable) with servers or client devices or (ii) removable storage that is removably connectable to the servers or client devices via, for example, a port (e.g., a USB port, a firewire port, etc.) or a drive (e.g., a disk drive, etc.). The electronic storages may include one or more of optically readable storage media (e.g., optical disks, etc.), magnetically readable storage media (e.g., magnetic tape, magnetic hard drive, floppy drive, etc.), electrical charge-based storage media (e.g., EEPROM, RAM, etc.), solid-state storage media (e.g., flash drive, etc.), and/or other electronically readable storage media. The electronic storages may include one or more virtual storage resources (e.g., cloud storage, a virtual private network, and/or other virtual storage resources). The electronic storage may store software algorithms, information determined by the processors, information obtained from servers, information obtained from client devices, or other information that enables the functionality as described herein.
The processors may be programmed to provide information processing capabilities in the computing devices. As such, the processors may include one or more of a digital processor, an analog processor, a digital circuit designed to process information, an analog circuit designed to process information, a state machine, and/or other mechanisms for electronically processing information. In some embodiments, the processors may include a plurality of processing units. These processing units may be physically located within the same device, or the processors may represent processing functionality of a plurality of devices operating in coordination. The processors may be programmed to execute computer program instructions to perform functions described herein of subsystems 112-120,142-150, or other subsystems. The processors may be programmed to execute computer program instructions by software; hardware; firmware; some combination of software, hardware, or firmware; and/or other mechanisms for configuring processing capabilities on the processors.
It should be appreciated that the description of the functionality provided by the different subsystems 112-120 and 142-150 described herein is for illustrative purposes, and is not intended to be limiting, as any of subsystems 112-120 and 142-150 may provide more or less functionality than is described. For example, one or more of subsystems 112-120 and 142-150 may be eliminated, and some or all of its functionality may be provided by other ones of subsystems 112-120 and 142-150. As another example, additional subsystems may be programmed to perform some or all of the functionality attributed herein to one of subsystems 112-120 and 142-150.
Although the present disclosure has been described in detail for the purpose of illustration based on what is currently considered to be the most practical and preferred embodiments, it is to be understood that such detail is solely for that purpose and that the disclosure is not limited to the disclosed embodiments, but, on the contrary, is intended to cover modifications and equivalent arrangements that are within the scope of the appended claims. For example, it is to be understood that the present disclosure contemplates that, to the extent possible, one or more features of any embodiment can be combined with one or more features of any other embodiment.
The present techniques will be better understood with reference to the following enumerated embodiments:
- 1. A method comprising: obtaining display configuration information corresponding to a physical device; determining a display configuration of a portion of a virtual device user interface of a virtual device based on the display configuration information; configuring the portion of the virtual device user interface based on the determined display configuration of the portion of the virtual device user interface; and sending (or streaming) the portion of the virtual device user interface to the physical device (e.g., without sending one or more other portions of the virtual device user interface) such that the physical device presents the portion of the virtual device user interface.
- 2. The method according to embodiment 1, wherein the display configuration information is obtained via a network connection.
- 3. The method according to any of the preceding embodiments,wherein the display configuration of the portion of the virtual device user interface includes a display resolution of the portion of the virtual device user interface.
- 4. The method according to embodiment 3, wherein the display resolution of the portion of the virtual device user interface is less than a display resolution currently loaded for the virtual device user interface.
- 5. The method according to any of the preceding embodiments, further comprising: in response to obtaining second display configuration information, resizing the portion of the virtual device user interface based on the second display configuration information, such that a display resolution of the resized portion of the virtual device user interface is less than display resolution currently loaded for the virtual device user interface; and sending the resized portion of the virtual device user interface to the second physical device (e.g., without sending one or more other second portions of the virtual device user interface) such that the second physical device presents the resized portion of the virtual device user interface.
- 6. The method according to any of the preceding embodiments, further comprising: obtaining the second display configuration information in response to a disconnection of the physical device from the virtual device and a connection of the second physical device to the virtual device.
- 7. The method according to any of the preceding embodiments, wherein determining the display configuration of the portion of the virtual device user interface includes: determining a plurality of display resolutions based on the display configuration information; sending a list of the plurality of display resolutions to the physical device; obtaining a selection of one of the plurality of display resolutions from the physical device; and determining the display configuration of the portion of the virtual device user interface to correspond to the selected one of the plurality of display resolutions.
- 8. The method according to any of the preceding embodiments, wherein determining the display configuration of the portion of the virtual device user interface includes: determining a plurality of display configuration based on the display configuration information; obtaining network bandwidth or network traffic information; selecting one of the plurality of display resolutions based on the obtained network bandwidth or network traffic information; and determining the display configuration of the portion of the virtual device user interface to correspond to the selected one of the plurality of display resolutions.
- 9. The method according to any of the preceding embodiments, further comprising: generating a video signal based on a portion of a bitmap, wherein the bitmap corresponds to the virtual device user interface and the portion of the bitmap corresponds to the portion of the virtual device user interface; and sending the portion of the virtual device user interface as the video signal to the physical device.
- 10. The method according to any of the preceding embodiments, in response to a change in orientation of the physical device, obtaining the orientation of the physical device; resizing the portion of the virtual device user interface based on the display configuration information and the orientation of the physical device; rotating the resized portion of the virtual device user interface based on the orientation of the physical device; and sending the rotated resized portion of the virtual device user interface to the physical device (e.g., without sending one or more other second portions of the virtual device user interface) such that the physical device presents the rotated resized portion of the virtual device user interface.
11. The method according to any of the preceding embodiments, wherein the display configuration information includes a display resolution corresponding to the physical device or a display resolution corresponding to an application running on the physical device.
- 12. The method according to any of the preceding embodiments, wherein the display configuration information includes pixel density corresponding to the physical device, and wherein a pixel density of the portion of the virtual device user interface is determined further based on the pixel density corresponding to the physical device.
- 13. A system, comprising: one or more processors; and memory storing instructions that when executed by the processors cause the processors to effectuate operations comprising those of any of embodiments 1-12.
- 14. A tangible, non-transitory, machine-readable medium storing instructions that when executed by a data processing apparatus cause the data processing apparatus to perform operations comprising those of any of embodiments 1-12.
Claims
1. A system for facilitating no-device-reboot dynamic resizing of a portion of a virtual device user interface based on display configuration information corresponding to a physical device, the system comprising:
- a virtual device platform including a virtual device, the virtual device platform including
- circuitry configured to:
- obtain, via a network connection, first display configuration information associated with a first physical device, the first display configuration information including a display resolution of the first physical device;
- determine a display resolution of a portion of a virtual device user interface of the virtual device based on the first display configuration information such that the display resolution of the portion of the virtual device user interface is less than display resolution currently loaded for the virtual device user interface;
- configure the portion of the virtual device user interface based on the determined display resolution of the portion of the virtual device user interface;
- stream the portion of the virtual device user interface to the first physical device without streaming one or more other first portions of the virtual device user interface, such that the first physical device presents the portion of the virtual device user interface;
- in response to obtaining second display configuration information associated with a second physical device, resize the portion of the virtual device user interface based on the second display configuration information without rebooting the virtual device, such that display resolution of the resized portion of the virtual device user interface is less than the display resolution currently loaded for the virtual device user interface, wherein the second display configuration information includes a display resolution of the second physical device; and
- stream the resized portion of the virtual device user interface to the second physical device without streaming one or more other second portions of the virtual device user interface, such that the second physical device presents the resized portion of the virtual device user interface.
2. The system of claim 1, wherein determining the display resolution of the portion of the virtual device user interface includes:
- determining a plurality of display resolutions based on the first display configuration information;
- sending a list of the plurality of display resolutions to the first physical device; obtaining a selection of one of the plurality of display resolutions from the first physical device; and
- determining the display resolution of the portion of the virtual device user interface to correspond to the selected one of the plurality of display resolutions.
3. The system of claim 1, wherein determining the display resolution of the portion of the virtual device user interface includes:
- determining a plurality of display resolutions based on the first display configuration information;
- obtaining network bandwidth or network traffic information;
- selecting one of the plurality of display resolutions based on the obtained network bandwidth or network traffic information; and
- determining the display resolution of the portion of the virtual device user interface to correspond to the selected one of the plurality of display resolutions.
4. The system of claim 1,
- wherein the virtual device platform further includes a frame buffer that stores a bitmap corresponding the virtual device user interface, and
- wherein the circuitry is configured to:
- generate a first video signal based on a portion of the bitmap that corresponds to the portion of the virtual device user interface; and
- send the portion of the virtual device user interface as the first video signal to the first physical device.
5. The system of claim 1, wherein the circuitry is configured to obtain the second display configuration information in response to a disconnection of the first physical device from
- the virtual device and a connection of the second physical device to the virtual device.
6. A method comprising:
- obtaining display configuration information associated with a physical device, the display configuration information including a display resolution of the physical device;
- determining a display resolution of a portion of a virtual device user interface of a virtual device based on the display configuration information;
- configuring the portion of the virtual device user interface based on the determined display resolution of the portion of the virtual device user interface;
- sending the portion of the virtual device user interface to the physical device without sending one or more other portions of the virtual device user interface, such that the physical device presents the portion of the virtual device user interface; and
- in response to obtaining second display configuration information associated with a second physical device, resizing the portion of the virtual device user interface based on the second display configuration information without rebooting the virtual device, such that display resolution of the resized portion of the virtual device user interface is less than display resolution currently loaded for the virtual device user interface; and
- sending the resized portion of the virtual device user interface to the second physical device without sending one or more other second portions of the virtual device user interface, such that the second physical device presents the resized portion of the virtual device user interface.
7. The method of claim 6, further comprising: obtaining the second display configuration information in response to a disconnection of the physical device from the virtual device and a connection of the second physical device to the virtual device.
8. The method of claim 6, wherein determining the display resolution of the portion of the virtual device user interface includes:
- determining a plurality of display resolutions based on the display configuration information;
- sending a list of the plurality of display resolutions to the physical device;
- obtaining a selection of one of the plurality of display resolutions from the physical device; and
- determining the display resolution of the portion of the virtual device user interface to correspond to the selected one of the plurality of display resolutions.
9. The method of claim 6, wherein determining the display resolution of the portion of the virtual device user interface includes:
- determining a plurality of display resolutions based on the display configuration information;
- obtaining network bandwidth or network traffic information;
- selecting one of the plurality of display resolutions based on the obtained network bandwidth or network traffic information; and
- determining the display resolution of the portion of the virtual device user interface to correspond to the selected one of the plurality of display resolutions.
10. The method of claim 6, further comprising:
- generating a video signal based on a portion of a bitmap, wherein the bitmap corresponds to the virtual device user interface and the portion of the bitmap corresponds to the portion of the virtual device user interface; and
- sending the portion of the virtual device user interface as the video signal to the physical device.
11. The method of claim 6, further comprising:
- in response to a change in orientation of the physical device, obtaining the orientation of the physical device;
- resizing the portion of the virtual device user interface based on the display configuration information and the orientation of the physical device;
- rotating the resized portion of the virtual device user interface based on the orientation of the physical device; and
- sending the rotated resized portion of the virtual device user interface to the physical device without sending one or more other second portions of the virtual device user interface, such that the physical device presents the rotated resized portion of the virtual device user interface.
12. The method of claim 6, wherein the display configuration information further includes pixel density corresponding to the physical device, and wherein a pixel density of the portion of the virtual device user interface is determined further based on the pixel density corresponding to the physical device.
13. One or more non-transitory, computer-readable media storing instructions that, when executed by one or more processors, effectuate operations comprising:
- obtaining display configuration information associated with a physical device;
- determining a display resolution of a portion of a virtual device user interface of a virtual device based on the display configuration information;
- configuring the portion of the virtual device user interface based on the determined display resolution of the portion of the virtual device user interface; and
- sending the portion of the virtual device user interface to the physical device without sending one or more other portions of the virtual device user interface, such that the physical device presents the portion of the virtual device user interface; and
- in response to obtaining second display configuration information, resizing the portion of the virtual device user interface based on the second display configuration information without rebooting the virtual device, such that display resolution of the resized portion of the virtual device user interface is less than display resolution currently loaded the virtual device user interface; and
- sending the resized portion of the virtual device user interface to the second physical device without sending one or more other second portions of the virtual device user interface, such that the second physical device presents the resized portion of the virtual device user interface.
14. The non-transitory, computer-readable media of claim 13, wherein the display configuration information includes a display resolution of the physical device or a display resolution of a first client application running on the physical device, and wherein the second display configuration information includes a display resolution of a second physical device or a display resolution of a second client application running on the second physical device.
15. The non-transitory, computer-readable media of claim 13, wherein determining the display resolution of the portion of the virtual device user interface includes:
- determining a plurality of display resolutions based on the display configuration information;
- sending a list of the plurality of display resolutions to the physical device;
- obtaining a selection of one of the plurality of display resolutions from the physical device; and
- determining the display resolution of the portion of the virtual device user interface to correspond to the selected one of the plurality of display resolutions.
16. The non-transitory, computer-readable media of claim 13, wherein determining the display resolution of the portion of the virtual device user interface includes:
- determining a plurality of display resolutions based on the display configuration information;
- obtaining network bandwidth or network traffic information;
- selecting one of the plurality of display resolutions based on the obtained network bandwidth or network traffic information; and
- determining the display resolution of the portion of the virtual device user interface to correspond to the selected one of the plurality of display resolutions.
17. The non-transitory, computer-readable media of claim 13, further comprising: generating a video signal based on a portion of a bitmap, wherein the bitmap corresponds
- to the virtual device user interface and the portion of the bitmap corresponds to the portion of the virtual device user interface; and
- sending the portion of the virtual device user interface as the video signal to the physical device.
18. The non-transitory, computer-readable media of claim 13, further comprising:
- in response to a change in orientation of the physical device, obtaining the orientation of the physical device;
- resizing the portion of the virtual device user interface based on the display configuration information and the orientation of the physical device;
- rotating the resized portion of the virtual device user interface based on the orientation of the physical device; and
- sending the rotated resized portion of the virtual device user interface to the physical device without sending one or more other second portions of the virtual device user interface, such that the physical device presents the rotated resized portion of the virtual device user interface.
9619673 | April 11, 2017 | Vetter et al. |
9697629 | July 4, 2017 | Vetter et al. |
10503458 | December 10, 2019 | Lee et al. |
20110225542 | September 15, 2011 | Schmieder |
20190012769 | January 10, 2019 | Arrieta |
Type: Grant
Filed: Dec 17, 2020
Date of Patent: Feb 28, 2023
Patent Publication Number: 20210232409
Assignee: HYPORI LLC (Reston, VA)
Inventors: Brian J. Vetter (Austin, TX), Mohammad Salman Dhedhi (Round Rock, TX)
Primary Examiner: Gustavo Polo
Application Number: 17/125,891
International Classification: G06F 9/4401 (20180101); G09G 5/391 (20060101);