A screen touch recognition method, device and electronic device

By acquiring reference capacitance and real-time capacitance values ​​and combining them with internal compensation values ​​to calibrate the touch threshold, the problem of inaccurate touch screen recognition under humid conditions is solved, achieving accurate touch operation recognition in humid environments and improving the user experience.

CN115826789BActive Publication Date: 2025-10-31SHENZHEN BLUETRUM TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211566483.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-07
Publication Date
2025-10-31
Estimated Expiration
2042-12-07

AI Technical Summary

Technical Problem

In humid conditions, the moisture on the hands affects the capacitance value of the touch screen, causing the control chip to be unable to accurately recognize touch actions, thus affecting the user's operating experience.

Method used

By acquiring the reference capacitance value and real-time capacitance value of the touch point, and combining them with the internal compensation value, the touch press threshold and release threshold are determined. The reference capacitance value is calibrated to adapt to the humid environment, thereby achieving accurate touch operation recognition.

Benefits of technology

Even in humid conditions, it can respond quickly and accurately to user touch operations, improving the user experience and adapting to various usage scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115826789B_ABST
    Figure CN115826789B_ABST
Patent Text Reader

Abstract

This application relates to the field of touch device control, specifically to a screen touch recognition method, apparatus, and electronic device. The screen touch recognition method obtains the reference capacitance value and real-time capacitance value corresponding to the touch point, and combines this with internal compensation values ​​to determine the touch press threshold and touch release threshold corresponding to the touch point. Touch operations are then recognized based on the real-time capacitance value. This method can quickly and accurately respond to user touch operations even when the touch screen is wet, avoiding the problem in existing technologies where the touch screen cannot correctly respond to user commands when wet, thus improving user experience and better adapting to various user scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of touch device control, specifically to a screen touch recognition method, device, and electronic device. Background Technology

[0002] When a user uses a touch device, such as TWS earbuds, their finger touches the screen. Due to the human body's electric field, a coupling capacitance is formed between the finger and the touchscreen surface. The control chip calculates the capacitance value to determine whether the current operation is a press or release. However, according to the above touch implementation process, if the user's hands are not dry (containing water or sweat) after exercise, washing hands, or other similar scenarios, using wet hands to operate the touchscreen will affect the capacitance value judgment. The control chip's calculation will no longer be accurate, which may result in the touch action not being detected or seriously affecting the user's operating experience. Summary of the Invention

[0003] The embodiments of this application mainly address the technical problem that liquid on the hands can affect the responsiveness of touch screens in the prior art.

[0004] To address the aforementioned technical problems, one technical solution adopted in this application is: providing a screen touch recognition method, the method comprising:

[0005] Obtain the reference capacitance value corresponding to the touch point, wherein the reference capacitance value is the capacitance value corresponding to the touch point when it is in a non-touch state and without interference;

[0006] Obtain the real-time capacitance value corresponding to the touch point;

[0007] Obtain the internal compensation value corresponding to the touch point, and determine the touch press threshold and touch release threshold corresponding to the touch point based on the internal compensation value and the reference capacitance value;

[0008] Touch operations are identified based on the real-time capacitance value, combined with the touch press threshold or the touch release threshold.

[0009] Optionally, obtaining the internal compensation value corresponding to the touch point includes:

[0010] The change in the reference capacitance value is used as the initial change.

[0011] Internal touch points are set inside the control chip corresponding to the aforementioned touch points;

[0012] The change in the internal reference capacitance value corresponding to the internal touch point is acquired in real time as the internal change value.

[0013] The difference between the external change and the internal change is calculated as the internal compensation value.

[0014] Optionally, determining the touch press threshold and touch release threshold corresponding to the touch point based on the internal compensation value and the reference capacitance value includes:

[0015] Obtain the initial press threshold corresponding to the touch point;

[0016] The internal compensation value is proportionally compensated to the initial press threshold to obtain the touch press threshold;

[0017] Obtain the initial release threshold corresponding to the touch point;

[0018] The internal compensation value is proportionally compensated to the initial release threshold to obtain the touch release threshold.

[0019] Optionally, determining the touch operation based on the real-time capacitance value and the touch press threshold includes:

