Method for synchronization between active pen and touch screen, active pen and touch screen

By using pre-sync signals during the synchronization process of active pen and touch screen, determining the position of active pen and optimizing the transmission area of ​​the uplink signal, the problem of synchronization failure in slow synchronization speed and noisy environments is solved, and a more efficient and stable writing experience is achieved.

CN120103994APending Publication Date: 2025-06-06SHENZHEN GOODIX TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510184987.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-10-31
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

In the prior art, the synchronization speed between the active pen and the touch screen is slower, and it is easy to cause synchronization failure in a noisy environment, affecting the writing experience.

Method used

By adding a presync signal during the synchronization process, the active pen sends a presync signal to the touch screen to determine its position. The touch screen only sends an uplink signal in the target area where the active pen is located, thereby optimizing synchronization speed and stability.

Benefits of technology

Improves synchronization speed between active pen and touch screen, reduces power consumption and interference to the display, enhances stability of writing response, and ensures synchronization success rate in noisy environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120103994A_ABST
    Figure CN120103994A_ABST
Patent Text Reader

Abstract

The invention provides a method for synchronization between an active pen and a touch screen, the active pen and the touch screen. The synchronization speed between the touch screen and the active pen can be increased. The method is executed by an active pen and comprises the steps that a pre-synchronization signal is sent to a touch screen, and the pre-synchronization signal is used for determining a target area where the active pen is located on the touch screen so that the touch screen can send an uplink signal in the target area; detecting the uplink signal; and if the uplink signal is detected, performing time synchronization with the touch screen according to the uplink signal.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention application with application date of October 31, 2022, application number 202211348482.0, and name “Method for synchronization between active pen and touch screen, active pen and touch screen”. Technical Field

[0002] Embodiments of the present application relate to the field of active pens, and more specifically, to a method for synchronization between an active pen and a touch screen, an active pen, and a touch screen. Background Art

[0003] With the popularity of capacitive screens, the application of capacitive active pens has become more and more widespread. The protocol between the active pen and the touch screen is also constantly evolving, and its development trend has evolved from the early one-way communication to the current two-way communication. However, no matter what communication protocol is adopted, the touch screen and the active pen need to establish a connection in accordance with the signal reception and transmission timing and cycle agreed in the protocol, so that the touch screen can collect the coordinate signal of the active pen, thereby realizing the writing function of the active pen. It can be seen that the working premise of the active pen is to synchronize the timing with the touch screen to establish a connection. For this reason, how to effectively achieve synchronization between the touch screen and the active pen has become a problem that needs to be solved urgently. Summary of the invention

[0004] The embodiments of the present application provide a method for synchronization between an active pen and a touch screen, an active pen, and a touch screen, which can improve the synchronization speed between the touch screen and the active pen.

[0005] In a first aspect, a method for synchronization between an active pen and a touch screen is provided, the method being executed by the active pen, the method comprising: sending a pre-synchronization signal to the touch screen, the pre-synchronization signal being used to determine a target area on the touch screen where the active pen is located, so that the touch screen sends an uplink signal in the target area; detecting the uplink signal; and if the uplink signal is detected, performing time synchronization with the touch screen according to the uplink signal.

[0006] In this embodiment, a pre-synchronization signal is added during the synchronization process between the active pen and the touch screen. The active pen sends the pre-synchronization signal to the touch screen, so that the touch screen can pre-judge the approximate position of the active pen according to the pre-synchronization signal, and then send an uplink signal to the active pen only in the area near the position. Compared with the method of sending uplink signals in the full screen, it reduces the power consumption of the touch screen and its interference to the display screen; compared with the method of sending uplink signals in different areas in turn, it reduces the scanning blind area and scanning delay of the touch screen, optimizes the synchronization speed between the touch screen and the active pen, and improves the stability of the writing response.

[0007] In one implementation, the method further includes: if the uplink signal is not detected within a preset time period, stopping sending the pre-synchronization signal. If the active pen does not detect the uplink signal within the preset time period, it is possible that the user has not used the active pen to write for a period of time. The active pen can only detect the uplink signal and stop sending the pre-synchronization signal, thereby saving power consumption of the active pen.

[0008] In one implementation, the method further includes: sending a downlink signal to the touch screen in response to the uplink signal, wherein the downlink signal is used to determine the pen tip position of the active pen.

[0009] In one implementation, the signal length of the pre-synchronization signal is smaller than the signal length of the downlink signal.

[0010] In one implementation, the frequency of the pre-synchronization signal is different from the frequency of the downlink signal; and / or the encoding of the pre-synchronization signal is different from the encoding of the downlink signal; and / or the pre-synchronization signal is not encoded, and the downlink signal is a coded signal; and / or the format of the pre-synchronization signal is different from the format of the downlink signal.

[0011] In one implementation, the touch screen includes a plurality of areas for sending uplink signals, and the plurality of areas include the target area. By dividing the touch screen into a plurality of areas, and the touch screen only sends the uplink signal in the target area where the active pen is located, the active pen can receive the uplink signal as quickly as possible, the synchronization speed between the touch screen and the active pen is optimized, and the stability of the writing response is improved.

[0012] In a second aspect, a method for synchronization between an active pen and a touch screen is provided, the method being executed by the touch screen, the method comprising: detecting a pre-synchronization signal sent by the active pen; if the pre-synchronization signal is detected, determining a target area on the touch screen where the active pen is located according to the pre-synchronization signal; and sending an uplink signal to the active pen in the target area, the uplink signal being used for time synchronization between the active pen and the touch screen.

