[go: up one dir, main page]

WO2018166204A1 - 一种控制指纹识别模组的方法、移动终端及存储介质 - Google Patents

一种控制指纹识别模组的方法、移动终端及存储介质 Download PDF

Info

Publication number
WO2018166204A1
WO2018166204A1 PCT/CN2017/106851 CN2017106851W WO2018166204A1 WO 2018166204 A1 WO2018166204 A1 WO 2018166204A1 CN 2017106851 W CN2017106851 W CN 2017106851W WO 2018166204 A1 WO2018166204 A1 WO 2018166204A1
Authority
WO
WIPO (PCT)
Prior art keywords
fingerprint recognition
recognition module
interference event
module
capacitance values
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.)
Ceased
Application number
PCT/CN2017/106851
Other languages
English (en)
French (fr)
Inventor
郭子青
刘平
王立中
周海涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of WO2018166204A1 publication Critical patent/WO2018166204A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • G06V40/1306Sensors therefor non-optical, e.g. ultrasonic or capacitive sensing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Definitions

  • the present invention relates to the field of electronic devices, and in particular, to a method, a mobile terminal, and a storage medium for controlling a fingerprint identification module.
  • Fingerprint identification technology as a standard technology for mobile terminals, has been widely used on mobile terminals.
  • the mobile terminal in the case of the touch fingerprint recognition module, the mobile terminal is not equipped with the Home button on the hardware, and the function of the Home button is simulated by the fingerprint recognition module in the software, because the fingerprint recognition module generally It can't be pressed and can only be touched. Therefore, this kind of fingerprint recognition module that needs to bear the function of fingerprint and Home key at the same time is called touch fingerprint recognition module.
  • touch fingerprint recognition module this kind of fingerprint recognition module that needs to bear the function of fingerprint and Home key at the same time is called touch fingerprint recognition module.
  • capacitive fingerprint recognition modules which detect changes in capacitance caused by the proximity of the user's finger lines and provide digital output, but at the same time, capacitive fingerprint recognition The module inevitably has the risk of static interference, which may cause the fingerprint recognition module to malfunction in the Home key mode, causing the user to be unable to operate the Home button for a period of time.
  • the embodiment of the invention provides a method for controlling a fingerprint identification module, a mobile terminal and a storage medium, which can return to a normal working state when the fingerprint identification module fails in the Home key mode.
  • a first aspect of the embodiments of the present invention provides a method for controlling a fingerprint identification module, including:
  • the fingerprint recognition module is controlled to switch to a fingerprint collection mode.
  • a second aspect of the embodiments of the present invention provides a mobile terminal, including:
  • a detecting unit configured to detect whether a static interference event occurs when the user touches the fingerprint recognition module and the Home key mode fails
  • a first control unit configured to: when detecting the static interference event, control the fingerprint recognition module to re-enter the Home key mode, and initialize a capacitive sensing state of the fingerprint recognition module;
  • the second control unit is configured to control the fingerprint recognition module to switch to the fingerprint collection mode when the static interference event is not detected.
  • a third aspect of the embodiments of the present invention provides a mobile terminal, including:
  • a processor and a memory wherein the processor performs some or all of the steps of the method described in the first aspect by invoking code or instructions in the memory.
  • a fourth aspect of the invention discloses a storage medium having program code stored therein, the processor executing some or all of the steps of the method described in the first aspect when the program code is executed.
  • the Home key mode when the user touches the fingerprint recognition module and the Home key mode fails, it is detected whether an electrostatic interference event has occurred, and when the static interference event is detected, the fingerprint recognition module is re-entered into the home.
  • the key mode initializes the capacitive sensing state of the fingerprint recognition module, and controls the fingerprint recognition module to switch to the fingerprint collection mode when no electrostatic interference event is detected. In this way, when the Home button mode fails, it can quickly return to the normal working state.
  • FIG. 1 is a schematic flow chart of a first embodiment of a method for controlling a fingerprint identification module according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of a second embodiment of a method for controlling a fingerprint identification module according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a first embodiment of a mobile terminal according to an embodiment of the present disclosure
  • FIG. 3b is a schematic structural diagram of a detecting unit of the mobile terminal depicted in FIG. 3a according to an embodiment of the present disclosure
  • FIG. 3c is still another schematic structural diagram of a detecting unit of the mobile terminal depicted in FIG. 3a according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of a second embodiment of a mobile terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an embodiment of a mobile phone according to an embodiment of the present invention.
  • references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention.
  • the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art understand explicitly and implicitly that the embodiments described herein may be Its embodiment is combined.
  • the mobile terminal described in the embodiments of the present invention may include a smart phone (such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.), a tablet computer, a palmtop computer, a notebook computer, a mobile Internet device (MID, Mobile Internet Devices), or a wearable device.
  • a smart phone such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.
  • a tablet computer such as an Android mobile phone, an iOS mobile phone, a Windows Phone mobile phone, etc.
  • a palmtop computer such as a notebook computer
  • MID mobile Internet device
  • the Home button of the mobile terminal integrates a fingerprint recognition module, which can be used not only for fingerprint collection but also as a Home button to quickly return to the home page of the mobile terminal.
  • the fingerprint identification module of the mobile terminal may include the following two working modes: a fingerprint collection mode and a HOME key mode, wherein the fingerprint collection mode includes a normal input and unlock function, which may be defined in the embodiment of the present invention.
  • the HOME key mode is a default low priority mode of operation.
  • the fingerprint recognition module When the fingerprint recognition module exits the high priority mode, it enters the Home mode.
  • the fingerprint recognition module simulates the pressing and leaving of the HOME key by capacitive sensing and generates a corresponding HOME event.
  • the fingerprint recognition module When the fingerprint recognition module is in the HOME key mode, if a sudden static interference is encountered at this time, the working state of the fingerprint recognition module may be abnormal, and thus the function of the HOME key function may be invalid for a period of time, and the user cannot Then touch the Home button to return to the home page of the mobile terminal, thus bringing a significantly bad user experience.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for controlling a fingerprint identification module according to an embodiment of the present invention.
  • the method for controlling a fingerprint identification module described in this embodiment includes the following steps:
  • the fingerprint recognition module when the fingerprint recognition module is in the Home key mode, at this time, if the user touches the fingerprint recognition module (the user can be considered to press the Home button), the capacitance value of the fingerprint recognition module changes, so that the sensor can be sensed. The user touched the fingerprint recognition module.
  • the Home button mode fails, the mobile terminal can detect whether a static interference event has occurred. If it occurs, a relatively strong magnetic field may appear around it. For example, there may be a magnet away from the fingerprint recognition module. Very close, it is also possible, at this time, the mobile terminal is in a state of charge, and at this time, the external current is involved, causing the finger
  • the pattern recognition module is subject to static electricity.
  • detecting whether an electrostatic interference event occurs may include the following steps:
  • the Hall sensor can be installed in the mobile terminal, thereby detecting the magnetic field strength in the environment, and thus, the current environmental magnetic field strength can be obtained.
  • the first preset threshold may be set by the user, or the system defaults. Generally, the first preset threshold may be an empirical value, which is obtained by the mobile terminal manufacturer in advance and configured in the mobile terminal. When the current ambient magnetic field strength is greater than the first preset threshold, the static interference event occurs on the mobile terminal.
  • detecting whether an electrostatic interference event occurs may include the following steps:
  • the capacitance value can be collected by the fingerprint recognition module. Since the fingerprint recognition module includes a plurality of capacitors, a plurality of capacitance values can be obtained, and the plurality of capacitance values can be called Combine for capacitance values. Under normal circumstances, in the case of no static interference, the set of capacitance values will show a certain regularity, that is, the preset law. If the set of capacitance values conforms to the preset law, the mobile terminal is not subjected to static interference, that is, no static electricity occurs. Interference events, and if the set of capacitance values does not conform to the preset rule, the mobile terminal is not subject to static interference, that is, an electrostatic interference event occurs.
  • determining whether the set of capacitance values meets a preset rule may include the following steps:
  • the capacitance value may be quantized first, and then the quantized capacitance value is converted into a histogram. Since the capacitance value collected by the fingerprint recognition module is a very accurate decimal point under normal circumstances, It needs to be quantized, that is, the capacitance value is quantized to different levels.
  • the histogram can be abstracted into a target curve. For example, after being converted into a histogram, the histogram can be fitted, thereby obtaining a target curve.
  • the above preset curve is a curve in the case of normal acquisition, and the preset curve can be stored in advance before step 101.
  • the fingerprint identification module collects 100 sets of capacitance values, and the set of 100 sets of capacitance values can correspond to 100 curves, and the 100 curves can be trained as a preset curve.
  • 100 trains are trained by the trainer.
  • the above preset range can be set by the user or the system defaults.
  • the similarity between the target curve and the preset curve may be calculated, and the similarity may be a specific value. Therefore, in step 144, if the similarity is in the preset range, the capacitance value set is consistent.
  • the preset law the similarity is not in the preset range, indicating that the set of capacitance values does not conform to the preset law.
  • the mobile terminal can perform mode scheduling, and re-control the fingerprint recognition module to enter the Home key mode. Since the capacitive sensing state of the fingerprint recognition module is disturbed by static electricity, the fingerprint identification can be initialized. The capacitive sensing state of the module can enhance the anti-jamming capability of the mobile terminal, thereby ensuring that the fingerprint recognition module can continue to work stably.
  • the fingerprint recognition module of the mobile terminal may be switched to the fingerprint collection mode.
  • the fingerprint recognition mode is used.
  • the group can collect fingerprint images.
  • the mobile terminal can be set such that the fingerprint acquisition mode has a higher priority than the Home key mode.
  • the fingerprint collection mode if it is subjected to static interference, it may fail to acquire a frame of fingerprint image. However, after the fingerprint image acquisition fails, the fingerprint image may continue to be collected, so as to ensure rapid acquisition of the fingerprint image without being
  • the fingerprint recognition module also stops working in the fingerprint collection mode.
  • step 102 when the static interference event is detected, the following steps may be further included:
  • the fingerprint recognition module has an electrostatic interference event, which may be caused by the intervention of the external charging current. Therefore, when the static interference event is detected, the charging current is detected to be stable. If it is stable, the mobile terminal is in a normal charging state.
  • the fingerprint recognition module can be controlled to re-enter the Home key mode and initialize the capacitive sensing state of the fingerprint recognition module. When the charging current is unstable, it is necessary to wait. When the charging current is stable, the fingerprint recognition module is controlled to re-enter the Home key mode, and the capacitance sensing state of the fingerprint recognition module is initialized.
  • the mobile terminal can detect whether the charging current is stable every preset time interval, and the preset time interval can be understood as the detection frequency, and the detection frequency can be set by the system default or by the user.
  • whether the foregoing detecting the charging current is stable may include the following steps:
  • the Home key mode when the user touches the fingerprint recognition module and the Home key mode fails, it is detected whether an electrostatic interference event has occurred, and when the static interference event is detected, the fingerprint recognition module is re-entered into the home.
  • the key mode initializes the capacitive sensing state of the fingerprint recognition module, and controls the fingerprint recognition module to switch to the fingerprint collection mode when no electrostatic interference event is detected. In this way, when the Home button mode fails, it can quickly return to the normal working state.
  • FIG. 2 is a schematic flowchart diagram of a second embodiment of a method for controlling a fingerprint identification module according to an embodiment of the present invention.
  • the method for controlling a fingerprint identification module described in this embodiment includes the following steps:
  • the Hall sensor can be installed in the mobile terminal, thereby detecting the magnetic field strength in the environment, and thus, the environmental magnetic field strength can be obtained.
  • the mobile terminal can detect the environmental magnetic field every preset time interval.
  • the field strength, the preset time interval can be set by the user, or the system defaults, the preset time interval can be understood as the detection frequency, that is, the ambient magnetic field strength is detected according to the detection frequency.
  • the second preset threshold may be set by the user or the system defaults.
  • the fingerprint recognition module is controlled to re-enter the Home key mode, and the capacitive sensing state of the fingerprint recognition module is initialized.
  • step 203 is not performed. It can be understood that, at this time, the magnetic field strength in the environment is still strong, and it is not convenient to schedule back to the Home key mode.
  • step 203-step 204 For a detailed description of the foregoing step 201, step 203-step 204, reference may be made to the corresponding step of the method for controlling the fingerprint identification module described in FIG.
  • FIG. 3 is a schematic structural diagram of a first embodiment of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal described in this embodiment includes: a detecting unit 301, a first control unit 302, and a second control unit 303, as follows:
  • the detecting unit 301 is configured to detect whether a static interference event occurs when the user touches the fingerprint recognition module and the Home key mode fails.
  • the first control unit 302 is configured to control the fingerprint recognition module to re-enter the Home key mode when the static interference event is detected, and initialize a capacitive sensing state of the fingerprint identification module. state;
  • the second control unit 303 is configured to control the fingerprint recognition module to switch to the fingerprint collection mode when the static interference event is not detected.
  • FIG. 3b is a specific refinement structure of the detecting unit 301 described in FIG. 3a, and the detecting unit 301 may include: a first obtaining module 3011 and a first determining module 3012, as follows:
  • the first obtaining module 3011 is configured to acquire a current ambient magnetic field strength
  • the first determining module 3012 is configured to determine that the static interference event occurs when the current ambient magnetic field strength is greater than a first preset threshold.
  • FIG. 3c is a specific refinement structure of the detecting unit 301 described in FIG. 3a, and the detecting unit 301 may include: a second obtaining module 3013 and a judging module 3014, as follows:
  • the second obtaining module 3013 is configured to acquire a set of capacitance values collected by the fingerprint identification module
  • the determining module 3014 is configured to determine whether the set of capacitance values meets a preset rule. When the determining result of the determining module 3014 is that the set of capacitance values does not meet the preset rule, determining that the static interference event occurs .
  • the determining module 3014 may include: a conversion module (marked in the figure), a calculation module (marked in the figure), and a second determination module (marked in the figure), as follows:
  • a conversion module configured to convert the capacitance value into a histogram
  • the conversion module is further configured to convert the histogram into a target curve
  • a calculation module configured to calculate a similarity between the target curve and the preset curve
  • a second determining module configured to determine, when the similarity is in a preset range, that the set of capacitance values meets the preset rule.
  • the first control unit 301 is specifically configured to:
  • the mobile terminal described in the embodiment of the present invention detects that the user touches the fingerprint recognition module and the Home key mode fails, it detects whether an electrostatic interference event has occurred, and controls the fingerprint identification when an electrostatic interference event is detected.
  • the module re-enters the Home button mode and initializes the capacitive sensing state of the fingerprint recognition module.
  • the control fingerprint recognition module switches to Fingerprint acquisition mode. In this way, when the Home button mode fails, it can quickly return to the normal working state.
  • FIG. 4 it is a schematic structural diagram of a second embodiment of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal described in this embodiment includes: at least one input device 1000; at least one output device 2000; at least one processor 3000, such as a CPU; and a memory 4000, the input device 1000, the output device 2000, the processor 3000, and The memory 4000 is connected by a bus 5000.
  • the input device 1000 may be a touch panel, a physical button, or a mouse.
  • the output device 2000 described above may specifically be a display screen.
  • the above memory 4000 may be a high speed RAM memory or a non-volatile memory such as a magnetic disk memory.
  • the above memory 4000 is used to store a set of program codes, and the input device 1000, the output device 2000, and the processor 3000 are used to call the program code stored in the memory 4000, and perform the following operations:
  • the processor 3000 is configured to:
  • the fingerprint recognition module is controlled to switch to a fingerprint collection mode.
  • the processor 3000 detects whether an electrostatic interference event occurs, including:
  • the static interference event is determined to occur when the current ambient magnetic field strength is greater than a first predetermined threshold.
  • the processor 3000 detects whether an electrostatic interference event occurs, including:
  • the processor 3000 determines whether the set of capacitance values meets a preset rule, including:
  • processor 3000 is further configured to:
  • FIG. 5 is a block diagram showing a partial structure of a mobile phone related to a mobile terminal provided by an embodiment of the present invention.
  • the mobile phone includes: a radio frequency (RF) circuit 510, a memory 520, an input unit 530, a display unit 540, a sensor 550, an audio circuit 560, a Wireless Fidelity (Wi-Fi) module 570, and processing.
  • RF radio frequency
  • Device 580 and components such as power supply 590.
  • the structure of the handset shown in FIG. 5 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different components may be arranged.
  • the RF circuit 510 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, it is processed by the processor 580. In addition, the uplink data is designed to be sent to the base station. Generally, RF circuit 510 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 510 can also communicate with the network and other devices via wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • the memory 520 can be used to store software programs and modules, and the processor 580 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 520.
  • the memory 520 can mainly include a storage program area and a storage data area, wherein the storage program area can store operations The system, at least one function required application (such as sound playback function, image playback function, etc.); the storage data area can store data (such as audio data, phone book, etc.) created according to the use of the mobile phone.
  • memory 520 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 530 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset.
  • the input unit 530 may include a touch panel 531 and other input devices 532.
  • the touch panel 531 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 531 or near the touch panel 531. Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 531 can include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 580 is provided and can receive commands from the processor 580 and execute them.
  • the touch panel 531 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 530 may also include other input devices 532. Specifically, other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 540 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone.
  • the display unit 540 can include a display panel 541.
  • the display panel 541 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 531 can cover the display panel 541. When the touch panel 531 detects a touch operation on or near it, the touch panel 531 transmits to the processor 580 to determine the type of the touch event, and then the processor 580 according to the touch event. The type provides a corresponding visual output on display panel 541.
  • touch panel 531 and the display panel 541 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 5, in some embodiments, the touch panel 531 and the display panel 541 may be integrated. Realize the input and output functions of the phone.
  • the handset may also include at least one type of sensor 550, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light The sensor can adjust the brightness of the display panel 541 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 541 and/or the backlight when the mobile phone moves to the ear.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile phone can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • the gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration
  • vibration recognition related functions such as pedometer, tapping
  • the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • Audio circuit 560, speaker 561, and microphone 562 provide an audio interface between the user and the handset.
  • the audio circuit 560 can transmit the converted electrical data of the received audio data to the speaker 561, and convert it into a sound signal output by the speaker 561.
  • the microphone 562 converts the collected sound signal into an electrical signal, and the audio circuit 560 is used by the audio circuit 560. After receiving, it is converted into audio data, and then processed by the audio data output processor 580, sent to the other mobile phone via the RF circuit 510, or outputted to the memory 520 for further processing.
  • WiFi is a short-range wireless transmission technology
  • the mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 570, which provides users with wireless broadband Internet access.
  • FIG. 5 shows the WiFi module 570, it can be understood that it does not belong to the essential configuration of the mobile phone, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 580 is the control center of the handset, and connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 520, and invoking data stored in the memory 520, executing The phone's various functions and processing data, so that the overall monitoring of the phone.
  • the processor 580 may include one or more processing units; preferably, the processor 580 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 580.
  • the handset also includes a power source 590 (such as a battery) that supplies power to the various components.
  • a power source 590 such as a battery
  • the power source can be logically coupled to the processor 580 via a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • each step method flow may be implemented based on the structure of the terminal.
  • the sensor The 550 can include a proximity sensor and a humidity sensor, and the touch panel 531 can be used as a fingerprint recognition module.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of the method for controlling the fingerprint identification module described in the foregoing method embodiments. .
  • embodiments of the present invention can be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program is stored/distributed in a suitable medium, provided with other hardware or as part of the hardware, or in other distributed forms, such as over the Internet or other wired or wireless telecommunication systems.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that it is stored in the computer readable memory.
  • the instructions produce an article of manufacture comprising an instruction device that implements the functions specified in a block or blocks of a flow or a flow and/or a block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)

