| CPC G06F 3/03545 (2013.01) [G06F 3/0383 (2013.01); G06F 2203/0384 (2013.01); H04W 56/00 (2013.01)] | 13 Claims |

|
1. A synchronization method, configured for time synchronization between a first detection chip of a first device and a second detection chip of a second device, wherein the first detection chip periodically sending a synchronization signal, one of the first detection chip and the second detection chip is a touch chip of a touch screen, and the other of the first detection chip and the second detection chip is a driving chip of an active pen for outputting a driving signal and detecting an uplink signal output by the touch screen, signal transmission is performed between the first detection chip and a first wireless communication chip through an I/O interface, and signal transmission is performed between the second detection chip and a second wireless communication chip through an I/O interface, the method comprising:
receiving by the first wireless communication chip connected to the first detection chip, the synchronization signal sent by the first detection chip in a wireless transmission manner at a first moment;
sending, by the first wireless communication chip, time information associated with the synchronization signal to the second wireless communication chip connected to the second detection chip through wireless communication;
using, by the second detection chip or the second wireless communication chip, the time information associated with the synchronization signal, to determine a second moment for the first detection chip to send the synchronization signal next time; and then
adjusting, by the second detection chip, its detection period based on the second moment, wherein the second detection chip is synchronized with the first detection chip at the second moment;
wherein the time information associated with the synchronization signal is configured for determining a first time difference between a third moment when the second wireless communication chip receives the time information and the first moment, wherein the first time difference is configured for determining the second moment;
wherein the first wireless communication chip performs data transmission with the second wireless communication chip based on its connection period,
wherein the time information associated with the synchronization signal is obtained by determining a second time difference between a fourth moment when the first wireless communication chip receives the synchronization signal and a fifth moment when the first wireless communication chip performs data transmission with the second wireless communication chip for the last time;
wherein the first time difference is obtained by determining a difference value between the second time difference and a target value, wherein the target value is equal to the sum of the following times: a length of the connection period; a data transmission time between the first wireless communication chip and the second wireless communication chip; and a delay between the fourth moment and the first moment.
|