[0013] In this embodiment, a pre-synchronization signal is added during the synchronization process between the active pen and the touch screen. The touch screen can pre-determine the approximate position of the active pen by receiving the pre-synchronization signal sent by the active pen, and thus only sends an uplink signal to the active pen in the area near the position. Compared with the method of sending uplink signals in the full screen, it reduces the power consumption of the touch screen and its interference to the display screen; compared with the method of sending uplink signals in different areas in turn, it reduces the scanning blind area and scanning delay of the touch screen, optimizes the synchronization speed between the touch screen and the active pen, and improves the stability of the writing response.

[0014] In one implementation, the touch screen includes a plurality of areas for sending uplink signals, and the plurality of areas include the target area. By dividing the touch screen into a plurality of areas, and the touch screen only sends the uplink signal in the target area where the active pen is located, the active pen can receive the uplink signal as quickly as possible, the synchronization speed between the touch screen and the active pen is optimized, and the stability of the writing response is improved.

[0015] In one implementation, the method further includes: if the pre-synchronization signal is not detected within a preset time period, or the synchronization between the active pen and the touch screen fails N times in a row, sending the uplink signal in turn in the multiple areas, where N is a preset positive integer greater than 1.

[0016] If the pre-synchronization signal is not detected within the preset time, or the synchronization between the active pen and the touch screen fails N times in a row, the touch screen switches to the original synchronization mode of the USI protocol, such as sending uplink signals in turn by region, so as to ensure the compatibility of the protocol.

[0017] In one implementation, the method further includes: before the pre-synchronization signal is detected, not sending the uplink signal, thereby maximizing the power consumption of the touch screen and reducing the interference of the uplink signal on the display of the display screen; or, before the pre-synchronization signal is detected, sending the uplink signal in turn in the multiple areas, thereby ensuring the compatibility of the protocol.

[0018] In one implementation, the method further includes: receiving a downlink signal sent by the active pen, and determining a pen tip position of the active pen according to the downlink signal.

[0019] In one implementation, the signal length of the pre-synchronization signal is smaller than the signal length of the downlink signal.

[0020] In one implementation, the frequency of the pre-synchronization signal is different from the frequency of the downlink signal; and / or the encoding of the pre-synchronization signal is different from the encoding of the downlink signal; and / or the pre-synchronization signal is not encoded, and the downlink signal is a coded signal; and / or the format of the pre-synchronization signal is different from the format of the downlink signal.

[0021] In a third aspect, an active pen is provided, which includes: a transmitting module for sending a pre-synchronization signal to a touch screen, wherein the pre-synchronization signal is used to determine a target area on the touch screen where the active pen is located, so that the touch screen sends an uplink signal in the target area; a receiving module for detecting the uplink signal, and when the uplink signal is detected, performing time synchronization with the touch screen according to the uplink signal.

[0022] In one implementation, the transmitting module is further configured to: if the receiving module fails to detect the uplink signal within a preset time period, stop sending the pre-synchronization signal.

[0023] In one implementation, the transmitting module is further used to: send a downlink signal to the touch screen in response to the uplink signal, and the downlink signal is used to determine the pen tip position of the active pen.

[0024] In one implementation, the signal length of the pre-synchronization signal is smaller than the signal length of the downlink signal.

[0025] In one implementation, the frequency of the pre-synchronization signal is different from the frequency of the downlink signal; and / or the encoding of the pre-synchronization signal is different from the encoding of the downlink signal; and / or the pre-synchronization signal is not encoded, and the downlink signal is a coded signal; and / or the format of the pre-synchronization signal is different from the format of the downlink signal.

[0026] In one implementation, the touch screen includes a plurality of areas for sending uplink signals, and the plurality of areas include the target area.

[0027] In a fourth aspect, a touch screen is provided, comprising: a receiving module for detecting a pre-synchronization signal sent by an active pen; a processing module for determining, when the receiving module detects the pre-synchronization signal, a target area on the touch screen where the active pen is located according to the pre-synchronization signal; and a transmitting module for sending an uplink signal to the active pen in the area where the pen tip is located among multiple areas of the touch screen, wherein the uplink signal is used for time synchronization between the active pen and the touch screen.

[0028] In one implementation, the touch screen includes a plurality of areas for sending uplink signals, and the plurality of areas include the target area.

[0029] In one implementation, the transmitting module is also used to: if the receiving module does not detect the pre-synchronization signal within a preset time length, or the synchronization between the active pen and the touch screen fails N times in a row, send the uplink signal in the multiple areas in turn, where N is a preset positive integer greater than 1.

[0030] In one implementation, the transmitting module is further configured to: not send the uplink signal before detecting the pre-synchronization signal; or, before detecting the pre-synchronization signal, send the uplink signal in turn in the multiple areas.

[0031] In one implementation, the receiving module is further used to receive a downlink signal sent by the active pen, and determine the pen tip position of the active pen according to the downlink signal.

[0032] In one implementation, the signal length of the pre-synchronization signal is smaller than the signal length of the downlink signal.

[0033] In one implementation, the frequency of the pre-synchronization signal is different from the frequency of the downlink signal; and / or the encoding of the pre-synchronization signal is different from the encoding of the downlink signal; and / or the pre-synchronization signal is not encoded, and the downlink signal is a coded signal; and / or the format of the pre-synchronization signal is different from the format of the downlink signal.

[0034] In a fifth aspect, a device for synchronization between an active pen and a touch screen is provided, the device comprising a processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute the method in the first aspect or any possible implementation of the first aspect.

[0035] In a sixth aspect, a device for synchronization between an active pen and a touch screen is provided, the device comprising a processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute the method in the second aspect or any possible implementation of the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a schematic diagram of the principle of using an active pen on a touch screen.

[0037] Figure 2 is a schematic diagram of synchronization between the touch screen and the active pen.

