Interaction methods between active devices and touch display devices, touch processors, touch display devices, and touch systems

CN122095339APending Publication Date: 2026-05-26BOE TECHNOLOGY GROUP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BOE TECHNOLOGY GROUP CO LTD
Filing Date
2024-09-26
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

In existing technologies, In-Cell, LTDI, and TDDI architectures cannot improve the accuracy of time synchronization signals through crystal oscillators, resulting in insufficient communication accuracy between the active pen and the touch display device, which affects performance.

Method used

By adjusting the time frame structure of the touch display device, the time synchronization signal of the display area and the blanking area is extended, and the duration of the time synchronization signal and the arrangement of the touch period are optimized without the aid of a crystal oscillator, so as to ensure that the downlink signal is correctly received in the corresponding touch period.

Benefits of technology

The accuracy of the time synchronization signal has been improved, enhancing the communication performance between the active pen and the touch display device and ensuring the accuracy and stability of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122095339A_ABST
    Figure CN122095339A_ABST
Patent Text Reader

Abstract

This disclosure provides an interaction method between an active device and a touch display device, a touch processor, a touch display device, and a touch system. A time frame of the touch display device, related to the display refresh rate, includes a display area and a blanking area. The interaction method includes: when the touch display device receives a downlink signal sent by an active device within the duration of the i-th time synchronization signal in the display area, during the touch period of the i-th time synchronization signal, a touch sensor senses the touch signal included in the downlink signal to detect the touch of the active device on the touch display device. The display area includes N time synchronization signals, where N is a natural number greater than 1. Each time synchronization signal includes a display period and a touch period. The N display periods and N touch periods in the display area alternate with each other. The downlink period corresponding to the downlink signal is included in the touch period of the i-th time synchronization signal, where 1 ≤ i ≤ N.
Need to check novelty before this filing date? Find Prior Art

Description

Method for interaction between active device and touch display device, touch processor, touch display device and touch system TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of display, and in particular to a method for interaction between an active device and a touch display device, a touch processor, a touch display device and a touch system. BACKGROUND

[0002] With the development and progress of information technology, people's demand for touch display devices that have both touch function and display function is gradually increasing. Display devices such as liquid crystal display devices, organic light-emitting diode display devices and plasma display devices can be combined with touch function to form touch display devices. Touch display devices allow users to input information or commands in an intuitive and convenient way without using components such as keys, keyboards or mice. Currently, pen touch technology can realize communication between active devices such as active pens and touch display devices, and realize bidirectional data transmission between pens and touch display devices.

[0003] SUMMARY

[0004] In a first aspect of the present disclosure, a method for interaction between an active device and a touch display device is provided, wherein a time frame related to a display refresh rate of the touch display device includes a display area and a blanking area, and the method includes: in a case where the touch display device receives a downlink signal sent by the active device within a time length of an i th time synchronization signal of the display area, sensing a touch signal included in the downlink signal via a touch sensor in a touch period of the i th time synchronization signal to detect a touch of the active device on the touch display device, wherein the display area includes N time synchronization signals, N is a natural number greater than 1, each time synchronization signal includes a display period and a touch period, the N display periods and the N touch periods in the display area are alternated with each other, the downlink period corresponding to the downlink signal is included in the touch period of the i th time synchronization signal, and 1≤i≤N.

[0005] In some embodiments, the start time of the touch period of the i th time synchronization signal is earlier than or equal to the start time of the downlink period, and the time length of the touch period of the i th time synchronization signal is greater than the time length of the downlink period.

[0006] In some embodiments, the difference between the start time of the touch period of the i th time synchronization signal and the start time of the downlink period decreases as i increases; and / or, the difference between the end time of the touch period of the i th time synchronization signal and the end time of the downlink period increases as i increases.

[0007] In some embodiments, the difference between the start time of the touch period of the first time synchronization signal and the start time of the downlink period is greater than the difference between the end time of the touch period of the first time synchronization signal and the end time of the downlink period; the difference between the start time of the touch period of the Nth time synchronization signal and the start time of the downlink period is less than the difference between the end time of the touch period of the Nth time synchronization signal and the end time of the downlink period.

[0008] In some embodiments, the end time of the touch period of the first time synchronization signal is consistent with the end time of the downlink period; and / or, the start time of the touch period of the Nth time synchronization signal is consistent with the start time of the downlink period.

[0009] In some embodiments, the N display periods in the display area have the same length; the N touch periods in the display area have the same length; the length of the display period of the ith time synchronization signal is greater than the length of the touch period of the ith time synchronization signal.

[0010] In some embodiments, in the time frame, the display area includes part of a blanking area defined by a predetermined protocol.

[0011] In some embodiments, the end time of the display area is the end time of the touch period of the Nth time synchronization signal.

[0012] In some embodiments, the time frame further includes an uplink period, and the interaction method further includes: the touch display device sends an uplink signal to the active device in the uplink period.

[0013] In some embodiments, the uplink period is located in the blanking area, wherein the blanking area is located between two adjacent display areas, and the end time of the uplink period is earlier than or equal to the end time of the blanking area.

[0014] In some embodiments, the uplink period is located in the display area, wherein the uplink period is located before the first time synchronization signal in the display area, and the uplink period is adjacent to the display period of the first time synchronization signal.

[0015] In some embodiments, the method further comprises: determining, by the touch display device, the length of the touch period of the time synchronization signal comprises: determining the length of the time synchronization signal according to the data enable signal, wherein the length of the time synchronization signal is the minimum candidate length of the candidate length set of the time synchronization signal that is greater than the predetermined length of the time synchronization signal; determining a first offset parameter according to the length of the time synchronization signal, the predetermined length of the time synchronization signal, and the number of touch periods in the display area; determining the first length of the display period in the time synchronization signal according to the data enable signal, wherein the first length of the display period is the minimum candidate length of the candidate length set of the display period that is greater than the predetermined length of the display period; determining a second offset parameter according to the first length of the display period and the predetermined length of the display period; and determining the length of the touch period according to the first offset parameter and the second offset parameter.

[0016] In some embodiments, the determining the length of the touch period comprises: in a case that the uplink period is located in the blanking area, determining a first length parameter according to the first offset parameter, the second offset parameter, and the predetermined length of the touch period; determining a second length parameter according to the length of the time synchronization signal and the first length parameter; determining the second length of the display period according to the data enable signal, wherein the second length of the display period is the maximum candidate length of the candidate length set of the display period that is less than the second length parameter; and determining the length of the touch period according to the length of the time synchronization signal and the second length of the display period.

[0017] In some embodiments, the determining the length of the touch period comprises: in a case that the uplink period is located before the first time synchronization signal in the display area, determining the length of the uplink period according to the data enable signal, wherein the length of the uplink period is the minimum candidate length of the candidate length set of the uplink period that is greater than the predetermined length of the uplink period; determining a third length parameter according to the first offset parameter, the second offset parameter, the predetermined length of the touch period, the length of the uplink period, and the predetermined length of the uplink period; determining a fourth length parameter according to the length of the time synchronization signal and the third length parameter; determining the second length of the display period according to the data enable signal, wherein the second length of the display period is the maximum candidate length of the candidate length set of the display period that is less than the fourth length parameter; and determining the length of the touch period according to the length of the time synchronization signal and the second length of the display period.

[0018] In a second aspect of the present disclosure, a touch processor is provided, comprising: a memory; a processor coupled to the memory, the processor configured to implement the method according to any one of the above embodiments based on instructions stored in the memory.

[0019] In some embodiments, the processor comprises a driving circuit with a large-size touch display integration (LTDI) architecture, or a driving circuit with a touch and display driver integration (TDDI) architecture.

[0020] In a third aspect of the present disclosure, a touch display device is provided, comprising: a touch sensor; a touch processor according to any one of the above embodiments.

[0021] In a fourth aspect of the present disclosure, a touch system is provided, comprising: a touch display device according to any one of the above embodiments; an active device configured to send a downlink signal to the touch display device in response to receiving an uplink signal, the downlink signal comprising a touch signal of the active device.

