Touch method, touch panel and electronic equipment

By designing the touch panel of the three-layer electrode array, and using capacitance changes to identify the touch position, the problem of capacitive touch panel failure in the underwater environment is solved, and accurate touch recognition is achieved in underwater and atmospheric environments.

CN120103997AActive Publication Date: 2025-06-06HONOR DEVICE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311627843.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-29
Publication Date
2025-06-06
Estimated Expiration
2043-11-29

AI Technical Summary

Technical Problem

Capacitive touch panels are prone to failure or identification errors in underwater environments, resulting in failure of touch functions.

Method used

Design a touch panel, including three electrode arrays, and determine the touch position by detecting the capacitance between the upper and lower electrode arrays in an underwater environment; determine the touch position by detecting the capacitance between the same electrode array in an atmospheric environment.

Benefits of technology

Accurate touch position recognition is achieved in the underwater environment, avoiding the failure of touch function; and high-sensitivity touch recognition is maintained in the atmospheric environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120103997A_ABST
    Figure CN120103997A_ABST
Patent Text Reader

Abstract

The invention provides a touch method, a touch panel and electronic equipment. The touch panel comprises a first electrode array, a second electrode array and a third electrode array. Electrodes in each column in the first electrode array are connected in sequence, electrodes in each row in the second electrode array are connected in sequence, and electrodes in each column in the third electrode array are connected in sequence; the first electrode array and the second electrode array are crisscrossed, the second electrode array and the third electrode array are crisscrossed, and the first electrode array and the second electrode array are both located on the third electrode array. In the underwater environment, executing the following steps: receiving a first operation acting on the touch panel, detecting a self-capacitance between the first electrode array and the third electrode array, and determining an abscissa on which the first operation acts according to the detected self-capacitance; and detecting the mutual capacitance between the second electrode array and the third electrode array, and determining the ordinate on which the first operation acts according to the detected mutual capacitance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminals, and in particular to a touch control method, a touch control panel and an electronic device. Background Art

[0002] Currently, capacitive touch panels are widely used due to their high sensitivity, but they are also very susceptible to environmental interference. For example, when the capacitive touch panel comes into contact with water, the touch function may fail or touch recognition may be erroneous.

[0003] When a capacitive touch panel comes into contact with water, how to ensure the effectiveness and accuracy of the touch function is an urgent problem to be solved. Summary of the invention

[0004] The present application provides a touch method, a touch panel and an electronic device, wherein the touch panel includes at least three electrode arrays. In an underwater environment, the capacitance between two electrode arrays placed in the upper and lower layers is detected. When a user inputs a touch operation to the touch panel, the capacitance of the electrodes between the upper and lower layers at the touch position changes due to the shortened spacing, and the touch position is determined by determining the location of the electrode where the capacitance changes by a preset value. In an atmospheric environment, the capacitance between two electrode arrays arranged in the same layer can be detected. When a user inputs a touch operation to the touch panel, the capacitance of the electrodes at the touch position changes due to the electrical signal carried by the finger, and the touch position is determined by determining the location of the electrode where the capacitance changes by a preset value.

[0005] In a first aspect, the present application provides a touch method, which is applied to an electronic device including a touch panel, wherein the touch panel includes a first electrode array, a second electrode array and a third electrode array, wherein electrodes in each column of the first electrode array are connected in sequence, electrodes in each row of the second electrode array are connected in sequence, and electrodes in each column of the third electrode array are connected in sequence; the first electrode array and the second electrode array are crisscrossed, the second electrode array and the third electrode array are crisscrossed, and the first electrode array and the second electrode array are both located above the third electrode array; the method includes: the electronic device is in an underwater environment; a first operation acting on the touch panel is received; self-capacitance between the first electrode array and the third electrode array is detected, and the horizontal coordinate of the touch panel acted by the first operation is determined according to the detected self-capacitance; mutual capacitance between the second electrode array and the third electrode array is detected, and the vertical coordinate of the touch panel acted by the first operation is determined according to the detected mutual capacitance.

[0006] After implementing the method provided in the first aspect, an underwater touch detection function is realized by designing an upper and lower electrode array, thereby improving the user experience.

[0007] In combination with the method described in the first aspect, before detecting the self-capacitance between the first electrode array and the third electrode array, the method also includes: inputting a first excitation signal to the third electrode array and grounding the first electrode array; or, inputting the first excitation signal to the first electrode array and grounding the third electrode array.

[0008] In this way, when performing underwater touch detection, the self-capacitance relationship between the upper and lower layers can be constructed by the third electrode array and the first electrode array, that is, any one of the two arrays is used as the transmitting electrode and the other array is grounded. In this way, the horizontal coordinate of the touch position can be determined by detecting the self-capacitance between the two electrode arrays.

[0009] In combination with the method described in the first aspect, before detecting the self-capacitance between the first electrode array and the third electrode array, the method further includes: controlling the second electrode array to be grounded or inputting a second excitation signal to the second electrode array.

[0010] In this way, in the self-capacitance detection stage of underwater touch detection, the second electrode array not involved in capacitance detection can be used as a signal shielding layer to shield the interference of water, so that a more accurate touch position can still be detected in an underwater environment.

[0011] In combination with the method described in the first aspect, before detecting the mutual capacitance between the second electrode array and the third electrode array, the method also includes: inputting a third excitation signal to the electrodes in each row of the second electrode array in turn; detecting the mutual capacitance between the second electrode array and the third electrode array, specifically including: detecting the mutual capacitance between the second electrode array and the third electrode array through the induction signal output by the third electrode array; or, inputting the third excitation signal to the electrodes in each column of the third electrode array in turn; detecting the mutual capacitance between the second electrode array and the third electrode array, specifically including: detecting the mutual capacitance between the second electrode array and the third electrode array through the induction signal output by the second electrode array.

[0012] In this way, when performing underwater touch detection, the mutual capacitance relationship between the upper and lower layers can be constructed by the third electrode array and the second electrode array, that is, any one of the two arrays is used as the transmitting electrode and the other array is used as the receiving electrode (sensing electrode). In this way, the horizontal coordinate of the touch position can be determined by detecting the mutual capacitance between the two electrode arrays.

[0013] In combination with the method described in the first aspect, before detecting the mutual capacitance between the second electrode array and the third electrode array, the method further includes: controlling the first electrode array to be grounded or inputting a fourth excitation signal to the first electrode array.

[0014] In this way, in the mutual capacitance detection stage of underwater touch detection, the first electrode array not involved in capacitance detection can be used as a signal shielding layer to shield the interference of water, so that a more accurate touch position can still be detected in an underwater environment.

[0015] In combination with the method described in the first aspect, detecting the self-capacitance between the first electrode array and the third electrode array specifically includes: in a first time period when the electronic device is in an underwater environment, detecting the self-capacitance between the first electrode array and the third electrode array; detecting the mutual capacitance between the second electrode array and the third electrode array specifically includes: in a second time period when the electronic device is in an underwater environment, detecting the mutual capacitance between the second electrode array and the third electrode array; wherein the first time period and the second time period are continuous and alternating time periods.

[0016] In this way, the horizontal and vertical coordinates of the touch position can be determined by alternately performing self-capacitance detection and mutual-capacitance detection at high frequency.

[0017] In combination with the method described in the first aspect, the first electrode array and the second electrode array are both arranged in the first electrode layer of the touch panel, the third electrode array is arranged in the second electrode layer of the touch panel, and the first electrode layer is above the second electrode layer.

[0018] In this way, the third electrode array used in both the self-capacitance stage and the mutual-capacitance stage is set separately in a layer, and the first electrode array used in the self-capacitance stage and the second electrode array used in the mutual-capacitance stage are set in the same layer. This can ensure that the self-capacitance relationship and the mutual-capacitance relationship between the upper and lower layers are constructed, making it easier for electronic devices to determine the touch position by detecting the change in the distance between the electrode layers caused by the touch operation, and can also improve the integration of the electrode array without the need for three electrode layers.

[0019] In combination with the method described in the first aspect, after determining the horizontal coordinate and the vertical coordinate of the touch panel on which the first operation acts, the method further includes: executing a task corresponding to the first operation in response to the first operation.

[0020] In this way, after the touch position of the first operation is identified, the meaning indicated by the first operation can be determined, so that the electronic device executes the task corresponding to the first operation, thereby improving the user's touch experience.

[0021] In combination with the method described in the first aspect, the method also includes: the electronic device is in an atmospheric environment; a second operation acting on the touch panel is received; the mutual capacitance between the first electrode array and the second electrode array is detected, and the horizontal and vertical coordinates of the touch panel acted on by the second operation are determined based on the detected mutual capacitance.

[0022] In this way, in addition to being able to detect touch positions in underwater environments, electronic devices can also detect touch positions in atmospheric environments using only two electrode arrays, ensuring that users can use the touch detection function in the atmosphere or underwater, thereby improving user experience.

[0023] In combination with the method described in the first aspect, before detecting the mutual capacitance between the first electrode array and the second electrode array, the method also includes: inputting a fifth excitation signal to the electrodes in each column of the first electrode array in sequence; detecting the mutual capacitance between the first electrode array and the second electrode array, specifically including: detecting the mutual capacitance between the first electrode array and the second electrode array through the induction signal output by the second electrode array.

[0024] In this way, when touch detection is performed in an atmospheric environment, a mutual capacitance relationship can be constructed by the first electrode array and the second electrode array, and any one of the electrode arrays can be used as a transmitting electrode and the other electrode array as a receiving electrode. In this way, the horizontal and vertical coordinates of the touch position can be determined by detecting the mutual capacitance between the two electrode arrays.

[0025] In combination with the method described in the first aspect, before detecting the mutual capacitance between the first electrode array and the second electrode array, the method further includes: sequentially inputting a sixth excitation signal to the electrodes in each column of the third electrode array.

[0026] In this way, when performing touch detection in an atmospheric environment, the third electrode array not involved in capacitance detection can be used as a signal reinforcement layer, that is, the third electrode array can also be used as a transmitting electrode, so that a more accurate touch position can be detected.

[0027] In combination with the method described in the first aspect, after determining the horizontal coordinate and the vertical coordinate of the touch panel acted by the second operation, the method further includes: in response to the second operation, executing a task corresponding to the second operation.

[0028] In this way, after the touch position of the second operation is identified, the meaning indicated by the second operation can be determined, so that the electronic device executes the task corresponding to the second operation, thereby improving the user's touch experience.

[0029] In combination with the method described in the first aspect, before the electronic device is in an underwater environment, the method also includes: acquiring first environmental data, determining that the electronic device is in the underwater environment based on the first environmental data, and starting an underwater touch detection mode for the electronic device when in the underwater environment.

[0030] In this way, the electronic device can intelligently identify whether it is in an underwater environment without the need for manual settings by the user. If it is identified as being in an underwater environment, it will automatically perform subsequent underwater touch detection, reducing the user's manual operation of setting the touch detection mode and improving the user experience.