[0038] Figure 3 It is a schematic diagram of signal transmission between the touch screen and the active pen.

[0039] Figure 4 is a schematic diagram of the interference model between the touch screen and the display.

[0040] Figure 5 It is a schematic diagram of the way in which the uplink signal is scanned in turn according to the number of channels.

[0041] Figure 6 It is a process interaction diagram of the synchronization method of an embodiment of the present application.

[0042] Figure 7 It is a timing diagram of synchronization between the active pen and the touch screen when there is no pre-synchronization signal.

[0043] Figure 8 It is a schematic diagram of the touch screen sending uplink signals in turn according to the area.

[0044] Fig. 9It is a timing diagram of synchronization between the active pen and the touch screen when there is a pre-synchronization signal.

[0045] Fig.10 is a schematic diagram of a touch screen sending an uplink signal based on the position of an active pen.

[0046] Fig.11 is a diagram of the flow of operations that the touch screen may perform before synchronization.

[0047] Fig.12 It is a schematic diagram of the operation flow of the active pen when no uplink signal is detected for a long time.

[0048] Fig.13 It is a schematic block diagram of the structure of the active pen of an embodiment of the present application.

[0049] Fig.14 is a schematic block diagram of the structure of a touch screen according to an embodiment of the present application. DETAILED DESCRIPTION

[0050] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0051] When a capacitive active pen (hereinafter referred to as active pen) is actually used, the touch screen needs to obtain the pen tip coordinates of the active pen, so as to display the handwriting of the active pen according to the pen tip coordinates. Figure 1 As shown, a certain number of horizontal and vertical detection electrodes, also called detection channels, are distributed on the touch screen 200. When the driving signal output by the pen tip electrode of the active pen 100 acts on a certain position of the touch screen 200, the horizontal and vertical detection channels corresponding to the position will generate corresponding detection signals. According to the detection signal, the position coordinates of the pen tip of the active pen 100 on the touch screen 200 can be calculated. The driving signal sent by the active pen 100 is also called a coding signal, a pen signal or a downlink signal, etc., and the process of sending the driving signal is called coding.

[0052] At present, electronic devices such as mobile phones, tablet computers, and laptops all support the function of active pens, and users have higher and higher requirements for the performance of active pens. The touch screen of electronic devices needs to detect the touch operation of fingers and the writing operation of active pens. In order to take into account the power consumption problem, the touch screen cannot take up all the time to detect the active pen in real time. Therefore, both the screen and the pen must complete the detection of the pen tip position and the communication between the two according to the agreed time window.

[0053] The active pen and the touch screen are two independent asynchronous communication systems. The touch screen cannot predict when the user will use the active pen to write on the touch screen, that is, the touch screen cannot determine when to start detecting the driving signal emitted by the active pen. Therefore, the active pen and the touch screen must be synchronized in timing, and they need to be synchronized for a long time during the writing process, so that the touch screen can stably and accurately detect the driving signal emitted by the active pen.

[0054] For example, Figure 2 As shown in FIG. 1 , when the occurrence timing of the pen signal of the active pen and the detection window of the touch screen are aligned in time, it means that the touch screen and the active pen are synchronized, so that the touch screen can correctly detect the signal of the active pen and obtain the coordinate position, pressure sensitivity, tilt angle and other information of the active pen. In addition, the touch screen detects the touch of the finger during the time when it does not detect the active pen.

[0055] Generally, there are two ways to achieve synchronization between the touch screen and the active pen. One is that the active pen periodically codes, and the touch screen gradually aligns its detection cycle to the coding cycle of the active pen by frequently detecting pen signals and adjusting its own detection cycle, such as an active pen using the Microsoft Pen Protocol (MPP) protocol; the other is that the touch screen periodically sends beacon signals, such as Direct Sequence Spread Spectrum (DSSS) coded signals, and the active pen detects them. When the active pen detects the correct beacon signal, it transmits a driving signal according to the agreed time delay, thereby achieving synchronization between the touch screen and the active pen, such as an active pen using the Universal Stylus Initiative (USI) protocol.

[0056] For the first synchronization method, the active pen periodically codes and the touch screen synchronizes with the active pen, and the synchronization accuracy is not high; for the second synchronization method, the touch screen sends a beacon signal and the touch screen synchronizes with the active pen. Although the synchronization accuracy is high, the beacon signal has poor anti-interference effect. In a noisy scenario, the active pen may not receive the correct beacon signal, resulting in synchronization failure.

[0057] like Figure 3As shown, for an active pen using the USI protocol, according to the signal transmission direction between the touch screen and the active pen, the signal transmission between the touch screen and the active pen is defined as follows: 1) Uplink signal: a signal generated by the touch chip of the touch screen and sent to the active pen, generally in DSSS format, can be used as a beacon signal to synchronize the timing between the touch screen and the active pen, and can be used to transmit data such as the working frequency and periodic timing required by the touch screen; 2) Downlink signal: a signal generated by the tip electrode of the active pen and sent to the touch screen, generally a high-voltage pulse width modulation (PMW) signal of 10V to 40V, and can use modulation methods such as amplitude shift keying (ASK), frequency shift keying (FSK), and phase shift keying (PSK) to transmit pen tip pressure, power and other data.

[0058] At present, some new active pen protocols have added an uplink synchronization method, that is, the touch chip of the touch screen uses DSSS spread spectrum coding to periodically transmit uplink synchronization signals to the touch screen, such as beacon signals. The active pen periodically opens a window for receiving and detecting uplink signals. When the active pen is close to the touch screen, it will detect the beacon signal and use this signal as the time anchor point for screen-pen interaction to complete the precise synchronization of the screen-pen timing. The above-mentioned USI active pen protocol is the most typical universal protocol using uplink synchronization.