[0022] According to a fifth aspect of the present disclosure, a computer readable storage medium is provided, wherein the computer readable storage medium stores computer instructions, and the instructions, when executed by a processor, implement the method according to any one of the above embodiments.

[0023] According to a sixth aspect of the present disclosure, a computer program is provided, comprising computer instructions, and the instructions, when executed by a processor, implement the method according to any one of the above embodiments.

[0024] Other features and advantages of the present disclosure will be apparent from the following detailed description of exemplary embodiments of the present disclosure, taken in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF DRAWINGS

[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and for those skilled in the art, other drawings can also be obtained without creative labor based on these drawings.

[0026] FIG. 1 is a schematic diagram of an information structure according to an embodiment of the present disclosure;

[0027] FIG. 2 is a schematic diagram of an information structure according to another embodiment of the present disclosure;

[0028] FIG. 3 is a schematic diagram of an information structure according to yet another embodiment of the present disclosure;

[0029] FIG. 4 is a flowchart of an interaction method between an active device and a touch display device according to an embodiment of the present disclosure;

[0030] FIG. 5 is a schematic diagram of an information structure according to another embodiment of the present disclosure;

[0031] FIG. 6 is a schematic diagram of an information structure according to another embodiment of the present disclosure;

[0032] FIG. 7 is a flowchart of a method for determining a touch period duration according to an embodiment of the present disclosure;

[0033] FIG. 8 is a flowchart of a method for determining a touch period duration according to another embodiment of the present disclosure;

[0034] FIG. 9 is a schematic diagram of an information structure according to another embodiment of the present disclosure;

[0035] FIG. 10 is a schematic diagram of an information structure according to another embodiment of the present disclosure;

[0036] FIG. 11 is a flowchart of a method for determining a touch period duration according to another embodiment of the present disclosure;

[0037] FIG. 12 is a schematic diagram of an information structure according to another embodiment of the present disclosure;

[0038] FIG. 13 is a schematic diagram of a touch processor according to an embodiment of the present disclosure;

[0039] FIG. 14 is a schematic diagram of a touch display device according to an embodiment of the present disclosure;

[0040] FIG. 15 is a schematic diagram of a touch system according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0041] The technical solutions in the embodiments of the present disclosure will be described clearly and completely below with reference to the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure. The following description of at least one exemplary embodiment is actually only illustrative, but not as any limitation on the present disclosure and its application or use. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without any creative work, fall within the scope of protection of the present disclosure.

[0042] Unless otherwise specified, the relative arrangement, numerical expressions and values of the components and steps set forth in these embodiments do not limit the scope of the present disclosure.

[0043] Meanwhile, it should be understood that, for the convenience of description, the sizes of the various parts shown in the drawings are not drawn in accordance with the actual proportional relationship.

[0044] Techniques, methods, and devices known to those of ordinary skill in the relevant art can not be discussed in detail herein. However, where appropriate, such techniques, methods, and devices can be considered part of the present disclosure.

[0045] In all of the examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Thus, other examples of the exemplary embodiments can have different values.

[0046] It should be noted that like reference numerals and letters in the various figures indicate like elements, and thus, discussions of some items in one figure can also apply to like items in another figure.

[0047] The inventors have noticed that for an in-cell touch display device, a time synchronization signal (T-SYNC) includes a high level period and a low level period, the high level period is used for display control, and the low level period is used for touch. The length of the time synchronization signal depends on the period of a data enable (DE) signal. For example, the length of the time synchronization signal is shown in equation (1). Length of time synchronization signal = GB2 x period of DE signal (1)

[0048] In equation (1), GB2 is a preset parameter.

[0049] For example, if the period of the DE signal is 5 microseconds and the parameter GB2 is 160, then the length of the time synchronization signal is 800 microseconds.

[0050] It should be noted that if the period of the DE signal is 5 microseconds, then the length of the generated time synchronization signal can only be a multiple of 5. If it is desired to generate a time synchronization signal with a length of 817 microseconds, since 817 cannot be divided by 5, it is not possible to generate a time synchronization signal with an accurate length. The error thus generated, after accumulation, can result in decoding failure, thereby affecting the performance of the active pen.

[0051] For example, as shown in FIG. 1, in the existing protocol, the time length of the time synchronization signal is 817 microseconds, and in each time synchronization signal, a display period for display control and a touch period for touch control are included. The unit of time in the figure is microsecond, for example, the time length of the display period is 657 microseconds, the time length of the touch period is 160 microseconds, and the time length of the uplink period is 260 microseconds. The downlink signal sent by the active pen is located in the downlink period (such as the Touch, Pen0, Pen1, and the like periods in FIG. 1). In the case where the active pen sends the downlink signal, the downlink period is one-to-one corresponding to the touch period. The downlink signal sent by the active pen can be information such as the position, power, pressure, and key of the pen tip (Tip) or information sent by the pen ring. The downlink period can also exist in the case where the active pen does not send the downlink signal, and is used to find whether the active pen exists or not. When the active pen is found, pairing and receiving the downlink signal of the active pen can be performed.

[0052] It should be noted that due to factors such as device precision and environmental temperature, the period of the data enable signal fluctuates to a certain extent. For example, the period of the data enable signal is 5 microseconds and 5.05 microseconds.

[0053] For example, assuming that the parameter GB2 is 162 and the period of the data enable signal is 5 microseconds and 5.05 microseconds, in the actual case, the time length of the time synchronization signal is 814.05 microseconds.

[0054] As shown in FIG. 2, since 814.05 microseconds is less than 817 microseconds, each touch period TPEN has a deviation from the corresponding downlink period. For example, the deviation between the first touch period TPEN1 and the first downlink period is D1, the deviation between the second touch period TPEN2 and the second downlink period is D2, and the deviation between the third touch period TPEN3 and the third downlink period is D3. Obviously, with the accumulation of the deviation, the downlink signal cannot be correctly decoded through the trigger period.

[0055] For another example, assuming that the parameter GB2 is 163 and the period of the data enable signal is 5 microseconds and 5.05 microseconds, the time length of the time synchronization signal can be 819.05 microseconds or 819.1 microseconds.

[0056] Here, taking the time length of the time synchronization signal as 819.1 microseconds as an example, as shown in FIG. 3, since 819.1 microseconds is greater than 817 microseconds, each touch period TPEN has a deviation from the corresponding downlink period. For example, the deviation between the first touch period TPEN1 and the first downlink period is D1, the deviation between the second touch period TPEN2 and the second downlink period is D2, and the deviation between the third touch period TPEN3 and the third downlink period is D3. Obviously, with the accumulation of the deviation, the downlink signal cannot be correctly decoded through the trigger period.

[0057] At present, the In Cell architecture mainly includes the following three kinds.

[0058] 1. In Cell separation architecture. Under this architecture, the TCON signal is used to generate the T_SYNC signal. Specifically, first, the frame data sent by the eDP is saved to the frame buffer. In order to solve the precision problem of the T_SYNC signal, the frequency of the TCON external crystal oscillator is used as the base frequency to generate a more stable and more precise TCON_DE signal (the TCON_DE signal is higher than the eDP_DE signal rate), and then the T_SYNC signal including the display period and the touch period is generated by counting the TCON_DE signal. With the help of the crystal oscillator, the T_SYNC signal is more stable and more precise.

[0059] 2. LTDI (Large touch display integrated) architecture. Under this architecture, the driving circuit integrates TMIC (touch power chip), TMCU (touch processing unit), LS (voltage boosting circuit). The TCON (timing control circuit) cannot perform time-sharing work of display control and touch control, so the TCON only needs to convert the eDP data into ISP signals and transmit them to the LTDI IC, and the LTDI IC generates the T_SYNC signal, divides a frame of display time into a plurality of display control time and touch time, and performs mapping of GOA (array substrate row driving circuit) signal and data and touch. Due to the size limitation, the LTDI architecture cannot improve the precision of the T_SYNC signal with the help of the crystal oscillator. That is, the length of the T_SYNC signal still needs to be determined by counting the eDP_DE.

