CN108334769B - Fingerprint unlocking method and device - Google Patents

Fingerprint unlocking method and device Download PDF

Info

Publication number
CN108334769B
CN108334769B CN201810481333.9A CN201810481333A CN108334769B CN 108334769 B CN108334769 B CN 108334769B CN 201810481333 A CN201810481333 A CN 201810481333A CN 108334769 B CN108334769 B CN 108334769B
Authority
CN
China
Prior art keywords
fingerprint
touch screen
pressing
screen
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810481333.9A
Other languages
Chinese (zh)
Other versions
CN108334769A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810481333.9A priority Critical patent/CN108334769B/en
Publication of CN108334769A publication Critical patent/CN108334769A/en
Application granted granted Critical
Publication of CN108334769B publication Critical patent/CN108334769B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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; CALCULATING OR 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

Abstract

The disclosure provides a fingerprint unlocking method and device, and belongs to the technical field of terminals. The method comprises the following steps: when the terminal is in a waiting unlocking state, if the fingerprint pressing on the touch screen is detected to be effective fingerprint pressing, whether the pressing force degree of the fingerprint pressing reaches a preset threshold value is detected, and the touch screen is in a screen-off state; when the pressing force of the fingerprint pressing reaches a preset threshold value, waking up the terminal system; switching the touch screen from a screen-off state to a screen-on state; and unlocking the terminal when the acquired fingerprint characteristic information is successfully matched with the fingerprint template. According to the method, when the terminal is in waiting for unlocking, the terminal system is awakened when the fact that the effective fingerprint of the touch screen is pressed and the pressing force degree is larger than the preset threshold value is detected, the terminal is unlocked when the acquired fingerprint characteristic information is successfully matched with the fingerprint template, the reasonable and effective intra-screen fingerprint unlocking method is provided, the phenomenon that a user mistakenly touches the screen is effectively avoided, and the unlocking effectiveness and the unlocking accuracy are guaranteed.

Description

Fingerprint unlocking method and device
Technical Field
The disclosure relates to the technical field of terminals, in particular to a fingerprint unlocking method and device.
Background
With the development of scientific technology, the combination of the full-screen and front-side fingerprint identification of a mobile phone becomes possible due to the self-luminous characteristics of the optical fingerprint sensing technology and the OLED (Organic Light-Emitting Diode) screen, that is, fingerprint identification (also called intra-screen fingerprint identification) is performed in the screen.
At present, the in-screen fingerprint identification technology is still in a research and optimization stage and is not applied to mobile terminals such as issued mobile phones. Correspondingly, the fingerprint unlocking process based on the fingerprint identification in the screen is also in an exploration stage, and how to realize reasonable and effective fingerprint unlocking based on the fingerprint identification in the screen is a problem to be solved.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a fingerprint unlocking method and device, in which the technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a fingerprint unlocking method, including:
when the terminal is in a waiting unlocking state, if fingerprint pressing on the touch screen is detected to be effective fingerprint pressing, whether the pressing force degree of the fingerprint pressing reaches a preset threshold value or not is detected, and the touch screen is in a screen-off state;
when the pressing force of the fingerprint pressing reaches the preset threshold value, waking up a system of the terminal;
switching the touch screen from the screen-off state to a screen-on state;
acquiring fingerprint characteristic information of the fingerprint pressing;
and when the fingerprint characteristic information is successfully matched with the fingerprint template, unlocking the terminal.
In one possible implementation form of the method,
in a possible implementation manner, before detecting whether the pressing force of the fingerprint pressing reaches a preset threshold, the method further includes:
determining a fingerprint identification area of the touch screen;
and when the fingerprint pressing position is in the fingerprint identification area, determining that the fingerprint pressing is effective fingerprint pressing, and executing the steps of detecting whether the pressing force degree of the fingerprint pressing reaches a preset threshold value and the subsequent steps.
In a possible implementation manner, after the touch screen is switched from the off-screen state to the on-screen state, the method further includes:
acquiring a preset screen locking interface;
and displaying the screen locking interface.
In a possible implementation manner, after the waking up the system of the terminal, the method further includes:
if effective fingerprint pressing on the touch screen is detected within a preset time interval, switching the touch screen from the screen-off state to a screen-on state and subsequent steps of the touch screen are executed;
and if the effective fingerprint pressing on the touch screen is not detected within the preset time interval, controlling the terminal to enter the unlocking waiting state.
In one possible implementation, after the acquiring the fingerprint feature information of the fingerprint pressing, the method further includes:
when the fingerprint feature information fails to be matched with the fingerprint template, if effective fingerprint pressing on the touch screen is detected within a preset time, acquiring the pressed fingerprint feature information and performing the subsequent steps;
and if the effective fingerprint pressing on the touch screen is not detected within the preset time, controlling the terminal to enter the unlocking waiting state.
According to a second aspect of the embodiments of the present disclosure, there is provided a fingerprint unlocking device including:
the terminal comprises a strength detection module, a screen-off state detection module and a screen-off state detection module, wherein the strength detection module is used for detecting whether the pressing strength of fingerprint pressing reaches a preset threshold value or not if the fingerprint pressing on the touch screen is detected to be effective fingerprint pressing when the terminal is in the waiting unlocking state;
the awakening module is used for awakening a system of the terminal when the pressing force degree of the fingerprint pressing reaches the preset threshold value;
the screen display control module is used for switching the touch screen from the screen-off state to a screen-on state;
the fingerprint acquisition module is used for acquiring fingerprint characteristic information of the fingerprint pressing;
and the unlocking module is used for unlocking the terminal when the fingerprint characteristic information is successfully matched with the fingerprint template.
In one possible implementation, the apparatus further includes:
the first determining module is used for determining a fingerprint identification area of the touch screen;
and the second determining module is used for determining that the fingerprint pressing is effective when the fingerprint pressing position is in the fingerprint identification area, and executing the steps of detecting whether the pressing force degree of the fingerprint pressing reaches a preset threshold value and the subsequent steps.
In one possible implementation, the apparatus further includes:
the interface acquisition module is used for acquiring a preset screen locking interface;
and the display module is used for displaying the screen locking interface.
In one possible implementation, the apparatus further includes:
the first fingerprint detection module is used for switching the touch screen from the screen-off state to the screen-on state and subsequent steps if effective fingerprint pressing on the touch screen is detected within a preset time interval; and if the effective fingerprint pressing on the touch screen is not detected within the preset time interval, controlling the terminal to enter the unlocking waiting state.
In one possible implementation, the apparatus further includes:
the second fingerprint detection module is used for executing the acquisition of the pressed fingerprint characteristic information and subsequent steps thereof if the effective fingerprint pressing on the touch screen is detected within the preset time when the fingerprint characteristic information is unsuccessfully matched with the fingerprint template; and if the effective fingerprint pressing on the touch screen is not detected within the preset time, controlling the terminal to enter the unlocking waiting state.
According to a third aspect of the embodiments of the present disclosure, there is provided a fingerprint unlocking device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: when the terminal is in a waiting unlocking state, if fingerprint pressing on the touch screen is detected to be effective fingerprint pressing, whether the pressing force degree of the fingerprint pressing reaches a preset threshold value or not is detected, and the touch screen is in a screen-off state; when the pressing force of the fingerprint pressing reaches the preset threshold value, waking up a system of the terminal; switching the touch screen from the screen-off state to a screen-on state; acquiring fingerprint characteristic information of the fingerprint pressing; and when the fingerprint characteristic information is successfully matched with the fingerprint template, unlocking the terminal.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: when the terminal is in a waiting unlocking state, the terminal system is awakened when effective fingerprint pressing on the touch screen is detected and the pressing force degree is greater than a preset threshold value, then fingerprint characteristic information of the pressed fingerprint is obtained, and when the obtained fingerprint characteristic information is successfully matched with the fingerprint template, the terminal is unlocked.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a fingerprint unlocking method according to an exemplary embodiment.
FIG. 2 is a flowchart illustrating a fingerprint unlocking method according to an exemplary embodiment.
FIG. 3 is a flowchart illustrating a method of fingerprint unlocking in accordance with an exemplary embodiment.
Fig. 4 is a block diagram illustrating a fingerprint unlocking device according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a fingerprint unlocking device according to an exemplary embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a fingerprint unlocking method according to an exemplary embodiment, which is used in a terminal, as shown in fig. 1, and includes the following steps:
in step 101, when the terminal is in a waiting unlocking state, if it is detected that the fingerprint pressing on the touch screen is valid fingerprint pressing, it is detected whether the pressing force degree of the fingerprint pressing reaches a preset threshold value, and the touch screen is in a screen-off state.
In step 102, when the pressing force of the fingerprint pressing reaches the preset threshold, the system of the terminal is awakened.
In step 103, the touch screen is switched from the off-screen state to the on-screen state.
In step 104, fingerprint characteristic information of the fingerprint press is acquired.
In step 105, when the fingerprint feature information is successfully matched with the fingerprint template, the terminal is unlocked.
According to the method provided by the embodiment of the disclosure, when the terminal is in a waiting unlocking state, the terminal system is awakened when effective fingerprint pressing on the touch screen is detected and the pressing force degree is greater than the preset threshold value, then the fingerprint feature information of the pressed fingerprint is obtained, and when the obtained fingerprint feature information is successfully matched with the fingerprint template, the terminal is unlocked.
In a possible implementation manner, before detecting whether the pressing force of the fingerprint pressing reaches a preset threshold, the method further includes:
determining a fingerprint identification area of the touch screen;
and when the fingerprint pressing position is in the fingerprint identification area, determining that the fingerprint pressing is effective fingerprint pressing, and executing the steps of detecting whether the pressing strength of the fingerprint pressing reaches a preset threshold value and the subsequent steps.
In a possible implementation manner, after the touch screen is switched from the off-screen state to the on-screen state, the method further includes:
acquiring a preset screen locking interface;
and displaying the screen locking interface.
In a possible implementation manner, after waking up the system of the terminal, the method further includes:
if effective fingerprint pressing on the touch screen is detected within a preset time interval, switching the touch screen from the screen-off state to a screen-on state and subsequent steps of the touch screen are executed;
and if the effective fingerprint pressing on the touch screen is not detected within the preset time interval, controlling the terminal to enter the waiting unlocking state.
In one possible implementation, after the obtaining the fingerprint feature information of the fingerprint pressing, the method further includes:
when the fingerprint feature information fails to be matched with the fingerprint template, if effective fingerprint pressing on the touch screen is detected within a preset time, acquiring the pressed fingerprint feature information and performing the subsequent steps;
and if the effective fingerprint pressing on the touch screen is not detected within the preset time, controlling the terminal to enter the waiting unlocking state.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Fig. 2 is a flowchart illustrating a fingerprint unlocking method according to an exemplary embodiment, and the method is used in a terminal, as shown in fig. 2, and includes the following steps:
in step 201, when the terminal is in a waiting unlocking state, if it is detected that the fingerprint pressing on the touch screen is effective fingerprint pressing, it is detected whether the pressing force degree of the fingerprint pressing reaches a preset threshold value.
In this embodiment, the characteristic that the terminal is in the waiting unlocking state is that: the terminal is in dormancy, lock screen state, and the touch-control screen is in the state of waiting for the finger to press all the time, also can understand that the touch-control screen is in the ready state of fingerprint detection.
In this embodiment, the touch screen is in a screen-off display state. And in the screen-off display state, the touch screen is in a full-off state and does not display any information. The screen-off state can be set through a terminal setting interface.
The touch screen of the terminal may have a self-luminous property, for example, the touch screen may be a display screen made of a material with a luminous property, such as an OLED display screen or a Micro LED display screen, which is not limited in this embodiment. Of course, the terminal touch screen may not have a self-light emitting characteristic, for example, the touch screen may be an LCD (Liquid Crystal Display) screen module with a backlight.
When the touch screen is waiting for the finger to press the state, in case the terminal detects that the fingerprint to the touch screen is pressed, then can judge whether this fingerprint is pressed for effective fingerprint and press, judge whether the fingerprint that detects is pressed for the process that effective fingerprint pressed and do: determining a fingerprint identification area of a touch screen; when the location of the fingerprint press is within the fingerprint identification area, the fingerprint press is determined to be a valid fingerprint press.
The fingerprint pressing refers to pressing caused by touching of fingers or toes, and pressing of the touch screen by an inanimate object such as a key, a bank card, clothing and the like does not belong to the fingerprint pressing category of the embodiment.
The fingerprint identification area may be a partial area of the touch screen or an entire area of the touch screen. In one embodiment, a fingerprint sensor with a fingerprint identification function is arranged below a touch screen; in another embodiment, when the touch screen has a self-luminous characteristic, a fingerprint sensor is added in a light-emitting layer of the touch screen, and a fingerprint identification pixel is added beside each RGB pixel of the touch screen, so that the whole touch screen has a fingerprint identification function. During the concrete implementation, can be according to fingerprint sensor's position, carry out the regional division of optional fingerprint identification with whole touch-control screen, for example, divide into the touch-control screen from last three optional fingerprint identification regions down, in, the lower, the user can set up the terminal setting interface with one or more optional fingerprint identification regions and set up to final fingerprint identification region, when all optional fingerprint identification regions (as in the upper, middle and lower three optional fingerprint identification regions) all selected, whole touch-control screen is final fingerprint identification region promptly. It should be noted that, the optional fingerprint identification area division manner may further include: the left, middle and right, the word "tian" and the word "jing" or a plurality of irregular-shaped partitions, etc., which are not limited in this embodiment.
The terminal judges whether the user needs to perform fingerprint unlocking according to the pressing force degree of the fingerprint pressing, namely detects whether the pressing force degree of the fingerprint pressing reaches a preset threshold value, and if so, determines that the user needs to perform fingerprint unlocking and executes the step 202; otherwise, determining that the user does not need to perform fingerprint unlocking, and keeping the terminal in a waiting unlocking state.
The preset threshold may be set in the terminal system when the terminal system leaves a factory, or may be modified when the terminal system is upgraded, for example, by increasing the value of the preset threshold within a certain range to improve the robustness of fingerprint detection, or by decreasing the value of the preset threshold within a certain range to improve the sensitivity of fingerprint detection. Of course, the preset threshold may also be adjusted according to the fingerprint characteristics of the user, for example, for a user with a shallow fingerprint (i.e., a fingerprint with an unobvious protrusion), the user needs to obtain a more accurate fingerprint according to a larger pressure, and for this situation, the value of the preset threshold may be increased within a certain range.
In step 202, when the pressing force degree of fingerprint pressing is detected to reach a preset threshold value, a system of the terminal is awakened.
The terminal system is awakened by switching the terminal from a dormant state to an awakening state, and reactivating the process stopped in the dormant state by the terminal to run so as to enter the awakening state.
After awakening up the terminal system, in order to further avoid the user to touch the touch screen by mistake, guarantee validity and accuracy of fingerprint unblock, the terminal still can further confirm this moment whether the user indicates that still contacts the touch screen, if the user indicates that still contacts the touch screen then confirm that the fingerprint unblock needs to be carried on continuously, otherwise confirm that the fingerprint unblock need not be carried on continuously, this process includes: if the terminal detects effective fingerprint pressing on the touch screen within a preset time interval, the terminal executes step 203 to switch the touch screen from the screen-off state to a screen-on state and the subsequent steps; and if the effective fingerprint pressing on the touch screen is not detected within the preset time interval, the control terminal enters the unlocking waiting state. The fingerprint unlocking flow including this process is shown in fig. 3.
It should be noted that, when the terminal enters the waiting unlocking state, the touch screen enters the screen-off state from the screen-on state, and the touch screen is in the waiting finger pressing state, and at this time, if the terminal detects that a valid fingerprint is pressed, step 201 is executed. The preset time interval is preset or modified by the terminal, which is not limited in this embodiment. The method for determining valid fingerprint pressing is similar to the method for determining valid fingerprint pressing in step 201, and is not described herein again.
In step 203, the touch screen is switched from the off-screen state to the on-screen state.
In this embodiment, the terminal sends a state switching instruction to the touch screen, and the touch screen is switched from a screen-off state to a screen-on state.
It should be noted that the terminal may control the display state of the touch screen by controlling the touch screen to emit light. For example, the touch screen is controlled not to emit light to realize off-screen display, and the touch screen is controlled to emit light integrally to realize on-screen display. The terminal controls the touch screen to be switched to the bright screen state, and the method comprises the following two implementation modes: in one implementation, when the touch screen has a self-luminous characteristic, the terminal applies a voltage to the whole touch screen based on the self-luminous characteristic of the touch screen, so that a current is generated inside the touch screen, photons are excited to realize the luminescence of the whole touch screen, and the touch screen is successfully switched to a bright screen state. The larger the current is, the higher the brightness of the touch screen is. In another implementation manner, when the touch screen does not have the self-luminous characteristic, the terminal powers on the backlight of the whole touch screen, so that the backlight of the whole touch screen is turned on, and the touch screen is successfully switched to a bright screen state.
In step 204, a preset screen locking interface is obtained, and the screen locking interface is displayed.
The screen locking interface is used for prompting that the current terminal is in a screen locking state, and the style of the screen locking interface can be set by a user through the terminal.
In this embodiment, the terminal may display the unlocking indication information in the lock screen interface according to the position pressed by the fingerprint, where the unlocking indication information is used to indicate that the terminal is currently unlocking, and the unlocking indication information may be a text, a picture, an animation, or the like, for example, by using the position pressed by the fingerprint as a center, a dynamic effect of fingerprint scanning is displayed in the unlocking interface.
In step 205, fingerprint characteristic information of the fingerprint press is acquired.
In this embodiment, the process of acquiring fingerprint feature information of a fingerprint press includes: the terminal captures a fingerprint image pressed by a fingerprint through the fingerprint sensor, and fingerprint characteristic information is extracted according to the fingerprint image.
It should be noted that, in the embodiment, when the touch screen has the self-luminous characteristic, the terminal may implement the in-screen fingerprint identification by using the self-luminous characteristic of the touch screen and the fingerprint sensor disposed below the screen. When the touch screen does not have the self-luminous characteristic, the terminal can realize the fingerprint identification in the screen through the backlight of the touch screen and the fingerprint sensor arranged below the screen, and the specific mode of the fingerprint identification in the screen is not limited in the embodiment.
Wherein, the process that the terminal snatchs the fingerprint image that the fingerprint pressed through fingerprint sensor can be: after the terminal touch screen is lightened, the light source irradiates the finger fingerprint, and the protruded lines and the sunken lines on the fingerprint are respectively subjected to diffuse reflection and total reflection to form a black and white fingerprint image on the side of the fingerprint sensor.
The fingerprint characteristic information comprises spiral information of the fingerprint and inflection point information of the grains. The spiral information is used to indicate the spiral shape of the fingerprint, the width of the grain, the relative position of the center of the spiral and the entire grain, etc. The inflection point information comprises information such as the relative position of the inflection point relative to the whole grain, the inflection point direction, the bifurcation number and the like.
In step 206, the terminal matches the fingerprint feature information with a pre-stored fingerprint template, and if the matching is successful, step 207 is performed, and if the matching is unsuccessful, step 208 is performed.
In this embodiment, when the terminal opened the fingerprint identification function, the user need carry out the fingerprint and type, and at the in-process of fingerprint type, the terminal shows fingerprint collection interface, and this fingerprint collection interface instruction has the fingerprint collection region, and the user can put into the fingerprint collection region with the finger and carry out the fingerprint type. In the fingerprint input process, the terminal collects a plurality of effective fingerprints which are preset, the collected effective fingerprints are subjected to feature extraction, a collected fingerprint feature information set is obtained, and the fingerprint feature information set is stored as a fingerprint template.
The preset number of times may be preset by the terminal, for example, the preset number is 6 times, 7 times, 8 times, 9 times, 10 times, and the like, which is not limited in this embodiment.
Wherein, in order to make the fingerprint template contain complete user fingerprint information as far as possible, the terminal can carry out validity detection to the fingerprint of gathering at every turn, and when the fingerprint information volume that the fingerprint of gathering contains was less than and predetermines the information volume, abandons the fingerprint of this collection. While discarding the captured fingerprint, a prompt for entry of the fingerprint such as "cover finger on screen as much as possible" may be made at the fingerprint capture interface.
The terminal matches the acquired fingerprint characteristic information with the fingerprint template, and the matching process can be as follows: comparing the acquired fingerprint characteristic information with a fingerprint characteristic information set indicated by a fingerprint template, determining that the fingerprint characteristic information is successfully matched with the fingerprint template when the similarity between the fingerprint characteristic information and the fingerprint characteristic information set exceeds a preset proportion, and executing step 208; when the similarity between the fingerprint feature information and the fingerprint feature information set does not exceed the preset ratio, it is determined that the matching between the fingerprint feature information and the fingerprint template fails, and step 209 is performed.
In step 207, when the fingerprint feature information is successfully matched with the fingerprint template, the terminal is unlocked.
In this embodiment, the display modes of the terminal interface after unlocking the terminal include the following two modes: in the first mode, a home interface of the terminal is displayed; and in the second mode, an interface displayed during screen locking is displayed.
In step 208, when the matching of the fingerprint feature information and the fingerprint template fails, if a valid fingerprint pressing on the touch screen is detected within a preset time period, continuing to execute step 205 and subsequent steps; and if the effective fingerprint pressing on the touch screen is not detected within the preset time, the control terminal enters a waiting unlocking state.
The method for determining valid fingerprint pressing is the same as the method for determining valid fingerprint pressing in step 201, and is not described herein again.
The preset duration is preset or modified by the terminal, which is not limited in this embodiment.
In this embodiment, if a valid fingerprint pressing is detected within a preset time period, it is determined that the finger of the user is not lifted, that is, the user still performs fingerprint unlocking, at this time, the step of obtaining the fingerprint feature information of the fingerprint pressing is continuously performed, and this time of obtaining the fingerprint feature information may be regarded as fingerprint feature information obtained for the second time in the process of fingerprint unlocking once). It should be noted that, in the process of once fingerprint unlocking, the terminal may use the fingerprint feature information acquired many times for fingerprint unlocking, that is, match the fingerprint feature information acquired many times with the fingerprint template, so as to improve the accuracy of fingerprint identification. And in the fingerprint characteristic information acquired for multiple times, the time interval between two adjacent times does not exceed the preset time length.
If the effective fingerprint pressing is not detected within the preset time length, the finger of the user is determined to be lifted, namely the user does not continue to unlock the fingerprint, and the terminal enters a waiting unlocking state. When the terminal enters a waiting unlocking state, the touch screen enters a screen-off state from a screen-on state, the touch screen is in a waiting finger pressing state, and at this time, if the terminal detects that an effective fingerprint on the touch screen is pressed, step 201 is executed.
According to the method provided by the embodiment of the disclosure, when the terminal is in a waiting unlocking state, the terminal system is awakened when effective fingerprint pressing on the touch screen is detected and the pressing force degree is greater than the preset threshold value, then the fingerprint feature information of the pressed fingerprint is obtained, and when the obtained fingerprint feature information is successfully matched with the fingerprint template, the terminal is unlocked.
Fig. 4 is a block diagram illustrating a fingerprint detection device according to an exemplary embodiment. Referring to fig. 4, the apparatus includes a strength detection module 401, a wake-up module 402, a screen display control module 403, a fingerprint acquisition module 404, and an unlocking module 405.
The strength detection module 401 is connected to the wake-up module 402, and configured to detect whether a pressing strength of a fingerprint pressing reaches a preset threshold value if the fingerprint pressing on the touch screen is detected to be an effective fingerprint pressing when the terminal is in a waiting unlocking state, and the touch screen is in a screen-off state; the awakening module 402 is connected to the on-screen display control module 403, and is configured to awaken a system of the terminal when the pressing force of the fingerprint pressing reaches the preset threshold; the screen display control module 403 is connected to the fingerprint acquisition module 404, and is configured to switch the touch screen from the off-screen state to the on-screen state; the fingerprint acquisition module 404 is connected with the unlocking module 405 and is used for acquiring fingerprint characteristic information of the fingerprint pressing; and an unlocking module 405, configured to unlock the terminal when the fingerprint feature information is successfully matched with the fingerprint template.
In one possible implementation, the apparatus further includes:
the first determining module is used for determining a fingerprint identification area of the touch screen;
and the second determining module is used for determining that the fingerprint pressing is effective when the position of the fingerprint pressing is in the fingerprint identification area, and executing whether the pressing strength of the fingerprint pressing reaches a preset threshold value or not and subsequent steps.
In one possible implementation, the apparatus further includes:
the interface acquisition module is used for acquiring a preset screen locking interface;
and the display module is used for displaying the screen locking interface.
In one possible implementation, the apparatus further includes:
the first fingerprint detection module is used for switching the touch screen from the screen-off state to the screen-on state and subsequent steps if effective fingerprint pressing on the touch screen is detected within a preset time interval; and if the effective fingerprint pressing on the touch screen is not detected within the preset time interval, controlling the terminal to enter the waiting unlocking state.
In one possible implementation, the apparatus further includes:
the second fingerprint detection module is used for executing the acquisition of the pressed fingerprint characteristic information and subsequent steps thereof if the effective fingerprint pressing on the touch screen is detected within the preset time length when the fingerprint characteristic information fails to be matched with the fingerprint template; and if the effective fingerprint pressing on the touch screen is not detected within the preset time, controlling the terminal to enter the waiting unlocking state.
According to the device provided by the embodiment of the disclosure, when the terminal is in a waiting unlocking state, the terminal system is awakened when effective fingerprint pressing on the touch screen is detected and the pressing force is greater than a preset threshold value, then fingerprint characteristic information of the fingerprint pressing is acquired, and when the acquired fingerprint characteristic information is successfully matched with the fingerprint template, the terminal is unlocked.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 5 is a block diagram illustrating a fingerprint unlocking device according to an exemplary embodiment. For example, the apparatus 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, the apparatus 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operations at the apparatus 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the apparatus 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or a component of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the fingerprint unlocking method described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the apparatus 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer-readable storage medium having instructions stored therein, which when executed by a processor of a terminal, enable the terminal to perform the above fingerprint unlocking method.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (9)

