Control method of touch panel
By judging the object type and position on the touchpad, it avoids misjudging the press of both fingers, and solves the problem of right-click mistouch caused by palm rest, improving the user experience.
Patent Information
- Application Number
- CN202310811178.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-02
- Filing Date
- 2023-07-04
- Publication Date
- 2024-11-05
AI Technical Summary
The existing touchpad is misjudged as a press of two fingers when the user's palm is left, resulting in a false touch of the right mouse button function, affecting the user experience.
By determining whether two objects are in contact on the touchpad and whether one of the objects is a specific object (such as a finger or a stylus), if it is not a specific object and the pressing operation triggers, information that does not contain the object is sent to the system , avoid misjudgment.
It effectively reduces the mist touch of the right mouse button function and improves the smoothness of user operations.
Smart Images

Figure CN118897630A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a touch panel, in particular to a control method of the touch panel. Background Art
[0002] Touchpads are currently widely used as input interfaces in mobile electronic devices. They detect the contact position, contact time, and movement speed of a user's hand or pen on the touch device to determine the touch event to be triggered, and then respond to the instructions the user wants to execute. In the early days, touch events were simple single-finger events, such as clicking and dragging. Later, multi-finger gestures were gradually added as touch events, such as zooming in and out, scrolling, and rotating, to execute more complex instructions.
[0003] However, multi-finger gestures may be triggered due to the user's carelessness. For example, when it is inconvenient to use the mouse, the touchpad of the prior art allows the right-click function to be triggered by pressing two fingers. However, when using a mobile electronic device, the user often places the palm on the edge of the electronic device, and the palm may be stationary on the touchpad. When the user's palm is stationary on the touchpad and another finger is pressed at the same time to trigger the left-click function of the mouse, since there are two objects on the touchpad at this time (the stationary palm and the pressing finger), the touchpad may misjudge the function as triggering the right-click function of the mouse, which is obviously different from the left-click function that the user wants to trigger. Such misjudgment will cause the electronic device to execute the right-click function of the mouse. Generally speaking, the right-click function of the mouse is to open a menu and interrupt the function currently being executed by the mobile device, which seriously affects the user experience. Summary of the invention
[0004] In view of this, the present invention studies the function of accidentally touching the right key, in order to reduce or even eliminate the occurrence of accidentally touching the right key.
[0005] In order to achieve the aforementioned purpose of the invention, the technical means adopted by the present invention is to provide a control method of a touch panel, which includes: a. determining whether a first object and a second object are in contact with the touch panel; b. if so, determining whether the first object is a specific object and determining whether a pressing operation is triggered; c. if it is determined in step b that the first object is not the specific object and the pressing operation is triggered, a touch information is sent, wherein the touch information does not include the information of the first object.
[0006] Wherein, in the step b, when the pressing force of the first object or the second object exceeds a threshold value, it is determined that the pressing operation has been triggered.
[0007] Wherein, in the step b, when the pressing down of the first object or the second object has touched a button, it is determined that the pressing operation has been triggered.
[0008] When it is determined in step b that the first object is not the specific object and the pressing operation is triggered, the pressing operation and the position of the second object are reported.
[0009] The specific object is a stylus pen or a finger.
[0010] Wherein: in the step b, it is also determined whether the first object is located in a specific area of the touch panel; in the step c, if it is determined in step b that the first object is located in the specific area of the touch panel, it is determined that the first object is not the specific object and it is determined that the pressing operation is triggered, then the touch information is sent, wherein the touch information does not include the information of the first object.
[0011] The specific area of the touchpad refers to the lower right corner of the touchpad, the left and right width of the specific area is less than or equal to half of the left and right width of the touchpad, and the top and bottom length of the specific area is less than or equal to one quarter of the top and bottom length of the touchpad.
[0012] Among them, in step b, first determine whether the first object is located in the specific area of the touch panel; if so, then determine whether the first object is the specific object; if the first object is not the specific object, then determine whether the first object or the second object has triggered a pressing operation.
[0013] In step b, first determine whether the first object is located in a specific area of the touch panel; if so, then determine whether the first object or the second object has triggered a pressing operation; if so, then determine whether the first object is the specific object.
[0014] Among them, in step b, first determine whether the first object is the specific object; if the first object is not the specific object, then determine whether the first object is located in a specific area of the touch panel; if so, then determine whether the first object or the second object has triggered a pressing operation.
[0015] Among them, in step b, first determine whether the first object is the specific object; if the first object is not the specific object, then determine whether the first object or the second object has triggered a pressing operation; if so, then determine whether the first object is located in a specific area of the touch panel.
[0016] In step b, first determine whether the first object or the second object has triggered a pressing operation; if so, then determine whether the first object is located in a specific area of the touch panel; if so, then determine whether the first object is the specific object.
[0017] Among them, in step b, first determine whether the first object or the second object has triggered the pressing operation; if so, then determine whether the first object is the specific object; if the first object is not the specific object, then determine whether the first object is located in a specific area of the touch panel.
[0018] The advantage of the present invention is that, by not reporting the information of the first object under a preset condition, the system is prevented from misjudging the double-finger press and triggering the function corresponding to the right button of the mouse, thereby improving the smoothness of the user's operation.
[0019] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments, but is not intended to limit the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A schematic diagram of the appearance of the touch panel used in the present invention in a use state;
[0021] Figure 2 is a flow chart of a first embodiment of the present invention;
[0022] Figure 3 is a flow chart of a second embodiment of the present invention;
[0023] Figure 4 is a flow chart of a third embodiment of the present invention;
[0024] Figure 5 is a flow chart of a fourth embodiment of the present invention;
[0025] Figure 6 is a flow chart of a fifth embodiment of the present invention;
[0026] Figure 7 is a flow chart of a sixth embodiment of the present invention;
[0027] Figure 8 The figure is a schematic diagram of the appearance of the touch panel used in the present invention.
[0028] Wherein, the reference numerals are:
[0029] 10Touchpad DETAILED DESCRIPTION
[0030] The following is a detailed description of the technical means used by the present invention to achieve the intended purpose of the invention with reference to the drawings and embodiments of the present invention.
[0031] See also Figure 1 and Figure 2As shown, when a user touches a touch pad 10, the touch pad 10 executes the touch pad control method of the present invention, which includes the following steps: determining whether a first object and a second object touch the touch pad (S10); if so, determining whether a preset condition is met (S20); if so, after removing the information of the first object (S30), reporting the touch information sensed by the touch pad 10 to an operating system or a processing unit of a host (S40). Since when there are two objects on the touch pad 10, if the touch pad 10 is triggered to press, it will be determined that the user wants to trigger a right-click command. However, if one of the objects is a stationary idle object, such as a palm, the right-click command will be triggered by mistake, so the preset condition in step S20 is used to exclude such a false touch state. In one embodiment, the information of the first object may include the position of the first object, the type of the first object, etc. Furthermore, in one embodiment, the touchpad requires that one of the objects be located in a specific area of the touchpad when double-object pressing triggers a right-click command. However, if the object located in the specific area is a stationary, idle object, the right-click command will also be mistakenly triggered. Therefore, the preset condition in step S20 can simultaneously determine whether a specific object is located in the specific area.
[0032] Step S20 has multiple implementation aspects. The present invention presented in step S20 based on different implementation aspects is described below respectively, but the present invention is not limited thereto.
[0033] First implementation aspect
[0034] See also Figure 1 and Figure 2As shown, firstly, it is determined whether there is a first object and a second object in contact with the touch panel 10 (S10), that is, whether there are at least two objects in contact with the touch panel 10. If it is determined that no object is in contact with the touch panel 10 or only a single object is in contact with the touch panel 10, step S40 is executed to report the touch information sensed by the touch panel 10, such as reporting no object or (no reporting is required because there is no object) or reporting the touch information of the single object. If it is determined that the first object and the second object are in contact with the touch panel 10, step S20 is entered. In the present embodiment, step S20 sequentially includes: determining whether the first object is located in a specific area of the touch panel 10 (S21), determining whether the first object is a specific object (S22), and determining whether the first object or the second object has triggered a press operation (S23). If the judgment result of step S21 is no, step S40 is executed to report the touch information sensed by the touch panel 10, such as reporting the position information of the first object and the second object; if the judgment result of step S21 is yes, step S22 is further executed. If the judgment result of step S22 is yes, step S40 is executed to report the touch information sensed by the touch panel 10, such as reporting the position information of the first object and the second object, and / or the first object is an object such as a finger or a stylus; if the judgment result of step S22 is no, step S23 is further executed. If step S23 is judged as no, step S40 is executed to report the touch information sensed by the touch panel 10, such as reporting the position information of the first object and the second object, and / or the first object is an object such as a palm, and / or the downward pressure information of the first object and / or the second object, etc.; if step S23 is judged as yes, step S30 is first executed to remove the information of the first object, and then step S40 is executed to report the position of the second object and the touch information that the pressing operation has been triggered.
[0035] Second implementation aspect
[0036] See also Figure 1 and Figure 3As shown, firstly, it is determined whether a first object and a second object are in contact with the touch panel 10 (S10A). If it is determined that no object is in contact with the touch panel 10 or only a single object is in contact with the touch panel 10, step S40A is executed to report the touch information sensed by the touch panel 10; if it is determined that the first object and the second object are in contact with the touch panel 10, step S20A is entered. In this embodiment, step S20A sequentially includes: determining whether the first object is located in a specific area of the touch panel 10 (S21A), determining whether the first object or the second object has triggered a pressing operation (S22A), and determining whether the first object is a specific object (S23A). If step S21A is determined to be no, step S40A is executed to report the touch information sensed by the touch panel 10, such as reporting the position information of the first object and the second object; if step S21A is determined to be yes, step S22A is further executed. If step S22A is judged as no, step S40A is executed to report the touch information sensed by the touch panel 10, such as reporting the position information of the first object and the second object, and / or the downward pressure information of the first object and / or the second object, etc.; if step S22A is judged as yes, step S23A is further executed. If step S23A is judged as yes, step S40 is executed to report the touch information sensed by the touch panel 10, such as reporting the position information of the first object and the second object, and / or the downward pressure information of the first object and / or the second object, and / or the first object is an object such as a finger or a stylus, etc.; if step S23A is judged as no, step S30A is first executed to remove the information of the first object, and then step S40A is executed to report the position of the second object and the information that the pressing operation has been triggered.
[0037] The third implementation
[0038] See also Figure 1 and Figure 4As shown, first, it is determined whether a first object and a second object are in contact with the touch panel 10 (S10B). If it is determined that no object is in contact with the touch panel 10 or only a single object is in contact with the touch panel 10, step S40B is executed to report the touch information sensed by the touch panel 10; if it is determined that the first object and the second object are in contact with the touch panel 10, step S20B is entered. In this embodiment, step S20B sequentially includes: determining whether the first object is a specific object (S21B), determining whether the first object is located in a specific area of the touch panel 10 (S22B), and determining whether the first object or the second object has triggered a press operation (S23B). If the judgment result of step S21B is yes, step S40B is executed to report the touch information sensed by the touch panel 10, such as reporting the position information of the first object and the second object, and / or the first object is an object such as a finger or a stylus; if the judgment result of step S21B is no, step S22B is further executed. If the judgment result of step S22B is no, step S40B is executed to report the touch information sensed by the touch panel 10, such as reporting the position information of the first object and the second object, and / or the first object is an object such as a palm; if the judgment result of step S22B is yes, step S23B is further executed. If step S23B is judged as no, step S40B is executed to report the touch information sensed by the touch panel 10, such as reporting the position information of the first object and the second object, and / or the first object is an object such as a palm, and / or the downward pressure information of the first object and / or the second object, etc.; if step S23B is judged as yes, step S30B is first executed to remove the information of the first object, and then step S40B is executed to report the position of the second object and the information that the pressing operation has been triggered.
[0039] Fourth Implementation Aspect
[0040] See also Figure 1 and Figure 5As shown, first, it is determined whether a first object and a second object are in contact with the touch panel 10 (S10C). If it is determined that no object is in contact with the touch panel 10 or only a single object is in contact with the touch panel 10, step S40A is executed to report the touch information sensed by the touch panel 10; if it is determined that the first object and the second object are in contact with the touch panel 10, step S20C is entered. In this embodiment, step S20C sequentially includes: determining whether the first object is a specific object (S21C), determining whether the first object or the second object has triggered a pressing operation (S22C), and determining whether the first object is located in a specific area of the touch panel 10 (S23C). If step S21C is judged as yes, step S40C is executed to report the touch information sensed by the touch panel 10, such as reporting the position information of the first object and the second object, and / or the first object is an object such as a finger or a stylus; if step S21C is judged as no, step S22C is further executed. If the judgment result of step S22C is no, step S40C is executed to report the touch information sensed by the touch panel 10, such as reporting the position information of the first object and the second object, and / or the first object is an object such as a palm, and / or the pressure track information of the first object and / or the second object, etc. If the judgment result of step S22C is yes, step S23C is further executed; if the judgment result of step S23C is no, step S40C is executed to report the touch information sensed by the touch panel 10, such as reporting the position information of the first object and the second object, and / or the first object is an object such as a palm, and / or the pressure track information of the first object and / or the second object, etc. If the judgment result of step S23C is yes, step S30C is first executed to remove the information of the first object, and then step S40C is executed to report the position of the second object and the information that the pressing operation has been triggered.
[0041] Fifth Implementation Aspect
[0042] See also Figure 1 and Figure 6As shown, first, it is determined whether a first object and a second object are in contact with the touch panel 10 (S10D). If it is determined that no object is in contact with the touch panel 10 or only a single object is in contact with the touch panel 10, step S40D is executed to report the touch information sensed by the touch panel 10; if it is determined that the first object and the second object are in contact with the touch panel 10, step S20D is entered. In this embodiment, step S20D sequentially includes: determining whether the first object or the second object has triggered a pressing operation (S21D), determining whether the first object is located in a specific area of the touch panel 10 (S22D), and determining whether the first object is a specific object (S23D). If the judgment result of step S21D is no, step S40D is executed to report the touch information sensed by the touch panel 10, such as reporting the position information of the first object and the second object, and / or the downward pressure information of the first object and / or the second object, etc.; if the judgment result of step S21D is yes, step S22D is further executed. If the judgment result of step S22D is no, step S40D is executed to report the touch information sensed by the touch panel 10, such as reporting the position information of the first object and the second object, and / or the downward pressure information of the first object and / or the second object, etc.; if the judgment result of step S22D is yes, step S23D is further executed. If step S23D is judged as yes, step S40D is executed to report the touch information sensed by the touch panel 10, such as reporting the position information of the first object and the second object, and / or the downward pressure information of the first object and / or the second object, and / or the first object is an object such as a finger or a stylus; if step S23D is judged as no, step S30D is first executed to remove the information of the first object, and then step S40D is executed to report the position of the second object and the information that the pressing operation has been triggered.
[0043] Sixth Implementation Aspect
[0044] See also Figure 1 and Figure 7As shown, first, it is determined whether a first object and a second object are in contact with the touch panel 10 (S10E). If it is determined that no object is in contact with the touch panel 10 or only a single object is in contact with the touch panel 10, step S40E is executed to report the touch information sensed by the touch panel 10; if it is determined that the first object and the second object are in contact with the touch panel 10, step S20E is entered. In this embodiment, step S20E sequentially includes: determining whether the first object or the second object has triggered a pressing operation (S21E), determining whether the first object is a specific object (S22E), and determining whether the first object is located in a specific area of the touch panel 10 (S23E). If the judgment result of step S21E is no, step S40E is executed to report the touch information sensed by the touch panel 10, such as reporting the position information of the first object and the second object, and / or the pressure track information of the first object and / or the second object, etc. If the judgment result of step S21E is yes, step S22E is further executed. If the judgment result of step S22E is yes, step S40E is executed to report the touch information sensed by the touch panel 10, such as reporting the position information of the first object and the second object, and / or the pressure track information of the first object and / or the second object, and / or the first object is an object such as a finger or a stylus pen, etc. If the judgment result of step S22E is no, step S23E is further executed. If step S23E is judged as no, step S40E is executed to report the touch information sensed by the touch panel 10, for example, reporting the position information of the first object and the second object, and / or the downward pressure information of the first object and / or the second object, and / or the first object is an object such as a palm; if step S23E is judged as yes, step S30E is first executed to remove the information of the first object, and then step S40E is executed to report the position of the second object and the information that the pressing operation has been triggered.
[0045] Based on the judgment conditions executed in step S20, when it is judged that the first object is not a specific object and it is judged that the first object or the second object has triggered a pressing operation, the requirement of an accidental right-click instruction is met. At this time, the touch panel 10 removes the information of the first object and then reports it to the set electronic device. Then, the electronic device will not receive the information that the first object is present. Therefore, the touch information received from the touch panel 10 does not meet the requirement of triggering the right-click instruction. Therefore, after the screening of step S20, an accidental right-click instruction will not be generated, thereby avoiding the accidental triggering of the right-click instruction interfering with the user's operation.
[0046] Furthermore, whether the pressing operation has been triggered depends on the form of the touch pad 10. In one embodiment, the touch pad 10 is provided with a physical button below the touch pad 10 or at a specific position. When an object presses down on the touch pad 10 or the specific position and the button is touched, the pressing operation is determined to have been triggered. In one embodiment, the touch pad 10 is provided with at least one force sensing electrode to detect the downward pressure of the object, and the downward pressure of the object is used to determine whether the pressing operation is triggered. When the downward pressure of the object sensed exceeds a threshold value, the pressing operation is determined to have been triggered. For the implementation mode of using force sensing information to determine whether the pressing operation has been triggered, the touch pad 10 will receive force sensing information, so the touch information reported after determining whether the pressing operation is triggered may include force sensing information.
[0047] Furthermore, determining whether the first object is a specific object is to determine whether the first object is not an object to be excluded by the present invention, such as a finger or a stylus, which is an object not to be excluded by the present invention, and the rest can be classified as objects to be excluded, such as a palm, etc. The determination method is as follows, but is not limited thereto.
[0048] In one embodiment, the type of object can be determined by the sensing area. When the object approaches or contacts the touch panel 10, the fewer adjacent electrode units sense that the capacitance change exceeds a recognition threshold value, the smaller the sensing area; when the more adjacent electrode units sense that the capacitance change exceeds the recognition threshold value, the larger the sensing area. Since the fingertip area of a finger and the tip area of a stylus are often smaller than the area of a palm, it can be determined that the one with a smaller sensing area is a finger or a stylus, and the one with a larger sensing area is a palm. In one embodiment, a sensing area threshold value is set. When the sensing area is less than the threshold value, the object is determined to be a finger or a stylus. When the sensing area is greater than the threshold value, it is determined to be a palm.
[0049] In one embodiment, the type of object can be determined by the degree of difference in the sensing values of the electrode units. When an object approaches or contacts the touch panel 10, the electrode unit generates a maximum sensing value and a plurality of surrounding sensing values of the sensing positions adjacent to the object corresponding to the position of the object, and calculates the degree of difference between the maximum sensing value and the surrounding sensing values. If the degree of difference is greater than a default value, the object is determined to be a finger or a stylus, and if it is less than a default value, the object is determined to be a palm. The degree of difference can be expressed by a difference or a ratio. For example, when the difference between the maximum sensing value and the surrounding sensing value is greater than a default value, the object is determined to be a finger or a stylus, and if the difference is less than the default value, it is determined to be a palm; if the ratio of the maximum sensing value to the surrounding sensing value is greater than the default value, the object is determined to be a finger or a stylus, and if the ratio is less than the default value, it is determined to be a palm.
[0050] In one embodiment, the type of object can be determined by the sum of the sensing values of the electrode units. When an object approaches or contacts the touch panel 10, the electrode unit generates a maximum sensing value and a plurality of surrounding sensing values of the sensing position adjacent to the object corresponding to the position of the object, and the sum of the maximum sensing value and the surrounding sensing values is calculated. If the sum is greater than a default value, the object is determined to be a palm, and if it is less than a default value, the object is determined to be a finger or a stylus.
[0051] See also Figure 8 As shown, since conventional touchpads often set the button for triggering the right-click command at the lower right corner of the touchpad as a physical button, in order to comply with the long-standing user habits, in one embodiment, the specific area of the touchpad 10 corresponds to the general right-click area, which refers to the lower right corner of the touchpad 10, the left-right width W2 of the specific area is less than or equal to one-half of the left-right width W1 of the touchpad 10, and the top-bottom length L2 of the specific area is less than or equal to one-quarter of the top-bottom length L1 of the touchpad 10.
[0052] The above description is only an embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as above by the embodiment, it is not used to limit the present invention. Any person with ordinary knowledge in the technical field can make some changes or modifications to equivalent embodiments of equivalent changes by using the technical contents disclosed above without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still falls within the scope of the technical solution of the present invention.
[0053] Of course, the present invention may have many other embodiments. Without departing from the spirit and essence of the present invention, technicians familiar with the field may make various corresponding changes and deformations based on the present invention, but these corresponding changes and deformations should all fall within the scope of protection of the claims of the present invention.
Claims
1. A method for controlling a touch panel, characterized in that: It includes: a. Determining whether there is a first object and a second object contacting the touch panel; b. If so, determining whether the first object is a specific object and determining whether a pressing operation is triggered; c. If it is determined in step b that the first object is not the specific object and the pressing operation is triggered, a touch message is sent, wherein the touch message does not include information about the first object.
2. The touch panel control method according to claim 1, characterized in that: In the step b, when the pressing force of the first object or the second object exceeds a threshold value, it is determined that the pressing operation has been triggered.
3. The touch panel control method according to claim 1, characterized in that: In the step b, when the pressing of the first object or the second object has touched a button, it is determined that the pressing operation has been triggered.
4. The method for controlling a touch panel according to any one of claims 1 to 3, characterized in that: When it is determined in step b that the first object is not the specific object and the pressing operation is triggered, the pressing operation and the position of the second object are reported.
5. The method for controlling a touch panel according to any one of claims 1 to 3, characterized in that: The specific object is a stylus pen or a finger.
6. The method for controlling a touch panel according to any one of claims 1 to 3, characterized in that: In the step b, it is also determined whether the first object is located in a specific area of the touch panel; In step c, if in step b it is determined that the first object is located in the specific area of the touch panel, it is determined that the first object is not the specific object and it is determined that the pressing operation is triggered, the touch information is sent, wherein the touch information does not include information of the first object.
7. The touch panel control method according to claim 6, characterized in that: The specific area of the touchpad refers to the lower right corner of the touchpad, the left and right width of the specific area is less than or equal to half of the left and right width of the touchpad, and the top and bottom length of the specific area is less than or equal to one quarter of the top and bottom length of the touchpad.
8. The touch panel control method according to claim 6, characterized in that: In step b, first determine whether the first object is located in the specific area of the touch panel; if so, then determine whether the first object is the specific object; If the first object is not the specific object, it is determined whether the first object or the second object has triggered a pressing operation.
9. The touch panel control method according to claim 6, characterized in that: In step b, first determine whether the first object is located in a specific area of the touch panel; if so, then determine whether the first object or the second object has triggered a pressing operation; If so, it is determined whether the first object is the specific object.
10. The control method of the touch panel according to claim 6, characterized in that: In step b, first determine whether the first object is the specific object; if the first object is not the specific object, then determine whether the first object is located in a specific area of the touch panel; If so, it is determined whether the first object or the second object has triggered a pressing operation.
11. The touch panel control method according to claim 6, characterized in that: In step b, first determine whether the first object is the specific object; if the first object is not the specific object, then determine whether the first object or the second object has triggered a pressing operation; If so, it is determined whether the first object is located in a specific area of the touch panel.
12. The touch panel control method according to claim 6, characterized in that: In step b, first determine whether the first object or the second object has triggered a pressing operation; if so, then determine whether the first object is located in a specific area of the touch panel; if so, then determine whether the first object is the specific object.
13. The touch panel control method according to claim 6, characterized in that: In step b, first determine whether the first object or the second object has triggered a pressing operation; if so, then determine whether the first object is the specific object; If the first object is not the specific object, it is determined whether the first object is located in a specific area of the touch panel.