[0059] This type of active pen has the following advantages: bidirectional communication between the touch screen and the active pen is achieved through uplink signals and downlink signals; synchronization between the touch screen and the active pen is achieved through uplink signals with higher synchronization accuracy. However, this type of active pen also has the following defects: first, before the active pen approaches the touch screen, it is impossible to predict the writing position of the active pen on the touch screen, and the touch screen needs to transmit uplink signals on the full screen, which brings about greater power consumption, and due to the large signal energy, the uplink signal is easy to interfere with the display screen, affecting the display effect of the display screen; secondly, the uplink signal is easily interfered by the external environment, and the interfered uplink signal may not be correctly received by the active pen, resulting in the failure of synchronization between the touch screen and the active pen, so that the active pen cannot write normally. For example, interference from chargers, power grids, and electromagnetic noise in space may affect the normal use of the active pen.

[0060] Figure 4 The schematic diagram of the interference model between the touch screen and the display screen is shown. As the thickness of electronic devices decreases, especially for products such as flexible screens and folding screens, the distance between the cathode plate of the display screen and the touch sensor becomes shorter, and the coupling capacitance C between the two becomes shorter.T Increase, the signal interference between the display screen and the touch screen increases. When the touch screen transmits an uplink signal, if the driving voltage is too high or the number of driving channels is large, it will affect the display effect of the display screen, causing screen flickering, water ripples and other phenomena that users cannot accept. Figure 4 As shown, the excitation signal of the touch chip affects the display effect of the display screen. When the voltage V gate When turned on, the excitation signal of the touch chip is coupled to the data line driven by the display screen through the cathode plate, affecting the gate voltage V of the MOS tube in the display drive circuit. G , which directly affects the current of the light-emitting diodes in the display screen, and then affects the display effect of the display screen.

[0061] In order to reduce the impact of the uplink signal on the display screen, the touch screen can adopt a method of scanning in turn according to the number of channels when transmitting the uplink signal. For example, Figure 5 As shown, the detection channels of the entire screen are divided into three groups of complementary channels: upper, middle and lower. Figure 5 Taking 44 channels as an example, usually, the channel used to transmit the driving signal is called the Tx channel, and the channel used to output the corresponding detection signal is called the Rx channel. Figure 5 Take the Tx channel as an example. The touch chip uses the first group of channels and positive and negative coding to send uplink signals in the first cycle, the touch chip uses the second group of channels and positive and negative coding to send uplink signals in the second cycle, and the touch chip uses the third group of channels and positive and negative coding to send uplink signals in the third cycle. In this way, 3 cycles are required to scan the entire screen. Although this approach reduces the impact of the uplink signal on the display screen, it obviously leads to an increase in the scanning time of the uplink signal, from 1 cycle to 3 cycles, which delays the time for the touch screen to detect the pen signal by 2 to 3 cycles, thereby slowing down the pen feed speed, causing problems such as missed responses when the pen writes quickly or clicks, seriously affecting the user's writing experience.

[0062] This method of scanning in turn according to the number of channels also has the problem of poor anti-interference ability. Environmental interference such as display noise, charger, lamp flickering, etc. may affect the signal detection between the touch screen and the active pen, resulting in the pen being unable to synchronize correctly when writing, disconnecting when writing, and being unable to be used normally when the interference is serious.

[0063] To this end, the present application provides a synchronization solution to solve the problem that the touch screen and the active pen cannot be effectively synchronized. By adding a downlink pre-synchronization signal, the touch screen can pre-judge the approximate position of the active pen on the touch screen according to the pre-synchronization signal, and transmit an uplink signal in a local area of ​​the touch screen according to the position, thereby ensuring that the active pen can receive the uplink signal in the vicinity of the touch screen when it is close to the touch screen, thereby reducing the uncertainty of the scanning blind area and scanning delay of the uplink signal, optimizing the synchronization speed, and improving the stability of the writing response, while retaining compatibility with the USI protocol.

[0064] The following, combined Figures 6 to 10 , the technical solution of this application is described in detail.

[0065] Figure 6 A flow chart of the synchronization method according to an embodiment of the present application is shown. Figure 6 The method shown is performed by the active pen and the touch screen to achieve time synchronization between the active pen and the touch screen, hereinafter referred to as synchronization. Figure 6 As shown, method 300 includes some or all of the following steps.

[0066] In step 310, the active pen sends a pre-synchronization signal to the touch screen.

[0067] The pre-synchronization signal is used to determine the target area where the active pen is located on the touch screen.

[0068] In step 320, the touch screen detects a pre-synchronization signal sent by the active pen.

[0069] If the touch screen detects the pre-synchronization signal sent by the active pen, that is, the touch screen successfully receives the pre-synchronization signal, step 330 is executed.

[0070] In step 330, the touch screen determines the target area where the active pen is located on the touch screen according to the pre-synchronization signal.

[0071] For example, the touch screen includes multiple areas for sending uplink signals, and the multiple areas include the target area, which is the area where the active pen is located in the multiple areas; for example, the target area can be an area within a preset range near the active pen, such as the area where a preset number of channels near the active pen are located.

[0072] In step 340, the touch screen sends an uplink signal to the active pen in the target area.

[0073] The uplink signal is used for time synchronization between the active pen and the touch screen, and can also be called a synchronization signal, such as the beacon signal mentioned above. In addition, the uplink signal can also carry data such as the working frequency and working cycle of the touch screen.

[0074] In step 350, the active pen detects an uplink signal sent by the touch screen in the target area.

[0075] If the active pen detects the uplink signal sent by the touch screen, that is, the active pen successfully receives the uplink signal, step 360 is executed.

