許永真臺灣大學:資訊工程學研究所盧柏均Lu, Bo-JyunBo-JyunLu2007-11-262018-07-052007-11-262018-07-052007http://ntur.lib.ntu.edu.tw//handle/246246/53766本論文提出了一分散式系統架構作為一個書目資料分享的平台。此系統用以展示我們在分散式環境之中,在處理資源的詮釋資料的管理及分享上,可能會遇到的種種問題。 我們認為一個利用中央控管的解決方式並不適用於一般使用者,因為一般使用者不易維護一個集中式伺服器,且伺服器往往會形成系統成長上的瓶頸。而相較之下,分散式的系統架構較有彈性而能適用於這樣的環境需求。 我們提出了使用DHT (Distributed Hash Table)作為一個索引服務來解決分散式搜尋的問題。並提出利用OpenID架構來解決分散式認證機制上所遇到的困難。This thesis presents a distributed web-based system focussing on the sharing of bibliographic resources. It is to demonstrate some problem we may face while dealing with metadata management and sharing in a distributed environment. While a centralized solution for metadata sharing is not feasible for general users because the central server would be a bottle neck for scaling up, a decentralized solution is a reasonable way to face the problem. We propose using DHT (Distributed Hash Table) as an indexing service to deal with the scalability problem of distributed search, and facilitating OpenID framework to serve as a solution of decentralized authentication mechanism.Acknowledgments iii Abstract v List of Figures x Chapter 1 Introduction 1 1.1 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2 Thesis Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Chapter 2 Distributed Content 5 2.1 A Scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.2 Problem Formulation . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.3 Proposed Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.3.1 Communication interface . . . . . . . . . . . . . . . . . . . . 9 2.3.2 Centralized or distributed . . . . . . . . . . . . . . . . . . . . 10 viii Chapter 3 RelatedWork 13 3.1 Bibster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.2 CiteULike . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.3 BibSonomy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Chapter 4 System Design 17 4.1 System Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.2 Bibliographic Resource . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.2.1 BibTeX format . . . . . . . . . . . . . . . . . . . . . . . . . 20 Chapter 5 Implementation 27 5.1 BiBlog Web Server . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 5.1.1 Ruby on Rails . . . . . . . . . . . . . . . . . . . . . . . . . . 28 5.1.2 Data Model . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.1.3 Web Interface . . . . . . . . . . . . . . . . . . . . . . . . . . 30 5.1.4 RESTful Web API . . . . . . . . . . . . . . . . . . . . . . . 34 5.1.5 Resources Management . . . . . . . . . . . . . . . . . . . . 35 5.2 OpenID Authentication . . . . . . . . . . . . . . . . . . . . . . . . . 36 Chapter 6 Conclusion and FutureWork 41 6.1 Future Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Bibliography 43853107 bytesapplication/pdfen-US分散式系統內容分享詮釋資料web系統分散式雜湊表distributed systemcontent sharingmetadataweb-based systemDHT分散式內容分享之詮釋資料管理Metadata Management for Distributed Content Sharingthesishttp://ntur.lib.ntu.edu.tw/bitstream/246246/53766/1/ntu-96-R93922094-1.pdf