Abstract

一种控制指纹识别模组的方法、移动终端及存储介质,所述方法包括:若检测到用户触摸指纹识别模组且Home键模式失灵时,检测是否发生了静电干扰事件(101);在检测到所述静电干扰事件时,控制所述指纹识别模组重新进入所述Home键模式,并初始化所述指纹识别模组的电容感应状态(102);在未检测到所述静电干扰事件时,控制所述指纹识别模组切换为指纹采集模式(103)。可在指纹识别模组在Home键模式失灵时,回到正常工作状态。

Description

一种控制指纹识别模组的方法、移动终端及存储介质 技术领域
本发明涉及电子设备领域,具体涉及一种控制指纹识别模组的方法、移动终端及存储介质。
背景技术
随着信息技术的快速发展,移动终端(如手机、平板电脑等等)使用越来越普及,指纹识别技术作为移动终端的标配技术,已经在移动终端上进行了广泛使用。
现有技术中,就触摸式指纹识别模组而言,移动终端在硬件上是没有搭载Home按键的,而Home按键的功能是通过指纹识别模组在软件上来模拟的,因为指纹识别模组一般是无法按下只能触摸的,因此,这类同时需要承担指纹与Home键功能的指纹识别模组称为触摸式指纹识别模组。市场上绝大部分产品使用的都是电容式指纹识别模组,它能检测到因使用者手指细微纹路的接近所造成的电容变化,并提供数字输出,但是,与此同时,电容式指纹识别模组不可避免地会存在静电干扰的风险,如此,会导致指纹识别模组在Home键模式下失灵,导致用户在一段时间内无法对Home键进行操作。
发明内容
本发明实施例提供了一种控制指纹识别模组的方法、移动终端及存储介质,可在指纹识别模组在Home键模式失灵时,回到正常工作状态。
本发明实施例第一方面提供了一种控制指纹识别模组的方法,包括:
若检测到用户触摸指纹识别模组且Home键模式失灵时,检测是否发生了静电干扰事件;
在检测到所述静电干扰事件时,控制所述指纹识别模组重新进入所述 Home键模式,并初始化所述指纹识别模组的电容感应状态;
在未检测到所述静电干扰事件时,控制所述指纹识别模组切换为指纹采集模式。
本发明实施例第二方面提供了一种移动终端,包括:
检测单元,用于若检测到用户触摸指纹识别模组且Home键模式失灵时,检测是否发生了静电干扰事件;
第一控制单元,用于在检测到所述静电干扰事件时,控制所述指纹识别模组重新进入所述Home键模式,并初始化所述指纹识别模组的电容感应状态;
第二控制单元,用于在未检测到所述静电干扰事件时,控制所述指纹识别模组切换为指纹采集模式。
本发明实施例第三方面提供了一种移动终端,包括:
处理器和存储器;其中,所述处理器通过调用所述存储器中的代码或指令以执行第一方面所描述的方法的部分或者全部步骤。
本发明第四方面公开了一种存储介质,所述存储介质中存储有程序代码,当所述程序代码被运行时,处理器执行所述第一方面所描述的方法的部分或者全部步骤。
实施本发明实施例,具有如下有益效果:
可以看出,通过本发明实施例,若检测到用户触摸指纹识别模组且Home键模式失灵时,检测是否发生了静电干扰事件,在检测到静电干扰事件时,控制指纹识别模组重新进入Home键模式,并初始化指纹识别模组的电容感应状态,在未检测到静电干扰事件时,控制指纹识别模组切换为指纹采集模式。如此,在Home键模式失灵时,可快速回归到正常工作状态。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还 可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种控制指纹识别模组的方法的第一实施例流程示意图;
图2是本发明实施例提供的一种控制指纹识别模组的方法的第二实施例流程示意图;
图3a是本发明实施例提供的一种移动终端的第一实施例结构示意图;
图3b是本发明实施例提供的图3a所描述的移动终端的检测单元的结构示意图;
图3c是本发明实施例提供的图3a所描述的移动终端的检测单元的又一结构示意图;
图4是本发明实施例提供的一种移动终端的第二实施例结构示意图;
图5是本发明实施例提供的一种手机的实施例结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置展示该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其 它实施例相结合。
本发明实施例所描述移动终端可以包括智能手机(如Android手机、iOS手机、Windows Phone手机等)、平板电脑、掌上电脑、笔记本电脑、移动互联网设备(MID,Mobile Internet Devices)或穿戴式设备等,上述仅是举例,而非穷举,包含但不限于上述移动终端。移动终端的Home键集成了指纹识别模组,不仅可用于指纹采集,还可以用于充当Home键,以实现快捷返回移动终端的主页。
本发明实施例中,移动终端的指纹识别模组可包含如下两种工作模式:指纹采集模式和HOME键模式,其中,指纹采集模式包括正常的录入和解锁功能,在本发明实施例中可定义处于高优先级的工作模式,而HOME键模式作为一种默认的低优先级工作模式,当指纹识别模组退出高优先级的工作模式后进入Home键模式。在HOME键模式中,指纹识别模组通过电容感应来模拟HOME键的按下与离开并产生相应的HOME事件。当指纹识别模组处于HOME键模式时,如果这时候遇到了突发的静电干扰,很可能会导致指纹识别模组工作状态异常,从而,引起HOME键功能在一段时间内的功能失效,用户无法再通过触摸Home键来回到移动终端的主页,因此,会带来明显不良的用户体验。
请参阅图1,为本发明实施例提供的一种控制指纹识别模组的方法的第一实施例流程示意图。本实施例中所描述的控制指纹识别模组的方法,包括以下步骤:
101、若检测到用户触摸指纹识别模组且Home键模式失灵时,检测是否发生了静电干扰事件。
其中,在指纹识别模组处于Home键模式下,此时,若用户触摸到指纹识别模组(可认为用户按压Home键)的时候,指纹识别模组的电容值会产生变化,如此,可感应到用户触摸到了指纹识别模组。在某些情况下,例如,Home键模式失灵,移动终端可检测是否发生了静电干扰事件,如果发生了,则发生周围可能出现了比较强大的磁场,例如,可能有块磁铁离指纹识别模组很近,也有可能,此时,移动终端处于充电状态下,而此时,外界电流介入,导致指 纹识别模组受到了静电干扰。
可选地,上述步骤101中,检测是否发生了静电干扰事件,可包括如下步骤:
11)、获取当前环境磁场强度;
12)、在所述当前环境磁场强度大于第一预设阈值时,确定发生了所述静电干扰事件。
其中,移动终端中可安装有霍尔传感器,从而,检测环境中的磁场强度,如此,可获取当前环境磁场强度。上述第一预设阈值可由用户自行设置,或者,系统默认。通常情况下,第一预设阈值可为一个经验值,由移动终端生产商事先实验得到,并将其配置在移动终端中。在当前环境磁场强度大于第一预设阈值,则说明移动终端发生了静电干扰事件。
可选地,上述步骤101中,检测是否发生了静电干扰事件,可包括如下步骤:
13)、获取由所述指纹识别模组采集的电容值集合;
14)、判断所述电容值集合是否符合预设规律,在所述电容值集合不符合所述预设规律时,确定发生了所述静电干扰事件。
其中,在用户触摸到指纹识别模组的时候,可通过指纹识别模组采集电容值,由于指纹识别模组包含多个电容,因而,可得到多个电容值,将该多个电容值可称为电容值结合。通常情况下,在未受到静电干扰的情况下,电容值集合会呈现出一定的规律,即预设规律,若电容值集合符合预设规律,则说明移动终端未受到静电干扰,即未发生静电干扰事件,而若电容值集合不符合预设规律,则说明移动终端未受到静电干扰,即发生了静电干扰事件。
可选地,上述步骤14中,判断所述电容值集合是否符合预设规律,可包括如下步骤:
141)、将所述电容值转化为直方图;
142)、将所述直方图转化为目标曲线;
143)、计算所述目标曲线与预设曲线之间的相似度;
144)、在所述相似度处于预设范围时,确定所述电容值集合符合所述预设规律。
其中,步骤141中,可先将电容值进行量化处理,再将量化处理后的电容值转化为直方图,由于指纹识别模组采集的电容值在通常情况下,会是非常精确的小数,因而,需要对其进行量化处理,即将电容值量化为不同的等级。步骤142中,可将直方图抽象为目标曲线,例如,转化为直方图之后,可对该直方图进行拟合,从而,得到目标曲线。上述预设曲线为正常采集情况下的曲线,该预设曲线可在步骤101之前事先存储。例如,指纹识别模组采集了100组电容值集合,该100组电容值集合可对应100条曲线,可将该100条曲线训练为预设曲线,例如,采用训练器对100条曲线进行训练。上述预设范围可由用户自行设置或者系统默认。如此,步骤143中,可计算目标曲线与预设曲线之间的相似度,该相似度可为一个具体值,因此,在步骤144中,若相似度处于预设范围,则说明电容值集合符合预设规律,相似度不处于预设范围,则说明电容值集合不符合预设规律。
102、在检测到所述静电干扰事件时,控制所述指纹识别模组重新进入所述Home键模式,并初始化所述指纹识别模组的电容感应状态。
其中,若移动终端检测到了静电干扰事件,则移动终端可进行模式调度,重新控制指纹识别模组进入Home键模式,由于指纹识别模组的电容感应状态被静电干扰了,因而,可初始化指纹识别模组的电容感应状态,如此,可增强移动终端的抗干扰能力,从而,确保指纹识别模组可继续稳定地工作。
103、在未检测到所述静电干扰事件时,控制所述指纹识别模组切换为指纹采集模式。
其中,当移动终端未检测到静电干扰事件时,则说明用户可能是为了采集指纹图像,因而,可将移动终端的指纹识别模组切换到指纹采集模式,在该指纹采集模式下,指纹识别模组可采集指纹图像。
可选地,移动终端可被设置为:指纹采集模式优先级高于Home键模式。如此,指纹采集模式下,若受到了静电干扰,其可能采集一帧指纹图像失败,但是,在该指纹图像采集失败之后,可继续采集指纹图像,如此,以保证快速采集指纹图像,而不至于指纹识别模组在指纹采集模式下也停止工作。
可选地,上述步骤102中,在检测到所述静电干扰事件时,还可以包含如下步骤:
在当前移动终端的状态处于充电状态时,检测充电电流是否稳定;
在所述充电电流稳定时,执行所述控制所述指纹识别模组重新进入所述Home键模式,并初始化所述指纹识别模组的电容感应状态。
其中,指纹识别模组出现静电干扰事件,可以由于外界充电电流介入所致,因而,可在检测到静电干扰事件时,检测充电电流是否稳定,若稳定则说明移动终端处于正常充电状态,因而,可控制指纹识别模组重新进入Home键模式,并初始化指纹识别模组的电容感应状态。而充电电流不稳定时,则需要进行等待,则充电电流稳定时,再控制指纹识别模组重新进入Home键模式,并初始化指纹识别模组的电容感应状态。移动终端可每隔预设时间间隔检测充电电流是否稳定,预设时间间隔可理解为检测频率,该检测频率可由系统默认或者,用户自行设置。
进一步可选地,上述检测充电电流是否稳定,可包括如下步骤:
接收适配器发送的消息,所述消息携带电流状态;
在所述电流状态为稳定状态时,确定充电电流稳定。
如此,可通过适配器检测充电电流是否稳定。
可以看出,通过本发明实施例,若检测到用户触摸指纹识别模组且Home键模式失灵时,检测是否发生了静电干扰事件,在检测到静电干扰事件时,控制指纹识别模组重新进入Home键模式,并初始化指纹识别模组的电容感应状态,在未检测到静电干扰事件时,控制指纹识别模组切换为指纹采集模式。如此,在Home键模式失灵时,可快速回归到正常工作状态。
与上述一致地,请参阅图2,为本发明实施例提供的一种控制指纹识别模组的方法的第二实施例流程示意图。本实施例中所描述的控制指纹识别模组的方法,包括以下步骤:
201、若检测到用户触摸指纹识别模组且Home键模式失灵时,检测是否发生了静电干扰事件。
202、在检测到所述静电干扰事件时,检测环境磁场强度。
其中,移动终端中可安装有霍尔传感器,从而,检测环境中的磁场强度,如此,可获取环境磁场强度。当然,移动终端可每隔预设时间间隔检测环境磁 场强度,预设时间间隔可由用户自行设置,或者,系统默认,预设时间间隔即可理解为检测频率,即按照检测频率检测环境磁场强度。
203、在所述环境磁场强度小于第二预设阈值时,控制所述指纹识别模组重新进入所述Home键模式,并初始化所述指纹识别模组的电容感应状态。
其中,上述第二预设阈值可由用户自行设置或者系统默认。在环境磁场强度小于第二预设阈值时,控制指纹识别模组重新进入Home键模式,并初始化指纹识别模组的电容感应状态。在环境磁场强度大于或等于第二预设阈值时,则不执行步骤203,可以理解为,此时,环境中的磁场强度还是很强,不便于调度回Home键模式。
204、在未检测到所述静电干扰事件时,控制所述指纹识别模组切换为指纹采集模式。
其中,上述步骤201、步骤203-步骤204的具体描述可参照图1所描述的控制指纹识别模组的方法的对应步骤。
可以看出,通过本发明实施例,若检测到用户触摸指纹识别模组且Home键模式失灵时,检测是否发生了静电干扰事件,在检测到静电干扰事件且环境磁场强度小于第二预设阈值时,控制指纹识别模组重新进入Home键模式,并初始化指纹识别模组的电容感应状态,在未检测到静电干扰事件时,控制指纹识别模组切换为指纹采集模式。如此,在Home键模式失灵时,可快速回归到正常工作状态。
与上述一致地,以下为实施上述控制指纹识别模组的方法的装置,具体如下:
请参阅图3a,为本发明实施例提供的一种移动终端的第一实施例结构示意图。本实施例中所描述的移动终端,包括:检测单元301、第一控制单元302和第二控制单元303,具体如下:
检测单元301,用于若检测到用户触摸指纹识别模组且Home键模式失灵时,检测是否发生了静电干扰事件;
第一控制单元302,用于在检测到所述静电干扰事件时,控制所述指纹识别模组重新进入所述Home键模式,并初始化所述指纹识别模组的电容感应状 态;
第二控制单元303,用于在未检测到所述静电干扰事件时,控制所述指纹识别模组切换为指纹采集模式。
可选地,如图3b,图3b为图3a所描述的检测单元301的具体细化结构,所述检测单元301可包括:第一获取模块3011和第一确定模块3012,具体如下:
第一获取模块3011,用于获取当前环境磁场强度;
第一确定模块3012,用于在所述当前环境磁场强度大于第一预设阈值时,确定发生了所述静电干扰事件。
可选地,如图3c,图3c为图3a所描述的检测单元301的具体细化结构,所述检测单元301可包括:第二获取模块3013和判断模块3014,具体如下:
第二获取模块3013,用于获取由所述指纹识别模组采集的电容值集合;
判断模块3014,用于判断所述电容值集合是否符合预设规律,在所述判断模块3014的判断结果为所述电容值集合不符合所述预设规律时,确定发生了所述静电干扰事件。
进一步可选地,所述判断模块3014可包括:转化模块(图中为标出)、计算模块(图中为标出)和第二确定模块(图中为标出),具体如下:
转化模块,用于将所述电容值转化为直方图;
所述转化模块,还用于将所述直方图转化为目标曲线;
计算模块,用于计算所述目标曲线与预设曲线之间的相似度;
第二确定模块,用于在所述相似度处于预设范围时,确定所述电容值集合符合所述预设规律。
可选地,所述第一控制单元301具体用于:
在环境磁场强度小于第二预设阈值时,执行所述控制所述指纹识别模组重新进入所述Home键模式。
可以看出,通过本发明实施例所描述的移动终端,若检测到用户触摸指纹识别模组且Home键模式失灵时,检测是否发生了静电干扰事件,在检测到静电干扰事件时,控制指纹识别模组重新进入Home键模式,并初始化指纹识别模组的电容感应状态,在未检测到静电干扰事件时,控制指纹识别模组切换为 指纹采集模式。如此,在Home键模式失灵时,可快速回归到正常工作状态。
与上述一致地,请参阅图4,为本发明实施例提供的一种移动终端的第二实施例结构示意图。本实施例中所描述的移动终端,包括:至少一个输入设备1000;至少一个输出设备2000;至少一个处理器3000,例如CPU;和存储器4000,上述输入设备1000、输出设备2000、处理器3000和存储器4000通过总线5000连接。
其中,上述输入设备1000具体可为触控面板、物理按键或者鼠标。
上述输出设备2000具体可为显示屏。
上述存储器4000可以是高速RAM存储器,也可为非易失存储器(non-volatile memory),例如磁盘存储器。上述存储器4000用于存储一组程序代码,上述输入设备1000、输出设备2000和处理器3000用于调用存储器4000中存储的程序代码,执行如下操作:
上述处理器3000,用于:
若检测到用户触摸指纹识别模组且Home键模式失灵时,检测是否发生了静电干扰事件;
在检测到所述静电干扰事件时,控制所述指纹识别模组重新进入所述Home键模式,并初始化所述指纹识别模组的电容感应状态;
在未检测到所述静电干扰事件时,控制所述指纹识别模组切换为指纹采集模式。
可选地,上述处理器3000检测是否发生了静电干扰事件,包括:
获取当前环境磁场强度;
在所述当前环境磁场强度大于第一预设阈值时,确定发生了所述静电干扰事件。
可选地,上述处理器3000检测是否发生了静电干扰事件,包括:
获取由所述指纹识别模组采集的电容值集合;
判断所述电容值集合是否符合预设规律,在所述电容值集合不符合所述预设规律时,确定发生了所述静电干扰事件。
可选地,上述处理器3000判断所述电容值集合是否符合预设规律,包括:
将所述电容值转化为直方图;
将所述直方图转化为目标曲线;
计算所述目标曲线与预设曲线之间的相似度;
在所述相似度处于预设范围时,确定所述电容值集合符合所述预设规律。
可选地,上述处理器3000,还具体用于:
在环境磁场强度小于第二预设阈值时,执行所述控制所述指纹识别模组重新进入所述Home键模式。
图5示出的是与本发明实施例提供的移动终端相关的手机的部分结构的框图。参考图5,手机包括:射频(Radio Frequency,RF)电路510、存储器520、输入单元530、显示单元540、传感器550、音频电路560、无线保真(Wireless Fidelity,Wi-Fi)模块570、处理器580、以及电源590等部件。本领域技术人员可以理解,图5中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图5对手机的各个构成部件进行具体的介绍:
RF电路510可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器580处理;另外,将设计上行的数据发送给基站。通常,RF电路510包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路510还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。
存储器520可用于存储软件程序以及模块,处理器580通过运行存储在存储器520的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器520可主要包括存储程序区和存储数据区,其中,存储程序区可存储操 作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器520可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元530可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元530可包括触控面板531以及其他输入设备532。触控面板531,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板531上或在触控面板531附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板531可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器580,并能接收处理器580发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板531。除了触控面板531,输入单元530还可以包括其他输入设备532。具体地,其他输入设备532可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元540可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元540可包括显示面板541,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板541。进一步的,触控面板531可覆盖显示面板541,当触控面板531检测到在其上或附近的触摸操作后,传送给处理器580以确定触摸事件的类型,随后处理器580根据触摸事件的类型在显示面板541上提供相应的视觉输出。虽然在图5中,触控面板531与显示面板541是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板531与显示面板541集成而实现手机的输入和输出功能。
手机还可包括至少一种传感器550,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光 传感器可根据环境光线的明暗来调节显示面板541的亮度,接近传感器可在手机移动到耳边时,关闭显示面板541和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路560、扬声器561,传声器562可提供用户与手机之间的音频接口。音频电路560可将接收到的音频数据转换后的电信号,传输到扬声器561,由扬声器561转换为声音信号输出;另一方面,传声器562将收集的声音信号转换为电信号,由音频电路560接收后转换为音频数据,再将音频数据输出处理器580处理后,经RF电路510以发送给比如另一手机,或者将音频数据输出至存储器520以便进一步处理。
WiFi属于短距离无线传输技术,手机通过WiFi模块570可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了WiFi模块570,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器580是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器520内的软件程序和/或模块,以及调用存储在存储器520内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器580可包括一个或多个处理单元;优选的,处理器580可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器580中。
手机还包括给各个部件供电的电源590(比如电池),优选的,电源可以通过电源管理系统与处理器580逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。
前述实施例中,各步骤方法流程可以基于该终端的结构实现。其中传感器 550可包含接近传感器和湿度传感器,触控面板531可以作为指纹识别模组使用。
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种控制指纹识别模组的方法的部分或全部步骤。
尽管在此结合各实施例对本发明进行了描述,然而,在实施所要求保护的本发明过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。
本领域技术人员应明白,本发明的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。计算机程序存储/分布在合适的介质中,与其它硬件一起提供或作为硬件的一部分,也可以采用其他分布形式,如通过Internet或其它有线或无线电信系统。
本发明是参照本发明实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中 的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管结合具体特征及其实施例对本发明进行了描述,显而易见的,在不脱离本发明的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本发明的示例性说明,且视为已覆盖本发明范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。