1. A fingerprint unlocking method, characterized in that the method comprises:
when the touch screen is in a finger pressing state, determining a fingerprint identification area of the touch screen, wherein the fingerprint identification area is a partial area of the touch screen or the whole touch screen area, the touch screen is provided with a plurality of selectable fingerprint identification areas, and the final fingerprint identification area of the touch screen is one or more selectable fingerprint identification areas set by a user in a terminal setting interface from the plurality of selectable fingerprint identification areas;
when the position of the fingerprint pressing is in the fingerprint identification area, determining the fingerprint pressing as an effective fingerprint pressing;
when the terminal is in a waiting unlocking state, if the fingerprint pressing on the touch screen is detected to be effective fingerprint pressing, detecting whether the pressing force degree of the fingerprint pressing reaches a preset threshold value, wherein the touch screen is in a screen-off state, and the preset threshold value is obtained by adjusting according to the fingerprint characteristics of a user;
when the pressing force of the fingerprint pressing reaches the preset threshold value, awakening a system of the terminal so as to reactivate and run the process stopped in the dormant state;
if effective fingerprint pressing on the touch screen is detected within a preset time interval, switching the touch screen from the screen-off state to a screen-on state;
acquiring fingerprint characteristic information of the fingerprint pressing based on the reflected light generated by the fingerprint pressing;
when the fingerprint characteristic information is successfully matched with the fingerprint template, unlocking the terminal;
and if the effective fingerprint pressing on the touch screen is not detected within the preset time interval, controlling the terminal to enter the unlocking waiting state.
2. The method of claim 1, wherein after switching the touch screen from the off-screen state to the on-screen state, the method further comprises:
acquiring a preset screen locking interface;
and displaying the screen locking interface, wherein unlocking indication information is displayed in the screen locking interface and is used for indicating that the terminal is currently unlocked.
3. The method of claim 1, wherein after the obtaining fingerprint characteristic information of the fingerprint press, the method further comprises:
when the fingerprint feature information fails to be matched with the fingerprint template, if effective fingerprint pressing on the touch screen is detected within a preset time, executing the step of acquiring the pressed fingerprint feature information to unlock the terminal;
and if the effective fingerprint pressing on the touch screen is not detected within the preset time, controlling the terminal to enter the unlocking waiting state.
4. The method of claim 3, wherein the obtaining fingerprint characteristic information of the fingerprint compression comprises:
and acquiring the fingerprint characteristic information pressed by the fingerprint for multiple times, wherein the time interval between two adjacent times of acquiring the fingerprint characteristic information does not exceed the preset time length.
5. A fingerprint unlocking device, characterized in that the device comprises:
the touch screen comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining a fingerprint identification area of the touch screen when the touch screen is in a finger pressing state, the fingerprint identification area is a partial area of the touch screen or the whole touch screen area, the touch screen is provided with a plurality of selectable fingerprint identification areas, and the final fingerprint identification area of the touch screen is one or more selectable fingerprint identification areas set by a user in a terminal setting interface from the plurality of selectable fingerprint identification areas;
a second determination module for determining that a fingerprint press is a valid fingerprint press when a location of the fingerprint press is within the fingerprint identification area;
the strength detection module is used for detecting whether the pressing strength of the fingerprint pressing reaches a preset threshold value or not if the fingerprint pressing on the touch screen is detected to be effective fingerprint pressing when the terminal is in a waiting unlocking state, wherein the touch screen is in a screen-off state, and the preset threshold value is obtained by adjusting according to the fingerprint characteristics of a user;
the awakening module is used for awakening a system of the terminal when the pressing force degree of the fingerprint pressing reaches the preset threshold value so as to reactivate the process stopped in the dormant state to operate;
if effective fingerprint pressing on the touch screen is detected within a preset time interval, a screen display control module is used for switching the touch screen from the screen-off state to a screen-on state;
the fingerprint acquisition module is used for acquiring fingerprint characteristic information of the fingerprint pressing based on the reflected light generated by the fingerprint pressing;
the unlocking module is used for unlocking the terminal when the fingerprint characteristic information is successfully matched with the fingerprint template;
and the first fingerprint detection module is used for controlling the terminal to enter the waiting unlocking state if the effective fingerprint pressing on the touch screen is not detected within the preset time interval.
6. The apparatus of claim 5, further comprising:
the interface acquisition module is used for acquiring a preset screen locking interface;
and the display module is used for displaying the screen locking interface, unlocking indication information is displayed in the screen locking interface, and the unlocking indication information is used for indicating that the terminal is currently in the unlocking process.
7. The apparatus of claim 5, further comprising:
the second fingerprint detection module is used for executing to acquire pressed fingerprint characteristic information to unlock the terminal if effective fingerprint pressing on the touch screen is detected within a preset time length when the fingerprint characteristic information is unsuccessfully matched with the fingerprint template; and if the effective fingerprint pressing on the touch screen is not detected within the preset time, controlling the terminal to enter the unlocking waiting state.
8. A fingerprint unlocking device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: when the touch screen is in a finger pressing state, determining a fingerprint identification area of the touch screen, wherein the fingerprint identification area is a partial area of the touch screen or the whole touch screen area, the touch screen is provided with a plurality of selectable fingerprint identification areas, and the final fingerprint identification area of the touch screen is one or more selectable fingerprint identification areas set by a user in a terminal setting interface from the plurality of selectable fingerprint identification areas; when the position of the fingerprint pressing is in the fingerprint identification area, determining the fingerprint pressing as an effective fingerprint pressing;
when the terminal is in a waiting unlocking state, if the fingerprint pressing on the touch screen is detected to be effective fingerprint pressing, detecting whether the pressing force degree of the fingerprint pressing reaches a preset threshold value, wherein the touch screen is in a screen-off state, and the preset threshold value is obtained by adjusting according to the fingerprint characteristics of a user; when the pressing force of the fingerprint pressing reaches the preset threshold value, awakening a system of the terminal so as to reactivate and run the process stopped in the dormant state;
if effective fingerprint pressing on the touch screen is detected within a preset time interval, switching the touch screen from the screen-off state to a screen-on state; acquiring fingerprint characteristic information of the fingerprint pressing based on the reflected light generated by the fingerprint pressing; when the fingerprint characteristic information is successfully matched with the fingerprint template, unlocking the terminal; and if the effective fingerprint pressing on the touch screen is not detected within the preset time interval, controlling the terminal to enter the unlocking waiting state.
9. A computer-readable storage medium, wherein instructions are stored therein, and when executed by a processor of a terminal, the instructions enable the terminal to perform the fingerprint unlocking method according to any one of claims 1 to 4.
CN201810481333.9A 2018-05-18 2018-05-18 Fingerprint unlocking method and device Active CN108334769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810481333.9A CN108334769B (en) 2018-05-18 2018-05-18 Fingerprint unlocking method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810481333.9A CN108334769B (en) 2018-05-18 2018-05-18 Fingerprint unlocking method and device

