-
公开(公告)号:US20130121352A1
公开(公告)日:2013-05-16
申请号:US13735858
申请日:2013-01-07
Applicant: Huawei Technologies Co., Ltd.
Inventor: Xinyu SHEN , Jianmei ZHANG , Congqi LI , Tianhai CHANG , Hao LIU , Zhiguo LIU
IPC: H04J3/06
CPC classification number: H04J3/0602 , H04J3/0667 , H04J14/0201
Abstract: A method and a device for time synchronization are disclosed according to the embodiments of the present invention. The method includes: selecting, by a slave device, a port of a single-fiber bi-directional line as a synchronization port of a 1588 clock protocol; specifying a work mode of the synchronization port; exchanging a 1588 clock synchronization packet with a master device through the synchronization port according to the work mode; acquiring transmission time information and restore a system clock according to the 1588 clock synchronization packet; and adjusting the system clock according to the work mode and the transmission time information. The device includes: a line processing module, a clock recovery module and a clock adjustment module. Through the method and the device, zero-error time synchronization is implemented; and in the case of unfixed path delay, the time synchronization can also be implemented.
Abstract translation: 根据本发明的实施例公开了一种用于时间同步的方法和装置。 该方法包括:由从设备选择单光纤双向线路的端口作为1588时钟协议的同步端口; 指定同步端口的工作模式; 根据工作模式通过同步端口与主设备交换1588时钟同步报文; 根据1588时钟同步包获取传输时间信息并恢复系统时钟; 并根据工作模式和传输时间信息调整系统时钟。 该设备包括:线路处理模块,时钟恢复模块和时钟调整模块。 通过该方法和设备,实现零错误时间同步; 并且在非固定路径延迟的情况下,也可以实现时间同步。