[0031] In combination with the method described in the first aspect, before obtaining the first environmental data, the method also includes: a third operation and a fourth operation are not detected, the third operation is used to instruct the electronic device to turn on the underwater touch detection mode, and the fourth operation is used to instruct the electronic device to turn on the atmospheric touch detection mode.

[0032] In this way, when the user has not manually set the touch detection mode, the electronic device will determine the touch detection mode through intelligent recognition of the environment. This can ensure that intelligent services are provided to the user when the user forgets to set the touch detection mode, and when the user manually sets it, the detection mode set by the user is given priority, giving priority to the user's subjective intention, thereby further improving the user experience.

[0033] In combination with the method described in the first aspect, determining that the electronic device is in the underwater environment based on the first environmental data specifically includes: acquiring capacitance data through the first electrode array and the second electrode array, and after detecting that the number of capacitance values ​​in the capacitance data that is greater than the first threshold is greater than the second threshold, determining that the electronic device is in the underwater environment.

[0034] In this way, the number of capacitance data failures can be used to accurately identify whether the current environment is in touch detection mode, avoiding occasional wet hand touch in the atmospheric environment or misjudging a small area of ​​water as an underwater environment.

[0035] In combination with the method described in the first aspect, before entering the underwater environment, the method further includes: receiving a fifth operation for starting the underwater touch detection mode.

[0036] In a second aspect, the present application provides a touch method, which is applied to an electronic device including a touch panel, the touch panel including a first electrode array, a second electrode array and a third electrode array, the electrodes in each column of the first electrode array are connected in sequence, the electrodes in each row of the second electrode array are connected in sequence, and the electrodes in each row of the third electrode array are connected in sequence; the first electrode array and the second electrode array are crisscrossed, the second electrode array and the third electrode array are crisscrossed, and the first electrode array and the second electrode array are both located above the third electrode array; the method includes: the electronic device is in an underwater environment; a first operation acting on the touch panel is received; the self-capacitance between the first electrode array and the third electrode array is detected, and the horizontal coordinate of the touch panel acted by the first operation is determined according to the detected self-capacitance; the mutual capacitance between the second electrode array and the third electrode array is detected, and the vertical coordinate of the touch panel acted by the first operation is determined according to the detected mutual capacitance.

[0037] After implementing the method provided in the second aspect, another upper and lower electrode array is designed to realize the underwater touch detection function, thereby improving the user experience.

[0038] In combination with the method described in the second aspect, before detecting the self-capacitance between the first electrode array and the third electrode array, the method further includes: inputting a seventh excitation signal to the first electrode array and grounding the third electrode array.

[0039] In this way, when performing underwater touch detection, the self-capacitance relationship between the upper and lower layers can be constructed by the third electrode array and the first electrode array, that is, any one of the two arrays is used as the transmitting electrode and the other array is grounded. In this way, the horizontal coordinate of the touch position can be determined by detecting the self-capacitance between the two electrode arrays.

[0040] In combination with the method described in the second aspect, before detecting the self-capacitance between the first electrode array and the third electrode array, the method further includes: controlling the second electrode array to be grounded or inputting an eighth excitation signal to the second electrode array.

[0041] In this way, in the self-capacitance detection stage of underwater touch detection, the second electrode array not involved in capacitance detection can be used as a signal shielding layer to shield the interference of water, so that a more accurate touch position can still be detected in an underwater environment.

[0042] In combination with the method described in the second aspect, before detecting the mutual capacitance between the second electrode array and the third electrode array, the method also includes: inputting a ninth excitation signal to the electrodes in each row of the third electrode array in turn; detecting the mutual capacitance between the second electrode array and the third electrode array, specifically including: detecting the mutual capacitance between the second electrode array and the third electrode array through the induction signal output by the second electrode array; or, inputting the ninth excitation signal to the electrodes in each row of the second electrode array in turn; detecting the mutual capacitance between the second electrode array and the third electrode array, specifically including: detecting the mutual capacitance between the second electrode array and the third electrode array through the induction signal output by the third electrode array.

[0043] In this way, when performing underwater touch detection, the mutual capacitance relationship between the upper and lower layers can be constructed by the third electrode array and the second electrode array, that is, any one of the two arrays is used as the transmitting electrode and the other array is used as the receiving electrode (sensing electrode). In this way, the horizontal coordinate of the touch position can be determined by detecting the mutual capacitance between the two electrode arrays.

[0044] In combination with the method described in the second aspect, before detecting the mutual capacitance between the second electrode array and the third electrode array, the method further includes: controlling the first electrode array to be grounded or inputting a tenth excitation signal to the first electrode array.

[0045] In this way, in the mutual capacitance detection stage of underwater touch detection, the first electrode array not involved in capacitance detection can be used as a signal shielding layer to shield the interference of water, so that a more accurate touch position can still be detected in an underwater environment.

[0046] In a third aspect, the present application provides a touch method, which is applied to an electronic device including a touch panel, the touch panel including a first electrode array, a second electrode array and a third electrode array, the electrodes in each column of the first electrode array are connected in sequence, the electrodes in each row of the second electrode array are connected in sequence, and the electrodes in each row of the third electrode array are connected in sequence; the first electrode array and the second electrode array are crisscrossed, the first electrode array is also crisscrossed with the third electrode array, and the first electrode array and the second electrode array are both located above the third electrode array; the method includes: the electronic device is in an underwater environment; a first operation acting on the touch panel is received; the self-capacitance between the second electrode array and the third electrode array is detected, and the vertical coordinate of the touch panel acted by the first operation is determined according to the detected self-capacitance; the mutual capacitance between the first electrode array and the third electrode array is detected, and the horizontal coordinate of the touch panel acted by the first operation is determined according to the detected mutual capacitance.

[0047] After implementing the method provided in the third aspect, another upper and lower electrode array is designed to realize the underwater touch detection function, thereby improving the user experience.

[0048] In combination with the method described in the third aspect, before detecting the self-capacitance between the second electrode array and the third electrode array, the method also includes: inputting an eleventh excitation signal to the second electrode array and grounding the third electrode array; or, inputting the eleventh excitation signal to the third electrode array and grounding the second electrode array.

[0049] In this way, when performing underwater touch detection, the self-capacitance relationship between the upper and lower layers can be constructed by the second electrode array and the third electrode array, that is, any one of the two arrays is used as the transmitting electrode and the other array is grounded. In this way, the horizontal coordinate of the touch position can be determined by detecting the self-capacitance between the two electrode arrays.

[0050] In combination with the method described in the third aspect, before detecting the self-capacitance between the second electrode array and the third electrode array, the method further includes: controlling the first electrode array to be grounded or inputting a twelfth excitation signal to the first electrode array.

[0051] In this way, in the self-capacitance detection stage of underwater touch detection, the first electrode array not involved in capacitance detection can be used as a signal shielding layer to shield the interference of water, so that a more accurate touch position can still be detected in an underwater environment.

[0052] In combination with the method described in the third aspect, before detecting the mutual capacitance between the first electrode array and the third electrode array, the method also includes: inputting a thirteenth excitation signal to the electrodes in each column of the first electrode array in turn; detecting the mutual capacitance between the first electrode array and the third electrode array, specifically including: detecting the mutual capacitance between the third electrode array and the first electrode array through the induction signal output by the third electrode array; or, inputting the thirteenth excitation signal to the electrodes in each row of the third electrode array in turn; detecting the mutual capacitance between the first electrode array and the third electrode array, specifically including: detecting the mutual capacitance between the third electrode array and the first electrode array through the induction signal output by the first electrode array.

[0053] In this way, when performing underwater touch detection, the mutual capacitance relationship between the upper and lower layers can be constructed by the third electrode array and the first electrode array, that is, any one of the two arrays is used as the transmitting electrode and the other array is used as the receiving electrode (sensing electrode). In this way, the horizontal coordinate of the touch position can be determined by detecting the mutual capacitance between the two electrode arrays.

[0054] In combination with the method described in the third aspect, before detecting the mutual capacitance between the first electrode array and the third electrode array, the method further includes: controlling the second electrode array to be grounded or inputting a fourteenth excitation signal to the second electrode array.

[0055] In this way, in the mutual capacitance detection stage of underwater touch detection, the second electrode array not involved in capacitance detection can be used as a signal shielding layer to shield the interference of water, so that a more accurate touch position can still be detected in an underwater environment.

[0056] In a fourth aspect, the present application provides a touch method, which is applied to an electronic device including a touch panel, the touch panel including a first electrode array, a second electrode array, a third electrode array and a fourth electrode array, the electrodes in each column of the first electrode array are connected in sequence, the electrodes in each row of the second electrode array are connected in sequence, the electrodes in each column of the third electrode array are connected in sequence, and the electrodes in each row of the fourth electrode array are connected in sequence; the first electrode array and the second electrode array are crisscrossed, the second electrode array and the fourth electrode array are crisscrossed, the third electrode array and the fourth electrode array are crisscrossed, and the first electrode array and the second electrode array are both located above the third electrode array and the fourth electrode array; the method includes: the electronic device is in an underwater environment; a first operation acting on the touch panel is received; the self-capacitance between the first electrode array and the fourth electrode array is detected, and the horizontal coordinate of the touch panel acted by the first operation is determined according to the detected self-capacitance; the self-capacitance between the second electrode array and the third electrode array is detected, and the vertical coordinate of the touch panel acted by the first operation is determined according to the detected self-capacitance.

[0057] After implementing the method provided in the fourth aspect, the underwater touch detection function is realized by designing another upper and lower electrode array to improve the user experience.

[0058] In a fifth aspect, the present application provides an electronic device, which includes the touch panel, one or more memories, and one or more processors; the touch panel, the memory are coupled to the one or more processors, the touch panel is used to receive touch operations, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute the method described in any one of the first to fourth aspects.

[0059] In a sixth aspect, the present application provides a chip, which is applied to an electronic device including the touch panel, and the chip includes one or more processors, and the processor is used to call computer instructions to enable the electronic device to execute the method described in any one of the first to fourth aspects.

[0060] In a seventh aspect, the present application provides a computer-readable storage medium comprising instructions, which, when executed on an electronic device comprising the touch panel, enables the electronic device to execute the method described in any one of the first to fourth aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 A schematic diagram of the structure of a touch panel provided in an embodiment of the present application;

[0062] Figure 2 A schematic diagram of the structure of a screen 10 of an electronic device provided in an embodiment of the present application;

[0063] Figure 3A A schematic diagram of the structure of a touch panel 121 provided in an embodiment of the present application;

[0064] Figure 3B A schematic diagram of the structure of a touch panel 122 provided in an embodiment of the present application;

[0065] Figure 3C A schematic diagram of the structure of a touch panel 123 provided in an embodiment of the present application;

[0066] Figure 4A A schematic diagram of the structure of an electrode array in a touch panel 121 provided in an embodiment of the present application;

[0067] Figure 4B A schematic diagram of the structure of an electrode array in a touch panel 122 provided in an embodiment of the present application;

[0068] Figure 4C A schematic diagram of the structure of an electrode array in another touch panel 122 provided in an embodiment of the present application;

[0069] Figure 4D A schematic diagram of the structure of an electrode array in another touch panel 123 provided in an embodiment of the present application;

