Method and device for preventing false-touch on touch screen, mobile terminal and storage medium
First Claim
1. A method for preventing a false-touch on a touch screen, comprising:
- comparing an area of a touch area corresponding to a touch event with a preset area threshold, when the touch event is detected by the touch screen, the touch event corresponding to at least one touch point;
determining whether the touch area corresponding to the touch event overlaps with a touch button area when the area of the touch area is smaller than the preset area threshold;
marking the touch point located in the touch button area as an invalid touch point when the touch area partially overlaps with the touch button area andshielding location coordinates of the invalid touch point corresponding to the touch event;
wherein the step of comparing an area of a touch area corresponding to a touch event with a preset area threshold comprises;
determining whether the touch point corresponding to the touch event is outside a preset area, according to location coordinates of the touch point corresponding to the touch event;
if the touch point corresponding to the touch event is not outside the preset area, comparing the area of the touch area with the preset area threshold; and
if the touch point corresponding to the touch event is outside the preset area, reporting location coordinates of the touch point corresponding to the touch event.
1 Assignment
0 Petitions
Accused Products
Abstract
The embodiment of the disclosure discloses a method and a device for preventing a false-touch on a touch screen, a mobile terminal and a storage medium. The method may include comparing an area of a touch area corresponding to the touch event with a preset area threshold, when the touch event in response to receiving a touch input is detected, determining whether the touch area corresponding to the touch event overlaps with a touch button area, when the area of the touch area is smaller than a preset area threshold, and reporting or shielding location coordinates corresponding to the touch event, according to the determination result. The embodiment of the disclosure solves the problem that the touch input in the touch button area of the touch screen cannot be accurately detected thereby the anti-missing function is invalided. Improving the accuracy of the contact reporting in the multi-touch input and implement the effect of improving the processing accuracy of the screen touch event of the mobile terminal are achieved.
29 Citations
20 Claims
-
1. A method for preventing a false-touch on a touch screen, comprising:
-
comparing an area of a touch area corresponding to a touch event with a preset area threshold, when the touch event is detected by the touch screen, the touch event corresponding to at least one touch point; determining whether the touch area corresponding to the touch event overlaps with a touch button area when the area of the touch area is smaller than the preset area threshold; marking the touch point located in the touch button area as an invalid touch point when the touch area partially overlaps with the touch button area and shielding location coordinates of the invalid touch point corresponding to the touch event; wherein the step of comparing an area of a touch area corresponding to a touch event with a preset area threshold comprises; determining whether the touch point corresponding to the touch event is outside a preset area, according to location coordinates of the touch point corresponding to the touch event; if the touch point corresponding to the touch event is not outside the preset area, comparing the area of the touch area with the preset area threshold; and if the touch point corresponding to the touch event is outside the preset area, reporting location coordinates of the touch point corresponding to the touch event. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A device for preventing a false-touch on a touch screen, comprising:
-
an area comparison module configured to compare an area of a touch area corresponding to a touch event with a preset area threshold, when the touch event is detected by the touch screen, the touch event corresponding to a plurality of touch points; an area determination module configured to determine whether the touch area corresponding to the touch event overlaps with a touch button area, when the area of the touch area is smaller than the preset area threshold; and a reporting module configured to mark one of the plurality of touch points that is located in the touch button area as an invalid touch point, shield location coordinates of the invalid touch point and location coordinates of another one of the plurality of touch points that is in a preset area, and report location coordinates of the remaining touch points, when the touch area partially overlaps with the touch button area.
-
-
13. A mobile terminal, comprising a touch screen, a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor implements the following steps when executing the computer program:
-
comparing an area of a touch area corresponding to a touch event with a preset area threshold, when the touch event is detected by the touch screen, the touch event corresponding to a plurality of touch points; determining whether the touch area corresponding to the touch event overlaps with a touch button area, when the area of the touch area is smaller than the preset area threshold; and reporting or shielding location coordinates corresponding to the touch event, according to the determination result, comprising; marking the touch point inside the touch button area as an invalid touch point, when the touch area partially overlaps with the touch button area; shielding location coordinates of the invalid touch point and location coordinates of the touch point inside the preset area; and reporting location coordinates of the remaining touch points of the touch input. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. A non-transitory computer readable storage medium, storing a program comprising instructions executable by a processor to cause the processor to perform operations including:
-
comparing an area of a touch area corresponding to a touch event with a preset area threshold, when the touch event is detected by a touch screen, the touch input comprising at least one touch point; determining whether the touch area corresponding to the touch event overlaps with a touch button area when the area of the touch area is smaller than the preset area threshold;
marking the touch point located in the touch button area as an invalid touch point when the touch area overlaps with the touch button area; andshielding location coordinates of the invalid touch point corresponding to the touch event; wherein the step of comparing an area of a touch area corresponding to a touch event with a preset area threshold comprises; determining whether the touch point corresponding to the touch event is outside a preset area, according to location coordinates of the touch point corresponding to the touch event; if the touch point corresponding to the touch event is not outside the preset area, comparing the area of the touch area with the preset area threshold; and if the touch point corresponding to the touch event is outside the preset area, reporting location coordinates of the touch point corresponding to the touch event. - View Dependent Claims (20)
-
Specification