Touch recognition method, touch device
AssigneeBoe Technology Group Co., Ltd.
InventorTao Wang
Life of this patent
Estimating the term…
Abstract
The present disclosure provides a touch recognition method and a touch device. The touch recognition method is applied to a touch panel including a first touch region, and the method includes: judging whether a position of a first touch is located in the first touch region; and in response to the position of the first touch being located in the first touch region, judging whether the first touch is a mistaken touch or an effective touch according to a type of the first touch region and a parameter of the first touch selected based on the type of the first touch region.
Claims16
A touch recognition method for a touch panel comprising a first touch region, the method comprising:
- judging whether a position of a first touch is located in the first touch region;
- and
- in response to the position of the first touch being located in the first touch region, judging whether the first touch is a mistaken touch or an effective touch according to a type of the first touch region and a parameter of the first touch selected based on the type of the first touch region,
- wherein the first touch region comprises a first sub-region of a first type and a second sub-region of a second type, the first type is different from the second type, in response to the position of the first touch being located in the first sub-region of the first touch region, whether the first touch is the mistaken touch or the effective touch is judged according to the parameter of the first touch by a first mode, and in response to the position of the first touch being located in the second sub-region of the first touch region, whether the first touch is the mistaken touch or the effective touch is judged according to the parameter of the first touch by a second mode, and the first mode is different from the second mode, and
- wherein the parameter of the first touch includes a duration time of the first touch and an area of the first touch, in response to the position of the first touch being located in the second sub-region of the first touch region, judging whether the first touch is the mistaken touch or the effective touch according to the parameter of the first touch by the second mode comprising:
- judging whether a ratio of the area of the first touch to a predefined touch area is greater than or equal to a second threshold;
- in response to the ratio of the area of the first touch to the predefined touch area being greater than or equal to the second threshold, judging whether the duration time of the first touch is greater than or equal to a third threshold, and less than or equal to a fourth threshold;
- in response to the duration time of the first touch being greater than or equal to the third threshold, and less than or equal to the fourth threshold, determining the first touch as the effective touch;
- in response to the duration time of the first touch being less than the third threshold or greater than the fourth threshold, determining the first touch as the mistaken touch;
- in response to the ratio of the area of the first touch to the predefined touch area being less than the second threshold, detecting whether the second touch occurs at the position of the first touch during a first predefined period;
- in response to the second touch occurring at the position of the first touch during the first predefined period, determining the first touch as the effective touch;
- and
- in response to the second touch not occurring at the position of the first touch during the first predefined period, summing the area of the first touch with a predefined compensation area to obtain a compensated area of the first touch;
- judging whether the ratio of the compensated area of the first touch to the predefined touch area is greater than or equal to the second threshold;
- in response to the ratio of the compensated area of the first touch to the predefined touch area being greater than or equal to the second threshold, issuing a reminder signal;
- detecting whether the second touch occurs at the position of the first touch during a second predefined period subsequent to the reminder signal;
- in response to the second touch occurring at the position of the first touch during the second predefined period, determining the first touch as the effective touch;
- and
- in response to the second touch not occurring at the position of the first touch during the second predefined period, determining the first touch as the mistaken touch.
A touch device, comprising:
- a touch panel comprising a first touch region;
- a first judging component configured to judge whether a position of a first touch is located in the first touch region;
- and
- a second judging component configured to, in response to the first judging component determining that the position of the first touch is located in the first touch region, judge whether the first touch is a mistaken touch or an effective touch according the type of the first touch region,
- wherein the first touch region comprises a first sub-region of a first type and a second sub-region of a second type, the first type is different from the second type, and the second judging component is configured to:
- in response to the position of the first touch being located in the first sub-region of the first touch region, judge whether the first touch is the mistaken touch or the effective touch according to the parameter of the first touch by a first mode, in response to the position of the first touch being located in the second sub-region of the first touch region, judge whether the first touch is the mistaken touch or the effective touch according to the parameter of the first touch by a second mode, and the first mode is different from the second mode, and
- wherein the parameter of the first touch comprises a duration time of the first touch and an area of the first touch, the second judging component is configured to:
- in response to the position of the first touch being located in the second sub-region of the first touch region, judge whether a ratio of the area of the first touch to a predefined touch area is greater than or equal to a second threshold;
- in response to the ratio of the area of the first touch to the predefined touch area being greater than or equal to the second threshold, judge whether the duration time of the first touch is greater than or equal to a third threshold, and less than or equal to a fourth threshold;
- in response to the duration time of the first touch being greater than or equal to the third threshold, and less than or equal to the fourth threshold, determine the first touch as the effective touch;
- in response to the duration time of the first touch being less than the third threshold or greater than the fourth threshold, determine the first touch as the mistaken touch;
- in response to the ratio of the area of the first touch to the predefined touch area being less than the second threshold, detect whether the second touch occurs at the position of the first touch during a first predefined period;
- in response to the second touch occurring at the position of the first touch during the first predefined period, determine the first touch as the effective touch;
- and
- in response to the second touch not occurring at the position of the first touch during the first predefined period, sum the area of the first touch with a predefined compensation area to obtain a compensated area of the first touch;
- judge whether the ratio of the compensated area of the first touch to the predefined touch area is greater than or equal to the second threshold;
- in response to the ratio of the compensated area of the first touch to the predefined touch area being greater than or equal to the second threshold, issue a reminder signal;
- detect whether the second touch occurs at the position of the first touch during a second predefined period subsequent to the reminder signal;
- in response to the second touch occurring at the position of the first touch during the second predefined period, determine the first touch as the effective touch;
- and
- in response to the second touch not occurring at the position of the first touch during the second predefined period, determine the first touch as the mistaken touch.
Dependencies are inferred from the claim text.