Publications (2)

Publication Number Publication Date
CN108334769A CN108334769A (en) 2018-07-27
CN108334769B true CN108334769B (en) 2021-08-31

Family

ID=62935168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810481333.9A Active CN108334769B (en) 2018-05-18 2018-05-18 Fingerprint unlocking method and device

Country Status (1)

Country Link
CN (1) CN108334769B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110837755A (en) * 2018-08-16 2020-02-25 北京小米移动软件有限公司 Fingerprint identification method and device
CN109344589A (en) * 2018-09-12 2019-02-15 北京小米移动软件有限公司 Unlocked by fingerprint method, apparatus and storage medium
CN111026285B (en) * 2018-10-10 2021-08-31 华为技术有限公司 Method for adjusting pressure threshold and electronic equipment
CN109711135B (en) * 2018-12-28 2023-06-30 努比亚技术有限公司 Method, terminal and computer readable storage medium for screen-off control
CN110555376A (en) * 2019-07-26 2019-12-10 平安科技(深圳)有限公司 Control method and device for identifying fingerprints under screen
CN110928479A (en) * 2019-11-26 2020-03-27 深圳传音控股股份有限公司 Unlocking method and unlocking device of intelligent terminal and computer readable storage medium
CN113076020A (en) * 2020-01-03 2021-07-06 北京小米移动软件有限公司 Terminal control method, device and medium
CN111309165A (en) * 2020-03-23 2020-06-19 北京小米移动软件有限公司 Touch screen control method and device, mobile terminal and storage medium
CN111552399A (en) * 2020-04-03 2020-08-18 青岛海信移动通信技术股份有限公司 Fingerprint unlocking control method and device and mobile terminal
CN111651082B (en) * 2020-05-22 2024-03-26 北京小米移动软件有限公司 Touch screen unlocking method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630331A (en) * 2015-12-25 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Display method and display system
CN105824551A (en) * 2015-07-28 2016-08-03 维沃移动通信有限公司 Electronic equipment unlocking method and electronic equipment
CN106815546A (en) * 2015-12-01 2017-06-09 小米科技有限责任公司 fingerprint identification method and device
CN107656665A (en) * 2016-07-25 2018-02-02 印象认知(北京)科技有限公司 Fingerprint collecting control method, device and electronic equipment based on display screen

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101053197B1 (en) * 2009-04-30 2011-08-01 경북대학교 산학협력단 Portable terminal with camera and security method using same
US20120281889A1 (en) * 2011-05-05 2012-11-08 Johnson Yang Biometric fingerprint control safe
CN106022073A (en) * 2016-06-07 2016-10-12 广东欧珀移动通信有限公司 Unlocking control method and mobile terminal
CN106503509A (en) * 2016-12-29 2017-03-15 信利光电股份有限公司 A kind of unlocking method and device
CN107180179B (en) * 2017-04-28 2020-07-10 Oppo广东移动通信有限公司 Unlocking control method and related product
CN107193475B (en) * 2017-04-28 2020-07-10 Oppo广东移动通信有限公司 Unlocking control method and related product
CN107580142B (en) * 2017-09-22 2020-11-27 北京小米移动软件有限公司 Method and device for executing processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824551A (en) * 2015-07-28 2016-08-03 维沃移动通信有限公司 Electronic equipment unlocking method and electronic equipment
CN106815546A (en) * 2015-12-01 2017-06-09 小米科技有限责任公司 fingerprint identification method and device
CN105630331A (en) * 2015-12-25 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Display method and display system
CN107656665A (en) * 2016-07-25 2018-02-02 印象认知(北京)科技有限公司 Fingerprint collecting control method, device and electronic equipment based on display screen

