簡易檢索 / 詳目顯示

研究生: 黃炫諭
Hsuan-Yu Huang
論文名稱: 植基於OSGi之數位家庭全覽系統
Smart Home at a Finger Tip: OSGi-based MyHome
指導教授: 鄧惟中
Wei-Chung Teng
口試委員: 鍾聖倫
Sheng-Luen Chung
鄭伯順
Po-Shun Cheng
鄭憲宗
Sheng-Tzong Cheng
學位類別: 碩士
Master
系所名稱: 電資學院 - 資訊工程系
Department of Computer Science and Information Engineering
論文出版年: 2009
畢業學年度: 97
語文別: 英文
論文頁數: 74
中文關鍵詞: MyHome智慧家庭訊息導向中介軟體OSGi
外文關鍵詞: MyHome, smart home, MOM, OSGi
相關次數: 點閱:184下載:3
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報

本篇論文提出架構於OSGi規範的數位家庭系統,OSGi-based MyHome,透過整合多樣化的家用設備呈現家中各項重要資訊。藉由採用訊息導向中介軟體(MOM)並將系統架構於OSGi框架之上,OSGi-based MyHome具備了可靠的自動化服務以及容錯能力,並且具備高度的延展性及彈性因應數位家庭的延伸需求。OSGi-based MyHome可粗略分為兩個部分,分別是後端負責訊息接收、處理及傳遞的MyServer,及遠端負責資訊呈現及家電與系統控管的整合性使用者介面,MyIcon及MyMobile。MyServer由八個組主要的模組構成,分別負責與實體層的各種裝置連結以及與遠端使用者介面之間的溝通,並以訊息導向中介軟體互相傳遞訊息且透過OSGi的服務導向彼此互通各模組所提供之功能,提供兩種溝通管道使系統中各模組藉此達到事件驅動的系統設計。另外為了方便系統功能的測試及後續新模組的開發,此篇論文提出使用雙管道溝通的模組樣板,並且實作模擬器(Simulator)以及劇本編輯器(Scenario Editor)等系統開發工具。本篇論文呈現了完整的數位家庭系統實作,透過自身系統設計,OSGi-based MyHome能夠整合來自各種不同家用網路之設備,並且將重要資訊記錄於資料庫中,再透過遠端的使用者介面呈現即時的家中資訊、家電控管、系統管理以及歷史資料查詢等服務。


This paper introduces MyHome, a framework of smart home by which household information is all at a finger tip. Through introducing Message Oriented Middleware (MOM) and Open Service Gateway Initiative (OSGi), MyHome offers reliable automatic operations, fault tolerant and reconfigurable Home Automation, high extensibility and large scalability. In its design, the MyHome system is composed of a residential gateway MyServer, and Internet accessible GUI: MyIcon and MyMobile. MyServer is used to provide services regarding home security, inventory tracking, facility management, GPS location recoding 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 core service modules operating on a MOM. Each of these modules is designed as an OSGi bundles and is implemented by a programming template utilizing event publish/subscribe messaging mechanism. To facilitate program demonstration, simulator and scenario editor are also developed. A successful implementation of the proposed MyServer is also demonstrated in an emulated home environment, where peripherals are connected through ZigBee wireless sensor network, with data integrated into a database. With these clearly defined service modules and pertinent infrastructure to integrate household peripherals, this paper presents a practical approach to the implementation of a smart home.

Abstract I 摘要 II 誌謝 III Table of Contents IV List of Figures VIII List of Tables X Chapter 1. Introduction 1 1.1. Concept of Smart Home 3 1.2. Motivation 4 1.2.1. Drawbacks of previous version 5 1.2.2. Communication between devices 5 1.3. Research Goal 6 1.3.1. High extensibility 6 1.3.2. High management ability 6 1.3.3. Event-driven system design 6 1.3.4. Protocol and platform independence 7 1.3.5. Provide easy-to-use testing tools 7 1.3.6. Integrate more various category of device 7 1.4. Contribution of this Thesis 8 1.4.1. OSGi Compliant Platform 8 1.4.2. OSGi-Based Messaging System 9 1.4.2.1. Two Way Communication 9 1.4.2.2. System Function Hot-Plugging 10 1.4.2.3. Bundle Management Tool 11 1.4.3. System Function Implementation 11 1.4.3.1. Device Integration and Service Implementation 11 1.4.3.2. Testing Tool Implementation 12 1.4.4. Designed Module Template for Two Way Communication 13 1.5. Thesis Organization 13 Chapter 2. OSGi-based MyHome 15 2.1. Integrated Platform 16 2.1.1. Service Categories 18 2.1.1.1. Health-Care Service 18 2.1.1.2. Security Monitoring 19 2.1.2. Butler Service 19 2.1.3. Family-Care Service 20 2.2. Desiderate for Revision 21 2.3. Separation of MyServer and MyIcon 22 2.3.1. Background 23 2.3.1.1. OSGi and service bundles 23 2.3.1.2. Message Oriented Middleware: ActiveMQ 26 Chapter 3. Design of OSGi-based MyHome 30 3.1. MyServer 30 3.1.1. OSGi-Based Messaging System 32 3.1.2. Design of the Modules of MyServer 34 3.1.2.1. Peripheral Module 35 3.1.2.2. GUI Module 36 3.1.2.3. Transaction Module 38 3.1.2.4. Position Module 40 3.1.2.5. Alarm Module 41 3.1.2.6. UPnP Control Module 42 3.1.2.7. GPS Module 43 3.1.2.8. WebConsole Module 44 3.2. Server GUI of OSGi-based MyHome 45 3.2.1. MyIcon and MyMobile 45 3.2.2. Local GUI 47 Chapter 4. Featured Applications of MyHome 49 4.1. Environment 49 4.2. Services on MyIcon and MyMobile 50 4.2.1. Real-time Display 50 4.2.2. Context-aware Application 52 4.2.3. Home Device Control 54 4.2.4. GPS Location Display 55 4.3. Services on Local GUI 56 4.3.1.1. Health- care Service on Local GUI 56 4.3.1.2. Simulator and Scenario Editor 57 4.4. Extensibility 59 4.5. Management Ability 60 4.6. Scenario 63 Chapter 5. Conclusion and Future Work 66 5.1. Extensions 66 5.2. Comparison 67 5.3. Future Work 69 Glossary 70 References 72

