簡易檢索 / 詳目顯示

研究生: 李謹安
Jin-An Lee
論文名稱: 植基於OSGi具備動態服務註冊機制之智慧家庭網頁控制介面
OSGi-based Web Console for Smart Home with Dynamic Service Registration
指導教授: 蘇順豐
Shun-Feng Su
陳俊良
Jiann-Liang Chen
口試委員: 郭重顯
Chung-Hsien Kuo
莊鎮嘉
Chen-Chia Chuang
王偉彥
Wei-Yen Wang
學位類別: 碩士
Master
系所名稱: 電資學院 - 電機工程系
Department of Electrical Engineering
論文出版年: 2012
畢業學年度: 100
語文別: 英文
論文頁數: 61
中文關鍵詞: 智慧家庭OSGiUPnP情境感知ServletJSP動態服務動態規則
外文關鍵詞: UPnP, Web console, Servlet, JSP, dynamic service, dynamic rule
相關次數: 點閱:248下載:2
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報

如何把智慧家庭的觀念落實於一般家庭中一直是這個領域研究的目標之一,因此設計一個能夠跨平台並且容易建置的智慧家庭系統是相當重要的。拜現今的科技所賜,智慧型手機或是平板電腦等行動裝置愈來愈普及,人們也愈來愈關心如何能隨時隨地取得各項服務,並且相當依賴這些裝置去遠端操控其他設備,一種可靠、便於存取的雲端操控概念也就應運而生。本篇論文將提供一個能夠跨平台、容易建置、且融合了類似雲端運算的概念的智慧家庭系統,讓使用者能夠隨時隨地使用行動裝置去遠端操控家庭中的設備及各項服務,而當設備或服務的狀態改變時,同時也會將相關訊息回應到整個家庭環境中,即時地給予使用者回饋。另外藉由記錄使用者的生活習慣,並動態產生新的服務。為了實現以上的論點,本論文建構了一個植基於UPnP及OSGi上的系統,提供了可靠、具動態擴充性、且易於存取及管理的智慧家庭環境。另外藉由將OSGi framework 嵌入進web server及servlet contianer中,讓我們不但能夠使用JSP(Java Server Page)及servlet技術開發智慧家庭管理介面,並且能夠讓管理介面能夠和OSGi framework做溝通,進而管理OSGi framework上的bundle,配合資料庫,建構一個能遠端管理的智慧家庭網頁控制平台。透過這個平台,使用者可以管理並控制家庭中各項支援UPnP協定的設備以及所有註冊於OSGi上的服務,並且可以動態地產生及編輯規則。根據這些規則,我們可以打造一個以規則為基礎的情境感知環境,讓使用者不用做複雜的設定,即可取得想要的服務。


How to build a cross-platform and easy-to-use smart home environment has always been the focus of research in the field of smart home development. In recent years, mobile devices have become popular, and therefore, having access to the service and information anytime and anywhere is demanding. Thus, a reliable and easy-accessing cloud computing concept is proposed. In this research, we aim to build a cross-platform smart home environment. The proposed system combines with the cloud computing concept to make users be able to use mobile devices to control device and get service in the smart home from anywhere. When the status of device and service is changed, the information will be fed back to the smart home environment and the smart home will send message to notice the user in a real-time manner. To embody these concepts, this study will build a simulation environment based on UPnP and OSGi. The environment is easy to manage and has the reliability and extensibility. Besides, by embedding OSGi framework in a web server and servlet container, we can use JSP(Java Server Pages) and servlet to construct a system interface to provide the capability of remote control for users to manage bundles of the OSGi framework. We record events in this environment into database and allow users to generate new rules according to these events. Based on this mechanism, we construct a rule-based context awareness application to make users easily access to service they need without complex configuration.

中文摘要 I Abstract II Figure list IV Chapter 1 Overview 1 1.1 Motivation 1 1.2 Related Work 2 1.3 Research Objective 4 1.4 Organization 6 Chapter 2 Basic Concepts 7 2.1 Problem Description 7 2.2 OSGi 8 2.3 UPnP 11 2.3.1 UPnP Device and UPnP Control Point 13 2.3.2 UPnP on OSGi 14 2.4 Context Awareness 16 2.5 Server Application 17 Chapter 3 The Architecture and Design 19 3.1 The Framework Overview 19 3.2 The UPnP Standard 20 3.3 Web Server and Servlet Container 24 3.4 Dynamic Service and Dynamic Rule 25 3.5 Web Console 26 3.6 Database 29 3.7 Context Awareness 35 Chapter 4 System and Demonstration 38 4.1 Build a Smart Home Environment 38 4.2 Web Console 41 4.3 Dynamic Service and Dynamic Rule 43 4.4 Context Awareness 43 Chapter 5 Conclusions And Future Work 46 5.1 Conclusion 46 5.2 Future Work 46

