Touch control processing method and device, electronic equipment and storage medium

By combining self-capacitance and mutual capacitance scanning modes, and filtering and weighting capacitance data, the problem of screen response signal coupling under water operation is solved, achieving stable and reliable touch signal acquisition and ensuring the accurate execution of electronic device functions.

CN121996089APending Publication Date: 2026-05-08BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Filing Date
2024-11-01
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

When operating electronic devices with wet screens, the screen response signals triggered by fingers and water are severely coupled, making it difficult to accurately identify user actions and trigger corresponding functions.

Method used

By combining the first and second scanning modes, the capacitance data is filtered using the characteristics of self-capacitance and mutual capacitance to determine the target touch signal. Stable and reliable target pixel coordinates are obtained through weighted and exponentially weighted moving average filtering.

Benefits of technology

It improves the reliability and stability of touch signals under wet conditions, ensuring that electronic devices accurately execute user touch operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121996089A_ABST
    Figure CN121996089A_ABST
Patent Text Reader

Abstract

The invention relates to a touch control processing method and device, electronic equipment and a storage medium. The touch control processing method comprises the following steps: determining a target touch control signal according to n pieces of first capacitance data in a first scanning mode and i pieces of second capacitance data in a second scanning mode in response to a condition that target liquid exists on a touch control screen and a touch control operation is received, the i pieces of second capacitance data are capacitance data distributed in a touch area in m pieces of second capacitance data in the second scanning mode, and the touch area is a touch area corresponding to the n pieces of first capacitance data; and executing a function corresponding to the target touch signal according to the target touch signal. According to the method and the device, the target touch signal is acquired according to the detected n pieces of first capacitance data and i pieces of second capacitance data distributed in the touch area, so that the reliability of the acquired target touch signal is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of intelligent device control, and more particularly to a touch processing method, apparatus, electronic device, and storage medium. Background Technology

[0002] Unstable touch detection on wet electronic device screens is a major pain point. This is because both user fingers and water on the screen surface trigger touch responses, resulting in severe coupling between the water-triggered and finger-triggered screen response signals, making them difficult to distinguish and accurately identify user actions and trigger corresponding functions.

[0003] In related technologies, post-processing can be performed based on the screen coordinates corresponding to the screen response signal generated by the user's operation with water, thereby reducing the interference caused by the water-triggered screen response signal, so that the electronic device can perform the corresponding function as much as possible according to the screen response signal triggered by the user's finger. Summary of the Invention

[0004] To overcome the problems existing in related technologies, this disclosure provides a touch processing method, apparatus, electronic device, and storage medium.

[0005] According to a first aspect of the present disclosure, a touch processing method is provided, comprising: responding to the presence of a target liquid on a touch screen and receiving a touch operation; determining a target touch signal based on n first capacitance data in a first scanning mode and i second capacitance data in a second scanning mode, wherein the i second capacitance data are capacitance data distributed in a touch area among m second capacitance data in the second scanning mode, and the touch area is the touch area corresponding to the n first capacitance data; and executing a function corresponding to the target touch signal based on the target touch signal.

[0006] In one embodiment, determining the target touch signal based on n first capacitor data in a first scanning mode and i second capacitor data in a second scanning mode includes: determining first pixel coordinates based on the correspondence between the first capacitor data and pixel coordinates and the data value corresponding to each of the n first capacitor data; determining second pixel coordinates based on the correspondence between the second capacitor data and pixel coordinates and the data value corresponding to each of the i second capacitor data; obtaining target pixel coordinates based on the first pixel coordinates and the second pixel coordinates, and determining the target pixel coordinates as the target touch signal.

[0007] In one embodiment, obtaining the target pixel coordinates based on the first pixel coordinates and the second pixel coordinates includes: weighting the first pixel coordinates and the second pixel coordinates respectively to obtain weighted first pixel coordinates and weighted second pixel coordinates; determining the sum of the weighted first pixel coordinates and the weighted second pixel coordinates as a third pixel coordinate; and obtaining the target pixel coordinates based on the third pixel coordinates.

[0008] In one embodiment, the first capacitance data and the second capacitance data are data continuously collected by the touch screen after receiving a touch operation; obtaining the target pixel coordinates based on the third pixel coordinates includes: in response to the n first capacitance data and the m second capacitance data being data collected by the touch screen at the first time node after receiving a touch operation, determining the third pixel coordinates as the target pixel coordinates; in response to the n first capacitance data and the m second capacitance data being data collected by the touch screen at time nodes after the first time node after receiving a touch operation, obtaining the target pixel coordinates based on the third target pixel coordinates weighted by the third weight and the historical pixel coordinates weighted by the fourth weight using an exponentially weighted moving average filtering method, wherein the historical pixel coordinates are the target pixel coordinates obtained at the previous time node, and the third weight and the fourth weight are parameters that change with the time node, with the third weight being greater than the fourth weight at the same time node.

[0009] In one embodiment, the n first capacitor data include n / 2 first capacitor data corresponding to the first dimension and n / 2 first capacitor data corresponding to the second dimension; the touch area is obtained in the following manner: the touch area is determined according to the correspondence between the first capacitor data and pixel coordinates, the n / 2 first capacitor data corresponding to the first dimension and the n / 2 first capacitor data corresponding to the second dimension.

[0010] In one embodiment, the first scanning mode is a self-capacitance-based scanning mode, and the first capacitance data is a self-capacitance signal; the second scanning mode is a mutual capacitance-based scanning mode, and the second capacitance data is a mutual capacitance signal.

[0011] In one embodiment, the first scanning mode is a mutual capacitance scanning mode, and the first capacitance data is a mutual capacitance signal; the second scanning mode is a self-capacitance scanning mode, and the second capacitance data is a self-capacitance signal.

[0012] In one embodiment, determining the target touch signal based on n first capacitor data in a first scanning mode and i second capacitor data in a second scanning mode includes: determining the touch area corresponding to the i second capacitor data, and determining j first capacitor data distributed in the touch area corresponding to the i second capacitor data from the n first capacitor data; and determining the target touch signal based on the i second capacitor data and the j first capacitor data.

[0013] In one embodiment, the data value corresponding to each of the n first capacitor data is greater than a preset threshold.

[0014] According to a second aspect of the present disclosure, a touch processing apparatus is provided, comprising: a processing unit, configured to, in response to the presence of a target liquid on a touch screen and receiving a touch operation, determine a target touch signal based on n first capacitance data in a first scanning mode and i second capacitance data in a second scanning mode, wherein the i second capacitance data are capacitance data distributed in a touch area among m second capacitance data in the second scanning mode, and the touch area is a touch area corresponding to the n first capacitance data; and an execution unit, configured to execute a function corresponding to the target touch signal based on the target touch signal.

