CN113608634A - Method and device for preventing touch screen from being touched mistakenly, electronic equipment and storage medium - Google Patents

Method and device for preventing touch screen from being touched mistakenly, electronic equipment and storage medium Download PDF

Info

Publication number
CN113608634A
CN113608634A CN202110929237.8A CN202110929237A CN113608634A CN 113608634 A CN113608634 A CN 113608634A CN 202110929237 A CN202110929237 A CN 202110929237A CN 113608634 A CN113608634 A CN 113608634A
Authority
CN
China
Prior art keywords
contact
touch
target
data
physical quantity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110929237.8A
Other languages
Chinese (zh)
Other versions
CN113608634B (en
Inventor
史元春
喻纯
古裔正
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CN202110929237.8A priority Critical patent/CN113608634B/en
Publication of CN113608634A publication Critical patent/CN113608634A/en
Application granted granted Critical
Publication of CN113608634B publication Critical patent/CN113608634B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • G06F3/04186Touch location disambiguation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2411Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on the proximity to a decision surface, e.g. support vector machines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Position Input By Displaying (AREA)

Abstract

The application provides a method and a device for preventing a touch screen from being touched mistakenly, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring first contact data of each contact in a touch event in real time, determining a target contact, wherein the target contact is a contact of which the contact time reaches a preset time or stops contacting within the preset time, and acquiring second contact data of the target contact according to the first contact data of the target contact and other contacts; generating a contact feature vector of the target contact according to the first contact data and the second contact data of the target contact, judging whether the target contact is invalid touch or not according to the contact feature vector, and if the target contact is invalid touch, not performing touch response on the target contact. According to the method, the first contact data and the second contact data are preset numerical values corresponding to physical quantities of the mistaken touch characteristics for representing the contacts, and multiple types of mistaken touch conditions can be accurately identified through the contact characteristic vectors.

Description

Method and device for preventing touch screen from being touched mistakenly, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of electronic information, and in particular, to a method and an apparatus for preventing a touch screen from being touched by mistake, an electronic device, and a storage medium.
Background
At present, electronic devices such as smart phones, tablet computers, intelligent interactive platforms and the like are all configured with touch screens, and users can conveniently and quickly use various functions of the electronic devices through touch control of the touch screens. At present, although an existing touch screen keyboard has certain anti-false touch capability, the anti-false touch capability is weak, and only simple false touch behaviors such as palm false touch, big fish false touch, edge false touch and the like can be prevented. Therefore, how to improve the anti-false touch capability of the touch screen becomes a problem to be solved urgently.
Disclosure of Invention
The application provides a method and a device for preventing a touch screen from being touched by mistake, electronic equipment and a storage medium, and aims to solve the problem of how to improve the capability of preventing the touch screen from being touched by mistake.
In order to achieve the above object, the present application provides the following technical solutions:
a method for preventing false touch of a touch screen comprises the following steps:
acquiring first contact data of each contact in a touch event in real time, wherein the contact is a contact point of a touch object and a touch screen;
acquiring a target contact, wherein the target contact is a contact of which the contact time reaches a preset time or stops contacting within the preset time;
acquiring second contact data of the target contact according to the first contact data of the target contact and other contacts; the first contact data and the second contact data are numerical values corresponding to preset physical quantities; the physical quantity is used for representing the false touch characteristic of the contact;
generating a contact feature vector of the target contact according to the first contact data and the second contact data of the target contact;
and judging whether the target contact is invalid touch according to the contact characteristic vector, and if so, not carrying out touch response on the target contact.
In the above method, optionally, the touch event includes typing in a touch area of the touch screen.
In the above method, optionally, the first contact data is a numerical value of each preset first physical quantity corresponding to each time point of the contact in the contact duration, where the first physical quantity at least includes: contact position, contact area, contact pressure, and capacitive contact shape parameters;
the second contact data includes: the numerical value of each preset second physical quantity corresponding to each time point of the target contact point in the contact duration, and the numerical value of each preset third physical quantity between the associated contact point and the target contact point;
the second physical quantity and the third physical quantity are physical quantities related to the first physical quantity, the related contacts include a first related contact and a second related contact, the first related contact is a first moment when the target contact is in contact with the touch screen and a first M contacts nearest to the target contact, and the second related contact is a first N contacts with the shortest time difference between the first moment when the target contact is in contact with the touch screen and the first moment when the target contact is in contact with the touch screen.
Optionally, the acquiring, according to the first contact data of the target contact and the other contacts, second contact data of the target contact includes:
for each second physical quantity, acquiring data corresponding to variables included in the numerical calculation rule from the first contact data of the target contact and the other contacts according to a numerical calculation rule preset to correspond to the second physical quantity, and calculating the acquired data according to the numerical calculation rule to obtain a numerical value corresponding to the second physical quantity;
determining each associated contact, acquiring data corresponding to variables included in the numerical calculation rule from the data of the target contact and the first contact of the associated contact according to a numerical calculation rule preset to correspond to each third physical quantity of the associated contact, and calculating the acquired data according to the numerical calculation rule to obtain a numerical value corresponding to the third physical quantity.
In the above method, optionally, the generating a contact feature vector of the target contact according to the first contact data and the second contact data of the target contact includes:
for each first physical quantity and each second physical quantity, carrying out data processing on numerical values of the first physical quantity and the second physical quantity corresponding to each time point according to a preset data processing rule to obtain I parameters representing the variation characteristics of the first physical quantity and J parameters representing the variation characteristics of the second physical quantity;
and taking the I parameters of each first physical quantity, the J parameters of each second physical quantity and the numerical values of the third physical quantities corresponding to the associated contact points as elements of the contact point feature vector.
Optionally, the determining, according to the contact feature vector, whether the target contact is an invalid touch includes:
inputting the contact feature vector of the target contact into a pre-trained false touch recognition model to obtain a touch result, wherein the touch result indicates whether the target contact is invalid;
and the training sample of the false touch recognition model is a contact point characteristic vector of the label carrying the touch result.
The above method, optionally, the acquiring the target contact includes:
and calculating the contact time of each contact in the touch event in real time, and taking the contact with the contact time reaching the preset time as the target contact, or taking the contact which stops contacting within the preset time as the target contact.
An apparatus for preventing a touch screen from being touched by mistake, comprising:
the touch control device comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring first contact data of each contact in a touch control event in real time, and the contact is a contact point of a touch control object and a touch screen;
the second acquisition unit is used for acquiring a target contact, wherein the target contact is a contact of which the contact time length reaches a preset time length or stops contacting within the preset time length;
a third obtaining unit, configured to obtain second contact data of the target contact according to the first contact data of the target contact and the first contact data of the other contacts; the first contact data and the second contact data are numerical values corresponding to the physical quantities; the physical quantity is a preset physical quantity for representing the false touch characteristic of the contact;
a generating unit, configured to generate a contact feature vector of the target contact according to the first contact data and the second contact data of the target contact;
and the judging unit is used for judging whether the target contact is invalid touch according to the contact characteristic vector, and if the target contact is invalid touch, the target contact is not subjected to touch response.
An electronic device, comprising: a processor and a memory for storing a program; the processor is used for running the program to realize the method for preventing the touch screen from being touched by mistake.
A storage medium, wherein the storage medium stores instructions that, when executed on a computer, cause the computer to perform any one of the above-mentioned methods for preventing a touch screen from being touched by mistake.
The method and the device obtain first contact data of each contact in a touch event in real time, determine a target contact, wherein the target contact is a contact of which the contact time length reaches a preset time length or stops contacting within the preset time length, and obtain second contact data of the target contact according to the first contact data of the target contact and other contacts; the first touch point data and the second touch point data are numerical values corresponding to the physical quantities, the physical quantities are preset physical quantities used for representing mistaken touch characteristics of the touch points, touch point characteristic vectors of the target touch points are generated according to the first touch point data and the second touch point data of the target touch points, whether the target touch points are invalid touch or not is judged according to the touch point characteristic vectors, and if the target touch points are invalid touch, touch response is not carried out on the target touch points. According to the method, the first contact data and the second contact data are numerical values corresponding to the preset physical quantities for representing the mistaken touch characteristics of the contacts, so that the contact characteristic vectors obtained according to the first contact data and the second contact data contain the data for representing the mistaken touch characteristics of the contacts, and whether the target contacts are mistakenly touched or not can be identified through the contact characteristic vectors. Moreover, by presetting enough physical quantities of the false touch characteristics, various types of false touches can be identified, and the identification range is large.
On the other hand, the second touch data of the target touch point is obtained according to the first touch point data of the target touch point and other touch points, so the touch point feature vector generated according to the first touch point data and the second touch point data not only contains the first touch point data of the target touch point, but also contains the first touch point data of other touch points. Because whether the contact is touched by mistake in the false touch recognition is not only related to the contact but also related to other contacts, for example, for the action of placing multiple fingers on a keyboard for rest, the contact pressure of the target contact and the contact pressure of other contacts are very close, whether the target contact is touched by mistake can be more accurately determined through the contact characteristic vector containing the first contact data of the target contact and the first contact data of other contacts.
In conclusion, the method provided by the application can accurately identify various types of false touch conditions.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for preventing a touch screen from being touched by mistake according to an embodiment of the present disclosure;
FIGS. 2-10 are schematic diagrams of false touch types provided by embodiments of the present application;
FIG. 11 is a flowchart of acquiring second contact data of a target contact according to an embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of a device for preventing a touch screen from being touched by mistake according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The execution main body of the embodiment of the application is an electronic device with a touch screen, such as a smart phone, a tablet, a personal computer and the like.
Fig. 1 is a flowchart of a method for preventing a touch screen from being touched by mistake according to an embodiment of the present application, including the following steps:
s101, first touch data of each touch in a touch event are acquired in real time.
A touch point is a point of contact of a touch object, which may be a finger or a trigger tool, such as a stylus, with the touch screen.
The touch event is an event for realizing touch of the touch screen through a touch object, and includes but is not limited to typing input on the touch screen, unlocking and locking the touch screen, touch operation on application program functions and the like.
The first contact data is a numerical value corresponding to each preset physical quantity, and the physical quantity is a physical quantity for characterizing the false touch characteristic of the contact, such as a physical quantity that can be a contact area and a contact pressure.
And S102, acquiring a target contact.
The target contact is a contact of which the contact time length reaches a preset time length or stops contacting within the preset time length. The preset duration can be set by combining the target touch response speed and the user experience sense.
The contact duration of each contact in the touch event can be calculated in real time, and the contact with the contact duration reaching the preset duration is taken as a target contact, or the contact which stops contacting within the preset duration is taken as the target contact.
S103, acquiring second contact data of the target contact according to the first contact data of the target contact and other contacts.
And the other contacts are contacts within a preset time before the time point corresponding to the target contact is obtained. For example, if the time point corresponding to the target contact is am10:12:10 and the preset time period is 2S, the contacts between am10:12:08 and am10:12:10, which are in contact with the touch screen, except the target contact can be used as other contacts of the first touch screen.
The second contact data and the first contact data are numerical values corresponding to preset physical quantities, and the physical quantities are physical quantities used for representing the false touch characteristics of the contacts.
The physical quantity in the second contact data is preset in association with the physical quantity in the first contact data, for example, the contact area and the contact pressure of the physical quantity in the first contact data, and the second physical quantity may be the contact pressure, so that the second contact data may be acquired from the first contact data.
And S104, generating a contact feature vector of the target contact according to the first contact data and the second contact data of the target contact.
The first trigger data and the second contact data of the target contact can be subjected to data processing according to a preset data processing rule to obtain vector elements serving as contact feature vectors, so that the contact feature vectors of the target contact contain data related to the first contact data and the second contact data.
And S105, judging whether the target touch point is invalid touch according to the touch point feature vector, if so, executing S106, and if so, executing S107.
In this step, the contact feature vector of the target contact is input into a pre-trained false touch recognition model to obtain a touch result, and the touch result indicates whether the target contact is invalid.
The training sample of the false touch recognition model is a contact point feature vector of a label carrying a touch result. The basic model of the false touch recognition model can be an SVM training classifier, and the false touch recognition model capable of outputting a touch result according to the input contact feature vector is obtained by training the basic model by adopting a training sample.
And S106, touch response is not carried out on the target contact.
And if the touch result indicator contact is invalid touch, not performing touch response on the target contact.
And S107, performing touch response on the target contact.
And if the touch result indicator mark contact is effective touch, performing touch response on the target contact according to a preset response mode.
In the method provided by this embodiment, because the first contact data and the second contact data are respectively preset numerical values corresponding to physical quantities for characterizing the false touch characteristics of the contact, the contact characteristic vectors obtained according to the first contact data and the second contact data include data for characterizing the false touch characteristics of the contact, and thus, whether the target contact is touched by mistake can be identified through the contact characteristic vectors. Moreover, by presetting enough physical quantities of the false touch characteristics, various types of false touches can be identified, and the identification range is wide.
On the other hand, the second touch data of the target touch point is obtained according to the first touch point data of the target touch point and other touch points, so the touch point feature vector generated according to the first touch point data and the second touch point data not only contains the first touch point data of the target touch point, but also contains the first touch point data of other touch points. Because whether the contact is touched by mistake in the false touch recognition is not only related to the contact but also related to other contacts, for example, for the action of placing multiple fingers on a keyboard for rest, the contact pressure of the target contact and the contact pressure of other contacts are very close, whether the target contact is touched by mistake can be more accurately determined through the contact characteristic vector containing the first contact data of the target contact and the first contact data of other contacts.
In conclusion, the method provided by the application can accurately identify various types of false touch conditions.
The following describes the present invention by taking a touch event as an example of performing a typing event (hereinafter referred to as a typing touch event) in a touch area of a touch screen.
Applicants have discovered that the mis-touch behavior that may occur to the user during the touch-screen typing event can be summarized as a temporal repeat touch point type and a mis-touch type as shown in fig. 2-10, wherein fig. 2 is a multi-finger rest type, fig. 3 (b1) indicates a hypothenar mis-touch type, fig. 3 (b2) indicates a major thenar mis-touch type, fig. 4 (c1) indicates a spatial repeat touch point type, fig. 5 is an extra-light touch type, fig. 6 is a two-finger rest type, fig. 7 is a slide type, fig. 8 is an edge mis-touch type, fig. 9 is a single-finger rest, and fig. 10 is an extra-light touch type.
The spatial repetitive touch point type is a false touch type in which a single finger and a touch screen have an excessively large contact area and are recognized as two or more touch points. The time domain repeated touch type is a type of false touch which is identified as two times of touch due to the fact that the force of clicking a touch screen by a finger once is large. It should be noted that the contact points described in the present application may be understood as contact points.
The applicant has found through research that the above various touch types can represent the false touch characteristics thereof through a plurality of physical quantities. The physical quantities include: (1) information of the contact: touch area, ellipticity, travel distance, pressure, and pressure; (2) the proportion of contacts to all contacts: pressure ratio, pressure ratio and touch area ratio; (3) position information of the contact: the distance from the contact to the corner of the touch area and the distance from the contact to the periphery of the touch area; (4) the relationship of a contact to other associated contacts includes spatial distance, time difference at the first moment of contact, contact area ratio, pressure ratio, and pressure ratio.
Therefore, how to determine whether the touch point is the false touch in real time in the typing input touch event is described with reference to the method for preventing the false touch of the touch screen and the physical quantity for representing the false touch characteristic in fig. 1.
In this embodiment, the target contact is a contact whose contact duration reaches the preset duration of 100ms, or stops contacting within the preset duration of 100 ms.
The first contact data of the contacts includes: contact location, contact area, contact pressure, and capacitive contact shape parameters. The parameter of the capacitive contact shape is specifically an ellipticity corresponding to the capacitive contact shape.
The second contact data includes: the numerical value of each preset second physical quantity corresponding to each time point of the target contact in the contact duration, and the numerical value of each preset third physical quantity between the associated contact and the target contact;
the second physical quantity and the third physical quantity are physical quantities associated with the first physical quantity, and the second physical quantity includes: the touch control method comprises the following steps of moving distance of a contact, contact pressure, pressure ratio and touch area ratio of the contact in all the contacts, distance from the contact to a preset area angle of a touch control area, and distance from the contact to the periphery of the preset area of the touch control area.
The third physical quantity includes: spatial distance, contact time interval, touch area ratio, pressure ratio, and pressure ratio.
The associated contacts comprise a first associated contact and a second associated contact, the first associated contact is the first M contacts closest to the target contact at the first moment when the target contact is contacted with the touch screen, and the second associated contact is the first N contacts with the shortest time difference between the first moment when the target contact is contacted with the touch screen and the first moment when the target contact is contacted with the touch screen. M and N may be the same.
Correspondingly, in this embodiment, a specific implementation manner of acquiring the second contact data of the target contact according to the first contact data of the target contact and the other contacts in S103 in fig. 1 is shown in fig. 11, and includes:
s1101, aiming at a second physical quantity corresponding to each point of time, acquiring data corresponding to variables included in numerical calculation rules from first contact data of a target contact and other contacts according to numerical calculation rules preset corresponding to the second physical quantity, and calculating the acquired data according to the numerical calculation rules to obtain a numerical value corresponding to the second physical quantity.
The second physical quantity is associated with the first physical quantity, and the numerical value of the second physical quantity can be obtained by the numerical value corresponding to the first physical quantity in the first contact point data.
For example, the preset numerical calculation rule corresponding to the contact movement distance is the distance between the starting point and the end point, and the contact movement distance at any time is obtained according to the distance between the contact position at the time in the first contact data and the contact position at the first time of touching the touch screen.
The preset corresponding numerical calculation rule of the contact pressure is the ratio of the contact pressure to the contact area, and the pressure at any moment can be obtained according to the contact pressure and the contact area of the contact at the moment obtained from the first contact data.
The preset corresponding numerical calculation rule of the pressure ratios of the contacts in all the contacts is the ratio of the contact pressure of a single contact to the sum of the contact pressures of all the contacts at the same moment, and the pressure ratio of the contact at any moment can be obtained by acquiring the contact pressure of the contact at the moment and the contact pressures of other contacts at the moment from the first contact data. Similarly, the pressure ratio of the contact points to all the contact points and the touch area ratio can also be obtained.
The distance from any one moment contact point to the preset area corner of the touch area and the distance from the contact point to the periphery of the preset area of the touch area can be determined according to the position of the moment contact point in the first contact point data.
And S1102, determining each associated contact.
The associated contacts include a first associated contact that is associated in a spatial dimension and a second associated contact that is associated in a temporal dimension.
The method specifically comprises the following steps: and at the first moment when the target contact is contacted with the touch screen, taking the first M contacts closest to the target contact as first associated contacts. And taking the first N contact points with the shortest time difference between the first moment of contact with the touch screen and the first moment of contact between the target contact point and the touch screen as second associated contact points. Wherein M and N may be the same.
S1103, acquiring data corresponding to variables included in the numerical calculation rule from the first contact data of the target contact and the associated contact according to a numerical calculation rule preset to correspond to each third physical quantity of the associated contact, and calculating the acquired data according to the numerical calculation rule to obtain a numerical value corresponding to the third physical quantity.
The third physical quantities associated with a contact are spatial distance, contact time interval, touch area ratio, pressure ratio and pressure ratio.
The spatial distance is the distance between the average position within the data period of the associated contact and the average position of the target contact. The data period for the associated contact is: and taking the time point corresponding to the acquired target contact as a stop time point, wherein the contact duration of the associated contact from the first moment of contacting the touch screen to before the stop time point is not more than the preset duration of 100 ms.
The contact time interval is the time difference between the first time at which the associated contact contacts the touch screen and the first time at which the target contact contacts the touch screen.
The touch area ratio is the ratio between the average touch area over the data period of the associated contact and the average touch area of the target contact. Similarly, the pressure ratio is the ratio of the average pressure over the data period for the associated contact to the average pressure for the target contact. The pressure ratio is the ratio of the average pressure within the data period of the associated contact to the average pressure of the target contact.
For the spatial distance, the position of the associated contact corresponding to each moment of the associated contact can be obtained from the first contact data in the associated contact data period, and the average value of the x coordinate and the y coordinate of the associated contact in the data period is calculated to obtain the average position of the associated contact. Similarly, the average value of the x coordinate and the y coordinate of the target contact point in the contact duration is calculated to obtain the average position of the target contact point, and the distance between the average position of the associated contact point and the average position of the target contact point is used as the spatial distance.
For the touch area ratio, the touch area corresponding to each moment of the associated contact point may be obtained from the first contact point data in the associated contact point data period, so as to obtain an average touch area of the associated contact point, the touch area corresponding to each moment of the target contact point is obtained from the first contact point data of the target contact point, so as to obtain an average touch area of the target contact point, and a ratio between the average touch area of the associated contact point and the average touch area of the target contact point is used as the touch area ratio. Similarly, the pressure ratio and the pressure ratio are also obtained by correlating the first data of the contact point and the target contact point, and are not described in detail herein.
Correspondingly, in this embodiment, the embodiment of generating the contact feature vector of the target contact according to the first contact data and the second contact data of the target contact in S103 in fig. 1 includes:
step A1: and for each first physical quantity and each second physical quantity, carrying out data processing on numerical values of the first physical quantity and the second physical quantity corresponding to each time point according to a preset data processing rule to obtain I parameters representing the variation characteristics of the first physical quantity and J parameters representing the variation characteristics of the second physical quantity.
For each first physical, according to the value of the first physical corresponding to each time point, 5 parameters such as the maximum value, the minimum value, the average value, the kurtosis value, the skewness value and the like representing the variation characteristics of the first physical quantity (the contact position, the contact area, the contact pressure and the ellipticity) are obtained. Similarly, for each second physical quantity (the moving distance of the contact, the contact pressure, the pressure ratio and the touch area ratio of the contact to all the contacts, the distance from the contact to the preset area angle of the touch area, and the distance from the contact to the periphery of the preset area of the touch area), 5 parameters representing the change characteristics of the second physical quantity, such as the maximum value, the minimum value, the average value, the peak value, the skewness value and the like, of the second physical quantity are obtained from the numerical values corresponding to each time point by the second physical quantity.
The peak value is a measure of the deviation direction and degree of the statistical data distribution, and is a digital feature of the asymmetric degree of the statistical data distribution, and the deviation value is a measure of the peak value height of the statistical data distribution at the average value, and is a digital feature of the concentration degree of the statistical data distribution at the average value. The specific calculation process of the kurtosis value and the skewness value can refer to the prior art.
Step A2: and taking the I parameters of each first physical quantity, the J parameters of each second physical quantity and the numerical values of the third physical quantities corresponding to the associated contacts as elements of the contact characteristic vector.
And taking the maximum value, the minimum value, the average value, the peak value and the deviation value corresponding to each first physical quantity and each second physical quantity, and the space distance, the contact time interval, the touch area ratio, the pressure ratio and the pressure ratio corresponding to each associated contact as elements of the contact feature vector of the target contact.
In this embodiment, after the contact feature vector of the target contact is obtained, the contact feature vector of the target contact is input into the pre-trained false touch recognition model, so as to obtain a touch result. And the touch result indicates whether the cursor touch point is invalid touch, if the cursor touch point is invalid touch, touch response is not carried out on the target touch point, and if the cursor touch point is valid touch, touch response is carried out on the target touch point.
Taking the type of the false touch of the multi-finger rest as an example, the touch point feature vector includes parameters such as a maximum value, a minimum value, an average value, a kurtosis value, a skewness value and the like for obtaining a first physical quantity (a touch point position, a contact area, a contact pressure and an ellipticity), a second physical quantity (a contact point moving distance, a contact pressure, a pressure ratio and a touch area ratio of all the touch points, a distance from the touch point to a preset area angle of the touch area and a distance from the touch point to the periphery of the preset area of the touch area), and a space distance, a contact time interval, a touch area ratio, a pressure ratio and the like corresponding to each associated touch point of the associated touch points. From the contact feature vectors, if the pressure ratio and the pressure ratio corresponding to each associated contact are close, the contact pressure of the target contact, the maximum value, the minimum value and the average value of the contact pressure are all close, and the pressure ratio and the pressure of the contact occupying all the contacts are relatively low, the pre-trained false touch recognition model can recognize the current contact as a false touch type with multi-finger rest according to the input contact feature vectors. In the touch input event, only one to two fingers touch the touch screen in the intended click, the pressure ratio is large, and in the false touch behavior of multi-finger rest, the pressure ratio of each finger is small and close to each other. Therefore, whether the touch point is mistaken touch or not can be identified through the touch point information contained in the touch point feature vector of the touch point.
In the method provided by this embodiment, for a typing touch event, by obtaining numerical values corresponding to a plurality of physical quantities representing the touch error characteristics of the typing touch error type of the touch point, and generating corresponding touch point characteristic vectors, a pre-trained touch error recognition model is input, so as to obtain a touch result indicating whether the touch error occurs. Because the contact feature vector comprises numerical values corresponding to a plurality of physical quantities of the touch error features of various preset typing input touch error types, the touch error can be identified through the feature vector, and the identification range is wide. In addition, the contact point feature vector includes not only the first contact point data of the target contact point itself but also the first contact point data of other contact points. Whether the contact is touched by mistake in the false touch recognition is not only related to the contact but also related to other contacts, so that whether the target contact is touched by mistake can be determined more accurately through the contact feature vector containing the first contact data of the target contact and the first contact data of other contacts.
It should be noted that the above is a specific embodiment of how to implement the false touch prevention for the touch event in the touch screen typing input, and is of course also applicable to other touch events, such as unlocking and locking of the touch screen, or touch operations of application functions, and the like. In the touch event, whether the touch object (finger) is touched by mistake is often determined by the touch point data of the touch point itself, such as the data of the first physical quantity, the data of the second physical quantity, and the touch point data of other associated touch points, such as the data of the third physical quantity, so that whether the touch point is touched by mistake can be judged based on the touch point data of the touch point and other associated touch points.
Referring to fig. 12, a schematic structural diagram of a touch screen anti-false touch device provided in the present application is shown, including:
a first obtaining unit 1201, configured to obtain first contact data of each contact in a touch event in real time, where the contact is a contact between a touch object and a touch screen;
a second obtaining unit 1202, configured to obtain a target contact, where the target contact is a contact whose contact duration reaches a preset duration, or stops contacting within the preset duration;
a third obtaining unit 1203, configured to obtain second contact data of the target contact according to the target contact and the first contact data of the other contacts; the first contact data and the second contact data are numerical values corresponding to the physical quantities; the physical quantity is a preset physical quantity for representing the false touch characteristic of the contact;
a generating unit 1204, configured to generate a contact feature vector of a target contact according to the first contact data and the second contact data of the target contact;
the determining unit 1205 is configured to determine whether the target contact is an invalid touch according to the contact feature vector, and if the target contact is an invalid touch, not perform a touch response on the target contact.
In the above apparatus, optionally, the touch event includes typing in a touch area of the touch screen.
Optionally, in the above apparatus, the first contact data is a numerical value of each preset first physical quantity corresponding to each time point of the contact in the contact duration, where the first physical quantity at least includes: contact position, contact area, contact pressure, and capacitive contact shape parameters;
the second contact data includes: the numerical value of each preset second physical quantity corresponding to each time point of the target contact point in the contact duration, and the numerical value of each preset third physical quantity between the associated contact point and the target contact point;
the second physical quantity and the third physical quantity are physical quantities related to the first physical quantity, the related contacts include a first related contact and a second related contact, the first related contact is a first moment when the target contact is in contact with the touch screen and a first M contacts nearest to the target contact, and the second related contact is a first N contacts with the shortest time difference between the first moment when the target contact is in contact with the touch screen and the first moment when the target contact is in contact with the touch screen.
In the above apparatus, optionally, the specific implementation manner of the third obtaining unit 1203 obtaining the second contact data of the target contact according to the target contact and the first contact data of the other contacts is as follows:
for each second physical quantity, acquiring data corresponding to variables included in the numerical calculation rule from the first contact data of the target contact and other contacts according to a numerical calculation rule corresponding to the preset second physical quantity, and calculating the acquired data according to the numerical calculation rule to obtain a numerical value corresponding to the second physical quantity;
determining each associated contact, aiming at each third physical quantity of the associated contact, obtaining data corresponding to variables included in the numerical calculation rule from the target contact and the first contact data of the associated contact according to a numerical calculation rule preset to correspond to the third physical quantity, and calculating the obtained data according to the numerical calculation rule to obtain a numerical value corresponding to the third physical quantity.
Optionally, in the apparatus described above, the specific implementation manner of generating the contact feature vector of the target contact by the generating unit 1204 according to the first contact data and the second contact data of the target contact is as follows:
according to each first physical quantity and each second physical quantity, carrying out data processing on numerical values of the first physical quantity and the second physical quantity corresponding to each time point according to a preset data processing rule to obtain I parameters representing the variation characteristics of the first physical quantity and J parameters representing the variation characteristics of the second physical quantity;
and taking the I parameters of each first physical quantity, the J parameters of each second physical quantity and the numerical values of the third physical quantities corresponding to the associated contacts as elements of the contact characteristic vector.
In the foregoing apparatus, optionally, the specific implementation manner of determining, by the determining unit 1205, whether the target contact is an invalid touch according to the contact feature vector is as follows:
inputting the contact feature vector of the target contact into a pre-trained false touch recognition model to obtain a touch result, wherein the touch result indicates whether the target contact is invalid; and the training sample of the false touch recognition model is a contact point characteristic vector of the label carrying the touch result.
In the foregoing apparatus, optionally, a specific implementation manner of the second obtaining unit 1202 for obtaining the target contact is as follows: and calculating the contact time of each contact in the touch event in real time, and taking the contact with the contact time reaching the preset time as the target contact, or taking the contact which stops contacting within the preset time as the target contact.
In the device provided by this embodiment, because the first contact data and the second contact data are respectively preset numerical values corresponding to physical quantities for characterizing the false touch characteristics of the contact, the contact characteristic vectors obtained according to the first contact data and the second contact data include data for characterizing the false touch characteristics of the contact, and thus, whether the target contact is touched by mistake can be identified through the contact characteristic vectors. Moreover, by presetting enough physical quantities of the false touch characteristics, various types of false touches can be identified, and the identification range is wide.
On the other hand, the second touch data of the target touch point is obtained according to the first touch point data of the target touch point and other touch points, so the touch point feature vector generated according to the first touch point data and the second touch point data not only contains the first touch point data of the target touch point, but also contains the first touch point data of other touch points. Because whether the contact is touched by mistake in the false touch recognition is not only related to the contact but also related to other contacts, for example, for the action of placing multiple fingers on a keyboard for rest, the contact pressure of the target contact and the contact pressure of other contacts are very close, whether the target contact is touched by mistake can be more accurately determined through the contact characteristic vector containing the first contact data of the target contact and the first contact data of other contacts.
In conclusion, the device provided by the application can accurately identify various types of false touch conditions.
Referring to fig. 13, a schematic structural diagram of an electronic device provided in the present application is shown, including: a processor 1301 and a memory 1302 for storing programs; the processor is used for running the program to realize the method for preventing the touch screen from being touched mistakenly, namely, the following steps are executed:
acquiring first contact data of each contact in a touch event in real time, wherein the contact is a contact point of a touch object and a touch screen;
acquiring a target contact, wherein the target contact is a contact of which the contact time reaches a preset time or stops contacting within the preset time;
acquiring second contact data of the target contact according to the first contact data of the target contact and other contacts; the first contact data and the second contact data are numerical values corresponding to preset physical quantities; the physical quantity is used for representing the false touch characteristic of the contact;
generating a contact feature vector of the target contact according to the first contact data and the second contact data of the target contact;
and judging whether the target contact is invalid touch according to the contact characteristic vector, and if so, not carrying out touch response on the target contact.
The application also provides a storage medium, wherein instructions are stored in the storage medium, and when the storage medium runs on a computer, the computer is enabled to execute the method for preventing the touch screen from being touched mistakenly, namely the following steps are executed:
acquiring first contact data of each contact in a touch event in real time, wherein the contact is a contact point of a touch object and a touch screen;
acquiring a target contact, wherein the target contact is a contact of which the contact time reaches a preset time or stops contacting within the preset time;
acquiring second contact data of the target contact according to the first contact data of the target contact and other contacts; the first contact data and the second contact data are numerical values corresponding to preset physical quantities; the physical quantity is used for representing the false touch characteristic of the contact;
generating a contact feature vector of the target contact according to the first contact data and the second contact data of the target contact;
and judging whether the target contact is invalid touch according to the contact characteristic vector, and if so, not carrying out touch response on the target contact.
The functions described in the method of the embodiment of the present application, if implemented in the form of software functional units and sold or used as independent products, may be stored in a storage medium readable by a computing device. Based on such understanding, part of the contribution to the prior art of the embodiments of the present application or part of the technical solution may be embodied in the form of a software product stored in a storage medium and including several instructions for causing a computing device (which may be a personal computer, a server, a mobile computing device or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for preventing false touch of a touch screen is characterized by comprising the following steps:
acquiring first contact data of each contact in a touch event in real time, wherein the contact is a contact point of a touch object and a touch screen;
acquiring a target contact, wherein the target contact is a contact of which the contact time reaches a preset time or stops contacting within the preset time;
acquiring second contact data of the target contact according to the first contact data of the target contact and other contacts; the first contact data and the second contact data are numerical values corresponding to preset physical quantities; the physical quantity is used for representing the false touch characteristic of the contact;
generating a contact feature vector of the target contact according to the first contact data and the second contact data of the target contact;
and judging whether the target contact is invalid touch according to the contact characteristic vector, and if so, not carrying out touch response on the target contact.
2. The method of claim 1, wherein the touch event comprises typing in a touch area of a touch screen.
3. The method according to claim 1 or 2, wherein the first contact data is a value of a respective preset first physical quantity corresponding to each time point of the contact in the contact duration, and the first physical quantity at least comprises: contact position, contact area, contact pressure, and capacitive contact shape parameters;
the second contact data includes: the numerical value of each preset second physical quantity corresponding to each time point of the target contact point in the contact duration, and the numerical value of each preset third physical quantity between the associated contact point and the target contact point;
the second physical quantity and the third physical quantity are physical quantities related to the first physical quantity, the related contacts include a first related contact and a second related contact, the first related contact is a first moment when the target contact is in contact with the touch screen and a first M contacts nearest to the target contact, and the second related contact is a first N contacts with the shortest time difference between the first moment when the target contact is in contact with the touch screen and the first moment when the target contact is in contact with the touch screen.
4. The method of claim 3, wherein said obtaining second contact data for the target contact from the first contact data for the target contact and the other contacts comprises:
for each second physical quantity, acquiring data corresponding to variables included in the numerical calculation rule from the first contact data of the target contact and the other contacts according to a numerical calculation rule preset to correspond to the second physical quantity, and calculating the acquired data according to the numerical calculation rule to obtain a numerical value corresponding to the second physical quantity;
determining each associated contact, acquiring data corresponding to variables included in the numerical calculation rule from the data of the target contact and the first contact of the associated contact according to a numerical calculation rule preset to correspond to each third physical quantity of the associated contact, and calculating the acquired data according to the numerical calculation rule to obtain a numerical value corresponding to the third physical quantity.
5. The method of claim 4, wherein generating the contact feature vector for the target contact from the first contact data and the second contact data for the target contact comprises:
for each first physical quantity and each second physical quantity, carrying out data processing on numerical values of the first physical quantity and the second physical quantity corresponding to each time point according to a preset data processing rule to obtain I parameters representing the variation characteristics of the first physical quantity and J parameters representing the variation characteristics of the second physical quantity;
and taking the I parameters of each first physical quantity, the J parameters of each second physical quantity and the numerical values of the third physical quantities corresponding to the associated contact points as elements of the contact point feature vector.
6. The method of claim 1, wherein the determining whether the target touch point is an invalid touch according to the touch point feature vector comprises:
inputting the contact feature vector of the target contact into a pre-trained false touch recognition model to obtain a touch result, wherein the touch result indicates whether the target contact is invalid;
and the training sample of the false touch recognition model is a contact point characteristic vector of the label carrying the touch result.
7. The method of claim 1, wherein the obtaining the target contact comprises:
and calculating the contact time of each contact in the touch event in real time, and taking the contact with the contact time reaching the preset time as the target contact, or taking the contact which stops contacting within the preset time as the target contact.
8. An apparatus for preventing a touch screen from being touched by mistake, comprising:
the touch control device comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring first contact data of each contact in a touch control event in real time, and the contact is a contact point of a touch control object and a touch screen;
the second acquisition unit is used for acquiring a target contact, wherein the target contact is a contact of which the contact time length reaches a preset time length or stops contacting within the preset time length;
a third obtaining unit, configured to obtain second contact data of the target contact according to the first contact data of the target contact and the first contact data of the other contacts; the first contact data and the second contact data are numerical values corresponding to the physical quantities; the physical quantity is a preset physical quantity for representing the false touch characteristic of the contact;
a generating unit, configured to generate a contact feature vector of the target contact according to the first contact data and the second contact data of the target contact;
and the judging unit is used for judging whether the target contact is invalid touch according to the contact characteristic vector, and if the target contact is invalid touch, the target contact is not subjected to touch response.
9. An electronic device, comprising: a processor and a memory for storing a program; the processor is used for running the program to realize the method for preventing the touch screen from being touched by mistake in any one of claims 1-7.
10. A storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the method of touch screen anti-false touch of any of claims 1-7.
CN202110929237.8A 2021-08-13 2021-08-13 Method and device for preventing false touch of touch screen, electronic equipment and storage medium Active CN113608634B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110929237.8A CN113608634B (en) 2021-08-13 2021-08-13 Method and device for preventing false touch of touch screen, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110929237.8A CN113608634B (en) 2021-08-13 2021-08-13 Method and device for preventing false touch of touch screen, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113608634A true CN113608634A (en) 2021-11-05
CN113608634B CN113608634B (en) 2024-06-14

Family

ID=78340646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110929237.8A Active CN113608634B (en) 2021-08-13 2021-08-13 Method and device for preventing false touch of touch screen, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113608634B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100909468B1 (en) * 2009-01-15 2009-07-28 (주)터치사인 Method for representing multipoint contacting at touch panel in screen
CN102411441A (en) * 2010-09-21 2012-04-11 义隆电子股份有限公司 Touch-control plate for preventing wrong touch, preventing method and application method thereof
CN106681636A (en) * 2016-12-16 2017-05-17 广东欧珀移动通信有限公司 Method and device capable of preventing wrong touch, and mobile terminal
CN109891379A (en) * 2017-08-03 2019-06-14 华为技术有限公司 A kind of false-touch prevention method and terminal
CN111897476A (en) * 2020-07-31 2020-11-06 维沃移动通信有限公司 False touch prevention setting method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100909468B1 (en) * 2009-01-15 2009-07-28 (주)터치사인 Method for representing multipoint contacting at touch panel in screen
CN102411441A (en) * 2010-09-21 2012-04-11 义隆电子股份有限公司 Touch-control plate for preventing wrong touch, preventing method and application method thereof
CN106681636A (en) * 2016-12-16 2017-05-17 广东欧珀移动通信有限公司 Method and device capable of preventing wrong touch, and mobile terminal
CN109891379A (en) * 2017-08-03 2019-06-14 华为技术有限公司 A kind of false-touch prevention method and terminal
CN111897476A (en) * 2020-07-31 2020-11-06 维沃移动通信有限公司 False touch prevention setting method and device

Also Published As

Publication number Publication date
CN113608634B (en) 2024-06-14

Similar Documents

Publication Publication Date Title
JP5667229B2 (en) System and method for adaptive interpretation of input from a touch sensitive input device
KR101541928B1 (en) visual feedback display
US8797280B2 (en) Systems and methods for improved touch screen response
US9632605B2 (en) Input classification for multi-touch systems
US20140104191A1 (en) Input Classification for Multi-Touch Systems
US20140104194A1 (en) Input Classification for Multi-Touch Systems
CN106775084A (en) A kind of false-touch prevention method of touch-screen, device and mobile terminal
CN107194213B (en) Identity recognition method and device
CN106598335A (en) Touch screen control method and apparatus for mobile terminal, and mobile terminal
WO2014127697A1 (en) Method and terminal for triggering application programs and application program functions
US9430066B2 (en) Input classification for multi-touch systems
CN104182068A (en) Error touch identifying method and device
GB2510333A (en) Emulating pressure sensitivity on multi-touch devices
CN109753179B (en) User operation instruction processing method and handwriting reading equipment
WO2014002316A1 (en) Operation device
CN111840988A (en) Game skill triggering method and device, game client and medium
CN106681636A (en) Method and device capable of preventing wrong touch, and mobile terminal
US20160342275A1 (en) Method and device for processing touch signal
EP3008556B1 (en) Disambiguation of indirect input
EP2602699A1 (en) Information processing device, method for controlling information processing device, program, and information storage medium
CN110658976B (en) Touch track display method and electronic equipment
CN109710111B (en) False touch prevention method and electronic equipment
CN111984179A (en) Touch identification method, device, equipment and storage medium
CN113311981A (en) Erasing method and device, intelligent terminal and computer readable storage medium
US20150103010A1 (en) Keyboard with Integrated Pointing Functionality

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant