# Patent

## Title
Remote desktop control system using USB interface and method thereof

## Abstract

A desktop sharing and remote control system where the server (the computer being controlled) and the client (the computer controlling the server) are connected by a connecting device using the USB protocol. The connecting device includes a control unit (MCU) and two USB controllers. The MCU transfers data between the two USB controllers. The server-side USB controller emulates a USB CD-ROM/keyboard/mouse composite device; the client-side USB controller emulates a USB CD-ROM. The server continuously writes video data (desktop image) to the server-side emulated CD-ROM and the client continuously reads the data from the client-side emulated CD-ROM and applies it to its monitor. Keyboard and mouse data is transferred in the opposite direction via the client-side emulated CD-ROM and server-side emulated keyboard and mouse devices. The connecting device stores applications programs to be automatically executed by the server and client using auto-run functions of the emulated CD-ROMs to accomplish plug-and-play.

## Background
BACKGROUND OF THE INVENTION
1. Field of the Invention
This invention relates to a system which allows one computer to remotely control another computer, and in particular, it relates to such a graphical desktop sharing system using a USB (Universal Serial Bus) interface.
2. Description of the Related Art
Virtual Network Computing (VNC) is a graphical desktop sharing system which allows one computer (client) to remotely control another computer (server). The server and client computers are connected by a network. The keyboard and mouse data are transmitted from the client to the server, and the video signals representing the server desktop image are transmitted to the client and displayed on the client's monitor. Such a system may be used, for example, to allow IT and technical support personnel to control other users' computers remotely.
U.S. Patent Application Publication 2004/0230708 describes “an application method for universal serial bus (USB) file transfer cable. When USB file transfer cable is connected between two computers loaded with operating such systems as Window, Mac, Linux, etc., that support Mass Storage Class standard while the USB file transfer cable also supports Mass Storage Class, either computer can access system information provided in the USB file transfer cable. Since the application program is stored in the USB file transfer cable and the USB file transfer cable is simulated as an auto-run storage device, such as a floppy disc drive, a hard disc drive or a CD-ROM drive, etc., the USB file transfer cable in the present invention is capable of carrying out file transfers automatically without having to install drivers and programs. To users, the application method for USB file transfer cable offers plug and play capabilities as file transfers can be performed automatically between two computers without having to install drivers and programs in either computer.” (Abstract.)
SUMMARY OF THE INVENTION
The present invention is directed to an apparatus and related a method of a graphical desktop sharing system that substantially obviates one or more of the problems due to limitations and disadvantages of the related art.
Additional features and advantages of the invention will be set forth in the descriptions that follow and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
As embodied and broadly described, the present invention provides a device for facilitating remote control of a server by a client, which includes: a first communication controller adapted for connecting to the server, the first communication controller emulating a first mass storage device and one or more user input devices complying with a predetermined communication protocol; a second communication controller adapted for connecting to the client, the second communication controller emulating a second mass storage device complying with the predetermined communication protocol; a control circuit being coupled to and controlling the first and second communication controller, the control circuit transferring data between the first and second communication controllers; and a memory coupled to the control circuit, the memory storing a server-side application program and a client-side application program, wherein the control circuit transfers the server-side application program and the client-side application program to the first and second communication controllers, respectively, wherein the server-side application program is configured to cause the server to transmit video data representing a desktop image of the server to the emulated first mass storage device and to receive user input device data from the emulated user input devices, wherein the client-side application program is configured to cause the client to transmit the user input device data to the emulated second mass storage device and to receive the video data from the emulated second mass storage device.
In another aspect, the present invention provides a method of remotely controlling a server by a client, which includes the stets of: (a) providing a connecting device, which comprises a first communication controller, a second communication controller, a first connector coupled to the first communication controller, a second connector coupled to the second communication controller, a control circuit being coupled to and controlling the first and second communication controller, and a memory coupled to the control circuit, the memory storing a server-side application program and a client-side application program; (b) upon the first connector being connected with the server, the first communication controller emulating a first mass storage device and one or more user input devices complying with a predetermined communication protocol; (c) upon the second connector being connected with the client, the second communication controller emulating a second mass storage device complying with the predetermined communication protocol; (d) the control circuit transferring the server-side application program and the client-side application program to the first and second communication controllers, respectively; (e) the first communication controller receiving video data representing desktop images from the server via the emulated first mass storage device; (f) the control circuit transferring the video data to the second communication controller; (g) the second communication controller outputting the video data to the client via the emulated second mass storage device; (h) the second communication controller receiving user input device data from the client via the emulated second mass storage device; (i) the control circuit transferring the user input device data to the first communication controller; and (j) the first communication controller outputting the user input device data to the server via the emulated user input devices.
In another aspect, the present invention provides a method of remotely controlling a server by a client, which includes the steps of: (a) providing a connecting device, which includes: a first communication controller, the first communication controller emulating a first mass storage device and one or more user input devices complying with a predetermined communication protocol, a second communication controller, the second communication controller emulating a second mass storage device complying with the predetermined communication protocol, a first connector coupled to the first communication controller, a second connector coupled to the second communication controller, a control circuit being coupled to and controlling the first and second communication controller, the control circuit transferring data between the first and second communication controllers, and a memory coupled to the control circuit, the memory storing a server-side application program and a client-side application program, wherein the control circuit transfers the server-side application program and the client-side application program to the first and second communication controllers, respectively, wherein the server-side application program is configured to cause the server to transmit video data representing a desktop image of the server to the emulated first mass storage device and to receive user input device data from the emulated user input devices, and wherein the client-side application program is configured to cause the client to transmit the user input device data to the emulated second mass storage device and to receive the video data from the emulated second mass storage device; (b) connecting the first connector to the server; (c) connecting the second connector to the client; and (d) issuing a start command to the connecting device from the client.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are intended to provide further explanation of the invention as claimed.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 illustrates a configuration of the graphical desktop sharing system according to an embodiment of the present invention.
FIG. 2 illustrates the structure of a connecting device for remote desktop control according to an embodiment of the present invention.
FIG. 3 illustrates bulk data transfer between a host computer and a mass storage device.
FIGS. 4 and 5 illustrate a process for desktop sharing and remote control of the server using the connecting device according to an embodiment of the present invention. FIG. 4 illustrates a process carried out on the server side and FIG. 5 illustrates a process carried out on the server side.



DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
As required, a detailed illustrative embodiment of the present invention is disclosed herein. However, techniques, systems and operating structures in accordance with the present invention may be embodied in a wide variety of forms and modes, some of which may be quite different from those in the disclosed embodiment. Consequently, the specific structural and functional details disclosed herein are merely representative, yet in that regard, they are deemed to afford the best embodiment for purposes of disclosure and to provide a basis for the claims herein, which define the scope of the present invention. The following presents a detailed description of the preferred embodiment (as well as some alternative embodiments) of the present invention.
According to embodiments of the present invention, in a graphical desktop sharing and remote control system, the server (the computer that is being controlled and is sharing its desktop image) and the client (the computer that is viewing the desktop image of the server and transmitting keyboard and mouse signals to control the server) are connected by a connecting device (cable) which has USB connectors at both ends. The connecting device facilitates the desktop sharing and remote control between the server and the client. FIG. 1 illustrates the overall configuration of the system. A server computer 12 and a client computer 14 are connected to a connecting device 16 by two USB cables 18a and 18b, respectively. The connecting device 16 typically has a small form factor. The USB cables 18a and 18b may be formed integrally with the body of the device 16, or they may be physically separate cables plugged into respective connectors on the body of the device 16, or a combination thereof.
The structure of the connecting device 16 is illustrated in FIG. 2. The device 16 includes a memory 22, a control circuit such as a microcontroller unit MCU 24, a first communication controller, the USB controller for server 26, and a second communication controller, the USB controller for client 28. The USB cables 18a and 18b are connected to the USB controller for server 26 and USB controller for client 28, respectively. The memory 22 stores firmware for the MCU 24 and the USB controllers 26 and 28, as well as remote control programs to be executed (preferably automatically executed) by the server 12 and the client 14, respectively, as will be described in more detail later. The MCU 24 controls the USB controllers 26 and 28. It also transfers data between the USB controller for server 26 and the USB controller for client 28, and processes keyboard and mouse data from the client as will be described in more detail later. The USB controllers 26 and 28 communicate with the server 12 and client 14 using the USB protocol.
The USB controller for client 28 emulates a USB CD-ROM device for the client 14. In other words, to the client 14, the device 16 appears to be a CD-ROM communicating with the client using the USB protocol. For example, when the device 16 is plugged in, the “my computer” window on the client will show an additional CD-ROM device, and the “device manager” window will show an additional USB mass storage device. Similarly, the USB controller for server 26 emulates a USB CD-ROM/keyboard/mouse composite device for the server 12. In other words, to the server 12, the device 16 appears to be a CD-ROM/keyboard/mouse composite device communicating with the server using the USB protocol. For example, when the device 16 is plugged in, the “my computer” window on the server will show an additional CD-ROM device, and the “device manager” window will show an additional USB mass storage device, and additional keyboard, and an additional mouse. Although in this example the USB controller for server 26 emulates both a keyboard device and a mouse device, it may alternatively emulate only a keyboard device or only a mouse device, which may be individually or collectively referred to as a user input device.
Although a CD-ROM is described as an example, the USB controllers 26 and 28 can also emulate other mass storage devices complying with the USB Mass Storage Class standard, such as DVD-ROMs, flash drives, hard disk drives, floppy disk drives, etc. CD-ROMs are preferred as the emulated devices because they provide convenient auto-run functions.
Because the emulated devices (USB CD-ROM, USB CD-ROM/keyboard/mouse) are standard devices, computers running popular operating systems such as Window, Mac, Linux, etc., can use their existing drivers to communicate with the connecting device 16 without requiring any special driver to be installed. Methods for emulating a USB CD-ROM device or a USB CD-ROM/keyboard/mouse composite device are known in the art and more detailed descriptions are omitted here.
The emulated CD-ROM device for the server contains a server-side remote control program to be executed by the server 12. The emulated CD-ROM preferably has an auto-run function, which may be implemented by providing auto-run files on the emulated CD-ROM. Thus, the server-side remote control program on the emulated CD-ROM will be automatically executed by the server when the device 16 is plugged into the server 12, and the user does not need to perform a separate program installation step. The server-side remote control program instructs the server 12 to continuously transfer video (desktop image) and audio data generated by the server to the connecting device 16 by writing the video and audio data to the emulated CD-ROM device, as well as to continuously read the keyboard and mouse data from the emulated keyboard and mouse devices. The server 12 uses the keyboard and mouse data to control its functions.
Similarly, the emulated CD-ROM devices for the client contains a client-side remote control program to be executed by the client 14, and also contains auto-run files to cause the client to automatically execute the client-side remote control program. The client-side remote control program instructs the client to continuously receive video and audio data from the connecting device 16 by reading the video and audio data from the emulated CD-ROM device. The client 14 applies the video and audio data to its monitor and speaker. In a preferred embodiment, the server's desktop is displayed on the client's desktop as a window (referred to here as the remote control window). The client receives information from the server regarding the resolution of the server's desktop, and the client draws the window and its content based on that information. The remote control window may be dragged (moved) and resized. In a preferred embodiment, the client-side remote control program creates the remote control window, but the actual functions of drawing and managing the window (dragging, resizing, etc.) are performed by the operating system of the client computer. Alternatively, these functions can be performed by the application software, depending on different programming methods. The client-side remote control program also instructs the client to obtain keyboard and mouse events that are intended for the server. For example, the client can determine whether a keyboard or mouse event is intended for controlling the server computer based on whether the cursor is located within the remote control window and/or whether that window is the top window on the client's desktop. This is also a function of the client's operating system. If the keyboard or mouse event is intended for the server, the client continuously transfers the keyboard and mouse data to the connecting device 16 in a manner described later. As the video and audio data are continuously transferred from the server 12 via the connecting device 16 to the client 14, and the keyboard and mouse data are continuously transferred in the opposite direction, graphical desktop sharing and remote control of the server is accomplished.
The server-side and client-side remote control programs and the auto-run files are stored in the memory 22, and are transferred to the USB controller for server and the USB controller for client, respectively, by the MCU 24.
The data transfer between the server 12 and the connecting device 16 and between the client 14 and the connecting device 16 is illustrated in more detail in FIG. 2. Bulk-only transport between the host computer (either server or client) and the emulated CD-ROM device has three stages. First, the host computer transmits an OUT packet called Command Block Wrapper (CBW) to the CD-ROM. The CBW contains a SCSI command, e.g. a Send_data command in the server's CBW or a Read_data command in the client's CBW. Then bulk data (if any) is transferred, as OUT data in the case of the server and as IN data in the case of the client. After the data transfer stage, the host computer sends an IN packet, and receives a Command Status Wrapper (CSW) packet from the USB controller which indicates whether the data transfer was successful. Within the connecting device 16, the MCU 24 transfers the bulk data from the USB controller for server 26 to the USB controller for client 28.
In the desktop sharing and remote control system according to the present invention, the video and audio data from the server 12 to the client 14 is transferred as bulk data via the emulated CD-ROM devices in the manner described above. The keyboard (KB) and mouse (MS) data from the client 14 to the server 12, on the other hand, are not transferred as bulk data. Rather, as shown in FIG. 2, the keyboard and mouse data is packaged into the CBW sent by the client 14 to the USB controller for client 28. The MCU 24 processes the CBW received by the USB controller for client 28 to extract the keyboard and mouse data, and transfers the data to the USB controller for server 26. The USB controller for server 26 outputs the keyboard and mouse data to the server 12 via the respective endpoints of the emulated USB keyboard and mouse devices.
Other information that needs to be transmitted from the client to the server, such as user interface configuration information, hardware information, etc., can be transmitted using keyboard hotkeys. For example, a function key may be used to turn on and off the audio. When the user at the client side pressed the function key, the hotkey signal is transmitted in the same matter as other keyboard data. The server-side remote control program on the server, upon receiving the hotkey data, responds accordingly.
Transferring the keyboard and mouse data along with the SCSI command in the CBW in the manner described above increases the bulk data transfer efficiency. The operating systems of the server and client typically have predetermined bandwidth for transferring data to and from a USB mass storage device, and can only read data or write data at a given time (i.e. data can flow in one direction at a given time). If the video and audio data (from the server to the client) and the keyboard and mouse data (from the client to the server) are both transferred as bulk data, the transfer of the relatively large volume of video and audio data in one direction will be broken up by the transfer of the relatively small volume of keyboard and mouse data in the other direction. This is inefficient because in the bulk-only data transport, each stage (CBW, data, CSW) is separated from the previous stage by two Start of Frame (SOF) (approximately 2 ms with USB 1.1 and 250 us with USB 2.0) (refer to FIG. 3). Thus, even if only a small amount of data (e.g. keyboard and mouse data) needs to be transmitted, at least 6 ms of time is required. Considering the fact that within the equivalent time of an SOF several Kbytes of data bulk can be transferred (approximately 3 KB in 2 ms under USB 1.1 and 15 KB in 250 us under USB 2.0), the overhead caused by breaking up of data transfer is significant. As a result, the transfer efficiency for the video and audio data will be greatly impacted by the transfer of the keyboard and mouse data. In FIG. 3, the events in the dashed line box represent transfer of keyboard and mouse data from the client to the emulated CD-ROM device. In a preferred embodiment of the present invention, these events do not occur, and bulk data is almost always transferred in one direction (server to client). As a result, maximum bandwidth of the emulated CD-ROM device is available for transferring video and audio data from the server to the client.
In an alternative embodiment, the keyboard and mouse data is transmitted as bulk data in a manner similar to the video and audio data but in the opposite direction. Such an alternative embodiment will not enjoy the advantages described above.
FIGS. 4 and 5 are flow diagrams illustrating a process for desktop sharing and remote control using the connecting device 16. The process in FIG. 4 is carried out on the server side and the process in FIG. 5 is carried out on the client side. As shown in FIG. 4, when the connecting device 16 is connected to the server 12, the server (the USB host) detects such an event (step S41), the server cooperates with the device 16 to perform USB device enumeration for the standard USB mass storage device, keyboard device and mouse device (step S42). The USB controller for server 26 presents the auto-run file and the server-side remote control program on the emulated mass storage device, and the server 12 automatically executes the server-side remote control program (step S43). Alternatively, if an auto-run file is not stored in the emulated mass storage device, a user action will be performed to execute the server-side remote control program. Under the control of the server-side remote control program, the server 12 waits for a signal from the client 14 (in the form of a keyboard or mouse command from the emulated keyboard or mouse device) to start data transfer (step S44). If such a signal is received (“Y” in step S45), the desktop sharing and remote control communication has been established. The server 12 starts to execute the server data transfer functions, including transferring video and audio data to the connecting device, and receiving keyboard and mouse data from the connecting device (step S46). The server also performs its other functions based on the received keyboard and mouse data. The server continues to perform these functions (return to step S46 if “N” in step S47) until timeout (e.g., the connecting device is unplugged) or a termination signal is received from the client or from a user input device on the server (“Y” in step S47).
As shown in FIG. 5, when the connecting device 16 is plugged into the client 14 (USB host) (step S51), the client 14 cooperates with the device 16 to perform USB device enumeration for the standard USB mass storage device (step S52). The USB controller for client 28 presents the auto-run file and the client-side remote control program on the emulated mass storage device, and the client 14 automatically executes the client-side remote control program (step S53). Alternatively, if an auto-run file is not stored in the emulated mass storage device, a user action will be performed to execute the client-side remote control program. Under the control of the client-side remote control program, the client 14 displays a message to the user, such as a “start” button on the screen, and waits for a user input to start data transfer (step S54). If the user input is received (“Y” in step S55), the client 14 sends a start signal to the server 12 (e.g., by sending a keyboard or mouse command via the connecting device 16) (step S56). The client also starts to execute the client data transfer functions, including transferring keyboard and mouse data to the connecting device 16 in the manner described earlier, and receiving video and audio data from the device 16 (step S57). The client also applies the received video and audio signals to its monitor and speaker. The client 14 continues to perform these functions (return to step S57 if “N” in step S58) until timeout or a termination signal is received from the user (“Y” in step S58).
Although USB is used in the above descriptions as the interface and communication protocol between the server, the connecting device and the client, the invention may be implemented using other standard interfaces and communication protocols, such as Firewire®, etc., including those that may come into existence in the future. Preferably, the protocol should be widely supported by a large number of computers used at the time.
Embodiments of the present invention provide a graphical desktop sharing system that does not require special driver programs and application software to be pre-installed on the server and client computers, and has a high transmission bandwidth for video and audio data that are not affected by the transmission of keyboard and mouse data.
It will be apparent to those skilled in the art that various modification and variations can be made in the graphical desktop sharing and remote control system method and apparatus of the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention cover modifications and variations that come within the scope of the appended claims and their equivalents.

