CN107135660B - False touch prevention method and device and electronic equipment - Google Patents

False touch prevention method and device and electronic equipment Download PDF

Info

Publication number
CN107135660B
CN107135660B CN201580050925.XA CN201580050925A CN107135660B CN 107135660 B CN107135660 B CN 107135660B CN 201580050925 A CN201580050925 A CN 201580050925A CN 107135660 B CN107135660 B CN 107135660B
Authority
CN
China
Prior art keywords
touch
touch operation
false
operations
response
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.)
Active
Application number
CN201580050925.XA
Other languages
Chinese (zh)
Other versions
CN107135660A (en
Inventor
余亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN107135660A publication Critical patent/CN107135660A/en
Application granted granted Critical
Publication of CN107135660B publication Critical patent/CN107135660B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means

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)
  • User Interface Of Digital Computer (AREA)

Abstract

A false touch prevention method and device and electronic equipment are provided. The method comprises the following steps: detecting N times of touch operations on a touch screen; when a first touch operation is detected on the touch screen, judging whether the first touch operation is a false touch operation or not according to the N times of touch operations, wherein N is a positive integer; and when the first touch operation is judged not to be the false touch operation and has the corresponding first response operation, executing the first response operation. The method and the device for preventing the false touch and the electronic equipment can reduce the false touch operation of a user on the touch screen and improve the user experience.

Description

