簡易檢索 / 詳目顯示

研究生: 羅家達
Luo, Jia-Da
論文名稱: 俱拜占庭容錯能力之行動代理者系統
Mobile Agent Systems with the Capability of Byzantine Fault Tolerance
指導教授: 王宗一
Wang, Tzone-I
學位類別: 碩士
Master
系所名稱: 工學院 - 工程科學系
Department of Engineering Science
論文出版年: 2004
畢業學年度: 92
語文別: 中文
論文頁數: 88
中文關鍵詞: 拜占庭容錯群組管理行動代理者
外文關鍵詞: Mobile Agent, Byzantine Fault Tolerance, Group Management
相關次數: 點閱:219下載:2
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  •   行動代理者(Mobile Agent)是可在一異質網路系統(Heterogeneous Network System)內從一主機(Host)遷移(Migrate)至另一主機並和其他代理者及分散資源系統(Distributed Resources)溝通及交互作用(Interact)之軟體程式。它們特別適合用來發展分散式及網路上的應用系統。
      行動代理者雖已有許多相關研究,但由於網路本身就是不可靠的,而且不管是行動代理者本身或是其執行平台(Platform)都有可能遭到惡意的程式破壞,使其產生不正確的結果,甚至損毀整個系統。這一些因所導致的果,皆可歸類為拜占庭錯誤(Byzantine Faults)。拜占庭錯誤在這裡指的不管是系統平台的軟、硬體失敗或經由惡意攻擊造成執行平台錯誤所展現出的種種行為,例如送出偽造的行動代理者,或將代理者的運算執行錯誤,導致產生非預期正確的結果…等。拜占庭容錯(Byzantine Fault Tolerance)是以副本(Replica)的方式(假設系統中有n個副本)容許系統中不超過└(n-1)/3┘個拜占庭錯誤時,保證系統結果的正確性。因此將拜占庭容錯應用至行動代理者系統上,便可大大的增加系統可靠性。
      本研究最主要的目的是(一)將拜占庭容錯演算法和現有的行動代理者系統做整合,並改善演算法中群組管理方面的問題,使得群組狀態可以即時更新,增加演算法的穩定和可靠性;(二)在MACE(Mobile Agent Carrier Environment)中加入群組概念,達到行動代理者傳送時的通透性(Transparent);(三)在MACE中加入回復機制(Recovery Mechanism),復原已由拜占庭協議(Byzantine Agreement)確認(Commit)過的行動代理者。(四)最後再針對所加入的拜占庭協議模組(Byzantine Agreement Module)做一行動代理者系統的整體效能評估。

      Mobile agents are software programs that can move from host to host and interact with other agents and distributed resources in a heterogeneous network. They are therefore particularly effective for developing distributed applications.

      Although there are already a lot of researches on the reliability of mobile agents themselves, the network, i.e. the transmission medium, itself is by no means reliable. Mobile agents and their executing platforms may be attacked by malicious programs, making them to produce incorrect results, and to the extreme, damaging the whole system. These faulty behaviors can all be classified and modeled as Byzantine Faults. A Byzantine-fault-tolerant system with a total of n replicas can tolerate up to └(n-1)/3┘ simultaneously faults. So it would be a good idea to incorporate Byzantine-fault-tolerance on a mobile agent system to increase its reliability.

      The purpose of this thesis is 1) to integrate the Byzantine-fault-tolerance algorithm with an existing mobile agent system – the MACE (Mobile Agent Carrier Environment) – and to improve its group management capability, 2) to add group mechanism to MACE in order to achieve transmission transparence of mobile agents, 3) to add a recovery mechanism to MACE for recovering the system from any Byzantine Fault, and 4) to perform the evaluations on the entire system with the newly implemented Byzantine Agreement Module.

    中文摘要I AbstractII 誌謝III 目錄IV 圖目錄VI 第一章 緒論1 1.1 研究動機與目的1 1.2 研究成果與貢獻2 1.3 章節簡介3 第二章 相關研究回顧與探討4 2.1 行動代理者系統相關研究4 2.1.1 行動代理者概論4 2.1.2 行動代理者技術的優點6 2.1.3 行動代理者系統之架構與應用8 2.1.4 程式碼的移動性(Code Mobility)10 2.1.5 行動代理者技術與傳統主從式運算的比較14 2.1.6 行動代理者技術與Java applet的比較16 2.2 拜占庭容錯之相關研究18 2.2.1拜占庭容錯原始模型18 2.2.2 拜占庭容錯應用模型20 2.2.3 群組概念與群組間的傳遞模式25 2.3行動代理者系統容錯機制之相關研究27 2.3.1 檢查點模式與複製模式28 2.3.2 集中式容錯機制架構29 2.3.3 分散式容錯機制架構 30 第三章 系統之架構與運作31 3.1系統設計之動機與概念31 3.2 系統架構概觀32 3.3 MACE系統概觀33 3.3.1 MACE系統之服務協定33 3.3.2 MACE系統概觀34 3.4拜占庭容錯架構41 3.4.1拜占庭容錯應用在行動代理者系統上之模型41 3.4.2拜占庭容錯協議與演算法43 3.5群組管理的機制46 3.5.1 副本群組表格46 3.5.2 發起者維護群組成員47 3.5.3 備援監督發起者49 3.6系統復原(RECOVERY)與資源回收51 3.7系統群組資訊模組52 3.8系統運作模式54 3.8.1 系統容錯形式歸類56 第四章 系統實作與範例說明58 4.1系統的實作環境及發展工具58 4.2系統實作58 4.2.1 Agentlet59 4.2.2 MACE系統平台62 4.2.3 系統群組資訊管理者63 4.3效能評估與模擬65 4.3.1 拜占庭協議模組效能評估65 4.3.2 系統容錯模擬範例說明68 4.3.3 其他效能考量80 第五章 結論與未來工作82 5.1 研究成果82 5.1.1已完成的系統功能82 5.1.2系統功能探討83 5.2 結論83 5.3 未來工作84 參考文獻85 自 述88

    [1] Miguel Castro and Barbara Liskov, “Practical Byzantine Fault Tolerance”, Proceedings of the Third Symposium on Operating Systems Design and Implementation, New Orleans, USA, February 1999

    [2] Miguel Castro and Barbara Liskov, “Authenticated Byzantine Fault Tolerance Without Public-Key Cryptography”, MIT Technical Memo MIT-LCS-TM-589, Massachusetts Institute of Technology, June 1999

    [3] Miguel Castro and Barbara Liskov, “A Correctness Proof for a Practical Byzantine-Fault-Tolerant Replication Algorithm”, MIT Technical Memo MIT-LCS-TM-590, Massachusetts Institute of Technology, June 1999

    [4] Miguel Castro and Barbara Liskov, “Proactive Recovery in a Byzantine-Fault-Tolerant System”, In Fourth Symposium on Operating Systems Design and Implementation (OSDI), San Diego, USA, October 2000

    [5] Miguel Castro, “Practical Byzantine Fault Tolerance”, Ph.D. thesis, Department of Electrical Engineering and Computer Science, Massachusetts Institute of Technology, January 2001

    [6] Leslie Lamport, Robert Shostak, and Marshall Pease, “The Byzantine Generals Problem”, ACM Transactions on Programming Languages and System, pp.382-401, July 1982

    [7] Nancy A. Lynch, “Distributed Algorithms”, Morgan Kaufmann Publishers, Inc.

    [8] Taesoon Park, Ilsoo Byun, Hyunjoo Kim, and Yeom, “The performance of checkpointing and replication schemes for fault tolerant mobile agent systems, ”Proc. Reliable Distributed Systems, pp.256-261, Oct. 2002

    [9] Pleisch, S. and Schiper, A., “Modeling fault-tolerant mobile agent execution as a sequence of agreement problems,”Proc. Reliable Distributed Systems, pp.11-20, Oct. 2000

    [10] Pleisch, S. and Schiper, A., “FATOMAS-a fault-tolerant mobile agent system based on the agent-dependent approach,”Proc. Dependable Systems and Networks, pp.215-224, July 2001

    [11] Pleisch, S. and Schiper, A., “Fault-tolerant mobile agent execution,”Proc. Computers IEEE Transactions on , pp.209-222, Feb 2003

    [12] Rothermel, K. and Strasser, M., “A fault-tolerant protocol for providing the exactly-once property of mobile agents,”Proc. Reliable Distributed Systems, pp.100-108, Oct. 1998

    [13] Wang, T. I. “A Mobile Agent Carrier Environment with Mobile Computing Facilities”, IIP: International Conference on Intelligent Information Processing, The 16th IFIP World Computer Congress, 21~25/08, 2000, Beijing.

    [14] Wang, T. I. “A Mobile Agent Carrier Environment for Mobile Information Retrieval”, 11-th International Conference on Database and Expert Systems Applications - DEXA 2000, 05~08/09, 2000, Greenwich, London.

    [15] Wang, T. I. “A Mobile Agent Carrier Environment”, ICS2000, 6-8 December, 2000, Chiayi, Taiwan, R.O.C.

    [16] Wang, T. I. “以行動代理者支援行動資訊擷取”, 第五屆人工智慧與應用研討, Taipei, 17/Nov. 2000

    [17] Jian Yin, Jean-Philippe Martin, Arun Venkataramani, Lorenzo Alvisi, Mike Dahlin, “Separating Agreement from Execution for Byzantine Fault Tolerant Services”, SOSP’03, Bolton Landing, New York, USA, October 2003

    [18] Meng Yu, Peng Liu, and Wanyu Zang, “Intrusion Masking for Distributed Atomic Operations”, In Proceedings of the 18th IFIP International Information Security Conference (SEC’03), pp.229-240, May 2003

    [19] 周晉立, ”Mobile Agent Carrier Environment”,國立成功大學工程科學研究所碩士論文,June 1998

    [20] 徐永憲, ”Fault Tolerant Mechanism for Mobile Agent Systems”,國立成功大學工程科學研究所碩士論文,June 2003

    下載圖示
    2004-08-03公開
    QR CODE