[0070] Figure 5 A schematic diagram of a method flow for determining a touch detection mode provided in an embodiment of the present application;

[0071] Figure 6 A schematic diagram of a method flow for automatically setting a touch detection mode provided in an embodiment of the present application;

[0072] Fig. 7A A schematic diagram of the touch panel 121 provided in an embodiment of the present application performing self-capacitance detection in an underwater environment;

[0073] Figure 7B A schematic diagram of the touch panel 121 provided in an embodiment of the present application performing mutual capacitance detection in an underwater environment;

[0074] Fig. 8A A schematic diagram of a touch panel 121 provided in an embodiment of the present application performing self-capacitance detection in an underwater environment;

[0075] Figure 8B A schematic diagram of a touch panel 121 provided in an embodiment of the present application performing mutual capacitance detection in an underwater environment;

[0076] Fig.9A A schematic diagram of another touch panel 122 provided in an embodiment of the present application performing self-capacitance detection in an underwater environment;

[0077] Fig. 9B A schematic diagram of another touch panel 122 provided in an embodiment of the present application performing mutual capacitance detection in an underwater environment;

[0078] Fig. 10A A schematic diagram of a touch panel 123 provided in an embodiment of the present application performing self-capacitance detection in an underwater environment;

[0079] Fig. 10B A schematic diagram of another touch panel 123 provided in an embodiment of the present application performing self-capacitance detection in an underwater environment;

[0080] Fig.11 A schematic diagram of the hardware architecture of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0081] The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0082] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0083] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.

[0084] The term "user interface (UI)" in the following embodiments of the present application refers to a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device, and finally presented as content that can be recognized by the user. The commonly used form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.

[0085] Currently, most electronic devices have capacitive touch panels on their screens. Figure 1 shown.

[0086] See also Figure 1 , Figure 1 A schematic structural diagram of a touch panel is shown.

[0087] like Figure 1 As shown, the touch panel includes two first electrode arrays and second electrode arrays that are staggered horizontally and vertically. The first electrode array includes N columns of electrodes arranged in parallel, and each column of electrodes includes a plurality of electrodes arranged in sequence along the Y-axis direction. The second electrode array includes M rows of electrodes arranged in parallel, and each row of electrodes includes a plurality of electrodes arranged in sequence along the X-axis direction. In addition, the first electrode array and the second electrode array are arranged in the same layer, and the second electrode array realizes the connection of each electrode by bridging.

[0088] In one touch detection method, the electronic device can Figure 1The touch panel shown performs mutual capacitance detection to identify the location of the touch operation input by the user. Specifically, the first electrode array is used as a transmitting (transmit, Tx) electrode, and the second electrode array is used as a receiving (receive, Rx) electrode. The excitation signal is input to each column of electrodes in the first electrode array in sequence, and the sensing signals of all rows in the second electrode array are detected at the same time to obtain the mutual capacitance between the first electrode array and the second electrode array, and the coordinate point where the mutual capacitance in the touch panel changes by a preset value is used as the touch position. For example, the excitation signal is input in sequence in the order of (Y1, Y2...YN), and in the process of inputting the excitation signal in sequence, the sensing signals in X1, X2...XM in the second electrode array are detected at the same time, and the mutual capacitance of the coordinate point where the first electrode array and the second electrode array intersect is obtained, and the coordinate point where the mutual capacitance in the touch panel changes by a preset value is used as the touch position. Among them, the preset change in mutual capacitance includes a preset value reduction in mutual capacitance, because the finger touch will absorb part of the excitation signal in the first electrode array at the touch position.

[0089] In another touch detection method, the electronic device can Figure 1 The touch panel shown performs self-capacitance detection to identify the location of the touch operation input by the user. Specifically, the self-capacitance between the first electrode array and the ground, and the self-capacitance between the second electrode array and the ground are detected respectively, and the coordinate point where a column of the first electrode array where the self-capacitance undergoes a preset change and a row of the second electrode array where the self-capacitance undergoes a preset change are intersected is used as the touch position. Among them, the preset change in self-capacitance includes an increase in the self-capacitance by a preset value, because the finger touch will superimpose a portion of the self-capacitance between the finger and the ground at the touch position in the second electrode array.

[0090] Regarding the adoption of the above Figure 1 The touch panel shown may also be used in other ways to implement touch detection. The above description is only a specific implementation method of mutual capacitance detection and self capacitance detection, and the embodiments of the present application do not limit this.

[0091] However, in Figure 1When the touch panel shown is in an interference environment (for example, underwater, dusty, etc.), the interference environment will also cause the mutual capacitance / self-capacitance in the touch panel to change. Taking water as an interference environment as an example, when water contacts the mutual capacitance touch panel and a finger touches the mutual capacitance touch panel, the direction of the change in mutual capacitance generated by the touch panel is opposite, that is, water contact increases the mutual capacitance and finger touch reduces the mutual capacitance. When water contacts the self-capacitive touch panel and a finger touches the self-capacitive touch panel, the direction of the change in self-capacitance generated by the touch panel is the same, that is, water contact and hand contact both increase the mutual capacitance. Based on the foregoing analysis, it can be seen that the interference environment changes the distribution and state of the capacitance of the touch panel itself, thereby interfering with the recognition of the finger touch position, resulting in a decrease in the accuracy of the final touch position or directly causing the touch function to be unusable.

[0092] In order to solve the above problems and enhance the anti-interference performance of the touch panel, the present application provides a touch method, a touch panel and an electronic device.

[0093] When the first touch panel is adopted, the touch panel includes a first electrode array, a second electrode array and a third electrode array. The electrodes in each column of the first electrode array are connected in sequence, the electrodes in each row of the second electrode array are connected in sequence, and the electrodes in each column of the third electrode array are connected in sequence; the first electrode array and the second electrode array are crisscrossed, the second electrode array and the third electrode array are crisscrossed, and the first electrode array and the second electrode array are both located above the third electrode array; the touch method includes: when the electronic device is in an underwater environment, an underwater touch detection mode is enabled, specifically including: receiving a first operation acting on the touch panel, detecting the self-capacitance between the first electrode array and the third electrode array, and determining the horizontal coordinate of the touch panel where the first operation acts according to the detected self-capacitance; detecting the mutual capacitance between the second electrode array and the third electrode array, and determining the vertical coordinate of the touch panel where the first operation acts according to the detected mutual capacitance. When the electronic device is in an atmospheric environment, the atmospheric touch detection mode is enabled, specifically including receiving a second operation acting on the touch panel, detecting the mutual capacitance between the first electrode array and the second electrode array, and determining the horizontal and vertical coordinates of the touch panel on which the second operation acts based on the detected mutual capacitance.

[0094] When the second touch panel is adopted, the touch panel includes a first electrode array, a second electrode array and a third electrode array. The electrodes in each column of the first electrode array are connected in sequence, the electrodes in each row of the second electrode array are connected in sequence, and the electrodes in each row of the third electrode array are connected in sequence; the first electrode array and the second electrode array are crisscrossed, the second electrode array and the third electrode array are crisscrossed, and the first electrode array and the second electrode array are both located above the third electrode array; the touch method includes: when the electronic device is in an underwater environment, an underwater touch detection mode is enabled, specifically including: receiving a first operation acting on the touch panel, detecting the self-capacitance between the first electrode array and the third electrode array, and determining the horizontal coordinate of the touch panel where the first operation acts according to the detected self-capacitance; detecting the mutual capacitance between the second electrode array and the third electrode array, and determining the vertical coordinate of the touch panel where the first operation acts according to the detected mutual capacitance. When the electronic device is in an atmospheric environment, the atmospheric touch detection mode is enabled, specifically including receiving a second operation acting on the touch panel, detecting the mutual capacitance between the first electrode array and the second electrode array, and determining the horizontal and vertical coordinates of the touch panel on which the second operation acts based on the detected mutual capacitance.

[0095] In the third touch panel, the touch panel includes a first electrode array, a second electrode array, a third electrode array and a fourth electrode array. The electrodes in each column of the first electrode array are connected in sequence, the electrodes in each row of the second electrode array are connected in sequence, the electrodes in each column of the third electrode array are connected in sequence, and the electrodes in each row of the fourth electrode array are connected in sequence; the first electrode array and the second electrode array are crisscrossed, the second electrode array and the fourth electrode array are crisscrossed, and the third electrode array and the fourth electrode array are crisscrossed. The first electrode array and the second electrode array are both located above the third electrode array and the fourth electrode array; the touch method includes: when the electronic device is in an underwater environment, an underwater touch detection mode is enabled, specifically including: receiving a first operation acting on the touch panel, detecting the self-capacitance between the first electrode array and the fourth electrode array, and determining the horizontal coordinate of the touch panel where the first operation acts according to the detected self-capacitance; detecting the self-capacitance between the second electrode array and the third electrode array, and determining the vertical coordinate of the touch panel where the first operation acts according to the detected self-capacitance. When the electronic device is in an atmospheric environment, the atmospheric touch detection mode is enabled, specifically including receiving a second operation acting on the touch panel, detecting the mutual capacitance between the first electrode array and the second electrode array, and determining the horizontal and vertical coordinates of the touch panel on which the second operation acts based on the detected mutual capacitance.

[0096] For a detailed introduction to the first type of touch panel, please refer to the following text Figure 3A , Figure 4AFor the description of, and the specific implementation of the above touch detection method using the first touch panel, please refer to the introduction to Table 1 later, which will not be repeated here.

[0097] For a detailed introduction to the second type of touch panel, please refer to the following text Figure 3B , Figure 4B-4C For the description of and the specific implementation of the above touch detection method using the second touch panel, please refer to the introduction of Tables 2 and 3 below, which will not be repeated here.

[0098] For a detailed introduction to the third type of touch panel, please refer to the following text Figure 3C , Figure 4D For the description of and the specific implementation of the above touch detection method using the third touch panel, please refer to the introduction to Table 4 later, which will not be repeated here.

[0099] For the method for the electronic device to determine whether to enable the underwater touch detection mode or the atmospheric touch detection mode, please refer to the following Figure 5-Figure 6 The detailed description is not repeated here.

[0100] The touch method, touch panel or electronic device provided in this application can improve the anti-interference of the touch detection function, and can still realize touch detection in an underwater environment. Specifically, on the basis of reusing the existing mutual capacitance touch panel, only by adding one or more layers of electrode arrays, it is possible to realize point touch recognition in an underwater environment while ensuring high-sensitivity touch recognition in an atmospheric environment. No additional ultrasonic sensors are required, which reduces design costs, and no additional compatible design is required, which speeds up touch detection and response and improves user experience.

[0101] See also Figure 2 , Figure 2 A schematic structural diagram of a screen 10 of an electronic device provided in the present application is shown.

[0102] like Figure 2 As shown, the screen 10 of the electronic device may include components such as a protection layer 11, a touch panel 12, a display module 13 and a substrate 14 from top to bottom.