## Claims

1. A device for facilitating remote control of a server by a client, comprising:
a first communication controller configured for connecting to the server, the first communication controller emulating a first mass storage device and one or more user input devices complying with a predetermined communication protocol, and transmitting a user input device data to control the server via at least one emulated user input device that provides keystroke data or cursor data or both as the user input device data input by the client, wherein the first communication controller transmits the user input device data in one direction and receives video data representing a desktop image of the server in the opposite direction by emulating at least one emulated user input device and the first mass storage device;
a second communication controller configured for connecting to the client, the second communication controller emulating a second mass storage device complying with the predetermined communication protocol for receiving the user input device data from the client;
a control circuit being coupled to and controlling the first and second communication controller, the control circuit transferring the user input device data between the first and second communication controllers; and
a memory coupled to the control circuit, the memory storing a server-side application program and a client-side application program, the memory storing a server-side application program and a client-side application program being different programs, wherein the control circuit transfers the server-side application program to the first communication controller and transfers the client-side application program to the second communication controller respectively.

2. The device of claim 1, wherein the server-side application program is configured to cause the server to transmit video data representing a desktop image of the server to the emulated first mass storage device and to receive user input device data from the emulated user input devices.

3. The device of claim 1, wherein the client-side application program is configured to cause the client to transmit the user input device data to the emulated second mass storage device and to receive the video data from the emulated second mass storage device.

