CN105867789A - Method and method for preventing misoperation - Google Patents

Method and method for preventing misoperation Download PDF

Info

Publication number
CN105867789A
CN105867789A CN201610181333.8A CN201610181333A CN105867789A CN 105867789 A CN105867789 A CN 105867789A CN 201610181333 A CN201610181333 A CN 201610181333A CN 105867789 A CN105867789 A CN 105867789A
Authority
CN
China
Prior art keywords
instruction
processing module
operation instruction
touch
module
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.)
Pending
Application number
CN201610181333.8A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610181333.8A priority Critical patent/CN105867789A/en
Publication of CN105867789A publication Critical patent/CN105867789A/en
Pending legal-status Critical Current

Links

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a device and method for preventing misoperation. The device comprises a detection module and a processing module, wherein the detection module is used for detecting touch operation, triggering a first operation command when the touch operation is detected to be first operation and reporting the first operation command to the processing module; within first buffer time after the first operation command is reported, the touch operation is continued to be detected, when the touch operation is detected to meet a preset condition subsequently, a termination command for terminating the first operation command is sent to the processing module; the processing module is used for receiving the first operation command, when the termination command is received within the first buffer time after the first operation command is received, the first operation command is not executed, and otherwise, the first operation command is executed. In this way, on the basis of guaranteeing response timeliness of the touch operation, the problem of misoperation caused by the touch operation is solved, response accuracy of a mobile terminal is improved, and user experience is upgraded.

Description

Device and method for preventing misoperation
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a device and a method for preventing a malfunction.
Background
At present, the operation mode of a terminal device, particularly a mobile terminal, has been changed from physical key operation to touch operation, and compared with the traditional physical key operation, the touch operation is more convenient and faster and is popular with users, so the touch operation has gradually become a more customary operation mode for users. Although the touch operation has the characteristics of convenience and quickness, misoperation is easily caused, and the response accuracy of the mobile terminal is influenced.
Meanwhile, with the maturity of fingerprint identification technology, more and more mobile terminals are additionally provided with a fingerprint identification function, and besides encryption and unlocking are performed by using the fingerprint identification function, some mobile terminals can also perform navigation operation by using the fingerprint identification function. Under the fingerprint navigation mode, the mobile terminal identifies different touch operations of the user through the fingerprint sensor module, including clicking, long-time pressing, sliding, double-click and the like, so that more convenient and rich operation functions are provided for the user.
The process of the mobile terminal responding to the touch operation of the user in the fingerprint navigation mode comprises the following steps: the fingerprint sensor module detects touch operation, triggers a corresponding operation instruction according to the touch operation, reports the operation instruction to the processing module, and the processing module receives the operation instruction, performs corresponding preparation and then executes the operation instruction. The sliding operation in the fingerprint navigation mode can meet the requirement of a user for quickly and conveniently browsing a menu or a list, and the user obtains better operation experience on the basis of not increasing hardware. However, since the sensing area of the fingerprint sensor module is small and the sensitivity is in an unstable state, the sliding operation in the fingerprint navigation mode is likely to cause a malfunction, that is, the mobile terminal is likely to recognize the malfunction of the user as the sliding operation. Meanwhile, in the navigation mode, various touch operations such as sliding, long-time pressing, clicking, double-clicking and the like exist, and other related operations can be further influenced by misoperation.
In summary, when the existing mobile terminal performs a touch operation, a misoperation is easily caused, so that the response accuracy of the mobile terminal is reduced, and the user experience is affected.
Disclosure of Invention
The invention mainly aims to provide a device and a method for preventing misoperation, and aims to solve the problem that misoperation is easily caused by touch operation of a mobile terminal and improve the response accuracy of the mobile terminal.
In order to achieve the above object, the present invention provides an apparatus for preventing misoperation, comprising a detection module and a processing module, wherein:
the detection module is used for detecting touch operation, and when the detected touch operation is a first operation, triggering a first operation instruction and reporting the first operation instruction to the processing module; continuing to detect touch operation within a first buffer time after the first operation instruction is reported, and sending a termination instruction for terminating the first operation instruction to the processing module when the touch operation detected subsequently meets a preset condition;
the processing module is configured to receive the first operation instruction, and when the termination instruction is received within the first buffer time after the first operation instruction is received, not execute the first operation instruction, otherwise execute the first operation instruction.
Optionally, the detection module is configured to:
when the touch operation detected subsequently is not the first operation, judging that a preset condition is met; or,
and when other operation instructions with higher priority than the first operation instruction are triggered by the subsequently detected touch operation, judging that a preset condition is met.
Optionally, the processing module comprises a bottom layer driving unit and an upper layer processing unit, wherein:
the bottom layer driving unit is used for receiving the first operation instruction reported by the detection module and the sent termination instruction, and reporting the first operation instruction and the sent termination instruction to the upper layer processing unit;
and the upper-layer processing unit is used for receiving the first operation instruction, loading an operation function corresponding to the first operation instruction, running the operation function, and not running the operation function when receiving the termination instruction before running the operation function.
Optionally, the upper layer processing unit executes the operation function immediately after loading the operation function, and the first buffering time is equal to a time taken for the upper layer processing unit to load the operation function.
Optionally, the upper processing unit executes the operation function after delaying a second buffering time after loading the operation function, where the first buffering time is equal to a sum of a time taken by the upper processing unit to load the operation function and the second buffering time.
The invention also provides a method for preventing misoperation, which comprises the following steps:
the detection module detects touch operation, and when the detected touch operation is first operation, a first operation instruction is triggered and reported to the processing module;
the processing module receives the first operation instruction;
the detection module continues to detect touch operation within a first buffer time after the first operation instruction is reported, and sends a termination instruction for terminating the first operation instruction to the processing module when the subsequent detected touch operation meets a preset condition;
when the termination instruction is received within the first buffer time after the first operation instruction is received, the processing module does not execute the first operation instruction, otherwise, the processing module executes the first operation instruction.
Optionally, the method further comprises:
when the touch operation detected subsequently is not the first operation, the detection module judges that a preset condition is met; or,
when other operation instructions with higher priority than the first operation instruction are triggered by the subsequent detected touch operation, the detection module judges that a preset condition is met.
Optionally, the method further comprises:
and after receiving the first operation instruction, the processing module loads an operation function corresponding to the first operation instruction and runs the operation function, and when receiving the termination instruction before running the operation function, the processing module does not run the operation function.
Optionally, the processing module runs the operation function immediately after loading the operation function, and the first buffering time is equal to a time taken for the processing module to load the operation function.
Optionally, the processing module executes the operation function after delaying a second buffering time after loading the operation function, where the first buffering time is equal to a sum of a time taken for the processing module to load the operation function and the second buffering time.
When a first operation which is easy to cause misoperation is detected, starting double threads, and during the period that a processing module is ready to execute a first operation instruction (namely the period from receiving the first operation instruction to executing the first operation instruction), a detection module simultaneously detects subsequent touch operations, thereby judging whether the first operation is the misoperation or not, and when the first operation is judged to be the misoperation, sending a termination instruction to the processing module in time so as to enable the processing module not to execute the first operation instruction, thereby preventing the misoperation. The detection module judges that the flow of the misoperation and the flow of the processing module for preparing to execute the first operation instruction are simultaneously carried out, so that the timeliness of the first operation response is not influenced. Therefore, on the basis of ensuring the response timeliness of the touch operation, the problem of misoperation caused by the touch operation is solved, the response accuracy of the mobile terminal is improved, and the user experience is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
FIG. 3 is a flowchart illustrating a method for preventing malfunction according to a first embodiment of the present invention;
FIG. 4 is a flowchart illustrating a second embodiment of a method for preventing malfunction according to the present invention;
FIG. 5 is a block diagram of a first embodiment of an apparatus for preventing malfunction according to the present invention;
FIG. 6 is a block diagram of a detection module of the apparatus for preventing malfunction shown in FIG. 5;
fig. 7 is a block diagram of a processing module of the apparatus for preventing malfunction shown in fig. 5.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an a/V (audio/video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a mobile communication module 112, a wireless internet module 113.
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display module 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display module 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display module 151, an audio output module 152, an alarm module 153, and the like.
The display module 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display module 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display module 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display module 151 and the touch pad are stacked on each other in the form of layers to form a touch screen, the display module 151 may serve as an input device and an output device. The display module 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. The mobile terminal 100 may include two or more display modules (or other display devices) according to a particular desired implementation, for example, the mobile terminal may include an external display module (not shown) and an internal display module (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 1810 for reproducing (or playing back) multimedia data, and the multimedia module 1810 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to this point, mobile terminals have been described in terms of their functionality. The present invention can be applied to various types of mobile terminals such as a folder type, a bar type, a swing type, a slide type, and the like.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 2750.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it should be understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the hardware structure of the mobile terminal and the communication system, the invention provides various embodiments of the method for preventing misoperation, and the method is applied to the mobile terminal, in particular to a mobile phone.
As shown in fig. 3, a first embodiment of the method of preventing malfunction according to the present invention is proposed, which comprises the steps of:
and S11, detecting the touch operation by the detection module. Judging whether the detected touch operation is a first operation, and executing step S12 when the detected touch operation is the first operation; otherwise, the first operation instruction is not triggered, and the flow is ended.
The detection module may be any device capable of detecting a touch operation, such as a fingerprint sensor module, a pressure sensor module, a touch screen module, and the like. The touch operation comprises clicking, pressing (such as long pressing), sliding and the like.
In the specific implementation process, any touch operation which easily causes misoperation can be defined as the first operation. For example, a click operation may be defined as the first operation, a press operation may be defined as the first operation, or a slide operation may be defined as the first operation.
For example, when the mobile terminal enters the fingerprint navigation mode, a sliding operation is prone to cause a misoperation, that is, when the user sometimes performs a click or press operation, the fingerprint sensor module is often inadvertently slid before the click or press operation, so that the fingerprint sensor module mistakenly thinks that the user wants to perform the sliding operation and reports a sliding operation instruction, and therefore the sliding operation may be defined as a first operation.
When judging whether the touch operation is the first operation, the detection module acquires contact parameter information generated by the touch operation, analyzes whether the contact parameter information accords with a preset definition of the first operation, judges that the touch operation is the first operation when the contact parameter information accords with the preset definition, and judges that the touch operation is the non-first operation if the contact parameter information accords with the preset definition.
For example, taking the first operation as a sliding operation as an example, when the contact parameter information satisfies any one, any two, any three, or all of the following preset definitions, the touch operation is determined as the sliding operation (first operation), otherwise, the touch operation is determined as the non-sliding operation (non-first operation), and the preset definitions include: a) the contact locus has no break point on the fingerprint sensor module; b) the contact track running time does not exceed the preset time; c) the speed of the contact track is within a preset range; d) the travel of the contact trace exceeds a preset travel.
When the detected touch operation is the first operation, the next step S12 is entered, otherwise, the flow ends. The ending process here means ending the process of preventing the misoperation and continuing the normal operation process, for example, if the touch operation is detected as the second operation, the second operation instruction is triggered, and if the touch operation is detected as the third operation, the third operation instruction is triggered, and so on.
And S12, the detection module triggers the first operation instruction and reports the first operation instruction to the processing module.
When the detected touch operation is the first operation, the detection module triggers the first operation instruction and reports the first operation instruction (or called as the first operation event) to the processing module.
S13, the detection module continues to detect the touch operation in the first buffer time after the first operation instruction is reported. When the touch operation is not detected in the first buffer time, the detection module does not respond any more; when the touch operation is detected within the first buffer time, the detection module determines whether the touch operation detected subsequently satisfies a preset condition, and executes step S14 when the preset condition is satisfied, otherwise, the detection module does not respond.
In the embodiment of the invention, after the detection module reports the first operation instruction, the mobile terminal starts double threads, and the detection module and the processing module run simultaneously. The steps S13 and S14 are threads operated by the detection module, and the step S15 is threads operated by the processing module.
In step S13, the detecting module continues to detect the touch operation within a first buffer time (or jitter removal time) after reporting the first operation instruction. And when the touch operation is not detected in the first buffer time, the first operation is not misoperation, and the thread operated by the detection module is ended. When touch operation is detected within the first buffer time, judging whether the touch operation detected subsequently meets a preset condition; when the preset condition is satisfied, the first operation is a misoperation, and step S14 is executed; and when the preset condition is not met, the first operation is not misoperation, and the thread operated by the detection module is ended. The preset conditions can be set according to actual needs.
Optionally, when the subsequently detected touch operation is a non-first operation, determining that a preset condition is met; and when the touch operation detected subsequently is still the first operation, judging that the preset condition is not met. That is, if another touch operation is detected within the first buffer time, it is determined that the first operation of this time is an erroneous operation.
Optionally, when the subsequently detected touch operation triggers another operation instruction with a priority higher than that of the first operation instruction, determining that a preset condition is met; and when other operation instructions with the priority equal to or lower than the first operation instruction are triggered by the subsequently detected touch operation, judging that the preset condition is not met. The priorities can be set for different touch operations according to actual needs. For example, taking the first operation as the sliding operation as an example, defining that the priority of the sliding operation is lower than that of the long-press operation and higher than that of the clicking operation, and when the detection module detects the sliding operation first and then detects the long-press operation, determining that the sliding operation is the misoperation; when the detection module detects the sliding operation firstly and then detects the clicking operation, the subsequent clicking operation is ignored.
And S14, the detection module sends a termination instruction for terminating the first operation instruction to the processing module.
When the first operation is judged to be misoperation, the detection module immediately sends a termination instruction for terminating the first operation instruction to the processing module.
S15, the processing module receives a first operation instruction. Judging whether a termination instruction is received or not within a first buffering time after the first operation instruction is received; when receiving the termination instruction, step S17 is executed; when the termination instruction is not received, step S16 is executed.
This step S15 is performed simultaneously with the thread running by the detection module (steps S13 and S14).
And S16, executing the first operation instruction by the processing module.
And when the processing module receives the first operation instruction and does not receive the termination instruction within the first buffering time, executing the first operation instruction.
S17, the processing module does not execute the first operation instruction.
When the processing module receives the first operation instruction and receives the termination instruction within the first buffer time, the processing module does not execute the first operation instruction.
Optionally, the processing module finishes the whole process after receiving the termination instruction.
Optionally, the detection module sends a termination instruction to the processing module, and reports other operation instructions triggered by the touch operation detected subsequently to the processing module, and the processing module executes the other operation instructions.
Taking the Android system as an example, in steps S15-S17, after receiving the first operation instruction, the processing module loads an operation function corresponding to the first operation instruction and runs the operation function, and when receiving the termination instruction before running the operation function, the processing module does not run the operation function, that is, the execution of the first operation instruction is the operation function corresponding to the first operation instruction.
In some embodiments, the processing module executes the operation function immediately after the operation function corresponding to the first operation instruction is loaded. At this time, the first buffer time is equal to the time taken by the processing module to load the operation function. That is to say, the mobile terminal makes full use of the period of time of the processing module loading operation function as the first buffering time to determine the misoperation, compared with the existing normal operation flow, only one detection module which is simultaneously performed with the thread of the processing module receiving the first operation instruction loading operation function is added to continuously detect the subsequent touch operation and accordingly determine whether the first operation is the misoperation thread, the two threads are simultaneously performed, the delay of the first operation response cannot be additionally caused, and therefore on the basis of ensuring the timeliness of the first operation response, the problem that the first operation easily causes the misoperation is successfully solved.
In other embodiments, the processing module delays the second buffer time to execute the operation function after the operation function is loaded. At this time, the first buffering time is equal to the sum of the time taken by the processing module to load the operation function and the second buffering time, wherein the length of the second buffering time can be set according to the actual situation, and in principle, the shorter the time, the better the time, so that the time is suitable for the user not to perceive. In this case, although the first operation response is delayed slightly, the second buffering time required to be delayed is also extremely short and hardly felt by human, considering that the time interval between the front and rear operations is extremely short when the user erroneously operates the device, and thus the timeliness of the first operation response is not substantially affected. Therefore, on the basis of ensuring the timeliness of the response of the first operation, the problem that the first operation is easy to cause misoperation is fully solved.
Therefore, the method for preventing misoperation of the invention starts double threads when detecting the first operation which is easy to cause misoperation, during the period that the processing module is ready to execute the first operation instruction (namely, during the period from receiving the first operation instruction to executing the first operation instruction), the detection module simultaneously detects the subsequent touch operation, thereby judging whether the first operation is the misoperation or not, and when judging that the first operation is the misoperation, the method sends a termination instruction to the processing module in time so as to ensure that the processing module does not execute the first operation instruction, thereby preventing the misoperation. The detection module judges that the flow of the misoperation and the flow of the processing module for preparing to execute the first operation instruction are simultaneously carried out, so that the timeliness of the first operation response is not influenced. Therefore, on the basis of ensuring the response timeliness of the touch operation, the problem of misoperation caused by the touch operation is solved, the response accuracy of the mobile terminal is improved, and the user experience is improved.
As shown in fig. 4, a second embodiment of the method for preventing misoperation according to the present invention is proposed, and the present embodiment is mainly applied to a scenario where a mobile terminal performs a touch operation in a fingerprint navigation mode, where the method includes the following steps:
and S21, entering a fingerprint navigation mode, and detecting the touch operation by the fingerprint sensor module. Judging whether the detected touch operation is a sliding operation, and executing step S22 when the detected touch operation is the sliding operation; otherwise, the sliding operation instruction is not triggered, and the flow is ended.
In this embodiment, the detection module is a fingerprint sensor module. The sliding operation is the first operation that easily causes an erroneous operation.
When judging whether the touch operation is the sliding operation, the fingerprint sensor module acquires contact parameter information generated by the touch operation, analyzes whether the contact parameter information accords with a preset definition of the sliding operation, judges that the touch operation is the sliding operation when the contact parameter information accords with the preset definition, and judges that the touch operation is the non-sliding operation otherwise.
Specifically, when the contact parameter information satisfies any one, any two, any three, or all of the following preset definitions, the touch operation is determined as a sliding operation, otherwise, the touch operation is determined as a non-sliding operation, where the preset definitions include: a) the contact locus has no break point on the fingerprint sensor module; b) the contact track running time does not exceed the preset time; c) the speed of the contact track is within a preset range; d) the travel of the contact trace exceeds a preset travel.
When the detected touch operation is a slide operation, the next step S22 is entered, otherwise, the flow ends. The ending process here refers to ending the process of preventing the misoperation and continuing the normal operation process, for example, if the touch operation is detected as a long-press operation, a long-press operation instruction is triggered, and if the touch operation is detected as a click operation, a click operation instruction is triggered, and so on.
And S22, the fingerprint sensor module triggers a sliding operation instruction and reports the sliding operation instruction to the processing module.
When the detected touch operation is a sliding operation, the fingerprint sensor module triggers a sliding operation instruction and reports the sliding operation instruction (or called sliding operation event) to the processing module.
And S23, the fingerprint sensor module continues to detect the touch operation within the first buffer time after the sliding operation instruction is reported. When the touch operation is not detected in the first buffer time, the detection module does not respond any more; when the touch operation is detected within the first buffer time, determining whether the touch operation detected subsequently satisfies a preset condition, and executing step S24 when the preset condition is satisfied, otherwise, the detection module does not respond any more.
In the embodiment of the invention, after the fingerprint sensor module reports the sliding operation instruction, the double threads are started, and the fingerprint sensor module and the processing module run simultaneously. The steps S23 and S24 are threads operated by the detection module, and the step S25 is threads operated by the processing module.
In step S23, the fingerprint sensor module continues to detect the touch operation within a first buffer time (or referred to as a debounce time) after reporting the sliding operation command. And when the touch operation is not detected in the first buffer time, the sliding operation is not misoperation, and the running thread of the fingerprint sensor module is finished. When touch operation is detected within the first buffer time, judging whether the touch operation detected subsequently meets a preset condition; when the preset condition is satisfied, the present slide operation is an erroneous operation, and step S24 is executed; and when the preset condition is not met, the sliding operation is not misoperation, and the running thread of the fingerprint sensor module is finished. The preset conditions can be set according to actual needs.
Optionally, when the subsequently detected touch operation is a non-sliding operation, determining that a preset condition is met; and when the touch operation detected subsequently is still the sliding operation, judging that the preset condition is not met. That is, if another touch operation (e.g., a click operation or a press operation) is detected within the first buffer time, it is determined that the current slide operation is an erroneous operation.
Optionally, when the touch operation detected subsequently triggers another operation instruction with priority higher than the sliding operation instruction, determining that the preset condition is met; when the touch operation detected subsequently triggers other operation instructions with the priority equal to or lower than the slide operation instruction, the preset condition is judged not to be met. The priorities can be set for different touch operations according to actual needs. For example, the priority of the sliding operation is defined to be lower than that of the long-press operation and higher than that of the clicking operation, and when the fingerprint sensor module detects the sliding operation first and then detects the long-press operation, the sliding operation is judged to be the misoperation; when the fingerprint sensor module detects the sliding operation firstly and then detects the clicking operation, the subsequent clicking operation is ignored.
And S24, the fingerprint sensor module sends a termination instruction for terminating the sliding operation instruction to the processing module.
When the sliding operation is judged to be misoperation, the fingerprint sensor module immediately sends a termination instruction for terminating the sliding operation instruction to the processing module.
And S25, the processing module receives a sliding operation instruction. Judging whether a termination instruction is received or not within a first buffer time after the sliding operation instruction is received; when receiving the termination instruction, step S27 is executed; when the termination instruction is not received, step S26 is executed.
This step S25 is a process module running thread, which is performed simultaneously with the fingerprint sensor module running thread (steps S23 and S24).
And S26, executing the sliding operation instruction by the processing module.
And when the processing module receives the sliding operation instruction and does not receive the termination instruction within the first buffer time, executing the sliding operation instruction.
And S27, the processing module does not execute the sliding operation instruction.
When the processing module receives the sliding operation instruction and receives the termination instruction within the first buffer time, the sliding operation instruction is not executed.
Optionally, the processing module finishes the whole process after receiving the termination instruction.
Optionally, the fingerprint sensor module sends a termination instruction to the processing module, and reports other operation instructions triggered by the touch operation detected subsequently to the processing module, and the processing module executes the other operation instructions (such as a click operation instruction, a long-press operation instruction, and the like).
Taking the Android system as an example, the processing module includes a bottom layer driving unit and an upper layer processing unit (such as upper layer software). In steps S25-S27, the bottom layer driving unit receives the sliding operation command reported by the fingerprint sensor module and the sent termination command, and reports to the upper layer processing unit; after receiving the sliding operation instruction, the upper layer processing unit loads the operation function corresponding to the sliding operation instruction and runs the operation function, and when receiving the termination instruction before running the operation function, the upper layer processing unit does not run the operation function, that is, executing the sliding operation instruction is the operation function corresponding to the sliding operation instruction.
In some embodiments, the upper layer processing unit executes the operation function immediately after the operation function corresponding to the sliding operation instruction is loaded. At this time, the first buffer time is equal to the time taken by the upper processing unit to load the operation function. That is to say, the mobile terminal fully utilizes the period of time of the loading operation function of the upper processing unit as the first buffering time to judge the misoperation, compared with the existing normal operation process, only one fingerprint sensor module which is simultaneously carried out with the thread of the processing module receiving the first operation instruction loading operation function is added to continuously detect the subsequent touch operation and judge whether the sliding operation is the misoperation thread according to the subsequent touch operation, the two threads are simultaneously carried out, the delay of the sliding operation response cannot be additionally caused, and therefore on the basis of ensuring the timeliness of the sliding operation response, the problem that the sliding operation is easy to cause the misoperation is successfully solved.
In other embodiments, the upper layer processing unit delays the second buffer time to execute the operation function after the operation function is loaded. At this time, the first buffering time is equal to the sum of the time taken by the upper processing unit to load the operation function and the second buffering time, wherein the length of the second buffering time can be set according to actual conditions, and in principle, the shorter the time, the better the time, and the better the time is, so that the time cannot be perceived by a user. In this case, although the response of the slide operation is slightly delayed, the second buffering time required to be delayed is also extremely short and hardly felt by human, considering that the time interval between the front and rear operations is extremely short when the user erroneously operates the slide operation, and thus the timeliness of the response of the slide operation is not substantially affected. Therefore, on the basis of ensuring the response timeliness of the sliding operation, the problem that the sliding operation is easy to cause misoperation is fully solved.
Therefore, in the method for preventing misoperation, under the fingerprint navigation mode, when the sliding operation which is easy to cause misoperation is detected, the double threads are started, during the period that the processing module prepares to execute the sliding operation instruction (namely, during the period from receiving the sliding operation instruction to executing the sliding operation instruction), the fingerprint sensor module simultaneously detects the subsequent touch operation, thereby judging whether the sliding operation is the misoperation, and when the sliding operation is judged to be the misoperation, a termination instruction is timely sent to the processing module so that the processing module does not execute the sliding operation instruction, thereby preventing the misoperation. The process of judging the misoperation by the fingerprint sensor module and the process of preparing the sliding operation instruction by the processing module are simultaneously carried out, so that the timeliness of the sliding operation response is not influenced. Therefore, in the fingerprint navigation process, on the basis of ensuring the response timeliness of the sliding operation, the problem that the sliding operation easily causes misoperation is solved, the response accuracy of the mobile terminal is improved, and the user experience is improved.
The invention further provides a device for preventing misoperation, which is applied to the mobile terminal. Based on the above-mentioned hardware structure of the mobile terminal and the communication system, an embodiment of the device for preventing misoperation is provided.
As shown in fig. 5, the apparatus for preventing a malfunction includes a detection module and a processing module, wherein:
a detection module: the touch control module is used for detecting touch operation, and when the detected touch operation is a first operation, triggering a first operation instruction and reporting the first operation instruction to the processing module; and continuously detecting the touch operation within the first buffer time after the first operation instruction is reported, and sending a termination instruction for terminating the first operation instruction to the processing module when the touch operation detected subsequently meets the preset condition.
A processing module: the first operation instruction is received, when the termination instruction is received within a first buffer time after the first operation instruction is received, the first operation instruction is not executed, otherwise, the first operation instruction is executed.
The detection module may be any device capable of detecting a touch operation, such as a fingerprint sensor module, a pressure sensor module, a touch screen module, and the like. The touch operation comprises clicking, pressing (such as long pressing), sliding and the like. In the specific implementation process, any touch operation which easily causes misoperation can be defined as the first operation. For example, a click operation may be defined as the first operation, a press operation may be defined as the first operation, or a slide operation may be defined as the first operation.
Optionally, after receiving the termination instruction, the processing module does not execute the first operation instruction, and ends the entire process.
Optionally, the detection module sends a termination instruction to the processing module, and reports other operation instructions triggered by the touch operation detected subsequently to the processing module, and the processing module executes the other operation instructions.
As shown in fig. 6, the detection module includes a first detection unit and a second detection unit, wherein:
a first detection unit: the touch control module is used for detecting touch operation, and when the detected touch operation is a first operation, triggering a first operation instruction and reporting the first operation instruction to the processing module; and when the touch operation is not the first operation, processing according to a normal flow, for example, reporting a second operation instruction when the touch operation is the second operation, and reporting a third operation instruction when the touch operation is the third operation.
When judging whether the touch operation is the first operation, the first detection unit acquires contact parameter information generated by the touch operation, analyzes whether the contact parameter information accords with a preset definition of the first operation, judges that the touch operation is the first operation when the contact parameter information accords with the preset definition, and judges that the touch operation is the non-first operation if the contact parameter information accords with the preset definition.
For example, taking the first operation as the sliding operation as an example, when the contact parameter information satisfies any one, any two, any three, or all of the following preset definitions, the first detecting unit determines that the touch operation is the sliding operation (first operation), otherwise determines that the touch operation is the non-sliding operation (non-first operation), where the preset definitions include: a) the contact locus has no break point on the fingerprint sensor module; b) the contact track running time does not exceed the preset time; c) the speed of the contact track is within a preset range; d) the travel of the contact trace exceeds a preset travel.
A second detection unit: the touch detection unit is used for continuously detecting the touch operation within a first buffer time after the first detection unit reports the first operation instruction; when the subsequently detected touch operation meets the preset condition, the first operation is indicated as misoperation, and a termination instruction for terminating the first operation instruction is sent to the processing module; and when the touch operation is not detected subsequently or the subsequently detected touch operation does not meet the preset condition, the first operation is not the misoperation, and no response is made.
Optionally, when the subsequently detected touch operation is a non-first operation, the second detection unit determines that a preset condition is met; when the touch operation detected subsequently is still the first operation, the second detection unit judges that the preset condition is not met. That is, the second detection unit determines that the first operation is an erroneous operation as long as another touch operation is detected within the first buffer time.
Optionally, when the subsequently detected touch operation triggers another operation instruction with a priority higher than that of the first operation instruction, the second detection unit determines that a preset condition is met; when the touch operation detected subsequently triggers other operation instructions with the priority equal to or lower than the first operation instruction, the second detection unit judges that the preset condition is not met. The priorities can be set for different touch operations according to actual needs.
For example, taking the first operation as the sliding operation as an example, the priority of the sliding operation is defined to be lower than that of the long-press operation and higher than that of the clicking operation, and when the first detection unit detects the sliding operation first and then the second detection unit detects the long-press operation next to the sliding operation, the second detection unit determines that the sliding operation is the misoperation; when the first detection unit detects the sliding operation first and then the second detection unit detects the clicking operation, the second detection unit ignores the subsequent clicking operation and does not respond.
Further, as shown in fig. 7, the processing module includes a bottom layer driving unit and an upper layer processing unit, wherein:
a bottom layer driving unit: and the detection module is used for receiving the first operation instruction reported by the detection module and the sent termination instruction and reporting the first operation instruction to the upper layer processing unit.
An upper layer processing unit: the device is used for receiving the first operation instruction, loading an operation function corresponding to the first operation instruction, running the operation function, and not running the operation function when a termination instruction is received before the operation function is run. That is, the upper processing unit executes the sliding operation instruction, i.e., executes the operation function corresponding to the sliding operation instruction.
In some embodiments, the upper layer processing unit executes the operation function immediately after the operation function corresponding to the first operation instruction is loaded. At this time, the first buffer time is equal to the time taken by the upper processing unit to load the operation function. That is to say, the mobile terminal fully utilizes the period of time of the upper processing unit loading operation function as the first buffering time to judge the misoperation, compared with the existing normal operation process, only one detection module which is simultaneously performed with the processing module receiving the thread of the first operation instruction loading operation function is added to continuously detect the subsequent touch operation and judge whether the first operation is the misoperation thread according to the subsequent touch operation, the two threads are simultaneously performed, and the delay of the sliding operation response cannot be additionally caused, so that the problem that the misoperation is easily caused by the first operation is successfully solved on the basis of ensuring the timeliness of the first operation response.
In other embodiments, the upper layer processing unit delays the second buffer time to execute the operation function after the operation function is loaded. At this time, the first buffering time is equal to the sum of the time taken by the upper processing unit to load the operation function and the second buffering time, wherein the length of the second buffering time can be set according to actual conditions, and in principle, the shorter the time, the better the time, and the better the time is, so that the time cannot be perceived by a user. In this case, although the first operation response is delayed slightly, the second buffering time required to be delayed is also extremely short and hardly felt by human, considering that the time interval between the front and rear operations is extremely short when the user erroneously operates the device, and thus the timeliness of the first operation response is not substantially affected. Therefore, on the basis of ensuring the timeliness of the response of the first operation, the problem that the first operation is easy to cause misoperation is fully solved.
Therefore, the device for preventing misoperation starts double threads when detecting the first operation which is easy to cause misoperation, the detection module simultaneously detects subsequent touch operation during the period that the processing module is ready to execute the first operation instruction (namely the period from receiving the first operation instruction to executing the first operation instruction), thereby judging whether the first operation is the misoperation or not, and timely sending a termination instruction to the processing module when judging that the first operation is the misoperation, so that the processing module does not execute the first operation instruction, thereby preventing the misoperation. The detection module judges that the flow of the misoperation and the flow of the processing module for preparing to execute the first operation instruction are simultaneously carried out, so that the timeliness of the first operation response is not influenced. Therefore, on the basis of ensuring the response timeliness of the touch operation, the problem of misoperation caused by the touch operation is solved, the response accuracy of the mobile terminal is improved, and the user experience is improved.
The device for preventing misoperation and the method for preventing misoperation provided by the embodiment belong to the same concept, the specific implementation process is described in detail in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the device embodiment, and are not described again here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An apparatus for preventing malfunction, comprising a detection module and a processing module, wherein:
the detection module is used for detecting touch operation, and when the detected touch operation is a first operation, triggering a first operation instruction and reporting the first operation instruction to the processing module; continuing to detect touch operation within a first buffer time after the first operation instruction is reported, and sending a termination instruction for terminating the first operation instruction to the processing module when the touch operation detected subsequently meets a preset condition;
the processing module is configured to receive the first operation instruction, and when the termination instruction is received within the first buffer time after the first operation instruction is received, not execute the first operation instruction, otherwise execute the first operation instruction.
2. The device for preventing misoperation according to claim 1, wherein the detection module is configured to:
when the touch operation detected subsequently is not the first operation, judging that a preset condition is met; or,
and when other operation instructions with higher priority than the first operation instruction are triggered by the subsequently detected touch operation, judging that a preset condition is met.
3. The apparatus for preventing malfunction according to claim 1 or 2, wherein the processing module includes a lower layer driving unit and an upper layer processing unit, wherein:
the bottom layer driving unit is used for receiving the first operation instruction reported by the detection module and the sent termination instruction, and reporting the first operation instruction and the sent termination instruction to the upper layer processing unit;
and the upper-layer processing unit is used for receiving the first operation instruction, loading an operation function corresponding to the first operation instruction, running the operation function, and not running the operation function when receiving the termination instruction before running the operation function.
4. The apparatus according to claim 3, wherein the upper processing unit executes the operation function immediately after loading the operation function, and the first buffer time is equal to a time taken for the upper processing unit to load the operation function.
5. The apparatus according to claim 3, wherein the upper processing unit delays to execute the operation function after loading the operation function by a second buffering time, and the first buffering time is equal to a sum of a time taken by the upper processing unit to load the operation function and the second buffering time.
6. A method of preventing malfunction, comprising the steps of:
the detection module detects touch operation, and when the detected touch operation is first operation, a first operation instruction is triggered and reported to the processing module;
the processing module receives the first operation instruction;
the detection module continues to detect touch operation within a first buffer time after the first operation instruction is reported, and sends a termination instruction for terminating the first operation instruction to the processing module when the subsequent detected touch operation meets a preset condition;
when the termination instruction is received within the first buffer time after the first operation instruction is received, the processing module does not execute the first operation instruction, otherwise, the processing module executes the first operation instruction.
7. The method of preventing malfunction according to claim 6, wherein the method further comprises:
when the touch operation detected subsequently is not the first operation, the detection module judges that a preset condition is met; or,
when other operation instructions with higher priority than the first operation instruction are triggered by the subsequent detected touch operation, the detection module judges that a preset condition is met.
8. The method for preventing malfunction according to claim 6 or 7, characterized in that the method further comprises:
and after receiving the first operation instruction, the processing module loads an operation function corresponding to the first operation instruction and runs the operation function, and when receiving the termination instruction before running the operation function, the processing module does not run the operation function.
9. The method according to claim 8, wherein the operation function is executed immediately after the processing module loads the operation function, and the first buffer time is equal to a time taken for the processing module to load the operation function.
10. The method according to claim 8, wherein the operation function is executed after a delay of a second buffering time after the operation function is loaded by the processing module, and the first buffering time is equal to the sum of the time taken for the operation function to be loaded by the processing module and the second buffering time.
CN201610181333.8A 2016-03-28 2016-03-28 Method and method for preventing misoperation Pending CN105867789A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610181333.8A CN105867789A (en) 2016-03-28 2016-03-28 Method and method for preventing misoperation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610181333.8A CN105867789A (en) 2016-03-28 2016-03-28 Method and method for preventing misoperation

Publications (1)

Publication Number Publication Date
CN105867789A true CN105867789A (en) 2016-08-17

Family

ID=56625042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610181333.8A Pending CN105867789A (en) 2016-03-28 2016-03-28 Method and method for preventing misoperation

Country Status (1)

Country Link
CN (1) CN105867789A (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446786A (en) * 2016-08-30 2017-02-22 广东欧珀移动通信有限公司 Fingerprint identifying method, fingerprint identifying apparatus and terminal device
CN106445300A (en) * 2016-09-29 2017-02-22 珠海市魅族科技有限公司 Misoperation recognition method and device and terminal
CN106445379A (en) * 2016-09-12 2017-02-22 深圳市金立通信设备有限公司 Method for responding user touch operation and terminal
CN106648629A (en) * 2016-11-29 2017-05-10 珠海市魅族科技有限公司 Complex command misoperation prevention method and device
CN106843670A (en) * 2016-12-20 2017-06-13 珠海市魅族科技有限公司 Operation cancellation system and method
CN107015741A (en) * 2017-03-30 2017-08-04 联想(北京)有限公司 User equipment and its operating method with finger print identifying function
CN107169331A (en) * 2017-06-15 2017-09-15 广东欧珀移动通信有限公司 Unlocking method and a device, terminal and the computer-readable recording medium of terminal
CN107562262A (en) * 2017-08-14 2018-01-09 维沃移动通信有限公司 A kind of method, terminal and computer-readable recording medium for responding touch control operation
CN107608550A (en) * 2017-09-11 2018-01-19 广东欧珀移动通信有限公司 Touch operation response method and device
CN108021258A (en) * 2016-10-31 2018-05-11 北京小米移动软件有限公司 Terminal device incorrect manipulation processing method and device
CN108170340A (en) * 2017-11-21 2018-06-15 深圳康得新智能显示科技有限公司 Methods of exhibiting, the apparatus and system of target object
CN108415693A (en) * 2018-02-26 2018-08-17 深圳市富途网络科技有限公司 A kind of realization method and system of revocable application programming interface API
WO2019047966A1 (en) * 2017-09-11 2019-03-14 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for responding to touch operation and electronic device
CN109710163A (en) * 2018-12-17 2019-05-03 蜂巢(武汉)微系统技术有限公司 Embedded onboard system operatio panel instructs read method and system
US10466849B2 (en) 2016-12-16 2019-11-05 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and terminal for preventing unintentional triggering of a touch key and storage medium
CN110442267A (en) * 2017-09-11 2019-11-12 Oppo广东移动通信有限公司 Touch operation response method, device, mobile terminal and storage medium
CN112799497A (en) * 2021-01-18 2021-05-14 北京小米移动软件有限公司 Working mode control method and device of fingerprint module and storage medium
US11061558B2 (en) 2017-09-11 2021-07-13 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Touch operation response method and device
US11086442B2 (en) 2017-09-11 2021-08-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for responding to touch operation, mobile terminal, and storage medium
US11194425B2 (en) 2017-09-11 2021-12-07 Shenzhen Heytap Technology Corp., Ltd. Method for responding to touch operation, mobile terminal, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07110810A (en) * 1993-10-12 1995-04-25 Nec Corp Document data storing system
CN103309588A (en) * 2013-06-19 2013-09-18 广东欧珀移动通信有限公司 Method, device and system for preventing mobile terminal from misoperation
CN103744593A (en) * 2013-12-30 2014-04-23 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for preventing mis-operation of mobile terminal
CN104765559A (en) * 2015-03-24 2015-07-08 深圳市金立通信设备有限公司 Misoperation preventing method
CN104778039A (en) * 2015-03-24 2015-07-15 深圳市金立通信设备有限公司 Terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07110810A (en) * 1993-10-12 1995-04-25 Nec Corp Document data storing system
CN103309588A (en) * 2013-06-19 2013-09-18 广东欧珀移动通信有限公司 Method, device and system for preventing mobile terminal from misoperation
CN103744593A (en) * 2013-12-30 2014-04-23 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method for preventing mis-operation of mobile terminal
CN104765559A (en) * 2015-03-24 2015-07-08 深圳市金立通信设备有限公司 Misoperation preventing method
CN104778039A (en) * 2015-03-24 2015-07-15 深圳市金立通信设备有限公司 Terminal

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446786A (en) * 2016-08-30 2017-02-22 广东欧珀移动通信有限公司 Fingerprint identifying method, fingerprint identifying apparatus and terminal device
CN106446786B (en) * 2016-08-30 2019-06-25 Oppo广东移动通信有限公司 Fingerprint identification method, fingerprint identification device and terminal device
CN106445379A (en) * 2016-09-12 2017-02-22 深圳市金立通信设备有限公司 Method for responding user touch operation and terminal
CN106445300A (en) * 2016-09-29 2017-02-22 珠海市魅族科技有限公司 Misoperation recognition method and device and terminal
CN108021258A (en) * 2016-10-31 2018-05-11 北京小米移动软件有限公司 Terminal device incorrect manipulation processing method and device
CN106648629B (en) * 2016-11-29 2021-01-01 珠海市魅族科技有限公司 Method and device for preventing complex instruction misoperation
CN106648629A (en) * 2016-11-29 2017-05-10 珠海市魅族科技有限公司 Complex command misoperation prevention method and device
US10466849B2 (en) 2016-12-16 2019-11-05 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and terminal for preventing unintentional triggering of a touch key and storage medium
CN106843670A (en) * 2016-12-20 2017-06-13 珠海市魅族科技有限公司 Operation cancellation system and method
CN107015741A (en) * 2017-03-30 2017-08-04 联想(北京)有限公司 User equipment and its operating method with finger print identifying function
CN107015741B (en) * 2017-03-30 2020-07-24 联想(北京)有限公司 User equipment with fingerprint authentication function and operation method thereof
CN107169331A (en) * 2017-06-15 2017-09-15 广东欧珀移动通信有限公司 Unlocking method and a device, terminal and the computer-readable recording medium of terminal
CN107562262A (en) * 2017-08-14 2018-01-09 维沃移动通信有限公司 A kind of method, terminal and computer-readable recording medium for responding touch control operation
CN107562262B (en) * 2017-08-14 2020-06-19 维沃移动通信有限公司 Method for responding touch operation, terminal and computer readable storage medium
CN110442267A (en) * 2017-09-11 2019-11-12 Oppo广东移动通信有限公司 Touch operation response method, device, mobile terminal and storage medium
CN107608550A (en) * 2017-09-11 2018-01-19 广东欧珀移动通信有限公司 Touch operation response method and device
WO2019047966A1 (en) * 2017-09-11 2019-03-14 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for responding to touch operation and electronic device
CN110442267B (en) * 2017-09-11 2023-08-22 Oppo广东移动通信有限公司 Touch operation response method and device, mobile terminal and storage medium
US10698533B2 (en) 2017-09-11 2020-06-30 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for responding to touch operation and electronic device
US11194425B2 (en) 2017-09-11 2021-12-07 Shenzhen Heytap Technology Corp., Ltd. Method for responding to touch operation, mobile terminal, and storage medium
US11086442B2 (en) 2017-09-11 2021-08-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for responding to touch operation, mobile terminal, and storage medium
US11061558B2 (en) 2017-09-11 2021-07-13 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Touch operation response method and device
US10901553B2 (en) 2017-09-11 2021-01-26 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for responding to touch operation and electronic device
CN108170340A (en) * 2017-11-21 2018-06-15 深圳康得新智能显示科技有限公司 Methods of exhibiting, the apparatus and system of target object
CN108415693A (en) * 2018-02-26 2018-08-17 深圳市富途网络科技有限公司 A kind of realization method and system of revocable application programming interface API
CN109710163A (en) * 2018-12-17 2019-05-03 蜂巢(武汉)微系统技术有限公司 Embedded onboard system operatio panel instructs read method and system
CN109710163B (en) * 2018-12-17 2020-12-01 蜂巢(武汉)微系统技术有限公司 Embedded vehicle-mounted system operation panel instruction reading method and system
CN112799497A (en) * 2021-01-18 2021-05-14 北京小米移动软件有限公司 Working mode control method and device of fingerprint module and storage medium
CN112799497B (en) * 2021-01-18 2024-06-07 北京小米移动软件有限公司 Fingerprint module working mode control method, fingerprint module working mode control device and storage medium

Similar Documents

Publication Publication Date Title
CN105867789A (en) Method and method for preventing misoperation
WO2017143847A1 (en) Associated application multi-screen display device and method, and terminal
CN105188098B (en) Network switching device and network switching method of mobile terminal
CN106775391B (en) Interface switching device and method
CN106101423B (en) Split screen area size adjusts device and method
CN106569709B (en) Apparatus and method for controlling mobile terminal
CN105978947A (en) Same account number login equipment number control method and mobile terminal
CN106527933B (en) Control method and device for edge gesture of mobile terminal
CN105260083A (en) Mobile terminal and method for realizing split screens
CN105511776B (en) A kind of mobile terminal and its control method
CN106547439B (en) Method and device for processing message
CN104881223A (en) Method and device for achieving application operation
CN106648324B (en) Hidden icon control method and device and terminal
CN105490928A (en) Mobile terminal and multitask processing method thereof
CN106843723A (en) A kind of application program associates application method and mobile terminal
CN106412316A (en) Media resource playing control device and method
CN105722246B (en) Network speed superposition device and method
CN106569690B (en) Device and method for preventing mistaken touch
CN106569670B (en) Device and method for processing application
CN106095308B (en) The method of mobile terminal and dummy keyboard false-touch prevention
CN105744061B (en) Eye print recognition interaction device and method
CN106896988B (en) Application icon alignment device, terminal and method
CN105847575B (en) Device and method for calling recorder
CN104850351A (en) Method and device for frameless interaction
CN105657181B (en) Data backup method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160817