透過您的圖書館登入
IP:18.221.15.15
  • 學位論文

一個支援多重通訊介面之檔案自動同步工具之設計與實作

The Design and Implementation of an Automatic File-synchronization Tool Supporting Multiple Communication Interfaces

指導教授 : 陳偉凱

摘要


隨著個人擁有的數位裝置日漸增加,如PC、Notebook、Pad、Phone等,裝置之間的檔案同步問題也越來越受到重視,而使用檔案自動同步工具是一個常見的解決方法。使用檔案自動同步工具時,使用者指定需要同步的目錄,只要同步目錄中的內容發生變動,自動同步工具會將該變動同步到其他裝置的同步目錄中,使得不同裝置之間的資料維持一致。但目前常見的檔案自動同步工具均使用單一通訊介面連線,而且必需連線至中央伺服器才能進行同步。這表示當無網際網路連線時,同步功能便無法正常運作。 本論文提出一套以點對點連線方式,支援多重通訊介面的同步機制,此機制監視檔案系統的變動,記錄與變動相對應的Event History,當兩個裝置互相同步時,再經由比對Event History推算出需要同步的檔案。本論文同時以此機制實作了一套檔案自動同步工具,此工具可以指定IP位置的方式使用TCP/IP同步、區域網路自動同步或是Bluetooth自動同步,並支援Windows、Android及Linux環境。

並列摘要


As a person owns more and more digital devices (e.g., personal computers, notebooks, pads, and smart phones), the file synchronization between these devices is getting more and more important. Therefore, automatic file-synchronization tools have become popular these days. When using such a tool, the user assigns a sync-folder for each device, and then all the changes in the sync-folder will be synchronized to the other devices automatically, maintaining the consistency of files in different devices. However, most of these tools need a central server during synchronization and only support a single communication interface (normally internet connection). If the central server is not available (e.g., the user is at a place that the internet connection is not available), file synchronization cannot be performed. This thesis proposes an automatic file-synchronization mechanism based on peer-to-peer architecture and supports multiple communication interfaces. The proposed mechanism monitors all file system changes and stores the changes as an Event History. When two devices are to be synchronized, the synchronization actions are derived by comparing the Event Histories of the two devices. An automatic file synchronization tool has been implemented based on the proposed mechanism. The tool can perform synchronization via Ethernet (TCP/IP) and Bluetooth interfaces, and supports Windows, Android, and Linux platforms.

參考文獻


[38] 吳承濠,基於強健度故事之雲端同步軟體驗收測試:以Dropbox為例,碩士論文,國立台北科技大學資訊工程所,台北,2012年
[11] Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides, Design Paterns: Elements of Reusable Object-Oriented Software, Publish: Addison Wesley, 2004
[2] Amy K. Karlson, Greg Smith, Bongshin Lee. “Which version is This?: Improving the Desktop Experience within a Copy-Aware Computing Ecosystem.” Proceeding of the tewnety-nineth annual SIGCHI conference on Human factors in computing systems, 2011.
[3] Wenjin Hu, Tao Yang, Jeanna N. Mattherws. “The Good, the Bad and the Ugly of Consumter Cloud Storage, ” ACM SIGOPS Operating Systems Review archive
[4] BAO Xianqiang, XIAO Nong, SHI Weisong, LIU Fang, MAO Huajian, ZHANG Hang. “SyncViews: Toward Consistent User Views in Cloud-based File Synchronization Services,” Proceedings of the 2011 Sixth Annual ChinaGrid Conference, Pages: 89-96.

被引用紀錄


宋振華(2013)。一個以點對點架構為基礎的檔案自動同步工具之設計與實作〔碩士論文,國立臺北科技大學〕。華藝線上圖書館。https://doi.org/10.6841/NTUT.2013.00288

延伸閱讀