›› 2010, Vol. 23 ›› Issue (12): 102-104.

• 论文 • 上一篇    下一篇



  1. (西安电子科技大学 计算机科学学院,陕西 西安〓710071)
  • 出版日期:2010-12-15 发布日期:2010-12-30
  • 作者简介:孙静(1983-),女,硕士研究生。研究方向:移动数据库与数据同步。 王保保(1963-),男,博士,教授,硕士生导师。研究方向:网络数据库与智能检测。

Design and Implementation of a Remote File Synchronization System

 SUN Jing, WANG Bao-Bao   

  1. (School of Computer Science,Xidian University,Xi'an 710071,China)
  • Online:2010-12-15 Published:2010-12-30


结合Vector Time Pairs算法和rsync算法进行远程文件同步。Vector Time Pairs算法用向量时间对检测文件更新、添加、删除和更新冲突,避免冲突误报并支持局部同步。拷贝文件时使用rsync算法传输文件差异部分并重构同步文件,有效降低网络流量。通过实验对比,Rsync、Unison和文中系统模型,结果验证了该模型的可行性。

关键词: 文件同步, vector time pairs, rsync, 局部同步


The vector time pairs algorithm and the rsync algorithm are combined for remote file synchronization.The vector time pairs algorithm uses the vector time pair to detect file updates,additions,deletions and conflicts without any false positives and support partial synchronizations.Using the rsync algorithm to transfer different parts of files and reconstruct synchronize files when copying files can effectively reduce the network traffic.Rsync,Unison,and this system model are compared by an experiment,and the results verify the feasibility of the model.

Key words: file synchronization;vector time pairs;rsync;partial synchronization


  • TP316