Virtual desktop is a server-based computing model and can improve the efficiency of resource management on computers.Exist-ing virtual desktop cannot realise desktop virtualisation of USB devices due to insufficient USB device support.To tackle this problem,we de-signed the USB redirection system on Android-based virtual desktop,and implemented the operation of USB devices through virtual desktop. The system exploits NDK to construct USB device monitor module and control module,exploits Socket to transmit USB device information be-tween processes,and exploits TCP/IP-based message framework to transmit data with server.Experimental results demonstrated that to make the read and write operation on redirected USB device on Android-based virtual desktop has the data transmission rate similar to the rate on lo-cal USB.%虚拟桌面是基于服务器的计算模型,可提高计算机的资源管理效率。现有的虚拟桌面对 USB 设备支持不足,无法实现USB 设备的桌面虚拟化。针对这一问题,在基于 Android 的虚拟桌面上设计 USB 设备重映像系统,实现通过虚拟桌面对 USB 设备的操控。该系统通过 NDK 构建 USB 设备监听模块和控制模块,利用 Socket 在进程间传递 USB 设备信息,利用基于 TCP/IP 协议的消息框架与服务器进行数据传输。实验结果表明,在 Android 虚拟桌面上对重映像的 USB 设备进行读写操作,其传输速率与本地 USB的传输速率相当。
展开▼