[0015] In one embodiment, the processing unit determines the target touch signal based on n first capacitor data in a first scanning mode and i second capacitor data in a second scanning mode as follows: First pixel coordinates are determined based on the correspondence between the first capacitor data and pixel coordinates, and the data value corresponding to each of the n first capacitor data; second pixel coordinates are determined based on the correspondence between the second capacitor data and pixel coordinates, and the data value corresponding to each of the i second capacitor data; and target pixel coordinates are obtained based on the first pixel coordinates and the second pixel coordinates, and the target pixel coordinates are determined as the target touch signal.

[0016] In one embodiment, the processing unit obtains the target pixel coordinates based on the first pixel coordinates and the second pixel coordinates in the following manner: weighting the first pixel coordinates and the second pixel coordinates respectively to obtain weighted first pixel coordinates and weighted second pixel coordinates; determining the sum of the weighted first pixel coordinates and the weighted second pixel coordinates as the third pixel coordinates; and obtaining the target pixel coordinates based on the third pixel coordinates.

[0017] In one embodiment, the first capacitance data and the second capacitance data are data continuously collected by the touch screen after receiving a touch operation; the processing unit obtains the target pixel coordinates based on the third pixel coordinates in the following manner: in response to the n first capacitance data and the m second capacitance data being data collected by the touch screen at the first time node after receiving a touch operation, the third pixel coordinates are determined as the target pixel coordinates; in response to the n first capacitance data and the m second capacitance data being data collected by the touch screen at time nodes after the first time node after receiving a touch operation, the target pixel coordinates are obtained based on the third target pixel coordinates weighted by the third weight and the historical pixel coordinates weighted by the fourth weight, using an exponentially weighted moving average filtering method, wherein the historical pixel coordinates are the target pixel coordinates obtained at the previous time node, and the third weight and the fourth weight are parameters that change with the time node, with the third weight being greater than the fourth weight at the same time node.

[0018] In one embodiment, the n first capacitance data include n / 2 first capacitance data corresponding to the first dimension and n / 2 first capacitance data corresponding to the second dimension; the touch area is obtained by the processing unit in the following manner: the touch area is determined according to the correspondence between the first capacitance data and pixel coordinates, the n / 2 first capacitance data corresponding to the first dimension and the n / 2 first capacitance data corresponding to the second dimension.

[0019] In one embodiment, the first scanning mode is a self-capacitance-based scanning mode, and the first capacitance data is a self-capacitance signal; the second scanning mode is a mutual capacitance-based scanning mode, and the second capacitance data is a mutual capacitance signal.

[0020] In one embodiment, the first scanning mode is a mutual capacitance scanning mode, and the first capacitance data is a mutual capacitance signal; the second scanning mode is a self-capacitance scanning mode, and the second capacitance data is a self-capacitance signal.

[0021] In one embodiment, the processing unit determines the target touch signal based on n first capacitor data in a first scanning mode and i second capacitor data in a second scanning mode as follows: determining the touch area corresponding to the i second capacitor data, and determining j first capacitor data distributed in the touch area corresponding to the i second capacitor data from the n first capacitor data; determining the target touch signal based on the i second capacitor data and the j first capacitor data.

[0022] In one embodiment, the data value corresponding to each of the n first capacitor data is greater than a preset threshold.

[0023] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: execute the touch processing method described in the first aspect or any embodiment of the first aspect.

[0024] According to a fourth aspect of the present disclosure, a storage medium is provided, the storage medium storing instructions that, when executed by a processor, enable the processor to perform the touch processing method described in the first aspect or any embodiment of the first aspect.

[0025] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: When a target liquid is present on a touch screen and a touch operation is received, a target touch signal is determined based on n first capacitance data in a first scanning mode and i second capacitance data in a second scanning mode. The i second capacitance data are capacitance data distributed in the touch area among m second capacitance data in the second scanning mode, and the touch area is the touch area corresponding to the n first capacitance data. The function corresponding to the target touch signal is executed based on the target touch signal. Through this disclosure, the m second capacitance data are filtered based on the touch area corresponding to the detected n first capacitance data, and then the target touch signal is obtained based on the filtered i second capacitance data and n first capacitance data, thus improving the reliability of the obtained target touch signal.

[0026] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0027] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0028] Figure 1 This disclosure provides a schematic diagram illustrating an exemplary embodiment of a method for determining contact coordinates.

[0029] Figure 2 This is a flowchart illustrating a touch processing method according to an exemplary embodiment.

[0030] Figure 3 This is a flowchart illustrating a method for acquiring a target touch signal according to an exemplary embodiment.

[0031] Figure 4 This is a schematic diagram illustrating a method for determining the coordinates of a first pixel according to an exemplary embodiment of the present disclosure.

[0032] Figure 5This is a schematic diagram illustrating a method for determining the coordinates of a second pixel according to an exemplary embodiment of the present disclosure.

[0033] Figure 6 This is a flowchart illustrating a method for obtaining target pixel coordinates based on first pixel coordinates and second pixel coordinates according to an exemplary embodiment.

[0034] Figure 7 This is a flowchart illustrating a method for obtaining target pixel coordinates based on third pixel coordinates according to an exemplary embodiment.

[0035] Figure 8 This is a schematic diagram illustrating a method for processing the coordinates of a third pixel based on an exponentially weighted moving average filtering method according to an exemplary embodiment of this disclosure.

[0036] Figure 9 This is a schematic diagram illustrating a method for determining a touch area according to an exemplary embodiment of the present disclosure.

[0037] Figure 10 This is a flowchart illustrating a method for determining a target touch signal according to an exemplary embodiment.

[0038] Figure 11 This is a flowchart illustrating a touch processing method according to an exemplary embodiment of the present disclosure.

[0039] Figure 12 This is a block diagram illustrating a touch processing device according to an exemplary embodiment.

[0040] Figure 13 This is a block diagram illustrating a device for touch processing according to an exemplary embodiment.

[0041] Figure 14 This is a block diagram illustrating a device for touch processing according to an exemplary embodiment. Detailed Implementation

[0042] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure.

[0043] The touch processing method provided in this disclosure is applied to a scenario where an electronic device has a liquid on its screen that can trigger a touch signal and receives a touch operation, and determines the touch signal corresponding to the touch operation.

[0044] When operating the screen of an electronic device with water on it, the unstable screen touch points are one of the pain points of wet hand touch. The reason for the unstable screen touch points when operating the screen with water is that both the user's finger and water can trigger screen contact responses on the screen surface, resulting in severe coupling of the screen response signals triggered by water and the screen response signals triggered by the finger, making it difficult to distinguish, and thus making it difficult to accurately identify the user's operation and trigger the corresponding function. In view of the above scenario of operating the screen of an electronic device with water, in related technologies, post-processing can be performed based on the screen coordinates corresponding to the screen response signals generated by the user's operation with water, so as to reduce the interference caused by the screen response signals triggered by water, so that the electronic device can execute the corresponding functions as much as possible according to the screen response signals triggered by the user's finger.

