Search

CN-121996103-A - Touch processing method, touch processing device, electronic equipment and storage medium

CN121996103ACN 121996103 ACN121996103 ACN 121996103ACN-121996103-A

Abstract

The application discloses a touch processing method, a touch processing device, electronic equipment and a storage medium, and relates to the technical field of electronic equipment. The method is applied to an electronic device, and the electronic device comprises a capacitive touch screen. And responding to a touch event of the capacitive touch screen, acquiring a touch position corresponding to the touch event, and if the capacitive touch screen is determined to have liquid at the touch position, increasing a large-area trigger threshold of the touch screen, wherein the large-area trigger threshold is used for indicating to inhibit the touch event of which the touch area reaches the large-area trigger threshold, and determining a processing mode of the touch event based on the touch event and the increased large-area trigger threshold, wherein the processing mode comprises reporting the touch event or not reporting the touch event. According to the application, when the liquid exists on the capacitive touch screen, the large-area trigger threshold is increased, so that the problem that a touch event in a liquid scene exists on the capacitive touch screen can not be triggered can be solved, and the use experience of a user is improved.

Inventors

  • WANG TAO

Assignees

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

Dates

Publication Date
20260508
Application Date
20241105

Claims (12)

  1. 1. A touch processing method, applied to an electronic device, the electronic device including a capacitive touch screen, the method comprising: Responding to a touch event aiming at the capacitive touch screen, and acquiring a touch position corresponding to the touch event; if the capacitive touch screen is determined to have liquid at the touch position, a large-area trigger threshold of the capacitive touch screen is increased, wherein the large-area trigger threshold is used for indicating to inhibit a touch event of which the touch area reaches the large-area trigger threshold; and determining a processing mode of the touch event based on the touch event and the increased large-area trigger threshold, wherein the processing mode comprises the step of reporting the touch event or not reporting the touch event.
  2. 2. The method of claim 1, wherein the determining a manner of handling the touch event based on the touch event and the increased large area trigger threshold comprises: Determining a touch area corresponding to the touch event; if the touch area corresponding to the touch event does not reach the increased large-area trigger threshold, reporting the touch event, or And if the touch area corresponding to the touch event reaches the increased large-area trigger threshold, not reporting the touch event.
  3. 3. The method of claim 1, wherein the electronic device further comprises a fingerprint recognition module disposed under the capacitive touch screen, the increasing the large area trigger threshold of the capacitive touch screen if it is determined that the capacitive touch screen has liquid at the touch location comprises: If the capacitive touch screen is determined to have liquid at the touch position, determining a mode in which the electronic equipment is located; And if the mode of the electronic equipment is a fingerprint mode, increasing a large-area trigger threshold of the capacitive touch screen, wherein the capacitive touch screen is in a screen-off state in the fingerprint mode and the fingerprint identification module is in an on state in the fingerprint mode.
  4. 4. A method according to claim 3, characterized in that the method further comprises: and if the mode of the electronic equipment is the fingerprint mode, closing the large-area suppression function of the capacitive touch screen so as to cancel the suppression of the touch event of which the touch area reaches a large-area trigger threshold.
  5. 5. The method of claim 3, wherein increasing the large area trigger threshold of the capacitive touch screen if the mode in which the electronic device is located is a fingerprint mode comprises: and if the mode of the electronic equipment is the fingerprint mode and the fingerprint recognition module is an ultrasonic fingerprint recognition module, increasing a large-area trigger threshold of the capacitive touch screen.
  6. 6. The method of claim 1, wherein increasing the large area trigger threshold of the capacitive touch screen if it is determined that liquid is present on the touch location of the capacitive touch screen comprises: if the capacitive touch screen is determined to have liquid at the touch position, determining display content corresponding to the touch position of the capacitive touch screen; And if the display content comprises an operable control, increasing a large-area trigger threshold of the capacitive touch screen.
  7. 7. The method of claim 6, wherein increasing the large area trigger threshold of the capacitive touch screen if the display content includes an operable control comprises: if the display content comprises the operable control, determining a touch probability corresponding to the operable control; and if the touched probability reaches a probability threshold, increasing a large-area trigger threshold of the capacitive touch screen.
  8. 8. The method of any of claims 1-7, wherein increasing the large area trigger threshold of the capacitive touch screen if it is determined that liquid is present on the touch location of the capacitive touch screen comprises: Acquiring capacitance data of the capacitive touch screen in a touch area corresponding to the touch position; and if the capacitive touch screen is determined to have liquid at the touch position based on the capacitance data, increasing a large-area trigger threshold of the capacitive touch screen.
  9. 9. The method of claim 8, further comprising, prior to the increasing the large area trigger threshold of the capacitive touch screen if it is determined based on the capacitance data that liquid is present on the touch location by the capacitive touch screen: If it is determined that the capacitance data of the touch nodes included in the same receiving flat cable in the touch area has positive and negative values, determining that the capacitive touch screen has liquid at the touch position, and/or And if the capacitance data of the touch nodes included in the same driving flat cable in the touch area are determined to have positive values and negative values, determining that liquid exists in the touch position of the capacitive touch screen.
  10. 10. A touch processing apparatus, characterized by being applied to an electronic device including a capacitive touch screen, the apparatus comprising: the touch position acquisition module is used for responding to a touch event aiming at the capacitive touch screen and acquiring a touch position corresponding to the touch event; the threshold value increasing module is used for increasing a large-area trigger threshold value of the capacitive touch screen if the capacitive touch screen is determined to have liquid at the touch position, wherein the large-area trigger threshold value is used for indicating to inhibit a touch event of which the touch area reaches the large-area trigger threshold value; And the processing mode determining module is used for determining a processing mode of the touch event based on the touch event and the increased large-area trigger threshold, wherein the processing mode comprises the step of reporting the touch event or not reporting the touch event.
  11. 11. An electronic device comprising a memory and a processor, the memory coupled to the processor, the memory storing instructions that when executed by the processor perform the method of any of claims 1-9.
  12. 12. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a program code, which is callable by a processor for executing the method according to any one of claims 1-9.