[0103] Optional, Figure 2 The structure of the screen 10 shown is only an example and should not be construed as limiting the present application. That is, the screen 10 may also include more components, or multiple components may be combined into an integrated structure. For example, the screen 10 may also include a shell supporting the entire screen 10. For example, Figure 1 The touch panel 12 and the display module 13 shown in the figure may be independently manufactured or integrated into one body to form a touch screen.

[0104] Next, see Figure 3A-3C , Figure 3A-3C The schematic diagrams of the structures of several touch panels provided in the present application are shown.

[0105] Figure 3A A schematic structural diagram of the touch panel 121 is shown.

[0106] like Figure 3A As shown, the touch panel 121 includes two layers of electrode arrays, one of which includes two electrode arrays, an X-axis electrode array and a Y-axis electrode array, while the other electrode array includes only the Y-axis electrode array. When the X-axis electrode array in the first layer of electrode array is connected in this layer, in order to ensure that the X-axis electrode array and the Y-axis electrode array do not cross short-circuit, it is necessary to connect the Y-axis electrode array by means of a bridge. That is, the Y-axis electrode array can be connected in the second layer of electrode array through a bridge layer. For details, please refer to the following description. Figure 4A The connection structure of each layer of electrode array involved.

[0107] Above Figure 3A The touch panel 121 shown is a first touch panel, in which the Y-axis electrode array in the first electrode layer can also be called a first electrode array, the X-axis electrode array in the first electrode layer can also be called a second electrode array, and the Y-axis electrode array in the second electrode layer can also be called a third electrode array.

[0108] Figure 3B FIG. 1 is a schematic diagram showing the structure of the touch panel 122 .

[0109] like Figure 3B As shown, the touch panel 122 includes two layers of electrode arrays, one of which includes two electrode arrays, an X-axis electrode array and a Y-axis electrode array, while the other electrode array includes only the X-axis electrode array. When the Y-axis electrode array in the first layer of electrode array is connected in this layer, in order to ensure that the X-axis electrode array and the Y-axis electrode array do not have a cross short circuit problem, it is necessary to connect the X-axis electrode array by means of a bridge. That is, the X-axis electrode array can be connected in the second layer of electrode array through a bridge layer. For details, please refer to the following description. Figure 4B The connection structure of each layer of electrode array involved.

[0110] Above Figure 3B The touch panel 122 shown is a second touch panel, in which the Y-axis electrode array in the first electrode layer can also be called the first electrode array, the X-axis electrode array in the first electrode layer can also be called the second electrode array, and the Y-axis electrode array in the second electrode layer can also be called the third electrode array.

[0111] Figure 3CFIG. 1 is a schematic diagram showing the structure of the touch panel 123 .

[0112] like Figure 3C As shown, the touch panel 123 includes three layers of electrode arrays, one of which includes two electrode arrays, an X-axis electrode array and a Y-axis electrode array, another layer of electrode array includes only the X-axis electrode array, and another layer of electrode array includes only the Y-axis electrode array. When the Y-axis electrode array in the first layer of electrode array is connected in this layer, in order to ensure that the X-axis electrode array and the Y-axis electrode array do not have a cross short circuit problem, it is necessary to connect the X-axis electrode array by means of a bridge, that is, the X-axis electrode array can be connected in the second layer of electrode array through a bridge layer. For details, please refer to the following description. Figure 4D The connection structure of each layer of electrode array involved. Figure 3C Only one structure of three electrode layers is shown as an example. In addition, an electrode layer including only an X-axis electrode array may be arranged in the third electrode layer, and an electrode layer including only a Y-axis electrode array may be arranged in the second electrode layer. This embodiment of the present application does not limit this.

[0113] Above Figure 3C The touch panel 123 shown is a third type of touch panel, in which the Y-axis electrode array in the first electrode layer can also be called a first electrode array, the X-axis electrode array in the first electrode layer can also be called a second electrode array, the Y-axis electrode array in the third electrode layer can also be called a third electrode array, and the X-axis electrode array in the second electrode layer can also be called a fourth electrode array.

[0114] Above Figure 3A-3C In the several touch panels shown, the electrode layer including the X-axis electrode array and the Y-axis electrode array is arranged on the top layer of the touch panel, that is, on the side of the protective layer 11 close to the screen 10 of the electronic device, and the other electrode layers including only the X-axis electrode array or only the Y-axis electrode array are arranged on the lower layer of the touch panel, that is, on the side of the protective layer 11 far away from the screen 10 of the electronic device. This is because when the electronic device is in an atmospheric environment without interference, touch recognition can be achieved only by the electrode layer including the X-axis electrode array and the Y-axis electrode array (see the above description for details). Figure 1 Only in an interference environment such as underwater environment, it is necessary to combine all the above electrode arrays and use them in combination to achieve touch recognition (see the following for details). Figure 4A-4DAs well as the introduction of Tables 1 to 4), the electrode layer containing the X-axis electrode array and the Y-axis electrode array, which has more application scenarios, is set on the side close to the user's touch, so that it is easy to receive the signal of the finger touch so as to determine the touch position. However, in addition to this, the electrode layer containing the X-axis electrode array and the Y-axis electrode array can also be set in the lower layer of the touch panel, and the embodiments of the present application do not make specific restrictions on this.

[0115] Next, see Figure 4A-4D , Figure 4A-4D The schematic diagrams of the structures of electrode arrays in several touch panels provided in the present application are shown.

[0116] Figure 4A This is a schematic diagram of the structure of the electrode array in the touch panel 121 provided in an embodiment of the present application.

[0117] Figure 4A Figure a shows the arrangement structure of the electrode array in the first electrode layer of the touch panel 121. The first electrode layer includes a Y-axis electrode array (also called a first electrode array) and an X-axis electrode array (also called a second electrode array). The first electrode array includes N columns of electrodes arranged in parallel, such as N columns of electrodes Y1-1, Y1-2...Y1-N, each column of electrodes includes a plurality of electrodes arranged in sequence along the Y-axis direction, and the second electrode array includes M rows of electrodes arranged in parallel, such as M rows of electrodes X1-1, X1-2...X1-M, each row of electrodes includes a plurality of electrodes arranged in sequence along the X-axis direction. In particular, Y1-1, Y1-2...Y1-N are specifically connected by bridging rather than being connected in this layer.

[0118] Figure 4A b shows the arrangement structure of the electrode array in the second electrode layer of the touch panel 121, and the second electrode layer includes a Y-axis electrode array (also called a third electrode array). The third electrode array includes N columns of electrodes arranged in parallel, such as N columns of electrodes Y2-1, Y2-2...Y2-N, and each column of electrodes includes a plurality of electrodes connected in sequence and arranged along the Y-axis direction. In addition, the second electrode layer also includes a bridging connection portion of the first electrode array. This is because the first electrode array and the second electrode array are arranged in the same layer. When the second electrode array is connected in this layer, that is, each electrode in each row of electrodes in the second electrode array is connected in this layer in turn, then each electrode in each column of electrodes of the first electrode array is connected in turn through bridging, that is, the first electrode array can be connected in the second electrode layer, that is, the layer where the third electrode array is located, through the bridging layer, so that the first electrode array and the second electrode array will not have a short circuit problem at the intersection of the horizontal axis.

[0119] Figure 4AFigure c shows the overall structure of the touch panel 121, which is obtained by laminating the first electrode layer and the second electrode layer up and down, and the first electrode layer covers the second electrode layer. It can be seen from the partially enlarged side rear top view that each Y-axis electrode bar in the first electrode array and each Y-axis electrode bar in the third electrode array are in a one-to-one correspondence relationship in the upper and lower layers, that is, Y1-1 corresponds to Y2-1 up and down, Y1-2 corresponds to Y2-2 up and down,..., Y1-N corresponds to Y2-N up and down. And the third electrode array also presents a criss-cross relationship with the second electrode array, that is, Y1-1 and X1-1 are criss-crossed, Y2-1 and X1-2 are criss-crossed, and so on. In particular, Figure 4A The bridging connection part in the second electrode layer is only used to connect the electrodes in each column of the first electrode array. Figure 4A The detailed connection method is not drawn in the figure, but those skilled in the art should understand that the first electrode layer is closely attached to the second electrode layer, and the first electrode array in the first electrode layer can be connected through the bridging connection part in the second electrode layer.

[0120] Figure 4B This is a schematic diagram of the structure of an electrode array in a touch panel 122 provided in an embodiment of the present application.

[0121] Figure 4B Figure a shows the arrangement structure of the electrode array in the first electrode layer of the touch panel 122. The first electrode layer includes a Y-axis electrode array (also called a first electrode array) and an X-axis electrode array (also called a second electrode array). The first electrode array includes N columns of electrodes arranged in parallel, such as N columns of electrodes Y1-1, Y1-2...Y1-N, each column of electrodes includes a plurality of electrodes arranged in sequence along the Y-axis direction, and the second electrode array includes M rows of electrodes arranged in parallel, such as M rows of electrodes X1-1, X1-2...X1-M, each row of electrodes includes a plurality of electrodes arranged in sequence along the X-axis direction. In particular, X1-1, X1-2...X1-M are specifically connected by bridging rather than being connected in this layer.

[0122] Figure 4BThe arrangement structure of the electrode array in the second electrode layer of the touch panel 122 is shown in b, and the second electrode layer includes an X-axis electrode array (also called a third electrode array). The third electrode array includes L rows of electrodes arranged in parallel, such as X2-1, X2-2...X2-L, each row of electrodes includes a plurality of electrodes connected in sequence and arranged along the X-axis direction. In addition, the second electrode layer also includes a bridging connection portion of the first electrode array. This is because the first electrode array and the second electrode array are arranged in the same layer. When the first electrode array is connected in this layer, that is, each electrode in each column electrode of the first electrode array is connected in this layer in turn, then each electrode in each row electrode of the second electrode array is connected in turn through a bridge, that is, the second electrode array can be connected in the second electrode layer, that is, the layer where the third electrode array is located, through the bridging layer. This ensures that the first electrode array and the second electrode array will not be short-circuited at the intersection of the horizontal axis.

[0123] Figure 4B Figure c shows the overall structure of the touch panel 122, which is obtained by laminating the first electrode layer and the second electrode layer up and down, and the first electrode layer covers the second electrode layer. It can be seen from the partially enlarged side rear top view that each Y-axis electrode bar in the first electrode array and each X-axis electrode bar in the third electrode array are in a one-to-one correspondence relationship in the upper and lower layers, that is, Y1-1 corresponds to X2-1 up and down, Y1-2 corresponds to X2-2 up and down, and so on. And the third electrode array also presents a criss-cross relationship with the second electrode array, that is, Y1-1 and X1-1 are criss-crossed, Y2-1 and X1-2 are criss-crossed, and so on. In particular, Figure 4B The bridging connection part in the second electrode layer is only used to connect the electrodes in each column of the first electrode array. Figure 4B The detailed connection method is not drawn in the figure, but those skilled in the art should understand that the first electrode layer is closely attached to the second electrode layer, and the first electrode array in the first electrode layer can be connected through the bridging connection part in the second electrode layer.

