系統識別號 | U0002-2607201218541400 |
---|---|
DOI | 10.6846/TKU.2012.01147 |
論文名稱(中文) | 基於R-OSGi分散式系統實現服務導向架構之設計 |
論文名稱(英文) | The Design of Service Oriented Architecture Concept Based on R-OSGi Distribution System |
第三語言論文名稱 | |
校院名稱 | 淡江大學 |
系所名稱(中文) | 電機工程學系碩士班 |
系所名稱(英文) | Department of Electrical and Computer Engineering |
外國學位學校名稱 | |
外國學位學院名稱 | |
外國學位研究所名稱 | |
學年度 | 100 |
學期 | 2 |
出版年 | 101 |
研究生(中文) | 鄭皓中 |
研究生(英文) | Hao-Chung Cheng |
學號 | 600450042 |
學位類別 | 碩士 |
語言別 | 繁體中文 |
第二語言別 | |
口試日期 | 2012-06-14 |
論文頁數 | 57頁 |
口試委員 |
指導教授
-
李維聰(wtlee@mail.tku.edu.tw)
委員 - 李維聰(wtlee@mail.tku.edu.tw) 委員 - 朱國志(kcchu@mail.lhu.edu.tw) 委員 - 劉豐豪(lfh123@gmail.com) 委員 - 衛信文(141131@mail.tku.edu.tw) 委員 - 吳庭育(tyw@mail.tku.edu.tw) |
關鍵字(中) |
分散式處理 R-OSGi 服務導向架構 |
關鍵字(英) |
Distributed Processing R-OSGi Service Oriented Architecture |
第三語言關鍵字 | |
學科別分類 | |
中文摘要 |
服務導向架構(Service Oriented Architecture,SOA)是一種的系統架構模型,主要的概念是針對企業需求組合而成的一組軟體元件,其可重組、敏捷的特性在導入新的專案將可縮短其研發時間。其特性是在傳統的主從式架構中加入一個新的元件稱為Service Registry,他負責蒐集目前平台上的所有服務,當使用者需要服務的時候,可以至Service Registry取得想要的服務。 OSGi(Open Service Gateway Initiative)平台的成立即是希望創造出一個平台去建立完善的SOA架構。在OSGi平台上同時也擁有一個元件稱為Service Registry,在OSGi平台上可以將多種常用的函式庫、模組去向Service Registry去做發佈服務;而使用者在開發程式時可以去Service Registry取得服務,縮短開發時間。而在傳統的OSGi只限於使用在自己的平台,R-OSGi的誕生是在傳統的OSGi平台上安裝一個新的函式庫,可以利用這些函式將服務宣告成遠端型態,。 現今沒有一個統一管理的R-OSGi管理平台,本論文將基於R-OSGi其Remote的特性,去創造出一個新的SOA系統架構,建造一個統一管理的平台,讓使用者能夠去此平台取得網路上提供的函示庫。讓使用者在撰寫程式上能夠縮短開發時間,並利用本論文所提出的分散式系統功能,達到單一電腦運行大量資料的功能。 |
英文摘要 |
Service oriented architecture is a model of system architecture, the main concept is a combination of a set of software components for business needs, and the characteristics of its restructuring can shorten development time while importing a new project. Unlike the Client-server model, it adds a new component between the client and server called “Service Registry”. The Service Registry collects all the services in the platform, when the client needs the service, it can go to the Service Registry to request the service, reuse the service in the platform. The establishment of the OSGi(Open Service Gateway initiative) platform is to create a platform to build a comprehensive SOA model. OSGi platform has a component called “Service Registry”. We can publish variety of commonly used library, modules to the Service Registry, and then the program developer can go to the Service Registry to call and reuse the modules while programming to reduce the development time. In the traditional OSGi, it limited to use the Service Registry in their own platform, we can’t use the service in other devices’ Service Registry. The born of the R-OSGi is to resolve this problem, it adds a new library so that it can declare the service as the remote type, and then the other device can use the service in this machine. There is no unified management platform of the R-OSGi today; this paper will build a new Service-Oriented Architecture based on the remote characteristics of R-OSGi, a unified management platform. The user can go to this platform to get the library in the Internet and import to the project while programming to reduce the development time. The proposed distribution system can help the low-end computing machine to handle large amounts of data. |
第三語言摘要 | |
論文目次 |
第一章 緒論 1 1.1 研究背景與動機 1 1.2 研究目的 3 1.3 論文架構 4 第二章 背景知識與相關研究 6 2.1 服務導向架構(Service Oriented Architecture) 6 2.1.1 Proxy Based (Jini) 8 2.1.2 Web服務(Web Service) 12 2.1.3 點對點技術(Point to Point, P2P) 16 2.2 開放式服務閘道平台(OSGi) 20 2.3 R-OSGi 22 2.4 Service運作流程 23 第三章 系統架構 32 3.1 Service Provider Server (SPS) 35 3.2 High Speed Computing Server (HSCS) 37 3.3 Bundle Server (BS) 39 3.4 Client 40 第四章 實驗與效能評估 43 4.1 建立Proxy時間測試 44 4.2 Client to One HSCS(遞迴程式) 47 4.3 Client to Multi HSCS 50 第五章 結論與未來研究 54 參考文獻 56 圖目錄 圖2.1 服務導向架構的基本模型 7 圖2.2 Jini的服務導向架構模型 9 圖2.3 Service加入Lookup Service Proxy流程 10 圖2.4 Client尋找Service的Proxy運作流程 11 圖2.6 Web Services架構 15 圖2.7 傳統主從式架構 16 圖2.8 P2P網路分享技術 18 圖2.9 Peer to Peer SOA架構圖 19 圖2.10 OSGi分享程式示意圖 21 圖2.11 R-OSGi範例 22 圖2.12 Service Interface Class 24 圖2.13 Service Implements Class 24 圖2.14 OSGi Service註冊流程(1) 25 圖2.15 OSGi Service註冊流程(2) 26 圖2.16 OSGi Service註冊流程(3) 26 圖2.17 OSGi Service註冊流程(4) 27 圖2.18 OSGi Service註冊流程(5) 27 圖2.19 R-OSGi架構中四個主要Bundle 28 圖2.20 R-OSGi 運作流程(1) 29 圖2.21 R-OSGi運作流程(2) 29 圖2.22 R-OSGi運作流程(3) 29 圖2.23 R-OSGi運作流程(4) 30 圖3.1 系統架構圖 32 圖3.2系統架構運作流程 34 圖3.3 Service Provider Server內部架構 36 圖3.4 High Speed Computing Server內部架構 38 圖3.5 Bundle Server內部架構 39 圖3.6 Client內部架構 41 圖4.1 Mini 6410 43 圖4.2 Traditional OSGi VS Remote OSGi Service 45 圖4.3 三色河內塔的規則 48 圖4.4 Client to One HSCS (Tower of Hanoi) 49 圖4.5 Client to Multi HSCS 51 圖4.6 Client to Multi HSCS (HSCS Only) 52 圖4.7 本系統架構與雲端結合概念圖 55 表目錄 表4.1 Mini6410規格. 44 表4.2 HSCS設備規格 44 表4.3 Client和HSCS連線時間(初始化) 46 表4.4 Client和HSCS連線時間(初始化後) 46 表4.5 三色河內塔盤子移動次數 49 |
參考文獻 |
[1] OSGi Alliance, [Online]. Available: http://www.osgi.org/ [2] Equinox, [Online]. Available: http://www.eclipse.org/equinox/ [3] Knopflerfish, [Online]. Available: http://www.knopflerfish.org/ [4] Spring, [Online]. Available: http://www.springsource.org/osgi [5] Michael Yuan. (2003,Dec 23). Managed mobile clients with OSGi: Managed smart clients, [Online]. Available: http://www.ibm.com/developerworks/library/wi-osgi/ [6] WebSphere Application Server, [Online]. Available: http://www-142.ibm.com/software/products/tw/zh/appserv-was/ [7] Maven - R-OSGi - transparent OSGi remote extension for distributed services, [Online]. Available: http://r-osgi. sourceforge.net/ [8] 蔣仲祥,「在服務導向架構下的動態存取控制」,台灣師範大學資訊工程學系碩士論文,June 2006 [9] L. Srinivasan and J. Treadwell. "An overview of service-oriented architecture, web services and grid computing." HP Software Global Business Unit, vol. 2. 2005. [10] Jagannath Aghav, Mr. Nikhil Sharma. “A software architecture for provisioning of mobile services An OSGi implementatiom”. Perspective Technologies and Methods in MEMS Design (MEMSTECH), 2011 Proceedings of VIIth International Conference. India, 2011, p24-27. [11] 林弘祥,「以Smart Proxy負載平衡Jini Services」,台灣海洋大學資訊工程學系碩士論文,June 2003 [12] 蔡煥麟. (2002, Apr 3).Web Services入門, [Online]. Available: http://sun.cis.scu.edu.tw/~nms9115/articles/delphi/WebServices/WebServices1.htm [13] 鄧文焯. (2002, Dec 31). Web Services介紹, [Online]. Available:http://www.iiiedu.org.tw/knowledge/knowledge20021231_1.htm [14] 燦星旅遊, [Online]. Available: http://www.startravel.com.tw/ [15] 吳明蔚,林盈達,「對等式(P2P)資源分享網路」,國立交通大學資訊科學系,[Online]. Available: http://speed.cis.nctu.edu.tw/~ydlin/miscpub/p2p.pdf [16] 透視BT(一)--── BT的基本運作原理, [Online]. Available: http://mmdays.wordpress.com/2007/04/06/bt1/ [17] A. L. C. Tavares and M. T. Valente. "A gentle introduction to OSGi." ACM SIGSOFT Software Engineering Notes, vol. 33, no. 5 , pp. 8. 2008. [18] Java SDK. Available: http://www.oracle.com/technetwork/java/javase/downloads/index.html [19] Jan S. Rellermeyer, Gustavo Alonso, and Timothy Roscoe. "R-OSGi: Distributed Applications Through Software Modularization". In Proceedings of the ACM/IFIP/USENIX 8th International Middleware Conference, New York, USA, 2007. [20] C. Y. Liu, C. F. Lai, R. H. Hwang, J. W. Ding, and Y. M. Huang. "OSGI-Based P2P Multimedia Resource Sharing System". ACM The First International Conference on Internet Multimedia Computing and Service 2009 , New York, USA, 2009. [21] C. F. Lai, Y. M. Huang, and H. C. Chao. "DLNA-based Multimedia Sharing System for OSGI Framework with Extension to P2P Network". IEEE Systems Journal, vol. 4, no. 2, pp 262-270, 2010. [22] C. F. Lai, M. Chen, A. Vasilakos, and Y. M. Huang. "Extending the DLNA-based Multimedia Sharing Systemto P2P Network on OSGi Frameworks". IEEE Global Communications Conference, Miami, Florida, USA, 2010. [23] Jiankun Wu, Linpeng Huang, Dejun Wang,and Fei Shen, "R-osgi-based architecture of distributed smart home system". IEEE Transactions on Consumer Electronics, vol. 54, no. 3, pp. 1166-1172, 2008. [24] Friendly ARM-Mini6410, [Online]. Available: http://www.friendlyarm.net/products/mini6410 |
論文全文使用權限 |
如有問題,歡迎洽詢!
圖書館數位資訊組 (02)2621-5656 轉 2487 或 來信