[0076] In step 360, the active pen performs time synchronization with the touch screen according to the uplink signal.

[0077] Since a pre-synchronization signal is added during the synchronization process between the active pen and the touch screen, the active pen sends the pre-synchronization signal to the touch screen, so that the touch screen can pre-judge the approximate position of the active pen based on the pre-synchronization signal, and thus send an uplink signal to the active pen only in the area near the position.

[0078] Compared with the above-mentioned method of sending uplink signals in full screen, the synchronization method of the present application reduces the power consumption of the touch screen and its interference to the display screen; compared with the method of sending uplink signals in different areas in turn, the synchronization method of the present application reduces the scanning blind area and scanning delay, optimizes the synchronization speed between the touch screen and the active pen, and improves the stability of the writing response.

[0079] In one implementation, method 300 also includes: in response to the uplink signal, the active pen sends a downlink signal to the touch screen, and the downlink signal includes, for example, information such as pressure, power, pen tip position, ACK, etc. of the active pen; accordingly, method 300 also includes: the touch screen receives the downlink signal sent by the active pen, and determines information such as the pen tip position of the active pen based on the downlink signal.

[0080] It should be understood that in the embodiment of the present application, the pre-synchronization signal can only be used to roughly determine the position of the active pen. Since the touch screen and the active pen are not synchronized at this time, the downlink signal received by the touch screen may be incomplete, so it cannot be used to calculate the accurate coordinates, and can only indicate that the active pen is roughly close to the touch screen in a certain area. After the touch screen and the active pen are synchronized, the touch screen can obtain the complete downlink signal sent by the active pen, and use it to accurately determine the position of the pen tip of the active pen.

[0081] The touch screen can determine whether it is currently synchronized with the active pen. For example, if it does not receive a response from the active pen after sending a synchronization signal, it can be considered that the two are not yet synchronized. At this time, the signal it receives can be considered as a pre-synchronization signal, and the target area where the active pen is located is determined based on the pre-synchronization signal, and the synchronization signal is sent in the target area.

[0082] The pre-synchronization signal and the downlink signal used to determine the pressure, power, pen tip position and other information of the active pen can be the same or different. For example, the frequency of the pre-synchronization signal and the downlink signal can be different; or, the encoding of the pre-synchronization signal and the downlink signal is different; or, the pre-synchronization signal can be unencoded and only be a high-voltage pulse width modulation (PWM) square wave, while the downlink signal is an encoded signal carrying the above-mentioned pressure, power, pen tip position and other information; or, the format of the pre-synchronization signal is different from the format of the downlink signal. Usually, in order to improve the efficiency of synchronization, the length of the pre-synchronization signal will be smaller than the length of the downlink signal.

[0083] The touch screen sends an uplink signal to the active pen through the TX channel and / or the Rx channel, and detects the downlink signal sent by the active pen through the TX channel and / or the Rx channel. Usually, before the active pen and the touch screen are synchronized, only the Tx channel can be used to send and / or receive signals; after the active pen and the touch screen are synchronized, since the pen tip position of the active pen can be accurately obtained, the signal can be sent and / or received through the Tx channel and the Rx channel corresponding to the pen tip position of the active pen.

[0084] For example, the touch screen can detect the pre-synchronization signal sent by the active pen through the Tx channel, for example, the area where the Tx channel that detects the pre-synchronization signal is located can be determined as the target area; for another example, after the active pen detects the pre-synchronization signal and determines the target area where the active pen is located based on the pre-synchronization signal, an uplink signal can be sent to the active pen through the Tx channel in the target area; for another example, after the touch screen and the active pen are synchronized, the touch screen can send an uplink signal to the active pen through the Tx channel and Rx channel corresponding to the pen tip position of the active pen in a time-sharing or simultaneous manner; for another example, after the touch screen and the active pen are synchronized, the touch screen can detect the downlink signal sent by the active pen through the Tx channel and the Rx channel, and determine the two-dimensional coordinates of the pen tip of the active pen based on the Tx channel and the Rx channel that detect the downlink signal.

[0085] Figure 7 The timing diagram of synchronization between the active pen and the touch screen when there is no pre-synchronization signal is shown. The touch screen periodically sends an uplink signal, and only when the active pen detects the uplink signal will it enter the synchronization state and generate coding signals such as pressure, power, pen tip position, and acknowledgment (ACK) for the touch screen to detect information such as the pen tip position and pressure of the active pen.

[0086] Since sending the uplink signal in full screen will cause great interference to the display screen and bring about great power consumption, as mentioned above, a method of sending the uplink signal in turns in partitions can be adopted. Figure 8The schematic diagram shows that the touch screen sends the uplink signal in turn according to the area. Taking three areas, namely area 1, area 2 and area 3, as an example, the touch screen starts from area 1 and cyclically sends the uplink signal in area 1, area 2 and area 3 in turn. Assuming that the active pen is writing at the bottom of the touch screen and the active pen is at the bottom of the touch screen, the active pen needs to wait until the third cycle to enter the synchronization state and start writing normally. Assuming that the synchronization between the active pen and the touch screen is not successful in the third cycle due to environmental noise and other reasons, the active pen needs to wait for another 3 cycles before it can be synchronized again. In this way, the pen input time is uncertain, and a synchronization failure will generate an additional 3-cycle delay, resulting in slow response when the user writes and missed response to the first pen, which seriously affects the user experience.

