AU2012200858A1 - Efficient encoding of alternative graphic sets - Google Patents

Efficient encoding of alternative graphic sets Download PDF

Info

Publication number
AU2012200858A1
AU2012200858A1 AU2012200858A AU2012200858A AU2012200858A1 AU 2012200858 A1 AU2012200858 A1 AU 2012200858A1 AU 2012200858 A AU2012200858 A AU 2012200858A AU 2012200858 A AU2012200858 A AU 2012200858A AU 2012200858 A1 AU2012200858 A1 AU 2012200858A1
Authority
AU
Australia
Prior art keywords
encoding
remote device
graphics
compression
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
AU2012200858A
Other versions
AU2012200858B2 (en
Inventor
Nadim Y. Abdo
Joy Chik
John E. Parsons
Robert Wilhelm Schmieder
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Microsoft Technology Licensing LLC
Original Assignee
Microsoft Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from AU2007225421A external-priority patent/AU2007225421B2/en
Application filed by Microsoft Corp filed Critical Microsoft Corp
Priority to AU2012200858A priority Critical patent/AU2012200858B2/en
Publication of AU2012200858A1 publication Critical patent/AU2012200858A1/en
Application granted granted Critical
Publication of AU2012200858B2 publication Critical patent/AU2012200858B2/en
Assigned to MICROSOFT TECHNOLOGY LICENSING, LLC reassignment MICROSOFT TECHNOLOGY LICENSING, LLC Request for Assignment Assignors: MICROSOFT CORPORATION
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

Australian Patents Act 1990- Regulation 3.2A ORIGINAL COMPLETE SPECIFICATION STANDARD PATENT Invention Title "Efficient encoding of alternative graphic sets" The following statement is a full description of this invention, including the best method of performing it known to me/us:- C:WPonbDCC\TRNWN47252_.DOC/.13A22012 EFFICIENT ENCODING OF ALTERNATIVE GRAPHIC SETS RELATED APPLICATIONS 100011 This is a divisional of Australian Patent Application No. 2007225421, the originally filed specification of which is incorporated herein by reference in its entirety. 5 BACKGROUND [00021 As computerized systems have increased in popularity, so have the needs to distribute files and processing resources of computer systems in networks both large and small. In general, computer systems and related devices communicate information over a network for a variety of reasons, for example, to exchange personal electronic messages, sell merchandise, 10 provide account information, and so forth. One will appreciate, however, that as computer systems and their related applications have become increasingly more sophisticated, the challenges associated with sharing data and resources on a network have also increased. [00031 Some current ways for distributing resources within an organizational network might involve a centralized server (or local device) sharing resources with one or more clients (or 15 remote devices) that typically do not have such resources installed locally. Such systems normally use a dedicated protocol such as Remote Desktop Protocol ("RDP"), Independent Computing Architecture (ICA), and others, to share various applications with a remote client. With such protocols, a client computer system can access a centralized network server, which hosts resources of interest, and interact (e.g., sending mouse and keyboard events, etc.) with 20 those resources just as though those resources were installed locally. 10004] The network server in turn, processes those interactions, creates corresponding rendering information of the data, and sends both the processed data and created rendering information back to the client. The client computer system then receives the data and rendering information, and uses a client-side video driver to render and display the received data locally. 25 Ideally, this interaction between the client computer system and network server occurs seamlessly as though the client computer system had actually processed the data locally with its own installed resources. Unfortunately, such systems can be subject to network throughput constraints, which, if burdened, might result in a "lag" between what the local client computer system views in terms of interaction and processing. 30 [00051 Another type of system that is similar in most respects to the centralized sharing model described above involves a broadcasting (or "sending") client computer -2 5 system configured to send window data infonnation to other recipient client computer systems on a network This feature is also sometimes called "desktop sharing." In this example, the broadcasting computer (e.g, an "instructor" in a learning environment) and the recipient computer systems (e.g., "students') connect using a commonly-installed application program that allows for sharing of desktop views and to locally installed applications at the instructor computer. Similar to the centralized computing system scenario, the client computer systems might be able to interact with the windows displayed at the instructor computer as though the windows were the student computer's own. [00061 Because bitmaps are expensive in terms of bandwidth consumption when 15 transmitted over a network connection (e.g., the Internet), rather then sending the entire bitmaps most systems nowadays (such as those described above) send graphic primitives and other operations, which tell a sub-routine on the client side what and how to draw something. For example, a client may be told to draw a rectangle along with information about where it should be drawn, what size, color, etc. For instance, 20 a rectangle may be used to draw a button for a user interface, a border around a document, or any other purpose for which a rectangular shape may-be useful. Of course, there are many other shapes and operations that can be used as primitives that may be more sophisticated and require more processing that must be done to transfer and perform the operation on the remote client. 25 [00071 Although the above use of primitives have enhanced the seamlessness of networking systems, as applications continue to get more sophisticated graphical interfaces and other displays, the more processing intensive the use of the above. primitives becomes. Moreover, the information sent from the local to the remote device for rendering graphics on the display at the client is typically used in an 30 immediate presentation mode where tiled windows results in loss of graphic information. For example, using immediate presentation mode, only the information needed to draw the visible portions of the widows is available. In other words, there is no graphics information retained for portions of windows in the background covered by other windows-i.e., graphics information is only retained for top level 35 window. Accordingly, when a window is moved to the foreground, new information is needed to draw the window. Because of the above noted increase in graphics sophistication, this continual sending of information may overload the system when C:WRPornblDCC\TRl417252 I.DOC-I3M2/2012 -3 frequent updates are need-e.g., when windows are shuffled, rotated, and rearranged. This also presents various challenges as it relates to more sophisticated animations. It is desired to address or ameliorate one or more shortcomings of the prior art, or at least provide a useful alternative. 5 SUMMARY [0008] The present invention provides, in a distributed computing system, a method of efficiently encoding at least one graphic object for display on a remote device of one or more applications running on a local device by determining an appropriate compression mechanism, the method comprising: 10 initializing a connection with the remote device, by the local device; executing one or more applications on the local device, each of which generates a graphics display for display on the remote device; receiving a graphics set for rendering at least a portion of the graphics display for the one or more applications; 15 receiving, from the remote device, one or more supported encoding types, wherein the one or more supported encoding types are used by the local device to determine the appropriate compression mechanism of one or more compression mechanisms for compressing one or more fields of the graphics set, wherein the one or more compression mechanisms comprises a run-length encoding (RLE) mechanism, and wherein the one or 20 more supported encoding types are received from the remote device during the initialization of the remote device and the local device; and based on the one or more supported encoding types, determining the appropriate compression mechanism for the compressing of the one or more fields of the graphics set. 10008a] The present invention also provides one or more computer storage media storing 25 computer-executable instructions that when executed by a processor perform a method for efficiently encoding at least one graphic object for display on a remote device of one or more applications running on a local device by determining an appropriate compression mechanism, the method comprising: initializing a connection with the remote device, by the local device; 30 executing one or more applications on the local device, each of which generates a C:NRPonbl\DCC\TRM4147252_. DOC-132/12012 -3A graphics display for display on the remote device; receiving a graphics set for rendering at least a portion of the graphics display for the one or more applications; receiving, from the remote device, one or more supported encoding types, wherein 5 the one or more supported encoding types are used by the local device to determine the appropriate compression mechanism of one or more compression mechanisms for compressing one or more fields of the graphics set, wherein the one or more compression mechanisms comprises a run-length encoding (RLE) mechanism, and wherein the one or more supported encoding types are received from the remote device during the 10 initialization of the remote device and the local device; and based on the one or more supported encoding types, determining the appropriate compression mechanism for the compressing of the one or more fields of the graphics set. BRIEF DESCRIPTION OF THE DRAWINGS 15 [00091 Preferred embodiments of the present invention are hereinafter described, by way of example only, with reference to the accompanying drawings, wherein: [00101 Figure lA illustrates a distributed system that uses various information for efficiently encoding graphic sets used in rendering a display at a remote device in C:WRPonbADCC\TRiJ47252.. .DOC-IM12/2012 -4 accordance with example embodiments; [00111 Figure 1B illustrates a distributed system that utilizes information about various resources for determining what portions of resources (if any) should be encoded for transmission to a remote device in accordance with example embodiments; 5 [00121 Figure IC illustrates some of the dedicated resources or icons that may be available on a remote device and used such that there is no transfer of the resources from a local device in accordance with exemplary embodiments; [00131 Figure ID illustrates a mechanism for improving responsiveness by rendering with partially sent resources in accordance with example embodiments; 10 100141 Figure 2 illustrates a flow diagram for a method for efficiently encoding graphic objects for display on a remote device in accordance with example embodiments; 100151 Figure 3 illustrates a flow diagram for a method of efficiently rendering graphic objects on a remote display device in accordance with example embodiments; and 100161 Figure 4 illustrates a flow diagram for a method of efficiently synchronizing 15 rendering data structures used in generating a graphics display on a remote device in accordance with example embodiments. DETAILED DESCRIPTION 100171 Embodiments of the present invention extend to methods, systems, and computer 20 program products for efficiently remoting graphic sets used in rendering the display of local application(s) at a remote device. The embodiments may comprise a special purpose or general-purpose computer including various computer hardware or modules, as discussed in greater detail below. [00181 As a preliminary matter, it will be appreciated and understood that the examples 25 and descriptions herein make reference to MICROSOFT TM terminology for purposes of convenience in various implementations. Such reference to specific terms, however, should not be construed as limiting embodiments herein to specific operation or other type systems. Rather, the elemental functionality described herein can be practice in any computing environment or operation system where the functionality described herein is 30 desired. 100191 Embodiments described herein provide for mechanisms used to efficiently encode C:\NRPODCCTRW47252_ .DOC.112/2012 -5 and use resources for applications executed on a local device, yet displayed on a remote device. [00201 One example embodiment provides for a mechanism of efficiently encoding graphic objects for display on a remote device for application(s) running on a local device 5 by determining an appropriate encoding mechanism regardless of the type of graphics language used. The mechanism provides for executing application(s) on a local device, each of which generates the graphics display-based on a particular graphics language for display at a remote device. Further, a graphics set for a particular graphic language is received, which includes resource(s) and/or command(s) used in rendering at least a 10 portion of the graphic display for the application(s). Also received is encoding data that includes information for the following: (1) metadata that describes the contents of fields within the graphics set used for assisting data compression modules to more efficiently compress the graphics set than when the graphics set is in normal form; and/or (2) encoding type data that describes data compression mechanism(s) supported by the remote 15 device for selecting an efficient compression type for the graphics set. Based on the encoding data received, an appropriate encoding mechanism is determined for various portions of the graphics set. [00211 Other example embodiments provide for efficiently rendering graphic objects on a remote display device for application(s) running on a local device by determining what (if 20 any) resources for the application should be sent to the remote device. In this embodiment, application(s) are also executed on a local device, each of which generates graphic displays for transmitting to a remote device. A graphics set that includes resource(s) and/or display command(s) is then received, which can be used to render at least a portion of the graphics display(s) for the application(s). Also received is resource data that includes information 25 for the following: (1) delivery status information for determining if resource(s) corresponding to the graphics set has been sent to the remote device and stored in a central cache for reusability purposes without regard to the type of resource stored; (2) supported application information for determining dedicated resources currently available on the remote device in order to display resource(s) on the remote device for the application(s) 30 without transferring the resource(s) from the local device; (3) system limitation data for determining if portion(s) of a resource should be progressively sent to the remote device C:VRPabrlDC\1RN\4141252_1 DOC.3M 12 -6 such that a degraded version of the full resource is first sent and updates that improve the degraded version are subsequently sent to save on bandwidth or other system limitations; and/or (4) visibility information that describes whether or not resources corresponding to the graphics set can be currently seen by a user at the remote device. Based on the received 5 resource information, portion(s) of the graphic set are selected for encoding. [00221 Another example embodiment provides for efficiently synchronizing rendering data structures used in generating a graphics display on a remote device for applications executed on a local device. In this embodiment, similar to other embodiments, application(s) are executed on a local device, each of which generates rendering data 10 structure(s) of a particular graphic language, which are retain mode data structures that maintain state for resource(s) and are used to compose a graphics display for the application(s) on a remote device. Thereafter, a graphics set is received that includes resource(s) and/or display command(s) corresponding to the particular graphics language and used in modifying the rendering data structure(s). Further, metadata is received that 15 includes a description of fields for the graphics set in order to assist data compression module(s) to identify a type of structure for the fields common among graphic sets for different graphic languages that the data compression module(s) can more readily recognize and appropriately encode. Based on the received metadata, the fields of the graphics set are encoded for sending to a remote device and synchronizing rendering data 20 structure(s) between the local and remote devices, which are used to compose a graphics display at the remote device for the application(s). [00231 As previously mentioned, the above-identified deficiencies and drawbacks of remoting graphic displays of current networks are overcome through exemplary embodiments provided herein. For example, one embodiment provides for field encoding, 25 which is a mechanism used for identifying fields of a graphics set for a particular graphics language such that commonalities of various fields across different graphics languages are identified. Once identified, the redundancy associated or commonality identified across the various data types within the fields of a graphics set can be efficiently encoded. For example, the redundancy or commonality between fields can be eliminated or efficiently 30 compressed by applying one or more of the following techniques: (1) conversion of fields between machine format and network format based on metadata or other information C:WRotbnDCCTRNW 147252_ 1. DOC-] 12/2012 - 6A provided for the field; (2) encoding of a field in a variable length (e.g., two/three/four byte encoding); (3) delta encoding, which typically is used for encoding arrays of coordinates where a point can be encoded as a delta relative to the previous point in the array and deltas can be represented in less bytes than the absolute coordinate; (4) inter-order 5 compression, which is used to encode a structure of a certain type based on a previous encoded structure of the same type. Note that the above mechanisms may be currently applied in other protocols (e.g., Remote Desktop Protocol (RDP)); however embodiments -7 5 provided herein extend the field encoding to other graphical languages other than Graphics Design Interface (GDI)-e.g., Windows Presentation Foundation (WPF) information. [0024] In another embodiment, resource caching is .provided such that heterogeneous resources will be treated in a homogeneous way when it comes to 10 storing them. Although current mechanism (such as RDP) allow for storing resources on a client to save bandwidth by reusing them in later operations or commands, the present invention extends the caching mechanism for use in other graphical languages (e.g., other than GDI like WPF). For example, current mechanisms store the types of resources (e.&, glyphs, bitmaps, sprit6s, etr.) in separate caches, thereby providing a 15 non-extensible approach to reusing of resources. Accordingly, embodiments provide for a more generic and extensible mechanism that provides a central cache for all resources, regardless of their type. As such, the resource may be used multiple times within a rendering data structure or even across data structures for different applications, and thus the resource will only need to be sent once to the remote device 20 and used across various composition sub-stmctures (e.g., a sub-tree). [0025] In yet another embodiment, the type of encoding or compression for remoting resources or other items within a graphics set may be determined based upon the types of compression mechanisms supported by the remote device. In such an event, available compression mechanisms can be negotiated between the client 25 (i.e., remote device) and the server (i.e., local device) at connection time; however, the exact compression mechanism used by the server to compress a resource will be decided at the time of compression by the local device. Accordingly, the local device will chose one of the negotiated formats based on how well each format compresses the given data. For example, one compression type may various compression 30 techniques can be used on a single resource. The resulting compression mechanism that most efficiently reduces the amount of data may then be used for sending the resource (or other data) to the remote device. Note that the local server can choose either a lossless or lossy compression format based on the various resources or other data to compress. 35 [0026] Still other example embodiments provide for improving responsiveness by rendering with partially sent resources. Accordingly, based on various system limitations such as bandwidth or display device limitations, portions of a resource can be sent along with the full rendering commands for rendering something meaningful 5 by the application. For example, bitmaps or other resources may contain an image compressed with such progressive technique. In such instance, the color image may initially be inaccurate because not all of the data necessary to decompress the full image has arrived at the client. The remote device, however, can use a blurry image or other degraded image for an initial rendering. 10 [0027] By way of example, a button for an application may have a color that is vastly inaccurate, yet still representing the button in a good enough manner to allow a user to interact with the button without waiting for a final version thereof. As more data from the image arrives from the network, the remote device can update the image and re-render the portion of the data structure containing the image. This way, the 15 perceived responsiveness of the user dramatically increases just because in most of the cases the user can use the application without all of the image data being updated. Note that the use of a color downgrade mechanism was used; however, any kind of progressive encoding or interlacing technique can also be used. Further note, that such progressive or interlacing mechanism could be applied to not only bitmaps or 20 other similar resources, but will also work well for images with various arrays such as curves or meshes. [00281 In yet another example embodiment, a mechanism, is provided for determining what portions (if any) of a graphics set should be sent to a remote device and in what order. For example, often portions of a graphic display or resource may 25 not be visible to a user. Accordingly, such things as the Z-Order, transparency, the minimize/maximize state, play an effective role in determining if an application or resource thereof will produce an output that is visible to the user. As long as an application or resource thereof is not visible, it may not be necessary to remote the content or resource of that application until a later time. Accordingly, updates can be 30 delayed until bandwidth allows. Further, the local server may prioritize what portions of the rendering data structures or displays will be sent to the remote device based on such visibility information. [0029] Still other embodiments provide for use of dedicated resources on the remote device in order to eliminate the transfer of a resource between the local device 35 and the remote device when rendering such resource. For example, in most cases where graphics data is remoted, resources like borders, title bars, and/or other icons are present on both the server and the remote computer. For instance, if both the remote and local server have the same (or similar) application installed, likely the -9 5 icons for the local application will be present in the resource portion of the binary for the application on the remote side. In such cases, the local device may be able to instruct the remote device to use these various resources, without the server or local device having to send the resource bytes for it. [00301 Although more specific reference to advantageous features are described 10 in greater detail below with regards to the Figures, embodiments within the scope of the present invention also include computer-readable media for carrying or having computer-executable instructions or data structures stored thereon. Such computer readable media can be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer 15 readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to carry or store desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computer. When information is transferred or 20 provided over a network or another communications connection (either hardwired, wireless, or a combination of hardwired or wireless) to a computer, the computer properly views the connection as a computer-readable medium. Thus, any such connection is properly termed a computer-readable medium. Combinations of the above should also be included within the scope of computer-readable media. 25 [00311 Computer-executable instructions comprise, for example, instructions and data which cause a general purpose computer, special purpose computer, or special purpose processing device to perform a certain function or group of functions. Although the subject matter has been described in language specific to structural features and/or Methodological acts, it is to be understood that the subject matter 30 defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. [0032] As used herein, the term "module" or "component" can refer to software objects or routines that execute on the computing system. The different components, 35 modules, engines, and services described herein may be implemented as objects or processes that execute on the computing system (e.g., as separate threads). While the system and methods described herein are preferably implemented in software, implementations in hardware or a combination of software and hardware are also -10 5 possible and contemplated. In this description, a "computing entity" may be any computing system as previously defined herein, or any module or combination of modulates running on a computing system. [0033] Figure 1A illustrates a distributed system used in remotely displaying graphic information for applications on a local device. As shown, applications 115 10 may be executed on local device 105, which displays are intended for remote device 110. Note that the applications 115 may be anyone of numerous applications such as text editor, spread sheet application or any other well krown application. Further, the environment for remote device 110 and local device 105 may be a presentation type environment (e.g., the desktop sharing previously described) or networking system in 15 which a remote device 110 desires to execute applications 115 at the local device 105, yet view and control the applications from the remote device 110 outside of the local device 105 network. As such, communications between the local device 105 and remote device 110 may traverse across any well known network, both local and distributed, e.g., a LAN, the Internet, etc. 20 [00341 Regardless of the type of application or network used to establish a communication channel between the local device 105 and remote device 110, applications 115 can make application program interface (API) calls 120 in accordance with user input received from remote device 110. Such API calls 120 affect the graphics displays of the various applications 115. For example, API calls 25 120 may be to minimize/maximize the display of an application 115, move icons or other resources within the display, or any number of well known ways of interacting and changing the graphical display for one or more applications 115. Of course, as would be recognized, it is not necessary for an input to come in the form of API calls 120 in order for the graphics displays of the various applications 115 to change. 30 Accordingly, the use of API calls 120 for affecting the graphics displays of the various applications 115 is used herein for illustrative purposes only and is not meant to limit or otherwise narrow the scope of embodiments herein. [0035] Nevertheless when using such calls 120, the API calls 120 can call into composition engine 130, which generates graphics set 155 that can include display 35 commands 160 and/or various resources 165. The display commands 160 may include such information as the type of resource 165, positioning within the display (i.e., x-y coordinates), size and/or shape of the resource 165, or any other well known properties or operations used for displaying various resources 165. The resources 165 5 also can represent any number of well known icons, text, glyphs, sprites, bitmaps, and other image types. Accordingly, the display commands 160 and resources 165 as described herein should be broadly construed to cover any number of various operations performed on resources as well as any number of irpage data used for graphical displays of applications 115. 10 [00361 The graphics set 155 are typical used to generate rendering data structures 178 for the various applications 115. In turn, the rendering data structures 178 are used to describe the display of an application 115 and may be a tree like structure, wherein each node represents a resource, property, or relational description thereof. For example, a node within the data tree may represent a button, while other nodes 15 describe color, size, shape, or other properties of the button, while still other nodes represent the relationship and interaction with other components or resources within the display of an application 114. Accordingly, as would be recognized, the graphics set 155, could be used to modify, generate, or otherwise update the rendering data structure 178, which can then be used to compose one or more displays corresponding 20 to applications 115. Note that unlike the immediate presentation modes of other graphics languages described above, the use of the rendering data structures 178, 185 allow for a retention mode, wherein state for the resources is maintained. As will be described in greater detail below, this along with other embodiments described herein allows for many advantageous features. 25 [00371 Note that in one embodiment, it is desirable to synchronize the rendering data structure 178 on the local device 105 with that of a similar rendering data structure 185 on the remote device 110 side. In such instance, example embodiments provided herein can efficiently encode the various graphic sets 155 for updating or modification of the rendering data structure 185 on the remote device 110. It should 30 be noted, however, that although some mechanisms provided herein are used for graphical languages that support rending data structures 178, 185, other embodiments are equally as applicable to graphical languages that do not support such rendering data structures 178, 185. In fact, many of the embodiments described herein are used for a wide variety of graphical languages including, but not limited to GDI, WPF, as 35 well as other known (and potentially unknown) graphical languages. Accordingly, the following discussion of various embodiments should be broadly construed to be applicable across a wide number of graphical languages.
-12 s [0038] Regardless of the graphical language used to create graphics set 155, note that the encoding decision module 150 typically operates directly on the rendering data structures 178 (i.e., the retained mode composition data structure or tree). The encoding decision module 150 might send the rendering data 178 immediately when an application 115 calls 120 into the composition engine 130 or might send the data 10 178 at a later time when the network permits. For instance, the application 115 might call 120 into the engine 130 to create a circle. The command 120 might translate into a direct call into the encoding decision module 150 and the later would immediately encode the circle command and send it on the wire. An alternative model might be that the encoding decision module 150 is notified that a circle was added to the 15 rendering data structure 178 (e.g., a composition tree) and let the encoding decision module 150 decide when the data 178 should be sent. The first model can be considered as a "push" model, whereas the second one may be a "pull" model. The difference between the two is simply the moment when the encoding decision module 150 picks up the updates from the rendering data structures 178. While both models 20 work, the push model may be more limited than the pull model. Accordingly, the most efficient update mechanisms may be a hybrid between the two,(i.e., the data 178 is pushed to the network as fast as the bandwidth allows, but if there is some network congestion the system will adopt a pull model driven by network availability events). [00391 Regardless of the model used to transfer the data 178, in one embodiment, 25 encoding decision module 150 can use an encoding table 135 with graphics set metadata 140 (also referred to herein as just "metadata") for identifying the various types of fields within a graphics set 155. For example, the metadata 140 may describe various types of fields within the graphics set 160, which encoding decision module 150 can use to appropriately decide how best to encode the various fields for efficient 30 transfer of display commands 160 and resources 165 to the remote device 110. More specifically, the metadata 140 may be used to identify different types of data structures for fields common among the plurality of graphic sets 155 for different graphic languages. Such information may then be used to assist data compression modules 175 to more readily recognize and appropriately encode the different fields 35 of the graphics set 155. [0040] For example, the display commands 160 may have strings or other binary representations that include the type of resource, positioning (e.g., x-y coordinates), color, or other information traditionally stored or serialized in machine format.
-13 5 Accordingly, the metadata 140 can be used to recognize these fields as strings being stored in machine format, which can then be convert into a network format. For instance, a coordinate (or other string or binary field) will typically be kept as a machine size word in the graphics set 155 on the local device 105 used for rendering, but a machine word is in most cases two to four times bigger then the actual byte size 10 necessary to store such coordinate. In such case, the machine word should be converted to a smaller size and placed in the network packet, thereby allowing data compression modules 175 to more efficiently encode these fields prior to transmission to the remote device 110. [00411 Note that other embodiments use the graphics set metadata 140 to describe 15 other fields or resources within the graphic set 155 for identifying the most efficient mechanism for compression. For example, encoding decision module 150 can use the metadata 140 for determining the type of resource 165 in order to choose a data compression module 175 that can most effectively compress such information. For instance, some bitmaps are best compressed using a run-length encoding (RLE) 20 mechanism. Accordingly, the metadata 140 can be used to identify a resources 165 as a bitmap and an appropriate RLE may be chosen to appropriately encode such resource. [0042] Of course, there are many other types of resources 165 and fields for display commands 160 that can be identified and appropriately encoded based upon 25 the graphics set metadata 140 provided. For example, one field may be identified as best encoded in a variable length format, while another may be better suited for a delta encoding (e.g., coordinates where a point can be encoded as a delta relative to the previous point in an array and deltas can be represented in less bytes than the absolute coordinate). Other examples may include inter-order compression, which is 30 typically used to encode a structure of a certain type based on a previously encoded structure of the same type. Of course, as will be recognized, the metadata 140 can be used to describe any number of various display commands 160 and resources 165, such that numerous compression modules 175 can be appropriately chosen by encoding decision module 150 as needed. Accordingly, the above use of particular 35 types of data for encoding, or any particular type of encoding herein described, is for illustrative purposes only and is not meant to limit or otherwise narrow embodiments herein.
-14 5 [00431 Note that although the metadata 140 is shown in encoding table 135 separate from the graphics set 155, other embodiments also contemplate the metadata 140 as part of the graphics set 155. In addition, it is noted that arrangements of various modules as described herein can be combined and/or separated into other configurations and/or schematic layouts. Accordingly, the schematic layout as shown 1o in the various figures, as well as the modules or components described herein, are used for illustrative purposes only and are not meant to limit or otherwise narrow the scope of the various embodiments unless explicitly claimed. [0044] Also note that the metadata 165 can be runtime information or compile time information. For example, an eXtensible Markup Language ((XML) or other 15 suitable binary format) document may include metadata 165 that is exchanged at runtime. The difference between the two is the fact that the runtime information is typically pushed by the composition engine 130 through a specific function call that allows the metadata file (e.g., an XML document) to be passed into the encoding decision module 150. Typically, the runtime metadata 165 is pushed only once, at 20 initialization time. From that point on, the composition or rendering engine 130 does not have to fully describe the graphics set 155 to the encoding decision module 150 each time it calls into the encoder. Instead, the composition engine 130 simply has to prefix (or identify) each.order (i.e., display command and/or resource) in the stream with the well defined type defined in the initial metadata 165 exchange. The examples 25 below might help. [00451 For example, assuming that the metadata 165 is exchanged at runtime, the metadata 165 might look like the following XML file. <GFXMETADATA> <ORDERMETADATA TYPE="1> 30 <FIELD TYPE="TLOAT"/> <FIELD TYPE="FLOAT'/> <I ORDERMETADATA > < ORDERMETADATA TYPE="2"> <FIELD TYPE="SIGNED INTEGER" MINVAL="-255" 35. MAXVAL="255"/> <FIELD TYPE=" UNSIGNED INTEGER" MNVAL=" 4096" MAX VAL="4096"/> -15 5 <ARRAY> <FIELD TYPE="COORDINATE" MINVAL="0" MAXVAL="65535"/> </ARRAY> </ ORDERMETADATA > 10 </GFXMETADATA> <ORDER TYPE=""/> <VAL>12.8</VAL> <VAL>21.1<VAL> 15 </ORDER> <ORDER TYPE="2"/> <VAL>200</VAL> <VAL>3993</VAL> <VAL LENGTH="3"> 20 <VAL>100</VAL> <VAL>200</VAL> <VAL>300</VAL> </VAL> </ORDER> 25 . [0046] Note that in the GFXMETADATA structure above two order types are . declared. The first one is an order type that includes two floating point numbers. The second one is an array that includes one signed integer, one unsigned integer, and one array of coordinates. This metadata should be communicated to the encoding 30 decision module 150 at initialization time. After the initialization, the second structure (ORDER) can be used to send orders to the encoder 150. Note how the second struct does not describe the types, just the values. Even in the XML . representation, it can be seen that by splitting the metadata from the second data struct (ORDER) less info is needed to communicate to the encoding decision module 150 35 the content for an order. Metadata 140 is very static so it makes sense to be communicated only once. The order data, on the other hand, is dynamic data and typically should not have attached any static info to it Such benefit is more dramatically noticeable when a binary format (as described below) is used for both -16 5 data and metadata instead of XML. The encoder or encoding decision module 150 can just look at the order type and it will know based on the metadata description how to encode the values. [0047] For example, other files (e.g., an Interface Definition or Description Language (IDL) file) represent a compile time contract between the encoder 175 or 10 encoding decision module 150 and the composition engine 130. If the contract is changing, the two components have to be recompiled using the common (e.g., IDL) file. Using the common file ensures that the devices operate on the same binary data structure formats. Note, however, that describing the data at compile time will probably result in a faster operation of the encoder decision module 150 (as described 15 above) since the encoding code itself will be generated directly from the graphics data description. Nevertheless, the compile time description vastly depends on the language used. For example, in C and C++ a set of macros can be used to define the graphics primitives. By using macros one can define both the machine format structure and the encoding or network code itself. 20 [0048] Once the appropriate data compression 175 h'as encoded one or more fields within the graphics set 155, these fields (or graphics set 155) are sent to the remote device 110 where they are decompressed using module 180 and regenerated, as shown in graphics set 190. As such composition engine 195 can use these to generate a rendering data structure 185 that is in sync with the rendering data structure 178 on 25 the local device 105. Further, this rendering data structure 185 can then be composed such that the display driver 104 can generate the appropriate display 102 representing the displays of the applications 115 from the local device 105. Accordingly, as the user on the remote device 110 interacts with display 102 different graphic sets 155 can be generated and encodes as previously described for synchronizing the rendering 30 data structures 178, 185. 10049] In another exemplary embodiment, the type of encoding or data compression module 175 chosen may be based upon those supported encoding types on the remote device 110. For example, during an initialization of the connection (or at some other time thereafter), the types data compression may be negotiated between 35 the local device and the remote device 110. Accordingly, as shown, remote device 110 sends supported encoding types 184, which may then be included in a list of available encoding mechanisms 145. This list of available encoding mechanisms 145 can then be used by encoding decision module 150 in choosing the appropriate data -17 s compression module 175 for compressing fields within the graphics set 155 as previously described. [00501 Note that although the available encoding mechanisms 145 are negotiated between the remote device 110 and the local device 105 typically at connection time, the exact compression mechanism used by the local device 105 to compress portions to of a graphics set 155 will be decided on-the-fly at the time of the compression. Accordingly, the remote device 110 will not have prior knowledge as to the exact type of data compression 175 that will be used. Nevertheless, because the supported encoding types 184 are determined before hand, the local device 105 can be assured that the use of any such supported encoding types 184 can be handled by the remote 15 device 110. Further note that the list of available encoding mechanisms 145 may also be based upon those available on the local device 105 as well. In other words, the data compression modules 175 and data decompression modules 180 need to have common types among them. [0051] Also note, as contemplated herein, any well known type of encoding 20 mechanism may be used (e.g., RILE, MPEG based, JPEG, GIF, ZIP, LZ based, JBIG, DejaVu, or other well known pattern or statistical based compression mechanism that are either lossless ore lossy compression formats). Also note that one or more of the fields within a graphics set 155 may be encoded using a hierarchical relationship of the various encoding or data compression modules 175 in order to most efficiently 25 compress the data for sending over the network to the remote device 110. [0052] Figure lB illustrates a similar distribution system as previously described with both a local 105 and remote device 110. It should be noted that Figure lB is a simplified version of the system previously mentioned; and therefore is shown with missing components or modules to simplify the schematic diagram. In the 30 embodiments described therein, however, rather then determining what encoding types should b'e used for encoding graphic sets 155, various mechanisms are used for choosing resources (if any) to send to the remote device 110. In one such embodiment, application resource caching is provided wherein heterogeneous resources will be treated in a homogeneous way when it comes to storing them. 35 [0053] For example, a first application (e.g., Application 1) 115 can make a call for resource "A" 106. As resources are sent across the network to the remote device 110, the delivery status of such resources can be stored in resource table 112 (which in this case shows the delivery status of resource "A" 114 as already transferred). On -18 5 the remote device 110, resource "A" 106 will be stored in a central cache 128 as shown in the list of resources 118 therein. Accordingly, next time the application 115 desires to use resource "A" 106, rather than sending the resource to the remote device 110, resource manager 108 will identify the resource as already being sent, and simply provide a display command 160 with the resource ID 161 for sending to the 10 remote device 110. In other words, the resource (in this case resource "A" 106) only needs to be sent once throughout the connection between the local 105 and the remote 110 devices and can be repeatedly used for across various different applications (e.g., application 2 that also calls resource "A" 106). [00541 Note that although some caching mechanisms used by certain protocols 15 (e.g., RDP) allow for caching of resources, such caches are typically separated based upon the types of resource used (e.g., glyphs, bitmaps, sprites, etc.). Although such mechanisms can be as efficient as the. more generic central caching mechanism provided herein, these approaches are non-extensible. By providing a central cache 128 to store all resources 180, the present invention extends the ability to use such 20 resources 106 across various applications 115 and across different rendering data structures 178, 185 that may be used. For example, a generic caching mechanism provided herein (using, e.g., RDP) has the added benefit of a resource being sent only once and used by multiple nodes in a composition structure or tree. For instance if an icon is used by multiple applications 115, that icon will be present in each of the 25 composition sub-trees (or rendering data structures 178, 185) corresponding to those applications 115. 10055] Without such caching mechanism, the resource would need to be sent to the remote device 110 for each node that is using it With the central storage mechanism provided herein, however, a resource 165 is sent only once the first time 30 the resource 165 is added to a node and used by multiple nodes in a composition data structure. Also note that the local device 105 and remote device 110 may or may not use mechanisms that limit the memory fragmentation caused by caching resources with vastly different sizes. Moreover, it should be noted that because the non extensible approach may still provide an efficient mechanism for accessing resources, 35 such approach may be used in conjunction with the generic caching provided herein. [00561 In yet another example embodiment, a mechanism is provided for improving responsiveness by rendering with partially sent resources. In such instance, system limitation 116 such as bandwidth, or display limitations on the -19 5 remote device 110 may be identified by the encoding decision module 150 that includes resource manager 108. Based upon such system limitations 116, resource manager 108 may determine that only partial resources 163 should be sent in display commands 160 for graphics set 155 as previously described. More specifically, typically there are two pieces of information necessary for rendering a graphics set to 155. The first part, shown herein as display commands 160, describes the actual rendering operations for a resource 165. Typically, they contain instructions about .how and what resource 165 should be used for rendering. The second part, represents the resource 168 used for rendering. [0057] As can be seen, rendering or display commands 160 are typically Is necessary to be sent in full to the client or remote device 110 before rendering can begin. This, however, is not the case with resources 165. A resource 165 does not always have to be 100% available when the rendering starts for something meaningful to be rendered by an application 115. For example, an initial bitmap resource 165 may contain an image compressed with a progressive technique. For instance, the 20 image color may be initially inaccurate do to various bandwidth limitations or other considerations. Nevertheless, the remote device can use this blurry, off colored, or otherwise degraded image for rendering on the remote device. [00581 Take for instance the case where the resource 165 may be a button, while the color may be vastly inaccurate or some other degradation can be seen, the 25 representation of the button may be sufficient enough to allow a user to interact with the button without waiting for a final version thereof. Nevertheless, as more data from the image arrives from the network, the remote device 110 can update the image or rendering data structure 185. Accordingly, the perceived responsiveness by users is dramatically increased in the case that most users can use the application without all 30 of the resource 165 preent Note that the example uses a color downgrade technique, but any kind of progressive encoding or interlacing mechanism could equally be used. [0059] Also note that this partial rendering mechanism may work well for retain mode systems, but may not work as good for other models (e.g., GDI). The reason being that in the retained mode once the rendering data structure 185 (e.g., 35 composition tree) is updated with the -improved resource 165, all of the information is on the remote side 110 to trigger a redraw. In other non-retained models (e.g., the GDI model), however, there may be no mechanism to re-compose on the remote 110 side, so in the case where drawing occurs with an inaccurate resource typically there -20 5 are not mechanisms to refresh the drawing until the local 105 or server side uses that resource 165 again in a drawing operation. Nevertheless, even in the non-retain model, there might be cases where it is preferable to render using inaccurate resources 165 than wait for the whole resource 165 before rendering something. 100601 Figure ID illustrates the above embodiment using an array of coordinates 1o. displayed in a .curve 142. As shown, the full resource set 144 includes numerous points along the curve 142. Embodiments, however, can use system limitation 116, to decide that only a partial resource set 148 should be sent. For example, only a fraction of the points along the curve 146 are sent in this example which while not representing the curve exactly 142 still allow a reasonable depiction of the overall 15 image. In other words, the exact curve 142 is approximated from a multitude of points, each point representing a digital sample for that curve, wherein the more samples that are present, the more accurate the curve will look. Depending on the curve 142, however, a close enough representation 146 can be rendered using only a fraction of the number of samples. 'The rest of the points can be updated a later time. 20 As updates arrive from the local device 105, the remote device 110 will update the set of points for that curve 142 and re-render the data structure 185 that uses it. With each update, the rendering curve 146 will get closer and closer to the final intended shape 142. [0061] Note that although the above example uses a graphical curve or mesh and 25 a simple button, more sophisticated resources 165 can also utilize this feature. For example, an image in final form as a 3-D object may be initially presented in partial form as a 2-D object. As bandwidth becomes available, more and more information can be sent to update the image to its final 3-D form. Of course, as will be recognized, there are many various resources 165 and mechanisms (i.e., how and what 30 portions of a resource to send) that can utilize this feature. Accordingly, the above examples are used herein for illustrative purposes only and are not meant to limit the scope of these and other embodiments. [0062] In yet another example embodiment, resource manager 108 can determine or identify those resources that are dedicated on both the local device 105 and the 35 remote device 110. Accordingly, supported application information 122 can be transferred to the local device 105 upon initialization of the connection (or at sometime thereafter). This information will typically include application resources 124 supported and stored in resource store 126 on the remote device 110. This -21 5 supported application information 122 can then be used by the resource manager 108 in determining what types of resources should be sent to the remote device 110. [0063 For example, both the remote 110 and the local device 105 may have a specific application (e.g., a specific type of text editor) installed. Accordingly, the icons or other application resources 124 associated therewith will also be located on 10 the both devices 105, 110. In these cases, local device 105 may simply use display command 160 and resource ID 161 to instruct the remote device 110 to use the appropriate icons, without the local device 105 actually having to send the resource 124 for it. Note, however, that such model assumes that resources 124 are stored in serialized form. They may be transformed as necessary, but the transformation 15 typically takes place at the hardware layer. Accordingly, for protocols or graphics languages that do not transform the resource, it is possible for the local.device 105 to communicate to the client well known resource IDs 161 instead of sending the data for the resources 124 over the wire. Such usage of dedicated application resources 124 on the remote device 110 is particularly advantageous in instance where resource 20 124 sizes are large. [0064] It should also be noted that the exact resource 124 does not need to reside on both the local 105 and remote 1-10 devices. For example, some applications 115 have resources 124 that are common among several applications 115. For example, most applications 115 have a border, title bar, and widow commands for 25 minimizing/maximizing, full/partial screen, and/or close icons. As such, the application resources 124 used on the remote device 110 do not necessarily need to correspond to an exact application 115 on the local machine 105, although typically it will be the case that they do. [0065] Figure IC shows the use of various resources that can be used or that are 30 dedicated on both the local device 105 and the remote demote device 110. In this example, the border 132 resource may be used to outline the application display window. Further, the title bar 135 as well as the window manipulation icons 136 may also be application resources 124 that can be accessed and used on the remote device 110. Similarly, a toolbar 138 with various components or icons can also be utilized. 35 Nevertheless, the information that is manipulated or otherwise changed on the local device 105 will need to be sent across the wire by embodiments previously described. [00661 In still other example embodiment, the above encoding and other resource selection mechanisms can be implemented as part of a single component. The -22 s interface (or contract) between this component and the application or composition engine can be defined by an interface definition language like IDL or XML. Nevertheless, the contract is to provide the encoding decision module 150 with both resource 165 data and the metadata 140 necessary for efficiently encode the resource 165. In this way, a change in the resource 165 layout or organization will not require 10 an update to encoding decision module 150. Only an update to the metadata 140 will be required, which can be accomplished by changing the interface or contract. 10067] The present invention may also be described in terms of methods comprising fictional steps and/or non-functional acts. The following is a description of steps and/or acts that may be performed in practicing the present invention. is Usually, functional steps describe the invention in terms of results that are accomplished, whereas non-fimctional acts describe more specific actions for achieving a particular result Although the functional steps and/or non-functional acts may be described or claimed in a particular order, the present invention is not necessarily limited to any particular ordering or combination of steps and/or acts. 20 Further, the use of steps and/or acts in the recitation of the claims (only) is used to indicate the desired specific use of such terms. [0068] As previously mentioned, Figures 2-4 illustrate flow diagrams for various exemplary embodiments of the present invention. The following description of Figures 1-4 will occasionally refer to corresponding elements from Figures 1A-D. 25 Although reference may be made to a specific element from these Figures, such references are used for illustrative purposes only and are not meant to limit or otherwise narrow the scope of the described embodiments unless explicitly claimed. [00691 Figure 2 illustrates a flow diagram for a method 200 of efficiently encoding graphic objects for display on a remote device for applications running on a 30 local device by determining an appropriate encoding mechanism regardless of the type of graphic language used. Method 200 includes an act of executing 205 application(s) on a local device. For example, applications 115 may be executed on local device 105, wherein the applications 115 generate a graphics display--based on a particular graphics language-for display at a remote device 110. Such graphics 35 language may include GDI, WPF, or other types of currently known or future graphic languages. [0070] Method 200 also includes an act of receiving 210 a graphics set for a particular graphics language. For example, encoding decision module 150 may -23 5 receive graphics set 155 for a particular graphics language, wherein the graphics set 155 includes display command(s) 160 and/or resource(s) 165. Such graphic sets 155 will be used for rendering at least a portion of the graphics display for the applications 115 on a remote device 110. Note that these display commands may include properties that describe a resource in terms of position on a display, size, color, shape, to etc. Further note, that the resources may be anyone of well known resources such as glyphs, icons, sprites, bitmaps, or any other image. [0071] In addition, method 200 includes an act of receiving 220 encoding data for: (1) metadata that describes contents of the graphics set; (2) encoding type data that describes data compression mechanisms supported by the remote device. For 15 example, encoding decision module 150 may receive the graphics set metadata 140 that describes contents of fields within the graphics set 155 used for assisting data compression modules 175 to more efficiently compress the graphics set 155 then when the graphics set 155 is in normal form. Note that this normal form may be in a serialized or un-serialized form. Alternatively, or in conjunction, encoding decision 20 module 150 may receive a list of available encoding mechanisms 145 supported by the remote device 110. This encoding type data will describe the data compression mechanisms supported by the remote device 110 for selecting an efficient compressing type for the graphics set 155 as previously described. [0072] Based on the encoding data received, method 200 also includes an act of 25 determining 225 an appropriate encoding mechanism for portions of the graphics set. For example, based upon the metadata 140 and the list of available encoding mechanisms 145, encoding decision module 150 can determine what data compression modules 175 will most efficiently encode various portions of graphics set 155. 30 [0073] Figure 3 illustrates a method 300 of efficiently rendering graphic objects on a remote display device for applications running on a local device by determine what (if any) resources for the application should be sent to the remote. device. Method 300 includes an act of executing 305 application(s) on a local device. For example, applications 115 may be executed on local device 105, each of which 35 generates graphic displays for transmitting to remote device 110. Method 300 also includes an act of receiving 310 a graphics set that includes display command(s) and/or resource(s). For example, encoding decision module 150, in conjunction with resource manger 108, may receive a graphics set 155 that includes resources 165 -24 5 and/or display commands 160, which are to be used in rendering at least a portion of the graphic displays for the applications 115 on remote device 110. [0074] Method 300 also includes an act of receiving 315 resource data for: (1) delivery status information; (2) supported application information; (3) system limitation data; and/or (4) visibility information. More specifically, resource manager 10 108 may receive resource data for determining the delivery status of a resource 165. For example, resource status table 112 can be used by the resource manager 108 for determining the delivery status of resource, corresponding to the graphics set 155, in order to determine if the corresponding resource (e.g., resource Al 14) has been sent to remote device 110 and stored in central cache 128 for reusability purposes without is regard to the type of resource stored. In other words, resources of various types are stored within the central cache 128 such that heterogeneous resources will be treated in a homogeneous way when storing them. Note that the local device 105 and remote device 110 may or may not use mechanisms that limit the memory fragmentation caused by caching resources with vastly different sizes. 20 [00751 Further, encoding division module 150 or resource manager 108 may receive supported application information 122 for determining dedicated resources 124 currently available on the remote device 110 in order to display such resource without transferring the resource from the local device 105. In other words, if both the remote device 110 and the local device 105 have a similar or same application 25 installed, resources or icons can be identified that are dedicated on the remote device 110 and displayed such that those resources don't have to be sent from the local device 105 to the remote device. Such dedicated resources may include a border, a title bar, a toolbar, or some other form of icon or resource standard across both applications. 30 [0076] Moreover, encoding decision module 150 or resource manager 108 can also receive system limitation information 116 for detennining if portioris of a resource should be progressively sent to remote device 110, such that a degraded version of the full resource is first sent and updates that improve the degraded version are subsequently sent to save on bandwidth or other system limitations. For example, 35 as shown in Figure 1D, at full resource set 144 that shows a curve 142 with a high sampling may be first sent as partial resource set 148 that only includes a fraction of the total sampling set as shown from curve 146. Note that the partial resources that are progressively sent to the remote device may include bitmaps, curves, meshes, or -25 5 other image forms. Also note that the degraded version includes inaccuracies of color, detail, number of sample points, or other image quality degradation, but the degraded version of the resource should include enough information to allow a user at the remote device 110 to recognize the resource. Further note that the resource may be a button, checkbox, or other interactive item, and the user should still able to 10 interact with the item without receiving the full resource. [00771 In addition, encoding decision module 150 or resource manager 108 may receive visibility information 113 from a resource status table 112 that describes whether or not one or more resources 165, corresponding to the graphic set 155, can currently be seen by a user. Such visibility information may include information 15 about a Z-Order, transparency, minimize/maximize state of the resource, etc. Accordingly, resources that may not be visible may be delayed in sending to the remote device 110 until bandwidth allows or until needed for viewing. [00781 Based on the received resource information, method 300 includes an act of selecting 320 portions of the graphic set for encoding. In other words, based upon the 20 above delivery status, supported application information, system limitation data, and/or visibility information, portions of the graphics set 155 (i.e., fields of the display command or portions of the resources) will be selected for encoding using data compression modules 175. [0079] Figure 4 illustrates a method 400 of efficiently synchronizing rendering 25 data structures used in generating a graphics display on a remote device for applications executed at a local device. Method 400 includes an act of executing 405 application(s) on a local device. For example, as previously described, applications 115 may be executed on local devise 105, each of which generates rendering data structures 178 of a particular graphics language, which are retain mode data structures 30 that maintain state for resources 165 and are used to compose a graphics display for applications 115 on remote device 110. [00801 Method 400 also includes an act of receiving 410 a graphics set that includes resource(s) and/or display command(s). For example, encoding decision module 150 can receive graphics set 155 that includes display commands 160 and/or 35 resources 165. The display commands 160 may include properties that describe a resource 165 in terms of positioning on a display, size, color, shape, etc. [0081] Method 400 also includes an act of receiving 114 metadata that includes a description of graphics set. For example, encoding decision module 150 may receive C:RPotbDCC\TRNA414722_L DOC-13A)2/2012 - 26 the graphics set metadata 140 that includes a description of fields of the graphics set 155 in order to assist the compression modules 175 to identify a type of structure for the fields common among the plurality of graphics sets 155 for different graphic languages that the data compression module 175 can more readily recognize and appropriately encode. For 5 example, based on the metadata 140, the fields may be converted from machine format to network form, which reduces the bit length of the fields for better compression ratio then when in machine form. Further, the metadata 140 may be used for encoding in variable length form or for delta encoding used such that only a change in the resource is sent to the remote device, which can be encoded using less bytes than sending the whole graphics set 10 155. Moreover, the metadata 140 may be used for an inter-order compression mechanism used to encode the fields of a certain type based on previously encoded structure of the same type. [0082] Note that the metadata 140 may or may not be attached to the graphics set 155. For example, typically the metadata 155 exchange is a one time event that describes the types 15 of graphics set 155 (e.g., orders/commands or resources) used. Then each graphics set 155 can be prefixed with the type (or identifier). The encoding decision module 150 is then able' to look at this identifier and choose the appropriate data compression module 175, the appropriate encoding order, etc., based on the initially exchanged metadata 155. [00831 Based on the received metadata, method 400 includes an act of encoding 420 fields 20 of the graphics set. For example, encoding decision module 150 based upon the graphic set metadata 140 that describes the fields within the graphics set 155 can use such data for encoding fields for sending to remote device 105 and synchronizing rendering data structures 178, 185 between the local 105 and the remote 110 devices, which are used to compose a graphics display at the remote device 1 10 for the applications 115. 25 [0084] The present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiments are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is, therefore, indicated by the appended claims rather than by the foregoing description. All changes which come within the meaning of the claims are to be embraced within their 30 scope.
C:WRfonblDCC\TR'J47252_ .DOC.1322012 -27 [0085] Throughout this specification and the claims which follow, unless the context requires otherwise, the word "comprise", and variations such as "comprises" and "comprising", will be understood to imply the inclusion of a stated integer or step or group of integers or steps but not the exclusion of any other integer or step or group of integers or 5 steps. [00861 The reference in this specification to any prior publication (or information derived from it), or to any matter which is known, is not, and should not be taken as an acknowledgment or admission or any form of suggestion that that prior publication (or information derived from it) or known matter forms part of the common general 10 knowledge in the field of endeavour to which this specification relates.

Claims (14)

1. In a distributed computing system, a method of efficiently encoding at least one graphic object for display on a remote device of one or more applications running on a 5 local device by determining an appropriate compression mechanism, the method comprising: initializing a connection with the remote device, by the local device; executing one or more applications on the local device, each of which generates a graphics display for display on the remote device; 10 receiving a graphics set for rendering at least a portion of the graphics display for the one or more applications; receiving, from the remote device, one or more supported encoding types, wherein the one or more supported encoding types are used by the local device to determine the appropriate compression mechanism of one or more compression mechanisms for 15 compressing one or more fields of the graphics set, wherein the one or more compression mechanisms comprises a run-length encoding (RLE) mechanism, and wherein the one or more supported encoding types are received from the remote device during the initialization of the remote device and the local device; and based on the one or more supported encoding types, determining the appropriate 20 compression mechanism for the compressing of the one or more fields of the graphics set.
2. The method of claim 1, wherein the one or more supported encoding types is included in a list of available encoding mechanisms. 25
3. The method of claim 2, wherein an encoding decision module uses the list of available encoding mechanisms in determining the appropriate compression mechanism for the compressing of the one or more fields of the graphics set.
4. The method of claim 2, wherein the list of available encoding mechanisms includes 30 only the one or more supported encoding types that is common with one or more compression mechanisms available on the local device. CANRPonbr\DCCTR I4147252_I.DOC.13M21212 - 29 5. The method of claim 1, wherein the determining the appropriate compression mechanism occurs at the time of the compression of the one or more fields of the graphics set.
5
6. The method of claim 1, further comprising: selecting a first field of the graphics set for compression by a first compression mechanism; and selecting a second field of the graphics set for compression by a second 10 compression mechanism.
7. One or more computer storage media storing computer-executable instructions that when executed by a processor perform a method for efficiently encoding at least one graphic object for display on a remote device of one or more applications running on a 15 local device by determining an appropriate compression mechanism, the method comprising: initializing a connection with the remote device, by the local device; executing one or more applications on the local device, each of which generates a graphics display for display on the remote device; 20 receiving a graphics set for rendering at least a portion of the graphics display for the one or more applications; receiving, from the remote device, one or more supported encoding types, wherein the one or more supported encoding types are used by the local device to determine the appropriate compression mechanism of one or more compression mechanisms for 25 compressing one or more fields of the graphics set, wherein the one or more compression mechanisms comprises a run-length encoding (RLE) mechanism, and wherein the one or more supported encoding types are received from the remote device during the initialization of the remote device and the local device; and based on the one or more supported encoding types, determining the appropriate 30 compression mechanism for the compressing of the one or more fields of the graphics set. C \NRPorbrDCC\TRNWI47252_ DOC. I1A2/2m2 - 30
8. The one or more computer storage media of claim 7, wherein the one or more supported encoding types is included in a list of available encoding mechanisms.
9. The one or more computer storage media of claim 8, wherein an encoding decision 5 module uses the list of available encoding mechanisms in determining the appropriate compression mechanism for the compressing of the one or more fields of the graphics set.
10. The one or more computer storage media of claim 8, wherein the list of available encoding mechanisms includes only the one or more supported encoding types that is 10 common with one or more compression mechanisms available on the local device.
11. The one or more computer storage media of claim 7, wherein the determining the appropriate compression mechanism occurs at the time of the compression of the one or more fields of the graphics set. 15
12. The one or more computer storage media of claim 7, further comprising: selecting a first field of the graphics set for compression by a first compression mechanism; and selecting a second field of the graphics set for compression by a second 20 compression mechanism.
13. In a distributed computing system, a method of efficiently encoding at least one graphic object for display on a remote device of one or more applications running on a local device by determining an appropriate compression mechanism, substantially as 25 hereinbefore described with reference to the accompanying drawings.
14. One or more computer storage media storing computer-executable instructions that when executed by a processor perform a method for efficiently encoding at least one graphic object for display on a remote device of one or more applications running on a 30 local device by determining an appropriate compression mechanism, substantially as hereinbefore described with reference to the accompanying drawings.
AU2012200858A 2006-03-15 2012-02-14 Efficient encoding of alternative graphic sets Active AU2012200858B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2012200858A AU2012200858B2 (en) 2006-03-15 2012-02-14 Efficient encoding of alternative graphic sets

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US11/375,961 2006-03-15
AU2007225421A AU2007225421B2 (en) 2006-03-15 2007-01-16 Efficient encoding of alternative graphic sets
AU2012200858A AU2012200858B2 (en) 2006-03-15 2012-02-14 Efficient encoding of alternative graphic sets

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
AU2007225421A Division AU2007225421B2 (en) 2006-03-15 2007-01-16 Efficient encoding of alternative graphic sets

Publications (2)

Publication Number Publication Date
AU2012200858A1 true AU2012200858A1 (en) 2012-03-08
AU2012200858B2 AU2012200858B2 (en) 2013-08-15

Family

ID=48951691

Family Applications (1)

Application Number Title Priority Date Filing Date
AU2012200858A Active AU2012200858B2 (en) 2006-03-15 2012-02-14 Efficient encoding of alternative graphic sets

Country Status (1)

Country Link
AU (1) AU2012200858B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117544623A (en) * 2023-11-14 2024-02-09 江苏海辰云科信息技术有限公司 Desktop cloud remote display system based on predictive coding algorithm

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5991515A (en) * 1992-11-10 1999-11-23 Adobe Systems Incorporated Method and apparatus for compressing and decompressing data prior to display
US5638498A (en) * 1992-11-10 1997-06-10 Adobe Systems Incorporated Method and apparatus for reducing storage requirements for display data
US6891893B2 (en) * 2000-04-21 2005-05-10 Microsoft Corp. Extensible multimedia application program interface and related methods
US6834297B1 (en) * 2000-10-06 2004-12-21 Redline Networks, Inc. Web resource transfer acceleration system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117544623A (en) * 2023-11-14 2024-02-09 江苏海辰云科信息技术有限公司 Desktop cloud remote display system based on predictive coding algorithm
CN117544623B (en) * 2023-11-14 2024-06-07 江苏海辰云科信息技术有限公司 Desktop cloud remote display system based on predictive coding algorithm

Also Published As

Publication number Publication date
AU2012200858B2 (en) 2013-08-15

Similar Documents

Publication Publication Date Title
US8351716B2 (en) Efficient encoding of alternative graphic sets
US7076735B2 (en) System and method for network transmission of graphical data through a distributed application
EP1934808B1 (en) Remoting redirection layer for graphics device interface
US7688327B2 (en) Visual content browsing with zoom and pan features
JP4691037B2 (en) Protocol for remote visual composition
US7075538B2 (en) Methods and apparatus for faster line drawing on remote displays
AU2012200858B2 (en) Efficient encoding of alternative graphic sets

Legal Events

Date Code Title Description
FGA Letters patent sealed or granted (standard patent)
PC Assignment registered

Owner name: MICROSOFT TECHNOLOGY LICENSING, LLC

Free format text: FORMER OWNER WAS: MICROSOFT CORPORATION