主权项 |
1. A method of facilitating a remote desktop session between a web browser of a client device and a remote machine through a transcoding server, utilizing hypertext transfer protocol (HTTP) headers of HTTP for remote desktop session drawing, the method comprising:
receiving, at the transcoding server, drawing requests from the web browser at the client device; receiving, at the transcoding server, a remote desktop drawing command from the remote machine using a remote desktop display protocol, wherein the remote desktop drawing command is based on an image of a remote desktop of the remote machine; translating, at the transcoding server, the remote desktop drawing command into a display image and drawing coordinates for the display image, wherein translating comprises:
translating the remote desktop drawing command into a Java graphics drawing command;updating a portion of a Java graphics bitmap of the remote desktop in response to the Java graphics drawing command;generating coordinates for the updated portion of the Java graphics bitmap from the Java graphics drawing command;generating the display image compatible with the web browser based on the updated portion of the Java graphics bitmap; andobtaining the drawing coordinates for the display image based on the coordinates for the updated portion of the Java graphics bitmap; placing, at the transcoding server, the drawing coordinates into a cookie; and providing the display image and the drawing coordinates together to the web browser in a single HTTP response, wherein the single HTTP response comprises the cookie. |