[0045] In related technologies, for the scenario of water touch on an electronic device, based on the continuity of the user's touch operation in time, for the trigger signals corresponding to the water touch collected at the front end of the electronic device (including the trigger signals corresponding to finger touch and the trigger signals triggered by water), the back end of the electronic device performs an algorithm on the coordinates corresponding to the touch points, that is, increasing the lock point distance of the coordinates and increasing the filtering weight of the coordinates, and filtering the coordinates corresponding to the trigger signals triggered by water. Figure 1 The schematic diagram of the touch point coordinate determination method shown in an exemplary embodiment of the present disclosure is as Figure 1 shown. When operating with water, based on a preset algorithm, the coordinate corresponding to the touch trigger signal in the previous frame is determined as P1, and the coordinate calculated based on the preset algorithm in this frame is P2, then the lock point distance is set as r. When the position change of the coordinates in two consecutive frames is greater than the lock point distance r (that is, dis|P1 - P2| < r, where dis|P1 - P2| is the distance corresponding to the position change of the coordinates in two consecutive frames), the coordinate reporting point is maintained at P1, otherwise the coordinate is updated to P2. This solution can eliminate the coordinate jitter and burr problems caused by the signal change triggered by water to a certain extent, but this solution only has a good effect for the case of less water on the screen, and the optimization is not obvious when sliding with a lot of water; too large lock point distance or too large smoothing weight will bring obvious coordinate jumps and lag problems.

[0046] In related technologies, for scenarios involving wet touch on electronic devices, the characteristics of self-capacitance in capacitive touchscreens—which is insensitive to water and not easily affected by water to generate self-capacitance signals—and mutual capacitance in capacitive touchscreens—which is sensitive to water and easily affected by water to generate mutual capacitance signals—are utilized. For wet touch scenarios and normal touch scenarios, the capacitance signals (including self-capacitance signals and mutual capacitance signals) used to determine touch point coordinates are adaptively switched to reduce interference caused by the screen being wet when acquiring finger touch signals. That is, in wet operation scenarios, the electronic device function is triggered based on the self-capacitance signal generated by self-capacitance. In normal (non-wet) scenarios, the electronic device function is triggered based on the mutual capacitance signal generated by mutual capacitance. However, frequently switching coordinate calculation methods introduces additional coordinate jitter problems. Furthermore, since the self-capacitance on the touchscreen of an electronic device is generally located at the outermost edge of the touchscreen and corresponds to the long and short sides of the screen respectively, the number of self-capacitances involved in the calculation in the electronic device is too small, resulting in low coordinate accuracy and poor stability.

[0047] In view of this, this disclosure proposes a touch processing method. When a target liquid is present on a touch screen and a touch operation is received, a target touch signal is determined based on n first capacitance data in a first scanning mode and i second capacitance data in a second scanning mode. The i second capacitance data are capacitance data distributed in the touch area among m second capacitance data in the second scanning mode, and the touch area is the touch area corresponding to the n first capacitance data. Based on the target touch signal, the function corresponding to the target touch signal is executed. Through this disclosure, the m second capacitance data are filtered based on the touch area corresponding to the detected n first capacitance data, and then the target touch signal is obtained based on the filtered i second capacitance data and n first capacitance data, thus improving the reliability of the acquired target touch signal.

[0048] Figure 2 This is a flowchart illustrating a touch processing method according to an exemplary embodiment. Figure 2 As shown, the method includes the following steps.

[0049] In step S101, in response to the presence of a target liquid on the touch screen and the receipt of a touch operation, a target touch signal is determined based on n first capacitor data in the first scanning mode and i second capacitor data in the second scanning mode. The i second capacitor data are the capacitor data distributed in the touch area among the m second capacitor data in the second scanning mode, and the touch area is the touch area corresponding to the n first capacitor data.

[0050] In step S102, the function corresponding to the target touch signal is executed according to the target touch signal.

[0051] In this embodiment, the target liquid triggers the touchscreen to detect capacitance data. When the target liquid is present on the touchscreen and a touch operation is received, the capacitance data detected by the touchscreen includes capacitance data triggered by the user's touch and capacitance data triggered by the target liquid. Based on this, when the target liquid is present on the touchscreen and a touch operation is received, this disclosure uses the touch processing method to acquire the target touch signal and execute the function corresponding to the target touch signal. When the above touch processing method is enabled, this disclosure simultaneously uses a first scanning mode to acquire first capacitance data and a second scanning mode to acquire second capacitance data. The first and second scanning modes have different characteristics; the sensitivity of the first and second scanning modes to the target liquid triggering is different, and the amount of data acquired by the first and second scanning modes for the user's touch operation is different. Therefore, the touch area corresponding to the first capacitance data and the touch area corresponding to the second capacitance data are different. This disclosure combines the features of the first and second scanning modes to acquire a target touch signal based on first and second capacitance data. The overall process involves determining the intersection touch area between the touch areas corresponding to the first and second capacitance data, and then acquiring the target signal based on the capacitance data within this intersection touch area. This filters out some capacitance data triggered by the target liquid during target signal acquisition, improving the reliability of the capacitance data used to acquire the target signal. Furthermore, the target touch signal is determined based on the first and second capacitance data within the intersection touch area, ensuring sufficient capacitance data for target touch signal determination, guaranteeing the stability of target touch signal acquisition, and improving the reliability of the acquired target touch signal. This allows for the stable and accurate execution of the device function corresponding to the user's touch operation based on the target touch signal.

[0052] In an exemplary embodiment of this disclosure, when the first scanning mode is a self-capacitance scanning mode and the second scanning mode is a mutual capacitance scanning mode, based on the characteristic that self-capacitance is insensitive to triggering by the target liquid (such as water) in the first scanning mode, the second capacitance data corresponding to the mutual capacitance signal is filtered using the first capacitance data corresponding to the self-capacitance signal. That is, the touch area corresponding to n first capacitance data is determined, and then i second capacitance data distributed in the determined touch area are determined from the m second capacitance data corresponding to the mutual capacitance signal. The i second capacitance data are the second capacitance data obtained after filtering. Considering that mutual capacitance is relatively sensitive to triggering by the target liquid in the second scanning mode, while self-capacitance is insensitive to triggering by the target liquid in the first scanning mode, the i second capacitance data obtained after filtering are mainly the capacitance data triggered by the user's touch part (such as a finger), while the mi second capacitance data outside the filtered touch area can be regarded as the second capacitance data triggered by the target liquid. Therefore, through this disclosure, the touch area corresponding to the self-capacitance signal (first capacitance data) is used to filter the second capacitance data, filtering out most of the first capacitance data triggered by the target liquid. This reduces the impact of the target liquid on the acquisition of the target touch signal, ensuring that the target touch signal is mainly acquired based on the second capacitance data triggered by the user's touch operation, thus guaranteeing the reliability of the final acquired target touch signal. It is understood that the above-described settings for the first and second scanning modes are only an exemplary embodiment. In specific usage scenarios, the above two types of scanning modes can be set according to requirements. The first and second scanning modes can be scanning modes based on different triggering principles. In addition to the above exemplary embodiment, the first scanning mode can be based on a self-capacitance scanning mode, and the second scanning mode can be based on a mutual capacitance scanning mode. Furthermore, the first and second scanning modes can be scanning modes based on the same triggering principle but with different trigger node layouts. For example, both the first and second scanning modes can be based on a self-capacitance scanning mode, or both can be based on a mutual capacitance scanning mode.