[0087] And adopt the two-way synchronization mechanism of this application, for example, Fig. 9 The figure shows the timing of synchronization between the active pen and the touch screen when there is a pre-synchronization signal. In addition to the uplink signal, the pre-synchronization signal is also added during the synchronization process. In each cycle, the active pen still detects the uplink signal normally, and uses the idle time to transmit a downlink pre-synchronization signal. Fig. 9 As shown, the active pen needs to send a pre-synchronization signal and detect an uplink signal during its cycle, and the touch screen needs to send an uplink signal, detect a pre-synchronization signal, and detect a finger during its cycle. If the touch screen detects the pre-synchronization signal of the active pen, it will specifically transmit an uplink signal in the area corresponding to the pre-synchronization signal, which happens to be the approximate area where the active pen is located. In this way, the active pen can receive the uplink signal as quickly as possible, which optimizes the synchronization speed between the touch screen and the active pen and improves the stability of the writing response. After the active pen and the touch screen are synchronized, the pre-synchronization signal may no longer be sent and detected in the next cycle; if the synchronization is not successful, the pre-synchronization signal may continue to be sent and detected in the next cycle, for example Fig. 9 shown.

[0088] It should be understood that the active pen can detect the uplink signal first and then send the pre-synchronization signal in its cycle, or it can send the pre-synchronization signal first and then detect the uplink signal. The touch screen can detect the pre-synchronization signal first and then send the uplink signal in its cycle, or it can send the uplink signal first and then detect the pre-synchronization signal. Fig. 9 This is just an example, and it is taken that the pre-synchronization signal is sent and detected first, and then the uplink signal is sent and detected.

[0089] Fig.10 A schematic diagram showing the touch screen sending an uplink signal based on the position of the active pen is shown. Figure 8Taking the three areas shown in FIG. 1 , area 1, area 2 and area 3 as an example, after adding the pre-synchronization signal, the touch screen can pre-determine the approximate area where the active pen is located based on the pre-synchronization signal, and directly send the uplink signal in the target area where the active pen is located. Taking the Tx channel as an example, Fig.10 (a), assuming that the active pen writes at the bottom of the touch screen, the active pen is located at the bottom of the touch screen, then the channels in the shaded part will detect the pre-synchronization signal of the active pen, and these detection channels are located in area 3 among the three areas; therefore, Fig.10 As shown in (b), the touch screen uses area 3 as the target area and sends an uplink signal on the channel within the target area for synchronization between the active pen and the touch screen; Fig.10 As shown in (c) and (d), in the subsequent cycle, the touch screen and the active pen keep synchronization, and the active pen and the touch screen no longer need to send and detect pre-synchronization signals. When the active pen is writing, Fig.10 As shown in (c) and (d), the touch screen and the active pen can send uplink signals only on a few channels near the pen tip position, i.e., the channels in the shadow area. Fig.10 The area of ​​the region shown in (c) and (d) (or the number of detection channels corresponding to the region) can usually be smaller than the area of ​​each region in region 1, region 2, and region 3 (or the area of ​​the detection channels corresponding to each region). Of course, in the case of severe interference, the area of ​​region 1, region 2, and region 3 cannot be set larger, then Fig.10 The area of ​​the reference region shown in (c) and (d) may also be equal to the area of ​​each of regions 1, 2 and 3.

[0090] When using the pre-synchronization signal for synchronization, it usually only takes one cycle for the active pen to receive the correct uplink signal and enter the synchronization state. Even if the active pen fails to successfully receive the uplink signal in an interference environment, the touch screen will continue to send the uplink signal in the target area where the pen tip is located according to the pre-synchronization signal in the next few cycles to ensure that the active pen can correctly receive the uplink signal.

[0091] In one implementation, the method 300 further includes: the touch screen does not send an uplink signal before detecting the pre-synchronization signal; or the touch screen sends an uplink signal in multiple areas in turn before detecting the pre-synchronization signal.

[0092] Specifically, the touch screen may not send an uplink signal before detecting a pre-synchronization signal. For example, before the active pen approaches the touch screen, i.e. before the pen is moved, the touch screen may not send an uplink signal and only detect the pre-synchronization signal. The uplink signal is then started to be sent after the pre-synchronization signal is detected, thereby saving the power consumption of the touch screen to the greatest extent and reducing the interference of the uplink signal on the display of the display screen.

[0093] Before detecting the pre-synchronization signal sent by the active pen, the touch screen can also send both uplink signals and detect downlink signals in each cycle, for example, based on the USI protocol, uplink signals are sent in turn in multiple areas to ensure protocol compatibility. Fig.11 It shows the operations that the touch screen may perform before synchronization is successful, such as Fig.11 As shown, in step 301, the touch screen periodically sends an uplink signal, for example, sending an uplink signal in turn in a plurality of predetermined areas;

[0094] In step 302, the touch screen determines whether a pre-synchronization signal is detected;

[0095] If the touch screen detects the pre-synchronization signal, step 303 is executed; if the touch screen does not detect the pre-synchronization signal, step 304 is executed;

[0096] In step 303, the touch screen sends an uplink signal in the target area where the active pen is located;

[0097] For example, the touch screen determines a target area where the active pen is located in a plurality of predetermined areas according to the pre-synchronization signal, and sends an uplink signal only in the target area;

[0098] In step 304, the touch screen sends uplink signals in a plurality of predetermined areas in turn.

[0099] In one implementation, if the touch screen does not detect a pre-synchronization signal within a preset time, or the active pen fails to synchronize with the touch screen N times in a row, where N is a preset positive integer greater than 1, the touch screen switches to the original synchronization mode of the USI protocol, thereby ensuring the compatibility of the protocol. For example, if the touch screen does not detect a pre-synchronization signal within a preset time, or the active pen fails to synchronize with the touch screen N times in a row, the touch screen switches to a synchronization mode that sends uplink signals in multiple areas in turn.

