簡易檢索 / 詳目顯示

研究生: 陳怡國
Yi-Guo Chen
論文名稱: 跨異質性物件傳輸機制行動代理人平台之研究
A Study of Mobile Agent Platform for Crossing Heterogeneous Object Transportation Mechanisms
指導教授: 楊鍵樵
Chen-Chau Yang
口試委員: 呂永和
Yung-Ho Leu
呂芳懌
Fang-Yie Leu
學位類別: 碩士
Master
系所名稱: 電資學院 - 電子工程系
Department of Electronic and Computer Engineering
論文出版年: 2005
畢業學年度: 93
語文別: 中文
論文頁數: 64
中文關鍵詞: 行動代理人
外文關鍵詞: SOAP, CORBA, UDDI, WSDL
相關次數: 點閱:314下載:2
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 行動代理人(Mobile Agent, MA)是一種能夠透過網路,在各電腦終端介面移動,並具備自主性(autonomous)及運算處理能力的代理人程式。在分散式物件傳輸機制的幫助下,目前已發展出許多MA系統,如Aglet、Voyager等。不過,複雜的網路環境,卻成為MA能夠自主進行網路漫遊時的最大障礙。本篇論文的重點在於透過XML相關技術(UDDI、WSDL),來實現跨異質通訊協定(Socket、CORBA、SOAP,etc)的行動代理人系統,並提出一套整合異質傳輸機制的行動代理人移動模式。
    本論文研究方向以透過建構行動代理人平台(Mobile Agent Platform, MAP)的原型(prototype),研究MA在MAP間移動時所需的傳送機制。由於一般的MA系統是經由特定的服務埠進行MA傳輸,所以容易造成無法跨越防火牆的問題,因此,本論文中提出採用MA結合SOAP的傳送機制,使得MA可輕易穿透防火牆。為了結合本文中多種傳送機制,因此提出透過UDDI與WSDL來整合異質傳輸協定,讓MA設計者不需要事先了解各站之間的傳送機制,也可以達成MA漫遊網路的目的。最後,我們以實例來說明MA如何於異質傳輸機制的移動方式。


    The mobile agent (MA) is an autonomous agent program equipped with computing abilities, which is capable of moving between computer terminal interfaces through networks. Upon the help of distributed object transportation, many MA systems have been developed such as Aglet and Voyager etc. However, the complex networking environment which in turn is the biggest barrier for MA to roam in the network autonomously. The work of this thesis is to realize a protocol via XML related technologies (UDDI, WSDL) that can cross heterogeneous communication protocols (Socket, CORBA, and SOAP etc.) and to propose a mobile agent migration pattern which integrates heterogeneous communication mechanisms.
    Based on the construction of mobile agent platform (MAP), this thesis is to study the transport mechanism for MA to move between MAPs. The general MA systems cannot pass the firewall since they transport MA via specific service ports. Therefore, in this thesis, our MA adopts the SOAP transport mechanism such that our MA can pass the firewall easily. Moreover, we use UDDI and WSDL to integrate multiple transportation mechanisms discussed in this thesis. Therefore, the MA designers can make their MA roaming around the network without first understanding of the transport mechanisms for every host. Finally, we explain the moving patterns for our MA in the heterogeneous through working examples.

    目錄 目錄………………………………………………………………………… 1 圖目錄……………………………………………………………………… 3 表目錄……………………………………………………………………… 4 第1章 緒論……………………………………………………………… 5    1.1 研究動機 …………………………………………………… 5    1.2 研究目標 …………………………………………………… 6    1.3 章節摘要 …………………………………………………… 7 第2章 背景知識………………………………………………………… 8    2.1 Mobile Agent ( MA ) …………………………………… 8       2.1.1 傳統物件與行動代理人比較 …………………… 8       2.1.2 生命週期 ………………………………………… 9       2.1.3 行為模式 ………………………………………… 10    2.2 Mobile Agent Development Environment (MADE) … 11       2.2.1 軟體開發階段簡介 ……………………………… 11       2.2.2 相關 MA 發展系統工具介紹 …………………… 12       2.2.3 發展 MA 相關組織簡介 ………………………… 13          2.2.3.1 FIPA …………………………………… 13          2.2.3.2 OMG …………………………………… 13    2.3 Socket技術 ………………………………………………… 13    2.4 CORBA技術 ………………………………………………… 16    2.5 XML技術 …………………………………………………… 17    2.6 SOAP技術…………………………………………………… 20       2.6.1 UDDI ……………………………………………… 22       2.6.2 WSDL ……………………………………………… 23       2.6.3 Web Service簡介 ……………………………… 24 第3章 相關研究………………………………………………………… 25    3.1 Aglet ……………………………………………………… 25    3.2 Voyager …………………………………………………… 26 第4章 系統架構與傳輸機制設計……………………………………… 28    4.1 MAP 系統架構 ……………………………………………… 28    4.2 MA移動模式 ………………………………………………… 29       4.2.1 物件解析 ………………………………………… 30       4.2.2 處理類別碼 ……………………………………… 31       4.2.3 物件傳輸機制的管理 …………………………… 32       4.2.4 重組並啟動物件 ………………………………… 33    4.3 MA平台傳輸機制 …………………………………………… 33       4.3.1 MAP 系統傳輸架構整合 ………………………… 33       4.3.2 Socket機制 ……………………………………… 35          4.3.2.1 傳送模組 ……………………………… 35          4.3.2.2 接收模組 ……………………………… 36       4.3.3 CORBA機制 ……………………………………… 37          4.3.3.1 傳送模組 ……………………………… 38          4.3.3.2 接收模組 ……………………………… 39       4.3.4 SOAP機制 ………………………………………… 40          4.3.4.1 傳送模組 ……………………………… 41          4.3.4.2 接收模組 ……………………………… 42    4.4 MA自主性傳輸機制 ………………………………………… 43       4.4.1 PUSH傳送機制 …………………………………… 44       4.4.2 PULL傳送機制 …………………………………… 44    4.5 異質性傳輸機制整合設計 ………………………………… 46       4.5.1 異質性傳輸機制整合 …………………………… 47       4.5.2 平台溝通機制 …………………………………… 47       4.5.3 MAP傳輸模組……………………………………… 48 第5章 系統應用實例…………………………………………………… 50    5.1 測試環境介紹 ……………………………………………… 50    5.2 MA點對點走訪 ……………………………………………… 53    5.3 MA多點走訪 ………………………………………………… 54    5.4 問題與討論 ………………………………………………… 56 第6章 結論與未來展望………………………………………………… 57 附錄 相關參考文獻……………………………………………………… 58

    參考文獻
    【1】 White, J. E., “ Telescript Technology: Mobile Agents”
    ,Software Agents, Bradshaw, J. (ed.), MIT Press, 1997.
    【2】 楊錦潭、蕭淳豐 , "開發智慧型代理人軟體工程平台初探",
    電子月刊 p138~p157 ,November 2001.
    【3】 FIPA Specifications Policy:Life Cycle
    , http://www.fipa.org/docs/output/f-out-00003/f-out-00003A.html
    【4】 FIPA Agent Management Specification, http://www.fipa.org/specs/fipa0023/
    【5】 Lange, B. D.; Oshima, M.,“ Programming and Deploying Java Mobile Agents with Aglets”, Addison- Wesley, 1998.
    【6】 ObjectSpace Inc., “ ObjectSpace Voyager Technical Overview”
    , ObjectSpace, Inc., 1997,
    【7】 吳信輝 ,"Web Services技術介紹(一)"
    , http://www.ascc.net/nl/93/2023/02.txt
    【8】 BSD socket,http://www.cis.nctu.edu.tw/~is82232/NetProg/program4.html
    【9】 Socket,http://www.andrew.cmu.edu/user/tchih/previous_work/Vsss/ch3.htm
    【10】 Winsock, http://www.cis.nctu.edu.tw/~is82232/NetProg/program5.html
    【11】 Object Management Group,
    "CORBA Services : Common Object Services Specification
    , July 1997",ftp://ftp.omg.org/pub/docs/formal/97-07-04.pdf
    【12】 Object Management Group, "The Common Object Request Broker : Architecture and Specification, 2.2ed. ", 1998
    【13】 CORBA, http://blog.csdn.net/gigix/archive/2002/04/09/2310.aspx
    【14】 CORBA Object Model
    , http://www.cogs.susx.ac.uk/users/ianw/teach/dist-sys/ds-node95.html
    【15】 CORBA Architecture, http://www.henningweb.de/Studium/Wif/Wif.htm
    【16】 Simple Object Access Protocol (SOAP),
    http://www.ccl.itri.org.tw/products/transfer/internet_soft/techinfo/SOAP.htm
    【17】 "Simple Object Access Protocol (SOAP) 1.1",W3C Note 08 May 2000
    , http://www.w3.org/TR/SOAP
    【18】 Remote Procedure Call(RPC)
    , http://www.cis.nctu.edu.tw/~is83053/NetProg/Problem7.html,2005/06/01
    【19】 "UDDI , XML台灣資訊網 "
    , http://www.xml.org.tw/
    【20】 WSDL(Web Service Definition language)
    ,http://taiwan.cnet.com/enterprise/glossary/term/0,2000062921,2000053836,00.htm
    【21】 吳信輝 ,"Web Services技術介紹(一)"
    , http://www.ascc.net/nl/93/2023/02.txt
    【22】 ObjectSpace Ltd. "Voyager ORB 3.3 Developer Guide"
    , http://www.objectspace.com/products/voyager/,2005/05
    【23】 Java API for XML Registries (JAXR)
    ,http://java.sun.com/xml/jaxr/index.jsp
    【24】 Java Architecture for XML Binding (JAXB)
    , http://java.sun.com/xml/jaxb/
    【25】 SOAP with Attachments API for Java (SAAJ)
    , http://java.sun.com/xml/saaj/index.jsp
    【26】 Java Web Services Developer Pack (Java WSDP)
    , http://java.sun.com/webservices/jwsdp/index.jsp
    【27】 Java API for XML Processing (JAXP)
    , http://java.sun.com/xml/jaxp/index.jsp
    【28】 Karl Moss, “Java Servlets”, McGraw-Hill
    【29】 張裕益、劉春成 譯, Java 2 徹底研究, 博碩文化
    【30】 位元文化 編著, XML技術實務, 文魁資訊股份有限公司
    【31】 楊錦文、鄧永亥、謝金興 編譯,Java程式設計,全華科技圖書股份有限公司
    【32】 Patrick Chan、Rosanna Lee、Douglas Kramer,
    “The Java Class Libraries 2ed,Volume1”,Addison Wesley
    【33】 Karl Moss, “Java Servlets”, McGraw-Hill
    張裕益、劉春成 譯, Java 2 徹底研究, 博碩文化
    位元文化 編著, XML技術實務, 文魁資訊股份有限公司
    楊錦文、鄧永亥、謝金興 編譯,Java程式設計,全華科技圖書股份有限公司
    Patrick Chan、Rosanna Lee、Douglas Kramer,
    “The Java Class Libraries 2ed,Volume1”,Addison Wesley
    ObjectSpace Ltd ,“Voyager® User Guide”
    , http://www.recursionsw.com/Voyager/Voyager_User_Guide.pdf
    【34】 ObjectSpace Ltd ,“Web Services and Voyager”
    ,http://www.recursionsw.com/Voyager/2004-09-24-Web%20Services%20and%20Voyager.pdf
    【35】 ObjectSpace Ltd , “Ease of Development”
    , http://www.recursionsw.com/Voyager/Ease_of_Development.pdf
    【36】 ObjectSpace Ltd , “High Level Overview”,http://www.recursionsw.com/
    Voyager/Voyager_High_Level_Overview.pdf,

    QR CODE