[0053] In one example of this disclosure, the target liquid can be water, various beverages, or any other liquid that can trigger an erroneous screen response.

[0054] In this embodiment, considering that the i second capacitor data obtained after screening may still include second capacitor data triggered by the target liquid, and that a single type of capacitor data may have insufficient data volume, this disclosure, after obtaining the i second capacitor data, combines the two types of capacitor data to obtain the target touch signal, that is, further obtains the target touch signal based on the i second capacitor data and n first capacitor data.

[0055] In this embodiment of the disclosure, after determining i second capacitor data, the first pixel coordinates corresponding to the i second capacitor data are determined, and the second pixel coordinates corresponding to n first capacitor data are determined. Then, the target pixel coordinates are obtained by combining the first pixel coordinates and the second pixel coordinates. The following embodiments of this disclosure describe the method for obtaining the target touch signal.

[0056] Figure 3 This is a flowchart illustrating a method for acquiring a target touch signal according to an exemplary embodiment. Figure 3 As shown, the method includes the following steps.

[0057] In step S201, the first pixel coordinates are determined based on the correspondence between the first capacitor data and the pixel coordinates, and the data value corresponding to each of the n first capacitor data.

[0058] In step S202, the second pixel coordinates are determined based on the correspondence between the second capacitor data and the pixel coordinates, and the data value corresponding to each of the i second capacitor data.

[0059] In step S203, the target pixel coordinates are obtained based on the first pixel coordinates and the second pixel coordinates, and the target pixel coordinates are determined as the target touch signal.

[0060] In this embodiment, the first pixel coordinates corresponding to the n first capacitor data are determined on the screen area based on the correspondence between the first capacitor data and pixel coordinates, and the data value corresponding to each of the n first capacitor data. After determining i second capacitor data, the second pixel coordinates are determined based on the correspondence between the second capacitor data and pixel coordinates, and the data value corresponding to each of the i second capacitor data. Furthermore, given that the first scanning mode and the second scanning mode have different characteristics—that is, the first scanning mode and the second scanning mode have different sensitivities to target liquid triggering, and the first scanning mode and the second scanning mode acquire different amounts of data for user touch operations—this disclosure combines the first pixel coordinates determined based on the first capacitor data and the second pixel coordinates obtained based on the second capacitor data to determine the target pixel coordinates, ensuring the reliability of the target pixel coordinate acquisition.

[0061] In an exemplary embodiment of this disclosure, when the first scanning mode is a self-capacitance scanning mode and the second scanning mode is a mutual capacitance scanning mode, after acquiring the first pixel coordinates corresponding to n first capacitance data and the second pixel coordinates corresponding to i second capacitance data, considering the characteristics of the self-capacitance contacts used to acquire the first capacitance data in the first touch mode being insensitive to liquid triggering and having a small number of self-capacitance contacts participating in the calculation, resulting in poor triggering stability, and the mutual capacitance contacts in the second touch mode being sensitive to liquid triggering and having a much higher number of mutual capacitance contacts than self-capacitance contacts, resulting in high triggering stability, this disclosure determines the target pixel coordinates representing the user's touch position based on the first pixel coordinates and the second pixel coordinates, and uses the target pixel coordinates as the target touch signal. While reducing the interference of the target liquid on the acquisition of the target touch signal, it also ensures the stability of the acquired target touch signal, thereby ensuring the reliability of the finally acquired target touch signal and ensuring the stable and accurate execution of the device function corresponding to the user's touch operation.

[0062] In an exemplary embodiment of this disclosure, Figure 4 This is a schematic diagram illustrating a method for determining the coordinates of a first pixel according to an exemplary embodiment of the present disclosure, as shown below. Figure 4 As shown, after completing the filtering of the second capacitor data and obtaining i second capacitor data, this disclosure, based on the distribution of the data values ​​corresponding to each second capacitor data in the i second capacitor data, takes the second capacitor data distributed in the data center locations of multiple second capacitor data as the first target second capacitor data, and determines the pixel coordinates corresponding to the first target second capacitor data as the first pixel coordinates (also known as mutual capacitance coordinates).

[0063] In an exemplary embodiment of this disclosure, Figure 5 This is a schematic diagram illustrating a method for determining the coordinates of a second pixel according to an exemplary embodiment of the present disclosure, as shown below. Figure 5 As shown, this disclosure determines the second capacitor data with the largest data value among multiple first capacitor data in the last row, and determines the coordinates of the self-capacitive contact corresponding to the second capacitor data with the largest data value in the last row. Similarly, it determines the second capacitor data with the largest data value among multiple first capacitor data in the last column, and determines the coordinates of the self-capacitive contact corresponding to the second capacitor data with the largest data value in the last column. Based on the determined two self-capacitive contact coordinates, the second pixel coordinates (also called self-capacitive coordinates) are obtained.

[0064] In this embodiment of the disclosure, the determined first pixel coordinates and second pixel coordinates are weighted respectively, and the target pixel coordinates are obtained based on the weighted first pixel coordinates and second pixel coordinates. The following embodiments of this disclosure illustrate the method for obtaining the target pixel coordinates.

[0065] Figure 6This is a flowchart illustrating a method for obtaining target pixel coordinates based on first pixel coordinates and second pixel coordinates, according to an exemplary embodiment. Figure 6 As shown, the method includes the following steps.

[0066] In step S301, the first pixel coordinates and the second pixel coordinates are weighted respectively to obtain the weighted first pixel coordinates and the weighted second pixel coordinates.

[0067] In step S302, the sum of the weighted first pixel coordinates and the weighted second pixel coordinates is determined as the third pixel coordinates.

[0068] In step S303, the target pixel coordinates are obtained based on the third pixel coordinates.

[0069] In this embodiment, given that the first scanning mode and the second scanning mode have different characteristics—namely, the first and second scanning modes have different sensitivities to the target liquid trigger and different amounts of data acquired by the first and second scanning modes in response to user touch operations—this disclosure combines the first pixel coordinates determined based on the first capacitance data and the second pixel coordinates obtained based on the second capacitance data to determine the target pixel coordinates. Specifically, it uses a method of setting weights for the first and second pixel coordinates respectively, and the sum of the weighted first and second pixel coordinates is determined as the third pixel coordinate. The target pixel coordinates are then obtained from the third pixel coordinates. In this disclosure, different weights can be set for the first and second pixel coordinates based on their respective characteristics and laboratory data. In one example, the weights for both the first and second pixel coordinates can be set to 0.5.

[0070] In an exemplary embodiment of this disclosure, when the first scanning mode is based on self-capacitance scanning and the second scanning mode is based on mutual capacitance scanning, the coordinates (second pixel coordinates) are calculated using self-capacitance data (n first capacitance data) taking advantage of the insensitivity of self-capacitance contacts to liquid trigger signals. However, since there are relatively few self-capacitance contacts on the touchscreen, the amount of self-capacitance data suffers from problems such as small data volume, low accuracy, and poor stability. In contrast, the coordinates calculated using the filtered mutual capacitance data (i second capacitance data) still contain some response signals from the target liquid trigger (a certain second capacitance data). However, the number of mutual capacitance contacts on the touchscreen is much higher than that of self-capacitance contacts, thus mutual capacitance data has the advantages of large data volume and stronger coordinate stability. Based on the above analysis, this disclosure combines the characteristic advantages of mutual capacitance data and self-capacitance data, performs average weighting processing on the obtained first and second pixel coordinates to obtain the third pixel coordinate, and obtains the target pixel coordinate based on the third pixel coordinate. This eliminates interference caused by the target liquid trigger while ensuring the stability of the target pixel coordinate acquisition, further improving the reliability of the finally obtained target touch signal.

[0071] It is understandable that when users perform touch operations on a touchscreen, they often drag the device. Furthermore, touchscreen data has a very high sampling rate; even with short-term touches, the touchscreen can continuously collect multiple capacitance data points. In this case, the target touch signal generated by the user's touch operation is continuous in time, meaning that the target pixel coordinates corresponding to adjacent time points have a certain continuity and are not too far apart. Based on this, when obtaining the target pixel coordinates corresponding to the current time point, this disclosure combines the historical target pixel coordinates obtained at the previous time point. The following embodiments of this disclosure further illustrate the method for obtaining target pixel coordinates.

[0072] Figure 7 This is a flowchart illustrating a method for obtaining target pixel coordinates based on third pixel coordinates, according to an exemplary embodiment. Figure 7 As shown, the method includes the following steps.

[0073] In step S401, the sum of the weighted first pixel coordinates and the weighted second pixel coordinates is determined as the third pixel coordinates.

[0074] In step S402A, in response to the fact that n first capacitor data and m second capacitor data are data collected by the touch screen at the first time node after receiving the touch operation, the third pixel coordinates are determined as the target pixel coordinates.

[0075] In step S402B, in response to the fact that n first capacitor data and m second capacitor data are data collected at time points after the first time point after the touch screen receives the touch operation, the target pixel coordinates are obtained based on the exponentially weighted moving average filtering method, according to the third target pixel coordinates weighted by the third weight and the historical pixel coordinates weighted by the fourth weight.

[0076] Among them, the historical pixel coordinates are the target pixel coordinates obtained at the previous time node, and the third weight and the fourth weight are parameters that change with the time node. At the same time node, the third weight is greater than the fourth weight.

[0077] In this embodiment, to ensure the stability of target touch processing, an exponentially weighted moving average filtering method is added to the third pixel coordinates obtained after weighted summation. This method smooths the data by setting exponential weights that change over time for the target pixel coordinates corresponding to adjacent time nodes. The exponentially weighted moving average filtering method assigns a higher weight (third weight) to the third pixel coordinates obtained at the most recent time node, and a lower weight (fourth weight) to the target pixel coordinates obtained at the previous time node adjacent to the most recent time node (historical pixel coordinates), thus ultimately obtaining the target pixel coordinates. By using the exponentially weighted moving average filtering method to process the third pixel coordinates obtained from the weighted summation to obtain the target pixel coordinates, the stability of the coordinates is optimized while reducing the lag in the coordinates.

[0078] It is understandable that, when the self-capacitance signal and mutual capacitance signal are the signals collected by the touch screen at the first time point after receiving the touch operation, the third pixel coordinate obtained by weighted summation at the current time point does not have a corresponding historical pixel coordinate. Therefore, in this case, the third pixel coordinate is directly used as the target pixel coordinate.

[0079] In an exemplary embodiment of this disclosure, Figure 8 This is a schematic diagram illustrating a method for processing the coordinates of a third pixel based on an exponentially weighted moving average filtering method according to an exemplary embodiment of this disclosure, as shown below. Figure 8 As shown, the original coordinates in the image are the coordinates of the third pixel obtained by weighted summation, and the optimized coordinates are the target pixel coordinates obtained by processing the third pixel coordinates using the exponentially weighted moving average filtering method. Since the original coordinates of the first frame do not have corresponding historical pixel coordinates for processing using the exponentially weighted moving average filtering method, the original coordinates of the first frame and the optimized coordinates of the first frame correspond to the same coordinates and overlap, as shown below. Figure 8As shown, by using the exponentially weighted moving average filtering method to process the optimized coordinates after the original coordinates of the first frame, the difference between the optimized coordinates corresponding to adjacent time frames can be reduced, so that the optimized coordinates obtained frame by frame are smoothly distributed in time. While optimizing the stability of the coordinates, the lag of the coordinates can be reduced.

[0080] In one embodiment of this disclosure, the n first capacitor data include n / 2 first capacitor data corresponding to the first dimension and n / 2 first capacitor data corresponding to the second dimension; the touch area is obtained in the following manner: the touch area is determined according to the correspondence between the first capacitor data and pixel coordinates, the n / 2 first capacitor data corresponding to the first dimension and the n / 2 first capacitor data corresponding to the second dimension.

[0081] In this embodiment, the touch area used to filter out i second capacitance data is the touch area corresponding to n first capacitance data. The n first capacitance data include n / 2 first capacitance data corresponding to the first dimension and n / 2 first capacitance data corresponding to the second dimension, with a one-to-one correspondence between the first capacitance data corresponding to the first dimension and the first capacitance data corresponding to the second dimension. This disclosure can determine the pixel coordinates corresponding to each pair of corresponding first capacitance data based on the correspondence between the first capacitance data and pixel coordinates, and consider the area corresponding to all corresponding pixel coordinates as the aforementioned touch area. Alternatively, a single pair of first capacitance data corresponding to a single extreme value can be determined from each pair of corresponding first capacitance data. Based on the correspondence between the first capacitance data and pixel coordinates and the first capacitance data pair, the single pixel coordinate corresponding to the first capacitance data pair can be determined, and the aforementioned touch area is determined by the area enclosed by a specific shape centered on the single pixel coordinate. The specific shape includes, but is not limited to, circles, ellipses, and rectangles.