[0124] Figure 4C This is a schematic diagram of the structure of another electrode array in a touch panel 122 provided in an embodiment of the present application.

[0125] Figure 4CFigure a shows the arrangement structure of the electrode array in the first electrode layer of the touch panel 122. The first electrode layer includes a Y-axis electrode array (also called a first electrode array) and an X-axis electrode array (also called a second electrode array). The first electrode array includes N columns of electrodes arranged in parallel, such as N columns of electrodes Y1-1, Y1-2...Y1-N, each column of electrodes includes a plurality of electrodes arranged in sequence along the Y-axis direction, and the second electrode array includes M rows of electrodes arranged in parallel, such as M rows of electrodes X1-1, X1-2...X1-M, each row of electrodes includes a plurality of electrodes arranged in sequence along the X-axis direction. In particular, X1-1, X1-2...X1-M are specifically connected by bridging rather than being connected in this layer.

[0126] Figure 4C The arrangement structure of the electrode array in the second electrode layer of the touch panel 122 is shown in b, and the second electrode layer includes an X-axis electrode array (also called a third electrode array). The third electrode array includes M rows of electrodes arranged in parallel, such as X2-1, X2-2...X2-M, and each row of electrodes includes a plurality of electrodes connected in sequence and arranged along the X-axis direction. In addition, the second electrode layer also includes a bridging connection portion of the second electrode array. This is because the first electrode array and the second electrode array are arranged in the same layer. When the second electrode array is connected in this layer, that is, each electrode in each row of electrodes in the first electrode array is connected in this layer in turn, then each electrode in each column of electrodes in the second electrode array is connected in turn through bridging, that is, the second electrode array can be connected in the second electrode layer, that is, the layer where the third electrode array is located, through the bridging layer. This ensures that the first electrode array and the second electrode array will not be short-circuited at the intersection of the horizontal axis.

[0127] Figure 4C Figure c shows the overall structure of the touch panel 122, which is obtained by laminating the first electrode layer and the second electrode layer up and down, and the first electrode layer covers the second electrode layer. It can be seen from the partially enlarged side rear top view that each X-axis electrode bar in the second electrode array and each X-axis electrode bar in the third electrode array are in a one-to-one correspondence relationship in the upper and lower layers, that is, X1-1 corresponds to X2-1 up and down, X1-2 corresponds to X2-2 up and down,..., X1-M corresponds to X2-M up and down. And the third electrode array also presents a criss-cross relationship with the first electrode array, that is, Y1-1 and X2-1 are criss-crossed, Y2-1 and X2-2 are criss-crossed, and so on. In particular, Figure 4C The bridging connection part in the second electrode layer is only used to connect the electrodes in each column of the second electrode array. Figure 4C The detailed connection method is not drawn in the figure, but those skilled in the art should understand that the first electrode layer is closely attached to the second electrode layer, and the second electrode array in the first electrode layer can be connected through the bridging connection part in the second electrode layer.

[0128] Figure 4D This is a schematic diagram of the structure of another electrode array in a touch panel 123 provided in an embodiment of the present application.

[0129] Figure 4D Figure a shows the arrangement structure of the electrode array in the first electrode layer of the touch panel 123. The first electrode layer includes a Y-axis electrode array (also called a first electrode array) and an X-axis electrode array (also called a second electrode array). The first electrode array includes N columns of electrodes arranged in parallel, such as N columns of electrodes Y1-1, Y1-2...Y1-N, each column of electrodes includes a plurality of electrodes arranged in sequence along the Y-axis direction, and the second electrode array includes M rows of electrodes arranged in parallel, such as M rows of electrodes X1-1, X1-2...X1-M, each row of electrodes includes a plurality of electrodes arranged in sequence along the X-axis direction. In particular, X1-1, X1-2...X1-M are specifically connected by bridging rather than being connected in this layer.

[0130] Figure 4D b shows the arrangement structure of the electrode array in the second electrode layer of the touch panel 123, and the second electrode layer includes an X-axis electrode array (also called the fourth electrode array). The fourth electrode array includes L rows of electrodes arranged in parallel, such as X2-1, X2-2...X2-L, each row of electrodes includes a plurality of electrodes connected in sequence and arranged along the X-axis direction. In addition, the second electrode layer also includes a bridging connection portion of the first electrode array. This is because the first electrode array and the second electrode array are arranged in the same layer. When the first electrode array is connected in this layer, that is, each electrode in each column electrode of the first electrode array is connected in this layer in turn, then each electrode in each row electrode of the second electrode array is connected in turn through bridging, that is, the second electrode array can be connected in the second electrode layer, that is, the layer where the fourth electrode array is located, through the bridging layer. This ensures that the first electrode array and the second electrode array will not be short-circuited at the intersection of the horizontal axis.

[0131] Figure 4D Figure c shows the arrangement structure of the electrode array in the third electrode layer of the touch panel 123. The third electrode layer includes a Y-axis electrode array (also called a third electrode array). The third electrode array includes K columns of electrodes arranged in parallel, such as K columns of electrodes Y2-1, Y2-2...Y2-K, and each column of electrodes includes a plurality of electrodes arranged in sequence along the Y-axis direction.

[0132] Figure 4D d-1 shows the overall structure of the touch panel 123, which is obtained by laminating the first electrode layer, the second electrode layer and the third electrode layer up and down, wherein the first electrode layer covers the second electrode layer, and the second electrode layer covers the third electrode layer. Figure 4DIt can be seen from the partially enlarged side rear bottom view shown in d-2 that each Y-axis electrode strip in the first electrode array is in a one-to-one correspondence relationship with each X-axis electrode strip in the fourth electrode array, that is, Y1-1 corresponds to X2-1, Y1-2 corresponds to X2-2, etc. Each X-axis electrode strip in the second electrode array is in a one-to-one correspondence relationship with each Y-axis electrode strip in the third electrode array, that is, X1-1 corresponds to Y2-1, X1-2 corresponds to Y2-2, etc. The third electrode array also presents a crisscross relationship with the second electrode array, that is, Y1-1 and X1-1 are crisscrossed, Y2-1 and X1-2 are crisscrossed, etc. The third electrode array also presents a crisscross relationship with the fourth electrode array, that is, Y2-1 and X2-1 are crisscrossed, Y2-2 and X2-2 are crisscrossed, etc.

[0133] It is understandable that Figure 4A-4D The electrodes in the electrode array shown are only shown in the shape of a diamond as an example. In addition, they can also be in the shape of a bar, a triangle, etc., and the embodiments of the present application are not limited to this.

[0134] Based on the structures of several touch panels described above and the arrangement structures of the electrode arrays in each layer of the touch panels, the following describes how to implement the touch method provided by the present application to achieve atmospheric touch detection and underwater touch detection when the electronic device adopts the aforementioned different touch panels.

[0135] Figure 5 A schematic flow chart of a method for determining a touch detection mode provided in an embodiment of the present application.

[0136] like Figure 5 As shown, the method flow includes the following steps:

[0137] S501: Detect whether the touch detection mode is manually set.

[0138] Specifically, the electronic device can provide an atmospheric touch detection mode and an underwater touch detection mode. It also supports users to manually set the touch detection mode and supports intelligent recognition of the current environment to automatically set the touch detection mode. Based on this, in order to give priority to responding to the user's setting operation, before automatically setting the touch detection mode, the electronic device can determine whether the user has manually set the touch detection mode before. If it is detected that the user has manually set the touch detection mode, the electronic device executes the subsequent S504-1. If it is detected that the user has manually set the touch detection mode, the electronic device executes the subsequent S502-S504-2.

[0139] Among them, the method for the user to manually set the touch detection mode is, for example: the setting application of the electronic device can provide options or controls for setting the touch detection mode, and the user can manually set the touch detection mode by selecting the corresponding option, or the user can input the corresponding voice command, etc., which is not limited in the embodiment of the present application. In the embodiment of the present application, the operation received by the electronic device for turning on the underwater touch detection mode can also be called the third operation or the fifth operation, and the operation received by the electronic device for turning on the atmospheric touch detection mode can also be called the fourth operation. The above-mentioned third operation and fourth operation can be operations acting on the touch screen or voice commands, etc., and the specific type of the operation is not limited in the present application.

[0140] Optionally, the mechanism for triggering the electronic device to execute S501 is, for example: after the electronic device is turned on, S501 can be executed periodically, that is, every time a first preset time period has passed, the first preset time period is, for example, 1 day, and the embodiment of the present application does not limit the specific value.

[0141] Optionally, the electronic device performs S501 to determine whether the user has manually set the touch detection mode before, which can be specifically to determine whether the user has manually set the touch detection mode within a preset time period, and the preset time period can be, for example, 30 minutes, etc., and the embodiment of the present application does not limit the specific value. In this way, it can ensure that the touch detection mode manually set by the user is used first, and in the case that the user forgets to change the touch detection mode for a long time, the required touch detection mode is automatically set for the user according to the current environment.

[0142] S502: Obtain environmental data.

[0143] Specifically, when the electronic device executes the aforementioned S501, if it is not detected that the user manually sets the touch detection mode, the electronic device starts to obtain environmental data to subsequently identify the current environment based on the environmental data and then automatically set the currently required touch detection mode for the user.

[0144] The environmental data acquired by the electronic device includes but is not limited to: capacitance data in the touch panel, image data collected by the image sensor, and it is only necessary to ensure that the acquired environmental data can be used to analyze whether the electronic device is in an underwater environment or an atmospheric environment.

[0145] When the environmental data includes capacitance data in the touch panel, the first environmental data specifically includes second capacitance data, and the second capacitance data has characteristics corresponding to the capacitive touch panel in the underwater environment, and the second environmental data specifically includes third capacitance data, and the third capacitance data has characteristics corresponding to the capacitive touch panel in the atmospheric environment.

[0146] S503: Determine whether to use the underwater touch detection mode.

[0147] In one implementation, if the electronic device detects that the user has manually set the touch detection mode when executing S501, it is necessary to further determine whether the touch detection mode manually set by the user is the underwater touch detection mode when executing S503. Optionally, when the electronic device executes S501, i.e., detects whether the touch detection mode is manually set, it can also detect whether the underwater touch detection mode is set, and then know whether the underwater touch detection mode is used, which is equivalent to S501 and S503 can be executed at the same time, without being divided into two execution steps.

[0148] In another embodiment, if the electronic device acquires environmental data when executing S502, it is necessary to further determine whether to adopt the underwater touch detection mode based on the acquired environmental data when executing S503. Specifically, when the acquired environmental data is the first environmental data representing that the electronic device is in an underwater environment, the electronic device determines to adopt underwater touch detection and executes the subsequent S504-1; if the acquired environmental data is the second environmental data representing that the electronic device is in an atmospheric environment, the electronic device determines to adopt atmospheric touch detection and executes the subsequent S504-2. Optionally, the electronic device can also have more touch detection modes. This application only takes the underwater touch detection mode and the atmospheric touch detection mode as examples. When the electronic device detects that it is in other environments (such as dust, etc.), other corresponding touch detection modes can also be adopted.

[0149] S504-1. Use underwater touch detection mode.

