US 12,021,958 B2
Method for establishing synchronization relationship, chip, electronic device, and non-transitory computer-readable storage medium
Shilin Guo, Guangdong (CN); Jinghua Zou, Guangdong (CN); and Bo Pi, Guangdong (CN)
Assigned to SHENZHEN GOODIX TECHNOLOGY CO., LTD., Shenzhen (CN)
Filed by Shenzhen Goodix Technology Co., Ltd., Guangdong (CN)
Filed on Dec. 8, 2022, as Appl. No. 18/063,630.
Claims priority of application No. 202111509137.6 (CN), filed on Dec. 10, 2021.
Prior Publication US 2023/0188312 A1, Jun. 15, 2023
Int. Cl. H04L 7/00 (2006.01)
CPC H04L 7/0008 (2013.01) 20 Claims
OG exemplary drawing
 
1. A method for establishing synchronization relationship and applicable to a master device, the method comprising:
initiating a synchronization pulse of the master device according to a pulse period T1 preset;
obtaining a start time t1 of a K1th synchronization pulse and a start time t2 of a K2th connection event of a slave device, and obtaining an offset time according to the start time t1 of the K1th synchronization pulse and the start time t2 of the K2th connection event, wherein a connection between the master device and the slave device has been established; and
transmitting first synchronization information to the slave device for the slave device to initiate a local synchronization pulse synchronized with the synchronization pulse of the master device according to the first synchronization information, wherein the first synchronization information carries a count value K1 of the K1th synchronization pulse, a count value K2 of the K2th connection event, the offset time, and the pulse period T1.