透過您的圖書館登入
IP:18.117.227.194
  • 學位論文

基於USB介面建立一個物聯網閘道器

Building a Gateway to the Internet of Things Base on USB Interface

指導教授 : 江正雄

摘要


本文提出以一般市售智慧型電子裝置中常配置的USB傳輸埠為通訊連接基礎,而快速建立即插即用物聯網閘道器之應用。USB協會於通訊子類別當中,定義了乙太網路控制模型與乙太網路仿真模型,此方法可將USB傳輸埠虛擬成乙太網路傳輸連接埠。故不同實體裝置之間以USB乙太網傳輸通訊為基礎,快速達成實體連接與資料傳輸。對於佈線不易、需即時性、高頻寬的應用來說,這是一種簡易、快速、低成本的物聯網應用之一。 經由Transmission Control Protocol (TCP)與User Datagram Protocol (UDP)兩種常用網路通訊協定測試下,以無線網路在隔絕干擾環境的屏蔽室下之吞吐量測試結果為50M ~ 56Mbit/s傳輸速度,然而在開放環境下USB 2.0與USB 3.0之吞吐量測試結果則分別可以達到92M ~ 99Mbit/s 與 249M ~ 263Mbit/s的傳輸速度。在UDP封包遺失率測試下,無線網路之測試結果約在3.4% ~ 12.9%,而USB 2.0與USB 3.0之測試結果則分別為0.73% ~ 1.05% 與 0.69% ~ 2.2%,故不論以傳輸吞吐量或是封包遺失率來分析,以USB乙太網路為資料傳輸基礎之方式皆優於無線網路傳輸方式。 於測試數據結果當中,可以發現USB乙太網路連接傳輸方式比無線網路連接傳輸方式,可提供更穩定的傳輸速率及較少的封包遺失率。且無線網路連接傳輸方式容易被實際環境當中所存在的2.4GHz無線電波所干擾。對於物聯網閘道器以USB乙太網路連結智慧型電子裝置後直接存取網際網路資源,此種連網應用方式是目前尚未常見之網路應用方式之一。

並列摘要


This research proposes a quick establishment of plug and play gateway to the Internet of Things based on USB port, which is common in all electronic devices. USB Association has defined the Ethernet control model and Ethernet simulation model in communication subcategory. With this approach, the USB port can be simulated as an Ethernet transmission port so that fast connection and data transmission is possible based on USB Ethernet communication among different devices. This is one of the applications for the simple, quick and low-cost to the Internet of Things. In tests with two commonly used network protocols, Transmission Control Protocol (TCP) and User Datagram Protocol (UDP), the throughput was 50M-56Mbit/s in transmission speed in a shielding chamber with all environment interference isolated. However, in an open environment, throughput of USB 2.0 and USB 3.0 were respectively 92 - 99 M bit/s and 249 - 263 M bit/s in transmission speed. In UDP packet loss rate tests, the loss rates were between approximately 3.4% - 12.9% while 0.73% - 1.05% and 0.69% - 2.2% respectively in USB 2.0 and USB 3.0 tests. Our results indicated that the USB Ethernet transmission was better than the wireless transmission in both transmission throughput and packet loss rate. From the test results, the USB Ethernet transmission was better than the wireless transmission for more stable transmission speed and lower packet loss rate. In addition, the wireless transmission is easily disturbed by the 2.4GHz radio wave in the environment. This direct accessibility of internet information through the establishment of gateway to Internet of Things based on USB Ethernet connection to smart electronic devices is currently uncommon.

並列關鍵字

IoT Ethernet ECM EEM

參考文獻


[10]Y.-S. Kim,H.-S. Kim,C.-G. Lee,“The development of USB home control network system,” 2004 8th International Conference on Control, Automation, Robotics and Vision(ICARCV 2004), vol. 1, Kunming, China, pp. 289-293, Dec .6-9, 2004.
[11]Android Developer Tools, http://developer.android.com/sdk/eclipse-adt.html
[16]N. Nawka, A.K. Maguliri, D. Sharma, and P. Saluja, “SESGARH: A scalable extensible smart-phone base mobile gateway and application for remote health monitoring,” Internet Multimedia Systems Architecture and Application (IMSAA), Bangalore, Karnataka , pp. 1-6 , Dec. 2011.
[20]吳建達:“ 動態網頁應用程式調校-以Apache+PHP+MySQL為例”,國立清華大學資訊系統與應用研究所碩士論文,民國95年7月。
[23]Apache,“HTTP ServerProject”[Online] Available:

延伸閱讀