[0150] The electronic device determines the area on the touch panel where the touch operation is performed through underwater touch detection. For the specific implementation of the underwater touch detection method, please refer to Tables 1 to 4 and Figure 7A-Figure 10B The introduction of will not be elaborated here.

[0151] S504-2, adopting the atmospheric touch detection mode.

[0152] The electronic device determines the area on the touch panel where the touch operation is performed through atmospheric touch detection. For the specific implementation of the atmospheric touch detection method, please refer to the previous article on Figure 1 The following descriptions of Tables 1 to 4 will not be elaborated here.

[0153] Next, combine Figure 6 Taking the case where the environmental data is specifically the capacitance data of the touch panel as an example, a method for automatically setting the touch detection mode of an electronic device is introduced.

[0154] Figure 6 A schematic flow chart of a method for automatically setting a touch detection mode provided in an embodiment of the present application.

[0155] like Figure 6As shown, the method flow includes the following steps:

[0156] S601: Detect whether the touch point is invalid based on the acquired capacitance data.

[0157] When the electronic device enters the automatic touch detection mode, it detects whether each touch point in the touch panel is invalid based on the acquired capacitance data, so as to subsequently determine whether the number of invalid touch points meets the preset number.

[0158] The determination of whether the touch point is invalid specifically includes: detecting whether the capacitance value at the touch point exceeds a preset capacitance value. The capacitance value at the touch point can be the capacitance value described above. Figure 1 The mutual capacitance or self-capacitance at the touch point involved in the touch, wherein the preset capacitance value corresponding to the mutual capacitance and the preset capacitance value corresponding to the self-capacitance may be the same or different, and the present application embodiment does not limit this. The preset capacitance value is the capacitance value after the self-capacitance or mutual capacitance at the touch point changes when the touch point contacts water.

[0159] S602: Detect whether the number of failed touch points meets a threshold.

[0160] After detecting that the touch detection point fails, the number of failed touch points is obtained. When the number of failed touch points reaches the threshold, it indicates that the electronic device is in an underwater environment, so the subsequent S603-1 is executed; when the number of failed touch points does not reach the threshold, it indicates that the electronic device is not in an underwater environment, such as in an atmospheric environment, so the subsequent S603-2 is executed. Among them, when the number of failed touch points does not reach the threshold, it indicates that the electronic device is not in an underwater environment, including the situation where the electronic device is completely not in contact with water, and also includes the situation where a small part of the touch area of ​​the electronic device is in contact with water droplets. This small part of the touch area will not have much impact on the user's touch operation, so this situation is classified as not being in an underwater environment.

[0161] In an embodiment of the present application, determining whether the number of failed touch points has reached the threshold specifically includes: acquiring capacitance data through the first electrode array and / or the second electrode array, and when it is detected that the number of capacitance values ​​in the capacitance data that are greater than the first threshold is greater than the second threshold, it indicates that the number of failed touch points has reached the threshold; otherwise, it indicates that the number of failed touch points has not reached the threshold.

[0162] S603-1, adopt underwater touch detection mode.

[0163] When the number of failed touch points meets the threshold, the electronic device is determined to be in an underwater environment, and thus the underwater touch detection mode is adopted. For details on the specific implementation of the underwater touch detection method, please refer to Tables 1 to 4 and Figure 7A-Figure 10B The introduction of will not be elaborated here.

[0164] S603-2, adopt atmospheric touch detection mode.

[0165] When the number of failed touch points does not meet the threshold, the electronic device is determined to be in an atmospheric environment, and thus the atmospheric touch detection mode is adopted. For details, the specific implementation of the atmospheric touch detection method can refer to the above description of Figure 1 The following descriptions of Tables 1 to 4 will not be elaborated here.

[0166] Next, the underwater touch detection method provided by the present application is specifically introduced.

[0167] Referring to Table 1, Table 1 exemplarily shows the rules for underwater touch detection using the touch panel 121.

[0168] Table 1

[0169]

[0170] As shown in Table 1, taking the touch panel 121 as an example, when the electronic device determines to use underwater touch detection, the electronic device can continuously and alternately perform self-capacitance detection and mutual capacitance detection, determine the X-axis coordinate corresponding to the touch operation in the self-capacitance detection stage, and determine the Y-axis coordinate in the mutual capacitance detection stage. Among them, continuously and alternately performing self-capacitance detection and mutual capacitance detection means performing self-capacitance detection in a first time period and performing mutual capacitance detection in a second time period, and the first time period and the second time period are continuously and alternately performed time periods. After determining the coordinates corresponding to the touch operation, the electronic device performs the corresponding task in response to the touch operation.

[0171] In the embodiment of the present application, the excitation connected to the first electrode array / third electrode array in the underwater self-capacitance stage shown in Table 1 above can also be called the first excitation signal, and the shield connected to the second electrode array can be the second excitation signal or the ground; the excitation connected to the second electrode array / third electrode array in the underwater mutual capacitance stage can also be called the third excitation signal, and the shield connected to the first electrode array can be the fourth excitation signal or the ground; in the atmospheric detection stage, the excitation connected to the first electrode array can be called the fifth excitation signal, and the excitation connected to the third electrode array can also be called the sixth excitation signal. The second excitation signal and the fourth excitation signal are the same or different, and the fifth excitation signal and the sixth excitation signal are the same.

[0172] Combining Table 1 and Fig. 7AFrom the above, when the touch panel 121 works in an underwater environment for self-capacitance detection, the first electrode array is grounded (or connected to excitation), the corresponding third electrode array is connected to excitation (or grounded), and the second electrode array is connected to shielding. Among them, the shielding connected to the second electrode array can be grounded or connected to an excitation signal for shielding water interference. In this way, when the user's finger input acts on the touch panel 121, the distance between the upper and lower electrodes at the position corresponding to the touch operation in the third electrode array and the first electrode array will be shortened. Based on the capacitance calculation formula It can be seen that when d decreases, the capacitance will increase. Therefore, the electronic device can determine the X-axis coordinate corresponding to the touch operation by detecting the area where the self-capacitance between the first electrode array and the third electrode array undergoes a preset change.

[0173] Combining Table 1 and Figure 7B From the above, when the touch panel 121 works in an underwater environment for mutual capacitance detection, the second electrode array is stimulated or sensed, the corresponding third electrode array is sensed (or stimulated), and the first electrode array is shielded. Among them, the shield connected to the first electrode array can be grounded or connected to an excitation signal for shielding water interference. In this way, when the user's finger input acts on the touch panel 121, the distance between the upper and lower electrodes at the position corresponding to the touch operation in the third electrode array and the second electrode array will be shortened. Based on the capacitance calculation formula It can be seen that when d decreases, the capacitance will increase. Therefore, the electronic device can determine the Y-axis coordinate corresponding to the touch operation by detecting the area where the mutual capacitance between the second electrode array and the third electrode array undergoes a preset change.

[0174] Optionally, when the touch panel 121 is used for underwater touch detection, if the signal is strong, the X-axis coordinate and Y-axis coordinate corresponding to the touch operation can be directly determined only through the aforementioned mutual capacitance detection stage. When the signal is weak, the X-axis coordinate is determined by self-capacitance detection, so that a more accurate X-axis coordinate can be obtained. Or when the signal is weak, the X-axis coordinate is determined by self-capacitance detection and mutual capacitance detection, so that the X-axis coordinate can be calibrated to obtain a more accurate X-axis coordinate.

[0175] Refer to Table 2, which shows the Figure 4B A rule for underwater touch detection by a touch panel 122 is shown.

[0176] Table 2

[0177]

[0178] As shown in Table 2, Figure 4BTaking a touch panel 122 as an example, when the electronic device determines to use underwater touch detection, the electronic device can also continuously and alternately perform self-capacitance detection and mutual-capacitance detection, determine the X-axis coordinate corresponding to the touch operation in the self-capacitance detection stage, and determine the Y-axis coordinate in the mutual-capacitance detection stage. Continuously and alternately performing self-capacitance detection and mutual-capacitance detection means performing self-capacitance detection in a first time period and performing mutual-capacitance detection in a second time period, and the first time period and the second time period are continuously and alternately performed time periods.

[0179] In the embodiment of the present application, the excitation connected to the first electrode array in the underwater self-capacitance stage shown in Table 2 above can also be called the seventh excitation signal, and the shield connected to the second electrode array can be the eighth excitation signal or the ground; the excitation connected to the second electrode array / the third electrode array in the underwater mutual capacitance stage can also be called the ninth excitation signal, and the shield connected to the first electrode array can be the tenth excitation signal or the ground. The eighth excitation signal and the tenth excitation signal are the same or different.

[0180] Combining Table 2 and Fig. 8A From the above, when the touch panel 122 works in an underwater environment for self-capacitance detection, the first electrode array is connected to the excitation, the corresponding third electrode array is grounded, and the second electrode array is connected to the shield. The shield connected to the second electrode array can be grounded or connected to the excitation signal for shielding water interference. In this way, when the user's finger input acts on the touch panel 122, the distance between the upper and lower electrodes at the position corresponding to the touch operation in the third electrode array and the first electrode array will be shortened. Based on the capacitance calculation formula It can be seen that when d decreases, the capacitance will increase. Therefore, the electronic device can determine the X-axis coordinate corresponding to the touch operation by detecting the area where the self-capacitance between the first electrode array and the third electrode array undergoes a preset change.

[0181] Combining Table 2 and Figure 8B From the above, when the touch panel 122 works in an underwater environment for mutual capacitance detection, the second electrode array is sensed (or stimulated), the corresponding third electrode array is stimulated (or sensed), and the first electrode array is shielded. Among them, the shield connected to the first electrode array can be grounded or connected to an excitation signal for shielding water interference. In this way, when the user's finger input acts on the touch panel 122, the distance between the upper and lower electrodes at the position corresponding to the touch operation in the third electrode array and the second electrode array will be shortened. Based on the capacitance calculation formula It can be seen that when d decreases, the capacitance will increase. Therefore, the electronic device can determine the Y-axis coordinate corresponding to the touch operation by detecting the area where the mutual capacitance between the second electrode array and the third electrode array undergoes a preset change.

[0182] Refer to Table 3, which shows the Figure 4C Another rule for the touch panel 122 to perform underwater touch detection is shown.

[0183] Table 3

[0184]

[0185] As shown in Table 3, Figure 4C Taking the other touch panel 122 shown as an example, when the electronic device determines to use underwater touch detection, the electronic device can continuously and alternately perform self-capacitance detection and mutual capacitance detection, determine the Y-axis coordinate corresponding to the touch operation in the self-capacitance detection stage, and determine the X-axis coordinate in the mutual capacitance detection stage. Among them, continuously and alternately performing self-capacitance detection and mutual capacitance detection means performing self-capacitance detection in a first time period and performing mutual capacitance detection in a second time period, and the first time period and the second time period are continuously and alternately performed time periods. After determining the coordinates corresponding to the touch operation, the electronic device performs the corresponding task in response to the touch operation.

