CN112214132B - False touch correction method and device, computer readable medium and electronic equipment - Google Patents
False touch correction method and device, computer readable medium and electronic equipment Download PDFInfo
- Publication number
- CN112214132B CN112214132B CN202011120511.9A CN202011120511A CN112214132B CN 112214132 B CN112214132 B CN 112214132B CN 202011120511 A CN202011120511 A CN 202011120511A CN 112214132 B CN112214132 B CN 112214132B
- Authority
- CN
- China
- Prior art keywords
- voltage
- axis direction
- relative position
- position coordinate
- determining
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000004364 calculation method Methods 0.000 claims description 36
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 24
- 238000004590 computer program Methods 0.000 claims description 10
- 238000001514 detection method Methods 0.000 abstract description 3
- 230000000737 periodic effect Effects 0.000 abstract description 3
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 8
- 239000000463 material Substances 0.000 description 2
- 238000003754 machining Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 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/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
- G06F3/04186—Touch location disambiguation
-
- 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/045—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using resistive elements, e.g. a single continuous surface or two parallel surfaces put in contact
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 invention provides a false touch correction method, which is applied to a resistance type touch screen and aims to solve the problem of false touch in the background technology, and the false touch correction method has the following beneficial effects: whether a wrong contact exists is determined through a periodic detection and judgment method, and when the wrong contact exists, the voltage in the X-axis direction and the voltage in the Y-axis direction corresponding to the wrong contact are stored and recorded; and combining the recorded false contact data and other data acquired later to obtain the voltage in the X-axis direction and the voltage in the Y-axis direction corresponding to the actual touch point, and further obtaining corresponding relative position coordinates to avoid the influence of the false contact on the actual operation of a user.
Description
Technical Field
The invention relates to the field of control of resistive touch screens, in particular to a false touch correction method and device, a computer readable medium and electronic equipment.
Background
The resistance type touch screen is provided with an X layer and a Y layer with uniform impedance inside, and the impedance of the resistance type touch screen is uniformly distributed in the directions of an X axis and a Y axis respectively. When point a on the touch screen is pressed, the resulting squeezing force causes the X and Y layers to form conduction at point a. Applying a voltage V to the X-layer material along the X-axisXThen detecting the voltage from the Y layer to obtain the voltage V corresponding to the X-axis direction on the point AXA(ii) a Applying a voltage V to the Y-layer materialYThen detecting on the X layer to obtain a voltage VYAPassing V according to the uniform impedance characteristics of the X and Y layersXA/VXObtaining the relative position coordinate of the point A in the X-axis direction through VYA/VYThe relative position coordinates of the point a in the Y-axis direction are obtained.
However, in practical applications, due to a structural error possibly caused by machining and assembling, a wrong touch point exists on the resistive touch screen, that is, a W point always exists to conduct the X layer and the Y layer, so that an error exists in a relative position coordinate obtained during touch.
Disclosure of Invention
The invention provides a false touch correction method, a false touch correction device, a computer readable storage medium and electronic equipment, and aims to solve the problem of false touch in the background art.
The invention provides a false touch correction method which is applied to a resistive touch screen, wherein the resistive touch screen comprises a first impedance layer and a second impedance layer, and a voltage V is applied to the first impedance layer along the X-axis directionXAnd measuring a voltage of the second resistance layer to obtain a voltage in an X-axis direction by applying a voltage V in a Y-axis direction to the second resistance layerYAnd measuring a voltage of the first resistance layer to obtain a voltage in a Y-axis direction, and obtaining a voltage in an X-axis direction and a voltage in the Y-axis direction every first predetermined time, the method comprising the steps of:
S100A: acquiring and storing a first X-axis direction voltage VX0And a first Y-axis direction voltage VY0Wherein the first X-axis direction voltage VX0And a first Y-axis direction voltage VY0Are not equal to 0;
S200A: when the first X-axis direction voltage V is obtainedX0And the first Y-axis direction voltage VY0The voltage in the X-axis direction of the contact error is determined to be V when the voltage is not changed in the second preset timeX1And the Y-axis direction voltage of the erroneous contact is VY1Wherein V isX1=VX0,VY1=VY0;
S300A: when the voltage V in the second X-axis direction is obtainedX2And V isX2≠VX1According to the voltage V of the error contact point in the X-axis directionX1And the second X-axis direction voltage VX2Determining a third X-axis direction voltage V of the actual touch pointX3The calculation formula is as follows:
S400A: when the voltage V in the second Y-axis direction is obtainedY2And V isY2≠VY1According to the errorY-axis direction voltage V of contactY1And the second Y-axis direction voltage VY2Determining a third Y-axis direction voltage V of the actual touch pointY3The calculation formula is as follows:
S500A: according to the determined voltage V in the third X-axis directionX3And the third Y-axis direction voltage VY3Determining a third relative position coordinate (X) corresponding thereto3,Y3) The calculation formula is as follows:
X3=VX3/VX,
Y3=VY3/VY。
further, the S300A further includes:
when the voltage V in the second X-axis direction is obtainedX2And V isX2≠VX1And acquiring a second Y-axis direction voltage VY2And V isY2=VY1When, VY3=VY1。
Further, the S400A further includes:
when the voltage V in the second Y-axis direction is obtainedY2And V isY2≠VY1And acquiring a second X-axis direction voltage VX2And V isX2=VX1When, VX3=VX1。
The invention also provides a false touch correction method which is applied to a resistive touch screen, wherein the resistive touch screen comprises a first impedance layer and a second impedance layer, and voltage V is applied to the first impedance layer along the X-axis directionXAnd measuring a voltage of the second resistance layer to obtain a voltage in an X-axis direction by applying a voltage V in a Y-axis direction to the second resistance layerYAnd measuring the firstThe voltage of the impedance layer is obtained to obtain the voltage in the Y-axis direction, and the voltage in the X-axis direction and the voltage in the Y-axis direction are obtained at intervals of a first preset time, and the method comprises the following steps:
S100B: obtains the voltage V in the first X-axis directionX0And a first Y-axis direction voltage VY0Wherein the first X-axis direction voltage VX0And the first Y-axis direction voltage VY0Are not equal to 0, according to the voltage V of the first X-axis directionX0And the first Y-axis direction voltage VY0Determining a first relative position coordinate (X)0,Y0) The calculation formula is as follows:
X0=VX0/VX,
Y0=VY0/VY;
S200B: when the first relative position coordinate (X)0,Y0) Determining the relative position coordinates (X) of the erroneous contact point when the contact point is unchanged within a second predetermined time1,Y1) Wherein X is1=X0,Y1=Y0;
S300B: when X in the second relative position coordinate is acquired2And X2≠X1According to X in the relative position coordinates of the determined contact error1And X in said second relative position coordinate2Determining X in a third relative position coordinate3The calculation formula is as follows:
S400B: when Y in the second relative position coordinate is acquired2And Y is2≠Y1According to the Y in the relative position coordinates of the determined false contact1And Y in said second relative position coordinate2DeterminingY in the third relative position coordinate3The calculation formula is as follows:
further, the S300B further includes:
when X in the second relative position coordinate is acquired2And X2≠X1And acquiring Y in the second relative position coordinate2And Y is2=Y1When, Y3=Y1。
Further, the S300B further includes: when Y in the second relative position coordinate is acquired2And Y is2≠Y1And acquiring X in the second relative position coordinate2And X2=X1When, X3=X1。
The invention also provides a false touch correction device, which comprises:
an acquisition module configured to: acquiring and storing a first X-axis direction voltage VX0And a first Y-axis direction voltage VY0Wherein the first X-axis direction voltage VX0And a first Y-axis direction voltage VY0Are not equal to 0;
an error determination module configured to: when the first X-axis direction voltage V is obtainedX0And the first Y-axis direction voltage VY0The voltage in the X-axis direction of the contact error is determined to be V when the voltage is not changed in the second preset timeX1And the Y-axis direction voltage of the erroneous contact is VY1Wherein V isX1=VX0,VY1=VY0;
A first correction module configured to: when the voltage V in the second X-axis direction is obtainedX2And V isX2≠VX1According to the voltage V of the error contact point in the X-axis directionX1And the second X-axis direction voltage VX2Determining a third X-axis direction voltage V of the actual touch pointX3The calculation formula is as follows:
A second correction module configured to: when the voltage V in the second Y-axis direction is obtainedY2And V isY2≠VY1According to the voltage V of the error contact point in the Y-axis directionY1And the second Y-axis direction voltage VY2Determining a third Y-axis direction voltage V of the actual touch pointY3The calculation formula is as follows:
A coordinate determination module configured to: according to the determined voltage V in the third X-axis directionX3And the third Y-axis direction voltage VY3Determining a third relative position coordinate (X) corresponding thereto3,Y3) The calculation formula is as follows:
X3=VX3/VX,
Y3=VY3/VY。
the invention also provides a false touch correction device, which comprises:
an acquisition module configured to: obtains the voltage V in the first X-axis directionX0And a first Y-axis direction voltage VY0Wherein the first X-axis direction voltage VX0And the first Y-axis direction voltage VY0Are not equal to 0, according to the voltage V of the first X-axis directionX0And the first Y-axis direction voltage VY0Determining a first relative position coordinate (X)0,Y0) The calculation formula is as follows:
X0=VX0/VX,
Y0=VY0/VY;
an error determination module configured to: when the first relative position coordinate (X)0,Y0) Determining the relative position coordinates (X) of the erroneous contact point when the contact point is unchanged within a second predetermined time1,Y1) Wherein X is1=X0,Y1=Y0;
A first correction module configured to: when X in the second relative position coordinate is acquired2And X2≠X1According to X in the relative position coordinates of the determined contact error1And X in said second relative position coordinate2Determining X in a third relative position coordinate3The calculation formula is as follows:
a second correction module configured to: when Y in the second relative position coordinate is acquired2And Y is2≠Y1According to the Y in the relative position coordinates of the determined false contact1And Y in said second relative position coordinate2Determining Y in the third relative position coordinate3The calculation formula is as follows:
the present invention also provides a computer readable medium having stored thereon a computer program which, when executed by a processor, implements the false touch correction method described above.
The present invention also provides an electronic device, comprising:
one or more processors;
a storage device to store one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the false touch correction method described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
(1) whether a wrong contact exists is confirmed through a periodic detection and judgment method, and when the wrong contact exists, the corresponding voltage in the X-axis direction and the voltage in the Y-axis direction are stored and recorded.
(2) And combining the recorded false contact data and other data acquired later to obtain the voltage in the X-axis direction and the voltage in the Y-axis direction corresponding to the actual touch point, and further obtaining corresponding relative position coordinates to avoid the influence of the false contact on the actual operation of a user.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
Fig. 1 is a flowchart illustrating steps of a false touch correction method according to embodiment 1 of the present invention.
Fig. 2 is a schematic diagram of a resistive touch screen with a wrong touch point and an actual touch point according to an embodiment of the present invention.
Fig. 3 is a schematic circuit diagram for measuring the voltage in the X-axis direction in the embodiment of fig. 2.
Fig. 4 is an equivalent circuit diagram of fig. 3.
Fig. 5 is a block configuration diagram of the false touch correction device according to embodiment 1.
FIG. 6 is a flowchart illustrating steps of a false touch correction method according to embodiment 2 of the present invention.
Fig. 7 is a block configuration diagram of the false touch correction device according to embodiment 2.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without any inventive step, are within the scope of the present invention. It is to be understood that the drawings are provided solely for the purposes of reference and illustration and are not intended as a definition of the limits of the invention. The connection relationships shown in the drawings are for clarity of description only and do not limit the manner of connection.
It will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It should also be noted that, unless expressly stated or limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly and can include, for example, fixed connections, removable connections, or integral connections; either mechanically or electrically, and may be internal to both elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
It should be noted that in the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, which are only for convenience of describing the present invention and simplifying the description, but do not indicate or imply that the referred device or element must have a specific orientation, be configured in a specific orientation, and operate, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Example 1
As shown in fig. 1, this embodiment provides a false touch correction method applied to a resistive touch screen, where the resistive touch screen includes a first resistive layer and a second resistive layer, and a voltage V is applied to the first resistive layer along an X-axis directionXAnd measuring a voltage of the second resistance layer to obtain a voltage in an X-axis direction by applying a voltage V in a Y-axis direction to the second resistance layerYAnd measuring a voltage of the first resistance layer to obtain a voltage in a Y-axis direction, and obtaining a voltage in an X-axis direction and a voltage in the Y-axis direction every first predetermined time, the method comprising the steps of:
S100A: acquiring and storing a first X-axis direction voltage VX0And a first Y-axis direction voltage VY0Wherein the first X-axis direction voltage VX0And a first Y-axis direction voltage VY0Are not equal to 0.
S200A: when the first X-axis direction voltage V is obtainedX0And the first Y-axis direction voltage VY0The voltage in the X-axis direction of the contact error is determined to be V when the voltage is not changed in the second preset timeX1And the Y-axis direction voltage of the erroneous contact is VY1Wherein V isX1=VX0,VY1=VY0。
Recording a first voltage in the X-axis direction and a first voltage in the Y-axis direction which are not equal to 0 through periodic detection, and considering corresponding relative position coordinates as false contacts when the first voltage in the X-axis direction and the first voltage in the Y-axis direction do not change within second preset time; and when the error contact exists, storing and recording the corresponding voltage in the X-axis direction and the voltage in the Y-axis direction.
S300A: when the voltage V in the second X-axis direction is obtainedX2And V isX2≠VX1According to the voltage V of the error contact point in the X-axis directionX1And the second X-axis direction voltage VX2Determining a third X-axis direction voltage V of the actual touch pointX3The calculation formula is as follows:
S400A: when the voltage V in the second Y-axis direction is obtainedY2And V isY2≠VY1According to the voltage V of the error contact point in the Y-axis directionY1And the second Y-axis direction voltage VY2Determining a third Y-axis direction voltage V of the actual touch pointY3The calculation formula is as follows:
S500A: according to the determined voltage V in the third X-axis directionX3And the third Y-axis direction voltage VY3Determining a third relative position coordinate (X) corresponding thereto3,Y3) The calculation formula is as follows:
X3=VX3/VX,
Y3=VY3/VY。
as shown in fig. 2-4, fig. 2 is a schematic diagram of a resistive touch screen with a touch error point and an actual touch point, fig. 3 is a schematic circuit diagram of measuring a voltage in an X-axis direction in the embodiment of fig. 2, and fig. 4 is an equivalent circuit diagram of fig. 3.
In this embodiment, when there is a mis-pinch point W and V has been obtainedX1And VY1When point A is pressed again, the resistor between point W and point A is short-circuited to obtain a voltage VX2And V isX2Is obtained by short-circuiting R2 and R3, thus (V)X-VX2)/VX2R1/R4 ═ (R1+ R2)/(R3+ R4), available: R1/R4 ═ R2/R3. Further obtaining:
when V isX2<VX1,(VX-VX2)/VX2=(VX1-VX2)/(VX2-VX3);
When V isX2=VX1,VX3=VX1;
When V isX2>VX1,(VX-VX2)/VX2=(VX3-VX2)/(VX2-VX1)。
In the same way, the following can be obtained:
when V isY2<VY1,(VY-VY2)/VY2=(VY1-VY2)/(VY2-VY3);
When V isY2=VY1,VY3=VY1;
When V isY2>VY1,(VY-VY2)/VY2=(VY3-VY2)/(VY2-VY1)。
This example is by recorded VX1And VY1And V acquired at a later timeX2And VY2Combining to obtain a third X-axis direction voltage V corresponding to the actual touch pointX3And a third Y-axis direction voltage VY3And then corresponding relative position coordinates are obtained so as to avoid the influence of the error contact on the actual operation of the user.
Preferably, the S300A further includes:
when the voltage V in the second X-axis direction is obtainedX2And V isX2≠VX1And acquire the secondVoltage V in Y-axis directionY2And V isY2=VY1When, VY3=VY1。
Preferably, the S400A further includes:
when the voltage V in the second Y-axis direction is obtainedY2And V isY2≠VY1And acquiring a second X-axis direction voltage VX2And V isX2=VX1When, VX3=VX1。
Preferably, the first predetermined time is 10 ms.
Preferably, the second predetermined time is 30 ms.
As shown in fig. 5, the present invention further provides a false touch correction device 100A, including:
an acquisition module 10A configured to: acquiring and storing a first X-axis direction voltage VX0And a first Y-axis direction voltage VY0Wherein the first X-axis direction voltage VX0And a first Y-axis direction voltage VY0Are not equal to 0.
An error determination module 20A configured to: when the first X-axis direction voltage V is obtainedX0And the first Y-axis direction voltage VY0The voltage in the X-axis direction of the contact error is determined to be V when the voltage is not changed in the second preset timeX1And the Y-axis direction voltage of the erroneous contact is VY1Wherein V isX1=VX0,VY1=VY0。
A first correction module 30A configured to: when the voltage V in the second X-axis direction is obtainedX2And V isX2≠VX1According to the voltage V of the error contact point in the X-axis directionX1And the second X-axis direction voltage VX2Determining a third X-axis direction voltage V of the actual touch pointX3The calculation formula is as follows:
A second correction module 40A configured to: when the voltage V in the second Y-axis direction is obtainedY2And V isY2≠VY1According to the voltage V of the error contact point in the Y-axis directionY1And the second Y-axis direction voltage VY2Determining a third Y-axis direction voltage V of the actual touch pointY3The calculation formula is as follows:
A coordinate determination module 50A configured to: according to the determined voltage V in the third X-axis directionX3And the third Y-axis direction voltage VY3Determining a third relative position coordinate (X) corresponding thereto3,Y3) The calculation formula is as follows:
X3=VX3/VX,
Y3=VY3/VY。
the present embodiment also provides a computer-readable medium on which a computer program is stored, which when executed by a processor implements the false touch correction method described in embodiment 1.
The present embodiment also provides an electronic device, including:
one or more processors;
a storage device to store one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the false touch correction method of embodiment 1.
Example 2
Referring to fig. 6, the present embodiment provides a method for correcting a mis-touch, which is applied to a resistive touch panelA screen including a first resistive layer and a second resistive layer by applying a voltage V to the first resistive layer along an X-axis directionXAnd measuring a voltage of the second resistance layer to obtain a voltage in an X-axis direction by applying a voltage V in a Y-axis direction to the second resistance layerYAnd measuring a voltage of the first resistance layer to obtain a voltage in a Y-axis direction, and obtaining a voltage in an X-axis direction and a voltage in the Y-axis direction every first predetermined time, the method comprising the steps of:
S100B: obtains the voltage V in the first X-axis directionX0And a first Y-axis direction voltage VY0Wherein the first X-axis direction voltage VX0And the first Y-axis direction voltage VY0Are not equal to 0, according to the voltage V of the first X-axis directionX0And the first Y-axis direction voltage VY0Determining a first relative position coordinate (X)0,Y0) The calculation formula is as follows:
X0=VX0/VX,
Y0=VY0/VY;
S200B: when the first relative position coordinate (X)0,Y0) Determining the relative position coordinates (X) of the erroneous contact point when the contact point is unchanged within a second predetermined time1,Y1) Wherein X is1=X0,Y1=Y0;
S300B: when X in the second relative position coordinate is acquired2And X2≠X1According to X in the relative position coordinates of the determined contact error1And X in said second relative position coordinate2Determining X in a third relative position coordinate3The calculation formula is as follows:
S400B: when Y in the second relative position coordinate is acquired2And Y is2≠Y1According to the Y in the relative position coordinates of the determined false contact1And Y in said second relative position coordinate2Determining Y in the third relative position coordinate3The calculation formula is as follows:
preferably, the S300B further includes:
when X in the second relative position coordinate is acquired2And X2≠X1And acquiring Y in the second relative position coordinate2And Y is2=Y1When, Y3=Y1。
Preferably, the S300B further includes: when Y in the second relative position coordinate is acquired2And Y is2≠Y1And acquiring X in the second relative position coordinate2And X2=X1When, X3=X1。
Preferably, the first predetermined time is 10 ms.
Preferably, the second predetermined time is 30 ms.
As shown in fig. 7, the present embodiment further provides a false touch correction device 100B, including:
an acquisition module 10B configured to: obtains the voltage V in the first X-axis directionX0And a first Y-axis direction voltage VY0Wherein the first X-axis direction voltage VX0And the first Y-axis direction voltage VY0Are not equal to 0, according to the voltage V of the first X-axis directionX0And the first Y-axis direction voltage VY0Determining a first relative position coordinate (X)0,Y0) The calculation formula is as follows:
X0=VX0/VX,
Y0=VY0/VY。
an error determination module 20B configured to: when the first relative position coordinate (X)0,Y0) Determining the relative position coordinates (X) of the erroneous contact point when the contact point is unchanged within a second predetermined time1,Y1) Wherein X is1=X0,Y1=Y0。
A first correction module 30B configured to: when X in the second relative position coordinate is acquired2And X2≠X1According to X in the relative position coordinates of the determined contact error1And X in said second relative position coordinate2Determining X in a third relative position coordinate3The calculation formula is as follows:
a second correction module 40B configured to: when Y in the second relative position coordinate is acquired2And Y is2≠Y1According to the Y in the relative position coordinates of the determined false contact1And Y in said second relative position coordinate2Determining Y in the third relative position coordinate3The calculation formula is as follows:
the present embodiment also provides a computer-readable medium on which a computer program is stored, which when executed by a processor implements the false touch correction method of embodiment 2.
The present embodiment also provides an electronic device, including:
one or more processors;
a storage device for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the false touch correction method of embodiment 2.
When a voltage V in the X-axis direction is applied to the first resistance layerXMeasuring the voltage of the second impedance layer as VX0;
When a voltage V in the X-axis direction is applied to the second resistance layerYMeasuring the voltage of the second impedance layer as VY0;
The electronic device integrated module/unit, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the application program multi-open method described in the above embodiments may be implemented by referring to related hardware through a computer program, where the computer program may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the false touch correction described in the above method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
Throughout the description and claims of this application, the words "comprise/comprises" and the words "have/includes" and variations of these are used to specify the presence of stated features, values, steps or components but do not preclude the presence or addition of one or more other features, values, steps, components or groups thereof.
Some features of the invention, which are, for clarity, described in the context of separate embodiments, may also be provided in combination in a single embodiment. Conversely, certain features of the invention, which are, for brevity, described in the context of a single embodiment, may also be provided separately or in any suitable combination in different embodiments.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.
Claims (10)
1. A false touch correction method is applied to a resistive touch screen, wherein the resistive touch screen comprises a first impedance layer and a second impedance layer, and voltage V is applied to the first impedance layer along the X-axis directionXAnd measuring a voltage of the second resistance layer to obtain a voltage in an X-axis direction by applying a voltage V in a Y-axis direction to the second resistance layerYAnd measuring a voltage of the first resistance layer to obtain a voltage in a Y-axis direction, characterized in that the voltage in the X-axis direction and the voltage in the Y-axis direction are obtained every first predetermined time, the method comprising the steps of:
S100A: acquiring and storing a first X-axis direction voltage VX0And a first Y-axis direction voltage VY0Wherein the first X axisDirection voltage VX0And a first Y-axis direction voltage VY0Are not equal to 0;
S200A: when the first X-axis direction voltage V is obtainedX0And the first Y-axis direction voltage VY0The voltage in the X-axis direction of the contact error is determined to be V when the voltage is not changed in the second preset timeX1And the Y-axis direction voltage of the erroneous contact is VY1Wherein V isX1=VX0,VY1=VY0;
S300A: when the voltage V in the second X-axis direction is obtainedX2And V isX2≠VX1According to the voltage V of the error contact point in the X-axis directionX1And the second X-axis direction voltage VX2Determining a third X-axis direction voltage V of the actual touch pointX3The calculation formula is as follows:
S400A: when the voltage V in the second Y-axis direction is obtainedY2And V isY2≠VY1According to the voltage V of the error contact point in the Y-axis directionY1And the second Y-axis direction voltage VY2Determining a third Y-axis direction voltage V of the actual touch pointY3The calculation formula is as follows:
S500A: according to the determined voltage V in the third X-axis directionX3And the third Y-axis direction voltage VY3Determining a third relative position coordinate (X) corresponding thereto3,Y3) The calculation formula is as follows:
X3=VX3/VX,
Y3=VY3/VY。
2. the false touch correction method according to claim 1, wherein the S300A further includes:
when the voltage V in the second X-axis direction is obtainedX2And V isX2≠VX1And acquiring a second Y-axis direction voltage VY2And V isY2=VY1When, VY3=VY1。
3. The false touch correction method according to claim 1, wherein the S400A further includes:
when the voltage V in the second Y-axis direction is obtainedY2And V isY2≠VY1And acquiring a second X-axis direction voltage VX2And V isX2=VX1When, VX3=VX1。
4. A false touch correction method is applied to a resistive touch screen, wherein the resistive touch screen comprises a first impedance layer and a second impedance layer, and voltage V is applied to the first impedance layer along the X-axis directionXAnd measuring a voltage of the second resistance layer to obtain a voltage in an X-axis direction by applying a voltage V in a Y-axis direction to the second resistance layerYAnd measuring a voltage of the first resistance layer to obtain a voltage in a Y-axis direction, characterized in that the voltage in the X-axis direction and the voltage in the Y-axis direction are obtained every first predetermined time, the method comprising the steps of:
S100B: obtains the voltage V in the first X-axis directionX0And a first Y-axis direction voltage VY0Wherein the first X-axis direction voltage VX0And the first Y-axis direction voltage VY0Are not equal to 0, according to the first X-axis directionPressure VX0And the first Y-axis direction voltage VY0Determining a first relative position coordinate (X)0,Y0) The calculation formula is as follows:
X0=VX0/VX,
Y0=VY0/VY;
S200B: when the first relative position coordinate (X)0,Y0) Determining the relative position coordinates (X) of the erroneous contact point when the contact point is unchanged within a second predetermined time1,Y1) Wherein X is1=X0,Y1=Y0;
S300B: when X in the second relative position coordinate is acquired2And X2≠X1According to X in the relative position coordinates of the determined contact error1And X in said second relative position coordinate2Determining X in a third relative position coordinate3The calculation formula is as follows:
S400B: when Y in the second relative position coordinate is acquired2And Y is2≠Y1According to the Y in the relative position coordinates of the determined false contact1And Y in said second relative position coordinate2Determining Y in the third relative position coordinate3The calculation formula is as follows:
5. the false touch correction method according to claim 4, wherein the S300B further includes:
when X in the second relative position coordinate is acquired2And X2≠X1And acquiring Y in the second relative position coordinate2And Y is2=Y1When, Y3=Y1。
6. The false touch correction method according to claim 4, wherein the S300B further includes: when Y in the second relative position coordinate is acquired2And Y is2≠Y1And acquiring X in the second relative position coordinate2And X2=X1When, X3=X1。
7. A false touch correction device, comprising:
an acquisition module configured to: acquiring and storing a first X-axis direction voltage VX0And a first Y-axis direction voltage VY0Wherein the first X-axis direction voltage VX0And a first Y-axis direction voltage VY0Are not equal to 0;
an error determination module configured to: when the first X-axis direction voltage V is obtainedX0And the first Y-axis direction voltage VY0The voltage in the X-axis direction of the contact error is determined to be V when the voltage is not changed in the second preset timeX1And the Y-axis direction voltage of the erroneous contact is VY1Wherein V isX1=VX0,VY1=VY0;
A first correction module configured to: when the voltage V in the second X-axis direction is obtainedX2And V isX2≠VX1According to the voltage V of the error contact point in the X-axis directionX1And the second X-axis direction voltage VX2Determining a third X-axis direction voltage V of the actual touch pointX3The calculation formula is as follows:
A second correction module configured to: when the voltage V in the second Y-axis direction is obtainedY2And V isY2≠VY1According to the voltage V of the error contact point in the Y-axis directionY1And the second Y-axis direction voltage VY2Determining a third Y-axis direction voltage V of the actual touch pointY3The calculation formula is as follows:
A coordinate determination module configured to: according to the determined voltage V in the third X-axis directionX3And the third Y-axis direction voltage VY3Determining a third relative position coordinate (X) corresponding thereto3,Y3) The calculation formula is as follows:
X3=VX3/VX,
Y3=VY3/VY。
8. a false touch correction device, comprising:
an acquisition module configured to: obtains the voltage V in the first X-axis directionX0And a first Y-axis direction voltage VY0Wherein the first X-axis direction voltage VX0And the first Y-axis direction voltage VY0Are all not equal to0, according to the first X-axis direction voltage VX0And the first Y-axis direction voltage VY0Determining a first relative position coordinate (X)0,Y0) The calculation formula is as follows:
X0=VX0/VX,
Y0=VY0/VY;
an error determination module configured to: when the first relative position coordinate (X)0,Y0) Determining the relative position coordinates (X) of the erroneous contact point when the contact point is unchanged within a second predetermined time1,Y1) Wherein X is1=X0,Y1=Y0;
A first correction module configured to: when X in the second relative position coordinate is acquired2And X2≠X1According to X in the relative position coordinates of the determined contact error1And X in said second relative position coordinate2Determining X in a third relative position coordinate3The calculation formula is as follows:
a second correction module configured to: when Y in the second relative position coordinate is acquired2And Y is2≠Y1According to the Y in the relative position coordinates of the determined false contact1And Y in said second relative position coordinate2Determining Y in the third relative position coordinate3The calculation formula is as follows:
9. a computer-readable medium, on which a computer program is stored, which program, when being processed and executed, is adapted to carry out a false touch correction method according to any one of claims 1-6.
10. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the false touch correction method of any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011120511.9A CN112214132B (en) | 2020-10-19 | 2020-10-19 | False touch correction method and device, computer readable medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011120511.9A CN112214132B (en) | 2020-10-19 | 2020-10-19 | False touch correction method and device, computer readable medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112214132A CN112214132A (en) | 2021-01-12 |
CN112214132B true CN112214132B (en) | 2021-04-30 |
Family
ID=74055926
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011120511.9A Active CN112214132B (en) | 2020-10-19 | 2020-10-19 | False touch correction method and device, computer readable medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112214132B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116243815B (en) * | 2023-05-10 | 2023-08-08 | 惠科股份有限公司 | Touch panel, display module, display device and touch detection method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101918910A (en) * | 2008-01-15 | 2010-12-15 | 爱迪半导体株式会社 | resistive touch screen |
CN103914162A (en) * | 2012-12-28 | 2014-07-09 | 联想(北京)有限公司 | Electronic device and mistaken touch determination method and device of touch screen |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102520835B (en) * | 2011-12-02 | 2014-10-22 | 展讯通信(上海)有限公司 | Touch detection method and device thereof |
CN102591546A (en) * | 2012-02-02 | 2012-07-18 | 袁海滨 | Method for recognizing multi-touch gesture on four-wire resistive touch screen of electronic equipment |
US8952925B2 (en) * | 2012-03-22 | 2015-02-10 | Synaptics Incorporated | System and method for determining resistance in an input device |
CN104615326B (en) * | 2015-02-15 | 2017-05-10 | 建荣集成电路科技(珠海)有限公司 | Method and device for detecting resistance type touch screen |
CN106681560B (en) * | 2017-01-03 | 2019-12-06 | 京东方科技集团股份有限公司 | Touch screen and driving method thereof |
JP6876153B2 (en) * | 2018-01-19 | 2021-05-26 | ローム株式会社 | Resistive touch panel control circuit, touch input device |
-
2020
- 2020-10-19 CN CN202011120511.9A patent/CN112214132B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101918910A (en) * | 2008-01-15 | 2010-12-15 | 爱迪半导体株式会社 | resistive touch screen |
CN103914162A (en) * | 2012-12-28 | 2014-07-09 | 联想(北京)有限公司 | Electronic device and mistaken touch determination method and device of touch screen |
Also Published As
Publication number | Publication date |
---|---|
CN112214132A (en) | 2021-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10706254B2 (en) | Method and apparatus for calibrating fingerprint image, and terminal | |
CN111307429B (en) | Method and device for detecting looseness of stylus head of manipulator | |
CN102667681B (en) | Touch panel device and touch input point spacing distance detection method of touch panel | |
CN102622147B (en) | Position information correction device, touch sensor and position information correction method | |
US8487906B2 (en) | Method for detecting a touched position on a touch device | |
US11265414B2 (en) | Method and device for waking up voice recognition function in mobile terminal, and computer readable storage medium | |
US11079873B2 (en) | Touch panel device | |
CN112214132B (en) | False touch correction method and device, computer readable medium and electronic equipment | |
US11016618B2 (en) | Sensor device for detecting pen signal transmitted from pen | |
CN113138696B (en) | Identification method and device for specification of touch object contact and storage medium | |
CN109952019A (en) | Whether printed circuit board checking device, perception soldering paste abnormal method and computer can interpretation recording mediums | |
JP7375094B2 (en) | sensor panel | |
CN108759892A (en) | Sensor calibrating method, electronic device and computer readable storage medium | |
CN107290101B (en) | Pressure measuring method and pressure measuring device | |
CN107479765A (en) | Coordinate calibration method and equipment based on Trackpad | |
CN107329586A (en) | A kind of data inputting method, mobile terminal and computer-readable recording medium | |
CN109934211A (en) | Fingerprint calibration method and related device | |
JP2020077411A (en) | Electronic whiteboard system and operation control method | |
US20200183632A1 (en) | Method, device, and system for obtaining sensor data, and computer readable storage medium | |
JP7351842B2 (en) | Coordinate detection method | |
US10955308B2 (en) | Pressure measuring method and pressure measuring apparatus | |
JP2002267406A (en) | Angle detecting device and coordinate reading device | |
CN109948491A (en) | Fingerprint calibration judgment method and related device | |
US20240411404A1 (en) | Test method for combination of touch sensitive processing apparatus and touch panel, touch sensitive processing method, apparatus, computer readable medium, and touch system thereof | |
EP2811381A1 (en) | Touch detection method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |