Touch compensation device, touch compensation method, and touch screen

By estimating and compensating the position of the pre-compensation point of the touch screen, combined with the de-interference processing, the problem of inaccurate identification of the touch screen during the scribing operation is solved, and the touch recognition accuracy is improved.

CN115867879BActive Publication Date: 2024-12-13BOE TECHNOLOGY GROUP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980002595.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-26
Publication Date
2024-12-13
Estimated Expiration
2039-11-26

AI Technical Summary

Technical Problem

The touch screen is prone to abnormal jitter or disconnection during scribing operations, resulting in inaccurate touch recognition. Especially in applications with high accuracy requirements, such as manual drawing or writing, it is necessary to improve touch recognition accuracy.

Method used

Provide a touch compensation method, by estimating the position coordinates of the pre-compensation point, calculating compensation data based on the position coordinates of the touch recognition point at the previous n moments, obtaining the touch data at the current moment for compensation, and in the event of interference Perform deinterference processing to improve touch recognition accuracy.

Benefits of technology

It reduces the impact of interference on the determination of touch recognition points, improves the touch recognition accuracy of touch screen, and reduces the occurrence of scribing abnormalities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115867879B_ABST
    Figure CN115867879B_ABST
Patent Text Reader

Abstract

A touch compensation method comprises: for each of at least one stroke line, estimating the position coordinates of a pre-compensation point at a current moment according to the position coordinates of n touch recognition points at the previous n moments, wherein the previous n moments of the current moment are T1 to T2 respectively. n , n is an integer greater than or equal to 2; according to the first touch data of the touch model corresponding to the touch recognition point at the previous moment, the compensation data of the touch model corresponding to the pre-compensation point is calculated; all touch data of the touch screen at the current moment are acquired, and according to the position coordinates of the pre-compensation point, the second touch data at the current moment at the touch model corresponding to the pre-compensation point is obtained from the all touch data; according to the compensation data, the second touch data is compensated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of touch technology, and in particular to a touch compensation device and a touch compensation method, and a touch screen. Background Art

[0002] Touch screens are widely used in human-computer interaction devices. Users can control the device by touching the touch screen with their fingers or touch tools. There are many types of touch screens. Take capacitive touch screens as an example. When a finger or touch tool touches the touch screen, the finger changes the capacitance at the contact point. By monitoring the capacitance changes at each touch point of the touch screen, the contact point can be located. Summary of the invention

[0003] On the one hand, a touch compensation method is provided, comprising: for each of at least one stroke line, based on the position coordinates of n touch recognition points at the previous n moments, estimating the position coordinates of the pre-compensation point at the current moment, wherein the previous n moments of the current moment are T1 to T2, respectively. n , n is an integer greater than or equal to 2; according to the first touch data of the touch model corresponding to the touch recognition point at the previous moment T1, the compensation data of the touch model corresponding to the pre-compensation point is calculated; all touch data of the touch screen at the current moment are acquired, and according to the position coordinates of the pre-compensation point, the second touch data at the current moment at the touch model corresponding to the pre-compensation point is obtained from the all touch data; and the second touch data is compensated according to the compensation data.

[0004] In some embodiments, before compensating the second touch data according to the compensation data, the touch compensation method further includes: performing interference removal processing on the second touch data.

[0005] In some embodiments, the performing interference removal processing on the second touch data includes: multiplying the touch data within the recognition range corresponding to the pre-compensation point by a interference removal coefficient, where the interference removal coefficient is greater than 0 and less than 1.

[0006] In some embodiments, the interference removal coefficient ranges from 0.5 to 1.

[0007] In some embodiments, the interference removal coefficient is 0.8.

[0008] In some embodiments, estimating the position coordinates of the pre-compensation point at the current moment according to the position coordinates of the n touch recognition points at the previous n moments includes: calculating the position coordinates (X) of the pre-compensation point according to the following formulas (1) and (2): C ,Y C ):

[0009]

[0010]

[0011] Among them, A k represents the weight coefficient corresponding to the difference between the position coordinates of the touch recognition points at k moments before the current moment and the touch recognition points at k+1 moments before the current moment among the n touch recognition points, And A1>A2>……>A n-1 , X k Indicates the horizontal coordinate of the touch recognition point k moments before the current moment, Y k Indicates the ordinate of the touch recognition point at the k moments before the current moment.

[0012] In some embodiments, A1>0.5.

[0013] In some embodiments, n=4, A1=0.6, A2=0.3, A3=0.1.

[0014] In some embodiments, when there are at least two strokes and there is an overlapping area between the second touch data of the touch model corresponding to the pre-compensation points of the two adjacent strokes, compensating the second touch data according to the compensation data includes: compensating the part of the second touch data that is within the overlapping area according to the compensation data of any one of the pre-compensation points of the two adjacent strokes.

[0015] In some embodiments, the compensation data includes: central compensation data calculated based on the central point touch data of the first touch data, and peripheral compensation data calculated based on the peripheral point touch data of the first touch data; the central point touch data of the first touch data is multiplied by the central compensation coefficient, and the product is used as the central compensation data, and the peripheral point touch data of the first touch data is multiplied by the peripheral compensation coefficient, and the product is used as the peripheral compensation data. Wherein, the central compensation coefficient is greater than or equal to the peripheral compensation coefficient.

[0016] In some embodiments, the central compensation coefficient has a value range of 0.2 to 0.8, and the peripheral compensation coefficient has a value range of 0.1 to 0.7.