False touch prevention method and device and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a false touch prevention method and device and electronic equipment.
Background
With the development of electronic technology, mobile intelligent devices such as mobile phones and tablet computers are widely popularized. With the progress of technologies such as the touch screen production process, the size of the touch screen of the mobile intelligent device is also larger and larger. Although the large-size screen brings more effect to the user in the aspects of visual experience and the like, the large screen also brings much inconvenience to the user in some special operation modes, so that the problem of mistaken touch of the user often occurs. For example, when a user walks, the user turns on the screen of a mobile phone in a pocket, the user does not perceive the incoming call, and the mobile phone keeps the screen-on state in the pocket after the call is finished, so that the skin, keys, coins and the like of a human body trigger the touch screen without a fault, the mobile phone cannot automatically enter a standby state, and the power consumption of the mobile phone is increased without a fault.
Disclosure of Invention
The application provides a method and a device for preventing false touch and electronic equipment, so that false touch operation of a user on a touch screen is reduced, and user experience is improved.
In a first aspect, an embodiment of the present application provides a method for preventing false touch, the method including detecting N touch operations on a touch screen; when a first touch operation is detected on the touch screen, judging whether the first touch operation is a false touch operation or not according to N times of touch operations, wherein N is a positive integer; and when the first touch operation is judged not to be the false touch operation and has the corresponding first response operation, executing the first response operation. The historical touch operation record can reflect the use state of the electronic equipment to a certain extent, for example, the probability of the user making a false touch in an intentional state is very low, the false touch generally occurs when an object such as the skin or a key of the user makes an unintentional touch on the touch screen, and the false touch may be continuously generated within a period of time, so that whether the current touch operation is the false touch operation can be judged according to the N touch operations, and the probability of the false touch operation is reduced.
According to the first aspect, in a first possible implementation manner of the false touch prevention method, the N touch operations include the first touch operation and a touch operation within a first time length before the first touch operation. For example, whether the current touch operation is the false touch operation can be judged only according to the characteristics of the current touch operation, whether the current touch operation is the false touch operation can also be judged together according to the current touch operation and the historical touch operation, and whether the current touch operation is the false touch operation can also be judged according to the historical touch operation.
According to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the false touch prevention method, the proportion of touch operations with corresponding response operations in the N touch operations is calculated according to the N touch operations; and if the proportion is less than or equal to the threshold value, judging that the first touch operation is false touch operation. When an object such as a user's skin or a key unintentionally touches the touch panel, the operation is an unintended operation by the user, and therefore, the erroneous touch operation generally does not have a corresponding response operation, and cannot interact with a user interface object, for example. And if the proportion of the touch operation with the corresponding response operation in the N times of touch operations is smaller, the probability that the touch operation is mistaken touch operation is higher, otherwise, the probability that the touch operation is mistaken touch operation is lower.
According to the first aspect or the first possible implementation manner of the first aspect, in a third possible implementation manner of the false touch prevention method, a contact distance and a time interval of any two adjacent touch operations in the N touch operations are obtained; and judging whether the first touch operation is a false touch operation or not according to the contact distance and the time interval of any two adjacent touch operations in the N touch operations. Most users touch the touch screen in an unconscious state at a minimum time interval threshold corresponding to the contact distance of two adjacent touch operations on the touch screen, and the time interval of the two adjacent touch operations is possibly smaller than the minimum time interval threshold corresponding to the contact distance of the two adjacent touch operations, so that whether the current touch operation is a false touch operation can be judged according to the minimum time interval threshold.
In a fourth possible implementation manner of the false touch prevention method according to the first aspect or any implementation manner of the first aspect, when it is determined that the first touch operation is a false touch operation and the first touch operation has a corresponding second response operation, a user verification prompt for the first touch operation is displayed on the touch screen; and determining whether to execute the second response operation according to the verification information input by the user. In order to prevent misjudgment of the touch operation, when the first touch operation is judged to be the mistouch operation, a user verification prompt aiming at the first touch operation is displayed on the touch screen for further confirmation of a user, so that the user experience is improved, and the misjudgment probability of a system is reduced.
In a second aspect, an embodiment of the present application provides a false touch prevention device having a function of implementing the method in the first aspect or any one of the above implementation manners of the first aspect. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions. In one possible design, the apparatus includes: the detection unit is used for detecting N times of touch operations on the touch screen; the judging unit is used for judging whether the first touch operation is mistaken touch operation or not according to the N times of touch operations when the first touch operation is detected on the touch screen, wherein N is a positive integer; and the response unit is used for executing the first response operation when the first touch operation is judged not to be the false touch operation and the first touch operation has the corresponding first response operation.
In a third aspect, an embodiment of the present application provides an electronic device having a function of implementing the method in the first aspect or any one of the implementation manners of the first aspect. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
In one possible design, the electronic device includes: a touch screen, a memory and a processor; the touch screen is used for generating an interrupt signal when touch operation is detected; the processor is coupled with the touch screen, and the processor is configured to: acquiring N interrupt signals respectively corresponding to N touch operations on the touch screen; when an interrupt signal corresponding to a first touch operation on the touch screen is acquired, judging whether the first touch operation is a false touch operation or not according to the N times of touch operations, wherein N is a positive integer; and when the first touch operation is judged not to be the false touch operation and has the corresponding first response operation, executing the first response operation.
In a fourth aspect, an embodiment of the present invention provides a computer storage medium for storing computer software instructions for the electronic device, which includes a program designed to execute the method in the first aspect or any one of the implementation manners of the first aspect.
Compared with the prior art, the scheme provided by the invention can reduce the false touch operation of the touch screen and improve the user experience.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for preventing false touch according to an embodiment of the present invention;
FIG. 3 is an exemplary process for verifying a touch operation according to an embodiment of the present invention;
FIG. 4 is an exemplary process for verifying a touch operation according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a false touch prevention device according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of another electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
In the description of the present invention, it should be understood that the terms "first", "second", "third", etc. are used for descriptive purposes only and are not to be construed as indicating primary and secondary relationships, and therefore should not be construed as limiting the present invention.
FIG. 1 is a block diagram of an electronic device according to one embodiment of the invention. Referring to fig. 1, an electronic device 100 may include a processor 101, a bus 103, a memory 102, and a touch screen 105. The electronic device 100 may include, but is not limited to, wearable devices and other portable and non-portable computing devices such as smart bands, smart watches, Personal Digital Assistants (PDAs), laptop computers, mobile phones, smart phones, netbooks, Mobile Internet Devices (MIDs), ultra portable personal computers (UMPCs), Tablet Personal Computers (TPCs), navigation devices, and the like.
Memory 102 may include one or more storage media including, for example, a hard disk drive, a solid state drive, flash memory, permanent memory such as read only memory ("ROM"), semi-permanent memory such as random access memory ("RAM"), any other suitable type of storage component, or any combination thereof. The memory 102 may be an internal memory or an external memory. The built-in Memory may include at least one of volatile memories such as a Dynamic Random Access Memory (DRAM), a Static Random Access Memory (SRAM), a Synchronous Dynamic Random Access Memory (SDRAM), or a non-volatile Memory such as a one time programmable ROM, a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a mask read only Memory (mask ROM), a flash read only Memory (flash ROM), a flash Memory (NAND flash Memory), a coded flash Memory (NOR flash Memory). In this case, the internal memory may be in the form of a Solid State Drive (SSD). The external memory may include at least one of Compact Flash (CF), Secure Digital (SD), Micro secure digital (Micro-SD), Mini secure digital (Mini-SD), extreme digital (xD), or memory stick (memory stick).
The touch screen 105 provides both an output interface and an input interface between the device and the user. The touch screen 105 then displays visual output to the user. This visual output may include text, graphics, video, and any combination thereof.
The touch screen 105 also accepts user input based on tactile and/or tactile contact. The touch screen 105 forms a touch sensitive surface that accepts user input, the touch screen 105 further including touch screen control circuitry (not shown), and the touch screen 105 senses contact (and any movement or breaking of the touch) on the touch sensitive surface and transforms the detected contact into interaction with user interface objects, such as one or more soft keys, displayed on the touch screen. The touch screen control circuit generates a touch interrupt signal to the processor 101 when a touch is detected. In one exemplary embodiment, the point of contact between the touch screen 105 and the user corresponds to one or more fingers of the user. The touch screen 105 may use LCD (liquid crystal display) technology, LED (light emitting diode) technology, AMOLED (active-matrix organic light-emitting diode) technology, but other display technologies may be used in other embodiments. Also, the touch screen may be configured to be flexible, transparent, or wearable, the touch screen 105 and touch screen controller may detect contact and movement or break thereof using any of a variety of touch sensitive technologies, and may recognize touch input using at least one of capacitive, pressure sensitive, infrared, or ultrasonic. The user may contact the touch screen 105 using any suitable object or accessory, such as a stylus, finger, or the like.
Optionally, the electronic device 100 further comprises a sensor 104. For example, the sensor 104 may include any one of a brightness sensor, an optical sensor, a proximity sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, and an acceleration sensor.
The bus 103 may be a circuit that connects components (for example, the processor 101, the memory 102, the sensor 104, and the touch panel 105) included in the electronic apparatus 100 to each other and enables communication between the components.
The processor 101 is used to execute instructions (e.g., instructions retrieved from the touchscreen 105), interrupt processing, timing, and other functions. In addition, the processor 101 may further include a graphics processing unit (graphics processing unit).
The memory 102 may store instructions or data received by or generated by the processor 101 or other components (e.g., from the sensors 104, the touch screen 105). At this time, the memory may include an internal buffer and an external buffer.
Also, the memory 102 may further include a kernel, middleware, and an Application Programming Interface (API). The kernel may control or manage system resources (e.g., the bus 103, the processor 101, or the memory 102) for performing actions or functions implemented by other program modules (e.g., middleware, APIs, or applications). Furthermore, the kernel may provide an interface for accessing individual components of the electronic device 100 from middleware, an API, or an application for control or management. Middleware may perform mediation to enable an API or application to communicate with a kernel to exchange data. Also, the middleware may assign a priority order of using system resources (e.g., the bus 103, the processor 101, or the memory 102) of the electronic apparatus 100 to job requests received from one or more applications, so that load balancing (load balancing) for the job requests may be performed. An API is an interface for controlling functions provided by a kernel or middleware through an application, and may include at least one interface or function for file control, window control, image processing, or text control.
Fig. 2 is a flowchart illustrating a method for preventing false touches according to some embodiments of the present invention, which may be applied to the electronic device 100 shown in fig. 1.
N touch operations on the touch screen are detected (210). The touch operation on the touch screen includes a touch operation intended by the user, such as a touch operation performed by the user using at least one hand and using one or more fingers. It should be appreciated that the touching operation may be performed using any suitable object or accessory, such as a stylus, touch glove, etc. for manipulating the touch screen. The touch operation may include: one or more taps on the touch screen, maintaining continuous contact with the touch screen, moving the point of contact while maintaining continuous contact, interrupting contact, or any combination thereof.
The touch operation on the touch screen also includes an unintended erroneous touch operation by the user, such as a touch operation generated by the user's skin, keys, coins, etc. unintentionally touching the touch screen.
The interrupt signal generated by the touch operation applied to the touch screen may include, but is not limited to, at least one of an acting position, an acting speed, an acting direction, an acting force, an acting time length, an acting distance, and an interval time length from the last touch operation of the touch operation.
When a first touch operation is detected on the touch screen (220), whether the first touch operation is a false touch operation or not is judged according to the N times of touch operations (230).
The history touch operation record may reflect the use state of the electronic device 100 to a certain extent, for example, the probability of the user making a false touch in an intentional state is very low, the false touch generally occurs when an object such as the skin or a key of the user unintentionally touches the touch screen, and the false touch may continue to occur within a period of time, so that whether the current touch operation is the false touch operation can be determined according to N touch operations, thereby reducing the probability of the false touch.
In some embodiments, when a first touch operation is detected on the touch screen, whether the first touch operation is a false touch operation may be determined according to N touch operations within a first time period before the first touch operation, where N is a positive integer. In one possible implementation, N touch operations within a first time period before the first touch operation are consecutive N touch operations. In another possible embodiment, the N touch operations within the first time period before the first touch operation are N touch operations selected at certain intervals, for example, 5 touch operations in the first ten seconds before the first touch operation, and the first, third and fifth touch operations are taken as inputs of the subsequent calculation, where the value of N is 3.
In some embodiments, when a first touch operation is detected on the touch screen, whether the first touch operation is a false touch operation may be further determined according to the first touch operation and M-1 touch operations within a first time period before the first touch operation, where M is a positive integer greater than 1.
The size of N can influence the accuracy degree of mistouch operation judgment: the smaller N is, the shorter the time required by the judgment of the false touch operation is, but the accuracy is reduced; the larger N is, the longer the time required for the judgment of the false touch operation is, but the higher the accuracy is. N can be selected by acquiring a large amount of user data to carry out statistical analysis so as to balance two indexes of accuracy and time length required by mistouch operation judgment. Preferably, the value range of N is: n is more than or equal to 2 and less than or equal to 5.
The electronic device 100 may display user interface objects corresponding to one or more functions of the device and/or information that may be of interest to the user on the touch screen. These user interface objects are objects that make up the user interface of the device and may include, but are not limited to, text, images, icons, soft keys (or "virtual buttons"), notification bars, radio buttons, and the like. The displayed user interface objects may include: non-interactive objects for conveying information or forming the appearance of a user interface, interactive objects for user interaction, or a combination thereof. A user may contact the touchscreen at one or more touchscreen locations corresponding to the interaction object with which the user wishes to interact with the user interface object. The device detects a touch operation and responds to the detected touch operation by performing one or more response operations corresponding to interaction of one or more interaction objects. In some embodiments, the device performs a response operation of lighting the touch screen or adjusting the brightness of the touch screen after detecting the user touch operation.
When the touch screen is touched by mistake, because the touch screen is touched by other body parts or objects except for human hands, the corresponding response operation is generally not available for the unintentional touch. For example, in the case of a false touch, the probability of detecting a touch operation in a blank space on the desktop of the mobile phone may increase.
In some embodiments, the proportion of the touch operation with the corresponding response operation in the N touch operations may be calculated according to the N touch operations, and if the proportion is less than or equal to a first threshold, it is determined that the first touch operation is a false touch operation. For example, assuming that the first threshold is 50%, and N is 5, if only five consecutive touch operations within ten seconds before the first touch operation are considered, only two of the five touch operations have corresponding response operations, and since 2/5< 50%, it is determined that the first touch operation is a false touch operation. For another example, still assuming that the first threshold is 50%, and N is 5, if the first touch operation and four consecutive touch operations within the first ten seconds of the first touch operation are considered simultaneously, three of the first four touch operations have corresponding response operations, and the first touch operation also has corresponding response operations, because (3+1)/5> 50%, it is determined that the first touch operation is not a false touch operation.
The human brain and nervous system are not a single organ, but rather, they consist of a collection of neuronal-based organs that provide a large number of different sensory, regulatory, behavioral and cognitive functions that operate at different rates, with the time required for a person to respond to a stimulus varying from person to person, but with the minimum time to respond presenting a limit, and with few people reaching or very close to this limit.
For the touch operation, if the time interval between two adjacent touch screen actions is smaller than the minimum time interval corresponding to the straight-line distance of the touch point of the two adjacent touch screen actions, such two adjacent touch screen actions are unlikely to occur under the human user operation because the human user is unlikely to move the touch point position so quickly in the conscious state, and hereinafter, such two adjacent touch screen actions are referred to as a "pair of impossible touch operations". However, in the case of a false touch, for example, a touch operation generated when the skin, the key, the coin, etc. of the user accidentally touches the touch screen or an object (for example, the key, the coin, etc.) irregularly shakes the touch screen, so that the time interval of two consecutive touch screen actions may be smaller than the minimum time interval corresponding to the contact straight line distance of the two consecutive touch screen actions, and a "touch operation impossible pair" may occur in this case.
In some embodiments, the contact distance and the time interval between any two adjacent touch operations in the N touch operations may be obtained, and whether the first touch operation is a false touch operation is determined according to the contact distance and the time interval between any two adjacent touch operations in the N touch operations. Two adjacent touch operations as shown in table one can be established in advanceThe contact distance d is the minimum time interval t required for a person to perform two adjacent touch operations separated by the contact distanceminThe mapping relationship table of (2).
Watch 1
Figure BDA0001250952770000071
In some embodiments, N touch operations may be sequenced in time, two adjacent touch operations form a pair of "touch operation pairs" in pairs, so as to form N-1 pairs of "touch operation pairs", and then a ratio of the "impossible touch operation pair" in the N-1 pairs of "touch operation pairs" is calculated, and if the ratio is greater than or equal to a second threshold, it is determined that the first touch operation is a false touch operation. For example, assuming that the second threshold is 30% and N is 6, if only six consecutive touch operations within ten seconds before the first touch operation are considered, five pairs of "touch operation pairs" are formed, where there is one pair of "touch operation impossible" pairs, because 1/5< 30%, it is determined that the first touch operation is not a false touch operation. For another example, still assuming that the second threshold is 30%, and N is 5, if the first touch operation and four consecutive touch operations within ten seconds before the first touch operation are considered at the same time, four pairs of "touch operation pairs" are formed, where there are two pairs of "touch operation impossible" pairs, because 2/5> 30%, and thus it is determined that the first touch operation is a false touch operation.
When the first touch operation is determined not to be a false touch operation and the first touch operation has a corresponding first response operation, the first response operation is executed (240, 250).
And when the first touch operation is judged to be the false touch operation and has the corresponding second response operation, displaying a user verification prompt (270) aiming at the first touch operation on the touch screen.
In order to prevent misjudgment of the touch operation, when the first touch operation is judged to be the mistouch operation, a user verification prompt aiming at the first touch operation is displayed on the touch screen for further confirmation of a user, and therefore the probability of the misjudgment of the system is reduced.
Fig. 3 shows an exemplary process of verifying a touch operation, when it is determined that the first touch operation is a false touch operation and the first touch operation has a corresponding second response operation, the touch screen of the electronic device 100 is controlled to display a verification prompt pane 1100 in a second duration, where the prompt pane 1100 includes two soft keys ("yes" and "no"), the user may press the "yes" or "no" soft key to verify the first touch operation, and the area of the "yes" soft key is smaller than that of the "no" soft key, so that if a false touch operation occurs, the probability that the false touch operation occurs in the "no" soft key is greater, and the probability of the false touch operation can be reduced. Meanwhile, the pane 1100 is prompted to move along the track 1200 in the direction 1300 and rotate in the direction 1400, wherein the shape of the track 1200 may be an ellipse, a circle, a rectangle, or other irregular shapes, which is not limited in the embodiments of the present invention. The moving direction and the rotating direction of the prompt pane 1100 along the track 1200 may be clockwise or counterclockwise, which is not limited in the embodiment of the present invention. And if the user presses the 'yes' soft key in the second time length, executing the second response operation. Optionally, if neither the yes soft key nor the no soft key of the prompt pane 1100 is selected or the no soft key is selected within the second duration, the touch screen is extinguished. Optionally, if K touch operations are detected outside the display area of the prompt pane 1100 within the second duration, the touch screen is turned off, where K is a positive integer, and preferably, K is 3 in this embodiment. Optionally, if a touch operation is detected every time outside the display area of the prompt pane 1100, the second duration is shortened, the display time of the prompt pane 1100 is timed according to the shortened second duration, and the touch screen is turned off when the timed duration is up.
Fig. 4 shows another exemplary process of verifying a touch operation, according to an embodiment of the present invention, when it is determined that the first touch operation is a false touch operation and the first touch operation has a corresponding second response operation, the touch screen of the electronic device 100 is controlled to display a verification prompt pane 2100 requesting the user to confirm or reject the first touch operation within a third duration. In the illustrated example, two decision softkeys 2100 are displayed to allow the user to verify the first touch operation by pressing the "yes" softkey, or to stop all operations by pressing the "no" softkey. And if the user presses the 'yes' soft key in the third time length, executing the second response operation. Optionally, if neither the yes soft key nor the no soft key of prompt pane 2100 is selected or the no soft key is selected within the third length of time, the touch screen is extinguished. Optionally, if K touch operations are detected outside the display area of the prompt pane 1100 within the third duration, the touch screen is turned off, where K is a positive integer, and preferably, K is 3 in this embodiment. Optionally, if a touch operation is detected every time outside the display area of the prompt pane 1100, the third time length is shortened, the display time of the prompt pane 1100 is timed according to the shortened third time length, and the touch screen is turned off when the timed time length is up.
In some embodiments, the electronic device 100 maintains a State variable User _ State that identifies whether the User of the electronic device 100 is in a conscious operating State, e.g., assuming that User _ State is 1, the User of the electronic device 100 is in a conscious operating State; when User _ State is 0, the User of the electronic device 100 is in an unintended operation State.
In an alternative embodiment, the determination operation of 230 in fig. 2 is performed if and only if the State variable User _ State is 1, and when it is determined that the first touch operation is not a false touch operation, the value of the State variable User _ State is maintained unchanged, i.e., User _ State is 1, and the first response operation is performed if the first touch operation has a corresponding first response operation; when the first touch operation is determined to be a false touch operation, setting the value of a State variable User _ State to 0, and setting the value of the State variable User _ State to 0, if the first touch operation has a corresponding second response operation, displaying a User verification prompt for the first touch operation on the touch screen, if a yes soft key of the prompt pane 1100 is selected in the second duration, or if a yes soft key of the prompt pane 2100 is selected in the third duration, executing the second response operation, and resetting the value of the State variable User _ State to 1, and setting the value of the State variable User _ State to 1. When the State variable User _ State is 0, the determination operation of 230 in fig. 2 is not performed.
In some embodiments, it may also be determined from the sensor 104 whether the user is in a conscious operating state. For example, a brightness sensor may be used to test whether the environment of the device is dark, and if the environment is dark, the device is considered to be in a pocket or a bag, and then the device is determined to be in an unconscious state at the moment; an optical sensor tracking technique may be used to track the user's eye and determine that the device is in an unintended state if the user's eye is not detected or if the user's eye is detected but the user's point of view is not within the screen.
Fig. 5 is a schematic structural diagram of a false touch prevention device according to an embodiment of the present invention. As shown in fig. 5, the false touch prevention device provided in this embodiment may implement each step of the false touch prevention method applied to the electronic device 100 provided in any embodiment of the present invention, and a specific implementation process is not described herein again. The false touch prevention device provided by the embodiment specifically comprises:
a detection unit 51 for detecting N touch operations on the touch screen;
the judging unit 52 is configured to, when a first touch operation is detected on the touch screen, judge whether the first touch operation is a false touch operation according to the N touch operations, where N is a positive integer;
the response unit 53 is configured to execute the first response operation when it is determined that the first touch operation is not a false touch operation and the first touch operation has a corresponding first response operation.
Optionally, in this embodiment, the N touch operations include the first touch operation and a touch operation within a first duration before the first touch operation. In an optional implementation manner of this embodiment, the determining unit 52 is specifically configured to:
calculating the proportion of the touch operation with the corresponding response operation in the N times of touch operation according to the N times of touch operation;
and if the proportion is less than or equal to the threshold value, judging that the first touch operation is false touch operation.
In another optional implementation manner of this embodiment, the determining unit 52 is specifically configured to:
acquiring the contact distance and the time interval of any two adjacent touch operations in the N touch operations;
and judging whether the first touch operation is a false touch operation or not according to the contact distance and the time interval of any two adjacent touch operations in the N touch operations.
Optionally, in this embodiment, the response unit 53 is further configured to:
when the first touch operation is judged to be the false touch operation and the first touch operation has the corresponding second response operation, displaying a user verification prompt aiming at the first touch operation on the touch screen;
and determining whether to execute the second response operation according to the verification information input by the user.
It is understood that the anti-false touch device is described herein as a functional unit, which may be an Application Specific Integrated Circuit (ASIC), an electronic Circuit, or a processor. Specifically, the anti-false touch device may be the electronic device 100 in fig. 1, and the detection unit 51, the judgment unit 52 and the response unit 53 may be implemented by the processor 101, the memory 102 and the touch screen 105 of the electronic device 100.
Fig. 6 is a schematic structural diagram of another electronic device according to the above embodiment, and the following specifically describes each constituent component of the electronic device 300 with reference to fig. 6, and referring to fig. 6, the electronic device 300 includes:
a processor 301, a memory 302, a touch screen 303;
the memory 302 is used for storing instructions or data;
the touch screen 303 is configured to generate an interrupt signal when a touch operation is detected;
the processor 301, the memory 302 and the touch screen 303 are interconnected by a bus 304, said processor being configured to: acquiring N interrupt signals respectively corresponding to N touch operations on the touch screen 303; when an interrupt signal corresponding to a first touch operation on the touch screen 303 is acquired, judging whether the first touch operation is a false touch operation according to the N times of touch operations, wherein N is a positive integer; and when the first touch operation is judged not to be the false touch operation and has the corresponding first response operation, executing the first response operation.
The processor 703 may be involved in the false touch operation determination process and/or other processes for the techniques described herein, particularly by performing the processes of fig. 2-4.
It will be appreciated that fig. 6 only shows a simplified design of the electronic device. In practical applications, the electronic device 300 may comprise the sensor 104 of the electronic device 100 in fig. 1, and all electronic devices that can implement the present invention are within the scope of the present invention.
The scheme provided by the embodiment of the invention is mainly introduced from the perspective of a method. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present invention can be implemented in hardware or a combination of hardware and computer software, with the exemplary elements and algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The processor of the above-described electronic device for performing the present invention may be a Central Processing Unit (CPU), a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied in hardware or in software instructions executed by a processor. The software instructions may consist of corresponding software modules that may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC. Additionally, the ASIC may reside in user equipment. Of course, the processor and the storage medium may reside as discrete components in user equipment.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present invention should be included in the scope of the present invention.

