发明名称 TIME SYNCHRONIZATION METHOD AND SYSTEM
摘要 A time synchronization method is provided. Firstly, an update time of a second playing device is calculated according to a first system time of transmitting a first packet from a first playing device and a second system time of receiving the first packet by the second playing device. Then, a first difference value is calculated according to the first system time of transmitting a second packet from the first playing device and the update time corresponding to the reception of the second packet by the second playing device. If plural first difference values are all smaller than a first predetermined value, a second difference value is calculated. If the second difference value is smaller than a second predetermined value, a synchronization time is obtained according to the second difference value and the update time.
申请公布号 US2015304696(A1) 申请公布日期 2015.10.22
申请号 US201414335635 申请日期 2014.07.18
申请人 Primax Electronics Ltd. 发明人 CHENG TING-YUAN
分类号 H04N21/242 主分类号 H04N21/242
代理机构 代理人
主权项 1. A time synchronization method for synchronizing a first playing device and a second playing device of an area network, the area network comprising a base station, the first playing device having a first system clock, the second playing device having a second system clock, the time synchronization method comprising steps of: (A) transmitting a packet from the first playing device to the base station; (B) transmitting the packet from the base station to the first playing device and the second playing device; (C) after the packet is received by the second playing device, obtaining an update time by adding an error value to a system time of the second system clock or subtracting the error value from the system time of the second system clock, wherein the error value is a time difference between a time point of transmitting the packet from the first playing device to the base station and a time point of receiving the packet from the base station by the second playing device; (D) judging whether plural first difference values are all smaller than a first predetermined value, wherein if the plural first difference values are all smaller than the first predetermined value, a step (E) is performed, wherein each of the first difference values is a time difference between a time point of transmitting the same packet of plural consecutive packets from the first playing device to the base station and a time point of receiving the packet by the second playing device, wherein a system time of the first system clock is used by the first playing device, and the update time is used by the second playing device; (E) calculating plural second difference values, and judging whether the plural second difference values are all smaller than a second predetermined value, wherein if one of the plural second difference values is smaller than the second predetermined value, a step (F) is performed, wherein each of the second difference values is a time difference between time points of receiving the same packet from the base station by the first playing device and the second playing device, wherein the system time of the first system clock is used by the first playing device, and the update time is used by the second playing device; and (F) obtaining a synchronization time by adding the second difference value to the update time or subtracting the second difference value from the update time, so that the system time of the first system clock and the synchronization time are synchronized with each other.
地址 Taipei TW