簡易檢索 / 詳目顯示

研究生: 王凌峰
Ling-Feng Wang
論文名稱: 物聯網應用之高效率元件描述架構研究
A Novel Script Framework for Internet-of-Things Applications
指導教授: 陳俊良
Jiann-Liang Chen
口試委員: 郭斯彥
none
陳英一
none
鄭憲宗
none
劉馨勤
Hsin-Chin Liu
學位類別: 碩士
Master
系所名稱: 電資學院 - 電機工程系
Department of Electrical Engineering
論文出版年: 2013
畢業學年度: 101
語文別: 中文
論文頁數: 60
中文關鍵詞: 物聯網描述語言代理伺服器
外文關鍵詞: Internet-of-Things
相關次數: 點閱:236下載:17
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 由於近年感測技術及無線技術的長足進步,物聯網(Internet-of-Things, IoT)相關的技術與應用也隨之蓬勃的發展,其被應用在醫療、保全、物流、建築,工業自動化…等不同的領域中。應用的領域之廣泛、裝置種類之多元、裝置數量規模之廣大,都是目前物聯網面臨的挑戰,也是本研究欲解決的課題。

    在面臨裝置多元、數量龐大的挑戰下,對於物聯網系統的建構而言,其主要的問題是開發、維護及系統規模擴展。本研究的目的,在於提供一個架構,來達到高效率且具有彈性的開發與維護,同時維持一致性,去適應大量且種類眾多的裝置。這個架構,包含一個物聯網裝置的基礎類別,和一個可被描述語言描述的代理伺服器。遵循這個物聯網裝置的基礎類別,可以維持所有裝置開發的一致性及延伸性。同時,透過這個可描述化的代理伺服器,整個物聯網行為可以被描述語言所設定。

    採用描述語言的優點在於語法簡單、跨平台移植容易、便於結合其它應用程式開發,以及易於維護,這也是絕大多數作業系統皆以描述語言來執行系統初始化設定的原因。除此之外,代理伺服器也提供一個Event-Driven Script的機制,使主機可將裝置託管給代理伺服器,且完全不佔用主機資源及主機和代理伺服器間通訊的頻寬。整個系統的反應時間也更為即時。物聯網的應用可藉由此機制擴大整個規模。

    然而,描述語言的缺點在於直譯造成的效能落差。透過本研究可得知,相對於最有效率的C語言,犧牲僅約3%的存取時間及多佔用13%的處理器負載,但得到了描述語言所帶來的優點及彈性,為物聯網系統開發及維護增添效益。


    Owing to recent advances in sensing and wireless technology, the IoT (Internet-of-Things) has been exploited in various fields, including medical, security, logistics, home automation, industrial automation and others. Like the fields of applications, the related devices are diverse and the number of devices become huge, various. System scale and the number of device become huge, the construction of the IoT becomes increasingly challenging.

    To meet the challenges of the very large number of diverse devices, the construction of any IoT system must consider the efficiency of development, maintenance, and scaling. This work proposes a script framework, which comprises the IoT fundamental class, and a scriptable agent. Based on the fundamental class, the development of devices must be consistent. A scriptable agent enables IoT to be configured by scripts.

    The advantages of script language are the simplicity of the syntax, cross-platform portability, ease of integration with other applications, and the efficiency of development and maintenance. Therefore, scripts are usually used to initialize most operating systems. This proposed script framework offers an event-driven script mechanism for delegating the script to the agent with the specified device’s reporting event to manage the devices on agent. With the event-driven script mechanism, the host takes no resource and no communication traffic passes between the host and the agent. The response time is shorter than when the response is controlled by the host directly. Hence, the scale of IoT can be increased using the agent and the event-driven script mechanism.
    The disadvantage of a script language is its weak performance that is caused by the interpreter in the run-time. This study estimates that the agent access time when as script language is used is 3% greater than when the code is programmed in C language and the CPU loading is 13% higher. However, the flexibility and scalability of script language is gained for this small increase in overhead.

    摘 要I AbstractII 致謝IV 目錄V 圖索引VII 表索引IX 第 一 章 緒論1 1.1 研究動機1 1.2 研究貢獻2 1.3 章節簡介4 第 二 章 背景知識5 2.1 物聯網架構探討5 2.2 Script的特性7 第 三 章 架構描述與實作9 3.1架構9 3.2 Device10 3.3 Agent Server & Agent Client13 3.4 Host18 第 四 章 應用系統設計20 4.1環境建置20 4.2 RFID TAG門禁-使用Polling script21 4.3 RFID TAG門禁-使用Event-Driven Script.27 4.4. GPS位置追踪-使用Google map32 第 五 章 效能分析36 5.1 C Code Program和Script的效能比較36 5.2 Event-Driven Script和Polling Script的效能比較43 第 六 章 結論及未來研究方向54 6.1 結論54 6.2未來研究方向55 參考文獻56

    [1] Y. Xu, L. Ma, Z. Liu and H.J. Chao, "A Multi-dimensional Progressive Perfect Hashing for High-Speed String Matching," Proceedings of The ACM/IEEE Symposium on Architectures for Networking and Communications Systems, pp.167-177, 2011.
    [2] H. Hada and J. Mitsugi, "EPC based internet of things architecture," Proceedings of the IEEE International Conference on RFID-Technologies and Applications, pp.527-532, 2011.
    [3] S.M. Hong, D.Y. Kim, M.K. Ha, S.H. Bae, S. J. Park, W.Y. Jung and J.E. Kim, "SNAIL: an IP-based wireless sensor network approach to the internet of things," Proceedings of the IEEE Wireless Communications, pp.34-42, 2010.
    [4] M.H. Zhang, F.Q. Sun and X. Cheng, "Architecture of Internet of Things and Its Key Technology Integration Based-On RFID, "Proceedings of the Computational Intelligence and Design, vol.1, pp.294-297, 2012.
    [5] Kouche and El Ahmad, "Towards a wireless sensor network platform for the Internet of Things: Sprouts WSN platform," Proceedings of the IEEE International Conference on Communications, pp.632-636, 2012.
    [6] Z.C. Wang, R.F. Bie and M.Q. Zhou, "Hybrid Ontology Matching for Solving the Heterogeneous Problem of the IoT," Proceedings of the IEEE International Conference on Trust, Security and Privacy in Computing and Communications, pp.1799-1804, 2012.
    [7] M.A. Rajan, P. Balamuralidhar, K.P. Chethan and M. Swarnahpriyaah, "A Self-Reconfigurable Sensor Network Management System for Internet of Things Paradigm," Proceedings of the International Conference on Devices and Communications, pp.1-5, 2011.
    [8] H.H. Park, B.G. Kim,Y.W. Ko and D.M. Lee, "InterX: A service interoperability gateway for heterogeneous smart objects," Proceedings of the IEEE International Conference on Pervasive Computing and Communications Workshops, pp.233-238, 2011.
    [9] H.C. Hsieh and C.H. Lai, "Internet of Things Architecture Based on Integrated PLC and 3G Communication Networks," Proceedings of the IEEE International Conference on Parallel and Distributed Systems, pp.853-856, 2011.
    [10] S.M.A. Oteafy, F.M. Al-Turjman and H.S. Hassanein, "Pruned Adaptive Routing in the heterogeneous Internet of Things," Proceedings of the IEEE Global Communications Conference, pp.214-219, 2012.
    [11] D. Conzon, T. Bolognesi, P. Brizzi, A. Lotito, R. Tomasi and M.A. Spirito, "The VIRTUS Middleware: An XMPP Based Architecture for Secure IoT Communications," Proceedings of the IEEE International Conference on Computer Communications and Networks, pp.1-6, 2012.
    [12] M. Bazzani, D. Conzon, A.Scalera, M.A. Spirito and C.I. Trainito, "Enabling the IoT Paradigm in E-health Solutions through the VIRTUS Middleware," Proceedings of the IEEE International Conference on Trust, Security and Privacy in Computing and Communications, pp.1954-1959, 2012.
    [13] G. Nain, F. Fouquet, B. Morin, O. Barais and J. Jezequel, "Integrating IoT and IoS with a Component-Based Approach," Proceedings of the EUROMICRO Conference on Software Engineering and Advanced Applications, pp.191-198, 2010.
    [14] G.C. Fox, S. Kamburugamuve and R.D. Hartman, "Architecture and measured characteristics of a cloud based internet of things," Proceedings of the International Conference on Collaboration Technologies and Systems, pp.6-12, 2012.
    [15] G Fortino, A. Guerrieri and W. Russo, "Agent-oriented smart objects development," Proceedings of the IEEE International Conference on Computer Supported Cooperative Work in Design, pp.907-912, 2012.
    [16] F. Chen, C. Ren, Q.H. Wang and B. Shao, "A process definition language for Internet of things," Proceedings of the IEEE International Conference on Service Operations and Logistics, and Informatics, pp.107-110, 2012.
    [17] J. Leu, C. Chen and K. Hsu, "Improving Heterogeneous SOA-based IoT Message Stability by Shortest Processing Time Scheduling," Proceedings of the IEEE Transactions on Services Computing, vol.PP, pp.1, 2013.
    [18] S. Alam, M.M.R. Chowdhury and J. Noll, "SenaaS: An event-driven sensor virtualization approach for Internet of Things cloud," Proceedings of the IEEE International Conference on Networked Embedded Systems for Enterprise Applications, pp.1-6, 2010.
    [19] S. Babar, A. Stango, N. Prasad, J. Sen and R. Prasad, "Proposed embedded security framework for Internet of Things (IoT)," Proceedings of the International Conference on Wireless Communication Vehicular Technology Information Theory and Aerospace & Electronic Systems Technology, pp.1-5, 2011.
    [20] K. Fischer and J. Gesner, "Security architecture elements for IoT enabled automation networks," Proceedings of the IEEE Conference on Emerging Technologies & Factory Automation, pp.1-8, 2012.
    [21] M. Kovatsch, M. Lanter and S. Duquennoy, "Actinium: A RESTful runtime container for scriptable Internet of Things applications," Proceedings of the International Conference on the Internet of Things, pp.135-142, 2012.
    [22] D. Guinard, M. Mueller and J. Pasquier-Rocha, "Giving RFID a REST: Building a Web-Enabled EPCIS," Internet of Things, pp.1-8, 2010.
    [23] S. Bendel, T. Springer, D. Schuste, A. Schill, R. Ackermann and M. Ameling, "A service infrastructure for the Internet of Things based on XMPP, " Proceedings of the IEEE International Conference on Pervasive Computing and Communications Workshops, pp.385-388, 2013.
    [24] I. Ayala, M. Amor and L. Fuentes, "Self-StarMAS: A Multi-Agent System for the Self-Management of AAL Applications," Proceedings of the International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing, pp.901-906, 2012.

    QR CODE