Radio and television networks, railway automation information system, oil and gas pipeline production monitoring, smart grid, the mobile communication industry of information system management, operation, maintenance of often requires a unified time management system to maintain a standard time, for the area of all sorts of equipment to provide accurate time signal. Based on the extensive application value of web-based time synchronization, NTP is based on the existing Ethernet communication network, which has good reliability and accuracy. However, the existing NTP server clock source is either GPS or a clock of Rubidium,so the price is more expensive and larger than the national strategic security needs. And it does not provide other time synchronization methods that cannot be used in places without network conditions. Therefore, we need a small, low-cost time synchronization module to meet the need for time synchronization in all walks of life.By studying NTP related technology and theory,the paper analyses the factors affected the accuracy of the NTP time synchronization,need to study and solve the key problems are presented, the design of hardware and the software frame and each function module. This paper focuses on the hardware circuit design of the time phase and frequency of clock synchronization and the local time punctuality problem. The main clock time processing algorithm was studied and designed for the NTP main clock, the BDS/GPS time extraction and adjustment problem. To address the problem of NTP from clock network time, research and design of clock network time processing algorithm; For local time punctuality,the software algorithm for the time circuit is studied and designed. |