[0082] In an exemplary embodiment of this disclosure, Figure 9 This is a schematic diagram illustrating a method for determining a touch area according to an exemplary embodiment of the present disclosure, as shown below. Figure 9As shown, the last column and last row on the touchscreen are self-capacitive contacts used to acquire self-capacitive data (first capacitance data). The last column on the touchscreen represents the self-capacitive data in the sending electrode (Tx) dimension (first dimension), and the last column represents the self-capacitive data in the receiving electrode (Rx) dimension (second dimension). All other parts of the touchscreen are mutual capacitance contacts. The maximum value of the self-capacitive signal on the self-capacitive projection area corresponding to the mutual capacitance touch area in the Tx dimension is obtained, and its corresponding first capacitance data (or channel unit) position is recorded as P(x1,y1). The maximum value of the self-capacitive signal on the self-capacitive projection area corresponding to the mutual capacitance touch area in the Rx dimension is obtained, and its corresponding first capacitance data position is recorded as P(x2,y2). Then, the second capacitance data positions P(x1,y2) corresponding to P(x1,y1) and P(x2,y2) are determined. Then, centering on P(x1,y2) and based on a preset length k (e.g., 5), a screen region of size k*k (or a dynamic truncation template) is determined. The intersection of this k*k screen region and the original mutual capacitance touch region (including m second capacitor data points) is used to obtain the truncated effective mutual capacitance data interval (including i second capacitor data points), i.e. Figure 9 The multiple second capacitor data points highlighted by the thick black border can be understood as follows: electronic devices typically set signal value thresholds based on the lower limit of the signal value corresponding to the user's touch operation. Figure 9 The electronic devices in the system are equipped with signal value thresholds, therefore Figure 9 The second capacitor data, which corresponds to a smaller signal value in the middle section, was not selected.

[0083] The following embodiments illustrate the first scanning mode and the second scanning mode.

[0084] In one embodiment, the first scanning mode is a self-capacitance-based scanning mode, and the first capacitance data is a self-capacitance signal; the second scanning mode is a mutual capacitance-based scanning mode, and the second capacitance data is a mutual capacitance signal.

[0085] In this embodiment, based on the characteristic that self-capacitance is insensitive to target liquid triggering and mutual capacitance is sensitive to target liquid triggering, the collected capacitance data is filtered. In the first scanning mode, which is a self-capacitance-based scanning mode, and the first capacitance data is a self-capacitance signal, since self-capacitance is insensitive to target liquid triggering, the first capacitance data mainly consists of self-capacitance signals triggered by user touch operations. In the second scanning mode, which is a mutual capacitance-based scanning mode, the second capacitance data is a mutual capacitance signal. Since mutual capacitance is relatively sensitive to target liquid triggering, the second capacitance data includes mutual capacitance signals triggered by user touch operations and mutual capacitance signals triggered by target liquid. Given that self-capacitance is insensitive to target liquid triggering and the first capacitance data mainly consists of self-capacitance signals triggered by user touch operations, the n first capacitance data can be directly used in subsequent calculations without further processing. Therefore, after filtering the second capacitance data corresponding to the mutual capacitance signals using the first capacitance data corresponding to the self-capacitance signals to obtain i second capacitance data, the target touch signal is determined based on the i filtered second capacitance data and the n first capacitance data.

[0086] The following embodiments further illustrate the first scanning mode and the second scanning mode.

[0087] In one embodiment, the first scanning mode is a mutual capacitance scanning mode, and the first capacitance data is a mutual capacitance signal; the second scanning mode is a self-capacitance scanning mode, and the second capacitance data is a self-capacitance signal.

[0088] The following embodiments further illustrate the touch processing method of this disclosure.

[0089] Figure 10 This is a flowchart illustrating a method for determining a target touch signal according to an exemplary embodiment. Figure 10 As shown, the method includes the following steps.

[0090] In step S501, the touch area corresponding to i second capacitor data is determined, and j first capacitor data distributed in the touch area corresponding to i second capacitor data are determined from n first capacitor data.

[0091] In step S502, the target touch signal is determined based on i second capacitor data and j first capacitor data.

[0092] In this embodiment of the disclosure, when the first scanning mode is a mutual capacitance scanning mode and the first capacitance data is a mutual capacitance signal; and the second scanning mode is a self-capacitance scanning mode and the second capacitance data is a self-capacitance signal, after determining i second capacitance data, n first capacitance data are further processed according to the touch area corresponding to the i second capacitance data. Based on the j first capacitance data and i second capacitance data obtained after filtering, the target touch signal is determined to ensure the reliability of the acquired target touch signal.

[0093] It is understandable that the first scanning mode and the second scanning mode can be based on the same triggering principle but have different triggering node layouts. For example, the first scanning mode and the second scanning mode can both be based on the self-capacitance scanning mode, or the first scanning mode and the second scanning mode can both be based on the mutual capacitance scanning mode. However, the first capacitance data obtained by the first scanning mode and the first capacitance data obtained by the first scanning mode are obtained based on different groups of touch points, and the touch points of different groups can correspond to the same pixel coordinates.

[0094] In an exemplary embodiment of this disclosure, based on the requirements of the application scenario, the first scanning mode can be a self-capacitance-based scanning mode, in which case the first capacitance data is a self-capacitance signal; the first scanning mode can also be a mutual capacitance-based scanning mode, in which case the first capacitance data is a mutual capacitance signal. Similarly, the second scanning mode can be a self-capacitance-based scanning mode, in which case the second capacitance data is a self-capacitance signal; the first scanning mode can also be a mutual capacitance-based scanning mode, in which case the first capacitance data is a mutual capacitance signal. For example, when there are other specific objects on the screen, if the touch point of self-capacitance is sensitive to triggering the specific object, while the touch point of mutual capacitance is not sensitive to triggering the specific object, the second scanning mode in this disclosure is a capacitance data scanning mode based on self-capacitance, where the second capacitance data is a self-capacitance signal, and the first scanning mode is a capacitance data scanning mode based on mutual capacitance, where the first capacitance data is a mutual capacitance signal. Furthermore, the first capacitance data obtained through the first scanning mode is used to filter the second capacitance data obtained through the second scanning mode.

[0095] It is understood that when a user triggers touchscreen data, the resulting capacitance data value is generally higher than a certain value. Based on this, this disclosure sets a preset threshold to filter out touch points with corresponding signal values ​​lower than the preset threshold when a user's touch operation is received. The following embodiments further illustrate the touch processing method of this disclosure.

[0096] In one embodiment of this disclosure, the data value corresponding to each of the n first capacitor data is greater than a preset threshold.

[0097] In this embodiment, a preset threshold is set based on the data value corresponding to the minimum first capacitance data generated when the user performs a normal touch operation. Therefore, when the touch screen receives a user's touch operation, first capacitance data with a corresponding value less than the preset threshold is filtered out, reducing the impact of accidental touches by non-user means on touch processing and further ensuring the reliability of target signal acquisition. It is understood that, similar to the method of acquiring the first capacitance data, this disclosure can also set a preset threshold for the second capacitance data based on the data value corresponding to the minimum second capacitance data generated when the user performs a normal touch operation.

[0098] In an exemplary embodiment of this disclosure, Figure 11 This is a flowchart illustrating a touch processing method according to an exemplary embodiment of the present disclosure, such as... Figure 11 As shown, this disclosure can acquire touch signals in the following manner: S1. Determine if the device is wet and meets the triggering conditions. S2. Dynamically truncate the water + finger mixed signal area (determine i second capacitance data). S3. Calculate the mutual capacitance coordinates (first pixel coordinates) within the truncated area. S4. Calculate the self-capacitance coordinates (second pixel coordinates) of the projection of the truncated area. S5. Calculate the weighted coordinates (third pixel coordinates) by weighting the self-capacitance and mutual capacitance coordinates. S6. Perform exponentially weighted moving average filtering to output the final coordinates (target pixel coordinates).

[0099] In this embodiment, when a target liquid is present on the touch screen and a touch operation is received, a target touch signal is determined based on n first capacitance data points in a first scanning mode and i second capacitance data points in a second scanning mode. The i second capacitance data points are the capacitance data distributed within the touch area from m second capacitance data points in the second scanning mode, and the touch area is the touch area corresponding to the n first capacitance data points. Based on the target touch signal, the function corresponding to the target touch signal is executed. This disclosure filters m second capacitance data points based on the touch area corresponding to the detected n first capacitance data points, and then obtains the target touch signal based on the filtered i second capacitance data points and n first capacitance data points, thus improving the reliability of the acquired target touch signal.

[0100] Based on the same concept, this disclosure also provides a touch processing device 100.

[0101] It is understood that the touch processing device 100 provided in this disclosure includes hardware structures and / or software modules corresponding to each function in order to achieve the above-mentioned functions. In conjunction with the units and algorithm steps of the various examples disclosed in this disclosure, this disclosure can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the technical solutions of this disclosure.

[0102] Figure 12 This is a block diagram illustrating a touch processing device 100 according to an exemplary embodiment. (Refer to...) Figure 12 The device includes a processing unit 101 and an execution unit 102.

[0103] The processing unit 101 is configured to respond to the presence of a target liquid on the touch screen and to receive a touch operation, and to determine a target touch signal based on n first capacitor data in the first scanning mode and i second capacitor data in the second scanning mode. The i second capacitor data are the capacitor data distributed in the touch area among the m second capacitor data in the second scanning mode, and the touch area is the touch area corresponding to the n first capacitor data.

[0104] The execution unit 102 is used to execute the function corresponding to the target touch signal according to the target touch signal.

[0105] In one embodiment, the processing unit 101 determines the target touch signal based on n first capacitor data points in a first scanning mode and i second capacitor data points in a second scanning mode as follows: First pixel coordinates are determined based on the correspondence between the first capacitor data points and pixel coordinates, and the data value corresponding to each of the n first capacitor data points. Second pixel coordinates are determined based on the correspondence between the second capacitor data points and pixel coordinates, and the data value corresponding to each of the i second capacitor data points. The target pixel coordinates are obtained based on the first and second pixel coordinates, and the target pixel coordinates are determined as the target touch signal.

[0106] In one embodiment, the processing unit 101 obtains the target pixel coordinates based on the first pixel coordinates and the second pixel coordinates as follows: The first pixel coordinates and the second pixel coordinates are weighted respectively to obtain weighted first pixel coordinates and weighted second pixel coordinates. The sum of the weighted first pixel coordinates and the weighted second pixel coordinates is determined as the third pixel coordinates. The target pixel coordinates are obtained based on the third pixel coordinates.

[0107] In one embodiment, the first capacitance data and the second capacitance data are data continuously collected by the touch screen after receiving a touch operation. The processing unit 101 obtains the target pixel coordinates based on the third pixel coordinates in the following manner: Responding to the fact that n first capacitance data points and m second capacitance data points are data collected by the touch screen at the first time node after receiving a touch operation, the third pixel coordinates are determined as the target pixel coordinates. Responding to the fact that n first capacitance data points and m second capacitance data points are data collected by the touch screen at time nodes after the first time node after receiving a touch operation, based on an exponentially weighted moving average filtering method, the target pixel coordinates are obtained according to the third target pixel coordinates weighted by a third weight and the historical pixel coordinates weighted by a fourth weight. The historical pixel coordinates are the target pixel coordinates obtained at the previous time node. The third and fourth weights are parameters that change with time nodes, and at the same time node, the third weight is greater than the fourth weight.

[0108] In one embodiment, the n first capacitor data include n / 2 first capacitor data corresponding to the first dimension and n / 2 first capacitor data corresponding to the second dimension; the touch area is obtained by the processing unit 101 in the following manner: the touch area is determined according to the correspondence between the first capacitor data and pixel coordinates, the n / 2 first capacitor data corresponding to the first dimension and the n / 2 first capacitor data corresponding to the second dimension.

[0109] In one embodiment, the first scanning mode is a self-capacitance scanning mode, and the first capacitance data is a self-capacitance signal; the second scanning mode is a mutual capacitance scanning mode, and the second capacitance data is a mutual capacitance signal.

[0110] In one embodiment, the first scanning mode is a mutual capacitance scanning mode, and the first capacitance data is a mutual capacitance signal; the second scanning mode is a self-capacitance scanning mode, and the second capacitance data is a self-capacitance signal.

[0111] In one embodiment, the processing unit 101 determines the target touch signal based on n first capacitor data in the first scanning mode and i second capacitor data in the second scanning mode in the following manner: determining the touch area corresponding to the i second capacitor data, and determining j first capacitor data distributed in the touch area corresponding to the i second capacitor data from the n first capacitor data; determining the target touch signal based on the i second capacitor data and the j first capacitor data.

[0112] In one embodiment, the data value corresponding to each of the n first capacitor data is greater than a preset threshold.

[0113] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0114] Figure 13 This is a block diagram illustrating a device 200 for touch processing according to an exemplary embodiment. The device 200 can be provided as a terminal. For example, the device 200 can be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.

[0115] Reference Figure 13 The device 200 may include one or more of the following components: processing component 202, memory 204, power component 206, multimedia component 208, audio component 210, input / output (I / O) interface 212, sensor component 214, and communication component 216.

[0116] Processing component 202 typically controls the overall operation of device 200, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 202 may include one or more modules to facilitate interaction between processing component 202 and other components. For example, processing component 202 may include a multimedia module to facilitate interaction between multimedia component 208 and processing component 202.

[0117] Memory 204 is configured to store various types of data to support the operation of device 200. Examples of such data include instructions for any application or method operating on device 200, contact data, phonebook data, messages, pictures, videos, etc. Memory 204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0118] The power supply component 206 provides power to the various components of the device 200. The power supply component 206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the device 200.

[0119] Multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 208 includes a front-facing camera and / or a rear-facing camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0120] Audio component 210 is configured to output and / or input audio signals. For example, audio component 210 includes a microphone (MIC) configured to receive external audio signals when device 200 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 204 or transmitted via communication component 216. In some embodiments, audio component 210 also includes a speaker for outputting audio signals.

[0121] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0122] Sensor assembly 214 includes one or more sensors for providing status assessments of various aspects of device 200. For example, sensor assembly 214 may detect the on / off state of device 200, the relative positioning of components such as the display and keypad of device 200, changes in the position of device 200 or a component of device 200, the presence or absence of user contact with device 200, the orientation or acceleration / deceleration of device 200, and temperature changes of device 200. Sensor assembly 214 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 214 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0123] Communication component 216 is configured to facilitate wired or wireless communication between device 200 and other devices. Device 200 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 216 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 216 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0124] In an exemplary embodiment, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.

[0125] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, which can be executed by a processor 220 of the device 200 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0126] Figure 14 This is a block diagram illustrating a device 300 for touch processing according to an exemplary embodiment. For example, device 300 may be provided as a server. (Refer to...) Figure 14 The apparatus 300 includes a processing component 322, which further includes one or more processors, and memory resources represented by memory 332 for storing instructions, such as application programs, that can be executed by the processing component 322. The application programs stored in memory 332 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 322 is configured to execute instructions to perform the aforementioned XX method.

[0127] Device 300 may also include a power supply component 326 configured to perform power management of device 300, a wired or wireless network interface 350 configured to connect device 300 to a network, and an input / output (I / O) interface 358. Device 300 may operate on an operating system stored in memory 332, such as Windows Server™, MacOSX™, Unix™, Linux™, FreeBSD™, or similar.

[0128] It is understood that in this disclosure, "multiple" refers to two or more, and other quantifiers are similar. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. The singular forms "a," "the," and "the" are also intended to include the plural forms unless the context clearly indicates otherwise.

[0129] It is further understood that the terms "first," "second," etc., are used to describe various types of information, but this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another, and do not indicate a specific order or degree of importance. In fact, the expressions "first," "second," etc., are completely interchangeable. For example, without departing from the scope of this disclosure, first information can also be referred to as second information, and similarly, second information can also be referred to as first information.

[0130] It is further understood that the terms “center,” “longitudinal,” “lateral,” “front,” “rear,” “up,” “down,” “left,” “right,” “vertical,” “horizontal,” “top,” “bottom,” “inner,” and “outer,” etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this embodiment and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation.

[0131] It can be further understood that, unless otherwise specified, "connection" includes both direct connections where no other components exist between the two parties and indirect connections where other components exist between them.

[0132] It is further understood that although operations are described in a specific order in the accompanying drawings in the embodiments of this disclosure, this should not be construed as requiring these operations to be performed in the specific order or serial order shown, or requiring all of the shown operations to be performed to obtain the desired result. In certain environments, multitasking and parallel processing may be advantageous.

[0133] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein.

[0134] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A touch processing method, characterized in that, include: In response to the presence of a target liquid on the touch screen and the receipt of a touch operation, a target touch signal is determined based on n first capacitor data in the first scanning mode and i second capacitor data in the second scanning mode. The i second capacitor data are the capacitor data distributed in the touch area among m second capacitor data in the second scanning mode, and the touch area is the touch area corresponding to the n first capacitor data. Based on the target touch signal, execute the function corresponding to the target touch signal.

2. The method according to claim 1, characterized in that, The step of determining the target touch signal based on n first capacitance data in the first scanning mode and i second capacitance data in the second scanning mode includes: The first pixel coordinates are determined based on the correspondence between the first capacitor data and the pixel coordinates, and the data value corresponding to each of the n first capacitor data. The second pixel coordinates are determined based on the correspondence between the second capacitor data and the pixel coordinates, and the data value corresponding to each of the i second capacitor data. The target pixel coordinates are obtained based on the first pixel coordinates and the second pixel coordinates, and the target pixel coordinates are determined as the target touch signal.

3. The method according to claim 2, characterized in that, The step of obtaining the target pixel coordinates based on the first pixel coordinates and the second pixel coordinates includes: The first pixel coordinate and the second pixel coordinate are weighted respectively to obtain the weighted first pixel coordinate and the weighted second pixel coordinate; The sum of the weighted first pixel coordinates and the weighted second pixel coordinates is determined as the third pixel coordinates; The target pixel coordinates are obtained based on the third pixel coordinates.

4. The method according to claim 3, characterized in that, The first capacitor data and the second capacitor data are data continuously collected by the touch screen after receiving a touch operation; The step of obtaining the target pixel coordinates based on the third pixel coordinates includes: In response to the fact that the n first capacitor data and the m second capacitor data are data collected by the touch screen at the first time node after receiving the touch operation, the third pixel coordinates are determined as the target pixel coordinates; In response to the fact that the n first capacitor data and the m second capacitor data are data collected at time points after the first time point after the touch screen receives the touch operation, the target pixel coordinates are obtained based on the exponentially weighted moving average filtering method, according to the third target pixel coordinates weighted by the third weight and the historical pixel coordinates weighted by the fourth weight. The historical pixel coordinates are the target pixel coordinates obtained at the previous time point. The third weight and the fourth weight are parameters that change with the time point. At the same time point, the third weight is greater than the fourth weight.

5. The method according to any one of claims 1-4, characterized in that, The n first capacitance data include x first capacitance data corresponding to the first dimension and y first capacitance data corresponding to the second dimension; The touch area is obtained using the following method: The touch area is determined based on the correspondence between the first capacitance data and pixel coordinates, x first capacitance data corresponding to the first dimension and y first capacitance data corresponding to the second dimension.

6. The method according to any one of claims 1-4, characterized in that, The first scanning mode is a self-capacitance scanning mode, and the first capacitance data is a self-capacitance signal; The second scanning mode is a mutual capacitance scanning mode, and the second capacitance data is a mutual capacitance signal.

7. The method according to claim 1, characterized in that, The first scanning mode is a mutual capacitance scanning mode, and the first capacitance data is a mutual capacitance signal; The second scanning mode is a self-capacitance scanning mode, and the second capacitance data is a self-capacitance signal.

8. The method according to claim 7, characterized in that, The step of determining the target touch signal based on n first capacitance data in the first scanning mode and i second capacitance data in the second scanning mode includes: Determine the touch area corresponding to the i second capacitor data, and among the n first capacitor data, determine j first capacitor data distributed in the touch area corresponding to the i second capacitor data; The target touch signal is determined based on the i second capacitor data and the j first capacitor data.

9. The method according to any one of claims 1-4, characterized in that, The data value corresponding to each of the n first capacitor data is greater than the preset threshold.

10. A touch processing device, characterized in that, include: The processing unit is configured to respond to the presence of a target liquid on the touch screen and the receipt of a touch operation, and determine a target touch signal based on n first capacitor data in a first scanning mode and i second capacitor data in a second scanning mode, wherein the i second capacitor data are capacitor data distributed in the touch area among m second capacitor data in the second scanning mode, and the touch area is the touch area corresponding to the n first capacitor data. An execution unit is used to execute the function corresponding to the target touch signal according to the target touch signal.

11. An electronic device, characterized in that, include: processor: Memory used to store processor-executable instructions; The processor is configured to execute the touch processing method according to any one of claims 1 to 9.

12. A storage medium, characterized in that, The storage medium stores instructions that, when executed by a processor, enable the processor to perform the touch processing method according to any one of claims 1 to 9.