Claims (12)

1. A method of preventing false touches, comprising:
detecting N times of touch operations on a touch screen;
when a first touch operation is detected on the touch screen, judging whether the first touch operation is a false touch operation or not according to the N times of touch operations, wherein N is a positive integer;
when the first touch operation is judged not to be the false touch operation and has the corresponding first response operation, executing the first response operation; wherein, the judging whether the first touch operation is the false touch operation according to the N times of touch operations includes:
calculating the proportion of the touch operation with the corresponding response operation in the N times of touch operation according to the N times of touch operation;
and if the proportion is less than or equal to the threshold value, judging that the first touch operation is false touch operation.
2. The method of claim 1, wherein the N touch operations comprise the first touch operation and a touch operation within a first duration prior to the first touch operation.
3. The method according to claim 1 or 2, wherein the determining whether the first touch operation is a false touch operation according to the N touch operations comprises:
acquiring the contact distance and the time interval of any two adjacent touch operations in the N touch operations;
and judging whether the first touch operation is a false touch operation or not according to the contact distance and the time interval of any two adjacent touch operations in the N touch operations.
4. The method of claim 1 or 2, wherein the method further comprises:
when the first touch operation is judged to be the false touch operation and the first touch operation has the corresponding second response operation, displaying a user verification prompt aiming at the first touch operation on the touch screen;
and determining whether to execute the second response operation according to the verification information input by the user.
5. An anti-false touch device, comprising:
the detection unit is used for detecting N times of touch operations on the touch screen;
the judging unit is used for judging whether the first touch operation is mistaken touch operation or not according to the N times of touch operations when the first touch operation is detected on the touch screen, wherein N is a positive integer;
the response unit is used for executing the first response operation when the first touch operation is judged not to be the false touch operation and has the corresponding first response operation; wherein, the judging whether the first touch operation is the false touch operation according to the N times of touch operations includes:
calculating the proportion of the touch operation with the corresponding response operation in the N times of touch operation according to the N times of touch operation;
and if the proportion is less than or equal to the threshold value, judging that the first touch operation is false touch operation.
6. The apparatus of claim 5, wherein the N touch operations comprise the first touch operation and a touch operation within a first duration prior to the first touch operation.
7. The apparatus according to claim 5 or 6, wherein the determining whether the first touch operation is a false touch operation according to the N touch operations comprises:
acquiring the contact distance and the time interval of any two adjacent touch operations in the N touch operations;
and judging whether the first touch operation is a false touch operation or not according to the contact distance and the time interval of any two adjacent touch operations in the N touch operations.
8. The apparatus of claim 5 or 6, wherein the response unit is further to:
when the first touch operation is judged to be the false touch operation and the first touch operation has the corresponding second response operation, displaying a user verification prompt aiming at the first touch operation on the touch screen;
and determining whether to execute the second response operation according to the verification information input by the user.
9. An electronic device, comprising:
a touch screen, a memory and a processor;
the touch screen is used for generating an interrupt signal when touch operation is detected;
the memory is used for storing instructions or data;
the processor is coupled with the touch screen, and the processor is configured to:
acquiring N interrupt signals respectively corresponding to N touch operations on the touch screen;
when an interrupt signal corresponding to a first touch operation on the touch screen is acquired, judging whether the first touch operation is a false touch operation or not according to the N times of touch operations, wherein N is a positive integer;
when the first touch operation is judged not to be the false touch operation and has the corresponding first response operation, executing the first response operation; wherein, the judging whether the first touch operation is the false touch operation according to the N times of touch operations includes:
calculating the proportion of the touch operation with the corresponding response operation in the N times of touch operation according to the N times of touch operation;
and if the proportion is less than or equal to the threshold value, judging that the first touch operation is false touch operation.
10. The electronic device of claim 9, wherein the N touch operations comprise the first touch operation and a touch operation within a first duration of time prior to the first touch operation.
11. The electronic device according to claim 9 or 10, wherein the determining whether the first touch operation is a false touch operation according to the N touch operations includes:
acquiring the contact distance and the time interval of any two adjacent touch operations in the N touch operations;
and judging whether the first touch operation is a false touch operation or not according to the contact distance and the time interval of any two adjacent touch operations in the N touch operations.
12. The electronic device of claim 9 or 10, wherein the processor is further configured to:
when the first touch operation is judged to be the false touch operation and the first touch operation has the corresponding second response operation, displaying a user verification prompt aiming at the first touch operation on the touch screen;
and determining whether to execute the second response operation according to the verification information input by the user.
CN201580050925.XA 2015-12-11 2015-12-11 False touch prevention method and device and electronic equipment Active CN107135660B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/097170 WO2017096622A1 (en) 2015-12-11 2015-12-11 Method and apparatus for false touch rejection, and electronic device