[0060] 3. TDDI (Touch and Display Driver Integration) architecture. Under this architecture, the driving circuit integrates TMIC, TMCU, LS, and TCON. Similarly, due to the size requirement, the TDDI architecture also cannot improve the precision of the T_SYNC signal with the help of the crystal oscillator. That is, the length of the T_SYNC signal still needs to be determined by counting the eDP_DE.

[0061] Through the above analysis, it can be known that the In Cell separation architecture improves the precision of the time synchronization signal with the help of the crystal oscillator, which increases the cost and system complexity. The LTDI architecture and the TDDI architecture cannot improve the precision of the time synchronization signal, thereby reducing the performance of the active pen.

[0062] Therefore, the present disclosure provides an active device and a touch display device interaction method, which can effectively improve the precision of the time synchronization signal without the help of the crystal oscillator, and effectively improve the performance of the active pen.

[0063] Figure 4 is a flowchart of a method of interaction between an active device and a touch display device according to an embodiment of the present disclosure. The method of interaction between the active device and the touch display device comprises steps 41-42.

[0064] It is to be noted that a time frame of the touch display device associated with the display refresh rate comprises an active region and a vblanking region, the active region and the vblanking region are adjacent and do not overlap, and the vblanking region has a time length greater than the uplink period for sending the uplink signal. The size of the time frame depends on the size of the display refresh rate.

[0065] In step 41, the touch display device detects the downlink signal sent by the active device.

[0066] For example, the active device comprises a stylus.

[0067] In step 42, in the case that the touch display device receives the downlink signal sent by the active device within the time length of the i-th time synchronization signal in the active region, the touch display device senses the touch signal included in the downlink signal via the touch sensor in the touch period of the i-th time synchronization signal to detect the touch of the active device to the touch display device.

[0068] It is to be noted that the active region comprises N time synchronization signals, N is a natural number greater than 1, each time synchronization signal comprises a display period and a touch period, the N display periods and the N touch periods in the active region alternate with each other, the downlink period corresponding to the downlink signal is included in the touch period of the i-th time synchronization signal, 1≤i≤N. For example, N is 19.

[0069] For example, as shown in Figure 5, the active region comprises 19 time synchronization signals. In practice, the active region can comprise more or fewer time synchronization signals. The plurality of display periods and the plurality of touch periods in the active region alternate with each other. Compared with Figure 3, in Figure 5, the time length of the touch period TPEN in each time synchronization signal is extended, so that even if the deviation shown in Figure 3 still exists, each downlink period in Figure 5 is still included in the corresponding touch period, thereby effectively improving the accuracy of the time synchronization signal and effectively improving the performance of the stylus.

[0070] It is to be noted that, as an example, in Figure 5, the time length of the time synchronization signal is 819.1 microseconds.

[0071] In some embodiments, as shown in Figure 5, the start time of the touch period of the i-th time synchronization signal is earlier than or equal to the start time of the corresponding downlink period, and the time length of the touch period of the i-th time synchronization signal is greater than the time length of the corresponding downlink period. In this way, it can be ensured that the downlink period can be included in the corresponding touch period.

[0072] In some embodiments, the difference between the start time of the touch period of the ith time synchronization signal and the start time of the corresponding downlink period decreases as i increases. The difference between the end time of the touch period of the ith time synchronization signal and the end time of the corresponding downlink period increases as i increases.

[0073] It should be noted that, as the deviation shown in FIG. 3 still exists, the accumulation of the deviation increases as the parameter i increases. In this case, the difference between the start time of the touch period and the start time of the corresponding downlink period decreases as i increases. Accordingly, the difference between the end time of the touch period and the end time of the corresponding downlink period increases as i increases. For example, in FIG. 5, the difference between the start time of the touch period of the 2nd time synchronization signal and the start time of the corresponding downlink period is less than the difference between the start time of the touch period of the 1st time synchronization signal and the start time of the corresponding downlink period. The difference between the start time of the touch period of the 3rd time synchronization signal and the start time of the corresponding downlink period is less than the difference between the start time of the touch period of the 2nd time synchronization signal and the start time of the corresponding downlink period, and so on. The difference between the end time of the touch period of the 2nd time synchronization signal and the end time of the corresponding downlink period is greater than the difference between the end time of the touch period of the 1st time synchronization signal and the end time of the corresponding downlink period. The difference between the end time of the touch period of the 3rd time synchronization signal and the end time of the corresponding downlink period is greater than the difference between the end time of the touch period of the 2nd time synchronization signal and the end time of the corresponding downlink period, and so on.

[0074] In addition, as shown in FIG. 3, the difference between the start time of the touch period of the 1st time synchronization signal and the start time of the corresponding downlink period is greater than the difference between the end time of the touch period of the 1st time synchronization signal and the end time of the corresponding downlink period. The difference between the start time of the touch period of the Nth time synchronization signal and the start time of the corresponding downlink period is less than the difference between the end time of the touch period of the Nth time synchronization signal and the end time of the corresponding downlink period.

[0075] In some embodiments, the end time of the touch period of the 1st time synchronization signal coincides with the end time of the corresponding downlink period. Alternatively, the start time of the touch period of the Nth time synchronization signal coincides with the start time of the corresponding downlink period.

[0076] For example, as shown in FIG. 5, the end time of the touch period TPEN1 of the 1st time synchronization signal coincides with the end time of the corresponding downlink period. The start time of the touch period TPEN19 of the 19th time synchronization signal coincides with the start time of the corresponding downlink period.

[0077] It should be noted that by setting the length of the touch period, the starting time of the last touch period in the display area is ensured to be no later than the starting time of the corresponding downlink period, thereby effectively improving the performance of the active pen. In addition, the length of the touch period set does not deviate too much from the length of the touch period specified in the predetermined protocol, thereby avoiding reducing the performance of the high active pen. The related calculation is described in the following embodiments.

[0078] In some embodiments, as shown in FIG. 5, the display area includes a plurality of display periods and a plurality of touch periods, the plurality of display periods have the same length, and the plurality of touch periods have the same length. In this way, the touch periods can be uniformly managed.

[0079] In some embodiments, the length of the display period of the i-th time synchronization signal is greater than the length of the touch period of the i-th time synchronization signal. In this way, the normal display control can be effectively avoided from being affected by the touch operation, and the display charging time can be improved.

[0080] In some embodiments, in a time frame related to the display refresh rate of the touch display device, the display area includes part of the area in the blanking area specified in the predetermined protocol.

[0081] It should be noted that in the predetermined protocol, the display area and the blanking area are divided according to the interaction protocol. In the present disclosure, since the length of each time synchronization signal is extended, the last touch period in the display area, i.e., the touch period of the N-th time synchronization signal, will enter the blanking area specified in the predetermined protocol. That is, unlike the display area specified in the predetermined protocol, the end time of the actual display area in the present disclosure is the end time of the last touch period, i.e., the actual display area in the present disclosure will occupy part of the blanking area specified in the predetermined protocol, thereby causing the actual blanking area in the present disclosure to be smaller than the blanking area specified in the predetermined protocol.

[0082] For example, the display area and the blanking area shown in FIG. 5 are the display area and the blanking area specified in the predetermined protocol. Since the length of each time synchronization signal is extended, the touch period TPEN19 enters the blanking area specified in the predetermined protocol. Therefore, the end time of the actual display area is the end time of TPEN19, i.e., the length of the actual display area is L, as shown in FIG. 5. In this case, the actual blanking area will be smaller than the blanking area specified in the predetermined protocol.

[0083] In some embodiments, the touch display device sends the uplink signal to the active device in the uplink period.

[0084] In some embodiments, as shown in FIG. 5, the uplink period TPEN20 is located in the blanking area, wherein the blanking area is located between two adjacent display areas.

[0085] For example, the end time of the uplink period is earlier than or equal to the end time of the blanking zone, so that the transmission of the uplink signal is completed in the blanking zone.

[0086] In some embodiments, the uplink period is located in the display zone.

