簡易檢索 / 詳目顯示

研究生: 江旭志
Chiang, Hsu-Chih
論文名稱: 建構基於OSGi之家庭自動化與網路通訊系統
The Implementation of an OSGi based Home Automation and Networking System
指導教授: 楊中平
Young, Chung-Ping
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Department of Computer Science and Information Engineering
論文出版年: 2006
畢業學年度: 94
語文別: 英文
論文頁數: 88
中文關鍵詞: 家庭網路家庭自動化住宅服務閘道器OSGi 網頁基礎應用
外文關鍵詞: Residential Service Gateway, Home Automation, OSGi web-based applications, Home Network
相關次數: 點閱:128下載:3
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 由於網路和無所不在的運算能力,在我的日常生中的物品越來越多都包含有嵌入式電腦計算能力。然而大部分的家庭自動化或家庭網路系統並把家庭網路所採用的中介軟體的異質性列入考慮,自然的系統中就沒有針對這類的問題提出方法。使用者需要的便利性,是架構在透過這個家庭網路系統可以隨時隨地方便的存取出現在家庭網路中的任何家電產品。為此我們的中介軟體必須有針對不同網路提供抽象化、自我自動組態和和不同的中介軟體互相溝通協調的能力。我們發展設計一個家庭網路系統並且實作一個OSGi相容的服務閘道器針對於此系統。這個家庭網路系統由包含不同的網路系統和中介軟體所組成。服務閘道器為外部網路和內部網路的結合點,也是各個不同中介軟體的轉譯介面。以這樣來達到減輕家庭網路系統設計者未來重新架構整個家庭網路網路所面臨的複雜問題,並且針對不同網路之間提供互相協調的工作。

    The number of various kinds of everyday objects that contain embedded computers is increasing due to the popularity of network and ubiquitous computing. However most home automation or home network system don’t take the heterogeneous home network middleware into consideration. Users need to be able to access ubiquitously present appliances anywhere and anytime through home network. For this, we need middleware that provides an abstraction among different network, self-configuration, and interoperability among middleware. We have developed a home network system and implemented a residential service gateway compliant OSGi specification for the home network system. The home network system consists of different network technologies and middleware. A residential service gateway bridges the external network such as the Internet into the home network and different middleware to relief the designer from restructure the home network system in the future time and provides the interoperability among network.

    CHAPTER 1 Introduction 1 1.1 Overview of Home Network System 1 1.2 OSGi Framework 2 1.2.1 UPnP architecture in OSGi 4 1.2.2 A usage scenario: discovery protocol bridging 8 1.2.3 OSGi discovery benefits for home networking 10 1.3 Motivation 11 1.3.1 OSGi as residential gateway server 13 1.4 Organization of this thesis 14 CHAPTER 2 Related Works 15 2.1 Introduction 15 2.1.1 Background 16 2.1.2 Definitions in Home Automation Domain 17 2.3 Challenges in Home Automation 18 2.3 Traditional Architecture for Home Environment 20 2.3.1 Internal Structure of The Home Server 21 2.4 OSGi as A Home Gateway Solution 23 2.4.1 Service Architecture and Challenges in OSGi 24 2.4.2 Management Challenges 26 2.4.3 Simplifying Management 29 CHAPTER 3 OSGi 31 3.1 Introduction 31 3.2 The OSGi Service Framework 34 3.2.1 Bundles 34 3.2.2 Bundle life cycle 35 3.2.3 The framework 35 3.2.4 Cooperation among bundles and services 36 3.2.5 Exporting and importing packages 37 3.2.6 Registering and obtaining service 37 3.2.7 Importing packages and getting services 39 3.2.8 Handling the dynamic service dependency 40 3.2.9 The component-based model 41 3.4 OSGi Issues 43 3.4.1 Inflexible package sharing 43 3.4.2 Manual service dependency resolution 44 3.4.3 Manual resource discovery 44 3.4.4 Flat service registry 45 3.4.5 No service composition level 45 CHAPTER 4 System Conceptual Model 48 4.1 Introduction 48 4.2 Device discovery method for home appliances 48 4.2.1 Device Request 48 4.2.2 Device Unrolling 49 4.3 Services Management 51 4.3.1 Service integration 52 4.4 Bundles Management 53 4.4.1 Event handling 53 4.4.2 Synchronous and Asynchronous Events 54 4.4.3 Dealing with Service Unregistration 56 4.4.4 Cooperation With Asynchronous Events 60 4.5 Auto installation and auto starting of bundles 60 4.6 The scheduled tasks and reporting gateway 61 CHAPTER 5 Hardware and Software Architecture 63 5.1 Introduction 63 5.2 The Architecture of the Home Network System 63 5.3 Hardware Components 65 5.4 The Architecture of Residential Service Gateway 66 5.5 Software Bundles Implementation 69 5.5.1 X10 Controller Bundle 70 5.5.2 Streaming Media Bundle Over RTP/IP 71 5.5.3 Sensor Data Bundle 73 5.5.4 UPnP Bundle 74 5.5.5 The Bridge Mechanism 76 CHAPTER 6 Implementation And Evaluation 80 6.1 Implementation 80 Figure 6.3: Streaming movie media. 82 Figure 6.4: Streaming camera picture. 82 6.2 Evaluation 83 CHAPTER 7 Conclusions 85 7.1 Conclusions 85 7.2 Future Works 85 References 86

    [1] Miller, BA Nixon, T. Tai, C. Wood, MD, “Home Networking with Universal Plug and Play,” IEEE Commun. Mag., vol. 39 , pp 104-109, 12, Dec. 2001
    [2] Bill Rose, “ Home Networks: A Standards Perspective ,” IEEE Communications Magazine, pp 78-85, December 2001
    [3] B. Warneke, M. Last, B. Leibowitz, K. S. J. Pister. “Smart Dust: Communicating with a Cubic-Millimeter Computer,” IEEE Computer Magazine, vol.34, no.1, pp. 100-107, January 2001
    [4] C. Bae, J. Seok, Y. Choe, and J. Lee, “Multimedia data processing elements for digital TV and multimedia services in home server platform,” IEEE Trans. Consumer Electron., vol. 49, no. 1, pp. 64-70, Feb. 2003
    [5] Changseok Bae; Jinho Yoo; Kyuchang Kang; Yoonsik Choe; Jeunwoo Lee, “Home server for home digital service environments,” Consumer Electronics, IEEE Transactions on
    Volume 49, Issue 4, pp. 1129 – 1135, Nov. 2003
    [6] D. Marples and P. Kriens, “The Open Services Gateway Initiative: An Introductory Overview,” IEEE Commun. Mag., vol. 39 no. 12, pp. 110-114, Dec. 2001
    [7] Dong-Oh Kang, Kyuchang Kang, Sunggi Choi, and Jeunwoo Lee,”UPnP AV Architectural Multimedia System with a Home Gateway Powered by the OSGi Platform, ”
    Consumer Electronics, IEEE Transactions on Volume 51, Issue 1, pp. 87 – 93, Feb. 2005
    [8] Dong-Oh Kang; Kyuchang Kang; Sung-Gi Choi; Jeunwoo Lee; “UPnP AV architectural multimedia system with a home gateway powered by the OSGi platform,”
    Consumer Electronics, 2005. ICCE. 2005 Digest of Technical Papers. International Conference on 8-12, pp. 405 – 406, Jan. 2005
    [9] Dong-Sung Kim, Jar-Min Lee, Wook Hyun Kwon “Design and Implementation of Home Network Systems Using UpnP Middleware for Networked Appliances,” IEEE Transactions on Consumer Electronics, pp. 965 – 970, 2002
    [10] D. Marples and P. Kriens, “The Open Services Gateway Initiative: An Introductory Overview,” IEEE Commun. Mag., pp 110–14, Dec. 2001
    [11] Dobrev, P.; Famolari, D.; Kurzke, C.; Miller, B.A.; “Device and service discovery in home networks with OSGi,” Communications Magazine, IEEE Volume 40, Issue 8, 86 – 92, Aug. 2002
    [12] E. Guttman, “Service Location Protocol: Automatic Discovery of IP Network Services,” IEEE Internet Computing, vol. 3, no. 4, pp. 71-80, July/Aug. 1999
    [13] Hayoung Oh; Bahn, H.; Ki-Joon Chae; “An energy-efficient sensor routing scheme for home automation networks, “ Consumer Electronics, IEEE Transactions on
    Volume 51, Issue 3, pp. 836 – 839, Aug. 2005
    [14] Hiroki Yomogita, “UPnP Middleware Connects Home Appliances for Networking,” Nikkei Electronics Asia, vol. 8, no. 8, August 1999
    [15] K. Chen and Ligong, Programming open service gateways with Java embedded server technology, Addison Wesley, 2001
    [16] Kyeong-Deok Moon; Young-Hee Lee; Young-Sung Son; Chae-Kyu Kim; “ Universal home network middleware guaranteeing seamless interoperability among the heterogeneous home network middleware,” Consumer Electronics, IEEE Transactions on
    Volume 49, Issue 3, 546 – 553, Aug. 2003
    [17] L. Gong, “A Software Architecture for Open Service Gateways,” IEEE Internet Computing, vol. 5, no. 1, pp. 64–70, 2001
    [18] Marija Mikic-Rakic and Nenad Medvidovic. “Adaptable Architectural Middleware for Programming-in-the-Small-and-Many,” In ACM/IFIP/USENIX International Middleware Conference, pp. 55–61, June 2003.
    [19] P.M Corcoran, “Mapping home-network appliances to TCP/IP sockets using a three-tiered home gateway architecture, =” IEEE Transactions on Consumer Electronics, Vol. 44, No. 3, pp. 729 – 736, Aug, 1988
    [20] Oscar: Open Service Container Architecture. http://oscar-osgi.sourceforge.net
    [21] OSGi Open Service Gateway Initiative http:// www.orgi.org
    [22] R. S. Hall and H. Cervantes. "An OSGi Implementation and Experience Report," Proc. IEEE Conwmer Commun. and Net. Contference, pp. 62 – 73, Jan. 2004.
    [23] Song Yeam Cho “ Framework for composition and interoperation of the home applications based on Heterogeneous Middleware in Residential Network,” IEEE Transaction on Consumer Electronics, pp. 399 – 412, 2002.
    [24] uPnP Forum “Universal Plug and Play”, http://www.upnp.org
    [25] uPnP protocol stack from http://www.cybergarage.org/net/upnp/java/
    [26] T. Y. Ku, D. H. Park, and K. D. Moon, “A Java-based home network middleware architecture supporting IEEE1394 and TCP/IP,” IEEE Trans. Consumer Electron., vol. 48, no. 3, pp. 496-504, Aug. 2002.
    [27] Xie Li; Wenjun Zhang; “The design and implementation of home network system using OSGi compliant middleware,” Consumer Electronics, IEEE Transactions on Volume 50, Issue 2, 528 – 534, May 2004

    下載圖示 校內:2008-09-13公開
    校外:2008-09-13公開
    QR CODE