莊裕澤臺灣大學:資訊管理學研究所張洪奇Chang, Hong-ChiHong-ChiChang2007-11-262018-06-292007-11-262018-06-292007http://ntur.lib.ntu.edu.tw//handle/246246/54300在一些研究領域中,實驗所花費的時間冗長且需要的計算資源往往不是一台電腦就可以勝任的,像是醫療研發、電腦圖學、氣象學和粒子物理學等等。但是,我們卻可以發現在Internet裡存在著大量的計算資源,並沒有被有效的運用,如電腦的計算能力、網路頻寬和資料儲存空間等。但點對點系統具有連結網際網路上龐大資源的能力,而且有越來越普及的趨勢。然而,目前的點對點系統仍只提供基本及簡單的功能,像是檔案的分享或即時通訊等。我們希望能夠透過整合點對點系統和行動代理人技術,提供使用者客自行設計和發展客製化的服務,並充份運用網路上豐富的資源。 在此論文中,我們延續本實驗室對Visitant系統的開發,並加強行動代理人的在移動性、通訊性以及安全性三個主要議題上的功能。我們也提出一組完整的應用程式及易於操作的使用者介面,並提出二個範例程式做為開發行動代理人的參考。Some researches, such as molecular biology, computer graphics, meteorology, and particle physics, are difficult to be completed by a single computer and may spend too much time in experiments. In fact, there are abundant computing resources in the Internet, and most of them are not fully utilized. P2P systems, an increasingly popular technology, can aggregate resources shared from a large number of highly autonomous peers and coordinate these resources among peers. However, current P2P systems can only provide some simple services and functions, including file sharing and instance message. We attempt to integrate two different technologies, P2P platform and mobile agent, to support programmers to develop their customized services and utilize the enormous resources in the Internet. In this thesis, we continue with the implementation of Visitant system, which is an agent-based structured P2P system and is developed by our laboratory. We implement the functions of Mobility, Communication, and Security issues which are the main issues of mobile agent technology. We also provide a set of APIs and user friendly GUIs for programmers to develop and deploy their mobile agents, and demonstrate two examples to explain how to program customized mobile agents in our system.Chapter 1 緒論-----------------------1 論文簡介-----------------------------1 論文架構-----------------------------3 Chapter 2文獻探討--------------------4 2.1 P2P系統--------------------------4 2.1.1 部份集中式P2P系統--------------4 2.1.2 非結構化P2P系統----------------5 2.1.3 結構化P2P系統------------------6 2.1.4 JXTA---------------------------7 2.1.5 總結--------------------------10 2.2 行動代理人的議題----------------10 2.2.1 行動性------------------------10 2.2.2 通訊性議題--------------------11 2.2.3 安全議題----------------------12 2.2.4 總結--------------------------13 2.3 目前的行動代理人系統------------14 2.3.1 Aglets------------------------14 2.3.2 Ajanta------------------------17 2.3.3 SeMoA-------------------------19 2.3.4 總結--------------------------22 2.4 目前代理人式P2P系統-------------22 2.4.1 Anthill-----------------------22 2.4.2 aIsland-----------------------23 2.4.3 JADE--------------------------25 2.4.4 總結--------------------------28 2.5 本章總結------------------------28 Chapter 3 系統設計------------------30 3.1系統概觀-------------------------30 3.2結構化P2P層----------------------31 3.3 Visitant 系統層-----------------31 3.4 行動代理人層--------------------43 3.5 發展行動代理人的API-------------43 3.5.1 資料型態----------------------44 3.5.2 實作代理人的應用程式介面------49 Chapter 4 範例展示------------------53 4.1 操作流程說明--------------------53 4.2 範例描述------------------------56 4.3 範例一--------------------------57 4.4範例二---------------------------67 Chapter 5 結論與未來研究------------75 5.1 結論----------------------------75 5.2後續研究-------------------------76 參考文獻----------------------------773886225 bytesapplication/pdfen-US點對點系統、行動代理人、應用程式介面Peer-to-Peer, Agent-based, Application Program Interface實作以代理人為基礎之結構化點對點系統Implementation of Application Program Interface of Visitantotherhttp://ntur.lib.ntu.edu.tw/bitstream/246246/54300/1/ntu-96-R94725037-1.pdf