[0087] In some embodiments, as shown in FIG. 6, the uplink period TPEN20 is located before the first time synchronization signal in the display zone, and the uplink period is adjacent to the display period of the first time synchronization signal. In this way, the transmission of the uplink signal and the reception of the downlink data can be completed in the display zone.

[0088] In some embodiments, as shown in FIG. 6, the start time of the uplink period is not earlier than the start time of the display zone, so that the transmission of the uplink signal and the reception of the downlink data can be ensured in the display zone.

[0089] In the interaction method between the active device and the touch display device provided by the above-mentioned embodiments of the present disclosure, the display zone includes N time synchronization signals, N is a natural number greater than 1, each time synchronization signal includes a display period and a touch period, the N display periods and the N touch periods in the display zone are alternated with each other, and the downlink period corresponding to the downlink signal transmitted by the active device is included in the corresponding touch period, so that the accuracy of the time synchronization signal is effectively improved, and the performance of the active pen is effectively improved.

[0090] In some embodiments, the touch display device determines the length of the touch period of the time synchronization signal, so as to ensure that the downlink period corresponding to the downlink signal transmitted by the active device is included in the corresponding touch period.

[0091] FIG. 7 is a flowchart of a method for determining the length of a touch period according to an embodiment of the present disclosure. In some embodiments, the method for determining the length of the touch period includes steps 71-75.

[0092] In step 71, the length of the time synchronization signal is determined according to the data enable signal, wherein the length of the time synchronization signal is the minimum candidate length greater than the predetermined length of the time synchronization signal in the candidate length set of the time synchronization signal.

[0093] It should be noted that the predetermined length of the time synchronization signal is the length specified in the predetermined protocol. In some embodiments, the period length of the data enable signal includes n sub-lengths, n is a natural number greater than 1. In this case, the length of the time synchronization signal is determined by the following steps.

[0094] 1. Select a predetermined parameter.

[0095] 2. Determine whether there is a remainder in the result of dividing the predetermined parameter by n.

[0096] 3. If the remainder is not included in the result, the length of the time synchronization signal is determined from the product of the result and the sum of the n sub-lengths.

[0097] 4. In the case where the remainder m is included in the third result, m sub-lengths are selected from the n sub-lengths in descending order of the sub-lengths, m being a natural number greater than 0.

[0098] 5. The quotient of the predetermined parameter and n is calculated, and the product of the quotient and the sum of the n sub-lengths is calculated as a first calculation result.

[0099] 6. The sum of the m sub-lengths is calculated as a second calculation result.

[0100] 7. The length of the time synchronization signal is determined from the sum of the first calculation result and the second calculation result.

[0101] For example, if the predetermined length of the time synchronization signal is 817 microseconds, the period of the data enable signal is 5 microseconds and 5.05 microseconds, and the predetermined parameter is selected as 162, since 162 is divisible by 2, the length of the time synchronization signal is shown in Equation (2). 81 x (5 + 5.05) = 814.05 microseconds (2)

[0102] If the predetermined parameter is selected as 163, since 163 is not divisible by 2, the length of the time synchronization signal is shown in Equation (3) or Equation (4). 81 x (5 + 5.05) + 5 = 819.05 microseconds (3) 81 x (5 + 5.05) + 5.05 = 819.1 microseconds (4)

[0103] Here, it is noted that since the remainder of 163 divided by 2 is 1, either 5 microseconds or 5.05 microseconds can be selected. For example, Equation (3) selects 5 microseconds in calculating the length of the time synchronization signal, and the result is greater than 817 microseconds. Equation (3) selects 5.05 microseconds in calculating the length of the time synchronization signal, and the result is also greater than 817 microseconds. In order to effectively solve the problem of accumulation of deviation, the larger value, i.e., 5.05 microseconds, is selected from 5 microseconds and 5.05 microseconds, i.e., the largest length of the time synchronization signal is selected under the same predetermined parameter.

[0104] Further, if the predetermined parameter is selected as 164, since 164 is divisible by 2, the length of the time synchronization signal is shown in Equation (5). 82 x (5 + 5.05) = 824.1 microseconds (5)

[0105] From the above analysis, if the predetermined parameter is selected as 162, the length of the time synchronization signal calculated is 814.05 microseconds, which is less than 817 microseconds. If the predetermined parameter is selected as 163, the length of the time synchronization signal calculated is 819.1 microseconds, which is greater than 817 microseconds. If the predetermined parameter is selected as 164, the length of the time synchronization signal calculated is 824.1 microseconds, which is also greater than 817 microseconds. That is, as the predetermined parameter increases, a plurality of time synchronization signals with lengths greater than 817 microseconds can be obtained, and 819.1 microseconds is the minimum value in the plurality of lengths greater than the predetermined 817 microseconds. In order to be able to suppress the accumulation of deviation while not causing significant changes in the length of the time synchronization signal, to ensure the performance of the stylus, 819.1 microseconds is taken as the length of the time synchronization signal here.

[0106] In step 72, according to the length of the time synchronization signal, the predetermined length of the time synchronization signal, and the number of touch periods in the display area, the first offset parameter is determined.

[0107] In some embodiments, the difference between the length of the time synchronization signal and the predetermined length of the time synchronization signal is calculated as a first calculation parameter, the number of touch periods in the display area is reduced by 1 to obtain a second calculation parameter, and the product of the first calculation parameter and the second calculation parameter is calculated to obtain the first offset.

[0108] For example, the display area includes 19 touch periods, the calculated length of the time synchronization signal is 819.1 microseconds, and the predetermined length of the time synchronization signal is 817 microseconds, then the first offset is as shown in formula (6). (819.1-817)×(19-1)=37.8 microseconds (6)

[0109] That is, for the 19th touch period in the display area, the accumulated offset of the first 18 touch periods is 37.8 microseconds.

[0110] In step 73, according to the data enable signal, the first length of the display period in the time synchronization signal is determined, wherein the first length of the display period is the minimum candidate length in the candidate length set of the display period that is greater than the predetermined length of the display period.

[0111] In some embodiments, the period length of the data enable signal comprises n sub-lengths, n is a natural number greater than 1, and the step of determining the first length of the display period comprises: selecting a predetermined parameter, and determining whether the result of dividing the predetermined parameter by n includes a remainder. In the case that the result does not include a remainder, the first length of the display period is determined according to the product of the result and the sum of the n sub-lengths. In the case that the result includes a remainder m, m is a natural number greater than 0, m sub-lengths are selected from the n sub-lengths in descending order of sub-length, and the first length of the display period is determined according to the product of the quotient of the predetermined parameter and n and the sum of the m sub-lengths.

[0112] For example, the predetermined length of the display period is 657 microseconds, and the period of the data enable signal is 5 microseconds and 5.05 microseconds. If the predetermined parameter is selected as 130, since 130 can be divided by 2, the first length of the display period is shown in equation (7). 65 x (5 + 5.05) = 653.25 microseconds (7)

[0113] If the predetermined parameter is selected as 131, since 131 cannot be divided by 2, the first length of the display period is shown in equation (8) or equation (9). 65 x (5 + 5.05) + 5 = 658.25 microseconds (8) 65 x (5 + 5.05) + 5.05 = 658.3 microseconds (9)

[0114] It should be noted here that since the remainder of 131 divided by 2 is 1, either 5 microseconds or 5.05 microseconds can be selected. For example, equation (8) selects 5 microseconds in calculating the length of the display period, and the result is greater than 657 microseconds. Equation (9) selects 5.05 microseconds in calculating the length of the display period, and the result is also greater than 657 microseconds. In order to effectively solve the problem of accumulation of deviation, the larger value, i.e. 5.05 microseconds, is selected from 5 microseconds and 5.05 microseconds, i.e. the largest length of the display period is selected under the same predetermined parameter.

[0115] In addition, if the predetermined parameter is selected as 132, since 132 can be divided by 2, the first length of the display period is shown in equation (10). 66 x (5 + 5.05) = 663.3 microseconds (10)

[0116] From the above analysis, if the predetermined parameter is selected as 130, the first duration of the display period calculated is 653.25 microseconds, which is less than 657 microseconds. If the predetermined parameter is selected as 131, the first duration of the display period calculated is 658.3 microseconds, which is greater than 657 microseconds. If the predetermined parameter is selected as 132, the first duration of the display period calculated is 663.3 microseconds, which is also greater than 657 microseconds. That is, as the predetermined parameter increases, a plurality of display periods with durations greater than 657 microseconds can be obtained, and 658.3 microseconds is the minimum value in the plurality of durations greater than the predetermined 657 microseconds. In order to be able to suppress the accumulation of deviation while not significantly changing the duration of the display period, so as to ensure the performance of the stylus, 658.3 microseconds is taken as the first duration of the display period here.

[0117] In step 74, the second offset parameter is determined according to the first duration of the display period and the predetermined duration of the display period.

[0118] In some embodiments, the second offset parameter is determined according to the difference between the first duration of the display period and the predetermined duration of the display period.

[0119] For example, the first duration of the display period is 658.3 microseconds, and the predetermined duration of the display period is 657 microseconds, and the second offset parameter is shown in formula (11). 658.3-657=1.3 microseconds (11)

[0120] That is, the deviation between the first duration of the display period and the predetermined duration of the display period is 1.3 microseconds.

[0121] In step 75, the duration of the touch period is determined according to the first offset parameter and the second offset parameter.

[0122] It should be noted here that since the uplink period can be located in the blanking area or in the display area, the duration of the touch period will also be different. The following will be described through specific embodiments.

[0123] FIG. 8 is a flowchart of a method for determining the duration of a touch period according to another embodiment of the present disclosure. This embodiment corresponds to the scenario in which the uplink period is located in the blanking area, and the following method for determining the duration of the touch period includes steps 81-84.

[0124] In step 81, in the case where the uplink period is located in the blanking area, a first duration parameter is determined according to the first offset parameter, the second offset parameter, and the predetermined duration of the touch period.

[0125] In some embodiments, the first duration parameter is determined according to the sum of the first offset parameter, the second offset parameter, and the predetermined duration of the touch period.

[0126] For example, the first offset parameter is 37.8 microseconds, the second offset parameter is 1.3 microseconds, and the predetermined length of the touch period is 160 microseconds. The first length parameter is shown in equation (12). First length parameter = 160 + 37.8 + 1.3 = 199.1 microseconds (12)

[0127] That is, the length of the touch period is at least 199.1 microseconds.

[0128] In step 82, the second length parameter is determined according to the length of the time synchronization signal and the first length parameter.

[0129] In some embodiments, the second length parameter is determined according to the difference between the length of the time synchronization signal and the first length parameter.

[0130] For example, the length of the time synchronization signal is 819.1 microseconds, and the first length parameter is 199.1 microseconds. The second length parameter is shown in equation (13). Second length parameter = 819.1 - 199.1 = 620 microseconds (13)

[0131] It should be noted here that since one time synchronization signal includes one display period and one touch period, when the length of the time synchronization signal is 819.1 microseconds, the length of the touch period is at least 199.1 microseconds, and the length of the display period is at most 620 microseconds.

[0132] In step 83, the second length of the display period is determined according to the data enable signal, wherein the second length of the display period is the largest candidate length in the candidate length set of the display period that is less than the second length parameter.

[0133] In some embodiments, the second length of the display period can be determined according to the embodiments described above for determining the first length of the display period.

[0134] For example, the second length parameter is 620 microseconds, and the period of the data enable signal is 5 microseconds and 5.05 microseconds. If the predetermined parameter is selected to be 124, since 124 is divisible by 2, the second length of the display period is shown in equation (14). 62 x (5 + 5.05) = 623.1 microseconds (14)

[0135] If the predetermined parameter is selected as 123, since 123 cannot be divided by 2, the second length of the display period is shown as formula (15) or formula (16). 61x(5+5.05)+5=618.05 microseconds (15) 61x(5+5.05)+5.05=618.1 microseconds (16)

[0136] It should be noted that if the predetermined parameter is selected as 122, since 122 can be divided by 2, the second length of the display period is shown as formula (17). 61x(5+5.05)=613.05 microseconds (17)

[0137] From the above analysis, if the predetermined parameter is selected as 124, the calculated second length of the display period is 623.1 microseconds, which is greater than 620 microseconds. If the predetermined parameter is selected as 123, the calculated second length of the display period is 618.05 microseconds or 618.1 microseconds, which are both less than 620 microseconds. If the predetermined parameter is selected as 122, the calculated second length of the display period is 613.05 microseconds, which is also less than 620 microseconds. That is, as the predetermined parameter decreases, a plurality of display periods with lengths less than 620 microseconds can be obtained, and 618.05 microseconds or 618.1 microseconds is the maximum value among the plurality of lengths less than the predetermined 620 microseconds. In order to suppress the accumulation of deviation while not significantly changing the length of the display period to ensure the performance of the stylus, 618.05 microseconds or 618.1 microseconds is selected as the second length of the display period.

[0138] In step 84, the length of the touch period is determined according to the length of the time synchronization signal and the second length of the display period.

[0139] In some embodiments, the length of the touch period is determined according to the difference between the length of the time synchronization signal and the second length of the display period.

[0140] For example, the length of the time synchronization signal is 819.1 microseconds, and the second length of the display period is 618.05 microseconds, and the length of the touch period is shown as formula (18). Touch period length = 819.1-618.05 = 201.05 microseconds (18)

[0141] As shown in FIG. 9, in the display area, the predetermined length of the time synchronization signal is 817 microseconds, the predetermined length of the display period in the time synchronization signal is 657 microseconds, and the predetermined length of the touch period in the time synchronization signal is 160 microseconds. Through the above calculation, the length of the time synchronization signal is 819.1 microseconds, the length of the display period in the time synchronization signal is 618.05 microseconds, and the length of the touch period in the time synchronization signal is 201.05 microseconds.

[0142] As can be seen from FIG. 9, in the case that the active pen sends a downlink signal, the downlink period is included in the corresponding touch period, thereby ensuring the performance of the active pen.

[0143] For example, as shown in FIG. 9, the difference between the start time of the first touch period in the display area and the start time of the first downlink period is: 657-618.05=38.95 microseconds. The difference between the start time of the second touch period in the display area and the start time of the second downlink period is: 657-618.05-(819.1-817)=36.85 microseconds. The difference between the start time of the third touch period in the display area and the start time of the third downlink period is: 657-618.05-(819.1-817)×2=34.75 microseconds. The above differences are all positive values, indicating that the start time of the downlink period falls in the corresponding touch period, thereby ensuring that the downlink period falls in the corresponding touch period.

[0144] It should be noted here that due to the accumulation of the deviation, the difference between the start time of the i-th touch period in the display area and the start time of the i-th downlink period decreases as the parameter i increases. Therefore, it is necessary to determine whether the difference between the start time of the last touch period in the display area and the start time of the last downlink period is still greater than 0.

[0145] As shown in FIG. 9, there are 19 touch periods in the display area, and the difference between the start time of the 19th touch period in the display area and the start time of the 19th downlink period is: 657-618.05-(819.1-817)×18=1.15 microseconds. It can be seen that the difference between the start time of each touch period in the display area and the start time of the corresponding downlink period is greater than 0, thereby ensuring that each downlink period falls in the corresponding touch period.

[0146] For another example, the length of the time synchronization signal is 819.1 microseconds, and the second length of the display period is 618.1 microseconds, then the length of the touch period is shown in formula (19). Length of touch period=819.1-618.1=201 microseconds (19)

[0147] As shown in FIG. 10, in the display area, the predetermined length of the time synchronization signal is 817 microseconds, the predetermined length of the display period in the time synchronization signal is 657 microseconds, and the predetermined length of the touch period in the time synchronization signal is 160 microseconds. Through the above calculation, the length of the time synchronization signal is 819.1 microseconds, the length of the display period in the time synchronization signal is 618.1 microseconds, and the length of the touch period in the time synchronization signal is 201 microseconds.

[0148] As can be seen from FIG. 10, in the case that the active pen sends a downlink signal, the downlink period is included in the corresponding touch period, thereby ensuring the performance of the active pen.

