簡易檢索 / 詳目顯示

研究生: 王聖鑫
Sheng-Hsin Wang
論文名稱: 嵌入式Linux於低速無線網路協定之實現與應用
Implementation and Application for Low-Data Rate Wireless Network Protocol on Embedded Linux System
指導教授: 王煥宗
Huan-Chun Wang
口試委員: 鄭瑞光
Ray-Guang Cheng
陳省隆
Hsing-Lung Chen
呂政修
Jenq-Shiou Leu
高典良
Tien-Liang Kao
學位類別: 碩士
Master
系所名稱: 電資學院 - 電子工程系
Department of Electronic and Computer Engineering
論文出版年: 2019
畢業學年度: 107
語文別: 中文
論文頁數: 77
中文關鍵詞: 嵌入式系統驅動程式物聯網
外文關鍵詞: 802.11ah
相關次數: 點閱:183下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 本論文主要研究目的是在具備Linux作業系統的Xilinx Virtex6 FPGA開發板(xc6vlx240t/ff1156/-2)上實現IEEE P802.11ah/D10.0Draft Standard中的MAC協定,使系統成為具備Target Wake Time功能的Non-TIM station,並實作MQTT、MQTT-SN及AMQP物聯網應用程式,使整個系統具有物聯網感測器的功能。
    論文內容主要包含系統架構、802.11ah MAC協定、在Linux系統上實現scanning procedure、explicit TWT機制以及MAC協定的驗證,最後會介紹三種不同的上層物聯網協定與實作成果,使Non-TIM station成為物聯網感測器。


    The main purpose of this paper is to implement the MAC protocol in IEEE P802.11ah/D10.0Draft Standard on Xilinx Virtex6 Board (xc6vlx240t/ff1156/-2) with embedded Linux system. Transceivers will become a Non-TIM station with Target Wake Time feature, and we also implement MQTT, MQTT-SN and AMQP IoT applications in user space, so that the entire system can act as an IoT sensor. It is expected that more 802.11ah MAC protocol can be achieved in the future.
    The paper mainly describes how to implement scanning procedure and TWT feature of 802.11ah in Linux station, as well as the realization of the three IoT protocols. We'll start with overall system architecture, and then we'll introduce the 802.11ah MAC protocol and how to implement explicit TWT mechanism on Linux system. Next, we will talk about three different IoT protocols and their implementations. With the combination of the 802.11ah bottom layer and IoT protocols, transceivers can be the role of IoT sensors.

    圖目錄 VII 第一章 緒論 1 1.1 研究背景 1 1.2 論文架構 2 第二章 系統架構 3 2.1 系統硬體架構 3 2.2 系統軟體架構 4 2.3 上層處理器驅動程式架構 5 2.4 mac80211 6 2.4.1 mac80211簡述 6 2.4.2 net_device 7 2.4.3 cfg80211和WEXT 7 2.4.4 核心編譯 8 2.4.5 mac8021基本ops 9 第三章 802.11ah Non-TIM Station 11 3.1 Station classification 11 3.2 AP & STA handshake process 11 3.2.1 Scanning procedure 12 3.2.2 Assocaition procedure 12 3.2.3 Active mode 13 3.3 Target Wake Time 13 3.3.1 TWT Setup 14 3.3.2 TWT IE 16 3.3.3 TWT type 19 3.3.3.1 Implicit TWT 19 3.3.3.2 Explicit TWT 19 第四章 802.11ah MAC通訊協定實現 20 4.1 Linux Kernel Timer簡述 20 4.1.1 Timer設置與使用 20 4.2 Scanning Procedure 22 4.3 Association Procedure 24 4.3.1 Association request with TWT IE 24 4.3.2 Association response with TWT IE 25 4.3.3 TWT setup 27 4.4 Power saving mechanism 28 4.4.1 Power saving mode 29 4.4.2 Active mode 30 4.5 Explicit TWT 32 4.5.1 poll_twt_timer計時器 33 4.5.2 AP回傳TWT information 34 4.5.3 station設置起床時間 35 第五章 MAC協定驗證 36 5.1 Wireshark分析封包結果 37 5.2 Scapy 39 5.2.1 Scapy新增802.11ah協定 39 5.2.2 使用Scapy 41 5.2.3 Scapy擷取封包結果 43 5.3 省電效能估算 45 第六章 物聯網傳輸服務 46 6.1 傳輸環境 46 6.2 MQTT (Message Queuing Telemetry Transport) 48 6.2.1 MQTT簡介 48 6.2.2 RSMB (Really Small Message Broker) 49 6.2.3 MQTT實作結果 49 6.2.3.1 啟動broker 49 6.2.3.2 MQTT Subscriber 50 6.2.3.3 MQTT Publisher 51 6.3 MQTT-SN (MQTT for Sensor Networks) 53 6.3.1 MQTT-SN簡介 53 6.3.2 MQTT-SN實作結果 54 6.3.2.1 MQTT-SN Subscriber 54 6.3.2.2 MQTT-SN Publisher 55 6.4 AMQP (Advanced Message Queuing Protocol) 57 6.4.1 AMQP簡介 57 6.4.2 RabbitMQ 58 6.4.3 AMQP實作結果 58 6.4.3.1 啟動RabbitMQ broker 58 6.4.3.2 AMQP consumer & publisher 59 6.5 Overhead comparison 61 6.5.1 Htop 61 6.5.2 測試結果 61 第七章 結論及未來展望 63 參考文獻 64 附錄 68 附錄A 模擬工具與平台 68 A.1 XPS 69 A.2 SDK 71

    [1]平田豐 (民98)。Linux Device Driver Programming 驅動程式設計。初版。2-
    396。台北縣。博碩文化股份有限公司。
    [2]鳥哥 (民105)。鳥哥的Linux私房菜—基礎學習篇(第四版)。初版。台北市。碁峰資訊股份有限公司。
    [3] Mattbew S.Gast (民95)。802.11無線網路技術通論。第二版。台北市。政興印刷事業有限公司。
    [4] Jonathan Corbet,Alessandro Rubini,Greg Kroah-Hartman (民95)。Linux 驅動程式。第三版。美商歐萊禮。
    [5] Rami Rosen (2013). Linux Kernel Networking implementation and theory。Retrieved from https://forum.directadmin.com/attachment.php?attachmentid=1680
    [6] FRED CHOU (2015). Linux Wireless Networking: a short walk。Retrieved from
    https://www.linux.com/blog/linux-wireless-Networking-short-walk.
    [7] MQTT Version 3.1.1 OASIS Standard at:
    http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.pdf.
    Accessed 10 December 2017.
    [8] MQTT-SN Version 1.2 Standard at:
    http://mqtt.org/new/wp-content/uploads/2009/06/MQTT-SN_spec_v1.2.pdf.
    Accessed 12 December 2017.
    [9] Eclipse Foundation Inc., Paho – Embedded MQTT C/C++ Client Libraries. at
    URL https://eclipse.org/paho/clients/c/embedded/
    Accessed 10 September 2017
    [10]李欣紘 (民 107)。低速無線網路之規範研究。(未出版之碩士論文)。國立台灣科技大學,臺北市。
    [11] Jae Seung Lee , Min Ho Cheong , Hyonung Jin Kwon , Hee Jung Yu , Sok Kyu Lee“Scanning method in wireless LAN system and supporting device”, 18th March 2015
    [12] Julio Cesar Araiza Leon“ Evaluation of IEEE802.11ah Technology for Wireless Sensor Network Applications”, March 4th 2015
    [13] Minyoung Park“ Methods of efficiency improvement for control frames in 802.11ah”
    [14] Pranesh , Santosh Subedi , Goo-Rak Kwon , Jae-Young Pyun“Performance Analysis of Association Procedure In IEEE 802.11ah”
    [15] Yongho Seok“Method and apparatus for low-power scanning in WLAN system”, 1st November 2016
    [16] Mohammed Al-Soh, Imran A. Zualkernan, “An MQTT-Based Context-Aware Wearable Assessment Platform for Smart Watches”, 2017 IEEE 17th International Conference on Advanced Learning Technologies (ICALT), July 2017
    [17] Padlan Alqinsi, Ian Joseph Matheus Edward, Nanang Ismail, Wahyudin Darmalaksana, “IoT-Based UPS Monitoring System Using MQTT Protocols”, 2018 4th International Conference on Wireless and Telematics (ICWT), July 2018
    [18] Shinho Lee, Hyeonwoo Kim, Dong-kweon Hong, Hongtaek Ju, “Correlation analysis of MQTT loss and delay according to QoS level”, The International Conference on Information Networking 2013 (ICOIN), January 2013
    [19] Mohsen Hallaj Asghar, Nasibeh Mohammadzadeh, “Design and simulation of energy efficiency in node based on MQTT protocol in Internet of Things”, 2015 International Conference on Green Computing and Internet of Things (ICGCIoT), October 2015
    [20] Ma Yue, Yan Ruiyang, Sun Jianwei, Yao Kaifeng, “A MQTT Protocol Message Push Server Based on RocketMQ”, 2017 10th International Conference on Intelligent Computation Technology and Automation (ICICTA), October 2017
    [21] Kannan Govindan, Amar Prakash Azad, “End-to-end service assurance in IoT MQTT-SN”, 2015 12th Annual IEEE Consumer Communications and Networking Conference (CCNC), January 2015
    [22] Sabriansyah Rizqika Akbar, Kasyful Amron, Harry Mulya, Sofi Hanifah, “Message queue telemetry transport protocols implementation for wireless sensor networks communication — A performance review”, 2017 International Conference on Sustainable Information Engineering and Technology (SIET), November 2017
    [23] Frank T. Johnsen, “Using Publish/Subscribe for Short-Lived IoT Data”, 2018 Federated Conference on Computer Science and Information Systems (FedCSIS), September 2018
    [24] Urs Hunkeler, Hong Linh Truong, Andy Stanford-Clark, “MQTT-S — A publish/subscribe protocol for Wireless Sensor Networks”, 2008 3rd International Conference on Communication Systems Software and Middleware and Workshops (COMSWARE '08), January 2008
    [25] Lucas Novelli, Luisa Jorge, Paulo Melo, André Koscianski, “Application Protocols and Wireless Communication for IoT: A Simulation Case Study Proposal”, 2018 11th International Symposium on Communication Systems, Networks & Digital Signal Processing (CSNDSP), July 2018
    [26] Jorge E. Luzuriaga, Miguel Perez, Pablo Boronat, Juan Carlos Cano, Carlos Calafate,Pietro Manzoni, “A comparative evaluation of AMQP and MQTT protocols over unstable and mobile networks”, 2015 12th Annual IEEE Consumer Communications and Networking Conference (CCNC), January 2015
    [27] Matthias Pohl, Janick Kubela, Sascha Bosse, Klaus Turowski, “Performance Evaluation of Application Layer Protocols for the Internet-of-Things”, 2018 Sixth International Conference on Enterprise Systems (ES), October 2018
    [28] Trio Adiono, Billy Austen Manangkalangi, Rahmat Muttaqin, Suksmandhira Harimurti, Waskita Adijarto, “Intelligent and secured software application for IoT based smart home”, 2017 IEEE 6th Global Conference on Consumer Electronics (GCCE), October 2017
    [29] Muneer Bani Yassein, Mohammed Q. Shatnawi, Dua' Al-zoubi, “Application layer protocols for the Internet of Things: A survey”, 2016 International Conference on Engineering & MIS (ICEMIS), September 2016
    [30] Nitin Naik, “Choice of Effective Messaging Protocols for IoT Systems: MQTT, CoAP, AMQP and HTTP”, 2017 IEEE International Systems Engineering Symposium (ISSE), October 2017

    無法下載圖示 全文公開日期 2024/08/05 (校內網路)
    全文公開日期 2024/08/05 (校外網路)
    全文公開日期 2024/08/05 (國家圖書館:臺灣博碩士論文系統)
    QR CODE