CN114690955A - Touch screen calibration method and device, electronic equipment and storage medium - Google Patents

Touch screen calibration method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114690955A
CN114690955A CN202210234042.6A CN202210234042A CN114690955A CN 114690955 A CN114690955 A CN 114690955A CN 202210234042 A CN202210234042 A CN 202210234042A CN 114690955 A CN114690955 A CN 114690955A
Authority
CN
China
Prior art keywords
capacitance
touch
node
value
touch area
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
Application number
CN202210234042.6A
Other languages
Chinese (zh)
Inventor
邱泽钿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202210234042.6A priority Critical patent/CN114690955A/en
Publication of CN114690955A publication Critical patent/CN114690955A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means

Abstract

The disclosure relates to a touch screen calibration method, a touch screen calibration device, an electronic device and a storage medium. The touch screen calibration method comprises the following steps: when the touch screen is in a touch state, determining a touch area on the touch screen; determining a capacitance detection value of each first capacitance node in the touch area and a capacitance reference value of each first capacitance node; and determining whether to calibrate the capacitance reference value of each first capacitance node in the touch area according to the capacitance detection value of each first capacitance node and the capacitance reference value of each first capacitance node. The touch screen calibration method and the touch screen calibration device can calibrate the capacitance reference value of the touch screen in real time under the condition that the touch screen is touched, can avoid ghost point behaviors generated by mistakenly updating the capacitance change of an abnormal contact area to the capacitance reference value due to interference factors, reduce ghost point probability, and therefore do not need to carry out forced calibration operation on the touch screen, and improve user experience.

Description

Touch screen calibration method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of touch screens of electronic devices, and in particular, to a touch screen calibration method and apparatus, an electronic device, and a storage medium.
Background
With the continuous development of computer technology, most electronic devices have a screen capable of performing touch operation. Touch is one of the most widely used human-computer interaction methods, and is classified into resistive type, capacitive type and electromagnetic type. The capacitive touch screen has a wide application prospect. When a user performs touch operation, a finger approaches the capacitive touch screen, capacitance change of a capacitance node on the capacitive touch screen is caused, and a specific touch range is determined by detecting capacitance change of the capacitance node. For the detection of the capacitance variation, a stable capacitance reference value is needed, and in most cases, the capacitance reference value is an initial capacitance reference value established in the power-on process. In addition, the capacitance reference value is maintained to ensure the normal touch operation of the user.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a touch screen calibration method, apparatus, electronic device, and storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a touch screen calibration method, including:
determining a capacitance detection value of each first capacitance node in the touch area and a capacitance reference value of each first capacitance node;
and determining whether to calibrate the capacitance reference value of each first capacitance node in the touch area according to the capacitance detection value of each first capacitance node and the capacitance reference value of each first capacitance node.
Optionally, in some embodiments of the present disclosure, the determining, according to the capacitance detection value of each first capacitance node and the capacitance reference value of each first capacitance node, whether to calibrate the capacitance reference value of each first capacitance node in the touch area includes: determining whether the touch area meets an updating condition according to the capacitance detection value of each first capacitance node and the capacitance reference value of each first capacitance node; in response to the touch area satisfying the update condition, calibrating a capacitance reference value of each of the first capacitance nodes based on a capacitance detection value of each of the first capacitance nodes.
Optionally, in some embodiments of the present disclosure, the determining whether the touch area satisfies an update condition according to the capacitance detection value of each first capacitance node and the capacitance reference value of each first capacitance node includes: acquiring a first flat value of the touch area according to the capacitance detection value of each first capacitance node; acquiring a second flat value of the touch area according to the capacitance reference value of each first capacitance node; determining that the touch area meets an update condition in response to the first and second flatness values meeting a preset condition.
Optionally, in some embodiments of the present disclosure, the first and second flat values satisfy a preset condition, including: the sum of the first flat value and a target threshold is less than the second flat value.
Optionally, in some embodiments of the present disclosure, the obtaining a first flat value of the touch area according to the capacitance detection value of each first capacitance node includes: carrying out capacitance detection value differential calculation on each first capacitance node according to rows to obtain a first differential matrix; carrying out differential calculation on each element in the first differential matrix according to columns to obtain a second differential matrix; and summing the element values in the second difference matrix to obtain a first flat value of the touch area.
Optionally, in some embodiments of the present disclosure, the obtaining a second flat value of the touch area according to the capacitance reference value of each first capacitance node includes: performing capacitance reference value difference calculation on each first capacitance node according to rows to obtain a third difference matrix; carrying out differential calculation on each element value in the third differential matrix according to columns to obtain a fourth differential matrix; and summing the element values in the fourth difference matrix to obtain a second flat value of the touch area.
Optionally, in some embodiments of the present disclosure, the method further comprises: and responding to the condition that the touch area does not meet the updating condition, performing coordinate calculation on the touch area, obtaining the coordinate of the touch area, and executing corresponding touch operation according to the coordinate.
Optionally, in some embodiments of the present disclosure, before the step of determining a touch area on the touch screen when the touch screen is in a touch state, the method further includes: determining the capacitance signal variation of each capacitance node on the touch screen, and determining the maximum value of the capacitance signal variations; in response to the maximum value being greater than or equal to a touch threshold, determining that the touch screen is in a touch state.
Optionally, in some embodiments of the present disclosure, the method further comprises: and responding to the fact that the maximum value is smaller than the touch threshold value, determining that the touch screen is in a no-touch state, and calibrating the capacitance reference value of each capacitance node on the touch screen based on the capacitance detection value of each capacitance node on the touch screen.
Optionally, in some embodiments of the present disclosure, the method further comprises: determining a non-touch area on the touch screen, and determining a capacitance detection value of each second capacitance node in the non-touch area; and calibrating a capacitance reference value of each second capacitance node based on the capacitance detection value of each second capacitance node.
According to a second aspect of the embodiments of the present disclosure, there is provided a touch screen calibration apparatus including:
the first determining module is used for determining a touch area on the touch screen when the touch screen is in a touch state;
the second determining module is used for determining a capacitance detection value of each first capacitance node in the touch area and a capacitance reference value of each first capacitance node;
and a third determining module, configured to determine whether to calibrate the capacitance reference value of each first capacitance node in the touch area according to the capacitance detection value of each first capacitance node and the capacitance reference value of each first capacitance node.
Optionally, in some embodiments of the present disclosure, the third determining module is specifically configured to: determining whether the touch area meets an updating condition according to the capacitance detection value of each first capacitance node and the capacitance reference value of each first capacitance node; in response to the touch area satisfying the update condition, calibrating a capacitance reference value of each of the first capacitance nodes based on a capacitance detection value of each of the first capacitance nodes.
Optionally, in some embodiments of the present disclosure, the third determining module is further configured to: acquiring a first flat value of the touch area according to the capacitance detection value of each first capacitance node; acquiring a second flat value of the touch area according to the capacitance reference value of each first capacitance node; determining that the touch area meets an update condition in response to the first and second flatness values meeting a preset condition.
Optionally, in some embodiments of the present disclosure, the first and second flat values satisfy a preset condition, including: the sum of the first flat value and a target threshold is less than the second flat value.
Optionally, in some embodiments of the present disclosure, the obtaining a first flat value of the touch area according to the capacitance detection value of each first capacitance node includes: carrying out capacitance detection value differential calculation on each first capacitance node according to rows to obtain a first differential matrix; carrying out differential calculation on each element in the first differential matrix according to columns to obtain a second differential matrix; and summing the element values in the second difference matrix to obtain a first flat value of the touch area.
Optionally, in some embodiments of the present disclosure, the obtaining a second flat value of the touch area according to the capacitance reference value of each first capacitance node includes: performing capacitance reference value difference calculation on each first capacitance node according to rows to obtain a third difference matrix; carrying out differential calculation on each element value in the third differential matrix according to columns to obtain a fourth differential matrix; and summing the element values in the fourth difference matrix to obtain a second flat value of the touch area.
Optionally, in some embodiments of the present disclosure, the apparatus further includes: and the touch control module is used for responding to the situation that the touch area does not meet the updating condition, performing coordinate calculation on the touch area, obtaining the coordinate of the touch area and executing corresponding touch operation according to the coordinate.
Optionally, in some embodiments of the present disclosure, the first determining module is further configured to: determining the capacitance signal variation of each capacitance node on the touch screen, and determining the maximum value of the capacitance signal variation; in response to the maximum value being greater than or equal to a touch threshold, determining that the touch screen is in a touch state.
Optionally, in some embodiments of the present disclosure, the apparatus further includes: the first calibration module is used for determining a non-touch area on the touch screen and determining capacitance detection values of all second capacitance nodes in the non-touch area; and calibrating a capacitance reference value of each second capacitance node based on the capacitance detection value of each second capacitance node.
Optionally, in some embodiments of the present disclosure, the apparatus further includes: and the second calibration module is used for responding to the fact that the maximum value is smaller than the touch threshold value, determining that the touch screen is in a non-touch state, and calibrating the capacitance reference value of each capacitance node on the touch screen based on the capacitance detection value of each capacitance node on the touch screen.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a touch screen;
a processor;
a memory for storing processor-executable instructions; wherein the instructions are executable by the processor to enable the processor to perform the touch screen calibration method of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the touch screen calibration method of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: when the touch screen is in a touch state, determining whether the capacitance reference value of each first capacitance node in the touch area needs to be calibrated or not for the touch area according to the capacitance detection value of each first capacitance node in the touch area and the capacitance reference value of each first capacitance node, namely calibrating the touch area with the abnormal capacitance reference value. The touch screen calibration method and the touch screen calibration device can perform local real-time calibration on the capacitance reference value of the touch screen under the condition that the touch screen is touched, can avoid ghost point behaviors generated by mistakenly updating abnormal capacitance change of a contact area to the capacitance reference value due to interference factors (such as contact of water, electricity or a metal conductor with the touch screen and the like), and reduce ghost point probability, so that forced calibration operation on the touch screen is not needed, and user experience is improved.
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
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow chart illustrating a method of touch screen calibration according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating a method of touch screen calibration according to an exemplary embodiment.
FIG. 3 is a flow chart illustrating a method of touch screen calibration according to an exemplary embodiment.
FIG. 4 is a flowchart illustrating a touch screen calibration method according to an example embodiment.
FIG. 5 is a flowchart illustrating a method of touch screen calibration according to an exemplary embodiment.
Fig. 6 is a schematic structural diagram illustrating a touch screen calibration apparatus according to an exemplary embodiment.
Fig. 7 is a schematic structural diagram illustrating a touch screen calibration apparatus according to an exemplary embodiment.
Fig. 8 is a schematic structural diagram illustrating a touch screen calibration apparatus according to an exemplary embodiment.
FIG. 9 is a block diagram of an electronic device shown in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
In the use process of the capacitive touch screen, except for normal touch operation, factors such as water, power grid interference, metal conductor contact and the like can cause certain capacitance change. If the capacitance change caused by the interference factor is updated to the capacitance reference value by mistake, the problem of persistent ghost points is easily caused when the interference factor is removed, and the user experience is seriously influenced because one-time screen forced calibration operation is required.
Based on the above problems, the present disclosure provides a touch screen calibration method, device, electronic device, and storage medium, which can calibrate a capacitance reference value of a touch screen in real time under the condition that the touch screen is touched, so as to reduce ghost point probability, avoid performing forced calibration operation on the touch screen, and improve user experience.
Fig. 1 is a flowchart illustrating a touch screen calibration method according to an exemplary embodiment, where the touch screen is a capacitive touch screen, and the touch screen calibration method includes the following steps, as shown in fig. 1.
In step 101, a touch area on a touch screen is determined while the touch screen is in a touch state.
It should be understood that the touch screen has been widely used in electronic devices, and the touch screen generally uses multilayer ITO (indium tin oxide) or single-layer ITO bridging to form the intersection points in the X and Y directions, and these intersection points constitute the capacitance nodes of the capacitance matrix. In the embodiment of the disclosure, when a finger touches the touch screen, whether the touch screen is in a touch state can be determined by detecting the capacitance signal variation of each capacitance node on the touch screen.
As an example, the capacitance signal variation of each capacitive node on the touch screen can be determined, and whether the touch screen is in a touch state can be determined. In one implementation, a touch threshold may be preset, and the maximum value of the variation of each capacitance signal on the touch screen may be determined. If the maximum value is larger than or equal to the touch threshold value, determining that the touch screen is in a touch state; if the maximum value is less than the touch threshold, the touch screen is determined to be in a no-touch state.
In the embodiment of the disclosure, when the touch screen is in a touch state, a touch area on the touch screen can be determined through the capacitance signal variation.
In step 102, a capacitance detection value of each first capacitance node in the touch area and a capacitance reference value of each first capacitance node are determined.
The capacitance detection value can be understood as raw capacitance data of the capacitance node detected by the sensor. The capacitance reference value is a reference value which is compared with a capacitance value (namely, a capacitance detection value) generated by user touch when the touch screen works, and the capacitance value change caused by the user touch is generated according to the capacitance reference value.
In step 103, it is determined whether to calibrate the capacitance reference value of each first capacitance node in the touch area according to the capacitance detection value of each first capacitance node and the capacitance reference value of each first capacitance node.
As an example, whether the touch area satisfies the update condition, that is, whether the capacitance reference value of each first capacitance node in the current touch area is abnormal may be determined according to the capacitance detection value of each first capacitance node in the touch area and the capacitance reference value of each first capacitance node. It can be understood that when the touch area meets the update condition, it indicates that the capacitance reference value of each first capacitance node in the current touch area is abnormal; and when the touch area does not meet the updating condition, indicating that the capacitance reference value of each first capacitance node in the current touch area is normal. And if the touch area meets the updating condition, calibrating the capacitance reference value of each first capacitance node based on the capacitance detection value of each first capacitance node. It should be noted that, in the process of calibrating the capacitance reference value according to the capacitance detection value, the capacitance detection value of the same capacitance node is used to calibrate the capacitance reference value of the same capacitance node.
Optionally, in an embodiment of the present disclosure, if the touch area does not satisfy the update condition, the capacitance reference value of each first capacitance node does not need to be calibrated, the local reference update process of the touch area is exited, the coordinate calculation is performed on the touch area, the coordinate of the touch area is obtained, and the corresponding touch operation is executed according to the coordinate.
According to the touch screen calibration method provided by the embodiment of the disclosure, when the touch screen is in a touch state, for a touch area, according to a capacitance detection value of each first capacitance node in the touch area and a capacitance reference value of each first capacitance node, it is determined whether the capacitance reference value of each first capacitance node in the touch area needs to be calibrated, that is, the calibration is performed on the touch area with an abnormal capacitance reference value. The method can be used for carrying out local real-time calibration on the capacitance reference value of the touch screen under the condition that the touch screen is touched, and can be used for judging whether the capacitance reference value is needed to be calibrated or not in a local touch area, so that real-time judgment and calibration operation of ghost point behaviors are realized, ghost point behaviors caused by mistakenly updating abnormal capacitance changes of a contact area to the capacitance reference value due to interference factors (such as water, electricity or contact of a metal conductor and the touch screen) can be avoided, ghost point probability is reduced, forced calibration operation on the touch screen is not needed, and user experience is improved.
In an embodiment of the present disclosure, whether the touch area satisfies the update condition may be determined based on the capacitance detection value of each first capacitance node in the touch area and the capacitance reference value of each first capacitance node, so as to determine whether to calibrate the capacitance reference value of each first capacitance node in the touch area. As an example, whether the touch area satisfies the update condition may be determined by calculating a flat value based on the capacitance detection value of each first capacitance node in the touch area and the capacitance reference value of each first capacitance node. The flat value characterizes the consistency of capacitance variation of adjacent capacitance nodes in a local area. Optionally, fig. 2 is a flowchart illustrating a touch screen calibration method according to an exemplary embodiment, and as shown in fig. 2, the touch screen calibration method includes the following steps.
In step 201, a touch area on the touch screen is determined while the touch screen is in a touch state.
In step 202, a capacitance detection value of each first capacitance node in the touch area and a capacitance reference value of each first capacitance node are determined.
In step 203, a first flat value of the touch area is obtained according to the capacitance detection value of each first capacitance node.
Note that the first flat value indicates the flatness of the capacitance detection value of each first capacitance node in the touch region. Optionally, in some embodiments of the present disclosure, the capacitance detection value difference calculation may be performed on each first capacitance node by rows to obtain a first difference matrix; if the first capacitance detection value in the first row is subtracted by the first capacitance detection value in the second row to obtain a first value of the first difference matrix, the second capacitance detection value in the first row is subtracted by the second capacitance detection value in the second row to obtain a second value of the first difference matrix, and so on, the first difference matrix is obtained. It should be noted that, if some values are calculated to be negative values in the differential calculation process, the corresponding absolute values are taken; carrying out differential calculation on each element in the first differential matrix according to columns to obtain a second differential matrix; for example, the first capacitance detection value of the first column is subtracted from the first capacitance detection value of the second column to obtain a first value of the second difference matrix, the second capacitance detection value of the second column is subtracted from the second capacitance detection value of the first column to obtain a second value of the second difference matrix, and so on to obtain the second difference matrix. It should be noted that, if some values are calculated to be negative values in the differential calculation process, the corresponding absolute values are taken; and summing the element values in the second difference matrix to obtain a first flat value of the touch area.
As an example, the following tables 1, 2, 3 and 4 are diagrams for acquiring the first flat value of the touch area. Table 1 is a capacitance detection value of each first capacitance node in a touch area of the touch screen, and capacitance detection value differential calculation is performed on each first capacitance node by rows to obtain table 2: a first difference matrix. For example, the first row in table 1 is subtracted from the second row in table 1 to obtain the first row in table 2. The following table 2: the elements in the first difference matrix are subjected to difference calculation by columns to obtain table 3: a second difference matrix. For example, the first column in table 2 is subtracted from the second column in table 2 to obtain the first column in table 3. The following table 3: the element values in the second difference matrix are summed to obtain table 4: a first flat value of the touch area.
Table 1: capacitance detection value
6812 6740 6695 6587 6786 6984
6779 6298 5908 5853 6145 6922
6633 5762 5785 5827 6113 6916
6688 5963 5820 6142 6717 6974
6825 6704 6721 6870 6958 7055
Table 2: a first difference matrix
33 442 787 734 641 62
146 536 123 26 32 6
55 201 35 315 604 58
137 741 901 728 241 81
Table 3: second difference matrix
409 345 53 93 579
390 413 97 6 26
146 166 280 289 546
604 160 173 487 160
Table 4: first flat value
5422
In step 204, a second flat value of the touch area is obtained according to the capacitance reference value of each first capacitance node.
The second flat value indicates the flatness of the capacitance reference value of each first capacitance node in the touch area. Optionally, in some embodiments of the present disclosure, capacitance reference value difference calculation may be performed on each first capacitance node by row to obtain a third difference matrix; carrying out differential calculation on each element in the third differential matrix according to columns to obtain a fourth differential matrix; and summing the element values in the fourth difference matrix to obtain a second flat value of the touch area.
As an example, the following tables 5, 6, 7, and 8 are diagrams for acquiring the second flat value of the touch area. Table 5 is a capacitance reference value of each first capacitance node in the touch area of the touch screen, and capacitance reference value difference calculation is performed on each first capacitance node by row to obtain table 6: and a third difference matrix. For example, the first row in table 5 is subtracted from the second row in table 5 to obtain the first row in table 6. The following table 6: the elements in the third difference matrix are subjected to difference calculation by columns to obtain table 7: and a fourth differential matrix. For example, the first column in table 6 is subtracted from the second column in table 6 to obtain the first column in table 7. The following table 7: the values of the elements in the fourth difference matrix are summed to obtain table 8: a second flat value of the touch area.
Table 5: reference value of capacitance
6811 6785 6878 6930 6961 7036
6833 6806 6886 6952 6984 7058
6804 6773 6866 6920 6962 7029
6790 6757 6860 6913 6939 7005
6838 6805 6905 6971 6989 7059
Table 6: third difference matrix
Figure BDA0003541100400000081
Figure BDA0003541100400000091
Table 7: fourth difference matrix
1 13 14 1 1
4 13 12 10 7
2 10 1 16 1
0 3 13 8 4
Table 8: second flat value
134
In step 205, in response to the first and second flat values satisfying the preset condition, it is determined whether the touch area satisfies the update condition.
Alternatively, in an embodiment of the present disclosure, the first and second flat values satisfying the preset condition may be that a sum of the first flat value and the target threshold value is smaller than the second flat value. The target threshold value is an empirical value obtained by a large number of experiments.
In step 206, in response to the touch area satisfying the update condition, a capacitance reference value of each first capacitance node is calibrated based on the capacitance detection value of each first capacitance node.
In the embodiment of the disclosure, the capacitance detection value of each first capacitance node in the touch area may be used as a new capacitance reference value of each first capacitance node, so as to complete calibration of the capacitance reference value of each first capacitance node in the touch area.
It should be noted that, in the embodiment of the present disclosure, step 201, step 202, and step 206 may be implemented by using any one of the embodiments of the present disclosure, and the present disclosure does not limit this and is not described again.
According to the touch screen calibration method provided by the embodiment of the disclosure, when the touch screen is in a touch state, for a touch area, according to a capacitance detection value of each first capacitance node in the touch area and a capacitance reference value of each first capacitance node, a first flat value and a second flat value of the touch area are obtained. And determining whether the capacitance reference value of each first capacitance node in the touch area needs to be calibrated or not according to the first flat value and the second flat value of the touch area, namely calibrating the touch area with abnormal capacitance reference value. The utility model discloses can be under the touch-sensitive condition of touch-sensitive screen, carry out local real-time calibration to the capacitance reference value of touch-sensitive screen, and judge whether local touch area needs the capacitance reference value to calibrate according to the first flat value and the second flat value in touch area, with the real-time judgement and the calibration operation of realization ghost point action, can avoid causing the unusual capacitance change mistake of contact area to update the ghost point action that the capacitance reference value produced to interference factor (such as water, electricity or metallic conductor and touch-sensitive screen contact etc.) in, reduce ghost point probability, and the degree of accuracy of calibration has been increased, need not to carry out compulsory calibration operation to the touch-sensitive screen, user experience has been promoted.
In the embodiment of the disclosure, whether the touch area meets the update condition is judged based on the capacitance detection value of each first capacitance node in the touch area and the capacitance reference value of each first capacitance node, and for the touch area which does not meet the update condition, the touch area is regarded as a normal touch operation, and a corresponding touch operation is executed according to the coordinates of the touch area. Optionally, fig. 3 is a flowchart illustrating a touch screen calibration method according to an exemplary embodiment, and as shown in fig. 3, the touch screen calibration method includes the following steps.
In step 301, a touch area on the touch screen is determined while the touch screen is in a touch state.
In step 302, a capacitance detection value of each first capacitance node in the touch area and a capacitance reference value of each first capacitance node are determined.
In step 303, the capacitance detection value difference calculation is performed on each first capacitance node by row to obtain a first difference matrix.
In step 304, the elements in the first difference matrix are subjected to difference calculation by columns to obtain a second difference matrix.
In step 305, the values of the elements in the second difference matrix are summed to obtain a first flat value of the touch area.
In step 306, capacitance reference value difference calculation is performed on each first capacitance node by row, and a third difference matrix is obtained.
In step 307, the difference calculation is performed on each element in the third difference matrix by column to obtain a fourth difference matrix.
In step 308, the values of the elements in the fourth difference matrix are summed to obtain a second flat value of the touch area.
In step 309, in response to that the first and second flat values satisfy the preset condition, it is determined whether the touch area satisfies the update condition. When the touch area meets the update condition, executing step 310; when the touch area does not satisfy the update condition, step 311 is performed.
In step 310, a capacitance reference value of each first capacitance node is calibrated based on the capacitance detection value of each first capacitance node.
In step 311, the coordinates of the touch area are calculated to obtain the coordinates of the touch area, and corresponding touch operations are performed according to the coordinates.
That is to say, when the touch area does not satisfy the update condition, that is, the capacitance reference value of each first capacitance node in the current touch area is considered to be normal, the current touch behavior is normal touch operation, and the capacitance reference value of each first capacitance node does not need to be calibrated.
It should be noted that, in the embodiment of the present disclosure, steps 301 to 308 may be implemented by any one of the embodiments of the present disclosure, and the present disclosure does not limit this and is not repeated herein.
According to the touch screen calibration method provided by the embodiment of the disclosure, when the touch screen is in a touch state, for a touch area, according to a capacitance detection value of each first capacitance node in the touch area and a capacitance reference value of each first capacitance node, a first flat value and a second flat value of the touch area are obtained. And determining whether the capacitance reference value of each first capacitance node in the touch area needs to be calibrated or not according to the first flat value and the second flat value of the touch area, namely calibrating the touch area with an abnormal capacitance reference value, acquiring the coordinates of the touch area for the touch area with a normal capacitance reference value, and executing corresponding touch operation according to the coordinates. The touch screen can judge whether the local touch area needs to be calibrated according to the first flat value and the second flat value of the touch area under the condition that the touch screen is touched, so that real-time judgment and calibration operation of ghost point behaviors are realized, ghost point behaviors generated due to the fact that capacitance changes of abnormal contact areas are updated to the capacitance reference values by mistake due to interference factors can be avoided, ghost point probability is reduced, calibration accuracy is improved, forced calibration operation of the touch screen is not needed, and user experience is improved.
In the embodiment of the disclosure, whether the touch screen is in the touch state can be determined through the capacitance signal variation of each capacitance node on the touch screen. Optionally, fig. 4 is a flowchart illustrating a touch screen calibration method according to an exemplary embodiment, and as shown in fig. 4, the touch screen calibration method includes the following steps.
In step 401, capacitance signal variations of each capacitance node on the touch screen are determined, and a maximum value of the capacitance signal variations is determined.
In step 402, it is determined whether the maximum value is greater than or equal to the touch threshold. When the maximum value is greater than or equal to the touch threshold, executing step 403; when the maximum value is less than the touch threshold, step 406 is performed.
It should be noted that the touch threshold may be a fixed value, or the touch threshold may also be a range value, and when the maximum value is greater than or equal to the touch threshold, it is determined that the touch screen is in the touch state; and when the maximum value is smaller than the touch threshold value, determining that the touch screen is in a no-touch state.
In step 403, a touch area on the touch screen is determined.
In step 404, a capacitance detection value of each first capacitance node in the touch area and a capacitance reference value of each first capacitance node are determined.
In step 405, it is determined whether to calibrate the capacitance reference value of each first capacitance node in the touch area according to the capacitance detection value of each first capacitance node and the capacitance reference value of each first capacitance node.
In step 406, a capacitance reference value of each capacitive node on the touch screen is calibrated based on the capacitance detection value of each capacitive node on the touch screen.
That is, when it is determined that the touch screen is in a no-touch state, the capacitance reference value of each capacitance node on the touch screen is calibrated based on the capacitance detection value of each capacitance node on the touch screen.
In the embodiment of the disclosure, the capacitance detection value of each capacitance node on the touch screen can be used as a new capacitance reference value of each capacitance node, so that the calibration of the capacitance reference value of each first capacitance node in the touch area is completed.
It should be noted that, in the embodiment of the present disclosure, steps 403 to 405 may be implemented by any manner in each embodiment of the present disclosure, and the present disclosure does not limit this and is not repeated herein.
According to the touch screen calibration method provided by the embodiment of the disclosure, when the touch screen is in a touch state, for a touch area, according to the capacitance detection value of each first capacitance node in the touch area and the capacitance reference value of each first capacitance node, it is determined whether the capacitance reference value of each first capacitance node in the touch area needs to be calibrated, that is, the calibration is performed on the touch area where interference may exist. When the touch screen is in a non-touch state, the capacitance reference value of each capacitance node on the touch screen is calibrated based on the capacitance detection value of each capacitance node on the touch screen. The method and the device can calibrate the capacitance reference value of the touch screen in real time, can reduce the ghost point probability, do not need to perform forced calibration operation on the touch screen, and improve the user experience.
In the embodiment of the disclosure, when the touch screen is in a touch state, for the non-touch area, the reference value of each capacitive node in the non-touch area may be calibrated based on the capacitance detection value of each capacitive node in the non-touch area. As an example, fig. 5 is a flowchart illustrating a touch screen calibration method according to an exemplary embodiment, and as shown in fig. 5, the touch screen calibration method includes the following steps.
In step 501, a non-touch area and a touch area on a touch screen are determined while the touch screen is in a touch state.
In the embodiment of the disclosure, when the touch screen is in a touch state, the non-touch area and the touch area on the touch screen can be determined by the capacitance signal variation.
In step 502, a capacitance detection value of each first capacitance node in the touch area and a capacitance reference value of each first capacitance node are determined.
In step 503, it is determined whether to calibrate the capacitance reference value of each first capacitance node in the touch area according to the capacitance detection value of each first capacitance node and the capacitance reference value of each first capacitance node.
In step 504, capacitance detection values of respective second capacitance nodes in the non-touch area are determined.
That is, when the touch screen is in a no-touch state, each capacitance node in the non-touch area is determined as a second capacitance node, and capacitance data of each second capacitance node in the non-touch area is scanned to determine a capacitance detection value of each second capacitance node in the non-touch area.
In step 505, a capacitance reference value of each second capacitance node is calibrated based on the capacitance detection value of each second capacitance node.
In the embodiment of the present disclosure, the capacitance detection value of each second capacitance node in the non-touch region may be used as a new capacitance reference value of each first capacitance node, so that the calibration of the capacitance reference value of each second capacitance node is completed.
According to the touch screen calibration method, when the touch screen is in a touch state, for a touch area, according to a capacitance detection value of each first capacitance node in the touch area and a capacitance reference value of each first capacitance node, whether the capacitance reference value of each first capacitance node in the touch area needs to be calibrated is determined, namely the calibration is performed on the touch area with an abnormal capacitance reference value; for the non-touch area, calibrating a capacitance reference value of each second capacitance node based on the capacitance detection value of each second capacitance node in the non-touch area. The touch screen can be subjected to local real-time calibration on the capacitance reference value of the touch screen under the condition that the touch screen is touched, and whether the capacitance reference value is calibrated or not is judged by judging a local touch area, so that real-time judgment and calibration operation of ghost point behaviors are realized, ghost point behaviors generated by mistakenly updating the capacitance reference value due to capacitance change of an abnormal contact area caused by interference factors can be avoided, ghost point probability is reduced, forced calibration operation on the touch screen is not needed, and user experience is further improved.
Fig. 6 is a schematic structural diagram illustrating a touch screen calibration apparatus according to an exemplary embodiment. As shown in fig. 6, the touch screen calibration apparatus includes: a first determination module 601, a second determination module 602, and a third determination module 603.
The first determining module 601 is configured to determine a touch area on the touch screen when the touch screen is in a touch state.
The second determining module 602 is configured to determine a capacitance detection value of each first capacitance node in the touch area and a capacitance reference value of each first capacitance node.
A third determining module 603, configured to determine whether to calibrate the capacitance reference value of each first capacitance node in the touch area according to the capacitance detection value of each first capacitance node and the capacitance reference value of each first capacitance node.
In some embodiments of the present disclosure, the third determining module 603 is specifically configured to: determining whether the touch area meets an updating condition or not according to the capacitance detection value of each first capacitance node and the capacitance reference value of each first capacitance node; and calibrating the capacitance reference value of each first capacitance node based on the capacitance detection value of each first capacitance node in response to the touch area satisfying the update condition.
In some embodiments of the present disclosure, the third determining module 603 is further configured to: acquiring a first flat value of the touch area according to the capacitance detection value of each first capacitance node; acquiring a second flat value of the touch area according to the capacitance reference value of each first capacitance node; and determining that the touch area meets the update condition in response to the first flat value and the second flat value meeting the preset condition.
In some embodiments of the present disclosure, the first and second flatness values satisfy a preset condition, including: the sum of the first flat value and the target threshold value is less than the second flat value.
In some embodiments of the present disclosure, obtaining a first flat value of the touch area according to the capacitance detection value of each first capacitance node includes: carrying out capacitance detection value differential calculation on each first capacitance node according to rows to obtain a first differential matrix; carrying out differential calculation on each element in the first differential matrix according to columns to obtain a second differential matrix; and summing the element values in the second difference matrix to obtain a first flat value of the touch area.
In some embodiments of the present disclosure, obtaining the second flat value of the touch area according to the capacitance reference value of each first capacitance node includes: performing capacitance reference value difference calculation on each first capacitance node according to rows to obtain a third difference matrix; carrying out differential calculation on each element value in the third differential matrix according to columns to obtain a fourth differential matrix; and summing the element values in the fourth difference matrix to obtain a second flat value of the touch area.
In some embodiments of the present disclosure, the first determining module 601 is further configured to: determining the capacitance signal variation of each capacitance node on the touch screen, and determining the maximum value of the capacitance signal variation; and determining that the touch screen is in the touch state in response to the maximum value being greater than or equal to the touch threshold value.
According to the touch screen calibration device provided by the embodiment of the disclosure, when the touch screen is in a touch state, for a touch area, according to a capacitance detection value of each first capacitance node in the touch area and a capacitance reference value of each first capacitance node, a first flat value and a second flat value of the touch area are obtained. And determining whether the capacitance reference value of each first capacitance node in the touch area needs to be calibrated or not according to the first flat value and the second flat value of the touch area, namely calibrating the touch area with abnormal capacitance reference value. The utility model discloses can be under the touch-sensitive condition of touch-sensitive screen, carry out local real-time calibration to the capacitance reference value of touch-sensitive screen, and judge whether local touch area needs the capacitance reference value to calibrate according to the first flat value and the second flat value in touch area, with the real-time judgement and the calibration operation of realization ghost point action, can avoid because interference factor causes the ghost point action that the capacitance change mistake in unusual contact area updated the capacitance reference value and produced, reduce ghost point probability, and the degree of accuracy of calibration has been increased, need not to carry out forced calibration operation to the touch-sensitive screen, user experience has been promoted.
Fig. 7 is a schematic structural diagram illustrating a touch screen calibration apparatus according to an exemplary embodiment. As shown in fig. 7, the touch screen calibration apparatus may further include: and a touch control module 704. Specifically, the touch control module 704 is configured to perform coordinate calculation on the touch area in response to that the touch area does not satisfy the update condition, obtain a coordinate of the touch area, and perform a corresponding touch operation according to the coordinate.
Wherein 701-703 in fig. 7 and 601-603 in fig. 6 have the same functions and structures.
With regard to the apparatus in the above-mentioned embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the real-time dialog translation method applied to the mobile terminal, and will not be described in detail here.
According to the touch screen calibration device provided by the embodiment of the disclosure, when the touch screen is in a touch state, for a touch area, according to a capacitance detection value of each first capacitance node in the touch area and a capacitance reference value of each first capacitance node, a first flat value and a second flat value of the touch area are obtained. And determining whether the capacitance reference value of each first capacitance node in the touch area needs to be calibrated or not according to the first flat value and the second flat value of the touch area, namely calibrating the touch area with an abnormal capacitance reference value, acquiring the coordinates of the touch area for the touch area with a normal capacitance reference value, and executing corresponding touch operation according to the coordinates. According to the method, under the condition that the touch screen is touched, whether the local touch area needs to be calibrated according to the first flat value and the second flat value of the touch area or not is judged, so that real-time judgment and calibration operation of ghost point behaviors are achieved, ghost point behaviors caused by the fact that capacitance changes of abnormal contact areas are updated to the capacitance reference values by mistake due to interference factors can be avoided, ghost point probability is reduced, calibration accuracy is improved, forced calibration operation of the touch screen is not needed, and user experience is further improved.
Fig. 8 is a schematic diagram illustrating a structure of a touch screen calibration apparatus according to an exemplary embodiment. As shown in fig. 8, the touch screen calibration apparatus may further include: a first calibration module 805 and a second calibration module 806.
Specifically, the first calibration module 805 is configured to determine a non-touch area on the touch screen, and determine a capacitance detection value of each second capacitance node in the non-touch area; and calibrating the capacitance reference value of each second capacitance node based on the capacitance detection value of each second capacitance node.
The second calibration module 806 determines that the touch screen is in a no-touch state in response to the maximum value being less than the touch threshold value, and calibrates the capacitance reference value of each capacitive node on the touch screen based on the capacitance detection value of each capacitive node on the touch screen.
Wherein 801-804 in fig. 8 have the same functions and structures as 701-704 in fig. 7.
With regard to the apparatus in the above-mentioned embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the real-time dialog translation method applied to the mobile terminal, and will not be described in detail here.
According to the touch screen calibration device provided by the embodiment of the disclosure, when the touch screen is in a touch state, for a touch area, according to a capacitance detection value of each first capacitance node in the touch area and a capacitance reference value of each first capacitance node, whether the capacitance reference value of each first capacitance node in the touch area needs to be calibrated is determined, that is, the calibration is performed on the touch area where interference may exist; and for the non-touch area, calibrating the capacitance reference value of each second capacitance node based on the capacitance detection value of each second capacitance node in the non-touch area. When the touch screen is in a non-touch state, the capacitance reference value of each capacitance node on the touch screen is calibrated based on the capacitance detection value of each capacitance node on the touch screen. The method can calibrate the capacitance reference value of the touch screen in real time, can avoid ghost point behaviors generated by mistakenly updating the capacitance change of the abnormal contact area to the capacitance reference value due to interference factors, reduces ghost point probability, does not need to perform forced calibration operation on the touch screen, and further improves user experience.
Fig. 9 is a block diagram illustrating an electronic device 900 in accordance with an example embodiment. For example, the electronic device 900 may be a terminal device with a touch screen, such as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 9, the electronic device 900 includes a touch screen 901, and may further include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and communication component 916.
The processing component 902 generally controls overall operation of the electronic device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 902 may include one or more processors 920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operation at the electronic device 900. Examples of such data include instructions for any application or method operating on the electronic device 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 906 provides power to the various components of the electronic device 900. Power components 906 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 900.
The multimedia components 908 include a screen that provides an output interface between the electronic device 900 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 900 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 910 is configured to output and/or input audio signals. For example, the audio component 910 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O interface 912 provides an interface between processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 914 includes one or more sensors for providing status evaluations of various aspects of the electronic device 900. For example, sensor assembly 914 may detect an open/closed state of device 900, the relative positioning of components, such as a display and keypad of electronic device 900, sensor assembly 914 may also detect a change in the position of electronic device 900 or a component of electronic device 900, the presence or absence of user contact with electronic device 900, orientation or acceleration/deceleration of electronic device 900, and a change in the temperature of electronic device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate wired or wireless communication between the electronic device 900 and other devices. The electronic device 900 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 904 comprising instructions, executable by the processor 920 of the electronic device 900 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, comprising a computer program, which is executed by the processor 920 of the electronic device 900 to perform the above-described method.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to implicitly indicate the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the feature. In the description of the present disclosure, "a plurality" means at least two, e.g., two, three, etc., unless explicitly specifically limited otherwise.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (17)

1. A method of touch screen calibration, comprising:
when the touch screen is in a touch state, determining a touch area on the touch screen;
determining a capacitance detection value of each first capacitance node in the touch area and a capacitance reference value of each first capacitance node;
and determining whether to calibrate the capacitance reference value of each first capacitance node in the touch area according to the capacitance detection value of each first capacitance node and the capacitance reference value of each first capacitance node.
2. The method of claim 1, wherein determining whether to calibrate the capacitance reference value for each first capacitance node in the touch area based on the detected capacitance value for each first capacitance node and the capacitance reference value for each first capacitance node comprises:
determining whether the touch area meets an updating condition according to the capacitance detection value of each first capacitance node and the capacitance reference value of each first capacitance node;
in response to the touch area satisfying the update condition, calibrating a capacitance reference value of each of the first capacitance nodes based on a capacitance detection value of each of the first capacitance nodes.
3. The method of claim 2, wherein determining whether the touch area satisfies an update condition based on the capacitance detection value of each first capacitance node and the capacitance reference value of each first capacitance node comprises:
acquiring a first flat value of the touch area according to the capacitance detection value of each first capacitance node;
acquiring a second flat value of the touch area according to the capacitance reference value of each first capacitance node;
determining that the touch area meets an update condition in response to the first and second flatness values meeting a preset condition.
4. The method of claim 3, wherein the first and second flatness values satisfy a predetermined condition comprising:
the sum of the first flat value and a target threshold is less than the second flat value.
5. The method of claim 3, wherein obtaining the first flat value of the touch area based on the detected capacitance values of the first capacitance nodes comprises:
carrying out capacitance detection value differential calculation on each first capacitance node according to rows to obtain a first differential matrix;
carrying out differential calculation on each element in the first differential matrix according to columns to obtain a second differential matrix;
and summing the element values in the second difference matrix to obtain a first flat value of the touch area.
6. The method of any of claims 2 to 5, further comprising:
and responding to the condition that the touch area does not meet the updating condition, performing coordinate calculation on the touch area, obtaining the coordinate of the touch area, and executing corresponding touch operation according to the coordinate.
7. The method of claim 1, wherein the step of determining the touch area on the touch screen while the touch screen is in the touch state further comprises, prior to the step of determining the touch area on the touch screen:
determining the capacitance signal variation of each capacitance node on the touch screen, and determining the maximum value of the capacitance signal variation;
in response to the maximum value being greater than or equal to a touch threshold, determining that the touch screen is in a touch state.
8. The method of claim 7, further comprising:
and responding to the fact that the maximum value is smaller than the touch threshold value, determining that the touch screen is in a no-touch state, and calibrating the capacitance reference value of each capacitance node on the touch screen based on the capacitance detection value of each capacitance node on the touch screen.
9. The method of claim 1, further comprising:
determining a non-touch area on the touch screen, and determining capacitance detection values of all second capacitance nodes in the non-touch area;
and calibrating a capacitance reference value of each second capacitance node based on the capacitance detection value of each second capacitance node.
10. A touch screen calibration device, comprising:
the first determining module is used for determining a touch area on the touch screen when the touch screen is in a touch state;
the second determining module is used for determining a capacitance detection value of each first capacitance node in the touch area and a capacitance reference value of each first capacitance node;
and a third determining module, configured to determine whether to calibrate the capacitance reference value of each first capacitance node in the touch area according to the capacitance detection value of each first capacitance node and the capacitance reference value of each first capacitance node.
11. The apparatus of claim 10, wherein the third determining module is specifically configured to:
determining whether the touch area meets an updating condition according to the capacitance detection value of each first capacitance node and the capacitance reference value of each first capacitance node;
in response to the touch area satisfying the update condition, calibrating a capacitance reference value of each of the first capacitance nodes based on a capacitance detection value of each of the first capacitance nodes.
12. The apparatus of claim 11, wherein the third determination module is further configured to:
acquiring a first flat value of the touch area according to the capacitance detection value of each first capacitance node;
acquiring a second flat value of the touch area according to the capacitance reference value of each first capacitance node;
determining that the touch area meets an update condition in response to the first and second flatness values meeting a preset condition.
13. The apparatus of claim 12, wherein obtaining a first flat value of the touch area based on the detected capacitance values of the first capacitance nodes comprises:
carrying out capacitance detection value differential calculation on each first capacitance node according to rows to obtain a first differential matrix;
carrying out differential calculation on each element in the first differential matrix according to columns to obtain a second differential matrix;
and summing the element values in the second difference matrix to obtain a first flat value of the touch area.
14. The apparatus of claim 10, wherein the first determining module is further to:
determining the capacitance signal variation of each capacitance node on the touch screen, and determining the maximum value of the capacitance signal variation;
in response to the maximum value being greater than or equal to a touch threshold, determining that the touch screen is in a touch state.
15. The apparatus of claim 10, further comprising a first calibration module to:
determining a non-touch area on the touch screen, and determining a capacitance detection value of each second capacitance node in the non-touch area;
and calibrating a capacitance reference value of each second capacitance node based on the capacitance detection value of each second capacitance node.
16. An electronic device, comprising:
a touch screen;
a processor;
a memory for storing processor-executable instructions; wherein the instructions are executable by the processor to enable the processor to perform the method of any one of claims 1 to 9.
17. A computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of any of claims 1-9.
CN202210234042.6A 2022-03-10 2022-03-10 Touch screen calibration method and device, electronic equipment and storage medium Pending CN114690955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210234042.6A CN114690955A (en) 2022-03-10 2022-03-10 Touch screen calibration method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210234042.6A CN114690955A (en) 2022-03-10 2022-03-10 Touch screen calibration method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114690955A true CN114690955A (en) 2022-07-01

Family

ID=82138180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210234042.6A Pending CN114690955A (en) 2022-03-10 2022-03-10 Touch screen calibration method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114690955A (en)

Similar Documents

Publication Publication Date Title
CN107390932B (en) Edge false touch prevention method and device and computer readable storage medium
CN106547461B (en) Operation processing method, device and equipment
EP3232301B1 (en) Mobile terminal and virtual key processing method
CN107402711B (en) Volume adjusting method and device and computer readable storage medium
CN112905103B (en) False touch processing method and device and storage medium
CN107168566B (en) Operation mode control method and device and terminal electronic equipment
CN111104001B (en) Method and device for preventing screen from being touched mistakenly, mobile terminal and storage medium
CN107402677B (en) Method and device for recognizing finger lifting in touch operation and terminal
CN112905035A (en) Touch screen control method and device and computer storage medium
CN112394825A (en) Method and device for calibrating capacitive touch module and storage medium
CN111506246A (en) Fingerprint identification determination method and fingerprint identification determination device
CN114690955A (en) Touch screen calibration method and device, electronic equipment and storage medium
CN116204073A (en) Touch control method, touch control device, electronic equipment and storage medium
CN107168631B (en) Application program closing method and device and terminal electronic equipment
CN113093932B (en) Touch detection processing method and device, terminal equipment and storage medium
CN108037875B (en) Method, device and storage medium for switching input modes
CN106250131B (en) Shortcut operation shielding method and device
CN112445363A (en) Electronic device, control method and device for electronic device, and storage medium
CN106547444B (en) Method and device for realizing screen capture and mobile terminal
CN112416155A (en) Point reporting output control method, device and storage medium
CN112987958B (en) Touch signal processing method and device
CN115963937A (en) Pocket mode recognition method and device, electronic equipment and storage medium
CN108469926B (en) Equipment control method, device and equipment
CN109614000B (en) Information processing method and device
CN113093930A (en) Touch signal processing method, device 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