[1] B. Schilit, N. Adams, and R. Want, “Context-aware Computing Applications,” in Proc. of IEEE Workshop on Mobile Computing Systems and Applications, pp. 85-90, 1994.
[2] Open Services Gateway Initiative alliance, http://www.osgi.org
[3] S.-L. Chung and W.-Y. Chen, “MyHome: A Residential Server for Smart Homes,” KES 2007/WIRN 2007, Part II, LANI 4963, pp. 664-670, 2007.
[4] W.-C. Teng, Y.-C. Pao and S.-L. Chung, “Design of MyServer: A Residential Server in Smart Home Systems,” in Proc. of IEEE Asia- Pacific Services Computing Conf. (APSCC), pp. 580-586, 2008.
[5] G. Banavar, T. Chandra, R. Strom, and D. Sturman, “A Case for Message Oriented Middleware,” 13th Intl. Symp. on Distributed Computing (DISC), 1999.
[6] 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.
[7] Apache ActiveMQ, http://activemq.apache.org/
[8] 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.
[9] W.-K. Park, I. Han, and K.-R. Park, “ZigBee based Dynamic Control Scheme for Multiple Legacy IR Controllable Digital Consumer Devices,” IEEE Trans. on Consumer Electronics, vol. 53, no. 1, pp. 172-177, Feb. 2007.
[10] UPnP Forum, http://www.UPnP.org/
[11] X10 web site, http://www.x10.com
[12] J. G. Turnbull, “Introducing home area networks,” BT Technology Journal, vol. 20, no. 2, pp. 33-38, Apr. 2002
[13] H. Ishikawa, Y. Ogata, K. Adachi, and T. Nakajima, “Building Smart Appliance Integration Middleware on the OSGi Framework,” 7th IEEE International Symposium on Object-Oriented Real-Time Distributed Computing (ISORC’04), pp. 139-146, 2004.
[14] Apache Felix Web Console, http://felix.apache.org/site/apache-felix-web-console.html
[15] H. Gomaa, “Designing Software Product Lines with UML,” Software Engineering Workshop - Tutorial Notes, 2005. 29th Annual IEEE/NASA, vol. 3, issue 8, pp. 160-216, Apr. 2005
[16] D. Hähnel, W. Burgard, D. Fox, K. Fishkin and M. Philipose, “Mapping and Localization with RFID Technology,” in Proc. of IEEE Intl. Conf. on Robotics and Automation (ICRA), vol. 1, pp. 1015-1020, 2004.
[17] Y. Yu, B. Krishnamachari, and V. K. Prasanna, “Issues in Designing Middleware for Wireless Sensor Networks,” IEEE Network Magazine, vol. 18, issue 1, pp.15-21, 2004.
[18] 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 (LRWPANS), 2003.
[19] D. Marples and P. Kriens, “The Open Services Gateway Initiative: An Introductory Overview,” IEEE Comm. Magazine, vol. 39, no. 12, pp. 110-114, 2001.
[20] D. Valtchev and I. Frankov, “Service Gateway Architecture for a Smart Home,” IEEE Communications Magazine, vol. 40, issue 4, pp. 126-132, Apr. 2002.
[21] M. Kofler, The Definitive Guide to MySQL 5, 3rd ed. New York: Apress, 2005.
[22] A. Monnet, A. Mittal, N. Paragios and V. Ramesh, ”Background Modeling and Subtraction of Dynamic Scenes,” in Proc. of IEEE Intl. Conf. on Computer Vision, vol. 2, pp. 1305-1312, Oct 13–16, 2003.
[23] H. Smaet, “Connected Component Labeling Using Quadtrees,” J. of the ACM, vol. 28, issue 3, pp. 487-501, 1981.
[24] M. J. Swain and D. H. Ballard, “Color Indexing,” Intl. J. of Computer Vision, vol. 7, no. 1, Springer Netherlands, pp. 11-32, 1991.
[25] Google Maps API, http://code.google.com/intl/zh-TW/apis/maps/

QR CODE