Touch positioning method for touch display device, and touch display device
First Claim
Patent Images
1. A touch positioning method for a touch display device, comprising:
- when it is detected that a touch operation has been made on a touch panel, determining whether the touch operation is effective;
when the touch operation is effective, sampling coordinate information about a touch point multiple times to acquire a plurality of initial coordinates of the touch point;
performing a grouping calculation on the plurality of initial coordinates of the touch point to determine final coordinates of the touch point,wherein performing the grouping calculation on the plurality of initial coordinates of the touch point to determine the final coordinates of the touch point comprises;
dividing horizontal coordinates and longitudinal coordinates of the plurality of initial coordinates of the touch point into N groups, respectively, to obtain N groups of classified coordinates, respectively, N being divisible by a number of sampling times of coordinate information about the touch point;
for the N groups of classified coordinates of horizontal coordinates and for the N groups of classified coordinates of longitudinal coordinates;
calculating an average value of each group of classified coordinates;
calculating a difference between the average values of any two groups of classified coordinates and acquiring an absolute value of the difference;
determining two groups of classified coordinates corresponding to a minimum absolute value of the difference; and
determining an average value of the plurality of initial coordinates of the touch point recorded in the two groups of classified coordinates as a corresponding component of the final coordinates of the touch point.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure provides a touch positioning method for a touch display device, and the touch display device. When it is detected that a touch operation has been made on a touch panel, whether or not the touch operation is effective is determined. When the touch operation is effective, coordinate information about a touch point are sampled multiple times, so as to acquire a plurality of initial coordinates of the touch point. A grouping calculation is performed on the plurality of initial coordinates of the touch point, so as to determine final coordinates of the touch point.
-
Citations
12 Claims
-
1. A touch positioning method for a touch display device, comprising:
-
when it is detected that a touch operation has been made on a touch panel, determining whether the touch operation is effective; when the touch operation is effective, sampling coordinate information about a touch point multiple times to acquire a plurality of initial coordinates of the touch point; performing a grouping calculation on the plurality of initial coordinates of the touch point to determine final coordinates of the touch point, wherein performing the grouping calculation on the plurality of initial coordinates of the touch point to determine the final coordinates of the touch point comprises; dividing horizontal coordinates and longitudinal coordinates of the plurality of initial coordinates of the touch point into N groups, respectively, to obtain N groups of classified coordinates, respectively, N being divisible by a number of sampling times of coordinate information about the touch point; for the N groups of classified coordinates of horizontal coordinates and for the N groups of classified coordinates of longitudinal coordinates; calculating an average value of each group of classified coordinates; calculating a difference between the average values of any two groups of classified coordinates and acquiring an absolute value of the difference; determining two groups of classified coordinates corresponding to a minimum absolute value of the difference; and determining an average value of the plurality of initial coordinates of the touch point recorded in the two groups of classified coordinates as a corresponding component of the final coordinates of the touch point. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A touch display device, comprising:
-
a determination module configured to, when it is detected that a touch operation has been made on a touch panel, determine whether the touch operation is effective; an acquisition module configured to, when the touch operation is effective, sample coordinate information about a touch point multiple times to acquire a plurality of initial coordinates of the touch point; a calculation module configured to perform a grouping calculation on the plurality of initial coordinates of the touch point, to determine final coordinates of the touch point, wherein the calculation module comprises; a grouping unit configured to divide horizontal coordinates and longitudinal coordinates of the initial coordinates of the touch point into N groups, respectively, to obtain N groups of classified coordinates, respectively, N being divisible by a number of sampling times of coordinate information about the touch point; a first calculation unit configured to an average value of each group of classified coordinates; a second calculation unit configured to calculate a difference between the average values of any two groups of classified coordinates, and acquire an absolute value of the difference; a second determination unit configured to determine two groups of classified coordinates corresponding to a minimum absolute value of the difference; and a third determination unit configured to determine an average value of the initial coordinates of the touch point recorded in the two groups of classified coordinates as a corresponding component of the final coordinates of the touch point. - View Dependent Claims (9, 10, 11, 12)
-
Specification