Publications (2)

Publication Number Publication Date
CN107135660A CN107135660A (en) 2017-09-05
CN107135660B true CN107135660B (en) 2020-01-21

Family

ID=59012593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580050925.XA Active CN107135660B (en) 2015-12-11 2015-12-11 False touch prevention method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN107135660B (en)
WO (1) WO2017096622A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124187A (en) * 2019-12-30 2020-05-08 宝能汽车有限公司 Message sending method and device, touch control equipment, vehicle-mounted terminal and electronic equipment
CN113138662A (en) * 2020-01-19 2021-07-20 珠海格力电器股份有限公司 Method and device for preventing mistaken touch of touch equipment, electronic equipment and readable storage medium
CN113360015A (en) * 2020-03-06 2021-09-07 北京小米移动软件有限公司 Ghost point detection method and device and storage medium
CN111625140B (en) * 2020-05-25 2022-05-06 业成科技(成都)有限公司 Touch test method and touch device
CN114780437B (en) * 2022-05-24 2023-01-31 广州掌动智能科技有限公司 Auxiliary correction method and system for software automatic test script

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176633A (en) * 2011-12-21 2013-06-26 珠海全志科技股份有限公司 Anti-misoperation method, anti-misoperation device and anti-misoperation system of touch screen
CN103186261A (en) * 2011-12-27 2013-07-03 汉王科技股份有限公司 Touch control method and device
CN103744593A (en) * 2013-12-30 2014-04-23 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for preventing mis-operation of mobile terminal
CN104731502A (en) * 2015-03-27 2015-06-24 努比亚技术有限公司 Double-click recognition method and device based on virtual partition touch screen and mobile terminal
CN105045454A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 Method for preventing from wrongly touching terminal and terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101483776B1 (en) * 2012-05-07 2015-01-26 이문상 Method and apparatus of lock screen
CN104281295B (en) * 2013-07-01 2019-07-23 中兴通讯股份有限公司 A kind of method, system and electronic equipment for preventing from sliding false triggering on touch screen
CN104461265A (en) * 2013-09-12 2015-03-25 联想(北京)有限公司 User operation response method and device
CN104536680B (en) * 2014-12-03 2018-06-19 惠州Tcl移动通信有限公司 Mobile terminal operation triggering method and system based on the touch screen operation time

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176633A (en) * 2011-12-21 2013-06-26 珠海全志科技股份有限公司 Anti-misoperation method, anti-misoperation device and anti-misoperation system of touch screen
CN103186261A (en) * 2011-12-27 2013-07-03 汉王科技股份有限公司 Touch control method and device
CN103744593A (en) * 2013-12-30 2014-04-23 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for preventing mis-operation of mobile terminal
CN104731502A (en) * 2015-03-27 2015-06-24 努比亚技术有限公司 Double-click recognition method and device based on virtual partition touch screen and mobile terminal
CN105045454A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 Method for preventing from wrongly touching terminal and terminal

Also Published As

Publication number Publication date
CN107135660A (en) 2017-09-05
WO2017096622A1 (en) 2017-06-15

Similar Documents

Publication Publication Date Title
US11868459B2 (en) Operation method with fingerprint recognition, apparatus, and mobile terminal
US11106246B2 (en) Adaptive enclosure for a mobile computing device
US9733752B2 (en) Mobile terminal and control method thereof
CN107135660B (en) False touch prevention method and device and electronic equipment
JP6602372B2 (en) Inactive area of touch surface based on contextual information
US9317713B2 (en) Obstructing user content based on location
US9244545B2 (en) Touch and stylus discrimination and rejection for contact sensitive computing devices
CN106485124B (en) Operation control method of mobile terminal and mobile terminal
JP2017531246A (en) Handedness detection from touch input
KR101770309B1 (en) Determining input received via tactile input device
KR20160032611A (en) Method and apparatus for controlling an electronic device using a touch input
US10591992B2 (en) Simulation of control areas on touch surface using haptic feedback
EP2983068B1 (en) Electronic device and method for processing letter input in electronic device
JP2019062464A (en) Electronic apparatus
KR102536148B1 (en) Method and apparatus for operation of an electronic device
US10599326B2 (en) Eye motion and touchscreen gestures
KR20190091327A (en) Dynamic space bar
CN116507990A (en) Initiating computing device interaction patterns using off-screen gesture detection
TWI601056B (en) Touch device and its boot method
JP2014110044A (en) Electronic apparatus, display control method and program

Legal Events

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