Touch button sensing error correction method
Patent Information
- Authority / Receiving Office
- TW · TW
- Patent Type
- Applications
- Current Assignee / Owner
- SUNREX TECH
- Filing Date
- 2025-01-17
- Publication Date
- 2026-08-01
AI Technical Summary
Existing methods for detecting touch button sensing on touch panels fail to accurately determine touch points due to the finger being a non-planar, soft surface, the moment of touch and the moment of touch and the moment of touch and the moment of release may not be at the same touch point, leading to errors in button detection.
A touch panel method that calculates the cumulative weight value of key areas touched by the touch points during the touch panel, the cumulative weight value of the touch points during the touch action, and selects the key with the largest cumulative weight value among all covered key areas as the input key for the touch action.
This method reduces errors in touch button detection by selecting the key area with the largest cumulative weight value, ensuring accurate input recognition.
Smart Images

Figure TWG2TA001069551_001 
Figure TWG2TA001069551_002 
Figure TWG2TA001069551_003
Abstract
Description
[Technical Field]
[0001] This invention relates to a touch panel, and more particularly to a method for detecting and correcting touch button sensing errors. [Previous Technology]
[0002] An existing method for detecting touch buttons on a touch panel involves recording the last position before the touch action ends after a touch action is detected on the touch panel, using that position as the touch position of the touch action, and selecting the button corresponding to that touch position as the selected button, thereby achieving the effect of button detection.
[0003] However, when a user presses the touch panel with their finger, since the finger is a non-planar soft surface, the moment of touch and the moment of release are not at the same touch point. This results in the moment of pressing being one key and the moment of release being another key. Therefore, if only the touch point at the moment of release is used, it is easy to cause errors. Therefore, further improvement is necessary. [Summary of the Invention]
[0004] Therefore, the object of the present invention is to provide a touch button sensing error detection and correction method that overcomes the disadvantages of the prior art.
[0005] Therefore, the touch button sensing error detection and correction method of the present invention includes the following steps:
[0006] (A) A touch panel displays a keyboard interface having a plurality of key areas, each key area having a plurality of weight areas, each weight area having a weight value.
[0007] (B) After the touch panel senses a touch action, it generates a plurality of touch information sets arranged in chronological order. The touch action is a continuous process from when the touch panel senses being touched until it is no longer touched. Each touch information set includes a touch area value corresponding to the touched area at that time, and a sensing area information corresponding to the touched area at that time.
[0008] (C) The touch panel determines the touch area value that is the largest in the set of touch information, and calculates the weighted cumulative value of each covered key area by all key areas covered by the corresponding sensing area information. Each weighted cumulative value is the sum of the weighted values of the weighted areas covered by each key area.
[0009] (D) The touch panel selects the input key for the touch action based on the one with the largest cumulative weight value among all covered key areas.
[0010] The advantage of the present invention is that: by using the touch panel to select the key area with the largest cumulative weight value among the touch areas based on the set of touch information generated after the touch behavior occurs, errors are avoided.
Implementation Method
[0011] Referring to Figures 1, 2 and 3, an embodiment of the touch button sensing error detection and correction method of the present invention is applied to a touch panel 2. The touch panel 2 includes a touch screen 21 and a processor 22 electrically connected to the touch screen 21. The touch screen 21 can be used to sense a touch behavior and display a keyboard interface 23.
[0012] Referring to Figures 2, 3 and 4, the touch button sensing error detection and correction method includes the following steps 31 to 34.
[0013] In step 31, the touch screen 21 displays the keyboard interface 23, which has a plurality of key areas 231, each key area 231 having a plurality of weight areas 232, and each weight area 232 having a weight value.
[0014] In this embodiment, the weighted regions 232 of each key area 231 are arranged in an eight-by-eight array. The weight values of the weighted regions 232 surrounding the outer side are the same, and they gradually increase from the outer side to the inner side in the order of 1, 2, 4, 8. However, it is not limited to this. The number of arrays and the weight values can also be changed as needed.
[0015] Referring to Figures 1, 3, and 4, in step 32, after sensing the touch action, the touch screen 21 generates multiple sets of touch information arranged in chronological order. The touch action is a continuous process from when the touch screen 21 senses a touch until it is no longer touched. Each set of touch information includes a touch area value corresponding to the touched area at that time, and sensing area information corresponding to the touched area at that time. In this embodiment, the sensing area information records the positions of all touched weighted areas 232.
[0016] In step 33, the processor 22 determines the touch area value that is the largest in the set of touch information, and then calculates a weighted cumulative value for each covered key area 231 by using all key areas 231 covered by the corresponding sensing area information. Each weighted cumulative value is the sum of the weighted values of the weighted areas 232 covered by each key area 231.
[0017] In this step 34, the processor 22 selects the input key with the largest cumulative weight value among all covered key areas 231 as the key for the touch action.
[0018] Referring to Figures 1 and 2, in use, taking a user's finger touching the key area 231 of the letter H as an example, the touching behavior is as follows: first, the key area 231 of the letter H is touched (see area S1 in Figure 1). As the finger presses down, the touched area gradually expands to touch the key areas 231 of the letters T, Y, G, and H (see area S2 in Figure 1). Finally, when the finger is lifted off the touch screen 21, the last touched area is the key area 231 of the letter G (see area S3 in Figure 1). After sensing the touch behavior, the touch screen 21 generates a set of touch information arranged in chronological order.
[0019] Referring to Figures 2, 3, and 4, the processor 22, from the set of touch information, selects the touch area with the largest value (i.e., area S2 in the figure) and calculates the cumulative weight values for the corresponding sensing area information, namely, the weights of the key areas 231 corresponding to the letters T, Y, G, and H. As shown in Figure 3, the cumulative weight value for the letter T is 26, the cumulative weight value for the letter Y is 82, the cumulative weight value for the letter G is 22, and the cumulative weight value for the letter H is 112. Among them, the cumulative weight value for the letter H is the largest, and the controller 22 selects the letter H as the selected input key for the touch action.
[0020] Since the maximum touch area in this touch behavior best represents the range touched, and the maximum cumulative weight value represents the key that was touched, it can avoid mistakenly taking the last touch position of this touch behavior as the selected input key, thus achieving the effect of correcting errors.
[0021] In summary, by using the touch panel 2 to select the key area 231 with the largest cumulative weight value among the touch areas based on the set of touch information generated after the touch behavior occurs, errors are avoided, and the purpose of the present invention can indeed be achieved.
[0022] However, the above description is only an embodiment of the present invention and should not be construed as limiting the scope of the present invention. Any simple equivalent changes and modifications made in accordance with the scope of the patent application and the contents of the patent specification of the present invention shall still fall within the scope of the patent of the present invention. [Simplified Explanation of the Diagram]
[0023] Other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, wherein: Figure 1 is a schematic diagram of an embodiment of the touch button sensing error correction method of the present invention, illustrating three types of touched areas generated by a touch behavior; Figure 2 is a view similar to Figure 1, illustrating the state of the largest touch area; Figure 3 is an enlarged schematic diagram of Figure 2, illustrating the weight distribution when multiple key areas are touched; and Figure 4 is a flowchart of this embodiment.
Claims
1. A method for detecting and correcting errors in touch-sensitive buttons, comprising the following steps: (A) A touch panel displays a keyboard interface, the keyboard interface having a plurality of key areas, each key area having a plurality of weight areas, each weight area having a weight value; (B) After the touch panel senses a touch action, it generates a plurality of touch information sets arranged in chronological order, the touch action being a continuous process from when the touch panel senses being touched until it is no longer touched, each touch information set including a touch area value corresponding to the touched area at that time, and a sensing area information corresponding to the touched area at that time; (C) The touch panel determines the touch area value with the largest value in the set of touch information, and calculates a cumulative weight value for each covered key area based on all key areas covered by the corresponding sensing area information. Each cumulative weight value is the sum of the weight values of the weight areas covered by each key area; and (D) The touch panel selects the key with the largest cumulative weight value among all covered key areas as the selected input key for the touch action.
2. The touch button sensing error detection and correction method as described in claim 1, wherein, The weighted regions of each key area are arranged in an array, with the weight values of the weighted regions surrounding the outer edge being the same and gradually increasing from the outer edge to the inner edge.
3. The touch button sensing error detection and correction method as described in claim 2, wherein, The touch panel includes a touch screen and a processor electrically connected to the touch screen. The touch screen can be used to sense the touch behavior and display the keyboard interface, and the processor is used to calculate the weight accumulation value.