4. The device of claim 1, wherein the predetermined communication protocol is a Universal Serial Bus (USB) protocol, and the first and second communication controllers are USB controllers.

5. The device of claim 1, wherein the first and second emulated mass storage devices are CD-ROM devices.

6. The device of claim 5, wherein the memory further stores first and second auto-run files,
wherein the control circuit transfers the first and second auto-run files to the first and second communication controllers, respectively,
wherein the first communication controller presents the first auto-run file and the server-side application program on the first emulated CD-ROM device, and
wherein the second communication controller presents the second auto-run file and the client-side application program on the second emulated CD-ROM device.

7. The device of claim 1,
wherein the server-side application program is configured to cause the server to execute a process for transferring the video data to the emulated first mass storage device including:
transmitting a first command packet containing a send data command to the first mass storage device;
transmitting the video data to the first mass storage device; and
receiving a first status packet from the first mass storage device; and

wherein the client-side application program is configured to cause the client to execute a process for receiving the video data from the emulated second mass storage device including:
transmitting a second command packet containing a read data command to the second mass storage device;
receiving the video data from the second mass storage device; and

receiving a second status packet from the second mass storage device.

8. The device of claim 7,
wherein client-side application program is further configured to cause the client to execute a process for transmitting the user input device data to the emulated second mass storage device including: transmitting the user input device data in the second command packet to the second mass storage device;
wherein the control circuit processes the second command packet to extract the user input device data and transfers the extracted data to the first communication controller;
wherein the first communication controller outputs the user input device data via the emulated user input devices.

9. The device of claim 1, further comprising:
a body which houses the first and second communication controllers, the control circuit and the memory; and
first and second cables formed integrally with the body, the first and second cables being coupled to the first and second communication controllers, respectively, and having connectors complying with the predetermined communication protocol.

10. The device of claim 1, further comprising:
a body which houses the first and second communication controllers, the control circuit and the memory; and
first and second connectors complying with the predetermined communication protocol, the first and second connectors being disposed the body and coupled to the first and second communication controllers, respectively.

11. A method of remotely controlling a server by a client, comprising:
(a) providing a connecting device, which comprises a first communication controller, a second communication controller, a first connector coupled to the first communication controller, a second connector coupled to the second communication controller, a control circuit being coupled to and controlling the first and second communication controller, and a memory coupled to the control circuit, the memory storing a server-side application program and a client-side application program;
(b) upon the first connector being connected with the server, the first communication controller emulating a first mass storage device and one or more user input devices complying with a predetermined communication protocol, and transmitting a user input device data to control the server via at least one emulated user input device that provides keystroke data or cursor data or both as the user input device data by the client, wherein the first communication controller transmits the user input device data in one direction and receives video data representing a desktop image of the server in the opposite direction by emulating at least one emulated user input device and the first mass storage device;
(c) upon the second connector being connected with the client, the second communication controller emulating a second mass storage device complying with the predetermined communication protocol for receiving the user input device data from the client;
(d) the control circuit transferring the server-side application program and the client-side application program to the first and second communication controllers, respectfully;
(e) the first communication controller receiving video data representing desktop images from the server via the emulated first mass storage device;
(f) the control circuit transferring the video data to the second communication controller;
(g) the second communication controller outputting the video data to the client via the emulated second mass storage device;
(h) the second communication controller receiving user input device data from the client via the emulated second mass storage device;
(i) the control circuit transferring the user input device data to the first communication controller; and
(j) the first communication controller outputting the user input device data to the server via the emulated user input devices.