[0020] Calculate the first difference between the real-time capacitance value and the reference capacitance value;

[0021] If the first difference is greater than the touch press threshold, then a touch press operation is identified.

[0022] Optionally, the step of recognizing touch operations based on the real-time capacitance value and the touch release threshold includes:

[0023] Calculate the second difference between the real-time capacitance value and the reference capacitance value;

[0024] If the second difference is less than the touch release threshold, then a touch release operation is identified.

[0025] Optionally, after the step of obtaining the real-time capacitance value corresponding to the touch point, the method further includes:

[0026] Obtain the real-time average value of the capacitance corresponding to the touch point;

[0027] The difference between the real-time capacitance value and the real-time average value is calculated as the real-time difference.

[0028] Set press and release thresholds;

[0029] Based on the real-time difference, the touch operation is identified in conjunction with the press threshold or the release threshold.

[0030] Optionally, the method further includes:

[0031] The reference capacitance value is calibrated.

[0032] Optionally, calibrating the reference capacitance value includes:

[0033] Obtain the real-time average value of the real-time capacitance value under steady-state conditions;

[0034] When the real-time average value is greater than the reference capacitance value and the real-time average value is less than the initial release threshold, the reference capacitance value is updated based on the real-time average value.

[0035] When the real-time average value is less than the reference capacitance value, the reference capacitance value is updated based on the real-time average value.

[0036] When the real-time average value remains unchanged for more than a preset time, the reference capacitance value is updated based on the real-time average value.

[0037] To solve the above-mentioned technical problems, another technical solution adopted in this application is: providing a screen touch recognition device, including:

[0038] A reference capacitance acquisition module is used to acquire the reference capacitance value corresponding to the touch point, wherein the reference capacitance value is the capacitance value corresponding to the touch point when it is in a non-touch state and without interference.

[0039] The real-time capacitance acquisition module is used to acquire the real-time capacitance value corresponding to the touch point.

[0040] An internal capacitance acquisition module is used to acquire the internal compensation value corresponding to the touch point, and determine the touch press threshold and touch release threshold corresponding to the touch point based on the internal compensation value and the reference capacitance value.

[0041] A touch operation recognition module is used to recognize touch operations based on the real-time capacitance value, combined with the touch press threshold or the touch release threshold.

[0042] To solve the above-mentioned technical problems, another technical solution adopted in the embodiments of this application is: to provide an electronic device, comprising:

[0043] At least one processor; and,

[0044] A memory communicatively connected to the at least one processor; wherein,

[0045] The memory stores instructions that can be executed by the at least one processor to cause the at least one processor to perform the screen touch recognition method described above.

[0046] Unlike related technologies, this application provides a screen touch recognition method, apparatus, and electronic device. This screen touch recognition method obtains the reference capacitance value and real-time capacitance value corresponding to the touch point, and determines the touch press threshold and touch release threshold corresponding to the touch point by combining them with internal compensation values. Touch operations are then recognized based on the real-time capacitance value. This method can quickly and accurately respond to user touch operations even when the touch screen is wet, avoiding the problem in existing technologies where the touch screen cannot correctly respond to user commands when wet, thus improving the user experience and better adapting to various user scenarios. Attached Figure Description

[0047] One or more embodiments are illustrated by way of example with reference to the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements having the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0048] Figure 1 This is a schematic diagram of capacitance transformation in an application scenario provided by an embodiment of this application;

[0049] Figure 2 This is a schematic flowchart of a screen touch recognition method provided in an embodiment of this application;

[0050] Figure 3 This is a schematic flowchart of a method for obtaining internal compensation values ​​provided in an embodiment of this application;

[0051] Figure 4 This is a schematic flowchart of a method for determining a touch press threshold and a touch release threshold provided in an embodiment of this application;

[0052] Figure 5 This is a flowchart illustrating another screen touch recognition method provided in an embodiment of this application;

[0053] Figure 6 yes Figure 5 A schematic diagram of the real-time differential sampling transformation of the corresponding screen touch recognition method;

