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

计算机工程 ›› 2009, Vol. 35 ›› Issue (18): 37-39. doi: 10.3969/j.issn.1000-3428.2009.18.013

• 软件技术与数据库 • 上一篇    下一篇

仿真系统中的时钟同步算法

唐庆茂,陈 平,沈 博   

  1. (西安电子科技大学软件工程研究所,西安 710071)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-09-20 发布日期:2009-09-20

Clock Synchronization Algorithm in Simulation System

TANG Qing-mao, CHEN Ping, SHEN Bo   

  1. (Software Engineering Institute, Xidian University, Xi’an 710071)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-09-20 Published:2009-09-20

摘要: 研究当前仿真系统中的时钟同步问题和网络时间协议(NTP)。在NTP的基础上通过引入“主从服务器”模式、客户端时间推进和事件注册机制,实现一种适用于分布式仿真系统的、具有较高精度的软件时钟同步算法,给出同步系统的设计和实验方案。根据对实验数据的分析,验证该算法是一种简单有效的高精度时钟同步算法。

关键词: 时钟同步, 仿真, 网络时间协议, 主从服务器

Abstract: The problem of clock synchronization in the current simulation system and Network Time Protocol(NTP) are introduced in this paper. A software clock synchronization algorithm with high precision, which is realized by importing the mode of “master and slave servers” and the mechanism of time progress and event login in the client on the basis of the NTP is proposed. This algorithm is suitable for the distributed simulation system. The design of a time synchronization system and an experimentation are presented. According to the analysis of experimental data, the algorithm is validated simple and effective.

Key words: clock synchronization, simulation, Network Time Protocol(NTP), master and slave servers

中图分类号: