作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2008, Vol. 34 ›› Issue (16): 13-15. doi: 10.3969/j.issn.1000-3428.2008.16.005

• 博士论文 • 上一篇    下一篇

基于拟合偏差的时钟同步

赵 英1,王旖旎1,马 严2,李文生2   

  1. (1. 北京化工大学信息科学与技术学院,北京 100029);2. 北京邮电大学计算机科学与技术学院,北京 100876)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-08-20 发布日期:2008-08-20

Clock Synchronization Based on Fitting Offset

ZHAO Ying1, WANG Yi-ni1, MA Yan2, LI Wen-sheng2   

  1. (1. School of Information Science and Technology, Beijing University of Chemical Technology, Beijing 100029; 2. School of Computer Science and Technology, Beijing University of Posts and Telecommunications, Beijing 100876)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-08-20 Published:2008-08-20

摘要: 该文提出采用拟合偏差方法进行时钟调整的策略,以有效克服网络延迟和抖动对时钟同步的影响。开发NTP时间同步客户端,实现多种时间戳数据的采集和存储。分析本地节点的时间信息和来自于参考时钟服务器的时间戳信息,并构造时钟偏差趋势方程。利用线性拟合方法建立时钟漂移率数学模型和利用该漂移率进行时钟的调整和稳定性分析。实验证明,该策略提高了客户端时钟同步的稳定性和安全性,能够更好地适应网络传输性能较差环境下的时钟同步。

关键词: 时钟同步, 漂移率, 拟合偏差

Abstract: This paper adopts a strategy of fitting offset to adjust time, to conquer the impact of network delay and jitter on clock synchronization effectively. The paper makes three major contributions to this research area. Client software of clock synchronization is developed by this project, and it can collect and save all kinds of time stamps. The paper analyzes the local time of slave node and the arrival timestamps, from the reference server, to create offset trend equation, adopts a method of linear fit to create a mathematic model of clock drift rate, and uses this drift rate to adjust time and analyze stability. Result proves that it not only can improve the stability and security of clock synchronization on client, buyalso has better adaptability to clock synchronization on worse environment of network transport.

Key words: clock synchronization, drift rate, fitting offset

中图分类号: