Touch screen calibration method and apparatus, electronic device, and storage medium
By detecting the capacitance value and reference value of capacitive nodes on a capacitive touchscreen and calibrating the capacitance reference value in real time, the ghost point problem caused by interference factors is solved, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2022-03-10
- Publication Date
- 2026-04-28
AI Technical Summary
In existing technologies, capacitive touchscreens are prone to abnormal capacitance reference values and ghost point problems when exposed to interference factors such as water, power grids, or contact with metal conductors. This requires forced calibration and affects the user experience.
When the touchscreen is in use, by detecting the capacitance detection value and capacitance reference value of each capacitor node, it is determined whether the capacitance reference value needs to be locally calibrated in real time. This avoids false updates caused by abnormal capacitance changes due to interference factors and reduces the probability of ghost points.
It enables real-time calibration of the capacitance reference value when the touchscreen is in use, reducing the probability of ghost points, avoiding forced calibration operations, and improving the user experience.
Smart Images

Figure CN114690955B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of touch screens for electronic devices, and more particularly to a touch screen calibration method, apparatus, electronic device, and storage medium. Background Technology
[0002] With the continuous development of computer technology, most electronic devices now feature touchscreens. Touchscreens, as one of the most widely used human-computer interaction methods, are further divided into resistive, capacitive, and electromagnetic types. Among them, capacitive touchscreens have broad application prospects. When a user performs a touch operation, their finger approaches the capacitive touchscreen, causing a change in the capacitance of the capacitive nodes on the touchscreen. The specific touch range is determined by detecting the amount of capacitance change. Detecting the capacitance change requires a stable capacitance reference value, which in most cases is the initial capacitance reference value established during power-on. Furthermore, the capacitance reference value must be maintained to ensure normal touch operation for the user. Summary of the Invention
[0003] To overcome the problems existing in related technologies, this disclosure provides a touch screen calibration method, apparatus, electronic device, and storage medium.
[0004] According to a first aspect of the present disclosure, a touchscreen calibration method is provided, comprising:
[0005] Determine the capacitance detection value of each first capacitor node in the touch area and the capacitance reference value of each first capacitor node;
[0006] Based on the capacitance detection value of each first capacitor node and the capacitance reference value of each first capacitor node, it is determined whether to calibrate the capacitance reference value of each first capacitor node in the touch area.
[0007] Optionally, in some embodiments of this disclosure, determining whether to calibrate the capacitance reference value of each first capacitor node in the touch area based on the capacitance detection value and the capacitance reference value of each first capacitor node includes: determining whether the touch area meets the update condition based on the capacitance detection value and the capacitance reference value of each first capacitor node; and calibrating the capacitance reference value of each first capacitor node based on the capacitance detection value of each first capacitor node in response to the touch area meeting the update condition.
[0008] Optionally, in some embodiments of this disclosure, determining whether the touch area meets the update condition based on the capacitance detection value of each first capacitor node and the capacitance reference value of each first capacitor node includes: obtaining a first flatness value of the touch area based on the capacitance detection value of each first capacitor node; obtaining a second flatness value of the touch area based on the capacitance reference value of each first capacitor node; and determining that the touch area meets the update condition in response to the first flatness value and the second flatness value satisfying a preset condition.
[0009] Optionally, in some embodiments of this disclosure, the first flat value and the second flat value satisfy preset conditions, including: the sum of the first flat value and the target threshold is less than the second flat value.
[0010] Optionally, in some embodiments of this disclosure, obtaining the first flatness value of the touch area based on the capacitance detection values of each of the first capacitor nodes includes: performing differential calculations on the capacitance detection values of each of the first capacitor nodes by row to obtain a first difference matrix; performing differential calculations on the elements of the first difference matrix by column to obtain a second difference matrix; and summing the values of each element in the second difference matrix to obtain the first flatness value of the touch area.
[0011] Optionally, in some embodiments of this disclosure, obtaining the second flatness value of the touch area based on the capacitance reference value of each of the first capacitor nodes includes: performing differential calculation on the capacitance reference value of each of the first capacitor nodes by row to obtain a third difference matrix; performing differential calculation on the element values of each element in the third difference matrix by column to obtain a fourth difference matrix; and summing the element values of each element in the fourth difference matrix to obtain the second flatness value of the touch area.
[0012] Optionally, in some embodiments of this disclosure, the method further includes: in response to the touch area not meeting the update condition, calculating the coordinates of the touch area to obtain the coordinates of the touch area, and performing a corresponding touch operation based on the coordinates.
[0013] Optionally, in some embodiments of this disclosure, before determining the touch area on the touch screen when the touch screen is in a touch state, the method further includes: determining the capacitance signal change of each capacitor node on the touch screen, and determining the maximum value among the capacitance signal changes; and determining that the touch screen is in a touch state in response to the maximum value being greater than or equal to a touch threshold.
[0014] Optionally, in some embodiments of this disclosure, the method further includes: determining that the touch screen is in a no-touch state in response to the maximum value being less than the touch threshold, and calibrating the capacitance reference value of each capacitor node on the touch screen based on the capacitance detection value of each capacitor node on the touch screen.
[0015] Optionally, in some embodiments of this disclosure, the method further includes: determining a non-touch area on the touchscreen and determining the capacitance detection value of each second capacitor node in the non-touch area; calibrating the capacitance reference value of each second capacitor node based on the capacitance detection value of each second capacitor node.
[0016] According to a second aspect of the present disclosure, a touchscreen calibration apparatus is provided, comprising:
[0017] The first determining module is used to determine the touch area on the touch screen when the touch screen is in a touch state;
[0018] The second determining module is used to determine the capacitance detection value of each first capacitor node in the touch area and the capacitance reference value of each first capacitor node.
[0019] The third determining module is used to determine whether to calibrate the capacitance reference value of each first capacitor node in the touch area based on the capacitance detection value of each first capacitor node and the capacitance reference value of each first capacitor node.
[0020] Optionally, in some embodiments of this disclosure, the third determining module is specifically used to: determine whether the touch area meets the update condition based on the capacitance detection value of each first capacitor node and the capacitance reference value of each first capacitor node; and in response to the touch area meeting the update condition, calibrate the capacitance reference value of each first capacitor node based on the capacitance detection value of each first capacitor node.
[0021] Optionally, in some embodiments of this disclosure, the third determining module is further configured to: obtain a first flatness value of the touch area based on the capacitance detection value of each of the first capacitor nodes; obtain a second flatness value of the touch area based on the capacitance reference value of each of the first capacitor nodes; and determine that the touch area meets the update condition in response to the first flatness value and the second flatness value satisfying a preset condition.
[0022] Optionally, in some embodiments of this disclosure, the first flat value and the second flat value satisfy preset conditions, including: the sum of the first flat value and the target threshold is less than the second flat value.
[0023] Optionally, in some embodiments of this disclosure, obtaining the first flatness value of the touch area based on the capacitance detection values of each of the first capacitor nodes includes: performing differential calculations on the capacitance detection values of each of the first capacitor nodes by row to obtain a first difference matrix; performing differential calculations on the elements of the first difference matrix by column to obtain a second difference matrix; and summing the values of each element in the second difference matrix to obtain the first flatness value of the touch area.
[0024] Optionally, in some embodiments of this disclosure, obtaining the second flatness value of the touch area based on the capacitance reference value of each of the first capacitor nodes includes: performing differential calculation on the capacitance reference value of each of the first capacitor nodes by row to obtain a third difference matrix; performing differential calculation on the element values of each element in the third difference matrix by column to obtain a fourth difference matrix; and summing the element values of each element in the fourth difference matrix to obtain the second flatness value of the touch area.
[0025] Optionally, in some embodiments of this disclosure, the device further includes: a touch control module, configured to, in response to the touch area not meeting the update condition, calculate the coordinates of the touch area, obtain the coordinates of the touch area, and perform a corresponding touch operation based on the coordinates.
[0026] Optionally, in some embodiments of this disclosure, the first determining module is further configured to: determine the capacitance signal change of each capacitor node on the touch screen, and determine the maximum value among the capacitance signal changes; and determine that the touch screen is in a touch state in response to the maximum value being greater than or equal to a touch threshold.
[0027] Optionally, in some embodiments of this disclosure, the apparatus further includes: a first calibration module, configured to determine a non-touch area on the touchscreen and determine the capacitance detection value of each second capacitor node in the non-touch area; and calibrate the capacitance reference value of each second capacitor node based on the capacitance detection value of each second capacitor node.
[0028] Optionally, in some embodiments of this disclosure, the device further includes: a second calibration module, which determines that the touch screen is in a no-touch state in response to the maximum value being less than the touch threshold, and calibrates the capacitance reference value of each capacitor node on the touch screen based on the capacitance detection value of each capacitor node on the touch screen.
[0029] According to a third aspect of the present disclosure, an electronic device is provided, comprising:
[0030] touchscreen;
[0031] processor;
[0032] A memory for storing processor-executable instructions; wherein the instructions are executed by the processor to enable the processor to perform the touchscreen calibration method described in the first aspect above.
[0033] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the touchscreen calibration method described in the first aspect.
[0034] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: When the touchscreen is in a touch state, for the touch area, based on the capacitance detection value of each first capacitor node in the touch area and the capacitance reference value of each first capacitor node, it is determined whether the capacitance reference value of each first capacitor node in the touch area needs to be calibrated, that is, calibration is performed on touch areas with abnormal capacitance reference values. This disclosure can perform local real-time calibration of the capacitance reference value of the touchscreen when the touchscreen is touched, which can avoid the ghost point behavior caused by abnormal capacitance changes in the contact area due to interference factors (such as water, electricity, or metal conductors contacting the touchscreen) being mistakenly updated into the capacitance reference value, thereby reducing the probability of ghost points and eliminating the need for forced calibration of the touchscreen, thus improving the user experience.
[0035] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0036] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0037] Figure 1 This is a flowchart illustrating a touchscreen calibration method according to an exemplary embodiment.
[0038] Figure 2 This is a flowchart illustrating a touchscreen calibration method according to an exemplary embodiment.
[0039] Figure 3 This is a flowchart illustrating a touchscreen calibration method according to an exemplary embodiment.
[0040] Figure 4 This is a flowchart illustrating a touchscreen calibration method according to an exemplary embodiment.
[0041] Figure 5 This is a flowchart illustrating a touchscreen calibration method according to an exemplary embodiment.
[0042] Figure 6This is a schematic diagram of a touch screen calibration device according to an exemplary embodiment.
[0043] Figure 7 This is a schematic diagram of a touch screen calibration device according to an exemplary embodiment.
[0044] Figure 8 This is a schematic diagram of a touch screen calibration device according to an exemplary embodiment.
[0045] Figure 9 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation
[0046] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.
[0047] During the use of capacitive touchscreens, in addition to normal touch operations, factors such as water, power grid interference, and contact with metal conductors can also cause certain capacitance changes. If the capacitance changes caused by these interference factors are mistakenly updated into the capacitance reference value, persistent ghosting issues can easily occur after the interference factors are removed, requiring a forced screen calibration operation, which seriously affects the user experience.
[0048] To address the aforementioned issues, this disclosure provides a touchscreen calibration method, apparatus, electronic device, and storage medium that can perform real-time calibration of the touchscreen's capacitance reference value when the touchscreen is being touched, thereby reducing the probability of ghost points and eliminating the need for forced calibration of the touchscreen, thus improving the user experience.
[0049] Figure 1 This is a flowchart illustrating a touchscreen calibration method according to an exemplary embodiment. The touchscreen is a capacitive touchscreen, such as... Figure 1 As shown, the touchscreen calibration method includes the following steps.
[0050] In step 101, when the touchscreen is in a touch state, the touch area on the touchscreen is determined.
[0051] It is important to understand that touchscreens are widely used in electronic devices. Touchscreens typically employ multi-layer ITO (Indium Tin Oxide) or single-layer ITO bridging methods to form intersections along the X and Y axes. These intersections constitute the capacitor nodes of a capacitor matrix. In the embodiments of this disclosure, when a finger touches the touchscreen, the presence of a touchscreen can be determined by detecting changes in the capacitance signals of each capacitor node on the touchscreen.
[0052] As an example, the change in capacitance signal at each capacitive node on the touchscreen can be determined to determine whether the touchscreen is in a touch state. In one implementation, a touch threshold can be preset, and the maximum value among the changes in capacitance signal on the touchscreen can be determined. If the maximum value is greater than or equal to the touch threshold, the touchscreen is determined to be in a touch state; if the maximum value is less than the touch threshold, the touchscreen is determined to be in a non-touch state.
[0053] In embodiments of this disclosure, when the touchscreen is in a touch state, the touch area on the touchscreen can be determined by the change in capacitance signal.
[0054] In step 102, the capacitance detection value of each first capacitor node in the touch area and the capacitance reference value of each first capacitor node are determined.
[0055] Here, the capacitance detection value can be understood as the raw capacitance data of the capacitor node detected by the sensor. The capacitance reference value is a reference value that is compared with the capacitance value generated by the user's touch when the touchscreen is working (i.e., the capacitance detection value). The amount of change in capacitance value caused by the user's touch is based on the capacitance reference value.
[0056] In step 103, based on the capacitance detection value of each first capacitor node and the capacitance reference value of each first capacitor node, it is determined whether to calibrate the capacitance reference value of each first capacitor node in the touch area.
[0057] As an example, the touch area can be assessed by determining whether it meets the update conditions, i.e., whether the capacitance reference values of each first capacitor node in the current touch area are abnormal, based on the capacitance detection values and capacitance reference values of each first capacitor node. It can be understood that when the touch area meets the update conditions, it indicates that the capacitance reference values of each first capacitor node in the current touch area are abnormal; when the touch area does not meet the update conditions, it indicates that the capacitance reference values of each first capacitor node in the current touch area are normal. If the touch area meets the update conditions, the capacitance reference value of each first capacitor node is calibrated based on its capacitance detection value. It should be noted that during the calibration of the capacitance reference value based on the capacitance detection values, the capacitance detection values of the same capacitor node are used to calibrate the capacitance reference value of the same capacitor node.
[0058] Optionally, in the embodiments of this disclosure, if the touch area does not meet the update conditions, it is not necessary to calibrate the capacitance reference value of each first capacitor node, exit the local reference update process of the touch area, perform coordinate calculation on the touch area, obtain the coordinates of the touch area, and perform the corresponding touch operation according to the coordinates.
[0059] According to the touchscreen calibration method of this disclosure, when the touchscreen is in a touch state, for the touch area, based on the capacitance detection value of each first capacitor node in the touch area and the capacitance reference value of each first capacitor node, it is determined whether the capacitance reference value of each first capacitor node in the touch area needs to be calibrated, that is, calibration is performed on touch areas with abnormal capacitance reference values. This disclosure can perform local real-time calibration of the capacitance reference value of the touchscreen when the touchscreen is touched, and by determining whether the local touch area needs capacitance reference value calibration, real-time judgment and calibration of ghost point behavior can be achieved. This can avoid ghost point behavior caused by abnormal capacitance changes in the contact area due to interference factors (such as water, electricity, or metal conductors contacting the touchscreen) being mistakenly updated to the capacitance reference value, thereby reducing the probability of ghost points and eliminating the need for forced calibration of the touchscreen, thus improving the user experience.
[0060] In embodiments of this disclosure, the touch area can be assessed based on the capacitance detection values and reference values of each first capacitor node within the touch area to determine whether the touch area meets the update conditions, thereby determining whether to calibrate the reference values of each first capacitor node within the touch area. As an example, the touch area can be assessed by calculating a flatness value based on the capacitance detection values and reference values of each first capacitor node within the touch area. The flatness value characterizes the consistency of capacitance changes between adjacent capacitor nodes in a local area. Optionally, Figure 2 This is a flowchart illustrating a touchscreen calibration method according to an exemplary embodiment, such as... Figure 2 As shown, the touchscreen calibration method includes the following steps.
[0061] In step 201, when the touchscreen is in a touch state, the touch area on the touchscreen is determined.
[0062] In step 202, the capacitance detection value of each first capacitor node in the touch area and the capacitance reference value of each first capacitor node are determined.
[0063] In step 203, the first flatness value of the touch area is obtained based on the capacitance detection value of each first capacitor node.
[0064] It should be noted that the first flatness value represents the flatness of the capacitance detection values of each first capacitor node within the touch area. Optionally, in some embodiments of this disclosure, the capacitance detection values of each first capacitor node can be differentially calculated row by row to obtain a first difference matrix; for example, subtracting the first capacitance detection value of the second row from the first capacitance detection value of the first row yields the first value of the first difference matrix, subtracting the second capacitance detection value of the second row from the second capacitance detection value of the first row yields the second value of the first difference matrix, and so on, to obtain the first difference matrix. It should be noted that if some values are calculated to be negative during the difference calculation process, the corresponding absolute values are taken; the elements in the first difference matrix are differentially calculated column by column to obtain a second difference matrix; for example, subtracting the first capacitance detection value of the first column from the first capacitance detection value of the second column yields the first value of the second difference matrix, subtracting the second capacitance detection value of the first column from the second capacitance detection value of the second column yields the 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 during the difference calculation process, the corresponding absolute values are taken; the values of each element in the second difference matrix are summed to obtain the first flatness value of the touch area.
[0065] As an example, Tables 1, 2, 3, and 4 below illustrate the process of obtaining the first flatness value of the touch area. Table 1 shows the capacitance detection values of each first capacitive node in the touch area of the touchscreen. Table 2, the first difference matrix, is obtained by performing a difference calculation on the capacitance detection values of each first capacitive node row by row. For example, subtracting the second row from the first row of Table 1 yields the first row of Table 2. Table 3, the second difference matrix, is obtained by performing a difference calculation on the columns of each element in Table 2. For example, subtracting the first column from the second column of Table 2 yields the first column of Table 3. Finally, the values of each element in Table 3, the second difference matrix, are summed to obtain Table 4, the first flatness value of the touch area.
[0066] Table 1: Capacitance Measurement Values
[0067] 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
[0068] Table 2: First Difference Matrix
[0069] 33 442 787 734 641 62 146 536 123 26 32 6 55 201 35 315 604 58 137 741 901 728 241 81
[0070] Table 3: Second Difference Matrix
[0071] 409 345 53 93 579 390 413 97 6 26 146 166 280 289 546 604 160 173 487 160
[0072] Table 4: First Flatness Value
[0073] 5422
[0074] In step 204, the second flatness value of the touch area is obtained based on the capacitance reference value of each first capacitor node.
[0075] It should be noted that the second flatness value represents the flatness of the capacitance reference value of each first capacitor node within the touch area. Optionally, in some embodiments of this disclosure, the capacitance reference value of each first capacitor node can be differentially calculated row by row to obtain a third difference matrix; the elements in the third difference matrix can be differentially calculated column by column to obtain a fourth difference matrix; and the values of each element in the fourth difference matrix can be summed to obtain the second flatness value of the touch area.
[0076] As an example, Tables 5, 6, 7, and 8 below illustrate the acquisition of the second flatness value of the touch area. Table 5 shows the capacitance reference values of each first capacitor node in the touch area of the touchscreen. Table 6, the third difference matrix, is obtained by performing a difference calculation on the capacitance reference values of each first capacitor node row by row. For example, subtracting the first row from the second row of Table 5 yields the first row of Table 6. Table 7, the fourth difference matrix, is obtained by performing a difference calculation on the columns of each element in Table 6. For example, subtracting the second column from the first column of Table 6 yields the first column of Table 7. Finally, the values of each element in Table 7, the fourth difference matrix, are summed to obtain Table 8, the second flatness value of the touch area.
[0077] Table 5: Capacitor Reference Values
[0078] 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
[0079] Table 6: Third Difference Matrix
[0080]
[0081]
[0082] Table 7: Fourth Difference Matrix
[0083] 1 13 14 1 1 4 13 12 10 7 2 10 1 16 1 0 3 13 8 4
[0084] Table 8: Second Flatness Value
[0085] 134
[0086] In step 205, in response to the first flatness value and the second flatness value satisfying a preset condition, it is determined whether the touch area meets the update condition.
[0087] Optionally, in embodiments of this disclosure, the first flatness value and the second flatness value satisfying a preset condition can be that the sum of the first flatness value and the target threshold is less than the second flatness value. It should be noted that the target threshold is an empirical value obtained based on numerous experiments.
[0088] In step 206, in response to the touch area meeting the update condition, the capacitance reference value of each first capacitor node is calibrated based on the capacitance detection value of each first capacitor node.
[0089] In the embodiments of this disclosure, the capacitance detection value of each first capacitor node in the touch area can be used as a new capacitance reference value for each first capacitor node, thereby completing the calibration of the capacitance reference value of each first capacitor node in the touch area.
[0090] It should be noted that, in the embodiments of this disclosure, steps 201, 202 and 206 can be implemented in any of the ways in the various embodiments of this disclosure. This disclosure does not limit them and will not elaborate further.
[0091] According to the touchscreen calibration method of this disclosure, when the touchscreen is in a touch state, for the touch area, a first flatness value and a second flatness value of the touch area are obtained based on the capacitance detection value of each first capacitor node and the capacitance reference value of each first capacitor node in the touch area. Based on the first flatness value and the second flatness value of the touch area, it is determined whether the capacitance reference value of each first capacitor node in the touch area needs to be calibrated, that is, calibration is performed on touch areas with abnormal capacitance reference values. This disclosure can perform local real-time calibration of the capacitance reference value of the touchscreen when the touchscreen is touched, and determine whether the local touch area needs capacitance reference value calibration based on the first flatness value and the second flatness value of the touch area, so as to realize real-time judgment and calibration operation of ghost point behavior. It can avoid ghost point behavior caused by abnormal capacitance changes in the contact area due to interference factors (such as water, electricity or metal conductors contacting the touchscreen) being mistakenly updated to the capacitance reference value, thereby reducing the probability of ghost points and increasing the accuracy of calibration. It eliminates the need for forced calibration of the touchscreen, improving the user experience.
[0092] In the embodiments of this disclosure, based on the capacitance detection values of each first capacitor node in the touch area and the capacitance reference values of each first capacitor node, it is determined whether the touch area meets the update conditions. For touch areas that do not meet the update conditions, they are considered normal touch operations, and corresponding touch operations are performed according to the coordinates of the touch area. Optionally, Figure 3 This is a flowchart illustrating a touchscreen calibration method according to an exemplary embodiment, such as... Figure 3 As shown, the touchscreen calibration method includes the following steps.
[0093] In step 301, when the touch screen is in a touch state, the touch area on the touch screen is determined.
[0094] In step 302, the capacitance detection value of each first capacitor node in the touch area and the capacitance reference value of each first capacitor node are determined.
[0095] In step 303, the capacitance detection value difference of each first capacitor node is calculated row by row to obtain the first difference matrix.
[0096] In step 304, the elements in the first difference matrix are differentially calculated column by column to obtain the second difference matrix.
[0097] In step 305, the values of each element in the second difference matrix are summed to obtain the first flatness value of the touch area.
[0098] In step 306, the capacitance reference value difference is calculated for each first capacitor node row by row to obtain the third difference matrix.
[0099] In step 307, the elements in the third difference matrix are differentially calculated column by column to obtain the fourth difference matrix.
[0100] In step 308, the values of each element in the fourth difference matrix are summed to obtain the second flatness value of the touch area.
[0101] In step 309, in response to the first flatness value and the second flatness value satisfying preset conditions, it is determined whether the touch area meets the update conditions. If the touch area meets the update conditions, step 310 is executed; if the touch area does not meet the update conditions, step 311 is executed.
[0102] In step 310, the capacitance reference value of each first capacitor node is calibrated based on the capacitance detection value of each first capacitor node.
[0103] In step 311, the coordinates of the touch area are calculated to obtain the coordinates of the touch area, and the corresponding touch operation is performed based on the coordinates.
[0104] In other words, if the update conditions are not met in the touch area, the capacitance reference value of each first capacitor node in the current touch area is considered to be normal, and the current touch behavior is a normal touch operation, without the need to calibrate the capacitance reference value of each first capacitor node.
[0105] It should be noted that, in the embodiments of this disclosure, steps 301-308 can be implemented in any of the ways described in the embodiments of this disclosure. This disclosure does not limit this and will not elaborate further.
[0106] According to the touchscreen calibration method of this disclosure, when the touchscreen is in a touch state, for the touch area, a first flatness value and a second flatness value of the touch area are obtained based on the capacitance detection value of each first capacitor node and the capacitance reference value of each first capacitor node in the touch area. Based on the first flatness value and the second flatness value of the touch area, it is determined whether the capacitance reference value of each first capacitor node in the touch area needs to be calibrated. That is, calibration is performed on touch areas with abnormal capacitance reference values, and for touch areas with normal capacitance reference values, the coordinates of the touch area are obtained, and a corresponding touch operation is performed based on the coordinates. This disclosure can determine whether a local touch area needs capacitance reference value calibration based on the first flatness value and the second flatness value of the touch area when the touchscreen is touched, so as to realize the real-time judgment and calibration operation of ghost point behavior. It can avoid ghost point behavior caused by abnormal contact area capacitance changes mistakenly updated to capacitance reference values due to interference factors, reduce the probability of ghost points, increase the accuracy of calibration, and eliminate the need for forced calibration of the touchscreen, thereby improving the user experience.
[0107] In embodiments of this disclosure, whether the touchscreen is in a touch state can be determined by the change in capacitance signals at each capacitive node on the touchscreen. Optionally, Figure 4 This is a flowchart illustrating a touchscreen calibration method according to an exemplary embodiment, such as... Figure 4 As shown, the touchscreen calibration method includes the following steps.
[0108] In step 401, the capacitance signal change of each capacitor node on the touch screen is determined, and the maximum value among the capacitance signal changes is determined.
[0109] In step 402, it is determined whether the maximum value is greater than or equal to the touch threshold. If the maximum value is greater than or equal to the touch threshold, step 403 is executed; if the maximum value is less than the touch threshold, step 406 is executed.
[0110] It should be noted that the touch threshold can be a fixed value, or it can be a range value. When the maximum value is greater than or equal to the touch threshold, the touch screen is determined to be in a touch state; when the maximum value is less than the touch threshold, the touch screen is determined to be in a no-touch state.
[0111] In step 403, the touch area on the touchscreen is determined.
[0112] In step 404, the capacitance detection value of each first capacitor node in the touch area and the capacitance reference value of each first capacitor node are determined.
[0113] In step 405, based on the capacitance detection value of each first capacitor node and the capacitance reference value of each first capacitor node, it is determined whether to calibrate the capacitance reference value of each first capacitor node in the touch area.
[0114] In step 406, the capacitance reference value of each capacitor node on the touch screen is calibrated based on the capacitance detection value of each capacitor node on the touch screen.
[0115] In other words, when it is determined that the touchscreen is in a no-touch state, the capacitance reference value of each capacitor node on the touchscreen is calibrated based on the capacitance detection value of each capacitor node on the touchscreen.
[0116] In the embodiments of this disclosure, the capacitance detection value of each capacitor node on the touch screen can be used as a new capacitance reference value for each capacitor node, thereby completing the calibration of the capacitance reference value of each first capacitor node in the touch area.
[0117] It should be noted that, in the embodiments of this disclosure, steps 403-405 can be implemented in any of the embodiments of this disclosure, and this disclosure does not limit them, nor will it elaborate further.
[0118] According to the touchscreen calibration method of this disclosure, when the touchscreen is in a touch state, for the touch area, based on the capacitance detection value of each first capacitor node in the touch area and the capacitance reference value of each first capacitor node, it is determined whether the capacitance reference value of each first capacitor node in the touch area needs to be calibrated, that is, calibration is performed on touch areas that may be subject to interference. When the touchscreen is in a non-touch state, the capacitance reference value of each capacitor node on the touchscreen is calibrated based on the capacitance detection value of each capacitor node on the touchscreen. This disclosure can perform real-time calibration of the capacitance reference value of the touchscreen, which can reduce the probability of ghost points, eliminate the need for forced calibration of the touchscreen, and improve the user experience.
[0119] In this embodiment of the disclosure, when the touchscreen is in a touch state, for the non-touch area, the reference value of each capacitor node in the non-touch area can be calibrated based on the capacitance detection value of each capacitor node in the non-touch area. As an example, Figure 5 This is a flowchart illustrating a touchscreen calibration method according to an exemplary embodiment, such as... Figure 5 As shown, the touchscreen calibration method includes the following steps.
[0120] In step 501, when the touchscreen is in a touch state, the non-touch area and the touch area on the touchscreen are determined.
[0121] In embodiments of this disclosure, when the touchscreen is in a touch state, the non-touch area and touch area on the touchscreen can be determined by the change in capacitance signal.
[0122] In step 502, the capacitance detection value of each first capacitor node in the touch area and the capacitance reference value of each first capacitor node are determined.
[0123] In step 503, based on the capacitance detection value of each first capacitor node and the capacitance reference value of each first capacitor node, it is determined whether to calibrate the capacitance reference value of each first capacitor node in the touch area.
[0124] In step 504, the capacitance detection value of each second capacitor node in the non-touch area is determined.
[0125] In other words, when the touchscreen is in a non-touch state, each capacitor node in the non-touch area is identified as a second capacitor node, and the capacitance data of each second capacitor node in the non-touch area is scanned to determine the capacitance detection value of each second capacitor node in the non-touch area.
[0126] In step 505, the capacitance reference value of each second capacitor node is calibrated based on the capacitance detection value of each second capacitor node.
[0127] In the embodiments of this disclosure, the capacitance detection value of each second capacitor node in the non-touch area can be used as a new capacitance reference value for each first capacitor node, thereby completing the calibration of the capacitance reference value of each second capacitor node.
[0128] According to the touchscreen calibration method of this disclosure, when the touchscreen is in a touch state, for the touch area, based on the capacitance detection value of each first capacitor node in the touch area and the capacitance reference value of each first capacitor node, it is determined whether the capacitance reference value of each first capacitor node in the touch area needs to be calibrated, that is, calibration is performed on touch areas with abnormal capacitance reference values; for non-touch areas, based on the capacitance detection value of each second capacitor node in the non-touch area, the capacitance reference value of each second capacitor node is calibrated. This disclosure can perform local real-time calibration of the capacitance reference value of the touchscreen when the touchscreen is touched, and by determining whether the local touch area needs capacitance reference value calibration, real-time judgment and calibration of ghost point behavior can be achieved. This can avoid ghost point behavior caused by capacitance changes in abnormal contact areas due to interference factors being mistakenly updated to the capacitance reference value, reducing the probability of ghost points, thereby eliminating the need for forced calibration of the touchscreen and further improving the user experience.
[0129] Figure 6 This is a schematic diagram illustrating the structure of a touchscreen calibration device according to an exemplary embodiment. Figure 6 As shown, the touchscreen calibration device includes: a first determining module 601, a second determining module 602, and a third determining module 603.
[0130] The first determining module 601 is used to determine the touch area on the touch screen when the touch screen is in a touch state.
[0131] The second determining module 602 is used to determine the capacitance detection value of each first capacitor node and the capacitance reference value of each first capacitor node in the touch area.
[0132] The third determining module 603 is used to determine whether to calibrate the capacitance reference value of each first capacitor node in the touch area based on the capacitance detection value of each first capacitor node and the capacitance reference value of each first capacitor node.
[0133] In some embodiments of this disclosure, the third determining module 603 is specifically used to: determine whether the touch area meets the update conditions based on the capacitance detection value of each first capacitor node and the capacitance reference value of each first capacitor node; and in response to the touch area meeting the update conditions, calibrate the capacitance reference value of each first capacitor node based on the capacitance detection value of each first capacitor node.
[0134] In some embodiments of this disclosure, the third determining module 603 is further configured to: obtain a first flatness value of the touch area based on the capacitance detection value of each first capacitor node; obtain a second flatness value of the touch area based on the capacitance reference value of each first capacitor node; and determine that the touch area meets the update condition in response to the first flatness value and the second flatness value satisfying a preset condition.
[0135] In some embodiments of this disclosure, the first flatness value and the second flatness value satisfy preset conditions, including: the sum of the first flatness value and the target threshold is less than the second flatness value.
[0136] In some embodiments of this disclosure, obtaining a first flatness value of the touch area based on the capacitance detection values of each first capacitor node includes: performing differential calculations on the capacitance detection values of each first capacitor node row by row to obtain a first difference matrix; performing differential calculations on the elements of the first difference matrix column by column to obtain a second difference matrix; and summing the values of each element in the second difference matrix to obtain the first flatness value of the touch area.
[0137] In some embodiments of this disclosure, obtaining a second flatness value of the touch area based on the capacitance reference value of each first capacitor node includes: performing differential calculation on the capacitance reference value of each first capacitor node by row to obtain a third difference matrix; performing differential calculation on the element values of each element in the third difference matrix by column to obtain a fourth difference matrix; and summing the element values of each element in the fourth difference matrix to obtain the second flatness value of the touch area.
[0138] In some embodiments of this disclosure, the first determining module 601 is further configured to: determine the amount of change in capacitance signal of each capacitor node on the touch screen, and determine the maximum value among the various capacitance signal changes; and determine that the touch screen is in a touch state in response to the maximum value being greater than or equal to a touch threshold.
[0139] According to the touchscreen calibration apparatus of this disclosure, when the touchscreen is in a touch state, for the touch area, a first flatness value and a second flatness value of the touch area are obtained based on the capacitance detection value of each first capacitor node and the capacitance reference value of each first capacitor node in the touch area. Based on the first flatness value and the second flatness value of the touch area, it is determined whether the capacitance reference value of each first capacitor node in the touch area needs to be calibrated, that is, calibration is performed on touch areas with abnormal capacitance reference values. This disclosure can perform local real-time calibration of the capacitance reference value of the touchscreen when the touchscreen is touched, and determine whether the local touch area needs capacitance reference value calibration based on the first flatness value and the second flatness value of the touch area, so as to realize real-time judgment and calibration operation of ghost point behavior. It can avoid ghost point behavior caused by abnormal contact area capacitance changes due to interference factors being mistakenly updated to the capacitance reference value, reduce the probability of ghost points, and increase the accuracy of calibration. It eliminates the need for forced calibration of the touchscreen, thus improving the user experience.
[0140] Figure 7 This is a schematic diagram illustrating the structure of a touchscreen calibration device according to an exemplary embodiment. Figure 7 As shown, the touchscreen calibration device may further include a touch control module 704. Specifically, the touch control module 704 is used to calculate the coordinates of the touch area in response to the touch area not meeting the update conditions, obtain the coordinates of the touch area, and perform the corresponding touch operation based on the coordinates.
[0141] in, Figure 7 701-703 and Figure 6 The 601-603 series have the same function and structure.
[0142] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments concerning the real-time dialogue translation method applied to mobile terminals, and will not be elaborated upon here.
[0143] According to the touchscreen calibration apparatus of this disclosure, when the touchscreen is in a touch state, for the touch area, a first flatness value and a second flatness value of the touch area are obtained based on the capacitance detection value of each first capacitor node and the capacitance reference value of each first capacitor node in the touch area. Based on the first flatness value and the second flatness value of the touch area, it is determined whether the capacitance reference value of each first capacitor node in the touch area needs to be calibrated. That is, calibration is performed on touch areas with abnormal capacitance reference values, and for touch areas with normal capacitance reference values, the coordinates of the touch area are obtained, and a corresponding touch operation is performed based on the coordinates. This disclosure can determine whether a local touch area needs capacitance reference value calibration based on the first flatness value and the second flatness value of the touch area when the touchscreen is touched, so as to realize the real-time judgment and calibration operation of ghost point behavior. It can avoid ghost point behavior caused by abnormal contact area capacitance changes due to interference factors being mistakenly updated to the capacitance reference value, reduce the probability of ghost points, increase the accuracy of calibration, and eliminate the need for forced calibration of the touchscreen, further improving the user experience.
[0144] Figure 8 This is a schematic diagram illustrating the structure of a touchscreen calibration device according to an exemplary embodiment. Figure 8 As shown, the touchscreen calibration device may further include: a first calibration module 805 and a second calibration module 806.
[0145] Specifically, the first calibration module 805 is used to determine the non-touch area on the touch screen and determine the capacitance detection value of each second capacitor node in the non-touch area; based on the capacitance detection value of each second capacitor node, the capacitance reference value of each second capacitor node is calibrated.
[0146] The second calibration module 806 responds to the fact that the maximum value is less than the touch threshold, determines that the touch screen is in a no-touch state, and calibrates the capacitance reference value of each capacitor node on the touch screen based on the capacitance detection value of each capacitor node on the touch screen.
[0147] in, Figure 8 801-804 and Figure 7 The 701-704 series have the same function and structure.
[0148] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments concerning the real-time dialogue translation method applied to mobile terminals, and will not be elaborated upon here.
[0149] According to the touchscreen calibration apparatus of this disclosure, when the touchscreen is in a touch state, for the touch area, based on the capacitance detection value of each first capacitor node in the touch area and the capacitance reference value of each first capacitor node, it is determined whether the capacitance reference value of each first capacitor node in the touch area needs to be calibrated, that is, calibration is performed for touch areas that may be subject to interference; for the non-touch area, based on the capacitance detection value of each second capacitor node in the non-touch area, the capacitance reference value of each second capacitor node is calibrated. When the touchscreen is in a non-touch state, based on the capacitance detection value of each capacitor node on the touchscreen, the capacitance reference value of each capacitor node on the touchscreen is calibrated. This disclosure can perform real-time calibration of the capacitance reference value of the touchscreen, which can avoid ghost point behavior caused by capacitance changes in abnormal contact areas due to interference factors being mistakenly updated into the capacitance reference value, reducing the probability of ghost points, eliminating the need for forced calibration of the touchscreen, and further improving the user experience.
[0150] Figure 9 This is a block diagram illustrating an electronic device 900 according to an exemplary embodiment. For example, the electronic device 900 may be a terminal device with a touchscreen, such as a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0151] Reference Figure 9 The electronic device 900 includes a touch screen 901 and may also include one or more of the following components: a processing component 902, a memory 904, a power supply component 906, a multimedia component 908, an audio component 910, an input / output (I / O) interface 912, a sensor component 914, and a communication component 916.
[0152] Processing component 902 typically controls the overall operation of electronic device 900, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 902 may include one or more processors 920 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 902 may include one or more modules to facilitate interaction between processing component 902 and other components. For example, processing component 902 may include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
[0153] Memory 904 is configured to store various types of data to support the operation of electronic device 900. Examples of this data include instructions for any application or method operating on electronic device 900, contact data, phonebook data, messages, pictures, videos, etc. Memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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 storage, flash memory, magnetic disk, or optical disk.
[0154] Power component 906 provides power to various components of electronic device 900. Power component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 900.
[0155] Multimedia component 908 includes a screen that provides an output interface between the electronic device 900 and the 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 touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 908 includes a front-facing camera and / or a rear-facing camera. When the device 900 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0156] Audio component 910 is configured to output and / or input audio signals. For example, audio component 910 includes a microphone (MIC) configured to receive external audio signals when electronic device 900 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 904 or transmitted via communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
[0157] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0158] Sensor assembly 914 includes one or more sensors for providing state assessments of various aspects of electronic device 900. For example, sensor assembly 914 can detect the on / off state of device 900, the relative positioning of components such as the display and keypad of electronic device 900, changes in 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 temperature changes of electronic device 900. Sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. 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, sensor assembly 914 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0159] Communication component 916 is configured to facilitate wired or wireless communication between electronic device 900 and other devices. Electronic device 900 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 916 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 916 also includes a near-field communication (NFC) module to facilitate short-range communication. 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.
[0160] 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, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0161] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, which can be executed by a processor 920 of an electronic device 900 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0162] In an exemplary embodiment, a computer program product is also provided, including a computer program that is executed by a processor 920 of an electronic device 900 to perform the above-described method.
[0163] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this disclosure, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0164] Other embodiments of the invention will readily occur to those skilled in the art upon 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 that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the following claims.
[0165] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A touchscreen calibration method, characterized in that, include: When the touchscreen is in a touch state, the touch area on the touchscreen is determined; Determine the capacitance detection value of each first capacitor node in the touch area and the capacitance reference value of each first capacitor node; The capacitance detection values of each of the first capacitor nodes are calculated by row difference to obtain the first difference matrix; The second difference matrix is obtained by performing column-wise difference calculations on each element of the first difference matrix. The first flatness value of the touch area is obtained by summing the values of each element in the second difference matrix. Based on the capacitance reference value of each first capacitor node, a second flatness value of the touch area is obtained, wherein the flatness value is used to characterize the consistency of capacitance change between adjacent capacitor nodes in a local area. Based on the first flatness value and the second flatness value, determine whether to calibrate the capacitance reference value of each first capacitor node in the touch area.
2. The method as described in claim 1, characterized in that, The step of determining whether to calibrate the capacitance reference value of each first capacitor node in the touch area based on the first flatness value and the second flatness value includes: In response to the first flatness value and the second flatness value satisfying a preset condition, it is determined that the touch area meets the update condition; In response to the touch area satisfying the update condition, the capacitance reference value of each first capacitor node is calibrated based on the capacitance detection value of each first capacitor node.
3. The method as described in claim 2, characterized in that, The first flatness value and the second flatness value satisfy preset conditions, including: The sum of the first flatness value and the target threshold is less than the second flatness value.
4. The method according to any one of claims 1 to 3, characterized in that, Also includes: In response to the fact that the touch area does not meet the update condition, the coordinates of the touch area are calculated to obtain the coordinates of the touch area, and the corresponding touch operation is performed according to the coordinates.
5. The method as described in claim 1, characterized in that, Before the step of determining the touch area on the touchscreen when the touchscreen is in a touch state, the method further includes: Determine the capacitance signal change of each capacitor node on the touch screen, and determine the maximum value among the capacitance signal changes. In response to the maximum value being greater than or equal to the touch threshold, it is determined that the touchscreen is in a touch state.
6. The method as described in claim 5, characterized in that, Also includes: In response to the maximum value being less than the touch threshold, it is determined that the touchscreen is in a no-touch state, and the capacitance reference value of each capacitor node on the touchscreen is calibrated based on the capacitance detection value of each capacitor node on the touchscreen.
7. The method as described in claim 1, characterized in that, Also includes: Determine the non-touch area on the touch screen, and determine the capacitance detection value of each second capacitor node in the non-touch area; The capacitance reference value of each second capacitor node is calibrated based on the capacitance detection value of each second capacitor node.
8. A touchscreen calibration device, characterized in that, include: The first determining module is used to determine the touch area on the touch screen when the touch screen is in a touch state; The second determining module is used to determine the capacitance detection value of each first capacitor node in the touch area and the capacitance reference value of each first capacitor node. The third determining module is used to perform differential calculation of the capacitance detection values of each first capacitor node by row to obtain a first difference matrix; The second difference matrix is obtained by performing column-wise difference calculations on each element of the first difference matrix. The first flatness value of the touch area is obtained by summing the values of each element in the second difference matrix. Based on the capacitance reference value of each first capacitor node, a second flatness value of the touch area is obtained, wherein the flatness value is used to characterize the consistency of capacitance change between adjacent capacitor nodes in a local area. Based on the first flatness value and the second flatness value, determine whether to calibrate the capacitance reference value of each first capacitor node in the touch area.
9. The apparatus as claimed in claim 8, characterized in that, The third determining module is specifically used for: In response to the first flatness value and the second flatness value satisfying a preset condition, it is determined that the touch area meets the update condition; In response to the touch area satisfying the update condition, the capacitance reference value of each first capacitor node is calibrated based on the capacitance detection value of each first capacitor node.
10. The apparatus as claimed in claim 8, characterized in that, The first determining module is further configured to: Determine the capacitance signal change of each capacitor node on the touch screen, and determine the maximum value among the capacitance signal changes. In response to the maximum value being greater than or equal to the touch threshold, it is determined that the touchscreen is in a touch state.
11. The apparatus as claimed in claim 8, characterized in that, The device further includes a first calibration module for: Determine the non-touch area on the touch screen, and determine the capacitance detection value of each second capacitor node in the non-touch area; The capacitance reference value of each second capacitor node is calibrated based on the capacitance detection value of each second capacitor node.
12. An electronic device, characterized in that, include: touchscreen; processor; A memory for storing processor-executable instructions; wherein the instructions are executed by the processor to enable the processor to perform the method of any one of claims 1 to 7.
13. A computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the method of any one of claims 1 to 7.
Citation Information
Patent Citations
Capacitive touch detection method, device and mobile terminal
CN104423753A
Method and apparatus for determining reference value, and electronic terminal thereof
CN109601015A