Patent ID: 7543086

Claim:
An agent for assisting an application executed in a processing platform where a first operation system is installed, in controlling a USB (Universal serial bus) device plugged in a second operation system rather than the first operation system, the processing platform comprising a USB device driver and a second USB bus driver, the USB device driver being coupled to the application, the second USB bus driver being coupled to the USB device driver, the USB device driver creating, responsive to a request from the application, a USB request block (URB) in a first format, the second USB bus driver receiving the USB request block in the first format from the USB device driver, and transmitting the USB request block in the first format out, said agent comprising: a URB translating module, operating under the first operation system and coupled to the USB bus driver, for receiving the USB request block in the first format transmitted from the second USB bus driver, translating the USB request block in the first format into the USB request block in a second format native to the second operation system in accordance with an algorithm, and transmitting the USB request block in the second format out; and a URB receiving driver, operating under the second operation system, for receiving the USB request block in the second format transmitted from the URB translating module, wherein the algorithm is configured to comprise judging if the transfer type of the USB request block in the first format is a specific type, and if yes, performing a specific type translation corresponding to the specific type.