Touch control processing method and device and electronic equipment

By acquiring candidate nodes of touch points in electronic devices and detecting suppression processing conditions, the problem of false touch detection in waterproof mode is solved, improving the accuracy of touch processing and the reliability of system response.

CN121996104APending Publication Date: 2026-05-08SHENZHEN HEYTAP TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN HEYTAP TECHNOLOGY CO LTD
Filing Date
2024-11-05
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

In existing technologies, electronic devices in waterproof mode do not accurately suppress touch points at the bottom of the screen, leading to false detection of user finger touch operations and affecting response accuracy.

Method used

By acquiring candidate nodes corresponding to touch points, and detecting whether touch points meet the suppression processing conditions based on the candidate nodes, suppression processing is performed if the conditions are met; otherwise, no suppression processing is performed, thereby improving the accuracy of touch processing.

Benefits of technology

It improves the accuracy of touch processing in waterproof mode of electronic devices, avoids false suppression of user finger touch, and enhances the reliability of system response.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121996104A_ABST
    Figure CN121996104A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a touch control processing method and device and electronic equipment. In the method, after a touch point is detected in response, candidate nodes corresponding to the touch point can be obtained, the candidate nodes are at least part of nodes in an action area of the touch point, and if it is detected based on the candidate nodes that touch meets a suppression processing condition, suppression processing is conducted on the touch point. In this way, after the touch point is detected, whether the touch point meets the suppression processing condition or not is detected on the basis of the candidate node corresponding to the touch point, suppression processing is conducted on the touch point only when it is detected that the suppression processing condition is met, and if not, suppression processing is not conducted. Therefore, the accuracy of processing the touch control is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and more specifically, to a touch processing method, apparatus, and electronic device. Background Technology

[0002] With technological advancements, users can control electronic devices by touching their screens. When a screen is touched, the electronic device first determines the location of the touch and then executes subsequent control operations based on that location. However, this method still suffers from inaccurate touch processing. Summary of the Invention

[0003] In view of the above problems, this application proposes a touch processing method, apparatus and electronic device to improve the above problems.

[0004] In a first aspect, this application provides a touch processing method, the method comprising: in response to detecting a touch point, acquiring candidate nodes corresponding to the touch point, wherein nodes in the screen are positions that can generate changes in capacitance value, and the candidate nodes are at least some nodes within the effective area of ​​the touch point; if the touch point is detected based on the candidate nodes to meet the suppression processing conditions, then suppressing the touch point.

[0005] Secondly, this application provides a touch processing device, the device comprising: a node acquisition unit, configured to acquire candidate nodes corresponding to the touch point in response to detecting a touch point, wherein the nodes in the screen are positions that can generate changes in capacitance value, and the candidate nodes are at least some nodes within the effective area of ​​the touch point; and a touch processing unit, configured to perform suppression processing on the touch point if the touch point is detected to meet the suppression processing conditions based on the candidate nodes.

[0006] Thirdly, this application provides an electronic device including a screen, one or more processors, and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs being configured to perform the methods described above.

[0007] Fourthly, this application provides a computer-readable storage medium storing processor-executable program code, the computer-readable storage medium including stored program code, wherein the above-described method is executed when the program code is run.

[0008] This application provides a touch processing method, apparatus, and electronic device. In this method, upon detecting a touch point, candidate nodes corresponding to the touch point can be obtained. The candidate nodes are at least a portion of the nodes within the effective area of ​​the touch point. If the touch point meets the suppression processing condition based on the candidate nodes, then suppression processing is performed on the touch point. Thus, by the above method, upon detecting a touch point, the system first checks whether the touch point meets the suppression processing condition based on the corresponding candidate nodes. Only if the suppression processing condition is met is suppression processing performed on the touch point; otherwise, no suppression processing is performed, thereby improving the accuracy of touch processing. Attached Figure Description

[0009] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0010] Figure 1 A flowchart of a touch processing method according to an embodiment of this application is shown;

[0011] Figure 2 A schematic diagram illustrating the determination of nodes via a transmission channel and a reception channel in an embodiment of this application is shown;

[0012] Figure 3 A flowchart of a touch processing method according to another embodiment of this application is shown;

[0013] Figure 4 A schematic diagram of screen capacitance data in an embodiment of this application is shown;

[0014] Figure 5 A schematic diagram of screen capacitance data in an embodiment of this application is shown;

[0015] Figure 6 A schematic diagram of screen capacitance data in an embodiment of this application is shown;

[0016] Figure 7 A schematic diagram of an irregular shape in an embodiment of this application is shown;

[0017] Figure 8 A flowchart of a touch processing method according to another embodiment of this application is shown;

[0018] Figure 9 A schematic diagram of an edge position in an embodiment of this application is shown;

[0019] Figure 10A schematic diagram of another edge position according to an embodiment of this application is shown;

[0020] Figure 11 A flowchart of a touch processing method according to another embodiment of this application is shown;

[0021] Figure 12 This invention provides a structural block diagram of a touch processing device according to an embodiment of the present application.