Claims (20)

  1. 一种控制指纹识别模组的方法,其特征在于,包括:
    若检测到用户触摸指纹识别模组且Home键模式失灵时,检测是否发生了静电干扰事件;
    在检测到所述静电干扰事件时,控制所述指纹识别模组重新进入所述Home键模式,并初始化所述指纹识别模组的电容感应状态;
    在未检测到所述静电干扰事件时,控制所述指纹识别模组切换为指纹采集模式。
  2. 根据权利要求1所述的方法,其特征在于,所述检测是否发生了静电干扰事件,包括:
    获取当前环境磁场强度;
    在所述当前环境磁场强度大于第一预设阈值时,确定发生了所述静电干扰事件。
  3. 根据权利要求1所述的方法,其特征在于,所述检测是否发生了静电干扰事件,包括:
    获取由所述指纹识别模组采集的电容值集合;
    判断所述电容值集合是否符合预设规律,在所述电容值集合不符合所述预设规律时,确定发生了所述静电干扰事件。
  4. 根据权利要求3所述的方法,其特征在于,所述判断所述电容值集合是否符合预设规律,包括:
    将所述电容值转化为直方图;
    将所述直方图转化为目标曲线;
    计算所述目标曲线与预设曲线之间的相似度;
    在所述相似度处于预设范围时,确定所述电容值集合符合所述预设规律。
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述方法还包括:
    在环境磁场强度小于第二预设阈值时,执行所述控制所述指纹识别模组重新进入所述Home键模式。
  6. 一种移动终端,其特征在于,包括:
    检测单元,用于若检测到用户触摸指纹识别模组且Home键模式失灵时,检测是否发生了静电干扰事件;
    第一控制单元,用于在检测到所述静电干扰事件时,控制所述指纹识别模组重新进入所述Home键模式,并初始化所述指纹识别模组的电容感应状态;
    第二控制单元,用于在未检测到所述静电干扰事件时,控制所述指纹识别模组切换为指纹采集模式。
  7. 根据权利要求6所述的移动终端,其特征在于,所述检测单元包括:
    第一获取模块,用于获取当前环境磁场强度;
    第一确定模块,用于在所述当前环境磁场强度大于第一预设阈值时,确定发生了所述静电干扰事件。
  8. 根据权利要求6所述的移动终端,其特征在于,所述检测单元包括:
    第二获取模块,用于获取由所述指纹识别模组采集的电容值集合;
    判断模块,用于判断所述电容值集合是否符合预设规律,在所述判断模块的判断结果为所述电容值集合不符合所述预设规律时,确定发生了所述静电干扰事件。
  9. 根据权利要求8所述的移动终端,其特征在于,所述判断模块包括:
    转化模块,用于将所述电容值转化为直方图;
    所述转化模块,还用于将所述直方图转化为目标曲线;
    计算模块,用于计算所述目标曲线与预设曲线之间的相似度;
    第二确定模块,用于在所述相似度处于预设范围时,确定所述电容值集合符合所述预设规律。
  10. 根据权利要求6至9任一项所述的移动终端,其特征在于,所述第一控制单元具体用于:
    在环境磁场强度小于第二预设阈值时,执行所述控制所述指纹识别模组重新进入所述Home键模式。
  11. 一种移动终端,其特征在于,包括:
    处理器和存储器;其中,所述处理器通过调用所述存储器中的代码或指令以执行如下操作:
    若检测到用户触摸指纹识别模组且Home键模式失灵时,检测是否发生了静电干扰事件;
    在检测到所述静电干扰事件时,控制所述指纹识别模组重新进入所述Home键模式,并初始化所述指纹识别模组的电容感应状态;
    在未检测到所述静电干扰事件时,控制所述指纹识别模组切换为指纹采集模式。
  12. 根据权利要求11所述的移动终端,其特征在于,所述检测是否发生了静电干扰事件,包括:
    获取当前环境磁场强度;
    在所述当前环境磁场强度大于第一预设阈值时,确定发生了所述静电干扰事件。
  13. 根据权利要求11所述的移动终端,其特征在于,所述检测是否发生了静电干扰事件,包括:
    获取由所述指纹识别模组采集的电容值集合;
    判断所述电容值集合是否符合预设规律,在所述电容值集合不符合所述预设规律时,确定发生了所述静电干扰事件。
  14. 根据权利要求13所述的移动终端,其特征在于,所述判断所述电容值集合是否符合预设规律,包括:
    将所述电容值转化为直方图;
    将所述直方图转化为目标曲线;
    计算所述目标曲线与预设曲线之间的相似度;
    在所述相似度处于预设范围时,确定所述电容值集合符合所述预设规律。
  15. 根据权利要求11至14任一项所述的移动终端,其特征在于,所述处理器还执行以下操作:
    在环境磁场强度小于第二预设阈值时,执行所述控制所述指纹识别模组重新进入所述Home键模式。
  16. 一种存储介质,其特征在于,所述存储介质中存储有程序代码,当所述程序代码被运行时,处理器执行以下操作:
    若检测到用户触摸指纹识别模组且Home键模式失灵时,检测是否发生了静电干扰事件;
    在检测到所述静电干扰事件时,控制所述指纹识别模组重新进入所述Home键模式,并初始化所述指纹识别模组的电容感应状态;
    在未检测到所述静电干扰事件时,控制所述指纹识别模组切换为指纹采集模式。
  17. 根据权利要求16所述的存储介质,其特征在于,所述检测是否发生了静电干扰事件,包括:
    获取当前环境磁场强度;
    在所述当前环境磁场强度大于第一预设阈值时,确定发生了所述静电干扰事件。
  18. 根据权利要求16所述的存储介质,其特征在于,所述检测是否发生 了静电干扰事件,包括:
    获取由所述指纹识别模组采集的电容值集合;
    判断所述电容值集合是否符合预设规律,在所述电容值集合不符合所述预设规律时,确定发生了所述静电干扰事件。
  19. 根据权利要求16所述的存储介质,其特征在于,所述判断所述电容值集合是否符合预设规律,包括:
    将所述电容值转化为直方图;
    将所述直方图转化为目标曲线;
    计算所述目标曲线与预设曲线之间的相似度;
    在所述相似度处于预设范围时,确定所述电容值集合符合所述预设规律。
  20. 根据权利要求16至19任一项所述的存储介质,其特征在于,所述处理器还执行以下操作:
    在环境磁场强度小于第二预设阈值时,执行所述控制所述指纹识别模组重新进入所述Home键模式。
PCT/CN2017/106851 2017-03-15 2017-10-19 一种控制指纹识别模组的方法、移动终端及存储介质 Ceased WO2018166204A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710154267.X 2017-03-15
CN201710154267.XA CN106951850B (zh) 2017-03-15 2017-03-15 一种控制指纹识别模组的方法及移动终端

Publications (1)

Publication Number Publication Date
WO2018166204A1 true WO2018166204A1 (zh) 2018-09-20

Family

ID=59473234

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/106851 Ceased WO2018166204A1 (zh) 2017-03-15 2017-10-19 一种控制指纹识别模组的方法、移动终端及存储介质

Country Status (2)

Country Link
CN (1) CN106951850B (zh)
WO (1) WO2018166204A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414810A (zh) * 2020-03-02 2020-07-14 Oppo广东移动通信有限公司 指纹采集方法、电子装置和存储介质
CN112994678A (zh) * 2021-02-09 2021-06-18 珠海格力电器股份有限公司 一种按键灵敏度控制方法、装置及电器设备
CN113569715A (zh) * 2021-07-23 2021-10-29 北京眼神智能科技有限公司 一种指纹图像增强方法及装置
CN116111551A (zh) * 2023-04-10 2023-05-12 深圳核心医疗科技股份有限公司 防静电干扰的参数确定方法及装置

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951850B (zh) * 2017-03-15 2019-06-28 Oppo广东移动通信有限公司 一种控制指纹识别模组的方法及移动终端
CN107623347B (zh) * 2017-08-31 2021-01-05 努比亚技术有限公司 一种充电方法及设备
CN111814586B (zh) * 2020-06-18 2024-09-17 维沃移动通信有限公司 指纹模组控制方法、装置、电子设备及可读存储介质
CN113505013B (zh) * 2021-09-07 2021-11-19 苏州浪潮智能科技有限公司 一种静电干扰处理方法、装置、设备及可读存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890586A (zh) * 2012-10-08 2013-01-23 广东欧珀移动通信有限公司 一种触摸屏抗干扰方法及其终端设备
CN102968237A (zh) * 2012-11-29 2013-03-13 广东欧珀移动通信有限公司 一种电容式触摸屏处理方法及装置
CN104063093A (zh) * 2014-06-30 2014-09-24 广东欧珀移动通信有限公司 防止触摸屏误操作的方法、装置及移动设备
US20140347305A1 (en) * 2011-05-05 2014-11-27 International Business Machines Corporation User Input Device Failure Prediction
CN106055455A (zh) * 2016-06-08 2016-10-26 广东欧珀移动通信有限公司 一种按键的防干扰方法及装置
CN106951850A (zh) * 2017-03-15 2017-07-14 广东欧珀移动通信有限公司 一种控制指纹识别模组的方法及移动终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140347305A1 (en) * 2011-05-05 2014-11-27 International Business Machines Corporation User Input Device Failure Prediction
CN102890586A (zh) * 2012-10-08 2013-01-23 广东欧珀移动通信有限公司 一种触摸屏抗干扰方法及其终端设备
CN102968237A (zh) * 2012-11-29 2013-03-13 广东欧珀移动通信有限公司 一种电容式触摸屏处理方法及装置
CN104063093A (zh) * 2014-06-30 2014-09-24 广东欧珀移动通信有限公司 防止触摸屏误操作的方法、装置及移动设备
CN106055455A (zh) * 2016-06-08 2016-10-26 广东欧珀移动通信有限公司 一种按键的防干扰方法及装置
CN106951850A (zh) * 2017-03-15 2017-07-14 广东欧珀移动通信有限公司 一种控制指纹识别模组的方法及移动终端

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414810A (zh) * 2020-03-02 2020-07-14 Oppo广东移动通信有限公司 指纹采集方法、电子装置和存储介质
CN111414810B (zh) * 2020-03-02 2023-11-24 Oppo广东移动通信有限公司 指纹采集方法、电子装置和存储介质
CN112994678A (zh) * 2021-02-09 2021-06-18 珠海格力电器股份有限公司 一种按键灵敏度控制方法、装置及电器设备
CN113569715A (zh) * 2021-07-23 2021-10-29 北京眼神智能科技有限公司 一种指纹图像增强方法及装置
CN113569715B (zh) * 2021-07-23 2024-04-16 北京眼神智能科技有限公司 一种指纹图像增强方法及装置
CN116111551A (zh) * 2023-04-10 2023-05-12 深圳核心医疗科技股份有限公司 防静电干扰的参数确定方法及装置

