Search

CN-121996096-A - Touch recognition method, touch recognition device, electronic equipment and computer readable medium

CN121996096ACN 121996096 ACN121996096 ACN 121996096ACN-121996096-A

Abstract

The application discloses a touch identification method, a device, electronic equipment and a computer readable medium, which belong to the technical field of terminals, and the method comprises the steps of collecting sensing data of a plurality of sensing points of a current frame of a touch screen, executing liquid adhesion detection on the touch screen based on the sensing data of the sensing points, determining touch positions based on positions corresponding to the sensing points if the total number of the sensing points is smaller than a first threshold value under the condition that the touch screen is in a water drop adhesion state, and determining touch positions based on positions corresponding to the sensing points if the total number of the sensing points is not in the water drop adhesion state under the condition that the total number of the sensing points is smaller than a second threshold value under the condition that the total number of the sensing points is not in the water drop adhesion state, wherein the first threshold value is larger than the second threshold value, expanding the area of a touch screen inductable area, and reducing the influence of liquid on touch to a certain extent, so that the sensitivity of the touch screen is improved.

Inventors

  • WANG TAO

Assignees

  • OPPO广东移动通信有限公司

Dates

Publication Date
20260508
Application Date
20241108

Claims (10)

  1. 1. A touch recognition method, applied to an electronic device having a touch screen, the method comprising: Acquiring sensing data of a plurality of sensing points of a current frame of the touch screen; performing liquid attachment detection on the touch screen based on the sensing data of the plurality of sensing points; when the liquid adhesion detection result is that the touch screen is in a water drop adhesion state, if the total number of the sensing points is smaller than a first threshold value, determining touch positions based on positions corresponding to a plurality of sensing points; And under the condition that the liquid adhesion detection result is that the touch screen is not in a water drop adhesion state, if the total number of the sensing points is smaller than a second threshold value, determining touch positions based on positions corresponding to a plurality of sensing points, wherein the first threshold value is larger than the second threshold value.
  2. 2. The method as recited in claim 1, further comprising: and when the liquid adhesion detection result is that the touch screen is in the water drop adhesion state, judging that the touch position is not detected if the total number of the sensing points is larger than or equal to a first threshold value.
  3. 3. The method as recited in claim 1, further comprising: And if the total number of the sensing points is greater than or equal to a second threshold value, judging that the touch position is not detected.
  4. 4. The method of claim 1, wherein the sensing data comprises mutual capacitance data, the performing liquid attachment detection on the touch screen based on sensing data of a plurality of the sensing points comprising: Acquiring a difference value between the mutual capacitance data corresponding to each sensing point and a mutual capacitance reference value as evaluation data of each sensing point; and performing liquid adhesion detection on the touch screen based on a plurality of the evaluation data.
  5. 5. The method of claim 4, wherein the performing liquid attachment detection on the touch screen based on a plurality of the evaluation data comprises: searching the number of the evaluation data smaller than a third threshold value from the plurality of the evaluation data as a first target value; and if the first target value is larger than a first target threshold value, judging that the touch screen is in a water drop attaching state, otherwise, judging that the touch screen is not in the water drop attaching state.
  6. 6. The method of claim 5, wherein if the first target value is greater than a first target threshold, determining that the touch screen is in a water droplet landing state, and if not, determining that the current frame is not in a water droplet landing state, comprises: Searching the number of the evaluation data which is larger than a fourth threshold value from the plurality of the evaluation data as a second target value; if the first target value is greater than a first target threshold and the second target value is greater than a second target threshold, the touch screen is judged to be in a water drop attaching state, otherwise, the current frame is judged not to be in the water drop attaching state.
  7. 7. The method of claim 1, wherein the performing liquid attachment detection on the touch screen based on the sensing data of the plurality of sensing points comprises: determining a sensing area of the current frame based on sensing data of a plurality of sensing points; Under the condition that the shape of the sensing area is matched with a preset shape, if the total number of sensing points is smaller than a second threshold value, judging positions corresponding to a plurality of sensing points as touch positions; and under the condition that the shape of the sensing area is not matched with the preset shape, performing liquid attachment detection on the touch screen based on sensing data of a plurality of sensing points.
  8. 8. A touch recognition apparatus, for application to an electronic device having a touch screen, the apparatus comprising: the acquisition unit is used for acquiring sensing data of a plurality of sensing points of the current frame of the touch screen; A determining unit configured to perform liquid attachment detection on the touch screen based on sensing data of a plurality of the sensing points; The first judging unit is used for determining touch positions based on positions corresponding to a plurality of sensing points if the total number of the sensing points is smaller than a first threshold value under the condition that the liquid attachment detection result indicates that the touch screen is in a water drop attachment state; And the second judging unit is used for determining touch positions based on positions corresponding to a plurality of sensing points if the total number of the sensing points is smaller than a second threshold value under the condition that the liquid adhesion detection result is that the touch screen is not in a water drop adhesion state, wherein the first threshold value is larger than the second threshold value.
  9. 9. An electronic device, comprising: One or more processors; A memory; One or more applications, wherein the one or more applications are stored in the memory, the one or more applications configured to be executed by the one or more processors, the one or more applications configured to perform the method of any of claims 1-7.
  10. 10. 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-7.