[0017] In some embodiments, the center compensation coefficient is 0.32 and the peripheral compensation coefficient is 0.24.

[0018] In some embodiments, the second touch data includes: central point touch data and peripheral point touch data. Compensating the second touch data according to the compensation data includes: correspondingly adding the central compensation data to the central point touch data of the second touch data, and correspondingly adding the peripheral compensation data to the peripheral point touch data of the second touch data.

[0019] In some embodiments, the touch data at the current moment within the identification range corresponding to the pre-compensation point is compensated according to the compensation data to obtain the compensated touch data at the current moment. Thereafter, the touch compensation method further includes: replacing the second touch data before compensation with the compensated second touch data to obtain all the compensated touch data at the current moment; identifying the touch model at the current moment according to all the compensated touch data at the current moment, and determining the touch identification point at the current moment according to the identified touch model at the current moment.

[0020] In some embodiments, the touch model of the current moment is identified based on all the touch data after compensation at the current moment, and the touch recognition point of the current moment is determined based on the identified touch model of the current moment, including: among all the touch data after compensation at the current moment, if the touch data of a certain touch point is greater than the touch data of its surrounding touch points, then the touch point and its surrounding touch points are identified to form a touch model, and the center point of the touch model is determined to be the touch recognition point of the current moment.

[0021] In some embodiments, the touch model is a nine-square grid matrix consisting of 9 touch points.

[0022] On the other hand, a touch compensation device is provided. The touch compensation device includes: a processor and a memory. The memory stores executable program instructions, and when the program instructions are executed by the processor, the touch compensation device performs the following operations: for each of at least one stroke, based on the position coordinates of n touch recognition points at the previous n moments, estimate the position coordinates of the pre-compensation point at the current moment, wherein the previous n moments of the current moment are T1 to T2, respectively. n , n is an integer greater than or equal to 2; according to the first touch data of the touch model corresponding to the touch recognition point T1 at the previous moment, the compensation data of the touch model corresponding to the pre-compensation point is calculated; all touch data of the touch screen at the current moment are acquired, and according to the position coordinates of the pre-compensation point, the second touch data at the current moment at the touch model corresponding to the pre-compensation point is obtained from the all touch data; according to the compensation data, the second touch data is compensated.

[0023] On the other hand, a touch screen is provided, comprising the touch compensation device as described in the above embodiment.

[0024] In another aspect, a touch compensation device is provided, comprising: a pre-compensation point estimator, a touch detector, and a touch compensator. The pre-compensation point estimator is configured to, for each of at least one stroke line, estimate the position coordinates of the pre-compensation point at the current moment according to the position coordinates of n touch recognition points at the previous n moments, wherein the previous n moments of the current moment are T1 to T2, respectively. n , n is an integer greater than or equal to 2. The touch detector is configured to obtain all touch data of the touch screen at the current moment. The touch compensator is configured to calculate the compensation data of the touch model corresponding to the pre-compensation point according to the first touch data of the touch model corresponding to the touch recognition point T1 at the previous moment; obtain the second touch data of the touch model corresponding to the pre-compensation point at the current moment from the all touch data according to the position coordinates of the pre-compensation point; and compensate the second touch data according to the compensation data.

[0025] In another aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores one or more program instructions to execute one or more steps in the touch compensation method described in any of the above embodiments.

[0026] In another aspect, a computer program product is provided, wherein the computer program product comprises computer program instructions, and when the computer program instructions are executed on a computer, the computer program instructions cause the computer to execute one or more steps of the touch compensation method described in any of the above embodiments.

[0027] In another aspect, a computer program is provided. When the computer program is executed on a computer, the computer program enables the computer to execute one or more steps of the touch compensation method described in any one of the above embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the present disclosure, the following briefly introduces the drawings required to be used in some embodiments of the present disclosure. Obviously, the drawings described below are only drawings of some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can also be obtained based on these drawings. In addition, the drawings described below can be regarded as schematic diagrams, and are not limitations on the actual size of the product involved in the embodiments of the present disclosure, the actual process of the method, the actual timing of the signal, etc.

[0029] Figure 1 A schematic diagram of a touch screen having a scratching abnormality according to the related art;

[0030] Figure 2 is a schematic diagram of touch points and touch data of a touch screen according to the related art;

[0031] Figure 3 is a flow chart of a touch compensation method according to some embodiments of the present disclosure;

[0032] Figure 4 is a schematic diagram of estimating the position coordinates of a pre-compensation point in a touch compensation method according to some embodiments of the present disclosure;

[0033] Figure 5 A schematic diagram of calculating compensation data in a touch compensation method according to some embodiments of the present disclosure;

[0034] Figure 6 A schematic diagram of obtaining second touch data in a touch compensation method according to some embodiments of the present disclosure;

[0035] Figure 7 is a flow chart of another touch compensation method according to some embodiments of the present disclosure;

[0036] Figure 8 A schematic diagram of a touch compensation method according to some embodiments of the present disclosure when touch models corresponding to pre-compensation points on different lines have overlapping areas;

[0037] Fig. 9 A schematic diagram of a touch compensation method according to some embodiments of the present disclosure when second touch data at pre-compensation points on different lines have overlapping areas;

[0038] Fig.10 is a schematic diagram of another touch compensation method according to some embodiments of the present disclosure when second touch data of pre-compensation points on different lines have overlapping areas;