[0054] Figure 7 This is a schematic flowchart of a method for calibrating a reference capacitance value provided in an embodiment of this application;

[0055] Figure 8 This is a schematic structural block diagram of a screen touch recognition device provided in an embodiment of this application;

[0056] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0057] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. It should be noted that, unless otherwise specified, the various features in the embodiments of this application can be combined with each other, all within the protection scope of this application. Furthermore, although functional modules are divided in the device schematic diagram and a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed with a different module division or order than that shown in the device schematic diagram or the flowchart.

[0058] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of this application. The term "and / or" as used in this specification includes any and all combinations of one or more of the associated listed items.

[0059] When a user touches a touch device, their finger touches the screen. Due to the human body's electric field, a coupling capacitance is formed between the finger and the touchscreen surface. The control chip detects this capacitance value to calculate whether the current operation is a press or a release. For example, please refer to [link to TWS earphones]. Figure 1 In this embodiment of the application, the capacitance value corresponding to the touch point in a non-touch state and without interference is described as the reference capacitance value. Figure 1 In the diagram, TKBCNT represents the reference capacitance value (shown as a dashed line) and TKCNT represents the real-time capacitance value (shown as a solid line). The capacitance value collected in real time is represented as the real-time capacitance value. The reference capacitance value refers to the capacitance value under stable conditions, including situations where no user is touching the touchscreen or where no user has been touching the touchscreen for an extended period.

[0060] The control chip can determine whether a touch operation has occurred based on easily identifiable touch gestures, and update the reference capacitance value in real time when the operation is stable. The stability of the capacitance value (i.e., its constant capacitance over a certain period) can be determined by calculating the real-time variance or average of the reference capacitance value. Because the reference capacitance value is the capacitance value under stable conditions, touch operation detection is based on this reference capacitance value. Therefore, ideally, users would prefer that the reference capacitance value remains unchanged.

[0061] When a user touches the touchscreen, the real-time capacitance value increases, such as Figure 1As shown, when a user touches the earphone's touchpoint with sweaty fingers, a small amount of sweat remains on the earphone's touchscreen. As the reference capacitance value is updated over time, this value will deviate from its original value. For example... Figure 1 The value shown changed from around 900 to around 920.

[0062] When recognizing a touch operation, the difference between the real-time capacitance value and the reference capacitance value is typically calculated. Whether a touch operation should be performed is determined based on whether the difference reaches the initial press threshold or the initial release threshold. This touch operation usually includes a touch press operation and a touch release operation, corresponding to the action of a finger touching the touchscreen and the action of a finger leaving the touchscreen, respectively. If the difference is greater than the touch press threshold, it is recognized as a touch press operation; if the difference is less than the touch release threshold, it is recognized as a touch release operation.

[0063] Figure 1 In the case of sweat, if a finger touches the touchscreen again, the difference between the real-time capacitance value and the reference capacitance value will become smaller (because sweat causes the reference capacitance value to shift upward). It is very likely that the difference obtained above will be less than the initial press threshold, thus causing the current or subsequent touch of the touchscreen to be undetectable.

[0064] Please see Figure 2 This application provides a screen touch recognition method, the method comprising:

[0065] S11. Obtain the reference capacitance value corresponding to the touch point, wherein the reference capacitance value is the capacitance value corresponding to the touch point when the touch point is in a non-touch state and without interference.

[0066] In this embodiment, the real-time variance of the capacitance value corresponding to the touch point can be calculated to determine whether the current capacitance value is in a stable state, i.e., the capacitance remains stable over a certain period of time. If it is in a stable state, it indicates that there are no interference factors and it is not a touch state. In a stable state, the calculated real-time average value of the capacitance value will also remain stable, and this average value is used to update the reference capacitance value.

[0067] by Figure 1For example (the horizontal axis in the graph represents time, and the vertical axis represents capacitance value), when there is no sweat, the baseline capacitance value remains around 900. Between 22 and 28 on the horizontal axis, the real-time capacitance value shows a clear upward trend and then approaches a constant value around 28. This indicates that a touch operation occurred around 22-28 on the horizontal axis, meaning the situation was not stable. Therefore, the baseline capacitance value for this period remained around 900. After the finger leaves the touchscreen, the baseline capacitance value returns to a stable state around 52 on the horizontal axis. However, because sweat remains on the touchscreen, the latest average value calculated based on the capacitance value changes, updating the baseline capacitance value. Consequently, the baseline capacitance value for the subsequent time intervals around 52 on the horizontal axis becomes around 920.

[0068] S12. Obtain the real-time capacitance value corresponding to the touch point.

[0069] S13. Obtain the internal compensation value corresponding to the touch point, and determine the touch press threshold and touch release threshold corresponding to the touch point based on the internal compensation value and the reference capacitance value.

[0070] Continue to use the above. Figure 1 For example, assuming the initial press threshold is 30 and the initial release threshold is -30, if 920 is still used as the reference capacitance value, and touch operation recognition is performed based on the initial press threshold and the initial release threshold, then as can be seen from the figure, two touch operations under conditions of sweat will not be recognized. Therefore, the solution of this application embodiment includes obtaining the internal compensation value corresponding to the touch point, and determining the touch press threshold and touch release threshold corresponding to the touch point based on the internal compensation value and the reference capacitance value.

[0071] In this regard, please combine Figure 3 The acquisition of the internal compensation value corresponding to the touch point includes:

[0072] S131. Obtain the change in the reference capacitance value as the initial change. Collect the reference capacitance value over a previous time period and calculate the average value. For example, collect the reference capacitance value over the previous 64 milliseconds and calculate its average value. Calculate the initial change based on the current reference capacitance value and this average value.

[0073] S132. An internal touch point is set inside the control chip corresponding to the touch point. An internal touch point is added inside the earphone or inside the control chip, generally choosing to add an internal touch point inside the control chip. Since the internal touch point is set inside the earphone, it will not be affected by external environmental factors, such as the effect of sweat in the above example. Therefore, the reference capacitance value corresponding to the internal touch point will not be affected by sweat.

[0074] S133. Real-time acquisition of the change in the internal reference capacitance value corresponding to the internal touch point as the internal change amount. Collect the internal reference capacitance values ​​over a previous time period and calculate the average value. For example, collect the internal reference capacitance values ​​over the previous 64 milliseconds and calculate their average value. Calculate the internal change amount based on the current internal reference capacitance value and this average value. It should be noted that the 64-millisecond calculation period used in the above example is merely an example and does not limit this step to using only this calculation period. In other application scenarios, other more suitable calculation periods can be used.

[0075] S134. Calculate the difference between the external change and the internal change as the internal compensation value. Subtract the internal change from the external change to obtain the internal compensation value to facilitate subsequent compensation calculations.

[0076] Please combine Figure 4 The step of determining the touch press threshold and touch release threshold corresponding to the touch point based on the internal compensation value and the reference capacitance value includes:

[0077] S1301. Obtain the initial press threshold corresponding to the touch point.

[0078] S1302. The internal compensation value is proportionally compensated to the initial press threshold to obtain the touch press threshold.

[0079] Generally, when compensating proportionally to the initial pressing threshold, a larger internal compensation value indicates a greater influence from sweat, thus requiring more compensation for the initial pressing threshold. As mentioned above... Figure 1 For example, one example of compensation calculation could be: assuming the external change is 20, the internal change is 0.1, and the internal compensation value is 19.9; assuming the initial press threshold is 30, the touch press threshold is 30 - (19.9 * 19.9 / 20), approximately 10.2, and the touch press threshold is set to 10.2; assuming the external change is 20, the internal change is 10, and the internal compensation value is 10; assuming the initial press threshold is 30, the touch press threshold is 30 - (10 * 10 / 20), approximately 25, and the touch press threshold is set to 25.

[0080] Another example of compensation calculation could be: multiply the internal compensation value by a coefficient a to compensate for the touch down threshold, where the coefficient a is less than 1 and greater than 0. Assuming a is 0.8, the external change is 20, the internal change is 0.1, and the internal compensation value is 19.9. Assuming the initial down threshold is 30, the touch down threshold is 30 - (19.9 * 0.8), which is approximately 14.8. Assuming the external change is 20, the internal change is 10, and the internal compensation value is 10. Assuming the initial down threshold is 30, the touch down threshold is 30 - (10 * 0.8), which is 22.

