Incorporated by reference herein in its entirety is U.S. Pat. No. 5,831,609, filed Jun. 6, 1995, entitled “Method and system for dynamic translation between different graphical user interface systems.”
The present disclosure relates generally to graphics command processing in client-server computing systems, and more particularly to a system for and method of classifying and translating graphics commands in client-server computing systems.
In a client-server computing system, a computer application or program that is running on one computer (i.e., the server) may be accessible to another computer (i.e., the client) over a network, such as over the Internet. The user interface running on the server is exposed and visible to the client. In this way, the client has remote access to the server and the user of the client device can interact with the application that is running on the server.
The server application may be, for example, an application that processes two-dimensional (2D) and/or three-dimensional (3D) graphics. In this example, a 2D and/or 3D graphics application may be used to render graphical objects on a computer display. Currently, in a client-server computing system, the high-level graphics representation (e.g., Direct3D, OpenGL) is reduced to an image (e.g., a bitmap image) at the server. The image is then transmitted from the server to the client over the network. Once received at the client, the image is rendered on the client display. Creating, compressing, and transmitting these image files may result in high CPU utilization (i.e., computing load) at the server, especially when the application displays objects in motion and when there are a large number of remote users sharing the server. Further, images are often large and, therefore, transmitting images to a large number of remote users consumes a large amount of network bandwidth.
Various inventive embodiments disclosed herein, both as to its organization and manner of operation, together with further objectives and advantages, may be best understood by reference to the following description, taken in connection with the accompanying drawings as set forth below:
The disclosure provides a client-server computing system that enables remote access to 3D graphics applications and methods of classifying and translating graphics commands such that graphic objects may be efficient displayed on a computer (client) located remotely from a computer (server) that is running the 3D graphics application, regardless of whether the client and the server operate on different computing platforms. The client-server computing system of the disclosure exhibits numerous advantages over existing systems. In various embodiments, the client-server computing system of the disclosure and associated methods may enable a server to provide 3D graphics application capabilities to a large number of clients while avoiding excessive computing load at the server. Further, client-server computing system of the disclosure may provide such 3D graphics application capabilities at lower network bandwidth requirements. Further still, the client-server computing system of the disclosure may be configured such that clients operating on different platforms can achieve these advantages.
While client 120 and display 130 are illustrated as separate physical components (e.g., illustrative of a common implementation of a desktop or a workstation computing system such as clients running natively on Windows, Linux, UNIX, and Mac OS X operating system), the capabilities of such separate components can also be integrated in a single device (e.g., a mobile device or a tablet computer). For example, the mobile device can be an iPad tablet computer on the iOS operating system (Apple Inc., Cupertino, Calif.), or other mobile client on either the Android operating system (Google Inc., Mountain View, Calif.) or the Windows CE operating system (Microsoft Corp., Redmond, Wash.). Thus, as used herein, the terms “client” or “client computer” should be understood to include any such implementations.
Server 110 includes a server application 112, a server 3D library 114, and a virtual display driver 116 that, in accordance with the client-server model of computing, collectively function to enable server 110 to provide various resources or services to client 120, which may be located remotely from the server. In accordance with the present disclosure, these resources or services pertain to computer graphics.
Client 120 includes a client application 122, a client 3D library 124, and a client display driver 126. Collectively, these elements function to enable the client and the client user to consume computer graphics resources or services provided by server 110.
Server application 112 represents an application executing (i.e., “running”) on server 110. The functionality of server application 112 shall be visible to and accessible by client 120 via network 140. For example, server application 112 may be a computer-aided design (CAD) application, such as AutoCAD (Autodesk, Inc., San Rafael, Calif., USA) or Cadence Virtuoso (Cadence Design Systems, San Jose, Calif.); a medical clinical workflow application such as Symbia.net (Siemens AG, Munich, Germany); an interactive mapping application such as Google Earth (Google, Inc.) or a 3D game. The functionality of server application 112 shall be visible to and accessible by client 120 via network 140. For example, the functionality of server application 112 may be accessed from client 120 using a process herein known as application publishing, which is currently supported by products such as GraphOn GO-Global, Microsoft Remote Desktop Services and Citrix XenApp. Such application publishing may be performed in accordance with teachings of commonly-owned U.S. Pat. No. 5,831,609, filed Jun. 6, 1995, entitled “Method and system for dynamic translation between different graphical user interface systems,” which is incorporated by reference as though fully set forth herein.
Client application 122 represents an application installed on and executing on client 120 that emulates a user interface of server application 112. For example, the client application may run in a browser and be implemented in a scripting language such as JavaScript, a multimedia platform such as Adobe Flash, or as a browser add-on (e.g., ActiveX control for Internet Explorer). Additionally, client application 122 may run as a standalone application. Client application 122 may receive various input commands from the user via an input device (not shown in
Server 3D library 114 and client 3D library 124 provide a set of interfaces or graphics functions to server 110 and client 120, respectively. These components are also referred to herein as a high-level graphics language or a graphics application programming interface (API). In one embodiment of the disclosure, both server 3D library 114 and client 3D library 124 support and same graphics API. For example, both libraries may be based on the OpenGL API (Khronos Group, Beaverton, Oreg.), Direct3D API (Microsoft Corp, Redmond, Wash.), or other 3D graphics API of conventional or novel design.
In one aspect of this disclosure, server 3D library 114 and/or client 3D library 124 can include 3D graphics API functions that provide native support to the specific operating system utilized by server 110 and/or client 120. For example, if client 110 operates on the X Window System (i.e., X11) platform and client 3D library 124 utilizes the OpenGL language, client 3D library 124 can further include the GLX (i.e., OpenGL Extension to the X Window System) API or the GLUT (i.e., OpenGL Utility ToolKit) library. This means that certain functions are platform-specific; that is, certain functions in server 3D library 114 may be executable only by server 110 and certain functions in client 3D library 124 may be executable only by client 120. Certain inventive aspects of this disclosure are directed towards translating platform-specific functions into cross-platform or client-supported functions.
Virtual display driver 116 is a software code module that enables commands or functions that are called in server 3D library 114 to be marshaled (i.e., encoded) and transmitted to client 120 over network 140. Marshaling (or marshalling) is the process of transforming the memory representation of such commands to a data format suitable for transmission via network 140. For example, the display driver assigns an ID to each graphics function and converts function arguments from a platform-specific byte order into a common byte order that all clients can read, regardless of the native byte order of the client device. This encoding allows graphic objects and their motions to be represented much more efficiently than the conventional method of generating an image for each arrangement or view of the objects. Significantly less data must be compressed and transmitted by the server, greatly reducing CPU usage on the server and network bandwidth usage.
Client display driver 126 includes a software code module that receives marshaled data from server 110 via client application 122 and executes the 3D library functions using client 3D library 124. This enables client 120 to handle intensive graphics rendering operations, such as blending or shading, while enabling server 110 to share server application 112 with a larger pool of clients. This also reduces the bandwidth requirements of network 140 as pixel array image data (e.g., in the form of Bitmap image files) no longer needs to be transmitted from server 110 to individual clients such as client 120, as was the case in conventional client-server computing systems.
In operation, client 120 connects to server 110 via network 140 by suitable connection of either conventional or novel design (e.g., Transmission Control Protocol/Internet Protocol model). Optionally, client 120 may transmit capability information to server 110, such as information about the particular APIs supported by client display driver 126. Server 110 may forward such information to virtual display driver 116 for later use. Client 120 then initializes server application 112 on server 110 (e.g., initialize various startup instructions of the AutoCAD application) and issues a graphics request to server application 112 (e.g., draw 3D cube). Server application loads and initializes server 3D library 114, and server 3D library 114 queries virtual display driver 116 to determine its capabilities. Virtual display driver 116 generally returns the capabilities of client 120, but may also return capabilities that are not support by client 120 but are supported by virtual display driver 116. Server application 112 calls or invokes the appropriate function or functions (i.e., graphics command(s)) in server 3D library 114 that satisfy the client request. Server 3D library 114 receives the call made by server application 112 and executes the function by calling or invoking virtual display driver 116. According to one inventive aspect of the disclosure, virtual display driver 116 classifies and, if necessary, translates the commands such that they can be executed by client 120 regardless of whether client 120 operates on a different platform or utilizes a different native 3D graphics API than server 110. Then, virtual display driver 116 encodes and transmits the commands to client 120. Client 120 decodes the commands and executes each command by making calls to client 3D library 124. In turn, client 3D library 124 calls client display driver 126 with the resulting pixel image array data and client display driver 126 renders image(s) to display 130.
At a step 210, virtual display driver 116 of server 110 receives one or more graphics command(s) from client 120 via network 140 as described either herein above or by any other means.
At a decision step 212, virtual display driver 116 of server 110 determines whether the graphics command(s) are specific to the platform on which client 120 is operating. This determination is a form of platform classification for graphics commands. According to one embodiment, the classification is a binary or “hard” decision—either the graphics command(s) are platform specific or cross-platform. For example, virtual display driver 116 can contain predetermined logic that any OpenGL call that is specific to WGL (e.g., wglCopyContext) is a platform-specific call. WGL is a windowing system interface to the Microsoft Windows implementation of OpenGL. By way of another example, glXCreateGLXPixmap is an OpenGL call that is specific to the X Window System platform. This classification may be made by accessing data structures that maintain attributes of specific graphics commands, or it may be made implicitly in code that is specific to a given graphics command. If virtual display driver 116 determines that the graphics command is platform-specific, method 200 proceeds to a step 214. However, if the search indicates that the graphics command is not platform-specific, method 200 proceeds to a step 216.
At a step 214, having determined that the graphics command(s) are platform-specific function(s), virtual display driver 116 of server 110 translates the graphics command(s) from a platform-specific format to a cross-platform format. This translation represents an abstraction of the description of the graphics command(s), such that the abstraction can be understood and implemented on any collection of computing platforms, namely the collection of potential platforms on which client 120 operates.
For example, step 214 can involve a translation of the concrete, platform-specific command to a more abstract data type that is platform-independent and can be executed on client 120 regardless of its platform. For example, if the call is wglCopyContext, it may be translated to an abstract command (e.g., abstractCopyContext) that can be implemented on other client platforms. In this example, when client 120 operates on an X11 platform, client 120 translates abstractCopyContext to glXCopyContext; alternatively, when client 120 operates on a Windows platform, client 120 translates abstractCopyContext to wglCopyContext. Alternatively, step 214 may involve a translation of the command to an equivalent function that is supported by client 3D library 124 of client 120. For example, if client 120 operates on an X11 platform, virtual display driver 116 may convert wglCopyContext to glXCopyContext. As yet another alternative, display driver 116 may convert a platform-specific command to a cross-platform alternative. One such example of a cross-platform graphics API is the OpenGL Utility Toolkit (GLUT). For example, if the call is CreateWindow, a GLUT function that could be executed by client 120 to achieve the same command functionality regardless of platform could be glutCreateWindow.
At a decision step 216, having determined that the graphics command(s) are not platform-specific at step 212, virtual display driver 116 of server 110 determines whether the graphics command(s) are client-supported functions. This determination is a form of version classification for graphics commands. According to one embodiment, the classification is a binary or “hard” decision—either the function is supported by the client or it is not. One example of a scenario in which the graphics command(s) may be considered cross-platform but not client-supported functions arises when server 110 and client 120 operate on the same platform, server 3D library 114 and client 3D library 124 include different versions of a 3D graphics API specific to the platform, and a graphics command called in server 3D library 114 is not included in the version of client 3D library 124. To compute this classification, virtual display driver 116 may utilize capability information transmitted from client 120 to server 110, which might include the API version or versions supported in client 3D library 124.
If both client 120 and virtual display driver 116 do not support a given capability, at the time when server 3D library 114 calls virtual display driver 116 to determine its capabilities, virtual display driver 116 reports that it does not support the capability. In this case, server 3D library 114 forwards graphics commands to virtual display driver 116 that client 120 supports and method 200 proceeds to a step 220.
However, if client 120 does not support a given capability but virtual display driver 116 supports the capability, at the time when server 3D library 114 calls virtual display driver 116 to determine its capabilities, virtual display driver 116 reports that it supports the capability. In this case, server 3D library 114 may forward graphics commands to virtual display driver 116 that client 120 does not support and method 200 proceeds to a step 218.
At a step 218, having determined that the graphics command(s) are not client-supported functions at step 216, either virtual display driver 116 of server 110 or client 120 translates the graphics command(s) functions that are supported by client 3D library 124. For example, if client 3D library 124 supports OpenGL version 2.2 and server 3D library 114 supports OpenGL version 3.0, but client 120 supports the GL_ARB_vertex_array_object extension (which is not supported in OpenGL version 2.2), virtual display driver 116 forwards GL_ARB_vertex_array_object commands to client 120, and client 120 translates the commands to APIs that are supported by client 3D library 124.
At a step 220, virtual display driver 116 of server 110 encodes each of the received graphics command(s) and transmits the information to client 120 via network 140. As described herein above, virtual display driver 116 may utilize marshaling to transform the memory representation of such commands to a data format suitable for transmission via network 140.
Number | Name | Date | Kind |
---|---|---|---|
5448759 | Krebs et al. | Sep 1995 | A |
5745762 | Celi et al. | Apr 1998 | A |
5831609 | London et al. | Nov 1998 | A |
6578197 | Peercy et al. | Jun 2003 | B1 |
6747642 | Yasumoto | Jun 2004 | B1 |
7945917 | Shoji et al. | May 2011 | B2 |
8171154 | Vonog et al. | May 2012 | B2 |
8922569 | Tidd | Dec 2014 | B1 |
20070169018 | Coward | Jul 2007 | A1 |
20080009969 | Bruemmer et al. | Jan 2008 | A1 |
20080033940 | Dinh et al. | Feb 2008 | A1 |
20080163080 | Kooy et al. | Jul 2008 | A1 |
20080201705 | Wookey | Aug 2008 | A1 |
20080316218 | Kilani et al. | Dec 2008 | A1 |
20090089453 | Bohan et al. | Apr 2009 | A1 |
20090189894 | Petrov et al. | Jul 2009 | A1 |
20100070951 | Yamin | Mar 2010 | A1 |
20100118039 | Labour | May 2010 | A1 |
20100328326 | Hervas et al. | Dec 2010 | A1 |
20110035758 | Stoyanov et al. | Feb 2011 | A1 |
20110055823 | Nichols et al. | Mar 2011 | A1 |
20110153824 | Chikando et al. | Jun 2011 | A1 |
20110157196 | Nave et al. | Jun 2011 | A1 |
20120011193 | Gilboa | Jan 2012 | A1 |
20120050301 | Chun et al. | Mar 2012 | A1 |
20120079224 | Clayton et al. | Mar 2012 | A1 |
20120162198 | Nakanishi et al. | Jun 2012 | A1 |
20120165978 | Li et al. | Jun 2012 | A1 |
20120254453 | Lejeune et al. | Oct 2012 | A1 |
20120328326 | Sato | Dec 2012 | A1 |
20120331532 | Walters et al. | Dec 2012 | A1 |
20130124953 | Fan et al. | May 2013 | A1 |
Entry |
---|
US 9,019,288, 04/2015, Tidd (withdrawn) |
U.S. Appl. No. 13/399,793, Office Action mailed Oct. 1, 2013. |
U.S. Appl. No. 13/341,179, Office Action mailed Oct. 29, 2013. |
U.S. Appl. No. 13/399,806, Office Action mailed Oct. 4, 2013. |
U.S. Appl. No. 13/341,198, Office Action mailed Dec. 5, 2013. |
U.S. Appl. No. 13/399,852, Office Action mailed Oct. 21, 2013. |
U.S. Appl. No. 13/399,793, Final Office Action mailed May 12, 2014. |
U.S. Appl. No. 13/341,179, Final Office Action mailed Jun. 16, 2014. |
U.S. Appl. No. 13/399,806, Final Office Action mailed May 23, 2014. |
U.S. Appl. No. 13/341,198, Final Office Action mailed Jun. 11, 2014. |
U.S. Appl. No. 13/399,852, Final Office Action mailed May 27, 2014. |
U.S. Appl. No. 13/399,852, Office Action mailed Dec. 31, 2014. |
U.S. Appl. No. 14/575,751, William Tidd, Cloud Based System for and Method fo Translating Between Disparate 3D Graphics Languages in Client-Server Computing Environments filed Dec. 18, 2014. |
U.S. Appl. No. 13/341,198, Office Action mailed Apr. 8, 2015. |
U.S. Appl. No. 14/614,364, William Tidd, System for and Method of Classifying and Translating Graphics Commands in Client-Servier Computing Sytems, filed Feb. 4, 2015. |
Bernstein, P.A., “Middleware: a model for distributed system services”, Communications of the ACM, 39(2), p. 86-98, Feb. 1996. |
U.S. Appl. No. 13/341,179, Office Action mailed Jun. 11, 2015. |
U.S. Appl. No. 13/399,852, Final Office Action mailed Jun. 19, 2015. |