[0022] Figure 13 This invention illustrates a structural block diagram of an electronic device for performing a touch processing method according to an embodiment of the present invention;

[0023] Figure 14 This is a storage unit in this application embodiment for storing or carrying program code that implements the touch processing method according to this application embodiment. Detailed Implementation

[0024] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0025] With the rapid development of science and technology, electronic devices are playing an increasingly important role in people's lives and work. Today, users can control electronic devices by touching their screens. Under this touch operation mechanism, when the screen of an electronic device receives a user's touch action, its internal sensing system and related software algorithms immediately initiate a series of processing procedures. First, the electronic device uses built-in touch sensors and positioning algorithms to determine the location of the touch. These touch sensors can sense changes in physical quantities such as pressure, electric field, or capacitance on the screen surface, determining the specific coordinates of the user's finger or stylus on the screen.

[0026] The electronic device then performs subsequent control operations based on the determined touch location. For example, if the touch location is on an application icon, the device will open the corresponding application; if the touch location is on the scroll bar area, the device will scroll the screen content in the corresponding direction; if the touch location is on an operation button, the device will execute the function corresponding to that button, such as play, pause, or save.

[0027] However, despite the immense convenience this touch operation method has brought to users, some problems still need to be addressed in existing technologies and methods, the most prominent being the inaccuracy of touch processing. For example, in some methods, electronic devices can suppress touch points at the bottom of the screen in waterproof mode to avoid "ghost touch" issues caused by rain. However, in some cases, the detected touch points are not necessarily caused by rain or other liquids, but rather by the actual touch action of the user's finger, thus leading to false suppression. Consequently, even swipe-up gestures triggered by the user from the bottom of the screen may not be responded to by the electronic device.

[0028] Therefore, the inventors have proposed a touch processing method, apparatus, and electronic device as described in this application. In this method, in response to detecting a touch point, candidate nodes corresponding to the touch point can be obtained. The candidate nodes are at least a portion of the nodes within the effective area of ​​the touch point. If the touch point meets the suppression processing condition based on the candidate nodes, then suppression processing is performed on the touch point. Thus, by the above method, after a touch point is detected, the system first checks whether the touch point meets the suppression processing condition based on the candidate nodes corresponding to that touch point. Only if the suppression processing condition is met will suppression processing be performed on the touch point; otherwise, no suppression processing is performed, thereby improving the accuracy of touch processing.

[0029] The embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0030] Please see Figure 1 This application provides a touch processing method applied to electronic devices, the method comprising:

[0031] S110: In response to detecting a touch point, obtain candidate nodes corresponding to the touch point, wherein the nodes on the screen are positions that can generate changes in capacitance value, and the candidate nodes are at least some nodes within the effective area of ​​the touch point.

[0032] In this embodiment, multiple nodes can be distributed on the screen, and each node can generate a change in capacitance value. As one approach, the nodes in this embodiment can be the intersection of a transmitting channel and a receiving channel on the screen. Optionally, the transmitting channel can be a transmitter, and the receiving channel can be a receiver. The screen can include multiple transmitting channels and multiple receiving channels, with the multiple transmitting channels arranged sequentially along a first direction and the multiple receiving channels arranged sequentially along a second direction, and the first and second directions being perpendicular. For example, as shown... Figure 2As shown, multiple transmitting channels are arranged sequentially along the horizontal or horizontal direction of the screen (a first direction), and multiple receiving channels are arranged sequentially along the vertical or vertical direction of the screen (a second direction). The intersection of any transmitting channel and any receiving channel is a node capable of generating capacitance changes, thus allowing the nodes on the screen to be distributed in an array on the screen.

[0033] In this scenario, when an object is applied to the screen, some nodes on the screen will experience a change in capacitance. For example, when a user touches the screen using a touch object (e.g., a finger or stylus), the touch will cause some nodes on the screen to change their capacitance. Similarly, when a liquid (e.g., water) falls onto the screen, the liquid will also cause some nodes on the screen to change their capacitance.

[0034] In this embodiment, the capacitance value corresponding to each node can be either mutual capacitance or self-capacitance. Mutual capacitance is a physical quantity that describes the electric field interaction and charge accumulation between two conductors. Self-capacitance is a physical quantity that describes the capacitance of a conductor relative to ground.

[0035] In this embodiment, the detected touch point can be understood as the position of the object on the screen when an object is applied to it. This object can be a finger, stylus, or liquid, etc. The corresponding area of ​​the touch point represents the range of its application. The area of ​​the touch point's application can include multiple nodes. As one approach, when the screen is touched, the nodes on the screen experience capacitance changes. In this case, a touch point can be determined based on the node with the largest capacitance value (e.g., the node with the largest capacitance value or a node with a capacitance value greater than a preset threshold) and the nodes adjacent to the node with the largest capacitance change. Correspondingly, the area formed by the node with the largest capacitance value and the nodes adjacent to the node with the largest capacitance change can be considered as the area of ​​the touch point's application.

[0036] In this embodiment of the application, a candidate node can be understood as a node used to detect touch points.

[0037] S120: If the candidate node detects that the touch point meets the suppression processing condition, then the touch point is suppressed.

[0038] The purpose of detecting touch points is to determine whether they are false detections. In other words, in this embodiment, the suppression processing condition is used to characterize whether a touch point is touched by a user's finger or other touch object. For example, as mentioned above, an electronic device may detect a touch point when liquid is applied to the screen. Therefore, if a candidate node detects that the touch point was triggered by the user, it is determined that the touch point is not a false detection, and the suppression processing condition is not met. If a candidate node detects that the touch point was caused by liquid (e.g., water) on the screen, it is determined that the touch point is a false detection, and the suppression processing condition is met.

[0039] In this application embodiment, there can be multiple ways to detect whether a touch point meets the suppression processing conditions based on candidate nodes.

[0040] One approach is to detect whether a touch point meets the suppression processing condition based on the shape that candidate nodes can form. Another approach is to detect whether a touch point meets the suppression processing condition based on the capacitance value of candidate nodes. Optionally, the sum of the capacitance values ​​of candidate nodes can be used to detect whether a touch point meets the suppression processing condition. Optionally, the relationship between the capacitance values ​​of some candidate nodes and the capacitance values ​​of other candidate nodes can be used to detect whether a touch point meets the suppression processing condition. Yet another approach is to directly detect whether a touch point meets the suppression processing condition based on the number of candidate nodes.

[0041] In this embodiment, suppressing a touch point can be understood as ignoring the touch point or not reporting it. Conversely, if a touch point does not meet the suppression conditions, it can be treated as a normal touch point (or identified as a touch point triggered by the user), and thus the touch point can be responded to or reported.

[0042] The reporting of touch points can be understood as passing the detected touch points to downstream processing modules for processing. For example, in one scenario, the electronic device includes a screen, a touch chip, and a processor. In this case, the touch chip can detect touch activity on the screen and generate corresponding touch points when a touch occurs. The touch chip can then transmit the detected touch points to the processor for processing. The processor can be understood as a downstream module of the touch chip. When the touch processing method is executed by the touch chip, if the touch chip detects that a touch point meets the suppression processing conditions, it can ignore the touch point and not transmit it to the processor, thereby suppressing the touch point. Conversely, if the touch point does not meet the suppression processing conditions, it will transmit the touch point to the processor.

[0043] In one embodiment of this application, the electronic device may detect whether a touch point meets the suppression processing conditions when a waterproof mode is activated. For example, in this manner, the steps performed by the electronic device may be: if the candidate node detects that the touch point meets the suppression processing conditions and the waterproof mode is activated, then the touch point is suppressed. Here, the waterproof mode can be understood as a mode that suppresses touch points appearing in the screen edge area. This screen edge area may include the bottom edge area of ​​the screen.

[0044] This embodiment provides a touch processing method. In this method, in response to detecting a touch point, candidate nodes corresponding to the touch point can be obtained. The candidate nodes are at least a portion of the nodes within the effective area of ​​the touch point. If the touch point meets the suppression processing condition based on the candidate nodes, then suppression processing is performed on the touch point. Thus, by the above method, after a touch point is detected, the system first checks whether the touch point meets the suppression processing condition based on the candidate nodes corresponding to that touch point. Only if the suppression processing condition is met will suppression processing be performed on the touch point; otherwise, no suppression processing is performed, thereby improving the accuracy of touch processing.

[0045] Please see Figure 3 This application provides a touch processing method applied to electronic devices, the method comprising:

[0046] S210: In response to detecting a touch point, obtain candidate nodes corresponding to the touch point, wherein the nodes in the screen are positions that can generate changes in capacitance value, the candidate nodes include a second node, the second node includes nodes whose capacitance value is greater than a first capacitance threshold among the nodes adjacent to the first node, and the first node is the node with the largest capacitance value among the nodes included in the effective area.

[0047] For example, such as Figure 4 As shown, Figure 4 The image shows the screen's capacitance data, which can be the capacitance values ​​of all nodes on the screen or the capacitance values ​​of a subset of nodes. Figure 4 Each value represents the capacitance value of a node. The area marked by the dashed box represents the effective area of ​​the touch point. Nodes with capacitance values ​​of 92, 221, 700, 736, 684, 738, 180, and 313 enclosed by the dashed box can be identified as candidate nodes. In this case, the node with a capacitance value of 738 is the node with the largest capacitance value among the nodes included in the effective area, and therefore can be designated as the first node. Correspondingly, the nodes adjacent to the first node (the second node) include nodes with capacitance values ​​of 736, 700, 684, 180, and 313.

[0048] S220: If the touch point is detected to meet the suppression processing conditions based on the second node, then the touch point is suppressed.

[0049] After obtaining the second node, it is possible to start detecting whether the touch point meets the suppression processing conditions based on the second node. In the embodiments of this application, there can be multiple ways to detect whether the touch point meets the suppression processing conditions based on the second node, and correspondingly, there can also be multiple conditions for the suppression processing.

[0050] As one approach, the suppression processing condition includes: the number of the second nodes is less than a first preset number threshold. It should be noted that when the touch point is a normal user touch (e.g., a user touching with their finger), the number of candidate nodes included in the touch point will be relatively large, and correspondingly, the number of second nodes obtained will also be relatively large. However, when the touch point is caused by liquids such as water, the number of calculated second nodes will be relatively small. Based on the above principle, a first preset number threshold can be set. If the number of second nodes is less than the first preset number threshold, the touch point is determined to be a false detection due to the influence of liquids such as water. Conversely, if the number of second nodes is greater than or equal to the first preset number threshold, the touch point is considered a normal user touch.

[0051] For example, with Figure 4 For example, based on Figure 4As shown, if the first capacitance threshold is 25, the number of second nodes obtained can include nodes with a capacitance value of 736, a capacitance value of 700, a capacitance value of 684, a capacitance value of 180, and a capacitance value of 313, i.e., 5 nodes. If the first preset number threshold is 8, then it can be determined that the number of second nodes obtained is less than the first preset number threshold, and thus the suppression processing condition is met.

[0052] Optionally, the first preset quantity threshold can be pre-configured by the developer. Alternatively, the first preset quantity threshold can be determined based on the current touch scenario.

[0053] Alternatively, the suppression processing condition includes: the ratio of the capacitance value of the first node to the average capacitance value of the second node satisfies a first preset ratio condition. Here, the average capacitance value of the second node can be understood as the capacitance value obtained by summing the capacitance values ​​of multiple second nodes and then averaging them.

[0054] It should be noted that when the touch point is a normal user touch (e.g., a user touching with their finger), the capacitance values ​​of the candidate nodes included in the touch point are generally relatively large, and correspondingly, the capacitance value of the obtained second node will also be relatively large. However, when the touch point is caused by the action of liquids such as water, the calculated capacitance value of the second node will be relatively small. Based on the above principle, a first preset ratio condition can be set. If the ratio of the capacitance value of the first node to the average capacitance value of the second node satisfies the first preset ratio condition, then the touch point is determined to be a false detection due to the influence of liquids such as water.

[0055] Optionally, the first preset ratio condition can be: the ratio of the capacitance value of the first node to the average capacitance value of the second node is greater than a first preset ratio. In this case, if the ratio of the capacitance value of the first node to the average capacitance value of the second node is greater than the first preset ratio, then the suppression processing condition is determined to be met. If the ratio of the capacitance value of the first node to the average capacitance value of the second node is less than or equal to the first preset ratio, then the suppression processing condition is determined not to be met.

[0056] Furthermore, in the embodiments of this application, the implementation methods of the suppression processing conditions and the determination methods of candidate nodes are not limited to the foregoing content.

[0057] For example, as one approach, the candidate node includes a third node, which includes nodes adjacent to the first node, and the first node is the node with the largest capacitance value among the nodes included in the effective area. In this approach, the suppression processing condition may include: the ratio of the capacitance value of the first node to the average capacitance value of the third node satisfies a second preset ratio condition. The second preset ratio condition may include: the ratio of the capacitance value of the first node to the average capacitance value of the third node is greater than a second preset ratio. In this case, if the ratio of the capacitance value of the first node to the average capacitance value of the third node is greater than the second preset ratio, then the suppression processing condition is determined to be satisfied. If the ratio of the capacitance value of the first node to the average capacitance value of the third node is less than or equal to the second preset ratio, then the suppression processing condition is determined not to be satisfied.

[0058] For example, such as Figure 5 As shown, if the first node determined from the candidate nodes is Figure 5 If the node with a capacitance value of 644 is obtained, then the resulting third node can include: a node with a capacitance value of 151, a node with a capacitance value of 388, a node with a capacitance value of 9, a node with a capacitance value of 375, a node with a capacitance value of 80, a node with a capacitance value of 184, a node with a capacitance value of 23, and a node with a capacitance value of 348.

[0059] In this case, the ratio of the capacitance value of the first node to the average capacitance value of the third node is: 644 / ((151+388+9+348+23+184+80+375) / 8).

[0060] In one approach, the candidate nodes include all nodes within the active area; the suppression processing condition includes: the sum of the capacitance values ​​of the candidate nodes is less than a first preset capacitance value. It should be noted that when the touch point is caused by the influence of liquids such as water, the capacitance values ​​of the candidate nodes will be relatively small. Conversely, when the touch point is caused by user touch, the capacitance values ​​of the candidate nodes will be relatively large. In this case, if the sum of the capacitance values ​​of the candidate nodes is greater than or equal to the first preset capacitance value, it indicates that the touch point was touched by the user, thus determining that the suppression processing condition is not met. If the sum of the capacitance values ​​of the candidate nodes is less than the first preset capacitance value, the touch point is determined to be a falsely triggered touch point, thus satisfying the suppression processing condition.

[0061] As one approach, the suppression processing condition includes: the capacitance value of the candidate node with the largest capacitance value is less than a second preset capacitance value. It should be noted that when the touch point is caused by the influence of liquids such as water, the capacitance values ​​of all candidate nodes will be relatively small, and thus, even the capacitance value of the candidate node with the largest capacitance value will be relatively small. Conversely, when the touch point is caused by user touch, the capacitance values ​​of all candidate nodes will be relatively large, and thus, the capacitance value of the candidate node with the largest capacitance value will be relatively large. In this case, if the capacitance value of the candidate node with the largest capacitance value is greater than or equal to the second preset capacitance value, it indicates that the touch point was touched by the user, and therefore the suppression processing condition is not met. If the capacitance value of the candidate node with the largest capacitance value is less than the second preset capacitance value, then the touch point is determined to be a false trigger, and thus the suppression processing condition is met.

[0062] For example, such as Figure 6 As shown, Figure 6 The screen capacitance data shown is the capacitance data detected when water or other liquids are present. Figure 6 The maximum capacitance value is 125 (marked by the dashed box), while the maximum capacitance value can exceed 600 or 700 when a touch point is generated by the user's touch. Therefore, by comparison, it can be found that there is a significant difference in the maximum capacitance value between the screen capacitance data detected by the user's touch and the screen capacitance data detected by the action of liquids such as water.

[0063] In one approach, the candidate nodes include nodes whose capacitance value in the active area is greater than a second capacitance threshold; the suppression processing condition includes: the candidate nodes are irregularly shaped. The irregular shape can also be understood as a non-standard shape. Optionally, the shape formed by the candidate nodes can be understood as the shape formed by connecting the preset positions of the nodes in the candidate nodes. Optionally, the shape formed by the candidate nodes can be understood as the smallest bounding shape corresponding to the subsequent nodes. In this approach, if the candidate nodes are regular in shape (e.g., rectangle, circle, ellipse, etc.), then the suppression processing condition is determined not to be met, meaning the touch point was detected due to the user's touch operation. If the candidate nodes are irregularly shaped, then the touch point is determined to be a false detection, and thus the suppression processing condition is met.

[0064] For example, such as Figure 7 As shown, if the second capacitance threshold is 20, then based on Figure 7 The candidate nodes determined by the capacitance data can include nodes with capacitance values ​​of 125, 48, and 55. In this case, the shape formed by the candidate nodes can be... Figure 7The irregular shape indicated by the dotted line is an irregular shape.

[0065] In one approach, the candidate nodes include all nodes within the effective region; correspondingly, the suppression processing condition includes: the number of candidate nodes is less than a second quantity threshold. In this approach, if the number of candidate nodes is detected to be greater than or equal to the second quantity threshold, it is determined that the suppression processing condition is not met.

[0066] This embodiment provides a touch processing method that, upon detecting a touch point, first checks whether the touch point meets the suppression processing conditions based on the first and second candidate nodes corresponding to the touch point. Only if the suppression processing conditions are met is suppression processing performed on the touch point; otherwise, no suppression processing is performed, thereby improving the accuracy of touch processing. Furthermore, in this embodiment, there can be multiple implementations for the candidate nodes, and each candidate node in different implementations is configured with its own corresponding suppression processing conditions, thereby enhancing the flexibility and diversity of the touch processing method.

[0067] Please see Figure 8 This application provides a touch processing method applied to electronic devices, the method comprising:

[0068] S310: In response to detecting a touch point, detect whether the touch point meets a preset judgment condition.

[0069] The preset judgment conditions include at least one of the following conditions: the touch point is the first touch point detected during the current touch process; the touch point is located in the edge area of ​​the screen.

[0070] The current touch process can be understood as the process from when an object (e.g., a touch-sensitive object) comes into contact with the screen until the object leaves the screen. During the current touch process, because the object remains in contact with the screen, and the electronic device detects touch points at a certain frequency, with each detection generating a capacitance data frame, the first detected touch point during the current touch process can be understood as the touch point detected in the first capacitance data frame after the start of the current touch.

[0071] It should be noted that, in this embodiment, the screen can be divided into edge regions and non-edge regions. The edge region can be understood as the area relatively closer to the side of the screen, while the non-edge region can be understood as the area relatively closer to the center of the screen. For example, the screen may include a top edge, a bottom edge, a left edge, and a right edge. In this case, the edge regions of the screen may include the edge regions near the top edge, the edge regions near the bottom edge, the edge regions near the left edge, and the edge regions near the right edge.

[0072] In one approach, regions whose distance from the side edge (top, bottom, left, or right edge) is less than a first distance threshold can be defined as edge regions. Optionally, regions whose distance from the bottom edge is less than the first distance threshold can be defined as the bottom of the screen. For example, when the first distance threshold is h, the defined edge regions and non-edge regions can be as follows: Figure 9 As shown. Among them, Figure 9 The shaded areas represent the non-edge regions of the screen.

[0073] One approach is to define the edge region as the area with a distance less than a first distance threshold from the side edge, as well as multiple corner regions of the screen. These multiple corner regions include the top-left corner, top-right corner, bottom-left corner, and bottom-right corner. For example, ... Figure 10 As shown, in Figure 10 In the scenario shown, the edge area of ​​the electronic device can be divided into multiple side edge areas and multiple corner areas. The multiple side edge areas include the top edge area, the bottom edge area, the left edge area, and the right edge area.

[0074] The top-left corner region can be understood as the intersection of the regions whose distance to the left side is less than the second distance threshold and the regions whose distance to the top side is less than the third distance threshold. The top-right corner region can be understood as the intersection of the regions whose distance to the right side is less than the second distance threshold and the regions whose distance to the top side is less than the third distance threshold. The bottom-left corner region can be understood as the intersection of the regions whose distance to the left side is less than the second distance threshold and the regions whose distance to the bottom side is less than the third distance threshold. The bottom-right corner region can be understood as the intersection of the regions whose distance to the right side is less than the second distance threshold and the regions whose distance to the bottom side is less than the third distance threshold.

[0075] S320: If the touch point meets the preset processing conditions, obtain the candidate node corresponding to the touch point, wherein the node in the screen is the position that can generate a change in capacitance value, and the candidate node is at least some of the nodes within the effective area of ​​the touch point.

[0076] If the touch point does not meet the preset processing conditions, the process will exit.

[0077] S330: If the candidate node detects that the touch point meets the suppression processing condition, then the touch point is suppressed.

[0078] This embodiment provides a touch processing method that, through the aforementioned approach, after a touch point is detected, it first checks whether the touch point meets the suppression processing conditions based on the candidate nodes corresponding to the touch point. Only if the suppression processing conditions are met will the touch point undergo suppression processing; otherwise, no suppression processing is performed, thereby improving the accuracy of touch processing. Furthermore, in this embodiment, after a touch point is detected, it is first checked whether the touch point meets preset judgment conditions. Only if the touch point meets the predicted judgment conditions will the corresponding candidate nodes be further obtained to detect whether the touch point meets the suppression processing conditions.

[0079] Next, we will proceed through... Figure 11 The flowchart shown illustrates a touch processing method provided in an embodiment of this application.

[0080] like Figure 11 The steps shown, where collecting screen capacitance data can be understood as obtaining the capacitance values ​​of various nodes on the screen. Detecting whether it is the first newly added point in the current touch can be understood as detecting whether the touch point is the first detected touch point during the current touch process. The nodes within the effective area can be understood as the second or third node determined from the candidate nodes mentioned above.

[0081] It should be noted that in this embodiment, the reason for detecting whether a touch point meets the suppression processing condition based on the candidate node corresponding to the touch point is to avoid incorrectly suppressing the touch point. The inventors discovered in their research that when an electronic device is frequently touched, the detected touch points are more likely to be actually triggered by the user. Therefore, as one approach, the touch processing method provided in this embodiment may include:

[0082] When the touch screen is in a busy state, in response to the detection of a touch point, a direct response is made to that touch point. Response to a touch point can be understood as either directly reporting the touch point or directly executing the control operation corresponding to the touch point. When the touch screen is in an idle state, in response to the detection of a touch point, a candidate node corresponding to the touch point is obtained. If the touch point meets the suppression processing conditions based on the candidate node, then suppression processing is performed on the touch point.

[0083] It should be noted that the "touch busy" state can be understood as a state with a high touch frequency, while the "touch idle" state can be understood as a state with a relatively low touch frequency.

[0084] In the embodiments of this application, there are multiple ways to determine whether the current state is a busy touch state or an idle touch state.

[0085] One method is to determine the status based on the number of touch points detected within a preset time period. If the number of touch points detected within the preset time period is greater than a preset touch point number threshold, it is determined to be in a busy touch state. If the number of touch points detected within the preset time period is less than or equal to the preset touch point number threshold, it is determined to be in a touch idle state.

[0086] In this embodiment of the application, time can be divided into touch idle periods and touch busy periods based on the operating status of the electronic device. Touch idle periods can be understood as periods when the electronic device receives relatively few touches, while touch busy periods can be understood as periods when the electronic device receives relatively many touches.

[0087] In this embodiment of the application, the touch idle time period and touch busy time period can be divided according to the historical operation data of the electronic device.

[0088] One approach is to divide the touch idle period and the touch busy period based on the number of touch points detected by the electronic device.

[0089] Optionally, multiple time periods can be pre-defined, and the number of touch points detected within each time period can be counted. Based on the number of touch points detected in each time period, each time period can be classified as a touch idle period or a touch busy period. For example, a time period where the number of detected touch points is less than a first touch point threshold can be defined as a touch idle period, and a time period where the number of running programs is not less than the first touch point threshold can be defined as a touch busy period. The length of each pre-defined time period can vary. For example, each time period can be ten minutes, one hour, or even two or three hours.

[0090] Please see Figure 12 This application provides a touch processing device 400, the device 400 comprising:

[0091] The node acquisition unit 410 is used to acquire candidate nodes corresponding to the touch point in response to the detection of the touch point, wherein the nodes in the screen are positions that can generate changes in capacitance value, and the candidate nodes are at least some nodes within the effective area of ​​the touch point.

[0092] The touch processing unit 420 is used to suppress the touch point if the touch point is detected to meet the suppression processing conditions based on the candidate node.

[0093] In one approach, the candidate node includes a second node, where the first node is the node with the largest capacitance value among the nodes included in the effective area, and the second node includes nodes adjacent to the first node whose capacitance value is greater than a first capacitance threshold. In this approach, the touch processing unit 420 is specifically configured to perform suppression processing on the touch point if the second node detects that the touch point meets the suppression processing condition.

[0094] In one approach, the node acquisition unit 410 is specifically used to detect whether the touch point meets a preset judgment condition in response to the detection of a touch point; if the touch point meets the preset processing condition, then acquire the candidate node corresponding to the touch point. The preset judgment condition includes at least one of the following conditions: the touch point is the first touch point detected during the current touch process; the touch point is located in the edge area of ​​the screen.

[0095] This embodiment provides a touch processing device, which enables the following to improve the accuracy of touch processing: after a touch point is detected, the device first checks whether the touch point meets the suppression processing conditions based on the candidate nodes corresponding to the touch point. If the suppression processing conditions are met, the touch point will be suppressed; otherwise, no suppression processing will be performed.

[0096] It should be noted that the device embodiments in this application correspond to the aforementioned method embodiments. The specific implementation principles of each unit in the device embodiments are similar to those in the aforementioned method embodiments. The specific content in the device embodiments can be found in the method embodiments, but will not be repeated in the device embodiments.

[0097] The following will combine Figure 13 This application describes an electronic device.

[0098] Please see Figure 13 Based on the aforementioned touch processing method and apparatus, this application embodiment also provides an electronic device 1000 capable of executing the aforementioned touch processing method. The electronic device 1000 includes one or more (only one shown in the figure) processors 105, a memory 104, an audio playback module 106, and an audio acquisition device 108 coupled together. The memory 104 stores programs capable of executing the contents of the aforementioned embodiments, and the processor 105 can execute the programs stored in the memory 104.

[0099] The processor 105 may include one or more processing cores. The processor 105 connects to various parts within the electronic device 1000 using various interfaces and lines, and performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 104, and by calling data stored in the memory 104. Optionally, the processor 105 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 105 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 105 and may be implemented separately using a communication chip.

[0100] The memory 104 may include random access memory (RAM) or read-only memory (ROM). The memory 104 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 104 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), and instructions for implementing the various method embodiments described below.

[0101] Furthermore, in addition to the aforementioned devices, the electronic device 1000 may also include a network module 110, a sensor module 112, a touch screen system 114, and a touch-enabled screen.

[0102] The network module 110 is used to enable information interaction between the electronic device 1000 and other devices. For example, it can establish connections with other audio playback devices or other electronic devices and interact with information based on the established connections. As one approach, the network module 110 of the electronic device 1000 is a radio frequency (RF) module. This RF module is used to receive and transmit electromagnetic waves, realizing the mutual conversion between electromagnetic waves and electrical signals, thereby enabling communication with communication networks or other devices. The RF module may include various existing circuit elements used to perform these functions, such as antennas, RF transceivers, digital signal processors, encryption / decryption chips, SIM cards, memory, etc. For example, this RF module can interact with external devices through transmitted or received electromagnetic waves.

[0103] Sensor module 112 may include at least one sensor. Specifically, sensor module 112 may include, but is not limited to, pressure sensors, motion sensors, acceleration sensors, and other sensors.

[0104] The pressure sensor is a sensor that detects pressure generated by pressing on the electronic device 1000. That is, the pressure sensor detects pressure generated by contact or pressing between the user and the electronic device 1000, such as pressure generated by contact or pressing between the user's ear and the electronic device 1000. Therefore, the pressure sensor can be used to determine whether contact or pressing has occurred between the user and the electronic device 1000, and the magnitude of the pressure.

[0105] The accelerometer can detect the magnitude of acceleration in various directions (generally three axes), and when stationary, it can detect the magnitude and direction of gravity. It can be used for applications such as identifying the posture of the electronic device 1000 (e.g., screen orientation switching, related games, magnetometer posture calibration), and vibration recognition functions (e.g., pedometer, tapping). Additionally, the electronic device 1000 can also be equipped with other sensors such as a gyroscope, barometer, hygrometer, and thermometer, which will not be elaborated upon here.

[0106] The touchscreen system 114 is used for displaying content and responding to touch operations performed by the user. For example, the touchscreen system can detect multi-touch operations. The touchscreen system 114 communicates with the processor 105 via SPI (Serial Peripheral interface). Alternatively, the touchscreen system 114 can be understood as the aforementioned touch chip. The touch processing method provided in this embodiment can be executed by either the processor 105 or the touchscreen system 114.

[0107] The audio acquisition device 108 is used to acquire audio signals. Optionally, the audio acquisition device 108 includes multiple audio acquisition devices, which may be microphones.

[0108] Please refer to Figure 14 This diagram illustrates a structural block diagram of a computer-readable storage medium provided in an embodiment of this application. The computer-readable medium 1100 stores program code that can be called by a processor to execute the methods described in the above method embodiments.

[0109] The computer-readable storage medium 1100 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 1100 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 1100 has storage space for program code 1110 that performs any of the method steps described above. This program code can be read from or written to one or more computer program products. The program code 1110 may, for example, be compressed in a suitable form.

