CN115237327A - False touch prevention method and device, storage medium and electronic equipment - Google Patents

False touch prevention method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN115237327A
CN115237327A CN202210878003.XA CN202210878003A CN115237327A CN 115237327 A CN115237327 A CN 115237327A CN 202210878003 A CN202210878003 A CN 202210878003A CN 115237327 A CN115237327 A CN 115237327A
Authority
CN
China
Prior art keywords
holding
user
data
touch
touch operation
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.)
Withdrawn
Application number
CN202210878003.XA
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210878003.XA priority Critical patent/CN115237327A/en
Publication of CN115237327A publication Critical patent/CN115237327A/en
Withdrawn legal-status Critical Current

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/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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Abstract

The application discloses a false touch prevention method, a false touch prevention device, a storage medium and electronic equipment, wherein the false touch prevention method comprises the following steps: acquiring current contact data of a user on a touch panel of the electronic equipment; inputting the current contact data into a trained recognition model to obtain a suppression area corresponding to the current contact data, wherein the trained recognition model is obtained by training a preset recognition model through holding posture data and touch operation data generated by a user under various holding postures; and executing a first operation on the inhibition area corresponding to the current contact data, wherein the first operation is used for controlling the touch sensitivity of the inhibition area corresponding to the current contact data to be less than or equal to a sensitivity threshold. The method can dynamically set the inhibition area based on the holding gesture and the finger touch action of the user, facilitates the touch operation of the user, and improves the user experience.

Description

False touch prevention method and device, storage medium and electronic equipment
Technical Field
The application relates to the technical field of touch control, in particular to a method and a device for preventing false touch, a storage medium and electronic equipment.
Background
In daily use of the mobile phone, a user can touch the Edge of the screen at the tiger's mouth, the thenar area and the fingers under different holding postures, so that the phenomenon of touch control misresponse is caused and is regarded as Edge-intersected touches (Edge-intersected touches) by the user. In order to eliminate the inconvenience caused by this phenomenon, an edge anti-false touch function is usually performed in the touch design of the touch screen.
The conventional method is to set a custom suppression area and an absolute suppression area, where the custom suppression area is usually formed by shrinking dozens of pixels in the whole edge as a suppression area, when some APP function icons are displayed on the edge, the problem of insensitive clicking may occur, and the absolute suppression area is formed by setting the edge areas at the left and right lower corners of the screen as the absolute suppression area to reduce the frequency of false touch response, but the problem of insensitive clicking of APP application button icons may occur at the corners of the screen 2.
Disclosure of Invention
The embodiment of the application discloses a method and a device for preventing false touch, a storage medium and electronic equipment, which can dynamically adjust a suppression area based on touch data of a user on a touch panel so as to facilitate the operation of the user on the touch panel.
In a first aspect, an embodiment of the present application provides a method for preventing a false touch, which is applied to an electronic device, and includes: acquiring current contact data of a user on a touch panel of the electronic equipment; inputting the current contact data into a trained recognition model to obtain a suppression area corresponding to the current contact data, wherein the trained recognition model is obtained by training a preset recognition model through holding posture data and touch operation data generated by a user under various holding postures, the holding posture data is used for indicating contact data generated by the contact between a holding part of the user and the touch panel, and the touch operation data is used for indicating contact data generated by the touch operation of an operation part of the user on the touch panel; and executing a first operation on the suppression area corresponding to the current contact data, wherein the first operation is used for controlling the touch sensitivity of the suppression area corresponding to the current contact data to be less than or equal to a sensitivity threshold.
In a second aspect, there is provided a false touch prevention device, comprising: the electronic equipment comprises an acquisition module, a processing module and an execution module, wherein the acquisition module is used for acquiring current contact data of a user on a touch panel of the electronic equipment; the processing module is used for inputting the current contact data into a trained recognition model to obtain a suppression area corresponding to the current contact data, the trained recognition model is obtained by training a preset recognition model through holding posture data and touch operation data generated by a user under various holding postures, the holding posture data is used for indicating contact data generated by the contact between a holding part of the user and the touch panel, and the touch operation data is used for indicating contact data generated by the touch operation of an operation part of the user on the touch panel; and the execution module is used for executing a first operation on the inhibition area corresponding to the current contact data, wherein the first operation is used for controlling the touch sensitivity of the inhibition area corresponding to the current contact data to be smaller than or equal to a sensitivity threshold.
In a third aspect, the present application provides an electronic device, comprising: one or more processors; a memory; wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions that, when executed by the processor, cause the electronic device to perform the method of the first aspect.
In a fourth aspect, the present application provides a computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of the first aspect.
In a fifth aspect, the present application provides a computer program product, which, when run on a computer, causes the computer to perform the method of the first aspect.
According to the false touch prevention method, the recognition model of the user after the input training of the current contact data on the touch panel of the electronic equipment is collected, the inhibition area corresponding to the current contact data is obtained, the dynamic setting of the inhibition area based on the holding gesture and the finger touch action of the user is realized, the touch operation of the user is facilitated, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a false touch prevention method according to an embodiment of the present disclosure;
fig. 3 is a schematic flow chart of a false touch prevention method according to an embodiment of the present disclosure;
fig. 4a is a schematic view of prompt information held by a right hand of a vertical screen according to an embodiment of the present application;
FIG. 4b is a schematic view of another exemplary prompt message held by a right hand of a portrait screen according to an embodiment of the present disclosure;
fig. 4c is a schematic view of still another prompt message held by a right hand of a vertical screen according to an embodiment of the present application;
FIG. 4d is a schematic diagram illustrating a vertical screen and a two-handed holding prompt message according to an embodiment of the present disclosure;
fig. 5a is a schematic view of a prompt message held by a right hand of a cross screen according to an embodiment of the present application;
FIG. 5b is a schematic diagram of another prompt message held by a right hand of a cross screen according to an embodiment of the present application;
fig. 5c is a schematic diagram of a prompt message held by two hands with a horizontal screen according to an embodiment of the present application;
FIG. 5d is a schematic diagram of another cross-screen two-handed holding prompt message according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a thumb slide track provided in an embodiment of the present application;
fig. 7 is a schematic flowchart of another false touch prevention method according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram illustrating a setting of a preset suppression area of a vertical screen according to an embodiment of the present application;
fig. 9 is a schematic diagram illustrating a setting of a preset suppression area of a cross screen according to an embodiment of the present application;
FIG. 10 is a schematic diagram of a maximum circumscribed rectangle provided in an embodiment of the present application;
fig. 11 is a schematic structural diagram of an anti-false touch device according to an embodiment of the present disclosure;
fig. 12 is a schematic structural view of another false touch prevention device according to an embodiment of the present disclosure.
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.
In daily use of the mobile phone, a user touches the Edge of the screen with a tiger's mouth, an interfish area and a finger in different holding postures, so that a phenomenon of touch control misresponse is caused, and the phenomenon is regarded as Edge-indirect touches (Edge-indirect touches) by the user. In order to eliminate the inconvenience caused by this phenomenon, an edge anti-false touch function is usually performed in the touch design. The conventional method is to set a custom suppression area and an absolute suppression area, where the custom suppression area is usually formed by shrinking dozens of pixels in the whole edge as a suppression area, when some APP function icons are displayed on the edge, the problem of insensitive clicking may occur, and the absolute suppression area is formed by setting the edge areas at the left and right lower corners of the screen as the absolute suppression area to reduce the frequency of false touch response, but the problem of insensitive clicking of APP application button icons may occur at the corners of the screen 2.
As described above, the conventional anti-false touch scheme usually sets the suppression area statically, and is inconvenient for the user to operate.
In view of the foregoing problems, embodiments of the present application provide a method for preventing accidental touches, which can be applied to various types of electronic devices, such as mobile phones, tablet computers, and the like, that can be held and have touch panels with different edge configurations, such as a straight screen, a curved screen, a folding screen, and a scroll screen.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device 100 shown in fig. 1 mainly includes a processor 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless fidelity (Wi-Fi) module 170, a power module 180, and other components.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the electronic device. Alternatively, processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating devices, user interfaces, applications, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The memory 120 may be used to store software programs and modules, and the processor 110 executes various functional applications and data processing of the electronic device by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating device, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic device, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus 100. Specifically, the input unit 130 may include a touch panel 131 and other input devices 132. The touch panel 131, also referred to as a touch screen, may collect touch operations of a user on or near the touch panel 131 (e.g., operations of the user on or near the touch panel 131 using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 131 may include two parts, i.e., a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 131 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 130 may include other input devices 132 in addition to the touch panel 131. In particular, other input devices 132 may include, but are not limited to, one or more of function keys (such as volume control keys, switch keys, etc.), a trackball, a joystick, and the like.
The display unit 140 may be used to display information input by a user or information provided to the user and various menus of the electronic device. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 131 can cover the display panel 141, and when the touch panel 131 detects a touch operation on or near the touch panel 131, the touch operation is transmitted to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in fig. 1, the touch panel 131 and the display panel 141 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 131 and the display panel 141 may be integrated to implement the input and output functions of the electronic device. The touch panel 131 may be a straight screen, a curved screen, a folding screen, a scroll screen, or the like.
The electronic device 100 may also include at least one sensor 150, such as a gyroscope sensor, a motion sensor, and other sensors. In particular, a gyroscopic sensor may be used to determine the motion pose of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by a gyroscope sensor. The gyro sensor may be used for photographing anti-shake. For example, when the shutter is pressed, the gyroscope sensor detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor can also be used for navigation and motion sensing game scenes. As one type of motion sensor, the acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration) for recognizing the attitude of electronic equipment, and related functions (such as pedometer and tapping) for vibration recognition; other sensors such as a pressure gauge, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are also configurable by the electronic device, are not described herein.
Audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between a user and the electronic device. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and outputs the audio data to the processor 110 for processing, for example, to another electronic device via the RF circuit, or outputs the audio data to the memory 120 for further processing.
WiFi belongs to a short-distance wireless transmission technology, and the electronic device can help a user send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 170, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the electronic device 100, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The electronic device 100 further comprises a power module 180 (such as a battery) for supplying power to each component, and preferably, the power module may be logically connected to the processor 110 through a power management device, so as to implement functions of managing charging, discharging, and power consumption through the power management device.
Although not shown, the electronic device 100 may also include a camera. Optionally, the position of the camera on the electronic device 100 may be a front position or a rear position, which is not limited in this embodiment of the present application. In addition, although not shown, the electronic device 100 may further include a bluetooth module or the like, which is not described herein.
In addition, the electronic device according to the embodiment of the present application may be installed with an operating system, and an application program may be installed and run on the operating system, which is not limited in the embodiment of the present application.
Fig. 2 is a schematic flow chart of a false touch prevention method according to an embodiment of the present disclosure. As shown in fig. 2, the method for preventing false touch may be applied to an electronic device, and the method may include:
step 101: acquiring current contact data of a user on a touch panel of the electronic equipment.
It should be noted that, when a user holds the electronic device, the user mainly holds the electronic device by touching a side area of the electronic device, and when the user holds the electronic device, the user may touch a side area of a touch panel, that is, a touch screen. For example, if the sensing unit array is a capacitance sensing matrix, when a user holds the electronic device, the sensing value of the capacitance sensing matrix changes, and the current touch data is obtained by obtaining the sensing value of the current capacitance sensing matrix.
Step 102: inputting the current contact data into a trained recognition model to obtain a suppression area corresponding to the current contact data, wherein the trained recognition model is obtained by training a preset recognition model through holding posture data and touch operation data generated by a user under various holding postures, the holding posture data is used for indicating contact data generated by the contact between a holding part of the user and the touch panel, and the touch operation data is used for indicating contact data generated by the touch operation of an operation part of the user on the touch panel.
It should be noted that the electronic device is provided with a trained recognition model, the obtained current contact data is input into the trained recognition model, and the trained recognition model can output a corresponding inhibition area, that is, information of the inhibition area on the touch panel, which needs to be prevented from being touched by mistake, is generated according to the contact data of the user.
The trained recognition model is obtained through training or correction, a preset recognition model capable of generating a suppression area according to contact data is preset in the electronic device before delivery, but the preset recognition model is obtained through training based on big data operated by a user, the size of a hand of each user, the thickness of fingers and other parameters are different, so that a recognition error may exist in the preset recognition model for the current user, and therefore the trained recognition model can be obtained through collecting personal contact data generated by the current user under various holding postures and training or correcting the preset recognition model through the personal contact data, and the accuracy of model recognition is improved.
The electronic device comprises a touch panel, a holding part, a holding gesture data acquisition module, a touch operation data acquisition module, a recognition model training module and a recognition model training module, wherein the holding gesture data acquisition module is used for acquiring holding gesture data and touch operation data generated by a user under various holding gestures to train a preset recognition model, the holding gesture data can comprise contact data generated by the contact of the holding part of the user and the touch panel, and the touch operation data can comprise contact data generated by the touch operation of the operating part of the user on the touch panel. For example, when a user holds the electronic device with a left hand, the user can use the thumb or other fingers of the left hand to perform touch control operation on the screen, and can use any finger of the right hand to perform touch control operation on the screen. The preset recognition model is trained or corrected through collecting the holding gesture data and the touch operation data, the trained recognition model is obtained, and the accuracy of model recognition can be improved.
Step 103: and executing a first operation on the inhibition area corresponding to the current contact data, wherein the first operation is used for controlling the touch sensitivity of the inhibition area corresponding to the current contact data to be less than or equal to a sensitivity threshold.
It should be noted that the touch function of the touch panel may be divided into a plurality of independently controllable sub-areas according to a preset unit area, and after determining a suppression area corresponding to current contact data, the touch sensitivity of the sub-area corresponding to the suppression area corresponding to the current contact data is adjusted, so that the touch sensitivity of the sub-area corresponding to the suppression area corresponding to the current contact data is set to be less than or equal to a preset sensitivity threshold; or after the suppression area corresponding to the current contact data is determined, the touch function of the sub-area corresponding to the suppression area corresponding to the current contact data may be turned off, that is, the touch sensitivity of the suppression area corresponding to the current contact data is reduced to 0, so that after the touch sensitivity of the suppression area is reduced, when the user touches the suppression area, corresponding touch response may not be performed, and thus, false triggering after the user touches is avoided.
In some embodiments, the starting modes for collecting the holding posture data and the touch operation data generated by the user under various holding postures are more, for example, the holding posture data and the touch operation data can be collected according to the user requirement, and when the user feels that the current suppression area is not accurate, the user can click through a menu of the electronic device to enter a data collection process; or when the user starts for the first time or enters the false touch prevention mode, the system automatically starts a data acquisition process; the data can be automatically collected when the user uses the false touch prevention function at ordinary times; the starting mode for collecting the holding gesture data and the touch operation data generated by the user under various holding gestures is not limited.
In this embodiment, the electronic device can collect holding posture data and touch operation data generated by the user in various holding postures when the user-defined false touch prevention switch is turned on, the false touch prevention function is turned on, or the false touch prevention function is entered.
Fig. 3 is a schematic flow chart of a false touch prevention method provided in an embodiment of the present application, as shown in fig. 3, on the basis of the embodiment shown in fig. 2, before step 101, the method may further include:
step 201: and outputting prompt information, wherein the prompt information is used for indicating a holding gesture of the electronic equipment held by a user and touch operation performed by the user in the holding gesture.
The prompt information may be sound information emitted by the electronic device, or may be a schematic diagram of a manner of holding displayed on the touch panel by the electronic device, and as long as the prompt information can indicate which holding posture and which touch operation the user adopts, the type of the prompt information is not limited in the present application.
Step 202: acquiring holding gesture data corresponding to the user holding the electronic equipment by adopting the holding gesture and touch operation data corresponding to the touch operation performed by the user.
It should be noted that, after the prompt information is output, the electronic device starts to collect data. In order to acquire valid data as much as possible, the data acquisition of the user may be started after waiting for a preset time, or the data acquisition may be started after detecting the user operation, or the data acquisition may be set according to actual needs, which is not limited herein.
Step 203: and repeating the steps to obtain holding posture data and touch operation data generated by the user under the various holding postures.
It should be noted that, in order to improve the accuracy of the model, data of the user in multiple holding postures needs to be collected, so the above steps need to be repeated, the electronic device outputs prompt information of one holding posture and touch operation, the user holds and operates according to the prompt information, the electronic device collects a set of data, the electronic device outputs prompt information of the next holding posture and touch operation, the user holds and operates according to the prompt information, the electronic device collects a set of data, and the holding posture data and touch operation data generated by the user in the multiple holding postures are obtained after repeated for multiple times.
The electronic equipment is provided with the holding gesture and touch operation prompting information which needs to be collected in advance, the holding gesture and touch operation which needs to be collected can be user-used conditions obtained after big data is analyzed, the user can also select the holding gesture and touch operation conditions which are commonly used by the user in the preset prompting information, and the prompting information selected by the user is output to conduct targeted data collection.
For example, the following description will be made in detail by using the prompt information of several holding gestures, taking the operation diagram output on the touch panel as an example.
Fig. 4a is a schematic diagram of prompt information held by a right hand of a vertical screen according to an embodiment of the present application, as shown in fig. 4a, the prompt information prompts a user to hold an electronic device with a right hand in an illustrated manner, and a thumb of the right hand needs to slide in a natural arc along a preset curve in the diagram, the user needs to hold the electronic device with the right hand in a middle position of the electronic device according to the prompt information, a tiger mouth of the right hand contacts the right side of the electronic device relative to a sight line of the user, 3 fingers of the right hand contact the left side of the electronic device relative to the sight line of the user, and the thumb of the right hand slides in a natural arc along the preset curve in the diagram.
For example, under the indication of the prompt information shown in fig. 4a, the left hand may be changed to hold the lower thumb of the right hand to make the natural arc-shaped sliding screen 10 times, and then the left hand may be changed to hold the lower thumb of the right hand to make the natural arc-shaped sliding screen 10 times according to the prompt information until the prompt action is completed, so as to complete the data acquisition.
Fig. 4b is a schematic view of another vertical-screen right-hand holding prompt information provided in an embodiment of the present application, where as shown in fig. 4b, the prompt information prompts a user to hold an electronic device with a right hand in an illustrated manner, and a thumb of the right hand needs to slide in a natural arc along a preset curve in the drawing, the user needs to hold the lower portion of the electronic device with the right hand according to the prompt information, a tiger mouth of the right hand contacts a lower right corner of the electronic device relative to a line of sight of the user, 3 fingers of the right hand contact a left side of the electronic device relative to the line of sight of the user, and the thumb of the right hand slides in a natural arc along the preset curve in the drawing.
For example, under the indication of the prompt information shown in fig. 4b, the left hand may hold the lower thumb of the right hand for 10 times and then the left hand may hold the lower thumb of the right hand for 10 times according to the prompt information until the prompt action is completed, so as to complete data acquisition.
Fig. 4c is a schematic diagram of still another prompt information held by a right hand of a vertical screen according to an embodiment of the present application, as shown in fig. 4c, the prompt information prompts a user to hold an electronic device with a right hand in an illustrated manner, and a left finger needs to perform a click operation and a vertical sliding operation at a marked position in the drawing, the user needs to hold the electronic device with the right hand at an upper position of the electronic device according to the prompt information, a thumb and a forefinger of the right hand contact the right side and the upper right corner of the electronic device relative to a line of sight of the user, the right hand has 3 fingers contacting the left side of the electronic device relative to the line of sight of the user, the fingers of the left hand perform a click operation and a vertical sliding operation on a touch panel, and when the user holds the electronic device and performs a touch operation in the manner shown in fig. 4c, the electronic device acquires corresponding holding posture data and touch operation data.
For example, under the indication of the prompt information shown in fig. 4c, holding 5 fingers of the left hand by the right hand, sequentially performing a clicking action in the middle of the screen for 1 time each, sliding the screen up and down for 1 time each, and repeating the action for 10 times until the prompt action is completed, changing the operation to holding by the left hand according to the prompt information, and completing the clicking sliding action for 10 times by each finger of the right hand until the prompt action is completed, so as to complete data acquisition.
Fig. 4d provides a schematic diagram of prompt information who erects screen both hands and grip for this application embodiment, as shown in fig. 4d, prompt information suggestion user grips electronic equipment according to the mode both hands of illustration, and left hand and right hand thumb need be along the curve of predetermineeing in the picture and do the natural arc and slide, the user basis prompt information, it needs both hands to grip at electronic equipment's middle part position, and right hand tiger's mouth contacts the right side of electronic equipment for user's sight, and left hand tiger's mouth contacts the left side of electronic equipment for user's sight, and the natural arc slides along the curve of predetermineeing in the picture to right hand thumb, and the natural arc slides along the curve of predetermineeing in the picture of left hand thumb, when the user grips electronic equipment and carries out touch operation according to the mode that fig. 4d, electronic equipment has gathered corresponding gesture data and touch operation data of gripping.
Fig. 5a is a schematic view of prompt information for holding a transverse screen right hand according to an embodiment of the present application, as shown in fig. 5a, the prompt information prompts a user to hold an electronic device with a right hand in a graphic mode and to slide a thumb of the right hand along a preset curve in the drawing in a natural arc shape, the user needs to hold the electronic device with the right hand in a middle position of the electronic device according to the prompt information, a finger of the right hand contacts the right side of the electronic device relative to a sight line of the user, and the thumb of the right hand slides in the natural arc shape along the preset curve in the drawing, when the user holds the electronic device in the mode shown in fig. 5a and performs touch operation, the electronic device collects corresponding holding posture data and touch operation data.
For example, under the indication of the prompt message shown in fig. 5a, a single right hand may be used to complete natural sliding of the thumb held by the right hand for 5 times, and then the left hand is changed according to the prompt message to complete the same action until the prompt action is completed, so as to complete data acquisition.
Fig. 5b is a schematic view of still another transverse-screen right-hand holding prompt information provided in an embodiment of the present application, and as shown in fig. 5b, the prompt information prompts a user to hold an electronic device with a right hand in an illustrated manner, and a thumb of the right hand needs to slide in a natural arc along a preset curve in the drawing, the user needs to hold the electronic device with the right hand in a lower position according to the prompt information, a finger of the right hand contacts a lower right corner of the electronic device relative to a sight line of the user, and the thumb of the right hand slides in a natural arc along the preset curve in the drawing, and when the user holds the electronic device in the manner shown in fig. 5b and performs a touch operation, the electronic device acquires corresponding holding posture data and touch operation data.
For example, under the indication of the prompt message shown in fig. 5b, a single right hand may be used to complete natural sliding of the thumb held by the right hand for 5 times, and then the left hand is changed according to the prompt message to complete the same action until the prompt action is completed, so as to complete data acquisition.
Fig. 5c is the schematic diagram of the tip information that horizontal screen both hands held that this application embodiment provided, as shown in fig. 5c, tip information suggestion user holds electronic equipment according to the mode both hands that show up and the left hand and right hand thumb need be followed the curve of predetermineeing in the picture and are done the natural arc and slide, the user basis tip information, need both hands to hold the lower part position at electronic equipment, the lower right corner of right hand tiger's mouth contact electronic equipment for user's sight, the lower left corner of left hand tiger's mouth contact electronic equipment for user's sight, the curve of predetermineeing in the right hand thumb edge picture is done the natural arc and slides, the curve of predetermineeing in the picture is done the natural arc and slides to the left hand thumb, when the user held electronic equipment and carried out touch operation according to the mode that fig. 5c shows, electronic equipment has gathered corresponding gesture data and the touch operation data of gripping.
For example, under the indication of the prompt message shown in fig. 5c, the left and right thumbs of the left and right hands alternately perform natural sliding for 5 times under the shooting holding until the prompt action is completed, so as to complete data acquisition.
Fig. 5d is another schematic diagram of prompt information that horizontal screen both hands held that this application embodiment provided, as shown in fig. 5d, prompt information suggestion user holds electronic equipment according to the mode both hands that show up, and the mark position in the picture of left hand forefinger and right hand forefinger needs to be click operation, the user basis prompt information, it needs both hands to hold the lower part position at electronic equipment, and the forefinger of both hands takes up and leans on 2 upper corners and touch panel contacts at electronic equipment, the lower right corner of right hand tiger's mouth contact electronic equipment for the user's sight, the lower left corner of left hand tiger's mouth contact electronic equipment for the user's sight, click operation is done to left hand forefinger and right hand forefinger in the mark position in the picture, when the user held electronic equipment and carried out touch operation according to the mode that fig. 5d shows, electronic equipment has gathered corresponding gesture data and touch operation data of holding.
For example, under the indication of the prompt message shown in fig. 5d, the index finger of the left hand and the index finger of the right hand alternately completing the clicking operation 5 times with shooting holding may be performed until the prompt action is completed to complete the data acquisition.
It can be understood that the schematic diagram of the above-mentioned prompt information is not used to limit the holding manner that needs to be collected, and in an actual application scenario, it may be determined according to needs which holding gesture data and touch operation data corresponding to the holding gesture + touch operation are collected. In addition, the touch panel collects the holding gesture data and the touch operation data in millimeter level, that is to say, the data collected by holding, clicking, sliding and the like are discrete characteristic data.
After the holding posture data and the touch operation data generated under various holding postures are obtained, the information needing to be obtained is a suppression area, so that the preset recognition model can be trained after the collected data are processed.
In some embodiments, in order to improve the accuracy of the training model, when acquiring the holding posture data corresponding to the user holding in the holding posture and the touch operation data corresponding to the user performing the touch operation, the detected data may be acquired after verification, that is, only valid data is acquired, and invalid data is discarded.
In this embodiment, the acquiring, in step 202, holding gesture data corresponding to the user holding the electronic device with the holding gesture and touch operation data corresponding to the user performing the touch operation may include:
step 2021: detecting holding gesture data corresponding to the fact that the user holds the electronic equipment in the holding gesture and touch operation data corresponding to the fact that the user performs the touch operation;
step 2022: determining whether the holding gesture adopted by the user is matched with the holding gesture indicated by the prompt information according to the touch operation data;
step 2023: and responding to the matching of the holding gesture adopted by the user and the holding gesture indicated by the prompt information, acquiring holding gesture data corresponding to the holding gesture adopted by the user for holding the electronic equipment, and performing touch operation data corresponding to the touch operation.
Further, the touch operation data may include a sliding track between the operation part of the user and the touch panel, and the step 2022 determines whether the holding posture adopted by the user matches the holding posture indicated by the prompt information according to the touch operation data may include: determining an operation part corresponding to the touch operation according to the operation part of the user and the sliding track of the touch panel; and determining whether the holding gesture adopted by the user is matched with the holding gesture indicated by the prompt information or not according to the operation part corresponding to the touch operation and the holding part corresponding to the holding gesture indicated by the prompt information.
It should be noted that, when the user performs the holding operation and the touch operation according to the prompt information, data of the holding gesture and the touch operation are detected. However, in order to determine the correctness of the acquired data, verification needs to be performed, and one way may be to determine an operation portion corresponding to the touch operation according to the operation portion of the user and the sliding track of the touch panel, and verify whether the holding gesture adopted by the user matches the holding gesture indicated by the prompt information according to the operation portion corresponding to the touch operation and the holding portion corresponding to the holding gesture indicated by the prompt information.
Further, the determining, according to the operation portion corresponding to the touch operation and the holding portion corresponding to the holding gesture indicated by the prompt information, whether the holding gesture adopted by the user matches the holding gesture indicated by the prompt information may include: if the operation part is a thumb and belongs to a hand corresponding to the holding part, determining that the holding posture adopted by the user is matched with the holding posture indicated by the prompt information; or if the operation part is a finger and does not belong to the hand corresponding to the holding part, determining that the holding posture adopted by the user is matched with the holding posture indicated by the prompt information.
For example, when the holding gesture indicated by the prompt information is left-handed holding and the detected operation part of the user is the left thumb, it may be determined that the user is left-handed holding or left-handed operation, that is, the holding gesture adopted by the user matches the holding gesture indicated by the prompt information; if the holding gesture prompted by the prompt message is left-handed holding, and the detected operation part of the user is the index finger of the right hand, the left-handed holding and the right-handed operation can be determined, namely the holding gesture adopted by the user is matched with the holding gesture indicated by the prompt message. When the user holds the hand, the user can perform touch operation with the thumb of the left hand or with any finger of the right hand, and whether the holding part adopted by the user is correct can be verified reversely by determining the operation part corresponding to the touch operation.
Further, when the holding portion and the operation portion of the user belong to the same hand, the operation portion may be a finger, and determining the operation portion corresponding to the touch operation according to the sliding track between the operation portion of the user and the touch panel may include: determining a midpoint according to a starting point of the sliding track and an end point of the sliding track, wherein the midpoint is a midpoint of a connecting line of the starting point and the end point; determining an intersection point of a perpendicular bisector of the sliding track and the sliding track; and determining an operation part corresponding to the touch operation according to the magnitude relation between the difference value of the abscissa of the midpoint and the intersection point and a difference value threshold, wherein if the difference value is greater than the difference value threshold, the operation part is a right hand finger, and if the difference value is less than the difference value threshold, the operation part is a left hand finger.
It should be noted that, according to the sliding data entered by the user, the positions of the finger joints relative to the mobile phone screen are calculated by combining the movement characteristic trajectories of the finger joints of the human body with ergonomics, so that the mobile phone operator can hold the mobile phone with one left hand, one right hand or both hands. The trajectory calculation can assist in interpreting the holding posture, and can also be used for conjecturing the contact area of the tiger's mouth and the big thenar by combining the acquired holding posture data for restraining the area setting.
For example, fig. 6 is a schematic diagram of a thumb sliding track provided in an embodiment of the present application, as shown in fig. 6, a coordinate system is preset on a screen of an electronic device, a lower left corner of the electronic device facing a user's sight line is used as an origin, an x axis is a lower edge line of the electronic device, a y axis is a left edge line of the electronic device, left and right hand operation judgment is recognized by using track data, and a corresponding geometric relationship is shown in fig. 6. The identification method comprises the following steps: first, process (x) 1 ,y 1 ) And (x) 2 ,y 2 ) Midpoint of straight line segment (x) z ,y z ) Making a perpendicular bisector L and intersecting the arc line at (x) 0 ,y 0 ) And (4) point. Midpoint:
Figure BDA0003763273630000131
the perpendicular bisector L:
Figure BDA0003763273630000132
Figure BDA0003763273630000133
by calculating (x) z ,y z ) And (x) 0 ,y 0 ) The relative coordinate position of (a) determines whether the thumb is operated to slide the screen with the left hand or the right hand, when (x) z -x 0 )>When 0, the mobile phone is operated by the right hand, when (x) z -x 0 )<And when 0, the mobile phone is operated by the left hand.
Further, when the holding portion and the operation portion of the user do not belong to the same hand, the operation portion may be a finger, and determining the operation portion corresponding to the touch operation according to the sliding track between the operation portion of the user and the touch panel may include: and determining an operation part corresponding to the touch operation according to the fingerprint characteristics of the sliding track.
It can be understood that the preset identification model arranged in the electronic device can be used for learning and marking according to the fingerprint characteristics of click capacity data, and the touch finger type, namely the finger action of the left hand and the right hand, can be accurately identified. Thus, after the user inputs click data or swipe data, it is possible to determine which finger of which hand is operated from the fingerprint.
Fig. 7 is a flowchart of another method for preventing false touch according to an embodiment of the present application, and as shown in fig. 7, on the basis of the embodiment shown in fig. 3, after step 203, that is, after obtaining the holding gesture data and the touch operation data generated by the user in the plurality of holding gestures, the method may further include:
step 204: and determining a corresponding inhibition area under each holding gesture according to the holding gesture data and the touch operation data generated under each holding gesture.
It should be noted that, by analyzing the holding posture data and the touch operation data corresponding to one holding posture, the suppression area corresponding to the holding posture can be determined, and after processing the holding posture data and the touch operation data corresponding to each of the plurality of holding postures by the same method, the suppression area corresponding to each holding posture is obtained, and the suppression area data can be used for training the preset recognition model.
Step 205: and training the preset recognition model according to the holding posture data, the touch operation data and the corresponding inhibition area under each holding posture generated under the plurality of holding postures to obtain the trained recognition model.
It should be noted that a preset identification model is built in the electronic device before the electronic device leaves the factory, and the model can accurately identify the touch finger type, that is, which finger motion of the left hand and the right hand, by learning and marking the fingerprint features of the click-through capacity data by using a disclosed image feature deep learning method. Due to the fact that the characteristics of the hands of each user are different, the preset recognition model is trained by using the characteristic data of personal holding and touch of the user, and the accuracy of the model can be further improved.
In this embodiment, 80% of the acquired holding posture data and touch operation data generated by the user in the plurality of holding postures can be used as a training set, and 20% of the acquired holding posture data and touch operation data can be used as a checking set to be applied to a preset recognition model for correction, so that the model recognition accuracy can be greatly improved after the model is corrected.
In some embodiments, the electronic device has a plurality of suppression areas preset therein, and the step 204 determines, according to the holding posture data and the touch operation data generated in each of the holding postures, a suppression area corresponding to each of the holding postures, which may include: determining a target inhibition area corresponding to the holding posture; acquiring holding posture data in the target inhibition area in the holding posture data; determining at least one polygon according to the holding posture data in the target inhibition area; determining a maximum bounding rectangle of the at least one polygon; and determining the maximum circumscribed rectangle as a corresponding inhibition area under the holding posture.
It should be noted that, in order to quickly determine the corresponding suppression area in the holding posture, the electronic device may preset the suppression area and the corresponding relationship between the holding posture and the suppression area.
Fig. 8 is a schematic diagram illustrating a setting of preset suppression areas of a vertical screen according to an embodiment of the present application, where as shown in fig. 8, the preset suppression areas of the vertical screen may include 6 preset suppression areas, where (1) - (6) in the diagram are an upper left corner area, a long left side area, a lower left corner area, an upper right corner area, a long right side area, and a lower right corner area.
Fig. 9 is a schematic diagram illustrating a setting of preset suppression areas of a transverse screen according to an embodiment of the present application, where as shown in fig. 9, the preset suppression areas of the transverse screen may also include 6 preset suppression areas, where (1) - (6) in the diagram are an upper right corner area, an upper long edge area, an upper left corner area, a lower right corner area, a lower long edge area, and a lower left corner area, respectively.
It should be noted that each holding posture may have a corresponding preset suppression area, so that after the holding posture is determined, the range of the corresponding suppression area that needs to be suppressed, that is, the corresponding target suppression area, may be determined, then the holding posture data in the target suppression area may be obtained, the corresponding polygon may be determined according to the holding posture data, and the maximum circumscribed rectangle of the polygon may be solved, where the maximum circumscribed rectangle is the corresponding suppression area.
The calculation method of the rectangular area of the inhibition area in the holding posture can be as follows: and acquiring irregular graphs corresponding to the acquired touch screen capacitance value change data under the holding gesture, and calculating the maximum external rectangle of the irregular graphs.
Fig. 10 is a schematic diagram of a maximum circumscribed rectangle provided in this embodiment of the application, as shown in fig. 10, the electronic device detects 3 contact areas on the left side relative to the user's sight line, the left 3 contact areas are located in the (2) th area in fig. 8, the first maximum circumscribed rectangle is solved, the electronic device detects 1 contact area on the right side relative to the user's sight line, and the second maximum circumscribed rectangle is solved, so that the suppression area of the electronic device is the first maximum circumscribed rectangle and the second maximum circumscribed rectangle area marked by two dotted lines in the drawing.
Illustratively, when the holding posture of fig. 4a is recognized, the areas (5) and (2) in fig. 8 are taken as target suppression areas, the suppression areas are the areas of the maximum circumscribed rectangles calculated according to the holding posture data, and the centers of the rectangles (5) and (2) are aligned in height; when the holding posture of the user is recognized, areas (3) and (6) in the image 8 are used as target suppression areas, and the suppression area is the maximum circumscribed rectangular area calculated according to the holding posture data; when the holding posture of fig. 4c is recognized, the areas (1), (2), (4) and (5) in fig. 8 are used as target inhibition areas, the inhibition range is the maximum circumscribed rectangle area calculated according to the holding posture data, and the top ends of the rectangles (5) and (2) are highly aligned; when the holding posture of fig. 4d is recognized, the areas (2), (3), (5) and (6) in fig. 8 are taken as target inhibition areas, the inhibition range is the maximum circumscribed rectangle area calculated according to the holding posture data, and the top ends of the rectangles (5) and (2) are highly aligned; when the holding posture diagram in fig. 5a is recognized, the region (4) in fig. 9 is taken as a target suppression region, other regions are not suppressed at the moment, and the suppression range is the maximum circumscribed rectangular area calculated according to the holding posture data; when the holding posture of the figure 5b is recognized, the areas (1), (5) and (4) in the figure 9 are used as target inhibition areas, other areas are not inhibited at the moment, and the inhibition range is the maximum circumscribed rectangular area calculated according to the holding posture data; when the holding posture of fig. 5c is recognized, the regions (4), (5) and (6) in fig. 9 are taken as target suppression regions, other regions are not suppressed at this time, and the suppression range is the maximum circumscribed rectangular area calculated according to the holding posture data; when the holding posture of fig. 5d is recognized, 5 regions except (2) in fig. 9 are used as target suppression regions, and at this time, other regions are not suppressed, and the suppression range is the maximum circumscribed rectangular area calculated according to the holding posture data.
It can be understood that, in the training stage, the data are input into a preset recognition model for training to obtain a trained recognition model, and the edge anti-false-touch method based on the holding recognition can be realized by using the trained recognition model.
In the method provided by the embodiment, the acquired contact data is input into the trained recognition model, and the trained recognition model recognizes the holding finger touch state according to the variation characteristics of the induction quantity during holding operation and touch operation to dynamically set the suppression area. The core for realizing the method is to collect data of a user under various holding postures and touch control operation, analyze, calculate and mark the data, and train a preset recognition model to obtain the trained recognition model.
When data of a user under various holding postures and touch control operation are collected, 10 finger sensing data, holding data, touch control operation data and the like of the user are included, finger recognition prejudgment is calculated and formed, a high-frequency palm pressure area is learned and memorized according to different holding postures, and through a touch control algorithm and judgment logic built in a trained recognition model, the electronic equipment can automatically recognize touch control intentions and dynamically restrain the palm pressure area according to different holding postures and finger touch control actions in the holding use process of the electronic equipment, so that quality risks and hidden dangers of insensitivity of edges or holding false triggering and the like caused by using a static set restraining area are flexibly avoided.
According to the scheme provided by the application, the left hand and the right hand of the electronic equipment are automatically sensed, hardware configuration does not need to be newly added, the manufacturing cost of the electronic equipment can be saved, and the system is convenient to upgrade. In addition, because the finger movement of the current actual operation is memorized and judged, the method has higher real-time performance and accuracy of identifying the left hand and the right hand of the operation of the electronic equipment, and can accurately set the range of the inhibition area under different holding postures. The scheme can be used for the edge anti-false touch mechanism of electronic equipment with different edge forms (a straight screen, a curved screen, a folding screen scroll screen and the like).
It is to be understood that some or all of the steps or operations in the above-described embodiments are merely examples, and other operations or variations of various operations may be performed by the embodiments of the present application. Further, the various steps may be performed in a different order presented in the above-described embodiments, and it is possible that not all of the operations in the above-described embodiments are performed.
The false touch prevention method according to the embodiment of the present application is described in detail above with reference to fig. 1 to 10, and the false touch prevention device according to the embodiment of the present application is described in detail below with reference to fig. 11 to 12.
Fig. 11 is a schematic structural diagram of a false touch prevention device according to an embodiment of the present disclosure, and as shown in fig. 11, the device 1100 includes: an acquisition module 1101, a processing module 1102 and an execution module 1103.
The obtaining module 1101 is configured to obtain current contact data of a user on a touch panel of the electronic device; the processing module 1102 is configured to input the current contact data into a trained recognition model, so as to obtain a suppression area corresponding to the current contact data, where the trained recognition model is obtained by training a preset recognition model through holding posture data and touch operation data generated by a user under multiple holding postures, the holding posture data is used to indicate contact data generated by a holding part of the user contacting the touch panel, and the touch operation data is used to indicate contact data generated by a touch operation of an operating part of the user on the touch panel; an executing module 1103, configured to execute a first operation on a suppression area corresponding to the current contact data, where the first operation is used to control a touch sensitivity of the suppression area corresponding to the current contact data to be less than or equal to a sensitivity threshold.
Please refer to the embodiments shown in fig. 2 to fig. 10 for a specific execution process of the obtaining module 1101, the processing module 1102 and the executing module 1103, which is not described herein again.
It should be appreciated that the anti-false touch device 1100 herein is embodied in the form of a functional module. The term module herein may refer to an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor (e.g., a shared, dedicated, or group processor) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that support the described functionality. In an optional example, it may be understood by those skilled in the art that the false touch prevention device 1100 may be embodied as the electronic device in the foregoing embodiment, or functions of the electronic device in the foregoing embodiment may be integrated in the false touch prevention device 1100, and the false touch prevention device 1100 may be configured to execute each process and/or step corresponding to the electronic device in the foregoing method embodiment, and details are not described herein again to avoid repetition.
The false touch prevention device 1100 has a function of implementing corresponding steps executed by the electronic device in the method; the above functions may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
In the embodiment of the present application, the anti-false touch device 1100 in fig. 12 may also be a chip or a chip system, for example: system on chip (SoC).
Fig. 12 is a schematic structural diagram of another false touch prevention device according to an embodiment of the present application, where the false touch prevention device 1200 includes: a processor 1201 and a memory 1202, a communication interface 1203, and a bus 1204. The memory 1202 is configured to store instructions, and the processor 1201 is configured to execute the instructions stored by the memory 1202. The processor 1201, the memory 1202, and the communication interface 1203 are communicatively coupled to each other via a bus 1204. For example, the processor 1201 is configured to input the current contact data into the trained recognition model, obtain a suppression area corresponding to the current contact data, perform a first operation on the suppression area corresponding to the current contact data, and enable the touch sensitivity of the suppression area corresponding to the current contact data to be smaller than or equal to a sensitivity threshold through the first operation, so as to prevent a user from mistakenly touching the touch screen.
It should be understood that the false touch prevention device 1200 may be embodied as the electronic device in the above-described embodiment, the functions of the electronic device in the above-described embodiment may be integrated in the false touch prevention device 1200, and the false touch prevention device 1200 may be configured to perform each step and/or flow corresponding to the electronic device in the above-described method embodiment.
The memory 1202 may alternatively comprise read-only memory and random access memory, and provides instructions and data to the processor 1201. A portion of the memory 1202 may also include non-volatile random access memory. For example, memory 1202 may also store device type information. The processor 1201 may be configured to execute instructions stored in the memory, and when the processor executes the instructions, the processor 1201 may perform the steps and/or processes corresponding to the electronic device in the method embodiments.
The embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and when the computer instructions are executed on an electronic device, the electronic device is enabled to execute the aforementioned holding mode detection method.
The computer-readable storage medium described above may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM) or flash memory, an optical fiber, a portable compact disc read only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present specification may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The embodiments of the present application also provide a computer program product, which when run on a computer, causes the computer to execute some or all of the steps in the above method embodiments.
Through the description of the foregoing embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the functional modules is used for illustration, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules, so as to complete all or part of the functions described above.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application, or portions of the technical solutions that substantially contribute to the prior art, or all or portions of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A false touch prevention method is applied to electronic equipment and comprises the following steps:
acquiring current contact data of a user on a touch panel of the electronic equipment;
inputting the current contact data into a trained recognition model to obtain a suppression area corresponding to the current contact data, wherein the trained recognition model is obtained by training a preset recognition model through holding posture data and touch operation data generated by a user under various holding postures, the holding posture data is used for indicating contact data generated by the contact between a holding part of the user and the touch panel, and the touch operation data is used for indicating contact data generated by the touch operation of an operation part of the user on the touch panel;
and executing a first operation on the inhibition area corresponding to the current contact data, wherein the first operation is used for controlling the touch sensitivity of the inhibition area corresponding to the current contact data to be less than or equal to a sensitivity threshold.
2. The method of claim 1, wherein prior to obtaining current contact data of a user on a touch panel of the electronic device, the method further comprises:
outputting prompt information, wherein the prompt information is used for indicating a holding gesture of a user holding the electronic equipment and touch operation performed by the user in the holding gesture;
acquiring holding gesture data corresponding to the electronic equipment held by the user in the holding gesture and touch operation data corresponding to the touch operation performed by the user;
and repeating the steps to obtain the holding gesture data and the touch operation data generated by the user under the various holding gestures.
3. The method according to claim 2, wherein the acquiring of the holding gesture data corresponding to the user holding the electronic device with the holding gesture and the touch operation data corresponding to the touch operation performed by the user comprises:
detecting holding gesture data corresponding to the fact that the user holds the electronic equipment in the holding gesture and touch operation data corresponding to the fact that the user conducts touch operation;
determining whether the holding gesture adopted by the user is matched with the holding gesture indicated by the prompt information according to the touch operation data;
and responding to the matching of the holding gesture adopted by the user and the holding gesture indicated by the prompt information, acquiring holding gesture data corresponding to the holding gesture adopted by the user for holding the electronic equipment, and performing touch operation data corresponding to the touch operation.
4. The method according to claim 3, wherein the touch operation data includes a sliding trajectory of the operation portion of the user and the touch panel, and the determining whether the holding gesture adopted by the user matches the holding gesture indicated by the prompt information according to the touch operation data includes:
determining an operation part corresponding to the touch operation according to the operation part of the user and the sliding track of the touch panel;
and determining whether the holding gesture adopted by the user is matched with the holding gesture indicated by the prompt information or not according to the operation part corresponding to the touch operation and the holding part corresponding to the holding gesture indicated by the prompt information.
5. The method according to claim 4, wherein the operating portion is a finger, and the determining whether the holding posture adopted by the user matches the holding posture indicated by the prompt information according to the operating portion corresponding to the touch operation and the holding portion corresponding to the holding posture indicated by the prompt information includes:
if the operation part is a thumb and belongs to a hand corresponding to the holding part, determining that the holding posture adopted by the user is matched with the holding posture indicated by the prompt information; or the like, or, alternatively,
and if the operation part is a finger and does not belong to the hand corresponding to the holding part, determining that the holding posture adopted by the user is matched with the holding posture indicated by the prompt information.
6. The method according to claim 4, wherein the operation portion is a finger, and the determining an operation portion corresponding to the touch operation according to the operation portion of the user and the sliding track of the touch panel comprises:
determining a midpoint according to a starting point of the sliding track and an end point of the sliding track, wherein the midpoint is a midpoint of a connecting line of the starting point and the end point;
determining an intersection point of a perpendicular bisector of the sliding track and the sliding track;
and determining an operation part corresponding to the touch operation according to the magnitude relation between the difference value of the abscissa of the midpoint and the intersection point and a difference value threshold, wherein if the difference value is greater than the difference value threshold, the operation part is a right hand finger, and if the difference value is less than the difference value threshold, the operation part is a left hand finger.
7. The method according to claim 4, wherein the operation portion is a finger, and the determining the operation portion corresponding to the touch operation according to the sliding track comprises:
and determining an operation part corresponding to the touch operation according to the fingerprint characteristics of the sliding track.
8. The method of claim 2, wherein after obtaining the grip gesture data and the touch operation data generated by the user at the plurality of grip gestures, the method further comprises:
determining a corresponding inhibition area under each holding gesture according to the holding gesture data and the touch operation data generated under each holding gesture;
and training the preset recognition model according to the holding posture data, the touch operation data and the corresponding inhibition area under each holding posture generated under the plurality of holding postures to obtain the trained recognition model.
9. The method according to claim 8, wherein a plurality of suppression areas are preset in the electronic device, and determining a suppression area corresponding to each of the holding postures according to the holding posture data and the touch operation data generated in each of the holding postures comprises:
determining a target inhibition area corresponding to the holding posture;
acquiring holding posture data in the target inhibition area in the holding posture data;
determining at least one polygon according to the holding posture data in the target inhibition area;
determining a maximum bounding rectangle of the at least one polygon;
and determining the maximum external rectangle as a corresponding inhibition area under the holding posture.
10. An anti-false touch device, comprising:
the acquisition module is used for acquiring current contact data of a user on a touch panel of the electronic equipment;
the processing module is used for inputting the current contact data into a trained recognition model to obtain a suppression area corresponding to the current contact data, the trained recognition model is obtained by training a preset recognition model through holding posture data and touch operation data generated by a user under various holding postures, the holding posture data is used for indicating contact data generated by the contact between a holding part of the user and the touch panel, and the touch operation data is used for indicating contact data generated by the touch operation of an operation part of the user on the touch panel;
and the execution module is used for executing a first operation on the suppression area corresponding to the current contact data, wherein the first operation is used for controlling the touch sensitivity of the suppression area corresponding to the current contact data to be less than or equal to a sensitivity threshold so as to prevent a user from mistakenly touching the suppression area.
11. An electronic device, comprising: one or more processors; a memory; wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions that, when executed by the processor, cause the electronic device to perform the method of any of claims 1-9.
12. A computer readable storage medium comprising computer instructions which, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1-9.
CN202210878003.XA 2022-07-25 2022-07-25 False touch prevention method and device, storage medium and electronic equipment Withdrawn CN115237327A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210878003.XA CN115237327A (en) 2022-07-25 2022-07-25 False touch prevention method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210878003.XA CN115237327A (en) 2022-07-25 2022-07-25 False touch prevention method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115237327A true CN115237327A (en) 2022-10-25

Family

ID=83674792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210878003.XA Withdrawn CN115237327A (en) 2022-07-25 2022-07-25 False touch prevention method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115237327A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932825A (en) * 2015-06-15 2015-09-23 金陵科技学院 Method for automatically sensing left hand/right hand to operate mobile phone and determining moving thermal region of thumb
CN106708263A (en) * 2016-12-16 2017-05-24 广东欧珀移动通信有限公司 Method and device for preventing mistaken touch of touch screens and mobile terminal
CN106775405A (en) * 2016-12-16 2017-05-31 广东欧珀移动通信有限公司 A kind of touch-screen false-touch prevention method of mobile terminal, device and mobile terminal
CN109710111A (en) * 2018-12-30 2019-05-03 联想(北京)有限公司 A kind of false-touch prevention method and electronic equipment
CN112068730A (en) * 2020-08-27 2020-12-11 北京小米移动软件有限公司 Point output control method, point output control device, and storage medium
CN113190156A (en) * 2021-05-13 2021-07-30 杭州网易云音乐科技有限公司 Music playing control method and device, storage medium and electronic equipment
CN113467644A (en) * 2021-07-21 2021-10-01 无锡变格新材料科技有限公司 Calibration method and device of touch equipment, terminal equipment and storage medium
CN113552995A (en) * 2020-04-24 2021-10-26 深圳市万普拉斯科技有限公司 Mobile terminal false touch prevention method and device, computer equipment and storage medium
CN114185444A (en) * 2020-08-24 2022-03-15 北京小米移动软件有限公司 Method and device for preventing mistaken touch of touch screen and storage medium
CN114612283A (en) * 2022-03-18 2022-06-10 北京达佳互联信息技术有限公司 Image processing method, image processing device, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932825A (en) * 2015-06-15 2015-09-23 金陵科技学院 Method for automatically sensing left hand/right hand to operate mobile phone and determining moving thermal region of thumb
CN106708263A (en) * 2016-12-16 2017-05-24 广东欧珀移动通信有限公司 Method and device for preventing mistaken touch of touch screens and mobile terminal
CN106775405A (en) * 2016-12-16 2017-05-31 广东欧珀移动通信有限公司 A kind of touch-screen false-touch prevention method of mobile terminal, device and mobile terminal
CN109710111A (en) * 2018-12-30 2019-05-03 联想(北京)有限公司 A kind of false-touch prevention method and electronic equipment
CN113552995A (en) * 2020-04-24 2021-10-26 深圳市万普拉斯科技有限公司 Mobile terminal false touch prevention method and device, computer equipment and storage medium
CN114185444A (en) * 2020-08-24 2022-03-15 北京小米移动软件有限公司 Method and device for preventing mistaken touch of touch screen and storage medium
CN112068730A (en) * 2020-08-27 2020-12-11 北京小米移动软件有限公司 Point output control method, point output control device, and storage medium
CN113190156A (en) * 2021-05-13 2021-07-30 杭州网易云音乐科技有限公司 Music playing control method and device, storage medium and electronic equipment
CN113467644A (en) * 2021-07-21 2021-10-01 无锡变格新材料科技有限公司 Calibration method and device of touch equipment, terminal equipment and storage medium
CN114612283A (en) * 2022-03-18 2022-06-10 北京达佳互联信息技术有限公司 Image processing method, image processing device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
EP3514667B1 (en) Method and terminal for preventing false touch
EP3062200B1 (en) Touch processing method and electronic device for supporting the same
KR102109649B1 (en) Method for correcting coordination of electronic pen and potable electronic device supporting the same
EP2805220B1 (en) Skinnable touch device grip patterns
EP2437147B1 (en) Information processing device, information processing method, and program
US9671893B2 (en) Information processing device having touch screen with varying sensitivity regions
JP5507494B2 (en) Portable electronic device with touch screen and control method
US9218121B2 (en) Apparatus and method recognizing touch gesture
EP3035154A1 (en) Method and apparatus for recognizing grip state in electronic device
US20110242038A1 (en) Input device, input method, and computer program for accepting touching operation information
EP2778849A1 (en) Method and apparatus for operating sensors of user device
CN109558061B (en) Operation control method and terminal
EP2752741B1 (en) Electronic apparatus and method for determining validity of touch key input used for the electronic apparatus
KR20150068479A (en) Adapting user interface based on handedness of use of mobile computing device
WO2017197636A1 (en) Method for identifying palm rejection operation and electronic device
US20150160731A1 (en) Method of recognizing gesture through electronic device, electronic device, and computer readable recording medium
US20150301647A1 (en) Touch panel-type input device, method for controlling the same, and storage medium
US20130154947A1 (en) Determining a preferred screen orientation based on known hand positions
WO2018040559A1 (en) Mobile terminal and interactive control method and device therefor
EP3792740A1 (en) Key setting method and device, and storage medium
TWI510976B (en) Method of selecting touch input source and electronic device using the same
CN205050078U (en) A wearable apparatus
CN106598422B (en) hybrid control method, control system and electronic equipment
JP6202874B2 (en) Electronic device, calibration method and program
CN110221799A (en) A kind of control method, terminal and computer readable storage medium

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20221025