[0149] For example, as shown in FIG. 10, the difference between the start time of the first touch period in the display area and the start time of the first downlink period is 657-618.1=38.9 microseconds. The difference between the start time of the second touch period in the display area and the start time of the second downlink period is 657-618.1-(819.1-817)=36.8 microseconds. The difference between the start time of the third touch period in the display area and the start time of the third downlink period is 657-618.1-(819.1-817)×2=34.7 microseconds. The above differences are all positive values, indicating that the start time of the downlink period falls in the corresponding touch period, thereby ensuring that the downlink period falls in the corresponding touch period.

[0150] It should be noted here that due to the accumulation of the deviation, the difference between the start time of the i th touch period in the display area and the start time of the i th downlink period decreases as the parameter i increases. Therefore, it is necessary to determine whether the difference between the start time of the last touch period in the display area and the start time of the last downlink period is still greater than 0.

[0151] As shown in FIG. 10, there are 19 touch periods in the display area, and the difference between the start time of the 19 th touch period in the display area and the start time of the 19 th downlink period is 657-618.1-(819.1-817)×18=1.1 microseconds. It can be seen that the difference between the start time of each touch period in the display area and the start time of the corresponding downlink period is greater than 0, thereby ensuring that each downlink period falls in the corresponding touch period.

[0152] In the embodiments shown in FIG. 9 and FIG. 10, the uplink period is located in the blanking area, and in order to ensure the correct transmission of the uplink signal, it is also necessary to determine the length of the uplink period.

[0153] In some embodiments, the length of the uplink period is determined according to the data enable signal, wherein the length of the uplink period is the minimum candidate length greater than a predetermined length of the uplink period in a set of candidate lengths of the uplink period.

[0154] For example, the period length of the data enable signal includes n sub-lengths, n is a natural number greater than 1, and the step of determining the length of the uplink period includes the following contents: selecting a predetermined parameter, and judging whether the result of dividing the predetermined parameter by n includes a remainder. In the case that the result does not include a remainder, the length of the uplink period is determined according to the product of the sum of the n sub-lengths and the result. In the case that the result includes a remainder m, m is a natural number greater than 0, m sub-lengths are selected from the n sub-lengths in descending order of sub-length, and the length of the uplink period is determined according to the product of the quotient of the predetermined parameter and n and the sum of the m sub-lengths.

[0155] For example, the predetermined length of the uplink period is 260 microseconds, and the period of the data enable signal is 5 microseconds and 5.05 microseconds. If the predetermined parameter is selected as 51, since 51 cannot be divided by 2, the length of the uplink period is shown in formula (20) or formula (21).

[0156] If the predetermined parameter is selected as 52, since 52 can be divided by 2, the length of the uplink period is shown in formula (22).

[0157] In addition, if the predetermined parameter is selected as 53, since 53 cannot be divided by 2, the length of the uplink period is shown in formula (23) or formula (24).

[0158] From the above analysis, if the predetermined parameter is selected as 51, the calculated length of the uplink period is 256.25 microseconds or 256.3 microseconds, both of which are less than 260 microseconds. If the predetermined parameter is selected as 52, the calculated length of the uplink period is 261.3 microseconds, which is greater than 260 microseconds. If the predetermined parameter is selected as 53, the calculated length of the uplink period is 266.3 microseconds or 266.35 microseconds, both of which are also greater than 260 microseconds. That is, as the predetermined parameter increases, more uplink periods with lengths greater than 260 microseconds can be obtained, and 261.3 microseconds is the minimum value among the lengths greater than the predetermined 260 microseconds. In order to suppress the accumulation of deviation while not significantly changing the length of the uplink period to ensure the performance of the active pen, 261.3 microseconds is taken as the length of the uplink period.

[0159] FIG. 11 is a flowchart of a method for determining the length of a touch period according to another embodiment of the present disclosure. The embodiment corresponds to a scenario in which the uplink period is located in the display area. The following method for determining the length of the touch period includes steps 111-115.

[0160] In step 111, in the case that the uplink period is located in the display area before the first time synchronization signal, the length of the uplink period is determined according to the data enable signal, wherein the length of the uplink period is the minimum candidate length greater than the predetermined length of the uplink period in the set of candidate lengths of the uplink period.

[0161] In some embodiments, the length of the uplink period is determined according to the above method for determining the length of the uplink period.

[0162] For example, the predetermined length of the uplink period is 260 microseconds, and the period of the data enable signal is 5 microseconds and 5.05 microseconds. If the predetermined parameter is selected as 51, since 51 cannot be divided by 2, the length of the uplink period is shown in formula (25) or formula (26). 25×(5+5.05)+5=256.25 microseconds (25) 25×(5+5.05)+5.05=256.3 microseconds (26)

[0163] If the predetermined parameter is selected as 52, since 52 can be divided by 2, the length of the uplink period is shown in formula (27). 26×(5+5.05)=261.3 microseconds (27)

[0164] In addition, if the predetermined parameter is selected as 53, since 53 cannot be divided by 2, the length of the uplink period is shown in formula (28) or formula (29). 26x(5+5.05)+5=266.3 microseconds (28) 26x(5+5.05)+5.05=266.35 microseconds (29)

[0165] From the above analysis, if the predetermined parameter is selected as 51, the calculated length of the uplink period is 256.25 microseconds or 256.3 microseconds, both of which are less than 260 microseconds. If the predetermined parameter is selected as 52, the calculated length of the uplink period is 261.3 microseconds, which is greater than 260 microseconds. If the predetermined parameter is selected as 53, the calculated length of the uplink period is 266.3 microseconds or 266.35 microseconds, both of which are also greater than 260 microseconds. That is, as the predetermined parameter increases, a plurality of uplink periods with lengths greater than 260 microseconds can be obtained, and 261.3 microseconds is the minimum value among the plurality of lengths greater than the predetermined 260 microseconds. In order to suppress the accumulation of deviation while not significantly changing the length of the uplink period to ensure the performance of the active pen, 261.3 microseconds is taken as the length of the uplink period here.

[0166] In step 112, a third length parameter is determined according to the first offset parameter, the second offset parameter, the predetermined length of the touch period, the length of the uplink period, and the predetermined length of the uplink period.

[0167] In some embodiments, the third length parameter is determined according to the sum of the difference between the length of the uplink period and the predetermined length of the uplink period, the first offset parameter, the second offset parameter, and the predetermined length of the touch period.

[0168] For example, the length of the uplink period is 261.3 microseconds, the predetermined length of the uplink period is 260 microseconds, the first offset parameter is 37.8 microseconds, and the second offset parameter is 1.3 microseconds, and the third length parameter is shown in formula (30). Third length parameter=160+37.8+1.3+(261.3-260)=200.4 microseconds (30)

[0169] That is, the length of the touch period is at least 200.4 microseconds.

[0170] In step 113, a fourth length parameter is determined according to the length of the time synchronization signal and the third length parameter.

[0171] In some embodiments, the fourth length parameter is determined according to the difference between the length of the time synchronization signal and the third length parameter.

[0172] For example, the time length of the time synchronization signal is 819.1 microseconds, and the third time length parameter is 200.4 microseconds. The fourth time length parameter is shown in equation (31). Fourth time length parameter = 819.1 - 200.4 = 618.7 microseconds (31)

[0173] It should be noted that, since one time synchronization signal includes one display period and one touch period, the time length of the time synchronization signal is 819.1 microseconds, and the time length of the touch period is at least 200.4 microseconds. Therefore, the time length of the display period is at most 618.7 microseconds.

[0174] In step 114, the second time length of the display period is determined according to the data enable signal, wherein the second time length of the display period is the largest candidate time length less than the fourth time length parameter in the candidate time length set of the display period.

[0175] In some embodiments, the second time length of the display period can be determined according to the embodiments described above for determining the first time length of the display period.