[0110] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0111] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0112] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the function involved, as will be understood by those skilled in the art to which embodiments of this application pertain.

[0113] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus or device (such as a computer-based system, a processor-included system or other system that can fetch and execute instructions from, an instruction execution system, apparatus or device).

[0114] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0115] In summary, the touch processing method, apparatus, and electronic device provided in this application, in response to detecting a touch point, can acquire candidate nodes corresponding to the touch point, wherein the candidate nodes are at least a portion of the nodes within the effective area of ​​the touch point, and if the touch point meets the suppression processing condition based on the candidate nodes, then the touch point is suppressed. Thus, by the above method, after a touch point is detected, the system first checks whether the touch point meets the suppression processing condition based on the candidate nodes corresponding to the touch point. Only if the suppression processing condition is met will the touch point be suppressed; otherwise, no suppression processing is performed, thereby improving the accuracy of touch processing.

[0116] Furthermore, in this embodiment, the determination of whether the candidate node detects a touch point that meets the suppression processing condition can be understood as a judgment based on finger shape. Therefore, when the finger characteristics are relatively obvious (i.e., the candidate node detects that the suppression processing condition is not met), the suppression condition for the touch point (e.g., a touch point located in the bottom area of ​​the screen) is not performed, thus solving the problem that multiple points are intercepted at the beginning of the bottom swipe gesture. This allows the touch chip to report the touch point as soon as the bottom swipe gesture begins, optimizing the problem of high probability failure of the swipe gesture and thus improving the touch experience.

[0117] Furthermore, in this embodiment, the bottom suppression processing can be optimized for the first newly added point in waterproof mode. When the finger features are relatively obvious, i.e., the number of touch nodes (e.g., the aforementioned second or third node) is greater than or equal to 8, the bottom touch point suppression processing is not performed. This effectively avoids the problem that when the user triggers the swipe gesture from the bottom of the screen, the first one or more touch points detected at the beginning of the swipe gesture are directly suppressed, causing the bottom swipe operation to be unresponsive.

[0118] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical feature diagrams. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A touch processing method, characterized in that, The method includes: In response to the detection of a touch point, candidate nodes corresponding to the touch point are obtained, wherein the nodes on the screen are positions that can generate changes in capacitance value, and the candidate nodes are at least some nodes within the effective area of ​​the touch point; If the candidate node detects that the touch point meets the suppression processing conditions, then the touch point is suppressed.

2. The method according to claim 1, characterized in that, The candidate node includes a second node, which includes nodes whose capacitance value is greater than a first capacitance threshold among the nodes adjacent to the first node, and the first node is the node with the largest capacitance value among the nodes included in the effective area. If the candidate node detects that the touch point meets the suppression processing condition, then the touch point is suppressed, including: If the second node detects that the touch point meets the suppression processing conditions, then the touch point is suppressed.

3. The method according to claim 2, characterized in that, The suppression processing conditions include: the number of the second nodes is less than a first preset number threshold; or, the ratio of the capacitance value of the first node to the average capacitance value of the second node satisfies a first preset ratio condition.

4. The method according to claim 3, characterized in that, The first preset quantity threshold is determined based on the current touch scenario.

5. The method according to claim 1, characterized in that, The candidate nodes include all nodes in the effective region; the suppression processing condition includes: the sum of the capacitance values ​​of the candidate nodes is less than a first preset capacitance value.

6. The method according to claim 1, characterized in that, The suppression processing condition includes: the capacitance value of the node with the largest capacitance value among the candidate nodes is less than the second preset capacitance value.

7. The method according to claim 1, characterized in that, The candidate nodes include nodes in the active region whose capacitance value is greater than the second capacitance threshold; The suppression processing conditions include: the candidate nodes are irregularly shaped.

8. The method according to any one of claims 1-7, characterized in that, The step of obtaining candidate nodes corresponding to the touch point in response to the detection of a touch point includes: In response to the detection of a touch point, it is determined whether the touch point meets a preset judgment condition; If the touch point meets the preset processing conditions, then the candidate node corresponding to the touch point is obtained; The preset judgment conditions include at least one of the following conditions: the touch point is the first touch point detected during the current touch process; the touch point is located in the edge area of ​​the screen.

9. A touch processing device, characterized in that, The device includes: A node acquisition unit is used to acquire candidate nodes corresponding to the touch point in response to the detection of the touch point, wherein the nodes on the screen are positions that can generate changes in capacitance value, and the candidate nodes are at least some nodes within the effective area of ​​the touch point; A touch processing unit is configured to perform suppression processing on the touch point if the touch point is detected to meet the suppression processing conditions based on the candidate node.

10. A touch chip, characterized in that, It includes one or more processors and memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs being configured to perform the method of any one of claims 1-8.

11. An electronic device, characterized in that, It includes a screen, one or more processors, and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs being configured to perform the method of any one of claims 1-8.

12. A computer-readable storage medium storing processor-executable program code, characterized in that, The computer-readable storage medium includes stored program code, wherein the method of any one of claims 1-8 is executed when the program code is run.