CN113934326A - Touch point filtering method and device, electronic equipment and storage medium - Google Patents
Touch point filtering method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN113934326A CN113934326A CN202111222809.5A CN202111222809A CN113934326A CN 113934326 A CN113934326 A CN 113934326A CN 202111222809 A CN202111222809 A CN 202111222809A CN 113934326 A CN113934326 A CN 113934326A
- Authority
- CN
- China
- Prior art keywords
- induction
- point
- value
- extreme
- capacitance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000001914 filtration Methods 0.000 title claims abstract description 25
- 230000006698 induction Effects 0.000 claims abstract description 242
- 230000015654 memory Effects 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 6
- 239000007788 liquid Substances 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 3
- 230000008859 change Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 210000004243 sweat Anatomy 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/044—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0412—Digitisers structurally integrated in a display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Input By Displaying (AREA)
Abstract
The application provides a filtering method and device of touch points, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring the capacitance induction quantity of each induction point; determining an induction quantity extreme point according to the capacitance induction quantity of each induction point; if the distance between any two induction quantity extreme points is smaller than a first threshold value, judging whether the difference value of the capacitance induction quantities between the two induction quantity extreme points is larger than a second threshold value or not; and if the difference value is larger than the second threshold value, determining the induction quantity extreme point with the relatively small capacitance induction quantity in the two induction quantity extreme points as a residual point, and removing the residual point. The touch control method and the touch control device can avoid unsmooth operation or mistaken touch caused by broken lines and common nodes, and improve touch control accuracy.
Description
Technical Field
The present disclosure relates to the field of touch technologies, and in particular, to a method and an apparatus for filtering touch points, an electronic device, and a storage medium.
Background
When water or sweat is on the hand to operate the touch screen, the operation of broken lines and common points often occurs, so that the operation is not smooth or mistaken touch occurs. When the screen enters the room from the outside in winter, if water stains appear on the screen, the screen can be broken or exposed.
Disclosure of Invention
The embodiment of the application provides a filtering method of touch points, which is used for solving the problems of unsmooth operation or mistaken touch caused by broken lines and common points and improving the accuracy of touch control.
The embodiment of the application provides a method for filtering touch points, which comprises the following steps:
acquiring the capacitance induction quantity of each induction point;
determining an induction quantity extreme point according to the capacitance induction quantity of each induction point;
if the distance between any two induction quantity extreme points is smaller than a first threshold value, judging whether the difference value of the capacitance induction quantities between the two induction quantity extreme points is larger than a second threshold value or not;
and if the difference value is larger than a second threshold value, determining an induction quantity extreme point with relatively small capacitance induction quantity in the two induction quantity extreme points as a residual point, and removing the residual point.
In an embodiment, the determining the induction quantity extreme point according to the capacitance induction quantity of each induction point includes:
and aiming at each target induction point in all the induction points, if the capacitance induction quantity of the induction points in the surrounding area of the target induction point is smaller than that of the target induction point, determining the target induction point as an induction quantity extreme point.
In an embodiment, before the distance between any two sensing quantity extreme points is smaller than the first threshold, the method further includes:
and judging whether the difference value of the x coordinate and the difference value of the y coordinate of any two induction quantity extreme points are smaller than a designated window, if so, determining that the distance between the two induction quantity extreme points is smaller than a first threshold value.
In an embodiment, the determining whether the difference between the two sensing quantities is greater than a second threshold includes:
dividing the capacitance induction value of the first induction quantity extreme point by a preset judgment ratio to obtain a first intermediate variable;
and judging whether the first intermediate variable is larger than the capacitance induction value of the second induction value extreme point, and if so, determining that the difference value of the capacitance induction values between the two induction value extreme points is larger than a second threshold value.
In an embodiment, if the difference is greater than the second threshold, determining an induction quantity extreme point with a relatively small capacitance induction quantity in the two induction quantity extreme points as a residual point, and removing the residual point includes:
and if the difference value of the capacitance induction quantities between the two induction quantity extreme points is larger than a second threshold value, determining the second induction quantity extreme point as a residual point, and removing the second induction quantity extreme point.
In an embodiment, the determining whether the difference between the two sensing quantities is greater than a second threshold further includes:
if the first intermediate variable is smaller than or equal to the capacitance induction value of the second induction value extreme point, dividing the capacitance induction value of the second induction value extreme point by a preset judgment ratio to obtain a second intermediate variable;
and judging whether the second intermediate variable is greater than the capacitance induction value of the first induction value extreme point, and if so, determining that the difference value of the capacitance induction values between the two induction value extreme points is greater than a second threshold value.
In an embodiment, if the difference is greater than the second threshold, determining an induction quantity extreme point with a relatively small capacitance induction quantity in the two induction quantity extreme points as a residual point, and removing the residual point includes:
and if the difference value of the capacitance induction quantities between the two induction quantity extreme points is larger than a second threshold value, determining the first induction quantity extreme point as a residual point, and removing the first induction quantity extreme point.
The embodiment of the present application further provides a filtering apparatus for a touch point, including:
the induction quantity acquisition module is used for acquiring the capacitance induction quantity of each induction point;
the extreme point determining module is used for determining an induction quantity extreme point according to the capacitance induction quantity of each induction point;
the data judgment module is used for judging whether the difference value of the capacitance induction quantities between any two induction quantity extreme points is larger than a second threshold value or not if the distance between any two induction quantity extreme points is smaller than the first threshold value;
and the residual point determining module is used for determining an induction quantity extreme point with relatively small capacitance induction quantity in the two induction quantity extreme points as a residual point and removing the residual point if the difference value is greater than a second threshold value.
An embodiment of the present application further provides an electronic device, where the electronic device includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the touch point filtering method.
The embodiment of the application also provides a computer-readable storage medium, wherein a computer program is stored in the storage medium, and the computer program can be executed by a processor to complete the touch point filtering method.
The technical scheme that this application above-mentioned embodiment provided, through the electric capacity induction volume that acquires every response point, confirm the induction volume extreme point, if there is the distance between two arbitrary induction volume extreme points to be less than first threshold value, then judge whether the difference of the electric capacity induction volume between two induction volume extreme points is greater than the second threshold value, if the difference is greater than the second threshold value, then confirm that the induction volume extreme point that electric capacity induction volume is little relatively in two induction volume extreme points is the residual point, and get rid of the residual point, thereby improve the accuracy of touch-control.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating a method for filtering touch points according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart illustrating a method for filtering touch points according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of data of capacitance sensing when liquid is present on the touch screen;
FIG. 5A is a schematic diagram of a touch screen with a residual dot causing a wire break;
FIG. 5B is a schematic diagram illustrating the effect of the touch screen after the residual points are removed;
fig. 6 is a block diagram of a touch point filtering apparatus according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device may be configured to execute the method for filtering the touch points provided in an embodiment of the present application. As shown in fig. 1, the electronic device 100 includes: one or more processors 103, one or more memories 101 storing processor-executable instructions, the processors 103 and the memories 101 being coupled by a bus 102. The processor 103 is configured to execute a filtering method for touch points provided in the following embodiments of the present application.
The processor 103 may be a gateway, or may be an intelligent terminal, or may be a device including a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), or other form of processing unit having data processing capability and/or instruction execution capability, and may process data of other components in the electronic device 100, and may control other components in the electronic device 100 to perform desired functions.
The memory 101 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium and executed by the processor 103 to implement the touch point filtering method described below. Various applications and various data, such as various data used and/or generated by the applications, may also be stored in the computer-readable storage medium.
Fig. 2 is a flowchart illustrating a method for filtering touch points according to an embodiment of the present disclosure. As shown in fig. 2, the method may include the following steps S210-S240.
Step S210: and acquiring the capacitance induction quantity of each induction point.
The touch screen is provided with a sensor, when the touch screen is not operated, each sensing point has a capacitance reference value, the capacitance sensing variation of each sensing point is 0, and the capacitance sensing variation is relative to the capacitance reference value; when liquid exists on the screen, the liquid is a conductor, so that the capacitance induction quantity of each induction point corresponding to the position of the liquid can be changed, and the change value at the moment is the capacitance induction quantity of each induction point.
Step S220: and determining an induction quantity extreme point according to the capacitance induction quantity of each induction point.
The method comprises the steps of comparing capacitance induction quantities of all target induction points in a target area on a touch screen, and determining the target induction point as an induction quantity extreme point if the capacitance induction quantities of the induction points in the area around the target induction point are all smaller than the capacitance induction quantity of the target induction point. In one embodiment, the sensing points in the area around the target sensing point can be defined as the adjacent points of the target sensing point on the upper, lower, left and right sides of the electrode grid of the sensor.
Step S230: and if the distance between any two induction quantity extreme points is smaller than a first threshold value, judging whether the difference value of the capacitance induction quantities between the two induction quantity extreme points is larger than a second threshold value.
For example, assuming that the coordinates of the target sensing point are (x, y), and any two sensing quantity extreme points are a (x, y) and B (x, y), respectively, if the values of Ax-Bx and Ay-By are smaller than the specified window, it is determined that the distance between the two sensing quantity extreme points is smaller than the first threshold. The designated window may be a specific numerical value, and is used for comparing the distance between any two induction quantity extreme points, and further determining a relationship between the distance between any two induction quantity extreme points and the first threshold.
And if the distance between any two induction quantity extreme points A (x, y) and B (x, y) is smaller than a first threshold, judging whether the difference value of the capacitance induction quantities between the two induction quantity extreme points is larger than a second threshold.
Step S240: and if the difference value is larger than a second threshold value, determining an induction quantity extreme point with relatively small capacitance induction quantity in the two induction quantity extreme points as a residual point, and removing the residual point.
Fig. 3 is a flowchart illustrating a method for filtering touch points according to an embodiment of the present disclosure. As shown in fig. 3, the method may include the following steps.
Step S310: the capacitance sensing amount of each sensing point is obtained, as described in step S210 above, which is not described herein again.
Step S320: and determining an induction quantity extreme point according to the capacitance induction quantity of each induction point.
And determining the target induction point as an induction quantity extreme point if the capacitance induction quantity of the induction points in the surrounding area of the target induction point is less than that of the target induction point for each target induction point in all the induction points. Specifically, any two induction quantity extreme points are a (x, y) and B (x, y), respectively, and it is assumed that the capacitance induction value of the first induction quantity extreme point is DiffA, and the capacitance induction value of the second induction quantity extreme point is DiffB. For example, as shown in fig. 4, assume that the target sensing point with the capacitance sensing amount of 100, 717 is taken as two sensing amount extreme points, i.e. the first: the capacitance sensing values of A (x, y), B (x, y), DiffA is 100, DiffB is 717; and the second method comprises the following steps: the capacitance sensing values DiffA and DiffB of a (x, y) and B (x, y) are 717 and 100, respectively, but not limited thereto.
Step S330: and judging whether the difference value of the x coordinate and the difference value of the y coordinate of any two induction quantity extreme points are smaller than a designated window, if so, determining that the distance between the two induction quantity extreme points is smaller than a first threshold value.
The designated window may be a specific numerical value, and is used for comparing the distance between any two induction quantity extreme points, and further determining a relationship between the distance between any two induction quantity extreme points and the first threshold. When the distance between the two extreme points is smaller than the first threshold value, one of the extreme points is a residual point on the touch screen, which is generated by liquid.
Step S340: and judging whether the difference value of the capacitance induction quantities between the two induction quantity extreme points is greater than a second threshold value.
Specifically, it is determined whether the difference between the two induction quantity extreme points is greater than a second threshold, and if the difference is greater than the second threshold, step S350 is executed; and if the difference value is less than or equal to the second threshold value, neither of the two induction quantity extreme points is a residual point.
Step S350: and dividing the capacitance induction value of the first induction quantity extreme point by a preset judgment ratio to obtain a first intermediate variable.
Specifically, if the difference between the capacitance sensing quantities of the two sensing quantity extreme points is greater than the second threshold, the capacitance sensing value DiffA of the first sensing quantity extreme point is divided by a preset decision ratio n to obtain a first intermediate variable DiffA/n, where n is the decision ratio and can be set to any value as required. For example, as shown in fig. 4, the preset decision ratio n is 3, the first: DiffA is 100 and DiffB is 717, the first intermediate variable DiffA/n is 100/3; and the second method comprises the following steps: DiffA is 717 and DiffB is 100, then the first intermediate variable DiffA/n is 717/3.
Step S360: and judging whether the first intermediate variable is larger than the capacitance induction value of the second induction value extreme point.
Specifically, whether the first intermediate variable DiffA/n is larger than the capacitance sensing value DiffB of the second sensing value extreme point is judged.
In an embodiment, if the first intermediate variable is greater than the capacitance sensing value of the second sensing value extreme point, step S360 is executed and then step S3611-step S3612 are continuously executed.
For example, the second: if DiffA is 717 and DiffB is 100, the first intermediate variable DiffA/n is 717/3, which is greater than the capacitance induction value DiffB of the second induction value extreme point, and then step S360 is executed and step S3611-step S3612 are continued.
Step S3611: and determining that the difference value of the capacitance induction quantity between the two induction quantity extreme points is larger than a second threshold value.
Specifically, if the first intermediate variable DiffA/n is greater than the capacitance sensing value DiffB of the second sensing value extreme point, i.e., DiffA/n > DiffB, it is determined that the difference in capacitance sensing value between the two sensing value extreme points is greater than the second threshold value.
And if the difference value is larger than a second threshold value, determining an induction quantity extreme point with relatively small capacitance induction quantity in the two induction quantity extreme points as a residual point, and removing the residual point.
Step S3612: and determining the second induction quantity extreme point as a residual point, and removing the second induction quantity extreme point.
Specifically, if the difference between the two induction quantity extreme points is greater than a second threshold, determining the second induction quantity extreme point DiffB as a residual point, and removing the second induction quantity extreme point. For example, the second: DiffA/n is 717/3 greater than DiffB, where DiffB is 100, i.e., DiffA/n > DiffB, and the difference in capacitive sense between the two sense extreme points is determined to be greater than a second threshold, then the second sense extreme point DiffB is determined to be a residual point and removed.
In an embodiment, if the first intermediate variable is less than or equal to the capacitance sensing value of the second sensing value extreme point, step S360 is executed and then steps S3621 to S3623 are continuously executed.
For example, the first: if DiffA is 100, DiffB is 717, and the first intermediate variable DiffA/n is 100/3 smaller than DiffB, the process goes to step S360 and then continues to step S3621-step S3623.
Step S3621: and dividing the capacitance induction value of the second induction quantity extreme point by a preset judgment ratio to obtain a second intermediate variable.
Specifically, if the first intermediate variable DiffA/n is less than or equal to the capacitance sensing value DiffB of the second sensing quantity extreme point, i.e., DiffA/n is less than or equal to DiffB, the capacitance sensing value DiffB of the second sensing quantity extreme point is divided by the preset decision ratio n to obtain the second intermediate variable DiffB/n. For example, the first: DiffA is 100, DiffB is 717, the first intermediate variable DiffA/n is 100/3, which is smaller than DiffB, namely DiffA/n < DiffB, and the capacitance sensing value DiffB of the second sensing value extreme point is divided by a preset decision proportion n to obtain a second intermediate variable DiffB/n, namely the second intermediate variable DiffB/n is 717/3.
Step S3622: and judging whether the second intermediate variable is greater than the capacitance induction value of the first induction value extreme point, and if so, determining that the difference value of the capacitance induction values between the two induction value extreme points is greater than a second threshold value.
Specifically, whether the second intermediate variable DiffB/n is larger than the capacitance induction value DiffA of the first induction value extreme point or not is judged, if so, the DiffB/n is larger than DiffA, and the difference value of the capacitance induction values between the two induction value extreme points is determined to be larger than a second threshold value.
Step S3623: and determining the first induction quantity extreme point as a residual point, and removing the first induction quantity extreme point.
Specifically, if the difference value of the capacitance induction quantities between the two induction quantity extreme points is greater than the second threshold value, the first induction quantity extreme point DiffA is determined as a residual point, and the first induction quantity extreme point is removed.
For example, the first: DiffB/n is 717/3 greater than DiffA, where DiffA is 100, i.e., DiffB/n > DiffA, and the first induction magnitude extreme point DiffA is determined to be a residual point and removed if the difference in capacitive induction magnitudes between the two induction magnitude extreme points is determined to be greater than the second threshold value.
FIG. 5A is a schematic diagram of a touch screen with a residual dot causing a wire break; FIG. 5B is a schematic diagram of a touch screen with a residual point removed to resolve a wire break. As can be seen from a comparison between fig. 5A and fig. 5B, due to the existence of the residual points, when the touch points are fitted, one continuous touch trajectory becomes 2 touch trajectories. After the residual points due to the water drops are removed, the problem of wire breakage can be solved.
The following is an embodiment of an apparatus that can be used to perform the embodiments of the filtering method for touch points described above. For details not disclosed in the embodiments of the device of the present application, please refer to the embodiments of the filtering method based on touch points of the present application.
Fig. 6 is a block diagram of a touch point filtering apparatus according to an embodiment of the present disclosure. As shown in fig. 6, the apparatus includes an induction quantity obtaining module 610, an extreme point determining module 620, a data determining module 630, and a remaining point determining module 640.
The sensing quantity obtaining module 610 is configured to obtain a capacitance sensing quantity of each sensing point;
an extreme point determining module 620, configured to determine an induction quantity extreme point according to the capacitance induction quantity of each induction point;
a data determining module 630, configured to determine whether a difference between capacitance sensing quantities of any two sensing quantity extreme points is greater than a second threshold if a distance between the two sensing quantity extreme points is smaller than a first threshold;
and a residual point determining module 640, configured to determine, if the difference is greater than the second threshold, that an induction quantity extreme point with a relatively small capacitance induction quantity in the two induction quantity extreme points is a residual point, and remove the residual point.
The implementation process of the functions and actions of each module in the device is specifically described in the implementation process of the corresponding step in the filtering method based on the touch points, and is not described herein again.
In the embodiments provided in the present application, the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Claims (10)
1. A method for filtering touch points is characterized by comprising the following steps:
acquiring the capacitance induction quantity of each induction point;
determining an induction quantity extreme point according to the capacitance induction quantity of each induction point;
if the distance between any two induction quantity extreme points is smaller than a first threshold value, judging whether the difference value of the capacitance induction quantities between the two induction quantity extreme points is larger than a second threshold value or not;
and if the difference value is larger than a second threshold value, determining an induction quantity extreme point with relatively small capacitance induction quantity in the two induction quantity extreme points as a residual point, and removing the residual point.
2. The method of claim 1, wherein the determining the induction quantity extreme point according to the capacitance induction quantity of each induction point comprises:
and aiming at each target induction point in all the induction points, if the capacitance induction quantity of the induction points in the surrounding area of the target induction point is smaller than that of the target induction point, determining the target induction point as an induction quantity extreme point.
3. The method of claim 1, wherein before the distance between any two sensing extreme points is less than the first threshold, the method further comprises:
and judging whether the difference value of the x coordinate and the difference value of the y coordinate of any two induction quantity extreme points are smaller than a designated window, if so, determining that the distance between the two induction quantity extreme points is smaller than a first threshold value.
4. The method of claim 1, wherein said determining whether the difference in the capacitive sensing quantities between the two sensing quantity extreme points is greater than a second threshold value comprises:
dividing the capacitance induction value of the first induction quantity extreme point by a preset judgment ratio to obtain a first intermediate variable;
and judging whether the first intermediate variable is larger than the capacitance induction value of the second induction value extreme point, and if so, determining that the difference value of the capacitance induction values between the two induction value extreme points is larger than a second threshold value.
5. The method of claim 4, wherein if the difference is greater than a second threshold, determining an induction quantity extreme point with a relatively small capacitive induction quantity from the two induction quantity extreme points as a residual point, and removing the residual point comprises:
and if the difference value of the capacitance induction quantities between the two induction quantity extreme points is larger than a second threshold value, determining the second induction quantity extreme point as a residual point, and removing the second induction quantity extreme point.
6. The method of claim 4, wherein said determining whether the difference in the capacitive sensing quantities between the two sensing quantity extreme points is greater than a second threshold value further comprises:
if the first intermediate variable is smaller than or equal to the capacitance induction value of the second induction value extreme point, dividing the capacitance induction value of the second induction value extreme point by a preset judgment ratio to obtain a second intermediate variable;
and judging whether the second intermediate variable is greater than the capacitance induction value of the first induction value extreme point, and if so, determining that the difference value of the capacitance induction values between the two induction value extreme points is greater than a second threshold value.
7. The method of claim 6, wherein if the difference is greater than a second threshold, determining an induction quantity extreme point with a relatively small capacitive induction quantity from the two induction quantity extreme points as a residual point, and removing the residual point comprises:
and if the difference value of the capacitance induction quantities between the two induction quantity extreme points is larger than a second threshold value, determining the first induction quantity extreme point as a residual point, and removing the first induction quantity extreme point.
8. A touch point filtering device, comprising:
the induction quantity acquisition module is used for acquiring the capacitance induction quantity of each induction point;
the extreme point determining module is used for determining an induction quantity extreme point according to the capacitance induction quantity of each induction point;
the data judgment module is used for judging whether the difference value of the capacitance induction quantities between any two induction quantity extreme points is larger than a second threshold value or not if the distance between any two induction quantity extreme points is smaller than the first threshold value;
and the residual point determining module is used for determining an induction quantity extreme point with relatively small capacitance induction quantity in the two induction quantity extreme points as a residual point and removing the residual point if the difference value is greater than a second threshold value.
9. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of filtering touch points according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is executable by a processor to perform the method for filtering touch points according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111222809.5A CN113934326A (en) | 2021-10-20 | 2021-10-20 | Touch point filtering method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111222809.5A CN113934326A (en) | 2021-10-20 | 2021-10-20 | Touch point filtering method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113934326A true CN113934326A (en) | 2022-01-14 |
Family
ID=79280852
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111222809.5A Pending CN113934326A (en) | 2021-10-20 | 2021-10-20 | Touch point filtering method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113934326A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102681742A (en) * | 2012-05-26 | 2012-09-19 | 汕头超声显示器(二厂)有限公司 | Touch signal detection method for capacitive touch screen |
US20150185919A1 (en) * | 2013-12-27 | 2015-07-02 | Egalax_Empia Technology Inc. | Touch sensitive device and touch determination method thereof |
US20150242051A1 (en) * | 2014-02-21 | 2015-08-27 | Qualcomm Incorporated | Systems and methods of moisture detection and false touch rejection on touch screen devices |
WO2015131675A1 (en) * | 2014-10-17 | 2015-09-11 | 中兴通讯股份有限公司 | Compensation method for broken slide paths, electronic device and computer storage medium |
CN109074188A (en) * | 2016-03-30 | 2018-12-21 | 夏普株式会社 | Display device with touch screen |
CN110597414A (en) * | 2019-09-12 | 2019-12-20 | 青岛海信商用显示股份有限公司 | Touch detection method of touch screen and related equipment |
CN110596761A (en) * | 2018-06-12 | 2019-12-20 | 义隆电子股份有限公司 | Liquid detection method and controller of capacitive touch panel |
CN112099666A (en) * | 2020-09-10 | 2020-12-18 | 深圳市科航科技发展有限公司 | Touch control method, system, terminal and storage medium applied to capacitive screen |
CN112905054A (en) * | 2021-03-09 | 2021-06-04 | 深圳市康冠商用科技有限公司 | Touch point positioning method and device of capacitive touch screen and related equipment |
TW202122974A (en) * | 2019-12-03 | 2021-06-16 | 全台晶像股份有限公司 | Method for determining touch position of anti-liquid interference touch panel capable of accurately determining the position of a touch object on the touch interface and allowing a user to accurately operate the touch device even if there is liquid on the touch interface |
-
2021
- 2021-10-20 CN CN202111222809.5A patent/CN113934326A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102681742A (en) * | 2012-05-26 | 2012-09-19 | 汕头超声显示器(二厂)有限公司 | Touch signal detection method for capacitive touch screen |
US20150185919A1 (en) * | 2013-12-27 | 2015-07-02 | Egalax_Empia Technology Inc. | Touch sensitive device and touch determination method thereof |
US20150242051A1 (en) * | 2014-02-21 | 2015-08-27 | Qualcomm Incorporated | Systems and methods of moisture detection and false touch rejection on touch screen devices |
WO2015131675A1 (en) * | 2014-10-17 | 2015-09-11 | 中兴通讯股份有限公司 | Compensation method for broken slide paths, electronic device and computer storage medium |
CN109074188A (en) * | 2016-03-30 | 2018-12-21 | 夏普株式会社 | Display device with touch screen |
CN110596761A (en) * | 2018-06-12 | 2019-12-20 | 义隆电子股份有限公司 | Liquid detection method and controller of capacitive touch panel |
CN110597414A (en) * | 2019-09-12 | 2019-12-20 | 青岛海信商用显示股份有限公司 | Touch detection method of touch screen and related equipment |
TW202122974A (en) * | 2019-12-03 | 2021-06-16 | 全台晶像股份有限公司 | Method for determining touch position of anti-liquid interference touch panel capable of accurately determining the position of a touch object on the touch interface and allowing a user to accurately operate the touch device even if there is liquid on the touch interface |
CN112099666A (en) * | 2020-09-10 | 2020-12-18 | 深圳市科航科技发展有限公司 | Touch control method, system, terminal and storage medium applied to capacitive screen |
CN112905054A (en) * | 2021-03-09 | 2021-06-04 | 深圳市康冠商用科技有限公司 | Touch point positioning method and device of capacitive touch screen and related equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106650648B (en) | Recognition method and system for erasing handwriting | |
CN109643200B (en) | Electronic device, touch detection circuit, and method for updating reference value of touch screen | |
CN108170806B (en) | Sensitive word detection and filtering method and device and computer equipment | |
CN112597837A (en) | Image detection method, apparatus, device, storage medium and computer program product | |
CN103164191A (en) | Method and device of webpage element dragging | |
CN111340954B (en) | House type wall drawing method and model training method and device thereof | |
CN109144392B (en) | Method and device for processing gesture conflict and electronic equipment | |
JP2013122625A (en) | Information processing device, input device, input device module, program, and input processing method | |
JP6153561B2 (en) | Method, apparatus, and computer program for adjusting hyperlink layout size (adjusting hyperlink layout size) | |
CN108668157B (en) | Focus moving method and device and set top box | |
CN108446702B (en) | Image character segmentation method, device, equipment and storage medium | |
CN113033346A (en) | Text detection method and device and electronic equipment | |
CN112529014A (en) | Straight line detection method, information extraction method, device, equipment and storage medium | |
JP2016177343A (en) | Signal processing apparatus, input device, signal processing method, and program | |
CN110708568B (en) | Video content mutation detection method and device | |
CN113538623B (en) | Method, device, electronic equipment and storage medium for determining target image | |
CN115357155A (en) | Window identification method, device, equipment and computer readable storage medium | |
CN106663317B (en) | Morphological processing method and digital image processing device for digital image | |
CN112614074B (en) | Robust vanishing point detection method and device based on response graph and clustering | |
CN108604142B (en) | Touch screen device operation method and touch screen device | |
CN113934326A (en) | Touch point filtering method and device, electronic equipment and storage medium | |
CN103744609B (en) | A kind of data extraction method and device | |
CN113311981A (en) | Erasing method and device, intelligent terminal and computer readable storage medium | |
CN111475057A (en) | Touch identification method and device | |
CN111160358B (en) | Image binarization method, device, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |