Touch control method and electronic equipment

By monitoring noise data to enter noise mode and increasing the reporting threshold of the target touch area, the problem of misjudgment by the touch module under environmental noise is solved, achieving highly accurate touch operation in complex environments and ensuring user experience.

CN121979404APending Publication Date: 2026-05-05LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
LENOVO (BEIJING) LTD
Filing Date
2025-11-27
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

Touch modules are prone to misjudgment under the influence of environmental noise, which affects the user experience. Existing technologies reduce sensitivity or increase the requirements for pencil coordinate reporting, which leads to inconvenience in use.

Method used

By monitoring noise data, the system enters a noise mode and increases the reporting threshold of the target touch area to reduce the touch response capability of the first operator. Combined with frequency band switching and filtering of capacitive sensing signals, the system can accurately identify touch operations.

Benefits of technology

To reduce accidental touches in complex environments, improve touch recognition accuracy, and ensure a good user experience, especially for the normal use of pencils and fingers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121979404A_ABST
    Figure CN121979404A_ABST
Patent Text Reader

Abstract

The invention provides a touch control method and electronic equipment, and is applied to the technical field of terminal equipment. The touch control method comprises the following steps: monitoring noise data of a touch module of the electronic equipment; controlling the electronic equipment to enter a noise mode under the condition of determining that a first mode switching condition is met based on the noise data; and controlling a report point threshold value of a target touch area of the touch module to be increased from a current initial threshold value to a target threshold value corresponding to the noise mode so as to weaken the touch response capability of the target touch area to the first operation body, wherein the target touch control area is related to an action area of the second operation body on the touch control module, and report point thresholds of the touch control module responding to touch control operations of the first operation body and the second operation body are different.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of terminal equipment technology, and in particular to a touch control method and electronic device. Background Technology

[0002] Touch modules (such as touchscreens and touchpads) are widely used in various electronic devices as input devices. Due to the high sensitivity of touch detection, it can produce false readings when affected by environmental noise, impacting the user experience. Summary of the Invention

[0003] In view of this, the present disclosure provides a touch control method and an electronic device.

[0004] According to a first aspect of this disclosure, a touch control method is provided, comprising: monitoring noise data of a touch module of an electronic device; controlling the electronic device to enter a noise mode when a first mode switching condition is determined based on the noise data; and controlling the reporting threshold of a target touch area of ​​the touch module to be increased from a current initial threshold to a target threshold corresponding to the noise mode, so as to weaken the touch response capability of the target touch area to a first operating body; wherein the target touch area is related to the area of ​​action of a second operating body on the touch module, and the reporting threshold of the touch module in response to touch operations of the first operating body and the second operating body is different.

[0005] According to embodiments of this disclosure, when it is determined based on noise data that the first mode switching condition is met, controlling the electronic device to enter a noise interference mode includes: calculating the noise value of the touch module in the current spatial environment based on the obtained noise sampling data and touch capacitive signal data; and controlling the electronic device to enter a noise mode when the noise value is greater than the noise threshold corresponding to the current spatial environment; wherein the noise threshold corresponding to different spatial environments is different.

[0006] According to embodiments of this disclosure, controlling the reporting threshold of the target touch area of ​​the touch module to increase from the current initial threshold to a target threshold corresponding to a noise mode includes: determining the contact area between the second operator and the touch surface of the touch module; using the area covered by the receiving electrode corresponding to the contact area as the target touch area, or using the contact area directly as the target touch area; controlling the reporting threshold of the target touch area to increase from the current initial threshold to a first threshold, the first threshold being a threshold that matches a first noise mode corresponding to the first spatial environment in which the electronic device is currently located; wherein, the touch response capability of the target touch area to the first operator under the first threshold is weaker than the touch response capability under the initial threshold.

[0007] According to embodiments of this disclosure, controlling the reporting threshold of the target touch area of ​​the touch module to be increased from the current initial threshold to the target threshold corresponding to the noise mode includes: determining the relative positional relationship between the second operating body and the touch module; when the second operating body is in contact with the touch surface of the touch module, taking the contact area between the second operating body and the touch surface or the receiving electrode area corresponding to the contact area as the target touch area; when the second operating body is not in contact with the touch surface of the touch module, taking the entire touch area of ​​the touch module as the target touch area.

[0008] Furthermore, the reporting threshold of the target touch area is increased from the current initial threshold to a second threshold, which is a threshold that matches the second noise mode corresponding to the second spatial environment in which the electronic device is currently located; wherein, the touch response capability of the target touch area to the first operating body is weaker under the second threshold than under the initial threshold.

[0009] According to embodiments of this disclosure, it further includes at least one of the following: controlling the reporting threshold of a first region of the touch module to remain at the current initial threshold, the first region being the region of the touch module excluding the target touch region; when the noise data of the touch module meets the second mode switching conditions, controlling the electronic device to switch back from the noise mode to the normal mode, and controlling the reporting threshold of the target touch region of the touch module to be adjusted back to the initial threshold.

[0010] According to embodiments of this disclosure, the method further includes: filtering out the obtained first capacitive sensing signal after the operating frequency band of the touch module is switched from the current first frequency band to the second frequency band; wherein the second frequency band is less than the first frequency band, and the signal difference between the second capacitive sensing signal and the first capacitive sensing signal of the first operating body in the second frequency band is within a first range.

[0011] According to embodiments of this disclosure, the method further includes: after the operating frequency band of the touch module is switched from the current first frequency band to the third frequency band, in response to obtaining a third capacitive sensing signal in the target touch area, filtering out the third capacitive sensing signal; wherein the signal difference between the third sensing signal and the fourth capacitive sensing signal generated by the first operating body in the first area of ​​the touch module is within a second range.

[0012] According to embodiments of this disclosure, it further includes at least one of the following: updating the reporting threshold of the target touch area in response to a change in the spatial environment of the electronic device from a current first spatial environment to a second spatial environment; updating the reporting threshold of the target touch area in response to a switch in the usage mode of the first operating body; updating the reporting threshold of the target touch area in response to a switch in the communication connection between the first operating body and the electronic device; and updating the reporting threshold of the target touch area in response to a change in the relative positional relationship between the first operating body and the touch surface of the touch module.

[0013] A second aspect of this disclosure provides a touch control device, comprising: a monitoring module for monitoring noise data of a touch module of an electronic device; a first control module for controlling the electronic device to enter a noise mode when a first mode switching condition is determined to be met based on the noise data; and a second control module for controlling the reporting threshold of a target touch area of ​​the touch module to be increased from a current initial threshold to a target threshold corresponding to the noise mode, so as to weaken the touch response capability of the target touch area to a first operating body; wherein the target touch area is related to the area of ​​action of the second operating body on the touch module, and the reporting threshold of the touch module in response to the touch operations of the first and second operating bodies is different.

[0014] A third aspect of this disclosure provides an electronic device, including: a touch module and a touch chip signal-connected to the touch module; wherein the touch module is used to monitor noise data of the touch module; the touch chip is used to parse the noise data and, when determining that the noise data meets a first mode switching condition, control the electronic device to enter a noise mode; and controls the reporting threshold of a target touch area of ​​the touch module to be increased from a current initial threshold to a target threshold corresponding to the noise mode, so as to weaken the touch response capability of the target touch area to a first operating body; wherein the target touch area is related to the area of ​​action of a second operating body on the touch module, and the reporting threshold of the touch module in response to touch operations of the first operating body and the second operating body is different.

[0015] According to embodiments of this disclosure, the electronic device includes a first body and a second body rotatably connected; the touch module includes a touch display screen disposed on the first body and the second body; or the touch module includes a touch display screen disposed on the first body and a touchpad disposed on the second body.

[0016] A fourth aspect of this disclosure also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the above-described touch control method.

[0017] The fifth aspect of this disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described touch control method.

[0018] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0019] The above and other objects, features and advantages of this disclosure will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:

[0020] Figure 1 A flowchart illustrating a touch control method according to an embodiment of the present disclosure is shown schematically.

[0021] Figure 2 A schematic diagram of one of the touch areas according to an embodiment of the present disclosure is shown;

[0022] Figure 3 One of the flowcharts of a touch control method according to an embodiment of the present disclosure is illustrated schematically;

[0023] Figure 4 A second flowchart of a touch control method according to an embodiment of the present disclosure is illustrated schematically;

[0024] Figure 5A A second schematic diagram of a touch area according to an embodiment of the present disclosure is shown.

[0025] Figure 5B A schematic diagram of a touch area according to an embodiment of the present disclosure is shown in Figure 3.

[0026] Figure 6 A schematic block diagram of a touch control device according to an embodiment of the present disclosure is shown.

[0027] Figure 7 A schematic diagram of an electronic device according to an embodiment of the present disclosure is shown. Detailed Implementation

[0028] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.

[0029] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0030] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.

[0031] When using expressions such as "at least one of A, B and C", they should generally be interpreted in accordance with the meaning that is commonly understood by those skilled in the art (e.g., "a system having at least one of A, B and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B and C, etc.).

[0032] This disclosure provides a touch control method and an electronic device. Before introducing the technical solutions provided by this disclosure, the relevant technologies involved in this disclosure will be described first.

[0033] Touch modules (such as touchscreens and touchpads) are widely used in various electronic devices as input devices. Due to the high sensitivity of touch detection, it can produce false readings when affected by environmental noise, impacting the user experience.

[0034] Taking a touchscreen as an example, touch signals are typically generated by touching the screen using a hand, an active pen, or a passive pen. When the touch chip performs screen capacitance detection scanning, if a touch signal is detected, it calculates the position information of the touch signal on the screen (e.g., coordinates / tilt angle) based on the changes in capacitance values. The coordinate information is then packaged and reported according to the HID communication protocol. The main control unit reads the INT interrupt reported by the touch chip, reads and parses the HID coordinate data packet, and sends commands to the application or user interface. Upon receiving the commands, the application or user interface performs event response or display rendering.

[0035] Because touch detection is highly sensitive, current electronic devices with pencil-based touch functionality frequently encounter the "ghost hand" problem, where the screen automatically switches or applications open even when no one is interacting with it, severely impacting normal user experience. For example, common scenarios such as screen temperature changes and power adapter fluctuations can easily cause changes in screen capacitance, or interference / jitter can cause these changes. If the capacitance change is significant enough to reach the threshold value when a pencil is pressed, it can easily be misinterpreted as a pencil signal, leading to false pencil coordinates and the aforementioned "ghost hand" problem.

[0036] In one example, to ensure the writing effect of a handheld pencil, the strategy adopted is to prioritize pencil coordinates over finger coordinates, which means that after the pencil signal is detected, normal finger touch cannot be reported.

[0037] In another example, the aforementioned technical problems can be solved by reducing the sensitivity of the touchscreen. However, reducing the touchscreen sensitivity affects the use of passive pens and pencils. For example, pencils with fine tips or capacitive passive pens with weak conductivity cannot write. Furthermore, in scenarios with severe interference, it may still falsely report pencil coordinates.

[0038] In another example, the aforementioned technical problems can be solved by adding a trigger mechanism to enable pencil coordinate reporting in related technologies. However, adding a trigger mechanism to enable pencil coordinate reporting has several drawbacks. First, it requires continuous detection of pencil press events for a relatively long period (e.g., >0.3s) before pencil coordinate reporting can be enabled, causing rapid clicks before this condition is met to be unresponsive. Second, it requires the pencil line to exceed a certain distance (e.g., >4mm) before pencil coordinate reporting can be enabled, causing pencil clicks and short lines (e.g., ≤4mm) that meet this condition to be unresponsive. Furthermore, if there are no touch events (e.g., finger / pencil / active pen presses) on the screen for a period of time (e.g., 60s), it needs to be triggered again; otherwise, pencil clicks and short lines will be unusable.

[0039] Before providing a further detailed description of the embodiments of this disclosure, the nouns and terms involved in the embodiments of this disclosure will be explained, and the nouns and terms involved in the embodiments of this disclosure shall be interpreted as follows.

[0040] In mutual capacitance touch, the screen consists of a grid of Tx (transmitting) and Rx (receiving) electrodes. The mutual capacitance touchscreen uses an X-axis and Y-axis intersecting distribution as a capacitance matrix. When a finger touches the screen, the touch sensor detects the change in capacitance at the touch location by scanning along the X and Y axes, thus calculating the touch position. When a finger lands at a certain point, the mutual capacitance change is most significant along the corresponding Rx line and typically includes one to two adjacent Rx lines on either side. This strip-shaped area along the corresponding Rx line is called the "finger touch Rx coaxial area."

[0041] Switching the operating frequency of a touch IC refers to the touch chip changing the electrical frequency (or bandwidth) of its sampling during capacitive scanning, also known as "frequency hopping." The purpose is to switch to a cleaner frequency when the external electromagnetic environment is complex or a certain frequency is occupied by strong interference, thereby improving the signal-to-noise ratio and reducing false touches and missed touches.

[0042] The following will be through Figures 1-5B The touch control method of the present disclosure will be described in detail.

[0043] Figure 1 A flowchart illustrating a touch control method according to an embodiment of the present disclosure is shown schematically.

[0044] like Figure 1 As shown, the touch control method of this embodiment includes operations S110 to S130.

[0045] During operation of S110, noise data of the touch module of the electronic device is monitored.

[0046] In operation S120, if the first mode switching condition is met based on noise data, the electronic device is controlled to enter noise mode.

[0047] In operation S130, the reporting threshold of the target touch area of ​​the control touch module is increased from the current initial threshold to the target threshold corresponding to the noise mode, so as to reduce the touch response capability of the target touch area to the first operating body.

[0048] The target touch area is related to the area of ​​action of the second operator on the touch module, and the reporting threshold of the touch module in response to the touch operation of the first operator and the second operator is different. Figure 4 A flowchart illustrating a method for processing a first image to obtain a second image according to an embodiment of the present disclosure is shown.

[0049] For example, the electronic device can be a device with a touch module, and the electronic device can respond to touch signals generated by the touch module. Examples include mobile phones, tablets, laptops, all-in-one computers, smartwatches, etc., with touch modules.

[0050] A touch module can be a component capable of enabling touch input. It senses the touch / approach of fingers, palms, or styluses (e.g., active or passive pens) on the screen and converts these physical contacts into processable electrical signals and coordinate data. A touch module can be an integrated component with an electronic device; for example, it can be a touch display screen or touchpad integrated into an electronic device. Alternatively, a touch module can be a discrete component that connects to the electronic device via signals; for example, it can be a graphics tablet.

[0051] Noise data can be information about signal interference detected by the touch module caused by unintentional user touch operations. Noise data may originate from internal electromagnetic interference and screen drive signals, or from external environmental factors such as power adapters, humid environments, and non-standard chargers. Noise data can be calculated characteristic values ​​representing noise levels; it can also be raw, unprocessed signals directly acquired by sensors.

[0052] The first mode switching condition can be a criterion for entering noise mode based on noise data. For example, the first mode switching condition could be that the noise value is greater than K times the historical baseline, where K is greater than 1. For instance, K could be 2, 3, 3.5, etc. The first mode switching condition could also be that the noise value is greater than K times the historical baseline for M consecutive frames, where M is a positive integer greater than 1. For instance, M could be 2, 3, 4, etc. The first mode switching condition could also be that the noise value is greater than the noise threshold at the corresponding operating frequency. For example, a touch module might have three different operating frequencies: high frequency, low frequency, and mid frequency, each corresponding to a different noise threshold. The same switching condition can be set for all noise modes of the electronic device, or different switching conditions can be set according to different operating states.

[0053] Noise mode can be a working state of an electronic device in response to high noise levels. When an electronic device enters noise mode, the reporting threshold of the target touch area of ​​the touch module can be increased from the current initial threshold to the target threshold corresponding to the noise mode. Although different first mode switching conditions can all cause the electronic device to enter noise mode, the reporting threshold (i.e., the target threshold) of the target touch area is different for different first mode switching conditions.

[0054] The target touch area can be a touch area related to the functional area of ​​the second operating body. The target touch area can be the functional area of ​​the second operating body itself; for example, when a user's finger touches the screen, the contact area is set as the target touch area. The target touch area can also be the periphery or extended area of ​​the functional area of ​​the second operating body; for example, when a user's finger touches the screen, the area covered by the receiving electrode corresponding to the finger is set as the target touch area; when a user's palm touches the screen, the area projected by the palm onto the touch area is set as the target touch area. The target touch area can also be an area that may be affected based on the position of the second operating body. For example, when a user's palm touches the screen, the entire touch area is set as the target touch area. The target touch area can be at least a portion of the touch area corresponding to the touch module. That is, the target touch area can be the entire touch area. The target touch area can also be a portion of the touch area.

[0055] The operating entity can be any physical object capable of performing touch operations. For example, it can be a capacitive stylus, a finger, etc. The first operating entity can be a stylus in any mode, such as pencil mode, brush mode, or pen mode. The second operating entity can be a finger or palm. The touch module can be configured with different reporting thresholds for different operating entities. For example, the reporting threshold for a finger is 300, and the reporting threshold for a stylus is 20.

[0056] The reporting threshold is the minimum signal strength required for a touch module to recognize a touch signal as a valid touch operation. If the touch signal strength is below the reporting threshold, it is considered an invalid touch. If the touch signal strength is above the reporting threshold, it is considered a valid touch, and the electronic device can respond to the valid touch.

[0057] The initial threshold can be the reporting threshold used by the electronic device in normal mode (non-noise mode).

[0058] The target threshold can be the reporting threshold used by the electronic device in noise mode. The target threshold is greater than the initial threshold. For example, if the first operator is a stylus and the second operator is a finger. In normal mode, the reporting threshold for the touch module is 300 for the finger and 20 for the capacitive stylus. In noise mode, the reporting threshold for the touch module is 300 for the finger and 100 for the capacitive stylus. The target threshold is different for the noise mode corresponding to different first mode switching conditions. For example, the target threshold for the touch module for the stylus can be 100 when the touch module is operating at a high frequency; the target threshold for the stylus can be 50 when the touch module is operating at a low frequency.

[0059] The reporting threshold of the target touch area is increased from the current initial threshold to the target threshold. At the target threshold, the touch response capability of the touch module to the touch operation of the first operator is weaker than the touch performance at the initial threshold. The initial threshold is the default low threshold, used for the touch module's sensitive response to the first operator. The target threshold is the high threshold corresponding to the noise mode, which improves the response standard of the touch module to the first operator, thereby reducing the trigger probability of the target touch area to the first operator. The non-target area maintains the initial threshold to maintain the normal touch response of the first operator. For example, if the noise value of the electronic device at a high frequency point is greater than the high frequency noise threshold (50), the electronic device enters the noise mode, and the reporting threshold of the target touch area (the area covered by the receiving electrode corresponding to the finger) to the stylus at the high frequency point is increased from the initial threshold (20) to the target threshold (100), so that the sensitivity of the target touch area to the touch signal response in the noise mode is reduced, thereby filtering out related interference signals and improving the recognition accuracy of the stylus.

[0060] It's important to note that touch response capability can refer to the speed or sensitivity of an electronic device in responding to touch input. Touch response speed can be the delay (in milliseconds) from when the user touches the device to when the system detects, determines, and reports the event / displays feedback. For example, reducing the response time for a touch operation from 35ms to 18ms reduces the touch response speed. Touch response sensitivity can refer to the electronic device's detectability of weak touch signals. For example, increasing the reporting threshold from 50 to 80 makes light touches or fine-tipped passive pens less likely to be recognized, requiring greater pressure / contact area to trigger a response.

[0061] Understandably, by dynamically monitoring the noise of the touch module and entering noise mode when the switching conditions are met, the reporting threshold for the target touch area related to the action area of ​​the second operator is increased, thereby weakening the touch performance of the first operator in the target touch area where noise is easily misjudged, reducing the occurrence of false touches in the target touch area, improving the anti-interference capability of electronic devices in complex usage scenarios, ensuring the interactive experience of touch operation between the user and the electronic device, and improving the user experience.

[0062] As described above, in operation S120, if the first mode switching condition is met based on noise data, the electronic device is controlled to enter a noise interference mode. In one possible implementation, this operation may further include: calculating the noise value of the touch module in the current spatial environment based on the obtained noise sampling data and touch capacitive signal data; if the noise value is greater than the noise threshold corresponding to the current spatial environment, the electronic device is controlled to enter a noise mode; wherein the noise threshold corresponding to different spatial environments is different.

[0063] For example, the noise sampling data can be the raw data of environmental electromagnetic interference signals collected by the touch chip through a dedicated noise detection sensor. The noise sampling data can include information such as the intensity of the interference signal in different frequency bands, the spectral distribution of the interference signal, and the duration of the interference signal. The noise sampling data can also include the noise amplitude collected by the touch chip at multiple operating frequencies. For instance, the noise amplitude collected by the touch chip at a high-frequency operating frequency is 80; at a mid-frequency operating frequency, the noise amplitude is 45; and at a low-frequency operating frequency, the noise amplitude is 30.

[0064] Touch capacitive signal data can be information related to the capacitance change detected by the touch module. This data can include the amplitude of the capacitance change at the touch point, stability parameters of the capacitance signal, and the response time of the capacitance signal. Touch capacitive signal data can also include the time-domain and frequency-domain characteristics of the touch signal. For example, time-domain characteristics can include the capacitance change rate, signal rise time, and signal fall time; frequency-domain characteristics can include the signal's dominant frequency component and harmonic distribution. For instance, in an interference-free environment, the capacitance change amplitude of a finger touch signal is stable within the range of 800 to 1000, and the signal rise time is approximately 15ms; in an interference-prone environment, the capacitance change amplitude of a finger touch signal fluctuates within the range of 600 to 1200, and the signal rise time fluctuates between 10ms and 25ms.

[0065] Noise levels can be a characteristic parameter representing the current environmental noise level, calculated by combining noise sampling data and touch capacitive signal data. Noise levels can be calculated by weighting the amplitude of the noise sampling data with the stability parameter of the touch capacitive signal data. Alternatively, noise levels can be calculated by analyzing the correlation between the spectral characteristics of the noise sampling data and the abnormal fluctuation characteristics of the touch capacitive signal data. For example, the noise sampling amplitude at the current operating frequency can be used as the first weighting parameter, and the fluctuation coefficient of the touch capacitive signal as the second weighting parameter, to obtain the noise level using a preset formula. For instance, if the current operating frequency is a high frequency, the noise sampling amplitude is 80, and the fluctuation coefficient of the touch capacitive signal is 1.5 (calculated as the ratio of the standard deviation of the actual capacitance change amplitude to the baseline standard deviation), then the noise level = 80 * 1.5 = 120. Noise levels can also be obtained through statistical analysis of multiple frames of noise sampling data and touch capacitive signal data. For example, the maximum value of 10 consecutive frames of noise sampling data and the average value of the touch capacitive signal fluctuation coefficient of 10 consecutive frames can be taken, and the two multiplied together to obtain the noise level.

[0066] The current spatial environment can refer to the usage scenario or external conditions of the electronic device. The spatial environment can be categorized based on the type of electromagnetic interference sources surrounding the electronic device. It can also be categorized based on the operating state of the electronic device. For example, the spatial environment can include an office environment without charging, a charging environment with a standard external charger, a charging environment with a non-standard external charger, and a high-temperature, high-humidity environment.

[0067] A noise threshold serves as a baseline value for determining whether the current spatial environment has entered a noisy mode. Different spatial environments require different noise thresholds. In environments with low electromagnetic interference, the noise threshold can be set to a lower value to maintain the ability to detect minor abnormal signals. In environments with high electromagnetic interference, the noise threshold can be set to a higher value to avoid frequent mode switching. For example, in an office environment without charging, the noise threshold can be set to 50; in a charging environment with a standard external charger, the noise threshold can be set to 100; and in a charging environment with a non-standard external charger, the noise threshold can be set to 150.

[0068] In one example, the electronic device is currently charging with an external standard charger. In this environment, the noise threshold for the electronic device to enter noise mode is 100. The touch chip collects noise sampling data through a dedicated noise detection sensor. Simultaneously, the touch module detects the touch capacitive signal. Based on the combined noise sampling data and touch capacitive signal data, the noise value of the touch module in the current environment is calculated to be 120. Since this noise value is greater than the noise threshold of 100, the electronic device enters noise mode. The reporting threshold of the area covered by the receiving electrode corresponding to the finger touch area (the target touch area) is increased from the initial threshold of 20 to the target threshold of 100 to reduce the touch response sensitivity of the target touch area to the stylus.

[0069] Understandably, by calculating noise values ​​by combining noise sampling data and touch capacitive signal data, and setting corresponding noise thresholds according to different spatial environments, the noise state of the current environment can be identified more accurately. This enables precise determination and switching of noise modes, improves the adaptability of electronic devices in different usage scenarios, avoids misjudgment or omission caused by single noise data judgment, and ensures the stable operation of the touch module in various spatial environments.

[0070] Figure 2 One of the schematic diagrams of a touch area according to an embodiment of the present disclosure is shown.

[0071] As described above, in operation S130, the reporting threshold of the target touch area of ​​the touch module is increased from the current initial threshold to a target threshold corresponding to the noise mode. In one possible implementation, this operation may further include: determining the contact area between the second operating body and the touch surface of the touch module; using the area covered by the receiving electrode corresponding to the contact area as the target touch area, or directly using the contact area as the target touch area; increasing the reporting threshold of the target touch area from the current initial threshold to a first threshold, the first threshold being a threshold matching the first noise mode corresponding to the first spatial environment in which the electronic device is currently located; wherein, the touch response capability of the target touch area to the first operating body at the first threshold is weaker than the touch response capability at the initial threshold.

[0072] For example, the contact area can be the physical area where the second operator actually contacts the touch surface. The contact area can be determined based on changes in the touch capacitance signal. The contact area can also be determined by the pressure distribution detected by a pressure sensor. For instance, when a user presses their finger on the touch surface, the touch chip can detect a change in the capacitance signal at the finger's contact location relative to a reference value, thus determining the finger's contact area. For example, if the touch surface is composed of a touch unit array consisting of row-and-column intersecting transmitting and receiving electrodes, and when the user's palm heel contacts the touch surface, the touch chip detects a change in the capacitance signal of the touch units corresponding to rows 5 to 8 and columns 10 to 15, then determines that the contact area of ​​the palm heel is the area covered by rows 5 to 8 and columns 10 to 15.

[0073] A touch surface can be the surface of a touch module that can sense touch operations. A touch surface can be the touch surface of a touchpad. A touch surface can also be the display surface of a touchscreen. For example, in a laptop, the touch surface can be the touchpad surface below the keyboard; in a tablet, the touch surface can be the glass cover surface of the display screen.

[0074] The receiving electrode can be a conductive structure in the touch module used to receive capacitive sensing signals. The receiving electrode typically extends along one direction of the touch surface, forming multiple receiving electrode lines. The area covered by the receiving electrode can be the area occupied by the receiving electrode lines extending across the touch surface. For example, the touch module can include multiple transmitting electrodes extending horizontally and multiple receiving electrodes extending vertically, with the receiving electrodes and transmitting electrodes forming a touch unit at their intersections. For instance, the touch module includes 20 receiving electrodes, numbered Rx1 to Rx20. Each receiving electrode extends laterally across the touch surface. When the contact area of ​​the second operating body is determined to be located in rows 5 to 8 and columns 10 to 15, the receiving electrodes corresponding to this contact area are Rx5 to Rx8. The area covered by receiving electrodes Rx5 to Rx8 is the entire area occupied by each receiving electrode Rx5 to Rx8 extending laterally across the touch surface.

[0075] The area covered by the receiving electrode corresponding to the contact area can be used as the target touch area, that is, the range that may be affected by common-mode interference is set as the area where the reporting threshold needs to be adjusted. Alternatively, the contact area can be used directly as the target touch area, that is, the range for adjusting the reporting threshold is limited to the local area actually contacted by the second operating body. For example, when the user's palm heel contacts the touch surface, if the area covered by the receiving electrode corresponding to the contact area is used as the target touch area, then the target touch area is the entire area extending from the receiving electrode corresponding to the palm heel on the touch surface; if the contact area is used directly as the target touch area, then the target touch area is only the local area actually contacted by the palm heel. For example, refer to... Figure 2 The contact area at the base of the user's palm corresponds to receiving electrodes Rx5 to Rx8. If the first method is used, the target touch area is the entire area of ​​receiving electrodes Rx5 to Rx8 extending laterally on the touch surface, and the width of this area covers the entire lateral dimension of the touch surface. If the second method is used, the target touch area is only the local area covered by rows 5 to 8 and columns 10 to 15 that are actually contacted by the base of the palm.

[0076] The first threshold can be a reporting threshold that matches the first noise mode corresponding to the first spatial environment in which the electronic device is currently located. Different spatial environments correspond to different noise modes, and different noise modes correspond to different first thresholds. For example, the first spatial environment can be a charging environment with an external standard charger, and the first threshold corresponding to the first noise mode in this environment can be set to 100. For instance, if the electronic device is in a charging environment with an external standard charger, and the noise value calculated by the touch chip is 120, which is greater than the noise threshold of 100 corresponding to this spatial environment, the electronic device enters the first noise mode and increases the reporting threshold of the target touch area for the first operating body from the initial threshold of 60 to the first threshold of 400.

[0077] The target touch area's touch response capability to the first operating object is weaker at the first threshold than at the initial threshold. This can be manifested as the smallest pen tip size of the first operating object that can be responded to at the first threshold being larger than the smallest pen tip size that can be responded to at the initial threshold. Touch response capability can also be expressed as touch response sensitivity or response speed. For example, at the initial threshold, the target touch area can respond to touch operations with a pencil with a pen tip diameter of 0.7 mm; at the first threshold, the target touch area can only respond to touch operations with pencils with a pen tip diameter of 1.5 mm or larger. For example, in normal mode, the reporting threshold of the target touch area is the initial threshold of 60. At this time, the capacitance change generated by a pencil with a 0.7 mm diameter pressing the touch surface is about 70, which is greater than the initial threshold of 60 and can be identified as a valid touch. In the first noise mode, the reporting threshold of the target touch area is adjusted to the first threshold of 400. The capacitance change generated by a pencil with a 0.7 mm diameter is about 70, which is less than the first threshold of 400 and cannot be identified as a valid touch. However, the capacitance change generated by a pencil with a 1.5 mm diameter is about 420, which is greater than the first threshold of 400 and can be identified as a valid touch.

[0078] In one example, the electronic device is a laptop computer, and the touch module is a touch display screen integrated into the electronic device. The touch surface of the touch display screen is the glass cover surface of the display screen. The touch display screen includes 20 horizontally extending receiving electrodes Rx1 to Rx20 and 30 vertically extending transmitting electrodes Tx1 to Tx30, which intersect to form a touch unit array. The user holds a pencil with a 0.7 mm diameter tip and writes on the touch display screen, with the heel of the palm contacting the touch surface. The electronic device is currently being charged by an external standard charger and is in the charging environment of the external standard charger. The touch chip obtains a noise sampling amplitude of 80 at the current high-frequency operating point through noise sampling, and simultaneously detects that the touch capacitance signal fluctuation coefficient corresponding to the palm contact area is 1.5, calculating a noise value of 120. Since the noise value of 120 is greater than the noise threshold of 100 corresponding to the external standard charger charging environment, the electronic device enters the first noise mode. The touch chip detects a contact area at the base of the palm located in rows 5 to 8 and columns 10 to 15, corresponding to receiving electrodes Rx5 to Rx8. The electronic device defines the area covered by receiving electrodes Rx5 to Rx8 as the target touch area, which is the entire horizontally extending area of ​​receiving electrodes Rx5 to Rx8 on the touch surface. The electronic device increases the reporting threshold for the pencil in the target touch area from the initial threshold of 60 to a first threshold of 400 that matches the first noise mode. At this time, within the target touch area, the capacitance change generated by a pencil with a 0.7 mm diameter tip is approximately 70, which is less than the first threshold of 400 and cannot be recognized as a valid touch, thus avoiding false touches caused by common-mode interference in the receiving electrode area corresponding to the base of the palm. In other areas outside the target touch area, the reporting threshold remains at the initial threshold of 60, and a pencil with a 0.7 mm diameter tip can still write normally, ensuring the writing performance of the pencil in non-interference areas.

[0079] It is understandable that by determining the contact area of ​​the second operator and taking the area covered by the receiving electrode corresponding to the contact area or the contact area itself as the target touch area, the area that may be affected by common-mode interference can be accurately located. Based on the noise mode corresponding to the current spatial environment, the reporting threshold of the target touch area can be adjusted to the matching first threshold. This reduces the touch response capability of the target touch area to the first operator while keeping the touch performance of other areas unaffected, achieving a fine balance between anti-interference capability and touch performance, and improving the user experience of electronic devices in different spatial environments.

[0080] As described above, in operation S130, the reporting threshold of the target touch area of ​​the touch module is increased from the current initial threshold to a target threshold corresponding to the noise mode. In another possible implementation, this operation may further include: determining the relative positional relationship between the second operating body and the touch module; when the second operating body is in contact with the touch surface of the touch module, taking the contact area between the second operating body and the touch surface or the receiving electrode area corresponding to the contact area as the target touch area; when the second operating body is not in contact with the touch surface of the touch module, taking the entire touch area of ​​the touch module as the target touch area; and controlling the reporting threshold of the target touch area to be increased from the current initial threshold to a second threshold, the second threshold being a threshold that matches the second noise mode corresponding to the second spatial environment in which the electronic device is currently located; wherein, the touch response capability of the target touch area to the first operating body at the second threshold is weaker than the touch response capability at the initial threshold.

[0081] For example, the relative positional relationship between the second operating body and the touch module can be the spatial positional state of the second operating body relative to the touch module. The relative positional relationship can include a contact state where the second operating body is in contact with the touch surface and a suspended state where the second operating body is not in contact with the touch surface. The relative positional relationship can be determined by the amplitude characteristics of the touch capacitance signal. The relative positional relationship can also be determined by a proximity detection sensor. For example, when the second operating body is the user's palm, the touch chip can detect the capacitance change generated when the palm contacts the touch surface. If the capacitance change is greater than the contact determination threshold, it is determined that the palm is in contact with the touch surface; if the capacitance change is less than the contact determination threshold but greater than the proximity determination threshold, it is determined that the palm is suspended above the touch surface. For example, the touch chip sets the contact determination threshold to 200 and the proximity determination threshold to 50. When a capacitance change of 250 is detected in a certain area, it is determined that the palm is in contact with the touch surface; when a capacitance change of 80 is detected in a certain area, it is determined that the palm is suspended above the touch surface but not in contact.

[0082] The entire touch area can be the entire area of ​​the touch module capable of sensing touch operations. The entire touch area can be the area corresponding to the entire surface area of ​​the touch panel. For example, if the touch panel size of the touch module is 300 mm by 200 mm, then the entire touch area is a rectangular area of ​​that 300 mm by 200 mm. For instance, when a user's palm is suspended above the touch panel, the distance between the palm and the touch panel is approximately 5 mm. Although the palm is not directly in contact with the touch panel, its presence may cause common-mode interference to all the receiving electrodes of the touch module; therefore, the entire touch area is considered the target touch area.

[0083] The second threshold can be a reporting threshold that matches the second noise mode corresponding to the second spatial environment in which the electronic device is currently located. The second spatial environment and the first spatial environment can be different usage scenarios or external conditions. The environmental noise data corresponding to the second spatial environment is different from the environmental noise data corresponding to the first spatial environment, and therefore the second noise mode is different from the first noise mode, and the second threshold is different from the first threshold. For example, the first spatial environment can be a charging environment with an external standard charger, corresponding to a first noise mode with a noise threshold of 100, and a first threshold matching the first noise mode of 400. The second spatial environment can be a charging environment with an external non-standard charger, corresponding to a second noise mode with a noise threshold of 150, and a second threshold matching the second noise mode of 600.

[0084] It should be noted that a second threshold greater than the first threshold can mean that the noise interference intensity in the second spatial environment is higher than that in the first spatial environment, thus requiring a higher reporting threshold to suppress noise interference. Alternatively, the second threshold can be less than the first threshold. This can mean that although the noise interference intensity in the second spatial environment is higher than in the first, the common-mode interference has a wider range of influence because the second operator is suspended in a non-contact state with the touch surface. Therefore, even a lower second threshold can effectively suppress accidental touches. For example, in the first spatial environment, where the second operator is in contact with the touch surface, the first threshold is set to 400; in the second spatial environment, where the second operator is suspended in a non-contact state, although the noise interference is stronger, the capacitive coupling is weaker in the suspended state, allowing the second threshold to be set to 350.

[0085] The target touch area's touch response capability to the first operating body is weaker at the second threshold than at the initial threshold. This can be manifested in the fact that the minimum touch force required for the first operating body to respond at the second threshold is greater than the minimum touch force required to respond at the initial threshold. Touch response capability can also be manifested in the fact that the minimum contact area required for the first operating body to respond at the second threshold is greater than the minimum contact area required to respond at the initial threshold. For example, at the initial threshold of 60, a pencil with a 0.7 mm diameter tip pressing the touch surface with slight force produces a capacitance change of approximately 70, which can be recognized as a valid touch. At the second threshold of 600, the capacitance change produced by a pencil with a 0.7 mm diameter tip pressing with slight force is also approximately 70, which cannot be recognized as a valid touch; a greater pressure is required to achieve a capacitance change of 650 to be recognized as a valid touch.

[0086] In one example, the electronic device is a tablet computer, and the touch module is a touch display screen integrated into the electronic device. The touch surface of the touch display screen is the glass cover surface of the display screen. The touch display screen includes 20 horizontally extending receiving electrodes Rx1 to Rx20 and 30 vertically extending transmitting electrodes Tx1 to Tx30. The touch surface size is 300 mm by 200 mm, and the receiving electrodes and transmitting electrodes intersect to form a touch unit array. The user holds a pencil with a 0.7 mm diameter tip and draws on the touch display screen, with the palm hovering about 5 mm above the touch surface. The electronic device is currently being charged by an external non-standard charger, and is in the charging environment of the external non-standard charger, which is the second spatial environment. The touch chip sets a contact detection threshold of 200 and a proximity detection threshold of 50. The touch chip detects a capacitance change of 80 in the palm area, which is less than the contact detection threshold of 200 but greater than the proximity detection threshold of 50, and determines that the palm is in a suspended state with respect to the touch surface, that is, the second operating body is not in contact with the touch surface. The touch chip obtains a noise sampling amplitude of 95 at the current high-frequency operating point through noise sampling. Simultaneously, it detects a fluctuation coefficient of 2.0 in the touch capacitive signal when the hand is suspended in the air, calculating a noise value of 190. Since the noise value of 190 is greater than the noise threshold of 150 corresponding to the charging environment of an external non-standard charger, the electronic device enters a second noise mode. Because the hand is not in contact with the touch surface, the electronic device uses the entire touch area, i.e., the entire touch surface area of ​​300 mm by 200 mm, as the target touch area. The electronic device increases the reporting threshold for the pencil in the target touch area from the initial threshold of 60 to a second threshold of 600 that matches the second noise mode. At this point, within the entire touch area, the capacitance change generated by pressing a pencil with a tip diameter of 0.7 mm with a slight force of 20 grams is approximately 70, which is less than the second threshold of 600. Therefore, it cannot be recognized as a valid touch, thus avoiding false touches across the entire area caused by common-mode interference when the palm is suspended in the air. The user needs to apply a pressing force of more than 100 grams to make the capacitance change reach 650 in order for the pencil's touch operation to be recognized as a valid touch.

[0087] It should be noted that if the tablet is charged with the same external non-standard charger, and the user switches to a palm-to-touch operation mode, the touch chip detects a capacitance change of 250 in the palm-to-touch area, which is greater than the touch detection threshold of 200, thus confirming that the palm is in contact with the touch surface. The touch chip detects that the palm-to-touch area is located in rows 5 to 8 and columns 10 to 15, corresponding to receiving electrodes Rx5 to Rx8. The electronic device can use the area covered by receiving electrodes Rx5 to Rx8 as the target touch area, rather than the entire touch area. Under the same second noise mode, the electronic device increases the reporting threshold for the pencil in the target touch area (receiving electrodes Rx5 to Rx8) from the initial threshold 60 to the second threshold 600, while the reporting threshold for other areas outside the target touch area remains at the initial threshold 60. At this time, within the receiving electrode area Rx5 to Rx8, a pencil with a tip diameter of 0.7 mm cannot be recognized when pressed with a force of 20 grams, and requires a force of more than 100 grams to be recognized; in other areas outside the receiving electrode area Rx5 to Rx8, a pencil with a tip diameter of 0.7 mm can still be recognized normally when pressed with a force of 20 grams, ensuring the touch sensitivity of non-interference areas.

[0088] Understandably, the ability to dynamically determine the area range for interference suppression based on the different operating states of the second operator enables an adaptive balance between anti-interference capability and touch performance in different spatial environments and operating states, thereby improving the stability of electronic devices and user experience in complex usage scenarios.

[0089] As described above, in some embodiments, the touch control method of this embodiment may further include the operation of controlling the reporting threshold of a first region of the touch module to be maintained at the current initial threshold, wherein the first region is the region of the touch module excluding the target touch region.

[0090] For example, the first region can be any area of ​​the touch module's touch area other than the target touch area. The first region can be a complementary area of ​​the target touch area. For instance, when the touch module's touch area is the entire display area of ​​the touch screen, and the target touch area is the area covered by the receiving electrode corresponding to the finger, the first region is the display area excluding the area covered by the receiving electrode. The first region can also be a non-interference area surrounding the target touch area. For instance, when the target touch area is a palm contact area, the first region is the touch area outside the palm contact area.

[0091] Maintaining the current initial threshold can mean that after the electronic device enters noise mode, the reporting threshold of the first region does not change with the adjustment of the reporting threshold of the target touch area, remaining at the initial threshold before entering noise mode. For example, in normal mode, the reporting threshold of the touch module for the stylus is 20 across the entire touch area. When the electronic device enters noise mode, the reporting threshold of the target touch area for the stylus increases from 20 to 100, while the reporting threshold of the first region for the stylus remains at 20. Maintaining the current initial threshold can also mean that the reporting threshold of the first region for the first operating body remains unchanged, while the reporting threshold for the second operating body remains unchanged or is adjusted. For example, in noise mode, the reporting threshold of the first region for the stylus remains at 20, and the reporting threshold for the finger remains at 300.

[0092] In one example, when the electronic device enters noise mode, only the reporting threshold of the target touch area is dynamically adjusted, while the reporting threshold of the first area remains unchanged from its initial value. This ensures that the touch response capability of the first area to the first operator is unaffected by the noise mode. For instance, when a user holds a stylus and writes on the touchscreen of a laptop, with their palm resting on the area below the screen, the electronic device enters noise mode after detecting a noise value greater than the noise threshold. The reporting threshold for the stylus in the area covered by the receiving electrode corresponding to the palm (the target touch area) is increased from 20 to 100 to reduce the probability of false alarms caused by common-mode interference in this area. Meanwhile, the reporting threshold for the stylus in the writing area above the screen (the first area) remains at 20, ensuring that the user's normal writing experience when using a 0.7 mm pencil or a fine-tipped passive pen in the writing area is unaffected.

[0093] Understandably, by dynamically adjusting the reporting threshold only for the target touch area while keeping the reporting threshold of the first area unchanged, a regional balance between anti-interference and touch performance is achieved. This reduces the probability of accidental touches in susceptible areas while maintaining the high sensitivity response of non-interference areas to the first operating object. Thus, in noisy environments, it can effectively prevent ghost hand phenomena while ensuring the user's normal stylus writing experience, thereby improving the overall usability of electronic devices in complex usage scenarios.

[0094] Figure 3 One of the flowcharts of a touch control method according to an embodiment of the present disclosure is illustrated schematically.

[0095] As described above, in some embodiments, the touch control method of this embodiment may further include the operation of: when the noise data of the touch module meets the second mode switching condition, controlling the electronic device to switch back from the noise mode to the normal mode, and controlling the reporting threshold of the target touch area of ​​the touch module to be adjusted back to the initial threshold.

[0096] For example, the second mode switching condition can be a criterion for exiting the noise mode based on noise data. The second mode switching condition can be that the noise value decreases to below N times the historical baseline, where N is greater than 1. For example, N can be 1.2, 1.5, 2, etc. The second mode switching condition can also be that the noise value decreases to below the normal threshold at the corresponding operating frequency. For example, the normal threshold for the touch module at a high-frequency operating point is 25. When the noise value decreases from 60 to 20, the second mode switching condition is met. The second mode switching condition can also be that the noise value is below a certain percentage of the noise threshold for multiple consecutive frames. For example, when the noise value is below 50% of the noise threshold for three consecutive frames, the second mode switching condition is met.

[0097] Switching back from noise mode to normal mode allows the electronic device to return to its normal operating state from a high-noise response state. When the electronic device switches back from noise mode to normal mode, the touch module's various touch parameters are restored to their normal mode configuration. For example, if the electronic device detects that the noise level has decreased from 80 to 15 and persists for 3 frames, it switches back to normal mode.

[0098] Reverting to the initial threshold can be done by lowering the reporting threshold of the target touch area from the target threshold in noise mode to the initial threshold in normal mode. Reverting to the initial threshold can be a one-time adjustment. For example, the reporting threshold for the target touch area with respect to the stylus can be directly lowered from 100 in noise mode to 20 in normal mode. Reverting to the initial threshold can also be done in stages. For example, the reporting threshold for the target touch area with respect to the stylus can first be lowered from 100 to 60, and then from 60 to 20. Reverting to the initial threshold can also be done with a delay after the second mode switching condition is met. For example, after the second mode switching condition is met, there is a 100-millisecond delay before the reporting threshold is lowered back from 100 to 20 to avoid frequent mode switching caused by noise fluctuations.

[0099] In one example, such as Figure 3 The touch control method of the embodiment shown includes operations S210 to S240.

[0100] In operation S210, the noise value of the touch module in the current spatial environment is obtained.

[0101] In operation S220, it is determined whether the noise value is greater than the noise threshold corresponding to the current spatial environment.

[0102] In operation S230, if the noise value is not greater than the noise threshold corresponding to the current spatial environment, the electronic device is controlled to enter normal mode. The reporting threshold for the touch area is the initial threshold.

[0103] In operation S240, if the noise value is greater than the noise threshold corresponding to the current spatial environment, the electronic device is controlled to enter noise mode. The reporting threshold of the target touch area is then increased from the current initial threshold to the target threshold corresponding to the noise mode.

[0104] Continue monitoring the noise data of the touch module. If the noise value is greater than the noise threshold corresponding to the current spatial environment, maintain the noise mode. If the noise value is not greater than the noise threshold corresponding to the current spatial environment, switch the noise mode to normal mode and reduce the reporting threshold of the target touch area from the target threshold to the initial threshold.

[0105] For example, after the electronic device switches back from noise mode to normal mode, the reporting threshold of the target touch area returns to the initial threshold, thereby restoring the touch response capability of the target touch area to the first operator to a normal level. For instance, when a user is writing on a laptop's touchscreen with a stylus, their palm rests on the area below the screen. Due to interference introduced by the external charger, the electronic device enters noise mode, raising the reporting threshold for the area covered by the receiving electrode corresponding to the palm (the target touch area) from 20 to 100. At this time, if the user uses a pencil with a 0.7 mm tip for fine writing or short strokes near the area where their palm rests, the touch module cannot respond normally. When the user unplugs the charger, the electronic device detects that the noise level drops from 65 to 18 and remains so for 3 frames, meeting the conditions for switching to the second mode. The electronic device switches back from noise mode to normal mode and adjusts the reporting threshold for the target touch area for the stylus from 100 back to 20. At this time, even if the user uses a pencil with a 0.7 mm tip to perform fine writing or short strokes near the area where the palm rests, the touch module can respond normally, restoring the high-sensitivity touch performance of the target touch area.

[0106] Understandably, by monitoring changes in noise data and switching back from noise mode to normal mode when the second mode switching conditions are met, while simultaneously adjusting the reporting threshold of the target touch area back to the initial threshold, dynamic adaptation between the electronic device's operating mode and touch performance is achieved. After the noise environment disappears, the high sensitivity response capability of the target touch area to the first operating body is restored in a timely manner, avoiding the performance limitations in noise mode from continuously affecting the user's normal use. Thus, while ensuring anti-interference effect, the user's touch experience in different usage environments is maximized.

[0107] As described above, in some embodiments, the touch control method of this embodiment may further include the operation of: after the operating frequency band of the touch module is switched from the current first frequency band to the second frequency band, filtering out the obtained first capacitive sensing signal; wherein, the second frequency band is less than the first frequency band, and the signal difference between the second capacitive sensing signal and the first capacitive sensing signal of the first operating body in the second frequency band is within a first range.

[0108] For example, the operating frequency band can be the range of operating frequencies used by the touch module when performing capacitive sensing detection. The operating frequency band can be the frequency range at which the touch module's transmitting electrodes send scanning signals. For example, the operating frequency band can be a frequency range of 200kHz to 300kHz, a frequency range of 150kHz to 250kHz, etc. The operating frequency band can also be multiple discrete frequency bands preset by the touch module according to different operating modes. For example, the touch module can preset multiple operating frequency bands such as a high-frequency band (280kHz), a mid-frequency band (220kHz), and a low-frequency band (160kHz).

[0109] The first frequency band can be the operating frequency band used by the touch module before switching. The first frequency band can also be the default operating frequency band of the touch module in normal mode. For example, the first frequency band could be a high-frequency band of 280kHz. The first frequency band can also be the operating frequency band that the touch module is using before entering noise mode. For example, when the touch module detects noise interference, the first frequency band is the current 220kHz mid-frequency band.

[0110] The second frequency band can be the operating frequency band used by the touch module after switching. The second frequency band being less than the first frequency band means that the frequency value of the second frequency band is lower than that of the first frequency band. For example, when the first frequency band is 280kHz, the second frequency band can be a frequency band lower than 280kHz, such as 220kHz or 160kHz. The second frequency band being less than the first frequency band can also mean that the center frequency of the second frequency band is lower than that of the first frequency band. For example, if the first frequency band is 250kHz to 300kHz with a center frequency of 275kHz, the second frequency band is 180kHz to 230kHz with a center frequency of 205kHz.

[0111] Switching from the first frequency band to the second frequency band can be an operation where the touch module reduces its operating frequency to minimize noise interference. This switching can also be a synchronous operation performed when the first mode switching conditions are met. For example, when the electronic device detects a noise level exceeding a noise threshold, the touch module switches its operating frequency from the 280kHz first band to the 160kHz second band while entering noise mode. Switching from the first band to the second band can also be a tiered switching mechanism. For instance, when the noise level increases from 30 to 60, the operating frequency switches from 280kHz to 220kHz; when the noise level further increases to 90, the operating frequency switches from 220kHz to 160kHz.

[0112] The first capacitive sensing signal can be an interference signal that needs to be filtered out by the touch module in the second frequency band. The first capacitive sensing signal can be a capacitive sensing signal not generated by the first operating body. For example, the first capacitive sensing signal can be a capacitive sensing signal generated by a second operating body such as a palm or finger, or a signal generated by common-mode interference introduced by the charger. The first capacitive sensing signal can also be an interference signal with a signal strength lower than the capacitive sensing signal generated by normal touch operation of the first operating body in the second frequency band. For example, the capacitive sensing signal strength generated by normal touch operation of the stylus in the 160kHz second frequency band is 150, while the strength of the first capacitive sensing signal is 80.

[0113] The second capacitive sensing signal can be the capacitive sensing signal generated by the first operating body during normal touch operation in the second frequency band. The second capacitive sensing signal can also be a valid touch signal that the touch module can normally recognize and respond to in the second frequency band. For example, when a user writes on the touch screen using a stylus, the capacitive sensing signal generated by the stylus is the second capacitive sensing signal.

[0114] The signal difference can be the difference in signal strength between the second capacitive sensing signal and the first capacitive sensing signal. For example, if the strength of the second capacitive sensing signal is 150 and the strength of the first capacitive sensing signal is 80, the signal difference is 70. The signal difference can also be a relative difference obtained by comparing signal amplitudes. For example, the amplitude of the second capacitive sensing signal is 1.8 times the amplitude of the first capacitive sensing signal.

[0115] The first range can be the signal difference range used to distinguish between the effective touch signal and interference signal of the first operating body. The first range can be a preset numerical interval. For example, the first range can be a numerical interval of 50 to 100, 60 to 120, etc. The first range can also be a minimum difference requirement. For example, the first range can be a signal difference greater than 40, a signal difference greater than 60, etc. The first range can also be a range dynamically adjusted according to the operating frequency band. For example, in the second frequency band of 160kHz, the first range is a signal difference greater than 50; in the second frequency band of 220kHz, the first range is a signal difference greater than 70.

[0116] Filtering the first capacitive sensing signal can be done by identifying it as an interference signal and not responding to touch. Filtering the first capacitive sensing signal can also be done by setting a filtering threshold. For example, if the filtering threshold is set to 120, a first capacitive sensing signal with a signal strength of 80 will be filtered out because it is below the threshold. Filtering the first capacitive sensing signal can also be done by judging the signal difference and marking it as an invalid signal. For example, if a capacitive sensing signal with a signal strength of 80 is detected, and the difference between this signal and the normal touch signal of the first operating body (strength 150) is 70, which is within a first range (50 to 100), then the signal with a strength of 80 is identified as the first capacitive sensing signal and filtered out.

[0117] In one example, by lowering the operating frequency band, the interference of high-frequency noise on the touch module can be reduced. Simultaneously, since the first operating body can still generate an effective capacitive sensing signal with a distinguishable difference from the interference signal at a lower second frequency band, effective filtering of the interference signal can be achieved by filtering out the first capacitive sensing signal whose difference from the effective signal is within a first range. For example, when a user holds a stylus and draws on the touch screen of a tablet, with their palm resting on the right side of the screen, the electronic device enters a noise mode due to high-frequency interference introduced by connecting a non-standard charger. This raises the reporting threshold for the target touch area (the area covered by the receiving electrodes corresponding to the palm) for the stylus from 20 to 100. At the same time, the operating frequency band of the touch module switches from the first frequency band of 280kHz to the second frequency band of 160kHz to reduce high-frequency noise interference generated by the charger. In the second frequency band of 160kHz, the intensity of the second capacitive sensing signal generated by the stylus during normal drawing is approximately 150, while the intensity of the first capacitive sensing signal generated by common-mode interference in the palm contact area is approximately 80. The difference between the two signals is 70, which is within a preset first range (50 to 100). By recognizing this signal difference, the touch module filters out the first capacitive sensing signal with an intensity of 80 and only responds to the second capacitive sensing signal with an intensity of 150. This prevents accidental touches or broken traces caused by common-mode interference signals in the palm area when the stylus draws fine lines or performs detailed smearing operations near the palm.

[0118] Understandably, by switching the operating frequency band of the touch module from the first frequency band to a lower second frequency band in noise mode, the impact of high-frequency noise on touch detection is reduced. At the same time, by utilizing the distinguishable signal difference between the effective signal and the interference signal of the first operating body in the second frequency band, the first capacitive sensing signal within the first range is filtered out. This achieves a synergistic effect of frequency domain anti-interference and signal domain filtering, reducing the impact of noise interference while maintaining the accurate recognition capability of the first operating body's touch operation. Thus, in complex electromagnetic environments, it can effectively suppress interference signals while ensuring the normal user experience of fine operation tools such as styluses, improving the touch reliability and stability of electronic devices in noisy environments.

[0119] Figure 4 A second flowchart of a touch control method according to an embodiment of the present disclosure is illustrated schematically; Figure 5A A second schematic diagram of a touch area according to an embodiment of the present disclosure is shown. Figure 5B A schematic diagram of a touch area according to an embodiment of the present disclosure is shown in Figure 3.

[0120] As described above, the touch control method of this embodiment may further include the following operation: after the operating frequency band of the touch module is switched from the current first frequency band to the third frequency band, in response to obtaining a third capacitive sensing signal in the target touch area, the third capacitive sensing signal is filtered out; wherein the signal difference between the third sensing signal and the fourth capacitive sensing signal generated by the first operating body in the first area of ​​the touch module is within a second range.

[0121] Reference Figure 4 In one example, the touch control method of this embodiment may further include operations S310 to S330.

[0122] In operation S310, it is determined whether the touch module is experiencing frequency hopping.

[0123] During operation S320, if the touch module experiences frequency hopping, it determines whether a third capacitor sensing signal exists in the new operating frequency band. If the touch module does not experience frequency hopping, subsequent operations are performed.

[0124] In operation S330, if a third capacitor sensing signal exists in the new operating frequency band, the third capacitor sensing signal is filtered out. If no third capacitor sensing signal exists in the new operating frequency band, subsequent operations are performed.

[0125] For example, the third frequency band can be a new operating frequency band used by the touch module after switching operating frequency bands. The third frequency band can be the target operating frequency band to which the touch module switches through frequency hopping. For instance, when the touch module hops from the first frequency band of 280kHz, the third frequency band can be a different frequency band such as 240kHz or 200kHz. The third frequency band can also be an alternative operating frequency band selected by the touch module to avoid noise interference in a specific frequency band. For example, when strong interference is detected in the 220kHz to 280kHz frequency band, the touch module switches to a third frequency band in the range of 160kHz to 200kHz. The third frequency band can also be the same as or different from the second frequency band. For example, the third frequency band can be a low-frequency band of 160kHz, the same as the aforementioned second frequency band, or it can be a low-frequency band of 200kHz, different from the aforementioned 160kHz second frequency band.

[0126] Switching from the first frequency band to the third frequency band can be a frequency hopping operation where the touch module changes its operating frequency to cope with noise interference. Switching from the first frequency band to the third frequency band can also be a frequency band adjustment operation performed when interference is detected in the current operating frequency band. For example, when the touch module detects noise levels exceeding a noise threshold in the 280kHz first frequency band, it switches to the 200kHz third frequency band. Switching from the first frequency band to the third frequency band can also be a complementary operation when entering noise mode. For example, when the electronic device enters noise mode and increases the reporting threshold of the target touch area, the touch module's operating frequency band switches from the first frequency band to the third frequency band.

[0127] The third capacitive sensing signal can be a newly appearing capacitive sensing signal in the target touch area after the operating frequency band is switched to the third frequency band. The third capacitive sensing signal can be a newly added signal detected in the first frame or the first few frames of scanning after the operating frequency band switch. For example, after the operating frequency band switches from 280kHz to 200kHz, the newly added capacitive sensing signal detected by the touch module in the first frame scan of the target touch area is the third capacitive sensing signal. The third capacitive sensing signal can also be a weak signal that appears with the frequency band switch. For example, before the frequency band switch, the target touch area only has a strong signal generated by palm contact (signal strength of 300), but after the frequency band switch to the third frequency band, multiple weak signals with signal strengths of 50 to 80 appear in the target touch area; these newly added weak signals are the third capacitive sensing signals. The third capacitive sensing signal can also be multiple discrete signals distributed in the coaxial area of ​​the receiving electrodes. For example, the third capacitive sensing signal can be multiple weak signal frames appearing along the coverage area of ​​a single receiving electrode or multiple adjacent receiving electrodes.

[0128] Obtaining a third capacitive sensing signal in the target touch area can mean that the touch module detects a third capacitive sensing signal in the target touch area. Alternatively, it can mean that a new signal is detected in the target touch area during the initial scan after a frequency band switching operation. For example, in the first frequency band, the target touch area of ​​the touch module only contains the area where the palm heel is pressed, such as... Figure 5A As shown. After switching the operating frequency band from the first frequency band to the third frequency band, the touch module detected five new weak signal frames in the palm heel Rx Tongzhou area during the first frame scan of the target touch area, as shown. Figure 5B As shown. Obtaining the third capacitive sensing signal in the target touch area can also be achieved by continuously detecting new signals in multiple consecutive frame scans after a frequency band switch. For example, in the first three frame scans after a frequency band switch, new weak signals are detected in the target touch area.

[0129] The fourth capacitive sensing signal can be a capacitive sensing signal generated by the first operating body during normal touch operation in the first area. The fourth capacitive sensing signal can also be a valid signal generated by the first operating body when touching an area unaffected by interference from the target touch area. For example, when the first operating body is a writing tool such as a stylus or pencil, the fourth capacitive sensing signal is the capacitive sensing signal generated by the writing tool during normal writing operation in the first area (such as the writing area above the screen). The fourth capacitive sensing signal can also be a standard touch signal generated by the first operating body in the third frequency band. For example, in the 200kHz third frequency band, the capacitive sensing signal intensity generated by a pencil with a 0.7mm tip writing in the first area is 120; this signal is the fourth capacitive sensing signal.

[0130] The signal difference being within the second range can be defined as the signal strength difference between the third and fourth capacitive sensing signals falling within a preset second range. This second range can be a reference range used to determine whether the third capacitive sensing signal is an interference signal. The second range can be a preset numerical interval. For example, the second range could be a signal difference less than 50, a signal difference between 20 and 60, etc. The second range can also be a relative proportion range based on the strength of the fourth capacitive sensing signal. For example, the second range could be the strength of the third capacitive sensing signal being 40% to 70% of the strength of the fourth capacitive sensing signal. The second range can also be dynamically adjusted according to the operating frequency band. For example, in the 200kHz third frequency band, the second range is a signal difference less than 60; in the 160kHz third frequency band, the second range is a signal difference less than 50.

[0131] A signal difference within the second range indicates that the intensity of the third capacitive sensing signal is close to the normal touch signal of the first operating body, making it difficult to distinguish effectively. For example, when the intensity of the fourth capacitive sensing signal (normal pencil writing signal) is 120 and the intensity of the third capacitive sensing signal is 80, the signal difference is 40, which is within the second range (20 to 60). This indicates that the intensity of the third capacitive sensing signal is quite close to the intensity of the pencil signal, posing a risk of being misinterpreted as pencil touch.

[0132] Filtering out the third capacitive sensing signal can involve identifying weak signals that are difficult to distinguish from the first operating body signal after the operating frequency band switch as interference signals and not responding to touch. Filtering out the third capacitive sensing signal can also involve not reporting the corresponding touch coordinates when the third capacitive sensing signal is detected. For example, when a third capacitive sensing signal with a signal strength of 80 is detected in the target touch area, although the signal strength is close to the reporting threshold, because it is a newly added signal after the frequency band switch and its strength is close to that of a pencil signal, the touch module will not report the coordinates corresponding to this signal to the application processor, avoiding false pencil coordinate reporting. Filtering out the third capacitive sensing signal can also involve marking and masking newly added weak signal frames. For example, the touch module can mark multiple weak signal frames appearing in the coaxial area of ​​the receiving electrode after the frequency band switch as interference signals and mask these signal frames in subsequent touch data processing, not processing them as valid touch signals.

[0133] In one example, by monitoring for new signals appearing in the target touch area after a frequency band switch and filtering out third capacitive sensing signals that are close in strength to and difficult to distinguish from the normal touch signal of the first operator, it is possible to prevent new interference introduced by the frequency band switch from being misjudged as touch operations of the first operator. For example, when a user holds a pencil and writes notes on the touch screen of a tablet, with their palm resting on the area below the screen, the electronic device enters noise mode due to interference introduced by the external charger, raising the reporting threshold for the pencil in the target touch area (the area covered by the receiving electrode corresponding to the palm) from 15 to 80. Simultaneously, the operating frequency band of the touch module switches from the first band of 280kHz to the third band of 200kHz. Before the frequency band switch, the target touch area only contains a strong signal (signal strength of 280) generated by palm contact. In the first frame scan after switching the frequency band to 200kHz, the touch module detected eight new weak signal frames along the coaxial area of ​​the 18th to 22nd receiving electrodes in the target touch area. The intensity of these signal frames ranged from 60 to 90. At this time, the intensity of the fourth capacitive sensing signal generated by the pencil writing normally in the first area (the writing area above the screen) was approximately 110. The touch module calculated that the difference between these new weak signals (the third capacitive sensing signal) in the target touch area and the pencil writing signal was between 20 and 50, which was within the preset second range (signal difference less than 60). This indicated that the intensity of these new weak signals was very close to the intensity of the pencil signal. If not filtered out, they might be misinterpreted as a touch operation of the pencil in the palm area, thus incorrectly displaying the pencil trajectory on the screen (i.e., the ghost hand phenomenon). Therefore, the touch module filters out the eight new third capacitive sensing signals that are added with the frequency band switching, does not report their corresponding touch coordinates, and only responds to the fourth capacitive sensing signal generated by the pencil in the first area. This prevents the user from having accidental touch tracks or false strokes on the screen when writing with the pencil with their palm resting on it, due to the new interference signals introduced by the frequency band switching.

[0134] Understandably, by monitoring new signals in the target touch area after switching the operating frequency band to the third frequency band, and using the signal difference between the third capacitive sensing signal and the fourth capacitive sensing signal generated by the first operator in the first area for judgment, the third capacitive sensing signal that is in the second range and is difficult to distinguish from the effective touch signal is filtered out. This achieves accurate identification and filtering of newly introduced interference signals after the frequency band switch. In addition to adding a noise mode, interference can also be dealt with by adjusting the frequency band, and the new interference introduced by the frequency band switch itself can be avoided from being misjudged as a valid touch operation. This further improves the recognition accuracy and anti-interference reliability of the electronic device for the touch operation of the first operator in the noise mode.

[0135] As described above, in some embodiments, the touch control method of this embodiment may further include the operation of updating the reporting threshold of the target touch area in response to a change in the spatial environment in which the electronic device is located from the current first spatial environment to the second spatial environment.

[0136] For example, the first spatial environment can be the operating environment of the electronic device before the change in spatial environment. The first spatial environment can be the electromagnetic environment in which the electronic device is located. For example, the first spatial environment can be a home environment, an office environment, a coffee shop environment, etc. The first spatial environment can also be the physical environment in which the electronic device is located. For example, the first spatial environment can be an indoor environment, an outdoor environment, the environment inside a mobile vehicle, etc. The first spatial environment can also be characterized by the level of environmental noise. For example, the first spatial environment can be an environment with a low level of electromagnetic noise, with a noise value between 10 and 30.

[0137] The second spatial environment can be the operating environment of electronic devices after a change in the spatial environment. The second spatial environment can have different electromagnetic noise characteristics than the first spatial environment. For example, when electronic devices are moved from a home environment to a high-speed train carriage, the second spatial environment is the high-speed train carriage environment with strong electromagnetic interference, and the noise level is between 60 and 90. The second spatial environment can also have different external device connection states than the first spatial environment. For example, in the first spatial environment, the electronic devices are powered by batteries, while in the second spatial environment, the electronic devices are connected to a charger for charging.

[0138] A change from a first spatial environment to a second spatial environment can occur when an electronic device detects a change in the electromagnetic noise characteristics of its surroundings. This change can be identified through noise monitoring. For example, a touch module detects a continuous increase in noise levels from 25 to 75, indicating a change in the electronic device's environment. A change can also be identified through changes in the connection status of external devices. For example, an electronic device detects a charger being connected, indicating a change in the environment. Finally, a change can be identified through location information or network connection information. For example, an electronic device detects a change from a stationary state to a high-speed moving state via GPS positioning, or a change from home Wi-Fi to public Wi-Fi via Wi-Fi network name, indicating a change in the environment.

[0139] In response to a change from a first spatial environment to a second spatial environment, updating the reporting threshold for the target touch area can be achieved by adjusting the reporting threshold based on the noise characteristics of the new environment. Updating the reporting threshold can also involve increasing it after detecting an environmental change. For example, when an electronic device moves from an office environment (first spatial environment) to a high-speed train carriage (second spatial environment), the reporting threshold for the target touch area with respect to a stylus is increased from 20 to 90. Alternatively, updating the reporting threshold can involve decreasing it after detecting an environmental change. For example, when an electronic device switches from a charging state (first spatial environment) to a battery-powered state (second spatial environment), the reporting threshold for the target touch area with respect to a stylus is decreased from 100 to 20. Furthermore, updating the reporting threshold can be done in stages based on the magnitude of the environmental change. For example, when the noise level increases from 25 to 50, the reporting threshold increases from 20 to 60; when the noise level further increases to 80, the reporting threshold increases from 60 to 95.

[0140] In one example, by monitoring changes in the spatial environment of the electronic device and updating the reporting threshold of the target touch area accordingly, the anti-interference capability of the touch module can be matched to the actual usage environment. For instance, when a user is drawing comics on a tablet with a stylus, their palm rests on the area below the screen. Initially, the electronic device is in a home environment (first spatial environment) with a noise level of approximately 20, and the reporting threshold for the target touch area is set to 25. When the user brings the tablet into a high-speed train carriage, the electronic device detects that the noise level continuously increases from 20 to 70 and fluctuates between 60 and 80, indicating a change from the first spatial environment to the second spatial environment. Responding to this environmental change, the electronic device raises the reporting threshold for the target touch area from 25 to 85. This prevents accidental touches or broken traces caused by electromagnetic interference in the high-speed train carriage when the stylus is drawing details near the palm, ensuring a smooth drawing experience for the user in a mobile environment.

[0141] In other embodiments, the touch control method of this embodiment may further include the operation of updating the reporting threshold of the target touch area in response to a switch in the usage mode of the first operating body.

[0142] For example, the usage mode of the first operating body can be its working mode or functional mode during touch operation. The usage mode can be the writing tool mode of the first operating body. For instance, when the first operating body is a stylus, the usage mode can include pencil mode, pen mode, brush mode, marker mode, etc. The usage mode can also be the functional mode of the first operating body. For instance, the usage mode can include writing mode, drawing mode, annotation mode, eraser mode, etc. The usage mode can also be the pressure sensitivity mode of the first operating body. For instance, the usage mode can include high sensitivity mode, standard sensitivity mode, low sensitivity mode, etc.

[0143] Different usage modes correspond to different touch signal characteristics. For example, in pencil mode, the stylus generates a weaker capacitive sensing signal, approximately 80 to 120, while in brush mode, the stylus generates a stronger capacitive sensing signal, approximately 200 to 300. Different usage modes also correspond to different touch areas. For example, in pencil mode, the stylus's contact area is smaller, approximately 1 to 3 square millimeters, while in brush mode, the contact area is larger, approximately 10 to 30 square millimeters.

[0144] Switching usage modes can occur in several ways. First, the user can switch the working mode of the primary operating element via the user interface. Second, the user can select different brush tools within a drawing application. For example, switching from a pencil tool to a brush tool changes the stylus's usage mode from pencil mode to brush mode. Third, the stylus can switch modes via physical buttons or touch operations. For instance, pressing the mode switch button on the side of the stylus switches it from writing mode to eraser mode. Fourth, the electronic device can automatically switch modes based on the application scenario. For example, when the user opens a handwriting note-taking application, the stylus automatically switches to pen mode; when the user opens a drawing application, the stylus automatically switches to brush mode.

[0145] In response to a change in usage mode, updating the reporting threshold for the target touch area can be achieved by adjusting the reporting threshold based on the signal characteristics of the new usage mode. Updating the reporting threshold can involve setting different reporting thresholds for different usage modes. For example, when the stylus switches from pencil mode to brush mode, because the signal strength is stronger in brush mode, the reporting threshold for the target touch area for the stylus is increased from 100 to 180 to accommodate the stronger touch signal in brush mode, while maintaining effective filtering of interference signals from secondary operating objects such as the palm. Updating the reporting threshold can also be done by adjusting the reporting threshold based on the sensitivity requirements of the usage mode. For example, when the stylus switches from standard sensitivity mode to high sensitivity mode, the reporting threshold for the target touch area is decreased from 100 to 60 to improve the response to weak touch signals.

[0146] In one example, by monitoring the switching of the first operator's usage mode and updating the reporting threshold of the target touch area according to the usage mode, the reporting threshold can be matched with the actual working state of the first operator. For example, when a user is creating artwork on a tablet with a stylus, their palm rests on the lower left corner of the screen. The electronic device is in noise mode due to interference from the external charger, and the reporting threshold for the target touch area for the stylus is set to 95. Initially, the stylus is in pencil mode for drawing sketches, and the touch signal strength in pencil mode is approximately 100. After the user finishes drawing the sketch, they switch the brush from the pencil tool to the brush tool in the drawing application, and the stylus usage mode changes from pencil mode to brush mode. The electronic device detects the usage mode switch and increases the reporting threshold for the target touch area for the stylus from 95 to 160. This is because the signal strength of the stylus in brush mode is approximately 220. If the reporting threshold of 95 is still used, the palm area may be misjudged as a valid touch due to the signal generated by the larger contact area of ​​the brush stroke (intensity of approximately 140). By raising the reporting threshold to 160, it is ensured that only brush touch signals with an intensity of 220 are responded to in brush mode, while interference signals from the palm area (intensity 140) are effectively filtered out, so that users will not accidentally touch or make unexpected strokes when using large brush strokes to blend colors due to the palm being placed on the brush.

[0147] In some other embodiments, the touch control method may further include the operation of updating the reporting threshold of the target touch area in response to a switch in the communication connection between the first operator and the electronic device.

[0148] For example, the communication connection between the first operating body and the electronic device can be a connection method for data interaction between the first operating body and the electronic device. The communication connection can be a wireless communication connection. For example, the communication connection can be a Bluetooth connection, a WiFi connection, an infrared connection, etc. The communication connection can also be a capacitive sensing-based communication connection. For example, the communication connection can be a barcode scanning communication or an electrode encoding communication via the electrodes of a touch module. The communication connection can also be a wired communication connection. For example, the communication connection can be a USB connection, a Type-C connection, etc.

[0149] Different communication connection methods can correspond to different signal transmission characteristics and interference features. For example, Bluetooth connections operate in the 2.4GHz band, which may cause co-channel interference with WiFi signals, while electrode barcode scanning communication operates in the touch module's operating frequency band, which may directly affect touch detection. Different communication connection methods can also correspond to different power consumption and signal strength. For example, WiFi connections typically have higher transmission power than Bluetooth connections, which may introduce stronger electromagnetic interference.

[0150] A communication connection switch can occur when the data transmission method between the first operator and the electronic device changes. This switch can be from one wireless connection method to another. For example, a stylus switches from Bluetooth to WiFi, or from Bluetooth to electrode scanning communication. A communication connection switch can also be from a wireless connection to a wired connection. For example, a stylus switches from Bluetooth to a USB wired connection. A communication connection switch can also be the establishment or disconnection of a connection. For example, a stylus establishes a Bluetooth connection from an unconnected state, or disconnects from a Bluetooth connection.

[0151] In response to a change in communication connection, updating the reporting threshold for the target touch area can be achieved by adjusting the reporting threshold based on the interference characteristics of the new communication method. Updating the reporting threshold can also involve setting different reporting thresholds for different communication connections. For example, when the stylus switches from Bluetooth to barcode scanning communication, the reporting threshold for the target touch area for the stylus may be increased from 100 to 130 because barcode scanning communication may cause stronger interference to touch detection. Updating the reporting threshold can also involve increasing the reporting threshold when establishing a specific communication connection. For example, when the stylus establishes a WiFi connection, the reporting threshold for the target touch area may be increased from 80 to 110 because WiFi signals may introduce stronger electromagnetic interference. Updating the reporting threshold can also involve decreasing the reporting threshold when the communication connection is disconnected. For example, when the stylus disconnects from the WiFi connection, the reporting threshold for the target touch area may be decreased from 110 to 80.

[0152] In one example, by monitoring the switching of the communication connection between the first operator and the electronic device, and updating the reporting threshold of the target touch area according to the communication method, it is possible to cope with the differential interference introduced by different communication methods. For example, when a user holds a stylus to annotate a document on a tablet, with their palm resting on the right side of the screen, the electronic device is in noise mode, and the reporting threshold for the target touch area is set to 90 for the stylus. Initially, the stylus connects to the electronic device via Bluetooth to transmit data such as pen tip pressure and tilt angle. When the user needs to use the stylus's advanced functions (such as pen body rotation recognition), the communication method of the stylus is switched from Bluetooth connection to electrode barcode scanning communication through the user interface to achieve more accurate pen body posture detection. When the electronic device detects that the communication connection has switched from Bluetooth to electrode barcode sensing, the electrode barcode sensing communication will generate an additional sensing signal (intensity of about 40 to 60) on the electrodes of the touch module. This signal may overlap with the weak touch signal in the palm area. Therefore, the reporting threshold of the target touch area for the stylus is increased from 90 to 120. This ensures that the superimposed signal in the palm area (intensity may reach 110) is effectively filtered out under the additional signal interference introduced by the electrode barcode sensing communication, while the normal touch signal of the stylus (intensity of about 180) can be responded to normally. This prevents users from accidentally touching the device due to interference caused by the communication method switch when using the advanced pen posture function for fine annotation.

[0153] In some other embodiments, the touch control method of this embodiment may further include the operation of updating the reporting threshold of the target touch area in response to a change in the relative positional relationship between the first operating body and the touch surface of the touch module.

[0154] For example, the relative positional relationship between the first operating body and the touch surface can be the spatial position of the first operating body relative to the touch surface of the touch module. The relative positional relationship can also be the contact state between the first operating body and the touch surface. For example, the relative positional relationship can include a pen tip contact state, a pen body side contact state, a pen tail contact state, etc. The relative positional relationship can also be the tilt angle between the first operating body and the touch surface. For example, the relative positional relationship can include vertical touch (tilt angle close to 90 degrees), angled touch (tilt angle between 30 and 60 degrees), and flat touch (tilt angle less than 30 degrees), etc. The relative positional relationship can also be the contact area between the first operating body and the touch surface. For example, the relative positional relationship can include point contact (contact area less than 2 square millimeters), surface contact (contact area greater than 5 square millimeters), etc.

[0155] A change in relative position can occur due to a change in the contact state, tilt angle, or contact area of ​​the first operating element. A change in relative position can be a change in the contact area. For example, when a user adjusts the stylus from a vertical holding position to a tilted holding position, the contact area between the pen tip and the touch surface increases from 1.5 square millimeters to 4 square millimeters. A change in relative position can also be a change in the contact position. For example, when a user flips the stylus, switching from contact using the pen tip to contact using the pen tail (eraser end), the contact area increases from 2 square millimeters to 15 square millimeters. A change in relative position can also be a change in the tilt angle. For example, when a user adjusts from vertical writing (tilt angle 85 degrees) to tilted drawing (tilt angle 45 degrees), the relative position of the stylus and the touch surface changes.

[0156] In response to changes in relative position, updating the reporting threshold of the target touch area can be achieved by adjusting the reporting threshold based on the new contact state. The reporting threshold can also be adjusted based on changes in the contact area. For example, when the contact area of ​​the stylus increases from 2 square millimeters to 10 square millimeters, the increased contact area leads to a stronger capacitive sensing signal intensity, increasing from 120 to 250. Therefore, the reporting threshold for the target touch area can be raised from 100 to 180 to accommodate the stronger touch signal while maintaining the ability to filter out interference signals from the palm. The reporting threshold can also be updated based on changes in the contact position. For example, when the stylus switches from tip contact to eraser contact, the eraser has a larger contact area and a stronger signal, thus raising the reporting threshold for the target touch area from 90 to 170.

[0157] In one example, by monitoring changes in the relative position of the first operating element and the touch surface, and updating the reporting threshold of the target touch area based on this positional relationship, the system can adapt to changes in signal characteristics under different usage postures of the first operating element. For instance, when a user holds a stylus to paint a watercolor on a tablet, with their palm resting on the area below the screen, the electronic device is in noise mode due to interference from the external display, and the reporting threshold for the target touch area is set to 95 for the stylus. Initially, the user holds the stylus vertically for outlining, with the pen tip nearly perpendicular to the touch surface, a contact area of ​​approximately 1.8 square millimeters, and a capacitive sensing signal strength of approximately 110. When the user needs to apply a large area of ​​color blending, they tilt the stylus to approximately 40 degrees, increasing the contact area between the pen tip and the touch surface to 6 square millimeters. The electronic device detects the increase in touch signal strength from 110 to 240 through the touch module, recognizing a change in the relative position of the first operating element and the touch surface (a significant increase in contact area). In response to this change in position, the electronic device raises the reporting threshold for the target touch area for the stylus from 95 to 170. This is because, under tilted, large-area contact conditions, if a reporting threshold of 95 is still used, the sensor signal (intensity approximately 140) generated by the stylus's tilt on the touch surface, along with interference signals from the palm, might overlap with the hand's own signal, potentially reaching a total intensity of 160. This could lead to misinterpretation as a valid touch. By raising the reporting threshold to 170, only stylus tilt touch signals with an intensity of 240 are responded to, while the superimposed interference signal (intensity 160) from the palm area is effectively filtered out. This prevents accidental touches or abnormal drawing trajectories caused by signal intensity changes due to stylus posture variations when adjusting the stylus's grip angle for different drawing techniques. This ensures smooth switching between various drawing operations, from fine outlining to large-area shading.

[0158] Based on the above-described touch control method, this disclosure also provides a touch control device. The following will be combined with... Figure 6 The device is described in detail.

[0159] Figure 6 A schematic block diagram of a touch control device according to an embodiment of the present disclosure is shown.

[0160] like Figure 6 As shown, the touch control device 400 in this embodiment includes a monitoring module 410, a first control module 420, and a second control module 430.

[0161] The monitoring module 410 is used to monitor the noise data of the touch module of the electronic device. In one embodiment, the monitoring module 410 can be used to perform the operation S110 described above, which will not be repeated here.

[0162] The first control module 420 is used to control the electronic device to enter a noise mode when it is determined, based on noise data, that the first mode switching condition is met. In one embodiment, the first control module 420 may be used to perform the operation S120 described above, which will not be repeated here.

[0163] The second control module 430 is used to control the reporting threshold of the target touch area of ​​the touch module to be increased from the current initial threshold to the target threshold corresponding to the noise mode, so as to reduce the touch response capability of the target touch area to the first operating body. In one embodiment, the second control module 430 can be used to execute the operation S130 described above, which will not be repeated here.

[0164] The target touch area is related to the area of ​​action of the second operator on the touch module, and the reporting threshold of the touch module in response to the touch operation of the first operator and the second operator is different.

[0165] According to embodiments of this disclosure, any plurality of modules among the monitoring module 410, the first control module 420, and the second control module 430 may be combined into one module, or any one of these modules may be split into multiple modules. Alternatively, at least a portion of the functionality of one or more of these modules may be combined with at least a portion of the functionality of other modules and implemented in one module. According to embodiments of this disclosure, at least one of the monitoring module 410, the first control module 420, and the second control module 430 may be at least partially implemented as hardware circuitry, such as a field-programmable gate array (FPGA), a programmable logic array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit (ASIC), or any other reasonable means of integrating or packaging circuitry, or implemented in software, hardware, or firmware, or in any suitable combination of any of these three implementation methods. Alternatively, at least one of the monitoring module 410, the first control module 420, and the second control module 430 may be at least partially implemented as a computer program module, which, when run, can perform corresponding functions.

[0166] Figure 7 A schematic diagram of an electronic device according to an embodiment of the present disclosure is shown.

[0167] like Figure 7 As shown, the electronic device 500 of this embodiment includes: a touch module 502 and a touch chip 501 that is signal-connected to the touch module.

[0168] The touch module 502 is used to monitor noise data of the touch module; the touch chip 501 is used to analyze the noise data and, when it is determined that the noise data meets the first mode switching conditions, control the electronic device to enter the noise mode; and, control the reporting threshold of the target touch area of ​​the touch module to be increased from the current initial threshold to the target threshold corresponding to the noise mode, so as to weaken the touch response capability of the target touch area to the first operating body; wherein, the target touch area is related to the area of ​​action of the second operating body on the touch module, and the reporting threshold of the touch module in response to the touch operation of the first operating body and the second operating body is different.

[0169] For a description of the solution for electronic devices, please refer to the above explanation of the touch control method; it will not be repeated here.

[0170] In some embodiments, the electronic device 500 includes a first body and a second body rotatably connected; the touch module 502 includes a touch display screen disposed on the first body and the second body.

[0171] For example, the electronic device can be a foldable phone, which is opened and closed by rotating a first body of the foldable phone relative to a second body. During the folding process, the touch screen also bends as the first body and the second body move closer or further apart.

[0172] In other embodiments, the electronic device 500 includes a first body and a second body rotatably connected; the touch module 502 includes a touch display screen disposed on the first body and a touch panel disposed on the second body.

[0173] For example, the electronic device may be a laptop computer with a touch-enabled display screen and a touchpad on the keyboard surface, which also has touch functionality.

[0174] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure.

[0175] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code enables the computer system to implement the touch control method provided in the embodiments of this disclosure.

[0176] According to embodiments of this disclosure, program code for executing the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, languages ​​such as Java, C++, Python, "C", or similar programming languages. The program code can execute entirely on a user's computing device, partially on a user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0177] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0178] Those skilled in the art will understand that the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways, even if such combinations or combinations are not explicitly described in this disclosure. In particular, the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.

[0179] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. The scope of this disclosure is defined by the appended claims and their equivalents. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.

Claims

1. A touch control method, comprising: Monitor noise data of touch modules in electronic devices; If the first mode switching condition is met based on the noise data, the electronic device is controlled to enter noise mode; as well as The reporting threshold of the target touch area of ​​the touch module is increased from the current initial threshold to the target threshold corresponding to the noise mode, so as to reduce the touch response capability of the target touch area to the first operating body; The target touch area is related to the area of ​​action of the second operator on the touch module, and the reporting threshold of the touch module in response to the touch operations of the first operator and the second operator is different.

2. The method according to claim 1, wherein controlling the electronic device to enter a noise interference mode when determining, based on the noise data, that the first mode switching condition is met, includes: The noise value of the touch module in the current spatial environment is calculated based on the obtained noise sampling data and touch capacitive signal data. If the noise value is greater than the noise threshold corresponding to the current spatial environment, the electronic device is controlled to enter a noise mode; The noise threshold varies depending on the spatial environment.

3. The method according to claim 1 or 2, wherein the reporting threshold of the target touch area of ​​the touch module is increased from the current initial threshold to a target threshold corresponding to the noise mode, comprising: Determine the contact area between the second operating body and the touch surface of the touch module; The area covered by the receiving electrode corresponding to the contact area is taken as the target touch area, or the contact area is taken directly as the target touch area; The reporting threshold of the target touch area is increased from the current initial threshold to a first threshold, where the first threshold is a threshold that matches the first noise mode corresponding to the first spatial environment in which the electronic device is currently located; Wherein, the target touch area has a weaker touch response capability to the first operating body at the first threshold than it has at the initial threshold.

4. The method according to claim 1 or 2, wherein the reporting threshold of the target touch area of ​​the touch module is increased from the current initial threshold to a target threshold corresponding to the noise mode, comprising: Determine the relative positional relationship between the second operating body and the touch module; When the second operating body is in contact with the touch surface of the touch module, the contact area between the second operating body and the touch surface or the receiving electrode area corresponding to the contact area is taken as the target touch area; When the second operating body is not in contact with the touch surface of the touch module, the entire touch area of ​​the touch module is taken as the target touch area; as well as, The reporting threshold of the target touch area is increased from the current initial threshold to a second threshold, whereby the second threshold is a threshold that matches the second noise mode corresponding to the second spatial environment in which the electronic device is currently located; Wherein, the target touch area has a weaker touch response capability to the first operating body at the second threshold than it has at the initial threshold.

5. The method of claim 1, further comprising at least one of the following: The reporting threshold of the first area of ​​the touch module is maintained at the current initial threshold. The first area is the area of ​​the touch module excluding the target touch area. When the noise data of the touch module meets the second mode switching condition, the electronic device is controlled to switch back from the noise mode to the normal mode, and the reporting threshold of the target touch area of ​​the touch module is controlled to be adjusted back to the initial threshold.

6. The method according to claim 1, further comprising: After the operating frequency band of the touch module is switched from the current first frequency band to the second frequency band, the obtained first capacitive sensing signal is filtered out; Wherein, the second frequency band is less than the first frequency band, and the signal difference between the second capacitive sensing signal and the first capacitive sensing signal of the first operating body in the second frequency band is within a first range.

7. The method according to claim 1, further comprising: After the operating frequency band of the touch module switches from the current first frequency band to the third frequency band, in response to obtaining the third capacitive sensing signal in the target touch area, the third capacitive sensing signal is filtered out. The signal difference between the third sensing signal and the fourth capacitive sensing signal generated by the first operating body in the first area of ​​the touch module is within the second range.

8. The method of claim 1, further comprising at least one of the following: In response to a change in the spatial environment of the electronic device from the current first spatial environment to the second spatial environment, the reporting threshold of the target touch area is updated; In response to a change in the usage mode of the first operating body, the reporting threshold of the target touch area is updated; In response to a switch in the communication connection between the first operator and the electronic device, the reporting threshold of the target touch area is updated; In response to a change in the relative positional relationship between the first operating body and the touch surface of the touch module, the reporting threshold of the target touch area is updated.

9. An electronic device, comprising: A touch module and a touch chip that is signal-connected to the touch module; The touch module is used to monitor the noise data of the touch module. A touch chip is used to analyze the noise data and, if it is determined that the noise data meets the first mode switching condition, control the electronic device to enter a noise mode; and control the reporting threshold of the target touch area of ​​the touch module to be increased from the current initial threshold to a target threshold corresponding to the noise mode, so as to weaken the touch response capability of the target touch area to the first operating body; wherein, the target touch area is related to the operating area of ​​the second operating body on the touch module, and the reporting threshold of the touch module in response to the touch operations of the first operating body and the second operating body is different.

10. The electronic device according to claim 9, wherein, The electronic device includes a first body and a second body that are rotatably connected. The touch module includes a touch display screen disposed on the first body and the second body; or The touch module includes a touch display screen disposed on the first body and a touch panel disposed on the second body.