Description

Touch recognition method, touch recognition device, electronic equipment and computer readable medium Technical Field The present application relates to the field of terminal technologies, and in particular, to a touch recognition method, a touch recognition device, an electronic device, and a computer readable medium. Background The capacitive touch screen is a touch screen based on capacitive sensing and is widely applied to equipment such as smart phones, tablet computers, notebook computers and the like. The key point is to detect the touch position by using human body current induction. The capacitive touch screen is covered on the glass surface by a layer of transparent conductive material, when a finger touches the screen, the local electric field distribution of the touch screen is changed, and the touch screen controller determines the coordinates of the touch point by detecting the changes. Capacitive touch screens are mainly classified into two types, self-capacitance and mutual capacitance. The self-capacitance is sensed through one conductive layer, is suitable for simple touch application, and the mutual capacitance consists of two mutually perpendicular conductive layers, supports higher-precision touch and multi-point touch, and is more applied to intelligent touch equipment. The method comprises the steps of calculating coordinates based on collected capacitance data, reporting the calculated coordinates, and determining a touch position through a touch algorithm, wherein touch failure easily occurs when a water drop or a wet hand touches the touch screen, so that bad experience is brought to a user. Disclosure of Invention The application provides a touch recognition method, a touch recognition device, electronic equipment and a computer readable medium, so as to improve the defects. In a first aspect, the application provides a touch identification method applied to electronic equipment with a touch screen, the method comprises the steps of collecting sensing data of a plurality of sensing points of a current frame of the touch screen, executing liquid adhesion detection on the touch screen based on the sensing data of the sensing points, determining touch positions based on positions corresponding to the sensing points when the total number of the sensing points is smaller than a first threshold value under the condition that the touch screen is in a water drop adhesion state, and determining touch positions based on the positions corresponding to the sensing points when the total number of the sensing points is not in the water drop adhesion state under the condition that the liquid adhesion detection result is not in the water drop adhesion state. The application further provides a touch recognition device which is applied to electronic equipment with a touch screen, and the device comprises an acquisition unit, a determination unit, a first judgment unit and a second judgment unit, wherein the acquisition unit is used for acquiring sensing data of a plurality of sensing points of a current frame of the touch screen, the determination unit is used for executing liquid adhesion detection on the touch screen based on the sensing data of the sensing points, the first judgment unit is used for determining touch positions based on positions corresponding to the sensing points if the total number of the sensing points is smaller than a first threshold value when the touch screen is in a water drop adhesion state, and the second judgment unit is used for determining touch positions based on positions corresponding to the sensing points when the total number of the sensing points is smaller than a second threshold value when the liquid adhesion detection result is that the touch screen is not in the water drop adhesion state, and the first threshold value is larger than the second threshold value. In a third aspect, the application also provides an electronic device comprising one or more processors, memory, one or more applications, wherein the one or more applications are stored in the memory, the one or more applications are configured to be executed by the one or more processors, the one or more applications are configured to perform the above-described method. In a fourth aspect, the present application also provides a computer readable storage medium storing program code executable by a processor, the program code when executed by the processor causing the processor to perform the above method. The application provides a touch identification method, which comprises the steps of firstly collecting sensing data of a plurality of sensing points of a current frame of a touch screen, secondly executing liquid attachment detection on the touch screen based on the sensing data of the sensing points, then determining touch positions based on positions corresponding to the sensing points if the total number of the sensing points is smaller than a first threshold value when the liquid attachment d