Also Published As

Publication number Publication date
CN106951850B (zh) 2019-06-28
CN106951850A (zh) 2017-07-14

Similar Documents

Publication Publication Date Title
CN106951850B (zh) 一种控制指纹识别模组的方法及移动终端
CN104383681B (zh) 游戏进程控制方法、装置和移动终端
CN106293308B (zh) 一种屏幕解锁方法及装置
CN106453829B (zh) 一种跌落高度检测方法及装置
CN108958606B (zh) 分屏显示方法、装置、存储介质和电子设备
CN106055237B (zh) 一种滑动加速响应方法、及设备
CN106487984B (zh) 一种调整音量的方法和装置
CN106445596B (zh) 一种设置项的管理方法及装置
CN104375886A (zh) 信息处理方法、装置和电子设备
CN106371749A (zh) 一种终端控制的方法和装置
CN107066090B (zh) 一种控制指纹识别模组的方法及移动终端
WO2018161540A1 (zh) 指纹注册方法及相关产品
CN111064847B (zh) 一种防误触方法、装置、存储介质及电子设备
WO2018039914A1 (zh) 一种数据复制方法及用户终端
CN107466387B (zh) 一种检测触摸方式的方法及装置
CN111651030B (zh) 传感器检测方法、装置、存储介质及移动终端
CN107423598B (zh) 一种解锁控制方法及移动终端
CN108388400A (zh) 一种操作处理方法及移动终端
CN114582264B (zh) 一种显示亮度控制方法、装置、电子设备和存储介质
CN106648460A (zh) 计步数据过滤方法及智能终端
CN110277097B (zh) 数据处理方法及相关设备
CN110851014B (zh) 触摸识别方法、装置、存储介质及终端设备
CN111045737A (zh) 设备标识获取方法、装置、终端设备和存储介质
CN106547400B (zh) 上报信息的方法、装置及终端
CN110413385B (zh) 任务管理方法、终端设备及介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17900788

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17900788

Country of ref document: EP

Kind code of ref document: A1