摘要
结合Vector Time Pairs算法和rsync算法进行远程文件同步。Vector Time Pairs算法用向量时间对检测文件更新、添加、删除和更新冲突,避免冲突误报并支持局部同步。拷贝文件时使用rsync算法传输文件差异部分并重构同步文件,有效降低网络流量。通过实验对比,Rsync、Unison和文中系统模型,结果验证了该模型的可行性。
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.
出处
《电子科技》
2010年第12期102-104,共3页
Electronic Science and Technology