[0186] In the embodiment of the present application, the excitation connected to the second electrode array / third electrode array in the underwater self-capacitance stage shown in Table 3 above can also be called the eleventh excitation signal, and the shield connected to the first electrode array can be the twelfth excitation signal or the ground; the excitation connected to the first electrode array / third electrode array in the underwater mutual capacitance stage can also be called the thirteenth excitation signal, and the shield connected to the second electrode array can be the fourteenth excitation signal or the ground. The twelfth excitation signal and the fourteenth excitation signal are the same or different.

[0187] Combining Table 3 and Fig.9A From the above, when the touch panel 122 works in an underwater environment for self-capacitance detection, the second electrode array is grounded (or connected to excitation), the corresponding third electrode array is connected to excitation (or grounded), and the first electrode array is connected to shielding. Among them, the shielding connected to the first electrode array can be grounded or connected to an excitation signal for shielding water interference. In this way, when the user's finger input acts on the touch panel 122, the distance between the upper and lower electrodes at the position corresponding to the touch operation in the third electrode array and the second electrode array will be shortened. Based on the capacitance calculation formula It can be seen that when d decreases, the capacitance will increase. Therefore, the electronic device can determine the Y-axis coordinate corresponding to the touch operation by detecting the area where the self-capacitance between the third electrode array and the second electrode array undergoes a preset change.

[0188] Combining Table 3 and Fig. 9BFrom the above, when the touch panel 122 works in an underwater environment for mutual capacitance detection, the first electrode array is stimulated (or sensed), the corresponding third electrode array is sensed (or stimulated), and the second electrode array is shielded. Among them, the shield connected to the second electrode array can be grounded or connected to an excitation signal for shielding water interference. In this way, when the user's finger input acts on the touch panel 122, the distance between the upper and lower electrodes at the position corresponding to the touch operation in the third electrode array and the first electrode array will be shortened. Based on the capacitance calculation formula It can be seen that when d decreases, the capacitance will increase. Therefore, the electronic device can determine the X-axis coordinate corresponding to the touch operation by detecting the area where the mutual capacitance between the first electrode array and the third electrode array undergoes a preset change.

[0189] Optionally, when the touch panel 122 is used for underwater touch detection, if the signal is strong, the X-axis coordinate and Y-axis coordinate corresponding to the touch operation can be directly determined only through the aforementioned mutual capacitance detection stage. When the signal is weak, the Y-axis coordinate is determined by self-capacitance detection, so that a more accurate Y-axis coordinate can be obtained. Or when the signal is weak, the Y-axis coordinate is determined by self-capacitance detection and mutual capacitance detection, so that the Y-axis coordinate can be calibrated to obtain a more accurate Y-axis coordinate.

[0190] Optionally, in an embodiment of the present application, in addition to identifying the touch position of a touch operation underwater, the level of the pressing force when inputting the touch operation can also be identified, so as to further realize functions such as 3D touch, which will not be described in detail in the embodiment of the present application.

[0191] Referring to Table 4, Table 4 exemplarily shows the rules for underwater touch detection using the touch panel 123.

[0192] Table 4

[0193]

[0194]

[0195] As shown in Table 4, taking the touch panel 123 as an example, when the electronic device determines to use underwater touch detection, the electronic device can also determine the X-axis coordinate and the Y-axis coordinate corresponding to the touch operation by continuously and alternately performing self-capacitance detection between different electrode arrays. Among them, continuously and alternately performing self-capacitance detection between different electrode arrays means performing self-capacitance detection between the first array and the fourth array in a first time period, and performing self-capacitance detection between the second electrode array and the third electrode array in a second time period, and the first time period and the second time period are continuously and alternately performed time periods.

[0196] Combining Table 4 and Fig. 10AFrom the above, when the touch panel 123 works in an underwater environment to perform the first self-capacitance detection, the first electrode array is connected to the excitation, the corresponding fourth electrode array is grounded, and the second electrode array and the third electrode array are both connected to the shield. Among them, the shield connected to the second electrode array and the third electrode array can be grounded or connected to the excitation signal for shielding water interference. In this way, when the user's finger input acts on the touch panel 123, it will cause the distance between the upper and lower electrodes at the position corresponding to the touch operation in the first electrode array and the fourth electrode array to shorten. Based on the capacitance calculation formula It can be seen that when d decreases, the capacitance will increase. Therefore, the electronic device can determine the X-axis coordinate corresponding to the touch operation by detecting the area where the self-capacitance between the first electrode array and the fourth electrode array changes by a preset amount. Alternatively, the first electrode array can be grounded, the corresponding fourth electrode array can be connected to the excitation, and the second electrode array and the third electrode array can be connected to the shield. By using similar self-capacitance detection, the Y-axis coordinate corresponding to the touch operation can be determined.

[0197] Combining Table 4 and Fig. 10B From the above, when the touch panel 123 works in an underwater environment to perform the second self-capacitance detection, the second electrode array is connected to the excitation, the corresponding third electrode array is grounded, and the first electrode array and the fourth electrode array are both connected to the shield. Among them, the shield connected to the first electrode array can be grounded or connected to the excitation signal for shielding water interference. In this way, when the user's finger input acts on the touch panel 123, the distance between the upper and lower electrodes at the position corresponding to the touch operation in the second electrode array and the third electrode array will be shortened. Based on the capacitance calculation formula It can be seen that when d decreases, the capacitance will increase. Therefore, the electronic device can determine the Y-axis coordinate corresponding to the touch operation by detecting the area where the self-capacitance between the second electrode array and the third electrode array changes by a preset amount. Alternatively, the second electrode array can be grounded, the corresponding third electrode array can be excited, and the first electrode array and the fourth electrode array can be shielded. By using similar self-capacitance detection, the X-axis coordinate corresponding to the touch operation can be determined.

[0198] Next, the hardware architecture and device form of the electronic device involved in this application are introduced.

[0199] Electronic equipment can be equipped Or portable terminal devices with other operating systems, such as mobile phones, tablet computers, desktop computers, laptop computers, handheld computers, notebook computers, ultra-mobile personal computers (UMPC), netbooks, as well as cellular phones, personal digital assistants (PDA), augmented reality (AR) devices, virtual reality (VR) devices, artificial intelligence (AI) devices, wearable devices, vehicle-mounted devices, smart home devices and / or smart city devices, etc.

[0200] Fig.11 A schematic structural diagram of an electronic device 100 is shown.

[0201] The electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 130, a universal serial bus (USB) interface, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a camera 193, and a display screen 194, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a touch sensor 180K, an ambient light sensor 180L, etc.

[0202] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0203] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0204] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0205] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0206] In the embodiment of the present application, the processor 110 is used to call the corresponding software and hardware modules to execute the following Figure 5-Figure 6 The touch detection mode setting method shown in the figure, and when the touch detection mode is determined, perform the above-mentioned Figure 1 The atmospheric touch detection and execution involved are as described above. Figure 7A-Figure 10B The underwater touch detection involved will not be elaborated here.

[0207] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0208] The USB interface is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0209] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0210] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0211] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD). The display screen panel can also be made of an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), miniled, microled, micro-oled, quantum dot light emitting diodes (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0212] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0213] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise and brightness of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0214] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0215] In the embodiment of the present application, the camera 193 may be used to capture an environmental image, and then the electronic device may determine the current environment of the electronic device based on the environmental image to determine which touch detection mode to adopt.

[0216] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0217] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0218] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0219] The internal memory 130 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).

[0220] Random access memory may include static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, for example, the fifth generation DDR SDRAM is generally referred to as DDR5 SDRAM), etc.;

[0221] Non-volatile memory may include disk storage devices and flash memory.

[0222] Flash memory can be divided into NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operating principle; can be divided into single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc. according to the storage unit potential level; can be divided into universal flash storage (UFS), embedded multi media card (eMMC), etc. according to the storage specification.

[0223] The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data.

[0224] The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 110 .

[0225] The external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity of the electronic device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external non-volatile memory.

[0226] In the embodiment of the present application, the aforementioned memory may be used to store execution codes for implementing the touch detection method provided in the present application, such as the touch detection rules introduced in Tables 1 to 4 above, which will not be described in detail here.

[0227] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0228] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0229] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0230] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0231] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0232] The earphone interface 170D is used to connect a wired earphone and can be a USB interface, or a 3.5 mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0233] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0234] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0235] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.

[0236] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0237] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0238] In the embodiment of the present application, the touch sensor 180K is the touch panel 121, the touch panel 122 or the touch panel 123 mentioned above. For the introduction of the touch panel, please refer to the relevant description above and will not be repeated here.

[0239] It should be understood that each step in the above method embodiment provided by the present application can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.

[0240] The present application also provides an electronic device, which may include: a memory and a processor, wherein the memory may be used to store a computer program; and the processor may be used to call the computer program in the memory so that the electronic device executes the method in any one of the above embodiments.

[0241] The present application also provides a chip system, which includes at least one processor for implementing the functions involved in the method executed by the electronic device in any of the above embodiments.

[0242] In one possible design, the chip system also includes a memory, which is used to store program instructions and data, and the memory is located inside or outside the processor.

[0243] The chip system may be composed of the chip, or may include the chip and other discrete devices.

[0244] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.

[0245] Optionally, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be separately arranged with the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be arranged on different chips respectively. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.

[0246] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.

[0247] The present application also provides a computer program product, which includes: a computer program (also referred to as code, or instruction), which enables a computer to execute the method executed by the electronic device in any of the above embodiments when the computer program is executed.

[0248] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program (also referred to as code or instruction). When the computer program is executed, the computer executes the method executed by the electronic device in any of the above embodiments.

[0249] The various implementation modes of the present application can be combined arbitrarily to achieve different technical effects.

[0250] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in this application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk SolidStateDisk), etc.

[0251] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0252] In short, the above description is only an embodiment of the technical solution of the present invention, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present invention shall be included in the protection scope of the present invention.

Claims

1. A touch control method, It is characterized in that The method is applied to an electronic device including a touch panel, wherein the touch panel includes a first electrode array, a second electrode array and a third electrode array, wherein electrodes in each column of the first electrode array are connected in sequence, electrodes in each row of the second electrode array are connected in sequence, and electrodes in each column of the third electrode array are connected in sequence; the first electrode array and the second electrode array are crisscrossed, the second electrode array and the third electrode array are crisscrossed, and the first electrode array and the second electrode array are both located above the third electrode array; the method includes: The electronic device is in an underwater environment; Receiving a first operation applied to the touch panel; detecting a self-capacitance between the first electrode array and the third electrode array, and determining a horizontal coordinate of the touch panel on which the first operation is applied according to the detected self-capacitance; The mutual capacitance between the second electrode array and the third electrode array is detected, and the vertical coordinate of the touch panel on which the first operation is applied is determined according to the detected mutual capacitance.

2. The method according to claim 1, It is characterized in that Before detecting the self-capacitance between the first electrode array and the third electrode array, the method further includes: Inputting a first excitation signal to the third electrode array and grounding the first electrode array; Alternatively, the first excitation signal is input to the first electrode array, and the third electrode array is grounded.