Also Published As

Publication number Publication date
CN108334769A (en) 2018-07-27

Similar Documents

Publication Publication Date Title
CN108334769B (en) Fingerprint unlocking method and device
CN108595935B (en) Fingerprint unlocking method and device
CN107122748B (en) Fingerprint identification method, device, equipment and storage medium
US10942580B2 (en) Input circuitry, terminal, and touch response method and device
EP3188078B1 (en) Method and device for fingerprint identification
US20160283022A1 (en) Method and Device for Awakening an Element
CN108319914B (en) Terminal, display control method and storage medium
CN108509944B (en) Fingerprint identification method and device
CN107256391B (en) LCD panel, LCM, fingerprint identification method, fingerprint identification device and storage medium
CN111695382A (en) Fingerprint collection area determining method and fingerprint collection area determining device
CN110413148B (en) False touch prevention detection method, device, equipment and storage medium
CN107643818B (en) Function opening method and device
US10885298B2 (en) Method and device for optical fingerprint recognition, and computer-readable storage medium
CN108090441B (en) Fingerprint identification control method, mobile terminal and storage medium
CN108681716B (en) Fingerprint unlocking method and device
US11328168B2 (en) Image recognition method and apparatus
CN112764659B (en) Information processing method and device, electronic device and storage medium
CN107608614B (en) Application program starting method and device and storage medium
US11417137B2 (en) Fingerprint detection module, electronic device, detection method and apparatus, and storage medium
CN108830194B (en) Biological feature recognition method and device
CN107153448B (en) Display module, control method thereof, electronic device and computer-readable storage medium
CN108319899B (en) Fingerprint identification method and device
US10957250B2 (en) Terminal device, sensing method and apparatus with sensor for fingerprint identification
CN111382406B (en) Fingerprint unlocking method and device
CN108763906B (en) Biological feature recognition method and device

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