[0039] Figures 11 to 18 A schematic diagram of performing touch compensation in a touch compensation method according to some embodiments of the present disclosure;

[0040] Fig.19 is a structural diagram of a touch compensation device according to some embodiments of the present disclosure;

[0041] Fig. 20 is a structural diagram of a touch screen according to some embodiments of the present disclosure;

[0042] Fig.21 is a structural diagram of another touch compensation device according to some embodiments of the present disclosure. DETAILED DESCRIPTION

[0043] The following will be combined with the accompanying drawings to clearly and completely describe the technical solutions in some embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments provided by the present disclosure, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of the present disclosure.

[0044] Unless the context requires otherwise, throughout the specification and claims, the term "comprise" and other forms thereof, such as the third person singular form "comprises" and the present participle form "comprising", are to be interpreted as open, inclusive, that is, "including, but not limited to". In the description of the specification, the terms "one embodiment", "some embodiments", "exemplary embodiments", "example", "specific example" or "some examples" and the like are intended to indicate that specific features, structures, materials or characteristics associated with the embodiment or example are included in at least one embodiment or example of the present disclosure. The schematic representation of the above terms does not necessarily refer to the same embodiment or example. In addition, the specific features, structures, materials or characteristics may be included in any one or more embodiments or examples in any appropriate manner.

[0045] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, unless otherwise specified, "plurality" means two or more.

[0046] Taking touching a capacitive touch screen with a finger as an example, a high-frequency electrical signal will be formed on the touch electrode of the capacitive touch screen to form a capacitor between its touch electrodes. When a finger touches a certain place on the touch screen, the finger will cause a change in the amount of charge at that place, and then cause a change in the capacitance value between the touch electrodes at the contact point, thereby generating a touch current signal at the contact point, and the touch screen can locate the position where the charge change occurs based on the received touch current signal. Among them, the size of the generated touch current signal is related to the degree of change in the capacitance value, and the size of the touch current signal can be converted into a numerical value through an analog-to-digital converter (ADC) to represent it, that is, touch data.

[0047] See also Figure 1 When using a touch screen, when a user draws a line on the touch screen, abnormal drawing may occur; for example, the touch signal of the touch screen may be interfered by other signals inside the touch screen (for example, the liquid crystal drive signal of the liquid crystal touch screen) and external signals, resulting in inaccurate touch recognition of the touch screen. In one example, see Figure 1 In part (A), area S is an abnormal area of ​​the line, and the touch screen does not determine the actual contact point 2 as the touch recognition point 1, resulting in the line L on the touch screen being displayed as disconnected. In another example, see Figure 1 In part (B), the touch recognition point 1 determined by the touch screen in area S is inconsistent with the actual contact point 2, resulting in abnormal jitter in the line L on the touch screen, that is, individual touch points on the line deviate from the actual trajectory of the line. Especially when the user has high requirements for the touch recognition accuracy of the touch screen, for example, when the user uses the touch screen for manual drawing or writing, it is necessary to improve the touch recognition accuracy of the touch screen to reduce the occurrence of line abnormalities.

[0048] It should be noted that see Figure 2 , there are multiple touch points 10 distributed on the touch screen, and the touch screen will collect touch data at each touch point 10. At a certain moment, after the touch screen collects touch data at all touch points 10, it will determine one or more touch points 10 as the touch recognition point 1 at this moment based on the collected touch data. The "touch recognition point" mentioned in this disclosure refers to the contact point with the finger or touch tool determined by the touch screen. See Figure 1 When the touch recognition point 1 determined by the touch screen and the actual contact point 2 are the same touch point 10, it indicates that the touch recognition of the touch screen is accurate; when the touch recognition point 1 and the actual contact point 2 are not the same touch point 10, or the touch screen does not determine the actual contact point 2 as the touch recognition point 1, it indicates that the touch recognition of the touch screen is inaccurate. In this case, the problem of abnormal jitter or disconnection of the line described above will occur.

[0049] Some embodiments of the present disclosure provide a touch compensation method, see Figure 3 to Figure 6 , including the following S10-S40: for each of the at least one scribe line L,

[0050] S10, see Figure 4 , based on the position coordinates of the n touch recognition points at the previous n moments, estimate the pre-compensation point P at the current moment T0 C The position coordinates (X C ,Y C ). Among them, the n moments before the current moment are T1~T n , n is an integer greater than or equal to 2.

[0051] Here, the "pre-compensation point" refers to the touch recognition point at the current time T0 estimated based on the trajectory of n touch recognition points of the line L at the previous n times, and the estimated touch recognition point is compensated, that is, it is used as the pre-compensation point P at the current time T0 C Here, the pre-compensation point P C It is obtained through estimation, and may coincide with the actual contact point at the current moment T0 or the position coordinates of the touch recognition point determined by the touch screen, or may not coincide with the actual contact point at the current moment T0 or the position coordinates of the touch recognition point determined by the touch screen.