[0176] For example, the fourth time length parameter is 618.7 microseconds, and the period of the data enable signal is 5 microseconds and 5.05 microseconds. If the predetermined parameter is 123, since 123 cannot be divided by 2, the second time length of the display period is shown in equations (32) and (33). 61 × (5 + 5.05) + 5 = 618.05 microseconds (32) 61 × (5 + 5.05) + 5.05 = 618.1 microseconds (33)

[0177] If the predetermined parameter is 122, since 122 can be divided by 2, the second time length of the display period is shown in equation (34). 61 × (5 + 5.05) = 613.05 microseconds (34)

[0178] It should be noted that, if the predetermined parameter is 121, since 121 cannot be divided by 2, the second time length of the display period is shown in equations (35) and (36). 60 × (5 + 5.05) + 5 = 608 microseconds (35) 60 × (5 + 5.05) + 5.05 = 608.05 microseconds (36)

[0179] From the above analysis, if the predetermined parameter is selected as 123, the calculated second length of the display period is 618.05 microseconds or 618.1 microseconds, which is very close to 618.7 microseconds, and in this case, the second length of the display period is likely to be greater than 618.7 microseconds due to signal fluctuation. If the predetermined parameter is selected as 122, the calculated second length of the display period is 613.05 microseconds, which is less than 618.7 microseconds. If the predetermined parameter is selected as 121, the calculated second length of the display period is 608 microseconds or 608.05 microseconds, both of which are less than 618.7 microseconds. That is, as the predetermined parameter decreases, a plurality of display periods with lengths less than 618.7 microseconds can be obtained, and among the plurality of lengths less than the predetermined 618.7 microseconds, 613.05 microseconds is the maximum value that can suppress signal fluctuation. In order to be able to suppress deviation accumulation while not significantly changing the length of the display period to ensure the performance of the active pen, 613.05 microseconds is selected as the second length of the display period here.

[0180] In step 115, the length of the touch period is determined according to the length of the time synchronization signal and the second length of the display period.

[0181] In some embodiments, the length of the touch period is determined according to the difference between the length of the time synchronization signal and the second length of the display period.

[0182] For example, the length of the time synchronization signal is 819.1 microseconds, and the second length of the display period is 613.05 microseconds, and the length of the touch period is shown in formula (37). Touch period length = 819.1-613.05 = 206.05 microseconds (37)

[0183] As shown in FIG. 12, in the display area, the predetermined length of the time synchronization signal is 817 microseconds, the predetermined length of the display period in the time synchronization signal is 657 microseconds, and the predetermined length of the touch period in the time synchronization signal is 160 microseconds. After the above calculation, the length of the time synchronization signal is 819.1 microseconds, the length of the display period in the time synchronization signal is 613.05 microseconds, and the length of the touch period in the time synchronization signal is 206.05 microseconds.

[0184] As can be seen from FIG. 12, in the case that the active pen transmits a downlink signal, the downlink period is included in the corresponding touch period, thereby ensuring the performance of the active pen.

[0185] For example, as shown in FIG. 12, the difference between the start time of the first touch period in the display region and the start time of the first downlink period is: 657-613.05-(261.3-260)=42.65 microseconds. The difference between the start time of the second touch period in the display region and the start time of the second downlink period is: 657-613.05-(261.3-260)-(819.1-817)=40.55 microseconds. The difference between the start time of the third touch period in the display region and the start time of the third downlink period is: 657-613.05-(261.3-260)-(819.1-817) x 2=38.45 microseconds. The above differences are all positive, indicating that the start time of the downlink period falls in the corresponding touch period, thereby ensuring that the downlink period falls in the corresponding touch period.

[0186] It should be noted here that due to the accumulation of the deviation, the difference between the start time of the i-th touch period in the display region and the start time of the i-th downlink period decreases as the parameter i increases. Therefore, it is necessary to determine whether the difference between the start time of the last touch period in the display region and the start time of the last downlink period is still greater than 0.

[0187] As shown in FIG. 12, there are 19 touch periods in the display region, and the difference between the start time of the 19th touch period in the display region and the start time of the 19th downlink period is: 657-613.05-(261.3-260)-(819.1-817) x 18=4.85 microseconds. It can be seen that the difference between the start time of each touch period in the display region and the start time of the corresponding downlink period is greater than 0, thereby ensuring that each downlink period falls in the corresponding touch period.

[0188] FIG. 13 is a structural schematic diagram of a touch processor according to an embodiment of the present disclosure.

[0189] As shown in FIG. 13, the touch processor 130 can be in the form of a general computing device. The touch processor 130 includes a memory 131, a processor 132, and a bus 133 connecting different system components.

[0190] The memory 131 can include, for example, a system memory, a non-volatile storage medium, etc. The system memory, for example, stores an operating system, application programs, a Boot Loader, and other programs, etc. The system memory can include a volatile storage medium, such as a random access memory (RAM) and / or a cache memory. The non-volatile storage medium, for example, stores instructions of at least one active device and touch display device interaction method corresponding embodiment being executed. The non-volatile storage medium includes, but is not limited to, a magnetic disk storage, an optical storage, a flash memory, etc.

[0191] The processor 132 can be implemented with a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, etc. discrete hardware components. Accordingly, each module such as the acquisition module, the calculation module and the adjustment module can be implemented by a central processing unit (CPU) running instructions in the memory to perform corresponding steps, or by a dedicated circuit to perform corresponding steps.

[0192] For example, the processor 132 is configured to perform the method related to any of the embodiments of FIGS. 4, 7, 8, 11 based on instructions stored in the memory.

[0193] In some embodiments, the processor 132 includes a driving circuit with an LTDI architecture, or a driving circuit with a TDDI architecture.

[0194] The bus 133 can use any of a variety of bus structures. For example, the bus structure includes but is not limited to an industry standard architecture (ISA) bus, a micro channel architecture (MCA) bus, a peripheral component interconnect (PCI) bus.

[0195] The interfaces 134, 135, 136 of the touch processor 130, the memory 131 and the processor 132 can be connected through the bus 133. The input / output interface 134 can provide a connection interface for display, mouse, keyboard and other input / output devices. The network interface 135 provides a connection interface for various networking devices. The storage interface 136 provides a connection interface for external storage devices such as floppy disks, U disks, SD cards, etc.

[0196] Here, various aspects of the disclosure are described with reference to flowcharts and / or block diagrams of methods, apparatuses and computer program products according to embodiments of the disclosure. It should be understood that each block of the flowchart and / or block diagram can be implemented by computer readable program instructions.

[0197] These computer readable program instructions can be provided to a processor of a general purpose computer, a special purpose computer or other programmable device to generate a machine, so that the instructions executed by the processor generate an apparatus that implements the functions specified in one or more blocks of the flowchart and / or block diagram.

[0198] These computer readable program instructions can also be stored in a computer readable memory, which makes the computer work in a specific way, so as to generate a product, including instructions to implement the functions specified in one or more blocks of the flowchart and / or block diagram.

[0199] The present disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment containing both software and hardware aspects.

[0200] The present disclosure also provides a computer readable storage medium, wherein the computer readable storage medium stores computer instructions, and the instructions, when executed by a processor, implement the method involved in any one of the embodiments of FIG. 4, 7, 8, 11.

[0201] The present disclosure also provides a computer program product, comprising computer instructions, and the instructions, when executed by a processor, implement the method involved in any one of the embodiments of FIG. 4, 7, 8, 11.

[0202] FIG. 14 is a structural schematic diagram of a touch display device according to an embodiment of the present disclosure. As shown in FIG. 14, the touch display device 140 comprises a touch sensor 141 and a touch processor 142, and the touch processor 142 is the touch processor involved in any one of the embodiments of FIG. 13.

[0203] Touching of the touch display device by an external object can cause a change in the on-sensor electrical signal, and the touch display device can determine whether the external object touches the touch display device and the specific touch position according to the change in the on-sensor electrical signal. For example, the touch display device can detect the touching of the external object based on the mutual-capacitance touch sensing principle or the self-capacitance touch sensing principle.

[0204] The touch display device comprises a display panel with image function, and the touch sensor can be manufactured outside the display panel. For example, a touch panel comprising the touch sensor and the touch processor can be manufactured, and the touch panel and the display panel are combined to form the touch display device. Alternatively, the touch sensor can also be manufactured inside the display panel, i.e., the touch sensor is embedded into the display panel. When the touch sensor is embedded into the display panel, the touch sensor can be formed together with the electrodes or signal lines related to display driving in the display panel when the display panel is manufactured. For example, if the touch display device is implemented as a liquid crystal display, the common electrode in the liquid crystal display can be manufactured as a plurality of common electrode blocks and reused as the touch sensor. The common electrode plays different functions in different time periods. For example, during a time period for display driving of the touch display device to display an image, a common voltage can be applied to each common electrode block, while during a time period for detecting the touching of the touch display device by an external object, a touch driving signal can be applied to the common electrode block or a touch sensing signal can be received from the common electrode block. In the case where the touch display device is implemented as an organic light-emitting diode display, the touch sensor can be formed on the surface of the organic light-emitting diode display panel, e.g., on the encapsulation layer of the organic light-emitting diode display panel.

[0205] FIG. 15 is a structural schematic diagram of a touch system according to one embodiment of the present disclosure. As shown in FIG. 15, the touch system 150 includes a touch display device 151 and an active device 152. The touch display device 151 is the touch display device involved in any of the embodiments of FIG. 14.

[0206] The active device 152 is configured to send a downlink signal to the touch display device 151 in response to receiving an uplink signal sent by the touch display device 151, the downlink signal including a touch signal of the active device.

[0207] For example, the active object includes a stylus.

[0208] In some embodiments, the functional units described above can be implemented as a general processor, a programmable logic controller (PLC), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or any appropriate combination thereof for performing the functions described in the present disclosure.

[0209] It can be understood by those skilled in the art that all or part of the steps of the above-mentioned embodiments can be completed by hardware, or by program instructing relevant hardware, and the program can be stored in a computer readable storage medium, and the storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0210] The description of the present disclosure is given for the purpose of illustration and description, and is not intended to be exhaustive or to limit the present disclosure to the forms disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. Embodiments are chosen and described in order to best explain the principles of the present disclosure and its practical application, and to enable others skilled in the art to understand the present disclosure for various embodiments with various modifications as are suited to the particular use contemplated.

Claims

1. A method of interaction of an active device with a touch display device, wherein, One time frame of the touch display device related to a display refresh rate comprises a display area and a blanking area, and the interaction method comprises: In a case where the touch display device receives a downlink signal sent by the active device within a time length of an i th time synchronization signal of the display area, the touch display device senses a touch signal included in the downlink signal via a touch sensor in a touch period of the i th time synchronization signal to detect a touch of the active device on the touch display device, wherein the display area comprises N time synchronization signals, N being a natural number greater than 1, each time synchronization signal comprising a display period and a touch period, the N display periods and the N touch periods in the display area alternating with each other, the downlink period corresponding to the downlink signal being included in the touch period of the i th time synchronization signal, 1≤i≤N.

2. The interaction method according to claim 1, wherein a starting time of the touch period of the i th time synchronization signal is earlier than or equal to a starting time of the downlink period, and a time length of the touch period of the i th time synchronization signal is greater than a time length of the downlink period.

3. The interaction method according to claim 2, wherein a difference between the starting time of the touch period of the i th time synchronization signal and the starting time of the downlink period decreases as i increases; and / or a difference between an ending time of the touch period of the i th time synchronization signal and an ending time of the downlink period increases as i increases.

4. The interaction method according to claim 3, wherein a difference between the starting time of the touch period of the 1 st time synchronization signal and the starting time of the downlink period is greater than a difference between an ending time of the touch period of the 1 st time synchronization signal and the ending time of the downlink period; a difference between the starting time of the touch period of the N th time synchronization signal and the starting time of the downlink period is less than a difference between an ending time of the touch period of the N th time synchronization signal and the ending time of the downlink period.

5. The interaction method according to claim 3, wherein the ending time of the touch period of the 1 st time synchronization signal coincides with the ending time of the downlink period; and / or the starting time of the touch period of the N th time synchronization signal coincides with the starting time of the downlink period.

6. The interaction method according to claim 1, wherein the N display periods in the display area have the same time length; the N touch periods in the display area have the same time length; a time length of the display period of the i th time synchronization signal is greater than a time length of the touch period of the i th time synchronization signal.

7. The interaction method according to claim 1, wherein in the time frame, the display area comprises a partial area in a blanking area specified by a predetermined protocol.

8. The interaction method according to claim 7, wherein an ending time of the display area is an ending time of the touch period of the N th time synchronization signal. the time frame further comprises an uplink period, and the interaction method further comprises:

9. The interaction method of claim 1, wherein, ​ The touch display device sends an uplink signal to the active device in the uplink period.

10. The method of claim 9, wherein, The uplink period is located in the blanking interval, wherein the blanking interval is located between two adjacent display intervals, and an end time of the uplink period is earlier than or equal to an end time of the blanking interval.

11. The method of claim 9, wherein, The uplink period is located in the display interval, wherein the uplink period is located before a first time synchronization signal in the display interval, and the uplink period is adjacent to a display period of the first time synchronization signal.

12. The method of any one of claims 1-11, further comprising: The touch display device determines a length of the touch period of the time synchronization signal, comprising: determining the length of the time synchronization signal according to a data enable signal, wherein the length of the time synchronization signal is a minimum candidate length of a candidate length set of the time synchronization signal that is greater than a predetermined length of the time synchronization signal; determining a first offset parameter according to the length of the time synchronization signal, the predetermined length of the time synchronization signal, and a number of touch periods in a display interval; determining a first length of a display period in the time synchronization signal according to the data enable signal, wherein the first length of the display period is a minimum candidate length of a candidate length set of the display period that is greater than a predetermined length of the display period; determining a second offset parameter according to the first length of the display period and the predetermined length of the display period; determining the length of the touch period according to the first offset parameter and the second offset parameter.

13. The method of claim 12, wherein, The determination of the length of the touch period comprises: in a case that the uplink period is located in the blanking interval, determining a first length parameter according to the first offset parameter, the second offset parameter, and a predetermined length of the touch period; determining a second length parameter according to the length of the time synchronization signal and the first length parameter; determining a second length of the display period according to the data enable signal, wherein the second length of the display period is a maximum candidate length of the candidate length set of the display period that is less than the second length parameter; determining the length of the touch period according to the length of the time synchronization signal and the second length of the display period.

14. The method of claim 12, wherein, The determination of the length of the touch period comprises: in a case that the uplink period is located before a first time synchronization signal in the display interval, determining a length of the uplink period according to the data enable signal, wherein the length of the uplink period is a minimum candidate length of a candidate length set of the uplink period that is greater than a predetermined length of the uplink period; determining a third length parameter according to the first offset parameter, the second offset parameter, the predetermined length of the touch period, the length of the uplink period, and the predetermined length of the uplink period; determining a fourth length parameter according to the length of the time synchronization signal and the third length parameter; determining a second duration of the display period according to the data enable signal, wherein the second duration of the display period is a maximum candidate duration of a candidate duration set of the display period, which is less than the fourth duration parameter; determining a duration of the touch period according to the duration of the time synchronization signal and the second duration of the display period. 15.A touch processor, comprising: a memory; a processor coupled to the memory, the processor configured to implement the method of any one of claims 1-14 based on instructions stored in the memory. 16.The touch processor of claim 15, wherein the processor comprises a driving circuit with a large size touch display integration (LTDI) architecture, or a driving circuit with a touch and display driver integration (TDDI) architecture. 17.A touch display device, comprising: a touch sensor; the touch processor of claim 15 or 16. 18.A touch system, comprising: the touch display device of claim 17; an active device configured to send a downlink signal to the touch display device in response to receiving an uplink signal, the downlink signal comprising a touch signal of the active device.

19. A computer readable storage medium, wherein, a computer readable storage medium storing computer instructions, the instructions being executed by a processor to implement the method of any one of claims 1-14. 20.A computer program product, comprising computer instructions, wherein the instructions are executed by a processor to implement the method of any one of claims 1-14.