[1] OSGi China User Group, http://www.osgi.org.cn.
[2] 林晏冬, "Architecture of Smart Home Systems with integration of Environment and Equipment設備與環境整合的智慧家庭系統, 碩士論文," 國立台灣科技大學, 台北, 2009.
[3] J.L. Chen, T.H. Chang, C.C. Kuo, and T.W. Chang, "Digital home networking and services with OSGi platform," 2009 International Conference on New Trends in Information and Service Science. pp.372-377, 2009.
[4] J. Park; M. Moon, S. Hwang, and K. Yeom, "Development of simulation system for validating contextual rule in smart home," The 9th International Conference on Advanced Communication Technology. vol.2, pp.1143-1146, 2007.
[5] C.M. Huang, H.H. Ku, and C.W. Lin, "Design and implementation of a web2.0-based home-appliances control service platform," 2009 10th International Symposium on Pervasive Systems, Algorithms, and Networks. pp.110-115, 2009.
[6] C. Hang, and C. C, "Research and application of distributed OSGi for cloud computing," 2010 International Conference on Computational Intelligence and Software Engineering. pp.1-5, 2010.
[7] S. Mohammed, D. Servos and J. Fiaidhi, "HCX: a distributed OSGi based web interaction system for sharing health records in the cloud," 2010 IEEE/WIC/ACM International Conference on Web Intelligence and Intelligent Agent Technology. vol.3, pp.102-107, 2010.
[8] F. Liu, W. Shen, K. Lin, and Y. Zhang, "Modulization approach & application of OSGi-based RFID middleware web presentation layer," International Conference on Anti-counterfeiting, Security, and Identification in Communication. pp.266-271, 2009.
[9] 黃炫諭, "Smart home at a finger tip: OSGi-based MyHome 植基於 OSGi 之數位家庭資訊全覽系統," 碩士論文,國立台灣科技大學,台北, 2009.
[10] C. Y. Leong, A.R. Ramli, and T. Perumal, "A rule-based framework for heterogeneous subsystems management in smart home environment," IEEE Transactions on Consumer Electronics. Vol. 55, No. 3, 2009.
[11] D. O. Kang, K. Kang, S. G. Choi, and J. Lee, "UPnP AV architectural multimedia system with a home gateway powered by the OSGi platform," IEEE Transactions on Consumer Electronics, Vol. 51, No. 1, pp. 405- 406, 2005.
[12] R. P. D. Redondo, A. F. Vilas, M. R. Cabrer, J. J. P. Arias, J. G. Duque, and A. G. Solla, "Enhancing Residential Gateways: A Semantic OSGi Platform," Intelligent Systems, IEEE. vol.23, no.1, pp.32-40, 2008.
[13] Open Services Gateway Initiative alliance, http://www.osgi.org.
[14] OSGi 實戰, https://groups.google.com/forum/?fromgroups#!forum/redsaga-notify, 2006.
[15] Eclipse Equinox OSGi, http://eclipse.org/equinox/.
[16] UPnP Forum, http://upnp.org/.
[17] D. Didier, "On-demand component deployment in the UPnP device architecture," Consumer Communications and Networking Conference, 2007. pp.920-924, 2007.
[18] Cyberlink For Java, http://www.cybergarage.org/twiki/bin/view/Main/CyberLinkForJava.
[19] Apache Felix, http://felix.apache.org/site/index.html.
[20] 金仲達, "Context-aware Computing: Basic Concepts, ", 2002.
[21] Y. Uhm, Z. Hwang, M. Lee, Y. Kim, G. Kim and S. Park, "A context-aware dynamic service-oriented system for reconstructing adaptive services by the management of rule and ontology," 2007 International Conference on Convergence Information Technology. pp.83-88, 2007.
[22] Hello, OSGi, Part 3: Take it to the server side, http://www.javaworld.com/javaworld/jw-06-2008/jw-06-osgi3.html?page=1.
[23] J. Chen, L. Huang, "Dynamic service update based on OSGi," WRI World Congress on Software Engineering. vol.3, pp.493-497, 2009.
[24] P. D. Costa, J. P. A. Almeida, L. F. Pires, and M. Sinderen, "Evaluation of a rule-based approach for context-aware services," IEEE Global Telecommunications Conference, 2008. pp.1-5, 2008.
[25] K. S. Lee, M. K. Kim, "Conflict resolution method for multi-context situation," Multi-Agent Systems for Society Lecture Notes in Computer Science, vol.4078, pp. 231-239, 2009.

QR CODE