Responsive image
博碩士論文 etd-0705118-211203 詳細資訊
Title page for etd-0705118-211203
論文名稱
Title
以軟體定義網路實現應用於物聯網之智慧交換器
Design and Implementation of Smart Switch for IOT Applications with SDN Mechanisms
系所名稱
Department
畢業學年期
Year, semester
語文別
Language
學位類別
Degree
頁數
Number of pages
86
研究生
Author
指導教授
Advisor
召集委員
Convenor
口試委員
Advisory Committee
口試日期
Date of Exam
2018-07-24
繳交日期
Date of Submission
2018-08-07
關鍵字
Keywords
物聯網、異質網路、節點註冊、閘道器、軟體定義網路
software-defined networking, node registration mechanism, IOT, heterogeneous network, gateway
統計
Statistics
本論文已被瀏覽 5642 次,被下載 1
The thesis/dissertation has been browsed 5642 times, has been downloaded 1 times.
中文摘要
隨著科技的演進,物聯網漸漸成為現在的潮流,裝置要連上網路則必須配給每一個裝置特定的位址,單純地以人力配置節點會是一項繁瑣的過程,此時,註冊機制可以省去複雜的人力設置,且不論是IP或是Non-IP的位址分配皆適用。現今之閘道器大多僅支援一對一之協定轉換,也不具有路由識別之功能,無法同時服務多個介面,在對面物聯不同的通訊介面時,只能提供有限的服務。就通訊協定Modbus而言,因其協點簡單易於實現故常用於物聯網資料蒐集,但一個介面所支援節點數為250多個,以現有的Modbus閘道器架構也難以支援廣大的節點數。本論文提出之智慧交換器融入軟體定義網路之概念設計,以軟體程式來查找系統內部路由以及負責轉送封包的任務,並可以支援多個傳輸介面以及動態的配置介面,亦可以加上無線模組進行擴充、增加系統的配置彈性。智慧交換器由命名模組、一般交換器以及協定轉換模組所構成,命名模組負責接收終端節點註冊,同時也具備公用IP位址,使用者可以透過TCP/IP連線到智慧交換器,並以節點名稱的方式存取終端節點;協定轉換模組負責節點註冊廣播、協定轉換以及介面的位址的管理,並具備Check alive機制。我們利用NS3的環境建構出總線式的拓樸結構,並加入封包碰撞判定的機制,以模擬Modbus廣播封包回應可能會碰到的碰撞問題,並提出變動式隨機演算法的註冊回應策略,經由模擬驗證註冊可行性,克服註冊機制應用於Modbus協定總線式拓樸效率不佳的缺點。
Abstract
As technology develops, IOT becomes current trend. But before devices connect to network, each device must get a different address. Assigning addresses manually will be a tedious work. We find no matter in IP or Non-IP address assignment, registration mechanism can save manpower. On the other hand, the majority of ready-made gateways lack ability to identify routes, which means it can’t service multiple interfaces simultaneously and it can supply limited services when applied to IOT. In the perception layer, Modbus is a standard protocol widely used in data monitoring, because of easily implementation on devices. However, according to the architecture of Modbus gateway, it can only supply at most 250 nodes in a cluster, which is not suitable for enormous number of devices. To deal with these problems, we proposed a smart switch designed with SDN mechanism in this paper. Smart switch could find internal route and forward packet through software program and supported multiple transmission interfaces which could be allocated dynamically. Also, it could expand with wireless module to increase system adaptability. Smart switch was composed of Naming module, network switch and Protocol convert module. Naming module was responsible for accepting registration request from terminal devices and had public IP. Client could connect to smart switch through TCP/IP and access terminal device by node name; protocol convert module was in charge of broadcasting node registration command, converting protocol and address management on each interface. In addition, through NS3 platform, we also simulated registration mechanism which might have collision issue when applied in bus topology with Modbus and proposed variant random response algorithm to overcome low registration efficiency in bus topology.
目次 Table of Contents
論文審定書 i
誌謝 ii
摘要 iii
Abstract iv
圖次 viii
表次 x
第1章 簡介 1
1.1 研究動機 1
1.2 研究目的 2
1.3 論文架構 2
第2章 背景知識與相關研究 3
2.1 IP相關網路協定 3
2.1.1 DHCP 3
2.1.2 Universal Plug and Play (UPnP) 6
2.1.3 Network Address Translation (NAT) 10
2.2 軟體定義網路(Software-defined network) 11
2.2.1 軟體定義網路架構(SDN architecture) 11
2.2.2 軟體定義網路架構與傳統網路架構比較 12
2.3 WinPcap封包擷取工具 14
2.3.1 WinPcap架構 14
2.3.2 WinPcap應用 15
2.3.3 WinPcap 使用方式 15
2.4 Modbus協定與異質閘道器 17
2.4.1 Modbus協定簡介 17
2.4.2 Modbus協定之異質閘道器討論 18
第3章 以軟體定義網路實現應用於物聯網之智慧交換器 20
3.1 系統架構 21
3.1.1 網路命名系統架構(Network Naming system) 21
3.1.2 智慧交換器架構 22
3.1.3 模組內部架構 24
3.1.4 封包格式 29
3.2 系統建立流程與使用者存取流程 35
3.2.1 註冊流程 35
3.2.2 check alive機制 41
3.2.3 使用者連線方式 43
3.3 碰撞模擬與減少碰撞演算法 45
3.3.1 封包碰撞 45
3.3.2 延時回應機制與涵蓋率 46
3.3.3 變動式隨機權重演算法 47
第4章 實現成果與驗證 48
4.1 應用於物聯網之智慧交換器驗證 48
4.1.1 介面註冊機制驗證 51
4.1.2 節點註冊機制驗證 52
4.1.3 Check alive 機制 53
4.1.4 使用者存取流程 56
4.2 NS3碰撞模擬 60
4.2.1 模擬架構 60
4.2.2 延時回應碰撞模擬與分析 62
4.2.3 速率模擬與分析 63
4.2.4 變動式隨機權重演算法模擬與分析 64
4.3 目標方程式 70
第5章 總結 71
參考文獻 72
參考文獻 References
[1] Huang, Hai, Jiping Zhu, and Lei Zhang. "An SDN_based management framework for IoT devices." Presented at Irish Signals & Systems Conference 2014 and 2014 China-Ireland International Conference on Information and Communications Technologies (ISSC2014/CIICT 2014). Available:
https://www.researchgate.net/publication/268191226_An_SDN_based_management_framework_for_IoT_devices
[2] ONF, "Software-Defined Networking: The New Norm for Networks", Whitepaper, April 2012
[3] Sakakibara, Hiroshi, Jin Nakazawa, and Hideyuki Tokuda. "PBN: A seamless network infrastructure of heterogeneous network nodes," Presented at 2009 Sixth International Conference, June 2009.
[4] Xia, Wenfeng, et al. "A survey on software-defined networking," IEEE Communications Surveys & Tutorials, vol. 17, no. 1, pp.27-51, 2015.
[5] Zhang, Lixia, et al. "Named data networking," ACM SIGCOMM Computer Communication Review, vol. 44, no. 3, pp.66-73, July 2014.
[6] Zhang, Lixia, et al. "Named data networking (NDN) project," Oct. 2010. Available: https://www.researchgate.net/publication/267821166_Named_data_networking_NDN_project
[7] McKeown, Nick, et al. "OpenFlow: enabling innovation in campus networks," ACM SIGCOMM Computer Communication Review, 38(2), pp.69-74, April 2008.
[8] ONF, OpenFlow Switch Specification, Version 1.4.0, October 2013
[9] 黃建穎; 林盈達 “SDN網控與網管技術”, 交通大學資訊工程系, September, 2014
[10] 王辰佑、林盈達 “SDN標準與測試”, 交通大學資訊工程系, September 2014
[11] 廖俊傑、林盈達 “SDN交換器與傳統交換器的架構與效能比較”, 交通大學資訊工程系, September, 2013
[12] Soniya, M. Micheal Santha, and K. Kumar, "A survey on named data networking." Presented at 2015 2nd International Conference on Electronics and Communication Systems, Coimbatore, India.
[13] Chiculita, Claudiu, Ene Liviu, and Mihai Lucian Cristea. "Towards multi-port Modbus gateway". Presented at 2013 4th International Symposium on Electrical and Electronics Engineering, Galati, Romania.
[14] Chin-Ta Lin, Pu-Chen Wey, Chun-Chou Chien, “An Integrated Service Architecture for Heterogeneous Service Network”, ICL Technical Journal, 115, pp.47-53 , Mar. 2006
[15] Tom Fout (2001), “Universal Plug and Play in Windows XP,” Retrieved from URL:https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb457049(v=technet.10)#EGAA (July,2018)
[16] SOAP, Retrieved from URL: https://zh.wikipedia.org/wiki/SOAP (July,2018)
[17] SSDP, Retrieved from URL:
https://en.wikipedia.org/wiki/Simple_Service_Discovery_Protocol (July,2018)

[18] The WinPcap Team, “WinPcap Documentation.” Retrieved from URL:
https://www.winpcap.org/docs/docs_412/html/main.html (July,2018)
[19] Rahul T.; Ernest J. Wilson III “The Flip Side of Metcalfe’s Law: Multiple and Groping Costs of Network Exclusion”, International Journal of communications, vol.5, pp.665-681, 2011.
[20] 侯柏丞; 高勝助 “以OpenFlow實現SDN建置多服務導向的KLMN虛擬叢集”, International Conference on Knowledge Community, KC 2013
[21] Shuhao Liu; Baochun Li, “On Scaling Software-Defined Networking in Wide-Area Networks”, Tsinghua Science and Technology, vol. 20, pp221-232, Jun. 2015
電子全文 Fulltext
本電子全文僅授權使用者為學術研究之目的,進行個人非營利性質之檢索、閱讀、列印。請遵守中華民國著作權法之相關規定,切勿任意重製、散佈、改作、轉貼、播送,以免觸法。
論文使用權限 Thesis access permission:自定論文開放時間 user define
開放時間 Available:
校內 Campus: 已公開 available
校外 Off-campus: 已公開 available


紙本論文 Printed copies
紙本論文的公開資訊在102學年度以後相對較為完整。如果需要查詢101學年度以前的紙本論文公開資訊,請聯繫圖資處紙本論文服務櫃台。如有不便之處敬請見諒。
開放時間 available 已公開 available

QR Code