Search

CN-121996104-A - Touch processing method and device and electronic equipment

CN121996104ACN 121996104 ACN121996104 ACN 121996104ACN-121996104-A

Abstract

The embodiment of the application discloses a touch processing method and device and electronic equipment. In the method, after a touch point is detected, candidate nodes corresponding to the touch point can be obtained, wherein the candidate nodes are at least partial nodes in an action area of the touch point, and if the touch is detected to meet a suppression processing condition based on the candidate nodes, the touch point is subjected to suppression processing. Therefore, after the touch point is detected, whether the touch point meets the inhibition processing condition or not is detected based on the candidate node corresponding to the touch point, and if the touch point is detected to meet the inhibition processing condition, the inhibition processing is performed on the touch point, otherwise, the inhibition processing is not performed, so that the accuracy of the touch processing is improved.

Inventors

  • WANG TAO

Assignees

  • 深圳市欢太科技有限公司

Dates

Publication Date
20260508
Application Date
20241105

Claims (12)

  1. 1. A touch processing method, the method comprising: Responding to a touch point, and acquiring candidate nodes corresponding to the touch point, wherein the nodes in a screen are positions capable of generating capacitance value changes, and the candidate nodes are at least partial nodes in an action area of the touch point; And if the candidate node detects that the touch point meets the inhibition processing condition, carrying out inhibition processing on the touch point.
  2. 2. The method of claim 1, wherein the candidate nodes include a second node, the second node including a node having a capacitance value greater than a first capacitance threshold value among nodes adjacent to a first node, the first node being a node having a largest capacitance value among nodes included in the active area; and if the candidate node detects that the touch point meets the inhibition processing condition, performing inhibition processing on the touch point, including: and if the second node detects that the touch point meets the inhibition processing condition, carrying out inhibition processing on the touch point.
  3. 3. The method of claim 2, wherein the suppression processing condition includes the number of the second nodes being 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 satisfying a first preset scaling condition.
  4. 4. The method of claim 3, wherein the first preset number threshold is determined based on a current touch scene.
  5. 5. The method of claim 1, wherein the candidate nodes include all nodes in the region of action and the suppression processing condition includes a sum of capacitance values of the candidate nodes being less than a first preset capacitance value.
  6. 6. The method of claim 1, wherein the suppression processing condition includes a capacitance value of a node having a largest capacitance value among the candidate nodes being smaller than a second preset capacitance value.
  7. 7. The method of claim 1, wherein the candidate nodes include nodes having capacitance values in the region of action greater than a second capacitance threshold, and wherein the suppression processing condition includes candidate node formation shapes being irregular shapes.
  8. 8. The method according to any one of claims 1-7, wherein the obtaining, in response to detecting a touch point, a candidate node corresponding to the touch point includes: In response to detecting a touch point, detecting whether the touch point meets a preset judging condition; if the touch point meets the preset processing condition, acquiring a candidate node corresponding to the touch point; the preset judging conditions comprise at least one of the following conditions that the touch point is the first detected touch point in the secondary touch process, and the touch point is located in the edge area of the screen.
  9. 9. A touch processing device, the device comprising: The node acquisition unit is used for responding to the detection of the touch point and acquiring candidate nodes corresponding to the touch point, wherein the nodes in the screen are positions capable of generating capacitance value changes, and the candidate nodes are at least partial nodes in an action area of the touch point; and the touch processing unit is used for performing the inhibition processing on the touch point if the candidate node detects that the touch point meets the inhibition processing condition.
  10. 10. A touch chip comprising one or more processors and a memory, one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-8.
  11. 11. An electronic device comprising a screen, one or more processors, and a memory, one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-8.
  12. 12. A computer readable storage medium storing program code executable by a processor, characterized in that the computer readable storage medium comprises stored program code, wherein the method of any of claims 1-8 is performed when the program code is run.

Description

Touch processing method and device and electronic equipment Technical Field The present application relates to the field of terminal technologies, and in particular, to a touch processing method and apparatus, and an electronic device. Background With the development of technology, a user can control an electronic device by touching a screen of the electronic device. When the screen is touched, the electronic device can determine the action position of the touch, and then execute subsequent control operation according to the determined action position. However, in the related manner, there is also a problem that the touch control is not accurately processed. Disclosure of Invention In view of the above problems, the present application provides a touch processing method, a touch processing device, and an electronic device, so as to improve the above problems. In a first aspect, the application provides a touch processing method, which comprises the steps of responding to detection of a touch point, obtaining candidate nodes corresponding to the touch point, wherein the nodes in a screen are positions capable of generating capacitance value changes, the candidate nodes are at least partial nodes in an action area of the touch point, and if the touch point is detected to meet a suppression processing condition based on the candidate nodes, performing suppression processing on the touch point. The application provides a touch processing device, which comprises a node obtaining unit and a touch processing unit, wherein the node obtaining unit is used for obtaining candidate nodes corresponding to touch points in response to detection of the touch points, the nodes in a screen are positions capable of generating capacitance value changes, the candidate nodes are at least partial nodes in an action area of the touch points, and the touch processing unit is used for performing suppression processing on the touch points if the candidate nodes detect that the touch points meet the suppression processing conditions. In a third aspect, the application provides an electronic device comprising a screen, one or more processors and a memory, one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method described above. In a fourth aspect, the present application provides a computer readable storage medium storing program code executable by a processor, the computer readable storage medium comprising stored program code, wherein the method described above is performed when the program code is run. According to the touch processing method, the touch processing device and the electronic equipment, after the touch point is detected, candidate nodes corresponding to the touch point can be obtained, wherein the candidate nodes are at least partial nodes in an action area of the touch point, and if the touch is detected to meet the inhibition processing condition based on the candidate nodes, the inhibition processing is carried out on the touch point. Therefore, after the touch point is detected, whether the touch point meets the inhibition processing condition or not is detected based on the candidate node corresponding to the touch point, and if the touch point is detected to meet the inhibition processing condition, the inhibition processing is performed on the touch point, otherwise, the inhibition processing is not performed, so that the accuracy of the touch processing is improved. Drawings In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. Fig. 1 shows a flowchart of a touch processing method according to an embodiment of the present application; FIG. 2 is a schematic diagram of determining nodes through a transmit channel and a receive channel in an embodiment of the application; fig. 3 is a flowchart illustrating a touch processing method according to another embodiment of the application; FIG. 4 is a schematic diagram of screen capacitance data according to an embodiment of the present application; FIG. 5 is a schematic diagram of screen capacitance data according to an embodiment of the present application; FIG. 6 is a schematic diagram of screen capacitance data according to an embodiment of the present application; FIG. 7 shows a schematic view of an irregular shape in an embodiment of the present application; fig. 8 is a flowchart illustrating a touch processing method according to still another embodiment of the application; FIG. 9 is a schematic diagram of an edge location in an embodiment of the application; FIG. 10 shows