CN110865762A - Method for preventing mistaken screen off, terminal and computer readable storage medium - Google Patents

Method for preventing mistaken screen off, terminal and computer readable storage medium Download PDF

Info

Publication number
CN110865762A
CN110865762A CN201910691450.2A CN201910691450A CN110865762A CN 110865762 A CN110865762 A CN 110865762A CN 201910691450 A CN201910691450 A CN 201910691450A CN 110865762 A CN110865762 A CN 110865762A
Authority
CN
China
Prior art keywords
fingerprint
screen
information
mobile terminal
preventing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910691450.2A
Other languages
Chinese (zh)
Other versions
CN110865762B (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.)
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 CN201910691450.2A priority Critical patent/CN110865762B/en
Publication of CN110865762A publication Critical patent/CN110865762A/en
Application granted granted Critical
Publication of CN110865762B publication Critical patent/CN110865762B/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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

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)
  • Telephone Function (AREA)

Abstract

The invention discloses a method, a terminal and a computer readable storage medium for preventing mistaken screen off, which comprise the following steps: the equipment receives fingerprint input information; setting a first preset time length, and generating an instruction for intercepting a key event of equipment in the first preset time length; when receiving the completion sign of fingerprint input information, close the instruction of interception equipment button event, can be at the in-process of type fingerprint, the function of transient shutdown power key when preventing to type the fingerprint, presses improper and leads to putting out the screen and shut down even, has promoted user experience.

Description

Method for preventing mistaken screen off, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, a terminal, and a computer-readable storage medium for preventing a screen from being turned off by mistake.
Background
The fingerprint identification technology still has few operations at present, along with the renewal of hardware, the bottom button has become virtual button gradually or just cancels the bottom home key like the apple mobile phone, rely on the gesture to carry out a series of operations completely, the fingerprint technique is mostly used for carrying out the unblock to the terminal among the correlation technique promptly, in the current product, some products set up the fingerprint operation in the side of terminal equipment, in order to realize that a key is multi-functional, the side both can be used for the unblock, also can be used for typeeing the fingerprint, but because a key is multi-functional, it is a bit easy lock screen that causes with a little more effort when typeeing the fingerprint, can need the unblock to type again, thereby reduce operator's user experience. To address this problem, no solution has been proposed.
Disclosure of Invention
Aiming at the problem that some simple operations can be performed only through sliding operations on a touch screen under a screen locking interface in the related art, no solution is proposed at present
The invention mainly aims to provide a method, a device terminal and a computer readable storage medium for preventing mistaken screen off, and aims to solve the technical problems and prevent the mistaken pressing when fingerprints are recorded.
In order to achieve the above object, one technical solution adopted by the embodiments of the present invention is: a method for preventing mistaken screen extinguishing is provided, and comprises the following steps: the equipment receives fingerprint input information; setting a first preset time length, and generating an instruction for intercepting a key event of equipment in the first preset time length; and when the completion mark of the fingerprint input information is received, closing the instruction of intercepting the equipment key event.
In some embodiments, a device receives fingerprint entry information; the method comprises the following steps: receiving a broadcast request of fingerprint input information, and calling a processing program corresponding to the broadcast request; and if the received finishing mark of the fingerprint input information comprises a broadcast request for finishing the input of the fingerprint sensor, closing the instruction for intercepting the key event of the equipment and recovering the response of the key event.
In some embodiments, before the device receives the fingerprint entry information, the method further comprises: judging whether the equipment receives a fingerprint input information request or not; if yes, receiving fingerprint input information; if not, giving a prompt.
In some embodiments, within a first preset time period, if an incoming call is detected, the key event of the intercepting equipment is interrupted, and the response to the key event is resumed.
In some embodiments, the fingerprint entry information includes identity information of the user, the identity information is verified before the device receives the fingerprint entry information, and the fingerprint information is entered after the identity information is verified.
In some embodiments, a first preset time length is set, and an instruction for intercepting a device key event is generated within the first preset time length; the method comprises the following steps: and judging whether the fingerprint input time exceeds a first set threshold value, if so, prompting the user to input the fingerprint again, and returning to the step of receiving the fingerprint input information by the equipment.
In some embodiments, if a key press event is detected within a first preset time period, a user is given a prompt that fingerprint verification is being performed.
In some embodiments, if the broadcast of the fingerprint information re-entry is received for multiple times within the first preset time length, the broadcast is not intercepted, and a prompt is sent. ,
in order to solve the above technical problem, another technical solution adopted in the embodiments of the present invention is: there is provided a mobile terminal including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores a program of instructions executable by the at least one processor to cause the at least one processor to perform the above method.
In order to solve the above technical problem, another technical solution adopted in the embodiments of the present invention is: there is provided a computer-readable storage medium having stored thereon a computer program for execution by a processor of the method in the above-described embodiments.
The method and the device for preventing mistaken screen off can momentarily turn off the function of the power key in the process of inputting the fingerprint, prevent screen off and even shutdown caused by improper pressing when the fingerprint is input, also prevent the problem of inputting the fingerprint for many times caused by improper pressing when the fingerprint is input by a user, and improve the user experience.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings which correspond to figures in the drawings and which are not to be construed as limiting the embodiments, in which elements having the same reference numerals are identified as similar elements, and in which the drawings are not to be construed as limiting the scale unless otherwise specified
Fig. 1 schematically illustrates a structure diagram of hardware of a mobile terminal in an exemplary embodiment of the present disclosure;
fig. 2 is a schematic view of the operation of a terminal based on a method for preventing a false screen-off according to the present invention;
fig. 3 is a block diagram of a terminal according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
FIG. 5 is a diagram of an apparatus for preventing accidental screen-off according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention
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.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(code Division Multiple Access 2000), WCDMA (Wideband code Division Multiple Access), TD-SCDMA (Time Division-synchronous code Division Multiple Access), FDD-LTE (frequency Division duplex-Long Term Evolution), and TDD-LTE (Time Division duplex-Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 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 unit 103 may also 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 unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing 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 radio frequency unit 101 in case of a phone call mode. The microphone 1042 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 mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 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 interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices 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 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein. 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 mobile terminal 100 shown in fig. 1 may be configured as a terminal device with a fingerprint input device and a power key, which is disposed at a side of the mobile terminal 100, and may be used for inputting and identifying a user fingerprint, and may also be used for powering off, powering on, and powering off.
Based on the above-described mobile terminal hardware structure, various embodiments of the present invention are proposed.
Example one
As shown in fig. 2, the method for preventing mistakenly turning off a screen according to the first embodiment of the present invention is applied to a mobile terminal, and the method includes the following steps:
the specific process comprises the following steps:
step S1: the equipment receives fingerprint input information;
step S2: setting a first preset time length, and generating an instruction for intercepting a key event of equipment within the first preset time length;
step S3: and when the completion mark of the fingerprint input information is received, closing the instruction of intercepting the equipment key event.
Above step in this embodiment can guarantee at the in-process of typeeing the fingerprint, the function of short duration closed power key, when preventing to typeeing the fingerprint, presses improper and leads to turning off the screen or even shutting down, has promoted user experience.
Specifically, the method comprises the following steps: in step S1, the device receives fingerprint entry information; when a user touches a key of the terminal device with a finger, it indicates that the user wants to operate the key at this time, and the operation may be key-off or fingerprint entry or even power-off operation, but the device does not know the actual intention of the user, and may cause improper pressing to turn off the screen in the process of entering a fingerprint, so the embodiment of the application is generated in view of the technical problem. The screen pressing and extinguishing operation and the fingerprint inputting operation are accurately identified, and misoperation is prevented.
In this application, fingerprint identification is terminal equipment and realizes the core function of fingerprint unblock function, and its mainly used accomplishes the collection and the discernment of fingerprint, and the fingerprint identification mode can be divided into optical identification, electric capacity fingerprint mode discernment and ultrasonic fingerprint identification, and wherein, optical fingerprint identification is according to the refraction and the reflection principle discernment fingerprint of light, and electric capacity fingerprint identification passes through the numerical value change discernment fingerprint of electric capacity, and ultrasonic fingerprint module utilizes trace ultrasonic signal to survey the line. The fingerprint sensor in the present application can be classified into an optical fingerprint sensor, a semiconductor capacitance sensor, a semiconductor thermal sensor, a semiconductor pressure sensor, an ultrasonic sensor, a radio frequency RF sensor, and the like according to a sensing principle (i.e., a fingerprint imaging principle and technology).
Since the fingerprint identification sensor is integrated on the power supply key, the fingerprint identification sensor is not limited to how the fingerprint identification sensor is integrated on a hardware structure, and the fingerprint identification sensor and the power supply key can be respectively independent or integrated in one key through point connection or mechanical supports and the like. As shown in fig. 2, in the mobile terminal, the key is disposed on a side surface of the mobile terminal, which may be one, or both side surfaces of the mobile terminal as shown in fig. 2, so that the user can use the mobile terminal with his left and right hands conveniently.
Generally, when the multifunctional key is used for touching the key, the screen of the computer can be turned off, and when a user presses the switch module, the corresponding function can be realized by implementing the power-off function, but when the user touches the key, the screen can be turned off due to careless pressing, which is a problem caused by the multifunctional key.
In the application, further, if the user is inputting the fingerprint information, a broadcast request is sent to a system of the device, the system responds to the broadcast request, calls a processing program corresponding to the request, analyzes the fingerprint information, and executes the corresponding processing program; such as: when mobile payment is carried out, some users can carry out payment by using a fingerprint verification mode; for example, when unlocking is performed, some users can unlock the equipment by using a fingerprint verification mode; such as identity login, etc.
The equipment is the terminal equipment and comprises a main controller for controlling the whole terminal equipment to run and all software processing programs;
a fingerprint identification sensor is integrated in a side power key of the mobile terminal and used for identifying fingerprint input information of a user; the fingerprint sensor recognizes that the user-entered information is to be sent to the processor in the form of a broadcast.
Further, the method also comprises the step S11 that before the equipment receives the fingerprint input information, the method also comprises the step of judging whether the equipment receives a fingerprint input information request; if yes, receiving fingerprint input information; if not, giving a prompt.
Whether the device detects fingerprint information is judged, generally, if the fingerprint information is detected, the fingerprint information can be received, because a user only inputs a specific fingerprint for own common device, such as a thumb or an index finger, or the thumb or the index finger of one hand, or the thumbs or foods of two hands, which are already input and stored in a system of the device, the device only needs to identify and match whether the user is the device according to the fingerprint information stored before. If not, the wrong or unsaved fingerprint information is possibly recorded; or the current fingerprint input person is not the user himself or is a malicious user, so that the fingerprint input person cannot pass verification when trying to unlock with the fingerprint, and a prompt needs to be given; the fingerprint is not sent to the equipment, namely the equipment detects the fingerprint but does not have fingerprint input information; the prompt content may be whether to actually perform fingerprint entry.
Therefore, according to the verification that the fingerprint information comprises the identity information of the user; the identity information is verified before the equipment receives the fingerprint input information, and the fingerprint information is input after the identity information is verified, so that the condition that the malicious user or the user does not operate the terminal by himself is prevented.
Specifically, step S2: setting a first preset time length, and generating a command for intercepting a key event of equipment in the first preset time length; the method specifically comprises the following steps:
the first preset time is preset by an equipment system, usually 1-5s, the preset time is factory set, and the time for inputting the fingerprint reserved for the user, usually, the time for inputting the fingerprint needs 1-5s, and then the user can be judged to input the fingerprint information.
In this step, it is further determined whether the fingerprint entry time exceeds a first set threshold, and if so, the user is prompted to enter the fingerprint again, and the process returns to step S1.
The interception is to intercept a power key of the equipment, namely, not to respond to a key event, namely, a key event in the application is to press the power key of the equipment by a user.
And detecting a key event in the first preset time length, namely, not responding.
The first preset time is the time for a general user to input the fingerprint, so that the key event is intercepted in the time period, the operation of the user is not influenced, the fingerprint is generally input for unlocking or payment and the like, and the screen does not need to be turned off immediately, so that the operation of the user is not influenced, and the user can be prevented from mistakenly touching the power key.
Optionally, if a key event is detected within a first preset time period, giving a prompt on a device screen: the user is carrying out fingerprint verification, whether the screen is turned off or not is confirmed, and the like, so that the user is prompted, the real operation intention of the user is fingerprint input at the moment, the screen is not turned off, and misoperation of the user is prevented.
Optionally, within the first preset time period, if an incoming call is detected, the intercept event in step S2 is interrupted. If the mobile phone calls, whether the call is refused or answered, the call needs to be processed in time, and the interception event is interrupted at the moment, so that the response to the key needs to be recovered.
Optionally, if the broadcast of the fingerprint information re-entry for multiple times is received within the first preset time length, the broadcast is not intercepted, and a prompt is sent; at the moment, the user is also misoperation and does not really enter the fingerprint, so that the key cannot be intercepted. The prompt can be in a form of a small window on the interface of the terminal equipment; or may be an audible prompt. Due to improper operation of the user, a wrong finger can be misused, or other situations can cause that the fingerprint input is unsuccessful and is repeatedly tried, at the moment, the user is prompted to input again, the user is given a chance to input the fingerprint again, and information stealing and the like caused by non-local users can be avoided.
Specifically, step S3: when the completion flag of the fingerprint entry information of the device is received, the command for stopping the device key event may include the following:
when the equipment detects that the fingerprint input is finished, namely a mark of finishing the fingerprint input is received, the interception of the key event is cancelled; after the input is completed, the fingerprint sensor sends a broadcast to the equipment, and the equipment receives the broadcast request of the input completion, cancels the interception and recovers the response to the key event.
Optionally, the device does not receive the broadcast, but exceeds the first preset time, and does not receive the broadcast after the entry, and it is possible that the user leaves the finger from the key, and at this time, the interception also needs to be cancelled. Preventing other operations from affecting the user.
Optionally, the user may also exceed the first preset time period and wait for the second time period, to determine whether the user re-enters, and if no information for completing entering the fingerprint is still present, the interception is cancelled. The second duration is less than the first duration. The second period of time is less than the first period of time and is typically set to a time of 1-3 seconds.
Fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention; the terminal device comprises a memory 70, a processor 40, i.e. a CPU, a display 30, a fingerprint sensor 50 and a power key 60, wherein the fingerprint sensor 50 is integrated on the power key 60.
A connection schematic diagram of a fingerprint identification input module and a processor, namely a CPU (central processing unit) is combined with a diagram shown in fig. 4, when a key is pressed down, the CPU is switched to an upper power state, meanwhile, according to the fact that the CPU is switched to the upper power state, the fingerprint identification input module is switched to a hot standby state, when a finger is pressed down in the hot standby state, the fingerprint identification input module collects fingerprint information and provides the fingerprint information for the CPU. The fingerprint identification input module can be switched to the hot standby state within a plurality of clock cycles after the CPU is switched to the power-on state, for example, the fingerprint identification input module is switched to the hot standby state within 1-100 clock cycles.
Fingerprint SENSOR 50 includes fingerprint identification IC and fingerprint collection inductor (SENSOR), utilizes electric capacity push type fingerprint identification principle, and when the finger was pressed on SENSOR, constitutes the two poles of the earth of electric capacity together with the SENSOR surface, utilizes the electric capacity distance difference between the crest trough of fingerprint and the SENSOR, gathers and the image of drawing the fingerprint, and fingerprint identification IC handles the image of the fingerprint of SENSOR collection, obtains the fingerprint information of predetermined format to realize fingerprint identification's function through fingerprint identification input module.
The fingerprint identification input module is used for data transmission with the CPU through a bus, and the bus can adopt at least one of PCIE, SPI, I2C and UART bus modes. Preferably, in the embodiment of the present invention, the fingerprint identification input module is connected to the CPU through an I2C bus, and compared with the transmission of other existing bus connections such as an SPI bus, the I2C bus has a simple structure and occupies less CPU interface resources, and the CPU in this example is a controller.
Based on the same or similar concept as the method embodiment, the embodiment of the present invention further provides an apparatus for preventing mistaken screen-off, which is shown in fig. 5 and includes:
a fingerprint information unit 90 for receiving fingerprint entry information;
the key interception unit 91 is configured to set a first predetermined duration, and generate an instruction for intercepting a device key event in the first predetermined duration.
And the blocking key closing unit 92 is used for closing the instruction of blocking the equipment key event when the completion mark of the fingerprint input information is received.
Wherein, the fingerprint information unit 90 is further configured to receive a broadcast request of a user for entering fingerprint information.
Wherein, the key intercepting unit 91 further includes: and the prompting module is used for detecting a key event within a first preset time length and giving a prompt on the screen of the equipment.
The fingerprint information unit 90 further includes a determining unit, configured to determine whether the device receives a fingerprint input information request;
the interception key closing unit 92 further includes a second duration waiting unit, configured to exceed a first preset duration and wait for a second duration, determine whether the user re-enters the fingerprint, and cancel the interception if the fingerprint is not entered yet.
The above-described embodiment of preventing the erroneous screen-off is a preferred embodiment, and may be implemented in other ways.
Fig. 5 is a schematic diagram of a hardware structure of the terminal provided in this embodiment, and the terminal may be any suitable mobile device, as shown in fig. 6, the device includes one or more processors 40 and a memory 70, and one processor 40 is taken as an example in fig. 6.
The processor 40 and the memory 70 may be connected by a bus or other means, and fig. 6 illustrates the connection by the bus as an example.
The memory 70, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/unit modules (e.g., unit modules shown in fig. 5) corresponding to the multi-system control method in the embodiment of the present invention. The processor 40 executes various functional applications of the server and data processing by running nonvolatile software programs, instructions and modules stored in the memory 70, that is, the multi-system control method of the above-described method embodiment is realized.
The memory 70 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of the cloud platform, and the like. Further, the memory 70 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 70 may optionally include memory located remotely from processor 40, which may be connected to the cloud platform via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The one or more modules are stored in the memory 70 and, when executed by the one or more processors 40, perform the multi-system control method of any of the method embodiments described above.
The communication device and the communication method provided by the foregoing embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments, and technical features in the method embodiments are correspondingly applicable in the device embodiments, and are not described herein again.
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. A method for preventing mistakenly turning off a screen is applied to a mobile terminal and is characterized by comprising the following steps:
the equipment receives fingerprint input information;
setting a first preset time length, and generating an instruction for intercepting a key event of equipment within the first preset time length;
and when the completion mark of the fingerprint input information is received, closing the instruction of intercepting the equipment key event.
2. The method for preventing the screen from being turned off by mistake as claimed in claim 1, applied to a mobile terminal, wherein the device receives fingerprint entry information; the method comprises the following steps: receiving a broadcast request of fingerprint input information, and calling a processing program corresponding to the broadcast request; and if the received fingerprint input information completion mark comprises a broadcast request for receiving the input completion of the fingerprint sensor, closing the instruction for intercepting the equipment key event and recovering the response of the key event.
3. The method for preventing the screen from being turned off by mistake as claimed in claim 1, applied to a mobile terminal, wherein before the device receives the fingerprint entry information, the method further comprises: judging whether the equipment receives a fingerprint input information request or not; if yes, receiving fingerprint input information; if not, giving a prompt.
4. The method for preventing the screen from being turned off by mistake as claimed in claim 1, applied to a mobile terminal, wherein within the first preset duration, if an incoming call is detected, the key event of the intercepting equipment is interrupted, and the response to the key event is recovered.
5. The method for preventing the screen from being turned off by mistake as claimed in claim 1, applied to a mobile terminal, wherein the fingerprint entry information includes identity information of a user, the identity information is verified before the device receives the fingerprint entry information, and when the identity information is verified, the fingerprint information is entered.
6. The method for preventing the screen from being turned off by mistake as claimed in claim 1, applied to a mobile terminal, wherein the first predetermined time period is set, and an instruction for intercepting a device key event is generated within the first predetermined time period; the method comprises the following steps: and judging whether the fingerprint input time exceeds a first set threshold value, if so, prompting the user to input the fingerprint again, and returning to the step of receiving the fingerprint input information by the equipment.
7. The method for preventing the screen from being turned off by mistake as claimed in claim 1, applied to a mobile terminal, wherein if a key event is detected within the first preset time period, a prompt that fingerprint verification is being performed is given to a user.
8. The method for preventing the screen from being turned off by mistake as claimed in claim 1, applied to a mobile terminal, wherein if the broadcast of the fingerprint information re-entry is received for a plurality of times within the first preset time duration, the broadcast is not intercepted and a prompt is sent.
9. A mobile terminal, comprising:
a processor;
a memory having stored thereon a computer program operable on the processor;
wherein the processor, when executing the computer program, implements the steps of the method for preventing false screen-off of any one of claims 1-8.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for preventing false screen extinguishment according to any one of claims 1 to 8.
CN201910691450.2A 2019-07-29 2019-07-29 Method for preventing mistaken screen off, terminal and computer readable storage medium Active CN110865762B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910691450.2A CN110865762B (en) 2019-07-29 2019-07-29 Method for preventing mistaken screen off, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910691450.2A CN110865762B (en) 2019-07-29 2019-07-29 Method for preventing mistaken screen off, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110865762A true CN110865762A (en) 2020-03-06
CN110865762B CN110865762B (en) 2022-04-19

Family

ID=69652111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910691450.2A Active CN110865762B (en) 2019-07-29 2019-07-29 Method for preventing mistaken screen off, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110865762B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111428603A (en) * 2020-03-18 2020-07-17 杭州指安科技股份有限公司 Electronic device and method for guaranteeing registered fingerprint quality in fingerprint identification system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117631A (en) * 2015-08-24 2015-12-02 联想(北京)有限公司 Information processing method and electronic device
CN106201548A (en) * 2016-07-22 2016-12-07 惠州Tcl移动通信有限公司 The control method of a kind of mobile terminal key event and system
CN106778378A (en) * 2016-11-21 2017-05-31 努比亚技术有限公司 A kind of terminal false-touch prevention controls devices and methods therefor
CN107423150A (en) * 2017-03-08 2017-12-01 广东欧珀移动通信有限公司 A kind of fingerprint module control method and equipment
CN107678634A (en) * 2017-09-26 2018-02-09 努比亚技术有限公司 The method to set up and terminal of game mode, computer-readable recording medium
WO2018064886A1 (en) * 2016-10-08 2018-04-12 华为技术有限公司 Fingerprint collection method and terminal
CN109885237A (en) * 2019-02-28 2019-06-14 努比亚技术有限公司 Prevent fingerprint method, mobile terminal and storage medium that accidentally touching unlocks

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117631A (en) * 2015-08-24 2015-12-02 联想(北京)有限公司 Information processing method and electronic device
CN106201548A (en) * 2016-07-22 2016-12-07 惠州Tcl移动通信有限公司 The control method of a kind of mobile terminal key event and system
WO2018064886A1 (en) * 2016-10-08 2018-04-12 华为技术有限公司 Fingerprint collection method and terminal
CN106778378A (en) * 2016-11-21 2017-05-31 努比亚技术有限公司 A kind of terminal false-touch prevention controls devices and methods therefor
CN107423150A (en) * 2017-03-08 2017-12-01 广东欧珀移动通信有限公司 A kind of fingerprint module control method and equipment
CN107678634A (en) * 2017-09-26 2018-02-09 努比亚技术有限公司 The method to set up and terminal of game mode, computer-readable recording medium
CN109885237A (en) * 2019-02-28 2019-06-14 努比亚技术有限公司 Prevent fingerprint method, mobile terminal and storage medium that accidentally touching unlocks

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
KAI FAN ET AL.: "Secure Authentication Protocol for Mobile Payment", 《TSINGHUA SCIENCE AND TECHNOLOGY》 *
谷琼 等: "基于Android智能手机的隐私管理系统的设计与实现", 《计算机应用与软件》 *
陈秀兰: "《Java语言与移动互联网技术》", 30 August 2013, 中央广播电视大学出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111428603A (en) * 2020-03-18 2020-07-17 杭州指安科技股份有限公司 Electronic device and method for guaranteeing registered fingerprint quality in fingerprint identification system
CN111428603B (en) * 2020-03-18 2023-05-09 杭州指安科技股份有限公司 Electronic device and method for guaranteeing registered fingerprint quality in fingerprint identification system

Also Published As

Publication number Publication date
CN110865762B (en) 2022-04-19

Similar Documents

Publication Publication Date Title
CN108459797B (en) Control method of folding screen and mobile terminal
EP4109218B1 (en) Mobile phone comprising a touch screen with an in-display fingerprint sensor
CN106778175B (en) Interface locking method and device and terminal equipment
US11227042B2 (en) Screen unlocking method and apparatus, and storage medium
CN108388786A (en) Unlocked by fingerprint method and device
CN108462697B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN108345781A (en) Unlocked by fingerprint method and device
WO2018161743A1 (en) Fingerprint recognition method and related product
CN107609363B (en) Unlocking method and mobile terminal
WO2018045487A1 (en) Data sharing method and terminal
CN107870674B (en) Program starting method and mobile terminal
CN108156537B (en) Remote operation method of mobile terminal and mobile terminal
CN109799924B (en) False touch prevention control method and device, mobile terminal and computer readable storage medium
CN108108111B (en) Method and device for checking lock screen picture information and mobile terminal
WO2018223402A1 (en) Function control method and terminal
CN109062634B (en) Application starting method and mobile terminal
CN108769410B (en) Information sending method and mobile terminal
CN108710806B (en) Terminal unlocking method and mobile terminal
CN107066090B (en) Method for controlling fingerprint identification module and mobile terminal
CN106447325B (en) NFC communication-based processing method and device and mobile terminal
CN109639370B (en) Near field communication antenna detection method and device, mobile terminal and storage medium
CN110865762B (en) Method for preventing mistaken screen off, terminal and computer readable storage medium
CN111124537B (en) Application starting method and electronic equipment
CN109164951B (en) Mobile terminal operation method and mobile terminal
CN109359460B (en) Face recognition method and terminal equipment

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