[0081] It should be noted that the two proportional compensation calculation methods exemplified above are merely examples and not limitations on compensation calculation. If there are other suitable compensation calculation methods in other application scenarios, these more appropriate methods can be used to minimize the impact of sweat on touch detection.

[0082] S1303. Obtain the initial release threshold corresponding to the touch point.

[0083] S1304. The internal compensation value is proportionally compensated to the initial release threshold to obtain the touch release threshold.

[0084] The process of proportionally compensating to the touch release threshold based on the internal compensation value is the same as the process in steps S1301 and S1302 above. For specific compensation methods, please refer to the above content, which will not be repeated here.

[0085] S14. Based on the real-time capacitance value, and in conjunction with the touch press threshold or the touch release threshold, identify the touch operation.

[0086] The step of determining a touch operation based on the real-time capacitance value and the touch press threshold includes: calculating a first difference between the real-time capacitance value and the reference capacitance value; if the first difference is greater than the touch press threshold, then the touch operation is identified as being pressed.

[0087] Based on the real-time capacitance value, identifying a touch operation in conjunction with the touch release threshold includes: calculating a second difference between the real-time capacitance value and the reference capacitance value; if the second difference is less than the touch release threshold, then a touch release operation is identified. Since the touch press threshold and the touch release threshold are compensated thresholds, they can more accurately identify touch operations compared to the initial press threshold and the initial release threshold.

[0088] In some other embodiments, please refer to Figure 5 After obtaining the real-time capacitance value corresponding to the touch point in step S12, the screen touch recognition method further includes:

[0089] S23. Obtain the real-time average value of the capacitance value corresponding to the touch point.

[0090] S24. Calculate the difference between the real-time capacitance value and the real-time average value as the real-time difference. Under normal conditions without touch or interference, the real-time difference will remain stable and close to zero; during touch pressing or release, the real-time difference will correspondingly increase or decrease. Please refer to... Figure 6 Corresponding to the above Figure 1 Examples in, Figure 6 This is a graph of the real-time difference, with the vertical axis representing the change in the real-time difference and the horizontal axis representing time (and). Figure 1 The horizontal axis corresponds to different time divisions. Figure 6 The peak images in the image are respectively with Figure 1 The rising and falling segments of TKBCNT correspond one-to-one.

[0091] S25. Set the press threshold and release threshold. Figure 6 The horizontal arrows in the middle indicate the pressed threshold and the released threshold.

[0092] S26. Based on the real-time difference, and in conjunction with the press threshold or the release threshold, identify the touch operation. Calculate the change in the real-time difference over one period. Figure 6 Taking eight data points as a cycle as an example, if the change exceeds the press or release threshold, it is identified as a press or release operation. It should be noted that using eight data points as a cycle is merely an example and is not a limitation.

[0093] Because the rising and falling segments of TKBCNT are extremely short (milliseconds), even if the reference capacitance value changes significantly, the change in the real-time difference will be noticeable. Figure 6 As shown. Therefore, when there is sweat on the headphones, although the change in the real-time difference will decrease, the change is still sufficient to satisfy the judgment of pressing or releasing the threshold.

[0094] In some embodiments, the method further includes S15, calibrating the reference capacitance value. Please refer to... Figure 7 The calibration of the reference capacitance value includes:

[0095] S151. Obtain the real-time average value of the capacitance value under steady-state conditions. This real-time average value can be denoted as AVG; for example, it can be set to calculate the average capacitance value over 64 milliseconds and denoted as AVG.

[0096] S152. When the real-time average value is greater than the reference capacitance value and the real-time average value is less than the initial release threshold, update the reference capacitance value based on the real-time average value. When the above conditions are met, update TKBCNT with the AVG at this moment.

[0097] S153. When the real-time average value is less than the reference capacitance value, update the reference capacitance value based on the real-time average value. When the above condition is met, update TKBCNT with the current AVG value.

