Precise clock synchronization implementation method based on PTPd2 protocol

A technology of precise clock synchronization and implementation method, applied in the field of communication technology and computer network, can solve problems such as affecting the clock synchronization accuracy, and achieve the effects of improving clock synchronization accuracy, strong versatility, and easy implementation.

Active Publication Date: 2018-11-23
HEFEI UNIV OF TECH
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a precise clock synchronization implementation method based on the PTPd2 protocol, to solve the problem that the clock synchronization accuracy is affected by the interference of the operating system and the protocol stack when the message is transmitted from the network driver layer to the MAC layer in the master-slave clock device question

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Precise clock synchronization implementation method based on PTPd2 protocol
  • Precise clock synchronization implementation method based on PTPd2 protocol
  • Precise clock synchronization implementation method based on PTPd2 protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The present invention will be further described below in conjunction with the accompanying drawings:

[0040] like figure 1 Shown is a schematic structural diagram of a clock synchronization system in an example of the present invention, and the system includes:

[0041] The master clock device is a computer installed with Ubuntu 14.04LTS system, which is used as a reference clock to send communication messages to the slave clock device, so that the slave clock device is synchronized with the master clock device;

[0042] The slave clock device is a computer installed with the Ubuntu 14.04LTS system, which is used to exchange communication messages with the master clock device, thereby adjusting the synchronization between the local clock and the master clock; the master-slave clock device is directly connected through a network cable for clock synchronization.

[0043] like figure 2 shown, figure 2 The flow chart of the precise clock synchronization implementation m...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a precise clock synchronization implementation method based on the PTPd2 protocol, belonging to the field of communication technology and computer networks. The invention realizes precise clock synchronization through an interactive communication message of master and slave clock devices, and the PTPd2 protocol can obtain an precise timestamp of the message arriving at thenetwork driver layer of the master and slave clock devices; compared with the timestamp obtained by the NTP protocol at the application layer, the interference of the protocol stack can be effectively avoided; at the same time, by capturing the time of the message reaching the MAC layer of the master and slave clock devices, and compensating for the delay and jitter generated by transmitting themessage from the network driver layer to the MAC layer in the master and slave clock devices, the clock synchronization precision can be improved. Tests show that when the master clock device and slave clock device are directly connected through a network cable, the parameters are reasonably set and the boundary time is compensated, the clock synchronization precision can reach 19[Mu]s; the universality is good; and the precise clock synchronization implementation method based on the PTPd2 protocol is easy to implement.

Description

technical field [0001] The invention relates to the field of communication technology and computer network, in particular to a method for realizing precise clock synchronization based on the PTPd2 protocol. Background technique [0002] With the rapid development of information technology, clock synchronization technology has become a key technology in distributed measurement and control systems, and the requirements for clock synchronization accuracy are getting higher and higher in many occasions. The traditional NTP (Network Time Protocol) protocol has a synchronization accuracy of 10 milliseconds in a wide area network with a range of 2000 kilometers, and a synchronization accuracy of 1 millisecond in a local area network. This millisecond-level accuracy is no longer suitable for higher accuracy. ; Although GPS has a synchronization accuracy of 100ns, the access equipment of GPS is expensive, difficult to site and install, and there are political risks, so it is not suit...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04J3/06H04L29/06
CPCH04J3/0638H04L69/28
Inventor 陆阳陶稳静卫星石雷徐娟张本宏贾向利高健
Owner HEFEI UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products