簡易檢索 / 詳目顯示

研究生: 包于駿
YU-CHUN PAO
論文名稱: 智慧家庭中家庭服務閘道的設計與實現
Design of a Resident Server MyServer in a Smart Home
指導教授: 鍾聖倫
Sheng-Luen Chung
鄧惟中
Wei-Chung Teng
口試委員: 蘇順豐
Shun-Feng, Su
陳俊良
Jiann-Liang Chen
陳英一
Ing-Yi Chen
學位類別: 碩士
Master
系所名稱: 電資學院 - 電機工程系
Department of Electrical Engineering
論文出版年: 2008
畢業學年度: 96
語文別: 英文
論文頁數: 77
中文關鍵詞: 智慧家庭事件發佈與訂閱無線感測網路
外文關鍵詞: smart home, event publish/subscribe, wireless sensor network
相關次數: 點閱:252下載:11
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 本篇論文提出了一個稱為MyHome的資訊垂手可得智慧型家庭系統,在設計的概念上,此系統主要由兩個部份所組成:包括放在家中的閘道器MyHome以及遠端存取的使用者圖形介面MyIcon。而本篇論文主要探討如何設計與實現稱為MyServer的家用閘道器,並且提供包含居家保全、庫存追蹤、設備管理、家人關懷四個部份的服務。整個MyServer的架構是由六個核心的模組所組成,並且運行在稱為cMsg的訊息導訊中介軟體之上,透過無線感測網路所連接的各種家庭裝置來驅動整個互動與多工的系統。每個模組都是利用一個事件發佈與訂閱方法的程式模型來達成。此外,為了整體系統的擴充性與發展性,我們提出了驗證器(verifier)、模擬器(emulator)以及訊息追蹤監測器(trace monitor)等的概念來當作擴展系統的開發工具。最後,我們將MyServer透過ZigBee無線感測網路以及整合各種資訊的資料庫成功的實現在模擬的家庭當中。


    This paper introduces a framework of smart home, MyHome, where important household information is all at a finger tip. In its design, the MyHome system is composed of a residential gateway MyServer, and an internet accessible graphic user interface MyIcon: This paper addresses the design and implementation of the residential gateway: MyServer, which is to provide services regarding home security, inventory tracking, facility management, and family care. Inherently an interactive and multitasking system driven by peripherals connected through wireless sensor networks, the overall MyServer architecture is designed with six clearly defined core service modules operating on a message oriented middleware (MOM)) framework. Each of these modules is implemented a programming template utilizing event publish/subscribe messaging mechanism. To facilitate program development, concepts of verifier and emulator and a development toolkit of trace monitor are also proposed. This paper reports on a successful implementation of the proposed MyServer in an emulated home environment, where peripherals are connected through Zigbee wireless sensor network, data integrated into a database. Results show the technical feasibility on some key issues: residential gateway designed and implemented in the event publish/subscribe paradigm, transaction service of database ready for internet accessibility through the accompanying MyIcon, and demonstrative operational scenarios leading to context awareness applications. With these clearly defined service functions, and pertinent infrastructure to integrate household peripherals, this paper presents a practical approach to the implementation of a smart home.

    Abstract I 摘要 III 誌謝 IV Table of Contents V List of Figures VIII List of Tables X Chapter 1. Introduction 1 1.1. The Smart Home Concept 1 1.2. Motivation 2 1.3. Research Goal 3 1.4. Technical Review 4 1.4.1. USA 4 1.4.2. Europe 4 1.4.3. Korea 5 1.4.4. Japan 6 1.5. Proposed Methodology 7 1.6. Contributions 8 1.7. Organization of the Thesis 9 Chapter 2. Residential Server 10 2.1. Architecture Overview of MyHome 10 2.1.1. MyServer 10 2.1.2. MyIcon 12 2.2. Application Information of MyHome 13 2.2.1. Security 13 2.2.2. Family 13 2.2.3. Inventory 14 2.2.4. Facility 14 2.3. Research Objectives 15 Chapter 3. System Design of MyHome Server 16 3.1. Overview of MyHome Server 16 3.1.1. System Block Diagram 16 3.1.2. System Architecture 17 3.2. Peripheral Communication System 18 3.3. Device Configuration System 20 3.4. Transaction Server 22 3.5. Event Management System 25 3.6. Alarm System 26 3.7. User Interface Management System 30 3.8. Design Toolkits for MyHome Server 31 Chapter 4. Implementation of MyServer on cMsg 35 4.1. The Messaging System: cMsg 35 4.2. Messages in MyServer 37 4.3. Implementation Issues 39 4.3.1. Event-Driven Programming Template 39 4.3.2. Communication among Concurrent Processes 40 4.3.3. Data Transaction between Systems 42 Chapter 5. Demonstration Scenario 44 5.1. Support of remote access by MyIcon 44 5.2. Peripheral connectivity through wireless sensor network ZigBee 44 5.2.1. Configuration of Security Device 45 5.2.2. Security alarm triggering 47 5.2.3. Metering 50 5.2.4. RFID Localization 52 5.3. cMsg Message Flow in MyServer 54 5.4. A Busy-Day Scenario by Script 58 Chapter 6. Conclusion 61 6.1. Comparison between MyHome and OSGi 61 6.2. Contributions 63 6.3. Future Work 63 Glossary 65 Appendix A. ZigBee standard 66 Appendix B. Database Design 68 Appendix C. MySQL features 70 References 72

    [1] D. Valtchev and I. Frankov, “Service Gateway Architecture for a Smart Home,” IEEE Magazine on Communications, Vol. 40, No. 4, pp.126-132, Apr. 2002.
    [2] L. Jiang, D.-Y. Liu, and B. Yang, “Smart Home Research,” Proceedings of 2004 International Conference on Machine Learning and Cybernetics, Vol. 2, pp.659-663, 26-29 Aug. 2004.
    [3] H. Ishikawa, Y. Ogata, K. Adachi, and T. Nakajima, “Building Smart Appliance Integration Middleware on the OSGi Framework,” in Pro. the Seventh IEEE International Symposium on Object-Oriented Real-Time Distributed Computing (ISORC’04), pp.139-146, 2004.
    [4] S. Shafer, J. Krumm, B. Brumitt, B. Meyers, M. Czerwinski, and D. Robbins, “The New EasyLiving Project at Microsoft Research,” In DARPA/NIST Workshop on Smart Spaces, July 1998.
    [5] Y. Yu, B. Krishnamachari, and V.K. Prasanna, “Issues in Designing Middleware for Wireless Sensor Networks,” IEEE on Network, Vol. 18, No. 1, pp.15-21, Jan.-Feb. 2004.
    [6] W.B. Heinzelman, A.L. Murphy, H.S. Carvalho, and M.A. Perillo, “Middleware to Support Sensor Network Applications,” IEEE on Network, Vol. 18, No. 1, pp.6-14, Jan.-Feb. 2004.
    [7] A. E. Nikolaidis, G. A. Doumenis, G. I. Stassinopoulos, M.-P. Drakos, and M. P. Anastasopoulos, “Management Traffic in Emerging Remote Configuration Mechanisms for Residential Gateways and Home Devices,” IEEE Magazine on Communications, Vol. 43, No. 5, pp.154-162, May 2005.
    [8] A. E. Nikolaidis, S. S. Papastefanos, G. I. Stassinopoulos, M.-P. K. Drakos, and G. A. Doumenis, “Automating Remote Configuration Mechanisms for Home Devices,” IEEE Transactions on Consumer Electronics, Vol. 52, No. 2, May 2006.
    [9] A. E. Nikolaidis, S. Papastefanos, G. A. Doumenis, G. I. Stassinopoulos, and M.-P. Drakos, “Local and Remote Management Integration for Flexible Service Provisioning to the Home," IEEE Magazine on Communications, Vol. 45, No. 10, pp.130-138, Oct. 2007.
    [10] M. Kolberg, E.H. Magill, and M. Wilson, “Compatibility Issues between Services Supporting Networked Appliances,” IEEE Magazine on Communications, Vol. 41, No. 11, pp.136-147, Nov. 2003.
    [11] M. Kolberg and E.H. Magill, “Using pen and paper to control networked appliances,” IEEE Magazine on Communications, Vol. 44, No. 11, pp.148-154, Nov. 2006.
    [12] M. Merabti, O. Abuelma'atti, and P. Fergus, “Networked Appliances and Home Networking,” Proceedings of The First International Workshop on the Ubiquitous Home, Kyoto University, Japan, 2005.
    [13] W.-D. Cho, S.-S. Kim, and H.-J. Yeh, “Introduction to the "uAuto" project - ubiquitous autonomic computing and network,” Proceedings of the Second IEEE Workshop on Software Technologies for Future Embedded and Ubiquitous Systems, pp. 24-26, May 2004.
    [14] N. Kushwaha, M. Kim, D. Y. Kim, and W.-D. Cho, “An intelligent agent for ubiquitous computing environments: smart home UT-AGENT,” Proceedings of the Second IEEE Workshop on Software Technologies for Future Embedded and Ubiquitous Systems, pp.157-159, May 2004.
    [15] S. W. Han, Y. B. Yoon, H. Y. Youn, and W.-D. Cho, “A new middleware architecture for ubiquitous computing environment,” Proceedings of the Second IEEE Workshop on Software Technologies for Future Embedded and Ubiquitous Systems, pp.117-121, May 2004.
    [16] D. Kim, S. Lee, and W.-D. Cho, “Energy efficient clustering routing algorithm for wireless sensor networks,” Lecture Notes in Computer Science 4096 LNCS, pp.1078-1088, 2006.
    [17] J. Choi, D. Shin, and D. Shin, “Research and Implementation of the Context-Aware Middleware for Controlling Home Appliances,” IEEE Transactions on Consumer Electronics, Vol. 51, No. 1, pp.301-306, Feb. 2005.
    [18] SangOk and H. Park, “Implementation of Initial Provisioning Function for Home Gateway Based on Open Service Gateway Initiative Platform,”The 8th International Conference Advanced Communication Technology, ICACT 2006, Vol. 3, pp.1517-1520, Feb. 2006.
    [19] I.-W. Lee, H.-J. Park, K.-R. Park, and S.-H. Kim, “A Proposed Platform & Performance Estimation of Digital-Home Service Delivery/Management Systems,” Proceedings of the Third International Conference on Information Technology: New Generations, pp.713-719, Apr. 2006.
    [20] T. Hwang, H. Park, and J. W. Chung, “Design and implementation of the home service delivery and management system based on OSGi service platform,” International Conference on Consumer Electronics ICCE '06, pp.189-190, Jan. 2006.
    [21] W.-K. Park, I. Han, and K.-R. Park, “ZigBee based Dynamic Control Scheme for Multiple Legacy IR Controllable Digital Consumer Devices,” IEEE Transactions on Consumer Electronics, Vol. 53, No. 1, pp.172-177, Feb. 2007.
    [22] K.-S. Kim, C. Park, K.-S. Seo, I.-Y. Chung, and J. Lee, “ZigBee and the UPnP Expansion for Home Network Electrical Appliance Control on the Internet,” Proceedings of the 9th International Conference on Advanced Communication Technology, Vol. 3, pp. 1857-1860, Feb. 2007.
    [23] H. Ishikawa, E. Tokunaga, and T. Nakajima, “A case study of implementing home appliance middleware on Linux and Java,” Proceedings of the 2002 Symposium on Applications and the Internet (SAINT) Workshops, pp. 31-34, Feb. 2002.
    [24] T. Yamazaki, D. Kwon, A. Sawada, and M. Minoh, “Emulator Implementation of Service Scenario Description Framework for Home Networked Appliances,” Proceedings of the Joint International Conference on Autonomic and Autonomous Systems and International Conference on Networking and Services (ICAS/ICNS 2005), pp. 5-10, 2005.
    [25] T. Yamazaki, “Ubiquitous Home: Real-life Testbed for Home Context-Aware Service,” Proceedings of the First International Conference on Testbeds and Research Infrastructures for the Development of Network and Communities, pp. 54-59, 2005.
    [26] T. Yamazaki, “Human action detection and context-aware service implementation in a real-life living space test bed,”Proceedings of the Second International Conference on Testbeds and Research Infrastructures for the Development of Networks and Communities, Mar. 2006.
    [27] T. Yamazaki, “Beyond the Smart Home,”Proceedings of 2006 International Conference on Hybrid Information Technology, pp. 350-355, 2006.
    [28] H. Igaki, M. Nakamura, and K. Matsumoto, “A service-oriented framework for networked appliances to achieve appliance interoperability and evolution in home network system,” Proceedings of the Eighth International Workshop on Principles of Software Evolution, pp.61-64, Sept. 2005.
    [29] Y. Nishimoto, A. Baba, T. Kurioka, and S. Namba, “A digital rights management system for digital broadcasting based on home servers,”IEEE Transactions on Broadcasting, Vol. 52, No. 3, pp.167-172, Jun. 2006.
    [30] 802.15.4-2003 IEEE Standard for Information Technology- Part 15.4: Wireless Medium Access Control (MAC) and Physical Layer (PHY) specification for Low Rate Wireless Personal Area Networks (LR-WPANS), 2003.
    [31] R. Ramakrishnan and J. Gehrke, Database Management Systems, 3rd ed. New York: McGraw-Hill, pp.25-99, 2003.
    [32] M. Kofler, The Definitive Guide to MySQL 5, 3rd ed. New York: Apress, pp. 5-7, 2005.
    [33] 鍾聖倫,黃建中,<可勾構之即時警報處理系統-CREAMS>,國立臺灣科技大學電機工程系研究所碩士學位論文(1998)。
    [34] G. Peersman, P. Griffiths, H. Spear, S. Cvetkovic, and C. Smythe, “A Tutorial Overview of the Short Message Service within GSM,” IEEE Computing and Control Engineering Journal, Vol. 11, No. 2, pp.79-89, Apr. 2000.
    [35] E. Wolin, D. Abbott, V. Gurjyan, E. Jastrzembski, D. Lawrence, and C. Timmer, “cMsg - A publish/subscribe package for real-time and online control systems,” 14th IEEE-NPSS Real Time Conference, No. 1547431, pp. 74-78, 2005.
    [36] L. Fiege, M. Cilia, G. Muhl, and A. Buchmann, “Publish-Subscribe Grows Up: support for management, visibility control, and heterogeneity,”IEEE Internet Computing, Vol. 10, No. 1, pp.48-55, Jun.-Feb. 2006.
    [37] S. Ferg, “Event-Driven Programming: Introduction, Tutorial, History,” [Online]. Available: http://eventdrivenpgm.sourceforge.net/
    [38] W. Richard Stevens, UNIX Network Programming, Vol. 2: Interprocess Communications, 2nd ed. New Jersey: Prentice-Hall, pp. 75-88, 1999.
    [39] L.M. Ni, Y. Liu, Y.C. Lau, and A.P. Patil, “LANDMARC: indoor location sensing using active RFID,”Proceedings of First IEEE International Conference on Pervasive Computing and Communications, pp. 407-415, 2003.
    [40] 鍾聖倫,蔡銘峰,<以閘道器為基礎之智慧家庭網路資料流程與協定框架>,國立臺灣科技大學電機工程系研究所碩士學位論文(2008)。

    QR CODE