摘要
为了充分利用USB接口资源,方便获取远程服务端的数据,设计并实现了一种新的资源共享方式。本方法使用网络块设备协议来获取远程服务端的数据,然后通过USB接口将数据提供给用户。重点给出了对网络块设备服务端和客户端的程序设计,并在Linux环境下实现了其设计功能。测试表明,数据传输速率稳定在10.0 M bps左右,说明了方法有效性。本方案既保留了USB移动存储设备即插即用的特点,又吸收了网络传输即时获取、不需使用存储介质来转移数据等优点。
In order to make the most use of the USB interface resources to obtain remote server's data conveniently, a new resource-sharing method is designed and realized. Network Block Device protocol is usedto obtain the resources "from the remote server,and then the data are submited to user via USB interface. The design of Network Block Device's server and client programming are given in detail. Then it is accomplished in the environment of Linux. The actual test shows that data can be transported on a stable speed of about 10. OM bps. Its effectiveness is proved. Not only the USB removable storage device's feature of hot - plug is retained, but also the network's advantages, such as real-time access and being independent of storage media, are absorbed.
出处
《世界科技研究与发展》
CSCD
2011年第2期265-267,225,共4页
World Sci-Tech R&D
关键词
数据通信
网络块设备
嵌入式
资源共享
data communication
network block device
embedded
resources sharing