[0098] S154. When the real-time average value remains unchanged for more than a preset time, the reference capacitance value is updated based on the real-time average value. The preset time can be set to 8 seconds. When the above condition is met, TKBCNT is updated with the AVG at this moment. This method can be used as a timeout calibration, that is, to update the duration adjustment of the touch long press function. It is understood that the 8 seconds in the above example is not a limitation on the preset time, but only as an example for ease of understanding. Different preset times can also be set in other embodiments.

[0099] This application provides a screen touch recognition method that obtains the reference capacitance value and real-time capacitance value corresponding to the touch point, and determines the touch press threshold and touch release threshold corresponding to the touch point by combining the internal compensation value. The touch operation is then identified based on the real-time capacitance value. This method can quickly and accurately respond to the user's touch operation even when the touch screen is wet, avoiding the problem in the prior art where the touch screen cannot respond correctly to user commands when it is wet, which causes inconvenience to the user. This improves the user experience and is more adaptable to various user scenarios.

[0100] This application provides a screen touch recognition device 300. Please refer to [link to relevant documentation]. Figure 8 The device includes:

[0101] The reference capacitance acquisition module 31 can acquire the reference capacitance value corresponding to the touch point, wherein the reference capacitance value is the capacitance value corresponding to the touch point when it is in a non-touch state and without interference.

[0102] The real-time capacitance acquisition module 32 can acquire the real-time capacitance value corresponding to the touch point.

[0103] The internal capacitance acquisition module 33 can acquire the internal compensation value corresponding to the touch point, and determine the touch press threshold and touch release threshold corresponding to the touch point based on the internal compensation value and the reference capacitance value.

[0104] The touch operation recognition module 34 can recognize touch operations based on the real-time capacitance value, combined with the touch press threshold or the touch release threshold.

[0105] This screen touch recognition device can obtain the reference capacitance value and real-time capacitance value corresponding to the touch point, and combine them with the internal compensation value to determine the touch press threshold and touch release threshold corresponding to the touch point. It can identify touch operation based on real-time capacitance value. This method can also quickly and accurately respond to the user's touch operation when the touch screen is wet, avoiding the problem in the prior art that the touch screen cannot respond correctly to user commands when it is wet, which causes inconvenience to the user. It improves the user experience and is more suitable for various user scenarios.

[0106] It should be noted that the above-described screen touch recognition device can execute the screen touch recognition method provided in the embodiments of this application, and has the corresponding functional modules and beneficial effects of executing the method. Technical details not described in detail in the embodiments of the screen touch recognition device can be found in the screen touch recognition method provided in the embodiments of this application.

[0107] This application provides an electronic device; please refer to [link / reference]. Figure 9 The electronic device 30 includes:

[0108] At least one processor 51;

[0109] A memory 52 communicatively connected to the at least one processor 51, and a communication module 53 for establishing a communication connection;

[0110] The memory 52 stores instructions that can be executed by the at least one processor 51, which are executed by the at least one processor 51 to enable the at least one processor 51 to perform the screen touch recognition method described above.

[0111] The processor 51, memory 52, and communication module 53 can be connected via a bus or other means. Figure 9 Taking the bus connection as an example, memory 52, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. Processor 51 executes various functional applications and data processing by running the non-volatile software programs, instructions, and modules stored in memory 52, thereby implementing the screen touch recognition method in the above embodiment.

[0112] The memory 52 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created by the electronic device. Furthermore, the memory 52 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 52 may optionally include a memory 52 remotely located relative to the processor 51. These remote memories can be connected to the electronic device 500 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0113] The one or more modules are stored in the memory 52. ​​When executed by the one or more processors 51, they perform the screen touch recognition method in any of the above embodiments, for example, executing... Figures 2 to 5 as well as Figure 7 The methods and steps in the text.

[0114] The above-described product can execute the screen touch recognition method provided in the embodiments of this application, and has the corresponding functional modules and beneficial effects of executing the method. Technical details not described in detail in this embodiment can be found in the screen touch recognition method provided in the embodiments of this application.

