期刊文献+

基于哈希树的分布式目录同步方法 被引量:1

Distributed directories synchronization method based on Hash tree
下载PDF
导出
摘要 在云存储应用中,用户通常需要在多个终端上对其工作目录副本进行修改,如何在分布式目录副本之间进行高效的数据同步是一个重要问题。设计实现了一个面向私有云存储的分布式目录同步系统HTD2Sync。系统以文件哈希值为依据进行并发同步冲突检测,能够在文件同步过程中过滤大量伪冲突;针对目录副本同步中的2种冲突类型和6种冲突场景,给出了对应的冲突消解方法;引入有序哈希树对用户目录副本的内容和结构进行建模,给出了有序哈希树的创建和更新方法。提出了一种基于有序哈希树的分布式目录副本同步方法,对其流程和核心操作步骤进行了说明,给出了有序哈希树比对算法COMPARE_OHT。实验表明,HTD2Sync系统能够快速感知私有云存储终端的文件变化,在云端文件变化感知方面也具有较高的效率。 In cloud storage application scenarios, users usually need to modify their working directory copies in different terminals, and then it becomes an important issue for efficient data synchronization between distributed replications of the working directory. Optimistic replication and the eventual consistency theory was used as reference~ a distributed working directory synchronization system named HTD2Sync was de- signed and implemented. In HTD2Sync, file hash value was imported as foundation to detect conflicts in concurrent file synchronization, so that most of the pseudo-conflicts were filtered~ two conflict types and six conflict scenarios in directory replication synchronization were analyzed, and the corresponding resolu- tion methods were proposed; Ordered Hash Tree (OHT) was used to represent the character of user working directory replication, and the create and update methods of OHT were introduced~ the distributed directory synchronization method based on OHT was proposed, and meanwhile, its progress and core op- eration steps were elaborated, and algorithm to compare OHT named COMPARE_OHT was also pro- posed. Experiments show that HTD2Sync can detect client file changes quickly, and also has a good per- formance in detecting cloud file changes.
出处 《解放军理工大学学报(自然科学版)》 EI 北大核心 2013年第6期608-616,共9页 Journal of PLA University of Science and Technology(Natural Science Edition)
基金 江苏省自然科学基金资助项目(BK2010131)
关键词 哈希树 目录同步 冲突检测 最终一致性 Hash tree~ directory synchronization~ conflict detection~ eventual consistency
  • 相关文献

参考文献10

  • 1HENDRICKSON M. Dropbox: the online storage so-lution we've been waiting for[EB/OL]. (2008-03-11).[2010-03-10]. http: //techcrunch. com/2008/0- 3/11/ dropbox- the- online- storage- solution- weve- been-waiting-for.
  • 2VOGELS W. Eventually consistent[J]. Communica-tions of the ACM - Rural Engineering Development,2009,52(l):40-44.
  • 3SAITO Y,SHAPIRO M. Optimistic replication[J].ACM Computing Surveys, 2005 ?37(1) :42-81.
  • 4Sanjay Ghemawat, HOWARD G, LEUNG Shun-Tak.The Google file system[C]. SOSP,03 Proceedings ofthe Nineteenth ACM Symposium on Operating sys-tems principles,New York: ACM, 2003.
  • 5ZooKeeper : A distributed coordination service for dis-tributed applications[EB/OL]. [2013-02-01]. http://zookeeper. apache, org/doc/t- runk/zookeeperOver. ht-ml.
  • 6Navendu Jain, DAHLIN M, TEWARI R. Taper:Tiered approach of eliminating redundancy in replicasynchronization [ C]. Proc of FAST' 05,Berkeley:USENIX Association, 2005.
  • 7BALASUBRAMANIAM S, BENJAMIN C. Pierce-What is a file synchronizer[C]. Proc of MobiCom'98,New York: ACM,1998.
  • 8PIERCE B C,VOUILLON J. What is in unison(MS-ClS~03-06) [R]. Philadelphia,Pennsylvania: Depart-ment of Computer and Information Science, Universi-ty of Pennsylvania* 2004.
  • 9Giuseppe De Candia,Deniz Hastorun, Madan Jampa-ni,et al. Dynamo : amazorfs highly available key-valuestore[C]. SOSP '07 Proceedings of Twenty-first ACMSIGOPS Symposium on Operating Systems Principles,New York: ACM, 2007.
  • 10李强,朱立谷,曾赛峰,邵宪津.分布式目录同步的冲突处理与副本管理研究[J].计算机研究与发展,2012,49(S1):257-262. 被引量:5

二级参考文献7

  • 1Jain N,Dahlin M,Tewari R.Taper:Tiered approach of eliminating redundancy in replica synchronization. Proc of FAST’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’05 . 2005
  • 2Balasubramaniam S,Pierce B C.What is a file synchronizer. Proc of MobiCom’’’’98 . 1998
  • 3Pierce B C,Vouillon J.What is in Unison,MS-CIS-03-06. . 2004
  • 4SNIA.Cloud data management interface. http://snia.org/sites/default/files/CDMI_SNIA_Architecture_v1.0.pdf . 2010
  • 5Y Saito,M Shapiro.Optimistic replication. Computer Surveys . 2005
  • 6Terry D,Theimer M,Petersen K,et al.Managing Update Conflicts in Bayou, a Weakly Connected Replicated Storage System. Operating Systems Review . 1995
  • 7Giuseppe DeCandia,Deniz Hastorun,Madan Jampani,et al.Dynamo:Amazon‘s Highly Available Key-value store. Proceedings of twenty-first ACM SIGOPS symposium on Operating systems principles . 2007

共引文献4

同被引文献4

引证文献1

二级引证文献13

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部