[0100] In one implementation, if the active pen does not detect an uplink signal within a preset time, the active pen stops sending a pre-synchronization signal. If the active pen does not detect an uplink signal within a preset time, such as 3 minutes, it is possible that the user has not used the active pen to write for a while. The active pen can only detect the uplink signal and stop sending the pre-synchronization signal, thereby saving power consumption of the active pen. Fig.12 The operation performed by the active pen shown, in step 305, the active pen detects an uplink signal;

[0101] In step 306, the active pen determines whether no uplink signal is detected within a preset time period;

[0102] If the active pen detects an uplink signal, step 307 is executed; if the active pen does not detect an uplink signal within a preset time period, it is possible that the user has not used the active pen to write for a period of time. The active pen can switch to the original synchronization mode of the USI protocol, no longer send a pre-synchronization signal, and only detect the uplink signal to save power consumption of the active pen;

[0103] In step 307, the active pen sends a pre-synchronization signal.

[0104] In summary, the embodiment of the present application increases the speed of timing synchronization between the touch screen and the active pen by adding a pre-synchronization signal during the synchronization process, and shortens the synchronization time by 2 frames, usually 32ms, compared with the method of only using the divided area scanning method. Especially in the scene with noise interference, the synchronization method of the present application ensures stable synchronization between the touch screen and the active pen.

[0105] In addition, the synchronization method of the present application solves the problem that the active pen cannot be used normally due to the increase in uplink signal noise and the failure of pen-end synchronization in scenarios such as a high-noise display screen, interference from the charger, and interference from the outside of the touch screen.

[0106] After actual verification, in an environment with noise interference, when the user clicks multiple times with a pen, there is a probability of more than 50% that the user's click operation will be missed due to slow synchronization when using the original USI protocol. After adopting the synchronization method of this application, the success rate of user click operations in the same environment reaches more than 90%, and there is only less than 10% probability of missed response, thus greatly optimizing the user experience in a noisy environment.

[0107] In addition, the synchronization method of the present application is well compatible with the synchronization mechanism of the original USI protocol and does not affect the interchangeable use of the existing active pen and touch screen based on the USI protocol.

[0108] like Fig.13 As shown, the present application also provides an active pen. Fig.13 As shown, the active pen 100 includes:

[0109] The transmitting module 110 is used to send a pre-synchronization signal to the touch screen, wherein the pre-synchronization signal is used to determine a target area on the touch screen where the active pen is located, so that the touch screen sends an uplink signal in the target area;

[0110] The receiving module 120 is configured to detect the uplink signal, and when the uplink signal is detected, perform time synchronization with the touch screen according to the uplink signal.

[0111] In one implementation, the transmitting module 110 is further configured to: if the receiving module fails to detect the uplink signal within a preset time period, stop sending the pre-synchronization signal.

[0112] In one implementation, the transmitting module 110 is further used to send a downlink signal to the touch screen in response to the uplink signal, wherein the downlink signal is used to determine the position of the pen tip of the active pen.

[0113] In one implementation, the signal length of the pre-synchronization signal is smaller than the signal length of the downlink signal.

[0114] In one implementation, the frequency of the pre-synchronization signal is different from the frequency of the downlink signal; and / or the encoding of the pre-synchronization signal is different from the encoding of the downlink signal; and / or the pre-synchronization signal is not encoded, and the downlink signal is a coded signal; and / or the format of the pre-synchronization signal is different from the format of the downlink signal.

[0115] In one implementation, the touch screen includes a plurality of areas for sending uplink signals, and the plurality of areas include the target area.

[0116] It should be understood that the specific details of the active pen 100 can refer to the above description of the operations performed by the active pen in the method 300, and for the sake of brevity, they are not repeated here.

[0117] like Fig.14 As shown, the present application also provides a touch screen. Fig.14 As shown, the touch screen 200 includes:

[0118] The receiving module 210 is used to detect the pre-synchronization signal sent by the active pen;

[0119] A processing module 220, configured to determine a target area on the touch screen where the active pen is located according to the pre-synchronization signal when the receiving module detects the pre-synchronization signal;

[0120] The transmitting module 230 is used to send an uplink signal to the active pen in the area where the pen tip is located among the multiple areas of the touch screen, and the uplink signal is used for time synchronization between the active pen and the touch screen.

[0121] In one implementation, the transmitting module 230 is further configured to: the touch screen includes a plurality of areas for sending uplink signals, and the plurality of areas include the target area.

[0122] In one implementation, the touch screen 200 includes a plurality of groups of transmission channels for sending the uplink signal, and the plurality of areas are areas where the plurality of groups of transmission channels are located.

[0123] In one implementation, the transmitting module 230 is further configured to: not send the uplink signal before detecting the pre-synchronization signal; or, before detecting the pre-synchronization signal, send the uplink signal in turn in the multiple areas.

[0124] In one implementation, the receiving module 210 is further configured to receive a downlink signal sent by the active pen, and determine the pen tip position of the active pen according to the downlink signal.

[0125] In one implementation, the signal length of the pre-synchronization signal is smaller than the signal length of the downlink signal.

[0126] In one implementation, the frequency of the pre-synchronization signal is different from the frequency of the downlink signal; and / or the encoding of the pre-synchronization signal is different from the encoding of the downlink signal; and / or the pre-synchronization signal is not encoded, and the downlink signal is a coded signal; and / or the format of the pre-synchronization signal is different from the format of the downlink signal.

[0127] It should be understood that the specific details of the touch screen 200 can refer to the aforementioned description of the operations performed by the touch screen in the method 300, and for the sake of brevity, they are not repeated here.

[0128] The present application also provides a device for synchronization between an active pen and a touch screen, the device comprising a processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute the steps executed by the active pen in any of the above embodiments, or to execute the steps executed by the touch screen.