[0052] In addition, the n moments before the current moment T1~T n Refers to the previous moment T1 to the previous n moments T n , corresponding to n touch recognition points P1(X1,Y1)~P n (X n ,Y n Here, the previous moment T1 refers to the last moment counting from the current moment T0, and the previous n moments T n Refers to the nth last moment counting from the current moment T0.

[0053] S20, see Figure 5 According to the first touch data D1 of the touch model corresponding to the touch recognition point P1 at the previous moment T1, the pre-compensation point P is calculated. C The corresponding compensation data D of the touch model C .

[0054] It should be noted that the "touch model" mentioned above is used by the touch screen to determine the touch recognition point based on the collected touch data. The touch screen will identify the touch model based on the collected touch data. When the touch data at multiple touch points meets certain set conditions, the touch screen will identify it as a touch model and determine the touch recognition point at a certain moment based on the touch model.

[0055] S30, see Figure 6 , get all the touch data D of the touch screen at the current moment A , according to the pre-compensation point P C The position coordinates (X C ,Y C ), from all touch data D A The pre-compensation point P is obtained from C The second touch data D2 at the current time T0 of the corresponding touch model.

[0056] Here, all touch data D AThat is, the touch data of all touch points collected by the touch screen at the current time T0, and the display screen will use this to determine the touch recognition point. It should be noted that the previously mentioned "the touch signal of the touch screen is sometimes interfered by other signals inside the touch screen and external signals". After the touch signal is interfered, all touch data D A The touch data at some touch points in the image are inaccurate. A According to the pre-compensation point P C The total touch data D A Includes: Pre-compensation point P C Touch data M1 at the pre-compensation point P C The touch data M2 of other touch points around and the touch data M2 of other touch points far away from the pre-compensation point P C Touch data M3 of other touch points.

[0057] The pre-compensation point P is obtained in S10. C The position coordinates (X C ,Y C ), S30 can be based on the position coordinates (X C ,Y C ) to obtain the pre-compensation point P C The current touch data M1 and the pre-compensation point P C The touch data M2 of other surrounding touch points constitute the second touch data D2 as mentioned above.

[0058] S40, according to the compensation data D C , the second touch data D2 is compensated.

[0059] In some embodiments of the present disclosure, the order of S20 and S30 is not specifically limited. Figure 2 As shown, S20 is performed first, and then S30 is performed, that is, the compensation data D is calculated first. C , and then obtain all touch data D A As another example, S30 is performed first, and then S20 is performed, that is, all touch data D are obtained first. A , and obtain the second touch data D2 therefrom, and then calculate the compensation data D C .

[0060] In the touch compensation method described above, for each stroke line L, the touch screen determines that the time interval between touch recognition points at adjacent moments is short, and the distance between touch recognition points at adjacent moments is small. Thus, according to the n touch recognition points P1(X1, Y1) to P n (X n ,Yn ), that is, based on the trajectory before the line is drawn, the estimated touch recognition point at the current moment T0 is closer to the actual touch point at the current moment T0. And the touch data of the touch recognition points on the same line L have a certain continuity. For example, when the line is drawn by the same finger or the same touch tool, the touch data distribution of the touch model corresponding to each touch recognition point on the same line L is relatively close; for another example, the touch data of the touch recognition points at adjacent moments on the same line L rarely change drastically. Therefore, when the touch data collected at the current moment T0 is interfered by other signals inside the touch screen and external signals, the compensation data D calculated based on the first touch data D1 at the previous moment T1 C , the second touch data D2 is compensated, that is, touch compensation is performed on the second touch data D2 at the current moment T0 according to the trajectory and touch data before the stroke L, which can reduce the influence of these interferences on the accuracy of the touch screen in judging the touch recognition point, thereby improving the touch recognition accuracy of the touch screen.

[0061] Based on this, in some embodiments, see Figure 7 Before S40, the touch compensation method as described above further includes:

[0062] S35 , performing interference removal processing on the second touch data D2 as described above.

[0063] Here, S35 needs to be performed after S30 , that is, the second touch data D2 needs to be obtained first and then the interference removal process is performed on it.

[0064] Thus, in S40, according to the compensation data D C Before compensating the second touch data D2, the obtained second touch data D2 is first de-interfered, which can reduce the influence of interference from other signals inside the touch screen and external signals on the determination of the touch recognition point, thereby further improving the touch recognition accuracy of the touch screen.

[0065] Exemplarily, performing interference removal processing on the second touch data in S35 includes: multiplying the second touch data D2 by an interference removal coefficient, wherein the interference removal coefficient is greater than 0 and less than 1.

[0066] In some embodiments, the interference removal coefficient ranges from 0.5 to 1. For example, the interference removal coefficient may be 0.8.

[0067] In this way, when the touch data collected at the current moment T0 is interfered by other signals inside the touch screen and external signals, multiplying the second touch data D2 by a de-interference coefficient less than 1 can reduce the deviation value between the second touch data and the actual touch data, thereby reducing the impact of interference on the determination of the touch recognition point.

[0068] In some embodiments, S10 as described above includes:

[0069] According to the following formulas (1) and (2), calculate the pre-compensation point P C The position coordinates (X C ,Y C ):

[0070]

[0071]

[0072] Among them, X k represents the first k moments T k Touch recognition point P k (X k ,Y k ), Y k represents the previous k+1 moments T k+1 Touch recognition point P k+1 (X k+1 ,Y k+1 ). k Indicates the k moments before the current moment among the n touch recognition points k Touch recognition point P k (X k ,Y k ) and the previous k+1 moments T k+1 Touch recognition point P k+1 (X k+1 ,Y k+1 )’s position coordinates, A1>A2>……>A n-1 .

[0073] For example, see Figure 4 Taking the touch recognition point P1(X1, Y1) at the previous moment T1 and the touch recognition point P2(X2, Y2) at the previous moment T2 as examples, A1 represents the weight coefficient corresponding to the difference between the position coordinates of P1(X1, Y1) and P2(X2, Y2), that is, the weight coefficient corresponding to ΔX1 and ΔY1.

[0074] In this way, the distances between the touch recognition points on the line L at the previous n moments (including the distances between the horizontal coordinates and the distances between the vertical coordinates) are weighted according to a certain coefficient to obtain the pre-compensation point P C The difference between the coordinates of the touch recognition point P1 at the previous moment T1 (including the difference ΔX of the horizontal coordinate and the difference ΔY of the vertical coordinate) is used to estimate the position coordinates of the touch recognition point at the current moment T0, that is, to obtain the pre-compensation point PC The position coordinates (X C ,Y C ).

[0075] It should be noted that A1>A2>……>A n-1 , so that when calculating ΔX and ΔY, the distance from the pre-compensation point P C The distance between the closer touch recognition points has a larger weight, while the distance pre-compensation point P C The distance between touch recognition points that are farther away has a smaller weight.

[0076] Here, A can be set according to the actual touch recognition requirements. k The size of is not specifically limited here. For example, the value range of A1 can be greater than 0.5. For example, when n is 4, A1 is 0.6, A2 is 0.3, and A3 is 0.1.

[0077] In some embodiments, see Figure 8 , when there are at least two lines L, and the pre-compensation points P of the two adjacent lines L C When there is an overlapping area S1 between the second touch data D2 of the corresponding touch model, the pre-compensation point P according to the two lines L in S40 C Compensation data D for any of C , the part of the second touch data D2 in the overlapping area S1 is compensated. That is, for the part of the second touch data D2 in the overlapping area S1, only one compensation is required, and the touch data in the overlapping area S1 does not belong to two pre-compensation points P. C The second touch data D2 of the corresponding touch model is repeatedly compensated.

[0078] Based on this, in some embodiments, see Figure 5 , as mentioned above, the compensation data D C The method comprises: central compensation data N1 ′ calculated based on central point touch data N1 of the first touch data D1 , and peripheral compensation data N2 ′ calculated based on peripheral point touch data N2 of the first touch data D1 .

[0079] Here, the center point touch data N1 of the first touch data D1 is the touch data of the touch recognition point P1 at the previous moment T1, and the peripheral point touch data N2 of the first touch data D1 is the touch data of other touch points around the touch recognition point P1 at the previous moment T1.

[0080] The center point touch data N1 of the first touch data D1 is multiplied by the center compensation coefficient n1, and the product is the center compensation data N1', that is, N1'=N1×n1; the peripheral point touch data N2 of the first touch data D1 is multiplied by the peripheral compensation coefficient n2, and the product is the peripheral compensation data N2', that is, N2'=N2×n2. Among them, the center compensation coefficient n1 is greater than or equal to the peripheral compensation coefficient n2.

[0081] It should be noted that the capacitance value at the actual contact point changes greatly, while the capacitance value of the touch point located in the peripheral area of ​​the actual contact point changes less. In other words, the touch data at the actual contact point will be greater than the touch data at other contact points around the actual contact point. The touch screen can determine the touch recognition point based on this: when all the touch data D collected by the touch screen A If the touch data at a certain touch point is greater than the touch data at other touch points around it, the touch screen will identify the touch sensing point and other touch points around it as a touch model, and determine the touch point with the larger touch data as a touch recognition point. Figure 4 Taking the first touch data D1 in as an example, N1 is greater than N2.

[0082] When the number of the at least one stroke line L is greater than or equal to 2, for example, the second touch data D2 of the touch screen is as follows: Fig. 9 In the case shown, the touch screen will recognize that there are three touch models and thus determine three touch recognition points. If the second touch data D2 of the touch model corresponding to two of the touch recognition points has an overlapping area S2, the touch data collected at the overlapping area S2 may be the superposition of the touch data of the two actual contact points, and the superimposed touch data may be greater than or equal to the touch data at the actual touch point, resulting in the touch screen being unable to correctly recognize the touch model and thus misjudging the touch recognition point (for example, determining the touch point in the overlapping area S2 as a touch recognition point).

[0083] In this case, in the touch compensation method described above, the center compensation coefficient n1 is greater than or equal to the peripheral compensation coefficient n2, that is, for the compensation point P C The compensation degree of the touch data M1 is greater than that of the compensation point P C The compensation degree of the touch data M2 of the surrounding touch points. C After compensating the second touch data D2, it is possible to reduce the touch recognition point misjudgment caused by the touch screen due to the touch data collected in the overlapping area S2 being the overlapping touch data, thereby further improving the touch recognition accuracy of the touch screen.

[0084] Exemplarily, the value range of the center compensation coefficient n1 is 0.2 to 0.8, and the value range of the peripheral compensation coefficient n2 is 0.1 to 0.7. For example, the center compensation coefficient n1 is 0.32, and the peripheral compensation coefficient n2 is 0.24.

[0085] In some embodiments, see Figure 6 and Fig. 9 In the case where the second touch data D2 includes: the central point touch data M1 and the peripheral point touch data M2, S40 includes:

[0086] The central compensation data N1' and the central point touch data M1 of the second touch data D2 are added correspondingly, that is, the compensated central point touch data is: N1'+M1; the peripheral compensation data N2' and the peripheral point touch data M2 of the second touch data D2 are added correspondingly, that is, the compensated peripheral point touch data is: N2'+M2.

[0087] In some embodiments, see Fig.10 In the touch compensation method as described above, S35 is performed, that is, after the second touch data D2 is obtained and the interference removal processing is performed on it, the center compensation data N1' and the center point touch data M1' of the second touch data D2' after interference removal are added correspondingly in S40, and the compensated center point touch data is: N1'+M1'; the peripheral compensation data N2' and the peripheral point touch data M2' of the second touch data D2' after interference removal are added correspondingly, and the compensated peripheral point touch data is: N2'+M2'.

[0088] In some embodiments, see Figure 7 The touch compensation method as described above further includes the following steps after S40:

[0089] S50, replacing the second touch data D2 before compensation with the second touch data D2′ after compensation, to obtain all the touch data D2 after compensation at the current time T0 A '.

[0090] S51, based on all the touch data D after compensation at the current time T0 A ', identify the touch model at the current time T0, and determine the touch recognition point P0 at the current time T0 according to the identified touch model at the current time T0.

[0091] Exemplarily, S51 includes:

[0092] All touch data D after compensation at the current time T0 A', if the touch data of a certain touch point is greater than the touch data of its surrounding touch points, it is recognized that the touch point and its surrounding touch points constitute a touch model, and the center point of the touch model is determined to be the touch recognition point P0 at the current time T0.

[0093] Here, the shape of the touch model, the number of touch points included, and the touch data distribution of the touch points included are not specifically limited, and the touch model can be set according to actual needs. Figure 5 , the touch model is a nine-grid matrix composed of 9 touch points and their touch data, and the touch data N1 of the center point of the touch model is greater than the touch data N2 of the surrounding points. Exemplarily, the touch model can also be a twenty-five-grid matrix composed of 25 touch points and their touch data, and the touch data N1 of the center point is greater than the touch data N2 of the surrounding points. In addition, the touch model can be designed according to the specific arrangement of the touch points of different touch screens and actual needs.

[0094] Next, we will refer to Figures 11 to 17 Here, the touch screen has three lines L, and the pre-compensation point P is calculated based on the position coordinates of the four touch points at the previous four moments. C Take the position coordinates as an example, and take the touch model as the nine-square grid matrix as described above as an example.

[0095] like Fig.11 As shown, for each of the three lines L, the pre-compensation point P is calculated by the following formulas (3) and (4) according to the position coordinates (X1, Y1), (X2, Y2), (X3, Y3) and (X4, Y4) of the four touch recognition points P1, P2, P3 and P4 at the previous four moments: C The position coordinates (X C ,Y C ):

[0096] X C =X1+0.6(X1-X2)+0.3(X2-X3)+0.1(X3-X4) (3);

[0097] Y C =Y1+0.6(Y1-Y2)+0.3(Y2-Y3)+0.1(Y3-Y4) (4).

[0098] It should be noted that formula (3) is obtained by applying the formula (1) when A1 is 0.6, A2 is 0.3, and A3 is 0.1. Formula (4) is obtained by applying the formula (2) when A1 is 0.6, A2 is 0.3, and A3 is 0.1.

[0099] like Fig.12 and Fig.13 As shown, according to the first touch data D1 of the touch model corresponding to the touch recognition point P1 (X1, Y1) at the previous moment T1 on each line L, the pre-compensation point P of each line L is calculated. C The corresponding compensation data D of the touch model C .

[0100] Taking the center compensation coefficient n1 as 0.32 and the peripheral compensation coefficient n2 as 0.24 as an example, we can get Fig.13 Each compensation data D C 1 center point touch data N1 and 8 peripheral point touch data N2. For example, Fig.11 The center point touch data N1 of the first touch data D1 located at the top line L is 860, and the calculated center point compensation data N1'=0.32×860=275; taking the peripheral point touch data N2 (504) located on the right side of the center point as an example, the corresponding peripheral compensation data N2'=0.24×504=121.

[0101] See also Fig.14 , get all the touch data D of the touch screen at the current moment A , through the pre-compensation point P of each line L C The position coordinates (X C ,Y C ), from all touch data D A These pre-compensation points P are obtained from C The second touch data D2 at the current moment of the corresponding touch model.

[0102] See also Fig.15 , taking the de-interference coefficient as 0.8 as an example, the second touch data D2 is multiplied by the de-interference coefficient 0.8 to perform de-interference processing on the second touch data D2. Fig.11 The center point touch data M1 of the second touch data D2 located at the top line L is 909. After the second touch data D2 is de-interference processed, the center point touch data M1' is 727; the peripheral point touch data M2 on the right side of the center point is 388. After the second touch data D2 is de-interference processed, the peripheral point touch data M2' is 310.

[0103] See also Fig.16 , the second touch data D2' after interference removal is compensated: the central compensation data N1' and the central point touch data M1' of the second touch data D2' after interference removal are added correspondingly, and the peripheral compensation data N2' and the peripheral point touch data M2' of the second touch data D2' after interference removal are added correspondingly. For example, Fig.11The touch data of the center point of the uppermost line L after compensation is: 275+727=1002; the touch data of the peripheral points on the right side of the center point after touch compensation is: 121+310=431.

[0104] See also Fig.17 , replace the second touch data D2' before compensation with the second touch data D2' after compensation, and obtain the total touch data D2 after compensation at the current time T0. A '.

[0105] See also Fig.18 , based on all the touch data D after compensation at the current moment T0 A ', identify the touch model Mod at the current time T0, and determine the touch recognition point P0 at the current time T0 according to the identified touch model Mod at the current time T0. For example, all the touch data D after compensation A ', the touch data of a certain touch point is 1002, which is greater than the touch data of other touch points around it, then the touch recognition point P0 at the current time T0 is determined to be the touch point with the touch data of 1002.

[0106] In some embodiments of the present disclosure, see Fig.19 , a touch compensation device 100 is also provided, comprising: a processor 101 and a memory 102. The memory 102 stores executable program instructions, and when the program instructions are executed by the processor 101, the touch compensation device 100 performs the following operations:

[0107] According to the position coordinates of the n touch recognition points at the previous n moments, the pre-compensation point P at the current moment T0 is estimated. C The position coordinates (X C ,Y C ). Among them, the n moments before the current moment are T1~T n , n is an integer greater than or equal to 2.

[0108] The pre-compensation point P is calculated based on the first touch data D1 of the touch model corresponding to the touch recognition point P1 at the previous time T1. C The corresponding compensation data D of the touch model C .

[0109] Get all touch data D of the touch screen at the current time T0 A , according to the pre-compensation point P C The position coordinates (X C ,Y C ), from all touch data D A The pre-compensation point P is obtained from C The second touch data D2 at the current time T0 of the corresponding touch model.

[0110] According to the compensation data D C , the second touch data D2 is compensated.

[0111] The touch compensation device 100 can reduce the influence of interference on the accuracy of the touch screen in judging the touch recognition point, thereby improving the touch recognition accuracy of the touch screen. This effect has been described in detail in some embodiments of the touch compensation method provided in the present disclosure and will not be repeated here.

[0112] In some embodiments, the touch compensation device 100 further includes a communication bus 103 , and the processor 101 and the memory 102 are electrically connected to the communication bus 103 to achieve data transmission including touch data.

[0113] Some embodiments of the present disclosure also provide a touch screen 1000, see Fig. 20 , including the touch compensation device 100 as described above.

[0114] The touch screen 1000 can also reduce the influence of interference on the accuracy of the touch screen in determining touch recognition points, thereby improving the touch recognition accuracy of the touch screen, which will not be described in detail here.

[0115] In some embodiments of the present disclosure, a touch compensation device 200 is further provided. In the case where each functional module is divided into corresponding functional modules, see Fig.21 The touch compensation device 200 includes: a pre-compensation point estimator 201, a touch detector 202 and a touch compensator 203.

[0116] The pre-compensation point estimator 201 is configured to: for each of the at least one stroke line L, estimate the pre-compensation point P at the current time T0 according to the position coordinates of the n touch recognition points at the previous n moments. C The position coordinates (X C ,Y C ). Among them, the n moments before the current moment are T1~T n , n is an integer greater than or equal to 2.

[0117] The touch detector 202 is configured to obtain all touch data D of the touch screen at the current time T0. A .

[0118] The touch compensator 203 is configured to calculate the pre-compensation point P according to the first touch data D1 of the touch model corresponding to the touch recognition point at the previous time T1. C The corresponding compensation data D of the touch model C ; According to the pre-compensation point P C The position coordinates (X C,Y C ), from all touch data D A The pre-compensation point P is obtained from C The second touch data D2 at the current time T0 of the corresponding touch model; according to the compensation data D C , the second touch data D2 is compensated.

[0119] The touch compensation device 200 as described above can also reduce the influence of interference on the accuracy of the touch screen in determining the touch recognition point, thereby improving the touch recognition accuracy of the touch screen, which will not be described in detail here.

[0120] Some embodiments of the present disclosure provide a computer-readable storage medium (e.g., a non-transitory computer-readable storage medium), which stores computer program instructions. When the computer program instructions are executed on a processor, the processor executes one or more steps of the touch compensation method described in any of the above embodiments.

[0121] The computer-readable storage medium can also reduce the influence of interference on the accuracy of the touch screen in determining the touch recognition point, thereby improving the touch recognition accuracy of the touch screen, which will not be repeated here.

[0122] Exemplarily, the above-mentioned computer-readable storage media may include, but are not limited to: magnetic storage devices (e.g., hard disks, floppy disks or magnetic tapes, etc.), optical disks (e.g., CDs (Compact Disks), DVDs (Digital Versatile Disks), etc.), smart cards and flash memory devices (e.g., EPROMs (Erasable Programmable Read-Only Memory), cards, sticks or key drives, etc.). The various computer-readable storage media described in the present disclosure may represent one or more devices and / or other machine-readable storage media for storing information. The term "machine-readable storage medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing and / or carrying instructions and / or data.

[0123] Some embodiments of the present disclosure further provide a computer program product, which includes computer program instructions, and when the computer program instructions are executed on a computer, the computer program instructions cause the computer to execute one or more steps of the touch compensation method described in any of the above embodiments.

[0124] Some embodiments of the present disclosure further provide a computer program. When the computer program is executed on a computer, the computer program enables the computer to execute one or more steps of the touch compensation method described in any of the above embodiments.

[0125] The beneficial effects of the above-mentioned computer-readable storage medium, computer program product and computer program are the same as the beneficial effects of the touch compensation method described in some of the above-mentioned embodiments, and will not be repeated here.

[0126] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any changes or substitutions that can be thought of by any person skilled in the art within the technical scope disclosed in the present disclosure should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A touch compensation method, comprising: For each dash in at least one dash, According to the position coordinates of the n touch recognition points at the previous n moments, the position coordinates of the pre-compensation point at the current moment are estimated; wherein the previous n moments of the current moment are T1 to T n , n is an integer greater than or equal to 2; According to the first touch data of the touch model corresponding to the touch recognition point at the previous moment T1, the compensation data of the touch model corresponding to the pre-compensation point is calculated; Acquire all touch data of the touch screen at the current moment, and obtain second touch data at the current moment at the touch model corresponding to the pre-compensation point from the all touch data according to the position coordinates of the pre-compensation point; The second touch data is compensated according to the compensation data.

2. The touch compensation method according to claim 1, before compensating the second touch data according to the compensation data, the touch compensation method further comprises: Perform interference removal processing on the second touch data.

3. The touch compensation method according to claim 2, wherein: The performing interference removal processing on the second touch data includes: The touch data of the second touch data corresponding to the pre-compensation point is multiplied by a de-interference coefficient, where the de-interference coefficient is greater than 0 and less than 1.

4. The touch compensation method according to claim 3, wherein: The interference removal coefficient has a value range of 0.5 to 1.

5. The touch compensation method according to claim 4, wherein: The interference removal coefficient is 0.

8.

6. The touch compensation method according to claim 1, wherein: The estimating the position coordinates of the pre-compensation point at the current moment according to the position coordinates of the n touch recognition points at the previous n moments includes: According to the following formulas (1) and (2), the position coordinates (X C ,Y C ): Among them, A k represents the weight coefficient corresponding to the difference between the position coordinates of the touch recognition points at k moments before the current moment and the touch recognition points at k+1 moments before the current moment among the n touch recognition points, And A1>A2>……>A n-1 ;X k Indicates the horizontal coordinate of the touch recognition point k moments before the current moment, Y k Indicates the ordinate of the touch recognition point at the k moments before the current moment.

7. The touch compensation method according to claim 6, wherein: A1>0.5。 8. The touch compensation method according to claim 7, wherein: n=4, A1=0.6, A2=0.3, A3=0.

1.

9. The touch compensation method according to any one of claims 1 to 8, wherein: In the case where there are at least two scribing lines, and there is an overlapping area between the second touch data of the touch model corresponding to the pre-compensation points of the two adjacent scribing lines, The compensating the second touch data according to the compensation data includes: The portion of the second touch data within the overlapping area is compensated according to compensation data of any one of the pre-compensation points of two adjacent lines.

10. The touch compensation method according to any one of claims 1 to 8, wherein: The compensation data includes: central compensation data calculated based on central point touch data of the first touch data, and peripheral compensation data calculated based on peripheral point touch data of the first touch data; The center point touch data of the first touch data is multiplied by the center compensation coefficient, and the product is used as the center compensation data; the peripheral point touch data of the first touch data is multiplied by the peripheral compensation coefficient, and the product is used as the peripheral compensation data; wherein the center compensation coefficient is greater than or equal to the peripheral compensation coefficient.

11. The touch compensation method according to claim 10, wherein: The central compensation coefficient has a value range of 0.2 to 0.8, and the peripheral compensation coefficient has a value range of 0.1 to 0.

7.

12. The touch compensation method according to claim 11, wherein: The center compensation coefficient is 0.32, and the peripheral compensation coefficient is 0.

24.

13. The touch compensation method according to claim 11 or 12, wherein: The second touch data includes: center point touch data and peripheral point touch data; The compensating the second touch data according to the compensation data includes: Adding the center compensation data and the center point touch data of the second touch data correspondingly; The peripheral compensation data and the peripheral point touch data of the second touch data are correspondingly added.

14. The touch compensation method according to any one of claims 1 to 8 or 11, wherein the touch data of the second touch data corresponding to the pre-compensation point at the current moment is compensated according to the compensation data to obtain the compensated touch data at the current moment, and then the touch compensation method further comprises: replacing the second touch data before compensation with the second touch data after compensation to obtain all the touch data after compensation at the current moment; The touch model at the current moment is identified according to all the compensated touch data at the current moment, and the touch recognition point at the current moment is determined according to the identified touch model at the current moment.

15. The touch compensation method according to claim 14, wherein: The step of identifying the touch model at the current moment according to all the touch data after compensation at the current moment, and determining the touch recognition point at the current moment according to the identified touch model at the current moment includes: Among all the touch data after compensation at the current moment, if the touch data of a touch point is greater than the touch data of its surrounding touch points, the touch point and its surrounding touch points are identified to form a touch model, and the center point of the touch model is determined to be the touch recognition point at the current moment.

16. The touch compensation method according to claim 15, wherein: The touch model is a nine-square grid matrix composed of 9 touch points.

17. A touch compensation device, comprising: Processor and memory; The memory stores executable program instructions; When the program instructions are executed by the processor, the touch compensation device performs the following operations: For each dash in at least one dash, According to the position coordinates of the n touch recognition points at the previous n moments, the position coordinates of the pre-compensation point at the current moment are estimated; wherein the previous n moments of the current moment are T1 to T n , n is an integer greater than or equal to 2; According to the first touch data of the touch model corresponding to the touch recognition point at the previous moment T1, the compensation data of the touch model corresponding to the pre-compensation point is calculated; Acquire all touch data of the touch screen at the current moment, and obtain second touch data at the current moment at the touch model corresponding to the pre-compensation point from the all touch data according to the position coordinates of the pre-compensation point; The second touch data is compensated according to the compensation data. 18 . A computer-readable storage medium storing one or more program instructions for executing one or more steps in the touch compensation method according to claim 1 .

19. A touch screen, comprising the touch compensation device according to claim 17.