3. The method according to claim 1 or 2, It is characterized in that Before detecting the self-capacitance between the first electrode array and the third electrode array, the method further includes: The second electrode array is controlled to be grounded or a second excitation signal is input to the second electrode array.

4. The method according to any one of claims 1 to 3, It is characterized in that Before detecting the mutual capacitance between the second electrode array and the third electrode array, the method further includes: sequentially inputting a third excitation signal to the electrodes in each row of the second electrode array; Detecting the mutual capacitance between the second electrode array and the third electrode array specifically includes: detecting the mutual capacitance between the second electrode array and the third electrode array through the sensing signal output by the third electrode array; Alternatively, the third excitation signal is inputted to the electrodes in each column of the third electrode array in sequence; Detecting the mutual capacitance between the second electrode array and the third electrode array specifically includes: detecting the mutual capacitance between the second electrode array and the third electrode array through the induction signal output by the second electrode array.

5. The method according to any one of claims 1 to 4, It is characterized in that Before detecting the mutual capacitance between the second electrode array and the third electrode array, the method further includes: The first electrode array is controlled to be grounded or a fourth excitation signal is input to the first electrode array.

6. The method according to any one of claims 1 to 5, It is characterized in that Detecting the self-capacitance between the first electrode array and the third electrode array specifically includes: detecting the self-capacitance between the first electrode array and the third electrode array during a first time period when the electronic device is in an underwater environment; Detecting the mutual capacitance between the second electrode array and the third electrode array specifically includes: detecting the mutual capacitance between the second electrode array and the third electrode array during a second time period when the electronic device is in an underwater environment; The first time period and the second time period are continuous and alternating time periods.

7. The method according to any one of claims 1 to 6, It is characterized in that The first electrode array and the second electrode array are both arranged in the first electrode layer of the touch panel, the third electrode array is arranged in the second electrode layer of the touch panel, and the first electrode layer is above the second electrode layer.

8. The method according to any one of claims 1 to 7, It is characterized in that After determining the horizontal coordinate and the vertical coordinate of the touch panel on which the first operation is applied, the method further includes: In response to the first operation, a task corresponding to the first operation is executed.

9. The method according to any one of claims 1 to 8, It is characterized in that The method further comprises: The electronic device is in an atmospheric environment; receiving a second operation applied to the touch panel; The mutual capacitance between the first electrode array and the second electrode array is detected, and the horizontal coordinate and the vertical coordinate of the touch panel on which the second operation is applied are determined according to the detected mutual capacitance.

10. The method according to claim 9, It is characterized in that Before detecting the mutual capacitance between the first electrode array and the second electrode array, the method further includes: sequentially inputting a fifth excitation signal to the electrodes in each column of the first electrode array; Detecting the mutual capacitance between the first electrode array and the second electrode array specifically includes: detecting the mutual capacitance between the first electrode array and the second electrode array through the sensing signal output by the second electrode array.

11. The method according to claim 9 or 10, It is characterized in that Before detecting the mutual capacitance between the first electrode array and the second electrode array, the method further includes: A sixth excitation signal is sequentially inputted to the electrodes in each column of the third electrode array.

12. The method according to any one of claims 9 to 11, It is characterized in that After determining the horizontal coordinate and the vertical coordinate of the touch panel on which the second operation is applied, the method further includes: In response to the second operation, a task corresponding to the second operation is executed.

13. The method according to any one of claims 9 to 12, It is characterized in that Before the electronic device is in an underwater environment, the method further includes: First environmental data is acquired, and it is determined that the electronic device is in the underwater environment according to the first environmental data, and the electronic device starts an underwater touch detection mode when in the underwater environment.

14. The method according to claim 13, It is characterized in that Before acquiring the first environment data, the method further includes: A third operation and a fourth operation are not detected, the third operation is used to instruct the electronic device to turn on the underwater touch detection mode, and the fourth operation is used to instruct the electronic device to turn on the atmospheric touch detection mode.

15. The method according to claim 13 or 14, It is characterized in that Determining, according to the first environmental data, that the electronic device is in the underwater environment specifically includes: Capacitance data is acquired through the first electrode array and the second electrode array, and after detecting that the number of capacitance values ​​in the capacitance data that are greater than a first threshold is greater than a second threshold, it is determined that the electronic device is in the underwater environment.

16. The method according to any one of claims 1 to 15, It is characterized in that Before the underwater environment, the method further includes: receiving a fifth operation for starting an underwater touch detection mode.

17. A touch control method, It is characterized in that The method is applied to an electronic device including a touch panel, wherein the touch panel includes a first electrode array, a second electrode array and a third electrode array, wherein electrodes in each column of the first electrode array are connected in sequence, electrodes in each row of the second electrode array are connected in sequence, and electrodes in each row of the third electrode array are connected in sequence; the first electrode array and the second electrode array are crisscrossed, the second electrode array and the third electrode array are crisscrossed, and the first electrode array and the second electrode array are both located above the third electrode array; the method includes: The electronic device is in an underwater environment; Receiving a first operation applied to the touch panel; detecting a self-capacitance between the first electrode array and the third electrode array, and determining a horizontal coordinate of the touch panel on which the first operation is applied according to the detected self-capacitance; The mutual capacitance between the second electrode array and the third electrode array is detected, and the vertical coordinate of the touch panel on which the first operation is applied is determined according to the detected mutual capacitance.

18. The method according to claim 17, It is characterized in that Before detecting the self-capacitance between the first electrode array and the third electrode array, the method further includes: A seventh excitation signal is input to the first electrode array, and the third electrode array is grounded.

19. The method according to claim 17 or 18, It is characterized in that Before detecting the self-capacitance between the first electrode array and the third electrode array, the method further includes: The second electrode array is controlled to be grounded or an eighth excitation signal is input to the second electrode array.

20. The method according to any one of claims 17 to 19, It is characterized in that Before detecting the mutual capacitance between the second electrode array and the third electrode array, the method further includes: sequentially inputting a ninth excitation signal to the electrodes in each row of the third electrode array; Detecting the mutual capacitance between the second electrode array and the third electrode array specifically includes: detecting the mutual capacitance between the second electrode array and the third electrode array through the sensing signal output by the second electrode array; Alternatively, the ninth excitation signal is inputted to the electrodes in each row of the second electrode array in sequence; Detecting the mutual capacitance between the second electrode array and the third electrode array specifically includes: detecting the mutual capacitance between the second electrode array and the third electrode array through the sensing signal output by the third electrode array.

21. The method according to any one of claims 17 to 20, It is characterized in that Before detecting the mutual capacitance between the second electrode array and the third electrode array, the method further includes: The first electrode array is controlled to be grounded or a tenth excitation signal is input to the first electrode array.

22. A touch control method, It is characterized in that The method is applied to an electronic device including a touch panel, wherein the touch panel includes a first electrode array, a second electrode array and a third electrode array, wherein electrodes in each column of the first electrode array are connected in sequence, electrodes in each row of the second electrode array are connected in sequence, and electrodes in each row of the third electrode array are connected in sequence; the first electrode array and the second electrode array are crisscrossed, the first electrode array is also crisscrossed with the third electrode array, and the first electrode array and the second electrode array are both located above the third electrode array; the method includes: The electronic device is in an underwater environment; Receiving a first operation applied to the touch panel; detecting a self-capacitance between the second electrode array and the third electrode array, and determining a vertical coordinate of the touch panel on which the first operation is applied according to the detected self-capacitance; The mutual capacitance between the first electrode array and the third electrode array is detected, and the horizontal coordinate of the touch panel on which the first operation is applied is determined according to the detected mutual capacitance.

23. The method according to claim 22, It is characterized in that Before detecting the self-capacitance between the second electrode array and the third electrode array, the method further includes: inputting an eleventh excitation signal to the second electrode array and grounding the third electrode array; Alternatively, the eleventh excitation signal is input to the third electrode array, and the second electrode array is grounded.

24. The method according to claim 22 or 23, It is characterized in that Before detecting the self-capacitance between the second electrode array and the third electrode array, the method further includes: The first electrode array is controlled to be grounded or a twelfth excitation signal is input to the first electrode array.

25. The method according to any one of claims 22 to 24, It is characterized in that Before detecting the mutual capacitance between the first electrode array and the third electrode array, the method further includes: sequentially inputting a thirteenth excitation signal to the electrodes in each column of the first electrode array; Detecting the mutual capacitance between the first electrode array and the third electrode array specifically includes: detecting the mutual capacitance between the third electrode array and the first electrode array through the induction signal output by the third electrode array; Alternatively, the thirteenth excitation signal is inputted to the electrodes of each row in the third electrode array in sequence; Detecting the mutual capacitance between the first electrode array and the third electrode array specifically includes: detecting the mutual capacitance between the third electrode array and the first electrode array through the sensing signal output by the first electrode array.

26. The method according to any one of claims 22 to 25, It is characterized in that Before detecting the mutual capacitance between the first electrode array and the third electrode array, the method further includes: The second electrode array is controlled to be grounded or a fourteenth excitation signal is input to the second electrode array.

27. A touch control method, It is characterized in that The method is applied to an electronic device including a touch panel, wherein the touch panel includes a first electrode array, a second electrode array, a third electrode array and a fourth electrode array, wherein electrodes in each column of the first electrode array are connected in sequence, electrodes in each row of the second electrode array are connected in sequence, electrodes in each column of the third electrode array are connected in sequence, and electrodes in each row of the fourth electrode array are connected in sequence; the first electrode array and the second electrode array are crisscrossed, the second electrode array and the fourth electrode array are crisscrossed, the third electrode array and the fourth electrode array are crisscrossed, and the first electrode array and the second electrode array are both located above the third electrode array and the fourth electrode array; the method includes: The electronic device is in an underwater environment; Receiving a first operation applied to the touch panel; detecting a self-capacitance between the first electrode array and the fourth electrode array, and determining a horizontal coordinate of the touch panel on which the first operation is applied according to the detected self-capacitance; The self-capacitance between the second electrode array and the third electrode array is detected, and the vertical coordinate of the touch panel on which the first operation is applied is determined according to the detected self-capacitance.

28. An electronic device, It is characterized in that The electronic device includes the touch panel, one or more memories, and one or more processors; the touch panel and the memory are coupled to the one or more processors, the touch panel is used to receive touch operations, the memory is used to store computer program codes, the computer program codes include computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute the method described in any one of claims 1-27.

29. A chip, wherein the chip is applied to an electronic device including the touch panel. It is characterized in that The chip includes one or more processors, and the processor is used to call computer instructions to enable the electronic device to execute the method as described in any one of claims 1-27.

30. A computer-readable storage medium comprising instructions, It is characterized in that When the instruction is executed on an electronic device including the touch panel, the electronic device executes the method as described in any one of claims 1 to 27.

Citation Information

Patent Citations

  • Method of reducing computation of water tolerance by projecting touch data

    CN103376963A

  • Touch control display panel, driving method thereof and touch control display device

    CN106775162A

  • Touch panel wet state detection method and capacitive touch apparatus

    CN108271418A

  • Mobile terminal and method for controlling the same

    US20190235660A1