[0129] The present application also provides a communication system, which includes the active pen and touch screen in any of the above embodiments.

[0130] The touch screen in the embodiment of the present application can be a touch screen in an electronic device. As an example but not limitation, the electronic device can be a portable or mobile computing device such as a terminal device, a mobile phone, a tablet computer, a laptop computer, a desktop computer, a gaming device, an in-vehicle electronic device or a wearable smart device, as well as other electronic devices such as an electronic database, a car, and an automated teller machine (ATM). The wearable smart device includes a device with full functions and large size that can realize full or partial functions without relying on a smart phone, such as a smart watch or smart glasses, and includes a device that only focuses on a certain type of application function and needs to be used in conjunction with other devices such as a smart phone, such as various smart bracelets and smart jewelry for vital sign monitoring.

[0131] It should be noted that, under the premise of no conflict, the various embodiments described in this application and / or the technical features in each embodiment can be arbitrarily combined with each other, and the technical solution obtained after the combination should also fall within the protection scope of this application.

[0132] The systems, devices and methods disclosed in the embodiments of the present application may be implemented in other ways. For example, some features of the method embodiments described above may be ignored or not performed. The device embodiments described above are merely schematic, and the division of units is merely a logical function division. There may be other division methods in actual implementation, and multiple units or components may be combined or integrated into another system. In addition, the coupling between the units or the coupling between the components may be direct coupling or indirect coupling, and the coupling may include electrical, mechanical or other forms of connection.

[0133] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described devices and equipment and the technical effects produced can refer to the corresponding processes and technical effects in the aforementioned method embodiments, and will not be repeated here.

[0134] It should be understood that the specific examples in the embodiments of the present application are only to help those skilled in the art to better understand the embodiments of the present application, rather than to limit the scope of the embodiments of the present application. Those skilled in the art can make various improvements and modifications based on the above embodiments, and these improvements or modifications all fall within the scope of protection of the present application.

[0135] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for synchronization between an active pen and a touch screen, It is characterized in that The method is performed by an active pen, and the method includes: Sending a pre-synchronization signal to the touch screen, wherein the pre-synchronization signal is used to determine a target area on the touch screen where the active pen is located, so that the touch screen sends an uplink signal in the target area; detecting the uplink signal; In response to the uplink signal, sending a downlink signal to the touch screen, wherein the downlink signal is used to determine the pen tip position of the active pen and / or transmit data of the active pen; The signal length of the pre-synchronization signal is smaller than the signal length of the downlink signal.

2. The method according to claim 1, It is characterized in that The frequency of the pre-synchronization signal is different from the frequency of the downlink signal; and / or the encoding of the pre-synchronization signal is different from the encoding of the downlink signal; and / or the pre-synchronization signal is not encoded and the downlink signal is a coded signal; and / or the format of the pre-synchronization signal is different from the format of the downlink signal.

3. The method according to claim 1 or 2, It is characterized in that The uplink signal includes: a synchronization signal and / or a data signal of the touch screen.

4. The method according to claim 3, It is characterized in that The method further comprises: If the uplink signal is detected, time synchronization and / or data synchronization is performed with the touch screen according to the uplink signal.

5. The method according to claim 4, It is characterized in that The method further comprises: If the uplink signal is not detected within a preset time period, the sending of the pre-synchronization signal is stopped.

6. The method according to claim 1 or 2, It is characterized in that The touch screen includes a plurality of areas for sending uplink signals, and the plurality of areas include the target area.

7. A method for synchronization between an active pen and a touch screen, It is characterized in that The method is performed by a touch screen, and the method includes: Detecting a pre-synchronization signal sent by the active pen; If the pre-synchronization signal is detected, determining a target area on the touch screen where the active pen is located according to the pre-synchronization signal; sending an uplink signal to the active pen in the target area, so that the active pen sends a downlink signal in response to the uplink signal; receiving a downlink signal sent by the active pen, wherein the downlink signal is used to determine the tip position of the active pen and / or transmit data of the active pen; The signal length of the pre-synchronization signal is smaller than the signal length of the downlink signal.

8. The method according to claim 7, It is characterized in that The uplink signal includes: a synchronization signal and / or a data signal of the touch screen.

9. The method according to claim 8, It is characterized in that The uplink signal is used for time synchronization and / or data synchronization between the active pen and the touch screen.

10. The method according to any one of claims 7 to 9, It is characterized in that The touch screen includes a plurality of areas for sending uplink signals, and the plurality of areas include the target area.

11. The method according to claim 10, It is characterized in that The method further comprises: If the pre-synchronization signal is not detected within a preset time period, or the synchronization between the active pen and the touch screen fails N times in succession, the uplink signal is sent in turn in the multiple areas, where N is a preset positive integer greater than 1.

12. The method according to claim 10, It is characterized in that The method further comprises: Before detecting the pre-synchronization signal, not sending the uplink signal; or, Before the pre-synchronization signal is detected, the uplink signal is sent in turn in the multiple areas.

13. The method according to any one of claims 7 to 9, It is characterized in that The frequency of the pre-synchronization signal is different from the frequency of the downlink signal; and / or the encoding of the pre-synchronization signal is different from the encoding of the downlink signal; and / or the pre-synchronization signal is not encoded and the downlink signal is a coded signal; and / or the format of the pre-synchronization signal is different from the format of the downlink signal.

14. An active pen, It is characterized in that The active stylus is used to execute the method according to any one of claims 1 to 6.

15. A touch screen, It is characterized in that The touch screen is used to execute the method according to any one of claims 7 to 13.

16. A device for synchronization between an active pen and a touch screen, It is characterized in that The device includes a processor and a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method of any one of claims 1 to 6, or execute the method of any one of claims 7 to 13.