Description

Touch processing method, touch processing device, electronic equipment and storage medium Technical Field The present application relates to the technical field of electronic devices, and in particular, to a touch processing method, a touch processing device, an electronic device, and a storage medium. Background With the rapid development of electronic equipment technology, the sensitivity and shock resistance of a touch screen of the electronic equipment are improved obviously, but when liquid (such as rainwater) exists on the surface of the touch screen of the electronic equipment or a user touches the touch screen by using a wet finger, the touch screen is often mostly a capacitive touch screen, and the liquid can influence the conductive contact between the user finger and a capacitive detection element on the surface of the capacitive touch screen on the surface of the touch screen, so that the operation sensitivity of the capacitive touch screen is reduced, and the use experience of the user is influenced. Disclosure of Invention In view of the above, the present application proposes a touch processing method, apparatus, electronic device, and storage medium to solve the above problems. In a first aspect, an embodiment of the present application provides a touch processing method, which is applied to an electronic device, where the electronic device includes a capacitive touch screen, and the method includes acquiring a touch position corresponding to a touch event of the capacitive touch screen in response to the touch event of the capacitive touch screen, if it is determined that the capacitive touch screen has liquid at the touch position, increasing a large-area triggering threshold of the capacitive touch screen, where the large-area triggering threshold is used to indicate that a touch event with a touch area reaching the large-area triggering threshold is suppressed, and determining a processing manner for the touch event based on the touch event and the increased large-area triggering threshold, where the processing manner includes reporting the touch event or not reporting the touch event. The embodiment of the application provides a touch processing device which is applied to electronic equipment, wherein the electronic equipment comprises a capacitive touch screen, a touch position acquisition module used for responding to a touch event of the capacitive touch screen and acquiring a touch position corresponding to the touch event, a threshold value increasing module used for increasing a large-area trigger threshold value of the capacitive touch screen if the capacitive touch screen is determined to have liquid at the touch position, wherein the large-area trigger threshold value is used for indicating to inhibit the touch event of which the touch area reaches the large-area trigger threshold value, and a processing mode determining module used for determining a processing mode of the touch event based on the touch event and the increased large-area trigger threshold value, wherein the processing mode comprises the step of reporting the touch event or not reporting the touch event. In a third aspect, an embodiment of the present application provides an electronic device comprising a memory and a processor, the memory coupled to the processor, the memory storing instructions that when executed by the processor perform the above-described method. In a fourth aspect, embodiments of the present application provide a computer readable storage medium having program code stored therein, the program code being callable by a processor to perform the above method. According to the touch processing method, the touch processing device, the electronic equipment and the storage medium, the touch position corresponding to the touch event is obtained in response to the touch event of the capacitive touch screen, if the capacitive touch screen is determined to have liquid at the touch position, the large-area trigger threshold of the touch screen is increased, wherein the large-area trigger threshold is used for indicating to inhibit the touch event of which the touch area reaches the large-area trigger threshold, the processing mode of the touch event is determined based on the touch event and the increased large-area trigger threshold, and the processing mode comprises the step of reporting the touch event or not reporting the touch event, so that the problem that the touch event cannot be triggered in a liquid scene on the capacitive touch screen can be solved by increasing the large-area trigger threshold when the liquid exists on the capacitive touch screen is determined, and the use experience of a user 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