Method for synchronization between active stylus and touch screen, active stylus
A method for synchronization between an active stylus and a touch screen, and an active stylus are provided, which can improve the synchronization speed between the touch screen and the active stylus. The method includes: transmitting a pre-synchronization signal to the touch screen, wherein the pre-synchronization signal is used to determine a target region where the active stylus is located on the touch screen, so that the touch screen transmits an uplink signal in the target region; detecting the uplink signal; and performing, in response to the uplink signal being detected, time synchronization with the touch screen based on the uplink signal.
1 . A method for synchronization between an active stylus and a touch screen, being implemented by the active stylus and comprising:
transmitting a pre-synchronization signal to the touch screen, wherein the pre-synchronization signal is used to determine a target region where the active stylus is located on the touch screen, so that the touch screen transmits an uplink signal in the target region;
detecting the uplink signal;
performing, in response to the uplink signal being detected, time synchronization with the touch screen based on the uplink signal, and
transmitting, in response to the uplink signal, a downlink signal to the touch screen, wherein the downlink signal is used to determine the position of the tip portion of the stylus, wherein a signal length of the pre-synchronization signal is smaller than a signal length of the downlink signal.
2 . The method according to claim 1 , wherein the method further comprises:
stopping, in response to the uplink signal not being detected within a preset duration, transmitting the pre-synchronization signal.
3 . The method according to claim 1 , wherein a frequency point of the pre-synchronization signal is different from a frequency point of the downlink signal; and/or encoding of the pre-synchronization signal is different from encoding of the downlink signal; and/or the pre-synchronization signal is not encoded, while the downlink signal is an encoded signal; and/or a format of the pre-synchronization signal is different from a format of the downlink signal.
4 . The method according to claim 1 , wherein the touch screen comprises a plurality of regions for transmitting the uplink signal, and the plurality of regions include the target region.
5 . A method for synchronization between an active stylus and a touch screen, being implemented by the touch screen and comprising:
detecting a pre-synchronization signal transmitted from the active stylus;
determining, in response to the pre-synchronization signal being detected, a target region where the active stylus is located on the touch screen based on the pre-synchronization signal;
transmitting an uplink signal to the active stylus in the target region, wherein the uplink signal is used to perform time synchronization between the active stylus and the touch screen, and
receiving a downlink signal transmitted from the active stylus, and determining the position of the tip portion of the stylus based on the downlink signal, wherein a signal length of the pre-synchronization signal is smaller than a signal length of the downlink signal.
6 . The method according to claim 5 , wherein the touch screen comprises a plurality of regions for transmitting the uplink signal, and the plurality of regions include the target region.
7 . The method according to claim 6 , wherein the method further comprises:
transmitting, in response to the pre-synchronization signal not being detected within a preset duration, or synchronization between the active stylus and the touch screen failing for N consecutive times, the uplink signal alternately in the plurality of regions, wherein N is a preset positive integer larger than 1.
8 . The method according to claim 6 , wherein the method further comprises:
not transmitting the uplink signal before the pre-synchronization signal is detected; or
transmitting the uplink signal alternately in the plurality of regions before the pre-synchronization signal is detected.
9 . The method according to claim 5 , wherein a frequency point of the pre-synchronization signal is different from a frequency point of the downlink signal; and/or encoding of the pre-synchronization signal is different from encoding of the downlink signal; and/or the pre-synchronization signal is not encoded, while the downlink signal is an encoded signal; and/or a format of the pre-synchronization signal is different from a format of the downlink signal.
10 . An active stylus, comprising:
a transmission module configured to transmit a pre-synchronization signal to a touch screen, wherein the pre-synchronization signal is used to determine a target region where the active stylus is located on the touch screen, so that the touch screen transmits an uplink signal in the target region; and
a receiving module configured to detect the uplink signal, and perform, in response to the uplink signal being detected, time synchronization with the touch screen based on the uplink signal,
wherein the transmission module is further configured to transmit, in response to the uplink signal, a downlink signal to the touch screen, the downlink signal is used to determine the position of the tip portion of the stylus, and a signal length of the pre-synchronization signal is smaller than a signal length of the downlink signal.
11 . The active stylus according to claim 10 , wherein the transmission module is further configured to:
stop, in response to failure to detect the uplink signal by the receiving module within a preset duration, transmitting the pre-synchronization signal.
12 . The active stylus according to claim 10 , wherein a frequency point of the pre-synchronization signal is different from a frequency point of the downlink signal; and/or encoding of the pre-synchronization signal is different from encoding of the downlink signal; and/or the pre-synchronization signal is not encoded, while the downlink signal is an encoded signal; and/or a format of the pre-synchronization signal is different from a format of the downlink signal.
13 . The active stylus according to claim 10 , wherein the touch screen comprises a plurality of regions for transmitting the uplink signal, and the plurality of regions include the target region.