[0115] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software and a general-purpose hardware platform, or of course, using hardware. Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0116] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and not to limit them; under the concept of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of this application as described above, which are not provided in detail for the sake of brevity; although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A screen touch recognition method, characterized in that, The method includes: Obtain the reference capacitance value corresponding to the touch point, wherein the reference capacitance value is the capacitance value corresponding to the touch point when it is in a non-touch state and without interference; Obtain the real-time capacitance value corresponding to the touch point; Obtain the internal compensation value corresponding to the touch point, and determine the touch press threshold and touch release threshold corresponding to the touch point based on the internal compensation value and the reference capacitance value; Based on the real-time capacitance value, and in conjunction with the touch press threshold or the touch release threshold, touch operations are identified. Specifically, obtaining the internal compensation value corresponding to the touch point includes: The change in the reference capacitance value is obtained as the initial change; an internal touch point is set inside the control chip corresponding to the touch point; the change in the internal reference capacitance value corresponding to the internal touch point is obtained in real time as the internal change; the difference between the external change and the internal change is calculated as the internal compensation value.

2. The method according to claim 1, characterized in that, The process of determining the touch press threshold and touch release threshold corresponding to the touch point based on the internal compensation value and the reference capacitance value includes: Obtain the initial press threshold corresponding to the touch point; The internal compensation value is proportionally compensated to the initial press threshold to obtain the touch press threshold; Obtain the initial release threshold corresponding to the touch point; The internal compensation value is proportionally compensated to the initial release threshold to obtain the touch release threshold.

3. The method according to claim 1, characterized in that, The step of determining the touch operation based on the real-time capacitance value and the touch press threshold includes: Calculate the first difference between the real-time capacitance value and the reference capacitance value; If the first difference is greater than the touch press threshold, then a touch press operation is identified.

4. The method according to claim 1, characterized in that, The step of recognizing touch operations based on the real-time capacitance value and the touch release threshold includes: Calculate the second difference between the real-time capacitance value and the reference capacitance value; If the second difference is less than the touch release threshold, then a touch release operation is identified.

5. The method according to claim 1, characterized in that, After the step of obtaining the real-time capacitance value corresponding to the touch point, the method further includes: Obtain the real-time average value of the capacitance corresponding to the touch point; The difference between the real-time capacitance value and the real-time average value is calculated as the real-time difference. Set press and release thresholds; Based on the real-time difference, the touch operation is identified in conjunction with the press threshold or the release threshold.

6. The method according to any one of claims 1-5, characterized in that, The method further includes: The reference capacitance value is calibrated.

7. The method according to claim 6, characterized in that, The calibration of the reference capacitance value includes: Obtain the real-time average value of the real-time capacitance value under steady-state conditions; When the real-time average value is greater than the reference capacitance value and the real-time average value is less than the initial release threshold corresponding to the touch point, the reference capacitance value is updated based on the real-time average value. When the real-time average value is less than the reference capacitance value, the reference capacitance value is updated based on the real-time average value. When the real-time average value remains unchanged for more than a preset time, the reference capacitance value is updated based on the real-time average value.

8. A screen touch recognition device, characterized in that, include: A reference capacitance acquisition module is used to acquire the reference capacitance value corresponding to the touch point, wherein the reference capacitance value is the capacitance value corresponding to the touch point when it is in a non-touch state and without interference. The real-time capacitance acquisition module is used to acquire the real-time capacitance value corresponding to the touch point. An internal capacitance acquisition module is used to acquire the internal compensation value corresponding to the touch point, and determine the touch press threshold and touch release threshold corresponding to the touch point based on the internal compensation value and the reference capacitance value. A touch operation recognition module is used to recognize touch operations based on the real-time capacitance value and in combination with the touch press threshold or the touch release threshold. Specifically, the internal capacitance acquisition module is used for: The change in the reference capacitance value is obtained as the initial change; an internal touch point is set inside the control chip corresponding to the touch point; the change in the internal reference capacitance value corresponding to the internal touch point is obtained in real time as the internal change; the difference between the external change and the internal change is calculated as the internal compensation value.

9. An electronic device, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor to cause the at least one processor to perform the screen touch recognition method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Method and device for processing signals for touch screen

    CN102411451A

  • Automatic calibrating method and system for capacitive touch screen

    CN103235672A