12. The method of claim 11, wherein the predetermined communication protocol is a Universal Serial Bus (USB) protocol, and the first and second communication controllers are USB controllers.

13. The method of claim 11, wherein the first and second emulated mass storage devices are CD-ROM devices.

14. The method of claim 13, wherein the memory of the connecting device further stores first and second auto-run files, the method further comprising:
(k) the control circuit transferring the first and second auto-run files to the first and second communication controllers, respectively;
(l) the first communication controller presenting the first auto-run file and the server-side application program on the first emulated CD-ROM device; and
(m) the second communication controller presenting the second auto-run file and the client-side application program on the second emulated CD-ROM device,
wherein steps (k) through (m) are performed before steps (e) through (j).

15. The method of claim 11, wherein step (e) includes:
(e1) receiving a first command packet containing a send data command from the server;
(e2) receiving the video data from the server; and
(e3) transmitting a first status packet to the server; and
wherein step (g) includes:
(g1) receiving a second command packet containing a read data command from the client;
(g2) transmitting the video data to the client; and
(g3) transmitting a second status packet to the client.

16. The method of claim 11, wherein step (h) includes receiving a command packet containing the user input device data from the client, and
wherein step (i) includes the control circuit processing the command packet to extract the user input device data and transferring the extracted data to the first communication controller.

17. The method of claim 11, further comprising:
(n) before steps (e) through (j), the second communication controller receiving a start command from the client to start data transfer, and in response thereto, the first communication controller transmitting a start command to the server to start data transfer.

18. A method of remotely controlling a server by a client, comprising:
(a) providing a connecting device, which comprises:
a first communication controller, the first communication controller emulating a first mass storage device and one or more user input devices complying with a predetermined communication protocol, and transmitting a user input device data to control the server via at least one emulated user input device that provides keystroke data or cursor data or both as the user input device data by the client, wherein the first communication controller transmits the user input device data in one direction and receives video data representing a desktop image of the server in the opposite direction by emulating at least one emulated user input device and the first mass storage device,
a second communication controller, the second communication controller emulating a second mass storage device complying with the predetermined communication protocol for receiving the user input device data from the client,
a first connector coupled to the first communication controller,
a second connector coupled to the second communication controller,
a control circuit being coupled to and controlling the first and second communication controller, the control circuit transferring the user input device data between the first and second communication controllers, and
a memory coupled to the control circuit, the memory storing a server-side application program and a client-side application program, wherein the control circuit transfers the server-side application program and the client-side application program to the first and second communication controllers, respectively, wherein the server-side application program is configured to cause the server to transmit video data representing a desktop image of the server to the emulated first mass storage device and to receive user input device data from the emulated user input devices, and wherein the client-side application program is configured to cause the client to transmit the user input device data to the emulated second mass storage device and to receive the video data from the emulated second mass storage device;

(b) connecting the first connector to the server;
(c) connecting the second connector to the client; and
(d) issuing a start command to the connecting device from the client.

19. The method of claim 18, further comprising:
(e) inputting user input device data to the connecting device from the client to control the server.

20. The method of claim 18, wherein the predetermined communication protocol is a Universal Serial Bus (USB) protocol, and the first and second communication controllers are USB controllers.

21. The method of claim 18, wherein the first and second emulated mass storage devices are CD-ROM devices.

22. The method of claim 21, wherein the memory of the connecting device further stores first and second auto-run files,
wherein the control circuit transfers the first and second auto-run files to the first and second communication controllers, respectively,
wherein the first communication controller presents the first auto-run file and the server-side application program on the first emulated CD-ROM device, and
wherein the second communication controller presents the second auto-run file and the client-side application program on the second emulated CD-ROM device.

23. A method for communicating video data and user input device data via a connecting device connected between a first computer and a second computer, wherein the connecting device emulating a first mass storage device, a second mass storage device and at least one user input device, the method comprising:
(a) the first computer transmitting a first command packet containing a send data command to a first emulated mass storage device;
(b) the first computer transmitting the video data to the first emulated mass storage device;
(c) transferring the video data from the first emulated mass storage device to a second emulated mass storage device;
(d) the second computer transmitting a second command packet containing a read data command and the user input device data to the second emulated mass storage device to control the first computer via at least one emulated user input device that provides keystroke data or cursor data or both as the user input device data input by the second computer;
(e) the second computer receiving the video data from the second emulated mass storage device, wherein the user input device data is transmitted in one direction and the video data representing a desktop image of the first computer is received in the opposite direction by the connecting device emulating the at least one emulated user input device and the first emulated mass storage device;
(f) extracting the user input device data from the second command packet and transferring the user input device data to the first emulated mass storage device; and
(g) outputting the user input device data from the first emulated mass storage device to the first computer;
wherein the connecting device controls the transfer of video data and user input device data, the connecting device having server-side and client-side programs stored in a memory of the connecting device, and the server-side and client-side programs configured to cause transfer of the video data and the user input device data in opposite directions.

24. A device for facilitating remote control of a server by a client, comprising:
a first communication controller configured for connecting to the server, the first communication controller emulating at least one user input device complying with a predetermined communication protocol, and transmitting a user input device data to control the server via the emulated at least one user input device that provides keystroke data or cursor data or both as the user input device data input by the client, the first communication controller further receiving a video data representing desktop image of the server;
a second communication controller configured for connecting to the client, the second communication controller emulating a mass storage device complying with the predetermined communication protocol for receiving the user input device data from the client, the second communication controller further transmitting the video data to the client via the mass storage device for receiving the user input device data from the client and transmitting the video data to the client in a transport; and
a control circuit being coupled to and controlling the first and second communication controller, the control circuit transferring the user input device data and the video data between the first communication controller and the second communication controller.

25. The device of claim 24, wherein the emulated mass storage devices is a CD-ROM device.

26. The device of claim 24, wherein the client further comprises a client-side application program configured to cause the client to transmit the user input device data to the emulated mass storage device and to receive the video data from the emulated mass storage device.