CN106980454B - Unlocking method and device - Google Patents

Unlocking method and device Download PDF

Info

Publication number
CN106980454B
CN106980454B CN201710203049.0A CN201710203049A CN106980454B CN 106980454 B CN106980454 B CN 106980454B CN 201710203049 A CN201710203049 A CN 201710203049A CN 106980454 B CN106980454 B CN 106980454B
Authority
CN
China
Prior art keywords
screen locking
screen
function
unlocking
state
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
CN201710203049.0A
Other languages
Chinese (zh)
Other versions
CN106980454A (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 CN201710203049.0A priority Critical patent/CN106980454B/en
Publication of CN106980454A publication Critical patent/CN106980454A/en
Application granted granted Critical
Publication of CN106980454B publication Critical patent/CN106980454B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • 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
    • G06V40/13Sensors therefor
    • 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
    • G06V40/1365Matching; Classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to an unlocking method and device, which are used for increasing the flexibility of a third party in setting an application lock and are not limited by whether a screen locking function is unlocked or not. The unlocking method comprises the following steps: the screen locking function is started, and a screen locking skipping function is set; when the operation of unlocking the application by the fingerprint application lock is judged, acquiring a screen locking function state; when the screen locking function is in an open state, fingerprint information is collected; detecting whether the acquired fingerprint information is matched with the prestored fingerprint information; and when the acquired fingerprint information is matched with the prestored fingerprint information, unlocking the application. The technical scheme can increase the flexibility of the third party application when setting the application lock, and is not limited by whether the screen locking function is opened or not.

Description

Unlocking method and device
Technical Field
The present disclosure relates to the field of decryption technologies, and in particular, to an unlocking method and apparatus.
Background
With the enhancement of the safety awareness of users, terminal devices such as mobile phones and computers also provide a function of setting an application lock for an installed application program. Fingerprint is the most reliable feature of identity authentication and also becomes one of the choices of application locks.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide an unlocking method and apparatus, which are used to increase the flexibility of a third party application when setting an application lock, and are not limited by whether a screen locking function is unlocked.
According to a first aspect of embodiments of the present disclosure, there is provided an unlocking method, the method including:
the screen locking function is started, and a screen locking skipping function is set;
when the operation of unlocking the application by the fingerprint application lock is judged, acquiring a screen locking function state;
when the screen locking function is in an open state, fingerprint information is collected;
detecting whether the acquired fingerprint information is matched with the prestored fingerprint information;
and when the acquired fingerprint information is matched with the prestored fingerprint information, unlocking the application.
In one embodiment, the method may further include:
when the screen locking skipping function is in an opening state, controlling an unlocking process to skip the step of unlocking the screen locking password;
and when the screen locking skipping function is in a closed state, controlling the unlocking process to forbid skipping the step of unlocking the screen locking password.
In one embodiment, the method may further comprise:
when a screen unlocking request is received, judging whether the screen locking skipping function is in an opening state;
when the screen locking skipping function is in an opening state, unlocking the screen;
and when the screen locking skipping function is in a closed state, and the obtained unlocking password is verified to be legal, unlocking the screen.
In one embodiment, the method may further comprise:
when a screen unlocking request is received, judging whether the screen locking function is in an opening state;
when the screen locking function is in an open state, judging whether a screen locking skipping function is in the open state;
when the screen locking skipping function is in an opening state, unlocking the screen;
and when the screen locking skipping function is in a closed state, and the obtained unlocking password is verified to be legal, unlocking the screen.
In one embodiment, the method may further comprise:
when a screen unlocking request is received, judging whether the screen locking skipping function is in an opening state;
when the screen locking skipping function is in an opening state, unlocking the screen;
when the screen locking skipping function is in a closed state, judging whether the screen locking function is in an open state;
and when the screen locking function is in an open state and the obtained unlocking password is verified to be legal, unlocking the screen.
According to a second aspect of embodiments of the present disclosure, there is provided an unlocking device, the device including:
the first setting module is configured to start a screen locking function and set a screen locking skipping function;
the first judgment module is configured to acquire a screen locking function state when judging that the fingerprint application lock unlocks the application operation;
the acquisition module is configured to acquire fingerprint information when the screen locking function is in an open state;
the first detection module is configured to detect whether the acquired fingerprint information is matched with pre-stored fingerprint information;
a first control module configured to unlock the application when the collected fingerprint information matches pre-saved fingerprint information.
In one embodiment, the apparatus may further comprise:
the second control module is configured to control an unlocking process to skip the step of unlocking the screen locking password when the screen locking skipping function is in an open state;
and the third control module is configured to control the unlocking process to forbid skipping the step of unlocking the screen locking password when the screen locking skipping function is in a closed state.
In one embodiment, the apparatus may further comprise:
the second judgment module is configured to judge whether the screen locking skipping function is in an open state or not when a screen unlocking request is received;
a fourth control module configured to unlock the screen when the screen locking skip function is in an on state;
and the fifth control module is configured to unlock the screen when the screen locking skipping function is in a closed state and the obtained unlocking password is verified to be legal.
In one embodiment, the apparatus may further comprise:
the third judgment module is configured to judge whether the screen locking function is in an open state or not when a screen unlocking request is received;
the fourth judging module is configured to judge whether the screen locking skipping function is in an open state or not when the screen locking function is in the open state;
a sixth control module configured to unlock the screen when the screen locking skip function is in an on state;
and the seventh control module is configured to unlock the screen when the screen locking skipping function is in a closed state and the obtained unlocking password is verified to be legal.
In one embodiment, the apparatus may further comprise:
the fifth judging module is configured to judge whether the screen locking skipping function is in an open state or not when a screen unlocking request is received;
an eighth control module configured to unlock a screen when the screen locking skip function is in an on state;
a sixth judging module configured to judge whether the screen locking function is in an open state when the screen locking skip function is in a closed state;
and the ninth control module is configured to unlock the screen when the screen locking function is in an open state and the obtained unlocking password is verified to be legal.
According to a third aspect of the embodiments of the present disclosure, there is provided an unlocking device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
the screen locking function is started, and a screen locking skipping function is set;
when the operation of unlocking the application by the fingerprint application lock is judged, acquiring a screen locking function state;
when the screen locking function is in an open state, fingerprint information is collected;
detecting whether the acquired fingerprint information is matched with the prestored fingerprint information;
and when the acquired fingerprint information is matched with the prestored fingerprint information, unlocking the application.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the screen locking function is unlocked, so that the flexibility of the third party application in setting the application lock can be greatly improved, the application lock is not limited to whether the screen locking function is unlocked, especially, the application lock can be allowed to apply the fingerprint, the third party application can better use the fingerprint, and the use scene of the fingerprint is optimized and enhanced. After the screen locking function is started, whether screen locking password verification is adopted or not during screen locking can be achieved by setting the screen locking skipping function, specifically, if the screen locking skipping function is started, the unlocking process can skip the step of unlocking the screen locking password, and if the screen locking skipping function is closed, the unlocking process is forbidden to skip the step of unlocking the screen locking password. In conclusion, according to the technical scheme, the screen locking function is unlocked, so that the flexibility of the third party in the process of setting the application lock is greatly improved, and the screen locking function is not limited to whether to be 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 invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram illustrating an unlocking method according to an exemplary embodiment.
FIG. 2A is a flow diagram illustrating an unlocking method according to an exemplary embodiment.
Fig. 2B-2F are scene diagrams illustrating an unlocking method according to an example embodiment.
Fig. 3 is a flowchart illustrating an unlocking method according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating an unlocking method according to an exemplary embodiment.
FIG. 5 is a block diagram illustrating an unlocking device according to an exemplary embodiment.
FIG. 6 is a block diagram illustrating another unlocking device, according to an exemplary embodiment.
FIG. 7 is a block diagram illustrating another unlocking device, according to an exemplary embodiment.
FIG. 8 is a block diagram illustrating another unlocking device, according to an exemplary embodiment.
FIG. 9 is a block diagram illustrating another unlocking device, according to an exemplary embodiment.
FIG. 10 is a block diagram illustrating an unlocking device according to an exemplary embodiment.
Detailed Description
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 embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
In the related art, the fingerprint interface needs to be used only when the screen locking function is unlocked, for example, before a user sets the application lock to adopt a fingerprint unlocking mode, the screen locking function needs to be unlocked first. However, for some users, the requirement of protecting personal privacy can be met only by using the application lock, but the above method for encrypting and decrypting the application program based on the fingerprint has poor flexibility and cannot meet the diversified requirements of the users. The inventors of the present disclosure have proposed a technical solution of the present disclosure in view of the above problems.
Fig. 1 is a flowchart illustrating an unlocking method according to an exemplary embodiment, which may be applied to a terminal device (e.g., a smart phone, a tablet computer), as shown in fig. 1, the unlocking method includes the following steps S101-S105:
in step S101, the lock screen function is turned on, and the lock screen skip function is set.
In practical application, the unlocking of the screen locking function can be manual unlocking by a user, or the system can directly set the screen locking function to be in an unlocking state, or the screen locking function can be unlocked in other modes.
In one embodiment, the state of the lock screen function includes an open state and a closed state. When the screen locking function is in the open state, the terminal device allows the fingerprint to be applied to the screen lock, the application lock and the like, and when the screen locking function is in the close state, the terminal device refuses to apply the fingerprint to the screen lock, the application lock and the like.
In this embodiment, the flexibility that the lock screen function was opened can to a great extent increase third party and use when setting up the application lock, no longer is no longer restricted to whether the lock screen function is opened, especially can allow to be applied to the application lock with the fingerprint, lets third party's application use the fingerprint better, optimizes the use scene of reinforcing fingerprint.
The screen locking skip function is a function of controlling whether the unlocking process skips the step of unlocking the screen locking password. In one embodiment, the lock screen skip function includes two states: an on state and an off state. When the screen locking skipping function is in an opening state, controlling an unlocking process to skip the step of unlocking the screen locking password; and when the screen locking skipping function is in a closed state, controlling the unlocking process to forbid skipping the step of unlocking the screen locking password.
In step S102, when it is determined that there is an operation of unlocking the application by the fingerprint application lock, a screen locking function state is acquired. The application lock is used for locking one or more applications so as to limit the access rights of the applications and protect the information security of users. When the terminal equipment has the application lock function and the opening operation of the application is detected, whether the application is locked by the application lock or not is judged so as to determine the access authority of the application. And the fingerprint application lock is an application lock unlocked by fingerprint verification.
In step S103, when the screen locking function is in the on state, fingerprint information is collected.
In one embodiment, when the screen locking function is in an on state, the screen of the terminal device displays prompt information for prompting a user to verify a fingerprint, and simultaneously, the fingerprint sensor is turned on to collect fingerprint information.
In step S104, it is detected whether the acquired fingerprint information matches the pre-stored fingerprint information.
In one embodiment, fingerprint information of at least one user is stored in the terminal equipment. And the terminal equipment determines one piece of fingerprint information to be used for the application lock according to the selection of the user. After the terminal equipment collects the fingerprint information, the collected fingerprint information is matched with the fingerprint information used for the application lock so as to determine whether the application lock is unlocked.
In step S105, when the collected fingerprint information matches the pre-saved fingerprint information, the application is unlocked.
In this embodiment, the screen locking function is opened, so that the flexibility of the third party application in setting the application lock can be greatly increased, the application lock is not limited to whether the screen locking function is opened, especially, the application lock can be applied with the fingerprint, the third party application can better use the fingerprint, and the use scene of the fingerprint is optimized and enhanced. After the screen locking function is started, whether screen locking password verification is adopted or not during screen locking can be achieved by setting the screen locking skipping function, specifically, if the screen locking skipping function is started, the unlocking process can skip the step of unlocking the screen locking password, and if the screen locking skipping function is closed, the unlocking process is forbidden to skip the step of unlocking the screen locking password. In conclusion, according to the technical scheme, the screen locking function is unlocked, so that the flexibility of the third party in the process of setting the application lock is greatly improved, and the screen locking function is not limited to whether to be unlocked.
In one embodiment, the method may further include:
when the screen locking skipping function is in an opening state, controlling an unlocking process to skip the step of unlocking the screen locking password;
and when the screen locking skipping function is in a closed state, controlling the unlocking process to forbid skipping the step of unlocking the screen locking password.
In one embodiment, the method may further comprise:
when a screen unlocking request is received, judging whether the screen locking skipping function is in an opening state;
when the screen locking skipping function is in an opening state, unlocking the screen;
and when the screen locking skipping function is in a closed state, and the obtained unlocking password is verified to be legal, unlocking the screen.
In one embodiment, the method may further comprise:
when a screen unlocking request is received, judging whether the screen locking function is in an opening state;
when the screen locking function is in an open state, judging whether a screen locking skipping function is in the open state;
when the screen locking skipping function is in an opening state, unlocking the screen;
and when the screen locking skipping function is in a closed state, and the obtained unlocking password is verified to be legal, unlocking the screen.
In one embodiment, the method may further comprise:
when a screen unlocking request is received, judging whether the screen locking skipping function is in an opening state;
when the screen locking skipping function is in an opening state, unlocking the screen;
when the screen locking skipping function is in a closed state, judging whether the screen locking function is in an open state;
when the screen locking function is in an open state, and the obtained unlocking password is verified to be legal, unlocking the screen;
and when the screen locking function is in a closed state, unlocking the screen.
Please refer to the following embodiments specifically how to implement locking the terminal device.
Therefore, according to the method provided by the embodiment of the disclosure, the screen locking function is unlocked, so that the flexibility of the third party in setting the application lock can be greatly increased, the screen locking function is not limited to whether the application lock is unlocked, especially, the fingerprint can be allowed to be applied to the application lock, the third party application can better use the fingerprint, and the use scene of the fingerprint is optimized and enhanced. After the screen locking function is started, whether screen locking password verification is adopted or not during screen locking can be achieved by setting the screen locking skipping function, specifically, if the screen locking skipping function is started, the unlocking process can skip the step of unlocking the screen locking password, and if the screen locking skipping function is closed, the unlocking process is forbidden to skip the step of unlocking the screen locking password. In conclusion, according to the technical scheme, the screen locking function is unlocked, so that the flexibility of the third party in the process of setting the application lock is greatly improved, and the screen locking function is not limited to whether to be unlocked.
The technical solutions provided by the embodiments of the present disclosure are described below with specific embodiments.
FIG. 2A is a flow diagram illustrating an unlocking method according to an exemplary embodiment; FIGS. 2B-2F are a diagram illustrating a scenario of an unlocking method according to an exemplary embodiment; in this embodiment, by using the method provided by the embodiment of the present disclosure, an exemplary description is given by taking as an example a step of controlling whether an unlocking process skips unlocking a lock screen password according to a state of a lock screen skip function when a screen unlocking request is received, and an exemplary description is given by taking a terminal device as an example of a smart phone, as shown in fig. 2A, the method includes the following steps:
in step S201, the screen lock function is turned on, and the screen lock skip function is set.
In one embodiment, the terminal device may determine the state of the screen locking function according to a setting operation of a user. In one exemplary embodiment, a setting interface of the screen locking password comprises a setting item of a screen locking function; when the state of the screen locking function is set, if the setting item of the screen locking function is selected, controlling the screen locking function to be in an opening state; and if the setting item of the screen locking function is not selected, controlling the screen locking function to be in a closed state. In an exemplary embodiment, when the user sets the state of the screen locking function to the on state, the terminal device may further request the user to set a screen locking password and collect fingerprint information. For details of how to set the status of the lock screen function, reference may be made to the following exemplary embodiments.
After the screen locking function is started, the terminal equipment can also determine the state of the screen locking skipping function according to the setting operation of a user. In one exemplary embodiment, a setting interface of the screen locking password comprises a setting item of a screen locking skip function; when the state of the screen locking skipping function is set, if the setting item of the screen locking skipping function is selected, controlling the screen locking skipping function to be in an opening state; and if the setting item of the screen locking skipping function is not selected, controlling the screen locking skipping function to be in a closed state. Specific how to set the state of the lock screen skip function may be seen in the following exemplary embodiments.
In step S202, when a screen unlock request is received, it is determined whether the screen lock skip function is in an on state.
In one embodiment, when the terminal device is in the dormant state, the user can send a screen unlocking request to the terminal device by pressing a power key.
In step S203, when the lock screen skip function is in the on state, the screen is unlocked.
In step S204, when the screen lock skip function is in the closed state, and the acquired unlocking password is verified to be valid, the screen is unlocked.
In this embodiment, when a screen unlocking request is received, whether the step of unlocking the screen locking password is skipped in the unlocking process is controlled according to the state of the screen locking skip function, the control logic is simple, and the unlocking time can be reduced.
In step S205, when it is determined that there is an operation of unlocking the application by the fingerprint application lock, the screen locking function state is acquired.
In step S206, when the lock screen function is in the on state, fingerprint information is collected.
In step S205, it is detected whether the acquired fingerprint information matches the pre-stored fingerprint information.
In step S206, when the acquired fingerprint information matches the pre-saved fingerprint information, the application is unlocked.
Step S201 is similar to step S101, and steps S205 to S208 are similar to steps S102 to S105, and are not repeated here.
As an exemplary scenario, as shown in fig. 2B to 2F, when a user needs to unlock the screen locking function of the smartphone 21, the user needs to enter a setting interface 22 as shown in fig. 2B, where the setting interface 22 may be a "screen locking, password and fingerprint" page, an option button 24 for providing the user "add fingerprint", an option button 25 for "screen locking password", and a display area 23 for displaying the application condition of the fingerprint. In one embodiment, the fingerprint application condition displayed in the display area 23 is "fingerprint (fingerprint can be used after the lock screen password is opened)", and the option button 25 can further prompt whether the state of the lock screen password is "unopened" or "opened".
When the screen locking password is in the state of "not opened", the screen locking function of the smartphone 21 is indicated to be in the closed state. The user may activate the lock function by activating the option button 25 (setting item button for the lock function), and may enter a setting interface 26 of the lock password as shown in fig. 2C, where the setting interface 26 is an "unlock mode selection" page, and the setting interface 26 provides an unlock mode that may be selected by the user. In one embodiment, the unlocking mode comprises a pattern, a number and a mixed password, and the setting interface 26 comprises an option button 27 for unlocking the pattern password, an option button 28 for unlocking the number password and an option button 29 for unlocking the mixed password. For example, as shown in fig. 2D, the user has triggered the option button 27 for pattern password unlock, and can enter a setting interface 210, the setting interface 210 being a "draw pattern" page, the setting interface 210 including a prompt region 211, a prompt region 212, and a pattern drawing region 213. In one embodiment, the prompt area 211 displays a prompt text "select your pattern" and an identification symbol "<" returned to the setting interface 26, the prompt area 212 displays a prompt text "draw unlock pattern please connect at least 4 dots" for prompting the user to draw a pattern password, and the pattern drawing area 213 is used for receiving drawing operation of the user as input information of the user to determine the screen lock password. After obtaining the pattern drawn by the user, the mobile phone 21 requests the user to draw the pattern used as the screen locking password again, and when the two drawn patterns are the same, determines the drawn pattern as the screen locking password.
When the mobile phone 21 determines an unlocking mode of a pattern, a number and a mixed password, the mobile phone may enter the setting interface 214 shown in fig. 2E, the setting interface 214 is a "screen-locking password" page, the setting interface 214 includes a button 215 for exiting the "screen-locking password" page, an "off password" option button 216 for turning off the screen-locking password, an "change password" option button 217 for changing the password, and a setting item button 218 for determining whether to turn on the screen-locking skip function, the setting item button 218 includes a status indication area 2181 for displaying a status of the button, and when the setting item button 218 is not selected, an indication circle 2182 of the status indication area 2181 is located at one end of the status indication area 2181 to indicate that a setting item of the screen-locking skip function is not selected by the setting operation, and the screen-locking skip function is to be in an off state. When the setting item button 218 is selected, the indication circle 2182 of the status indication area 2181 is located at the other end of the status indication area 2181, and changes color to indicate that the setting item of the lock screen skip function is selected by the setting operation, and then the lock screen skip function will be in an on state. In one embodiment, as shown in FIG. 2E, the selection of the lock screen skip function is indicated when the indicator circle 2182 is black in color. In one embodiment, the set item button 218 also displays text "skip screen password verification" for prompting the user for the function of the button 218 and text "enter desktop directly after unlocking without verifying the lock screen password" for the regular use of the button 218.
After the user completes the setting on the setting interface 214, the mobile phone 21 requests the user to add a fingerprint, and after the fingerprint of the user is collected, as shown in fig. 2F, a prompt text for prompting the state of the screen locking password on the option button 25 on the "screen locking, password and fingerprint" page becomes "opened", which indicates that the screen locking function of the smart phone 21 is in an opened state, and the option button 24 for providing the user "add a fingerprint" becomes the option button 219 for "managing a fingerprint".
In the embodiment, when the screen unlocking request is received, whether the step of unlocking the screen locking password is skipped in the unlocking process is controlled according to the state of the screen locking skip function, the control logic is simple, and the unlocking delay time can be reduced.
FIG. 3 is a flow diagram illustrating an unlocking method according to an exemplary embodiment two; in this embodiment, by using the method provided by the embodiment of the present disclosure, an exemplary description is given by taking a step of controlling whether the unlocking process skips unlocking the lock screen password according to the state of the lock screen skip function after determining that the lock screen function is in the open state when receiving the screen unlocking request, as shown in fig. 3, the method includes the following steps:
in step S301, the lock screen function is turned on, and the lock screen skip function is set.
Step S301 is similar to step S101 described above and will not be described herein again.
In step S302, when a screen unlocking request is received, it is determined whether the screen locking function is in an on state.
In step S303, when the screen locking function is in the open state, it is determined whether the screen locking skip function is in the open state.
In one embodiment, the options for providing the state of the setting item of the screen-locking skip function for the user on the setting interface of the screen-locking password are generally two options, for example, the two options include a first option and a second option, the first option is used for determining that the state of the setting item of the screen-locking skip function is in an open state, and the second option is used for determining that the state of the setting item of the screen-locking skip function is in a closed state. The user can select the first option through setting operation to enable the state of the setting item of the screen locking skipping function to be in an open state, and of course, the user can also select the second option through setting operation to enable the state of the setting item of the screen locking skipping function to be in a closed state. The setting method of the state of the setting item of the lock screen skip function can be referred to the relevant part of the above-described embodiment.
In one embodiment, the user selects the first option through a setting operation to enable the state of the setting item of the screen locking skip function to be an open state, and the screen is locked based on the screen locking password when the screen meets the locking condition. For example, if the lock condition is that the terminal device sleeps for 5 seconds, the screen will be locked based on the screen lock password when the terminal device sleeps for 5 seconds. In another embodiment, the user selects the second option through the setting operation to make the state of the setting item of the screen locking skip function be the closed state, and the terminal device refuses to lock the screen based on the screen locking password even if the locking condition is satisfied. For example, if the lock condition is that the terminal device sleeps for 5 seconds, the screen is not locked based on the screen lock password when the terminal device sleeps for 5 seconds.
In step S304, when the lock screen skip function is in the on state, the screen is unlocked.
In one embodiment, when the screen locking skip function is in the on state, the user can directly enter the desktop without inputting an unlocking password.
In step S305, when the acquired unlock password is verified to be valid while the screen lock skip function is in the off state, the screen is unlocked.
In one embodiment, the unlock password may be a numeric password, a hybrid password, a pattern drawn in a preset manner, or collected fingerprint information, wherein the hybrid password may include numbers and preset characters, for example, the preset characters may be "+", "#", or the like.
In step S306, when it is determined that there is an operation of unlocking the application by the fingerprint application lock, the screen locking function state is acquired.
In step S307, when the lock screen function is in the on state, fingerprint information is collected.
In step S308, it is detected whether the acquired fingerprint information matches the pre-stored fingerprint information.
In step S309, when the collected fingerprint information matches the pre-saved fingerprint information, the application is unlocked.
Steps S306 to S309 are similar to steps S102 to S105 described above, and are not described herein again.
In this embodiment, after the screen locking function is determined to be in the open state when the screen unlocking request is received, whether the step of unlocking the screen locking password is skipped in the unlocking process is controlled according to the state of the screen locking skip function, so that the unlocking safety can be improved.
FIG. 4 is a flowchart illustrating an unlocking method according to an exemplary embodiment; in this embodiment, by using the method provided by the embodiment of the present disclosure, an exemplary description is given by taking a step of jointly controlling whether the unlocking process skips unlocking the screen lock password or not according to the state of the screen lock skip function when receiving the screen unlock request, as shown in fig. 4, where the method includes the following steps:
in step S401, the lock screen function is turned on, and the lock screen skip function is set.
Step S401 is similar to step S101 described above and will not be described here.
In step S402, when a screen unlock request is received, it is determined whether the screen lock skip function is in an on state.
In step S403, when the lock screen skip function is in the on state, the screen is unlocked.
When the screen locking skipping function is in the opening state, the screen locking function is in the opening state, and therefore the time delay of unlocking the screen can be shortened by unlocking the screen.
In step S404, when the screen locking skip function is in the off state, it is determined whether the screen locking function is in the on state.
When a screen unlocking request is received, if the screen locking skipping function is in a closed state, whether the screen locking function is in an open state cannot be determined, and at the moment, whether the screen locking function is in the open state needs to be further judged.
In step S405, when the screen locking function is in the on state, and the acquired unlocking password is verified to be valid, the screen is unlocked.
When a screen unlocking request is received, if the screen locking skipping function is in a closed state and the screen locking function is in an open state, the unlocking password needs to be verified, and the screen can be unlocked only when the obtained unlocking password is verified to be legal.
In step S406, when it is determined that there is an operation of unlocking the application by the fingerprint application lock, a screen locking function state is acquired.
In step S407, when the lock screen function is in the on state, fingerprint information is collected.
In step S408, it is detected whether the acquired fingerprint information matches the pre-stored fingerprint information.
In step S409, when the acquired fingerprint information matches the pre-saved fingerprint information, the application is unlocked.
Steps S406 to S409 are similar to steps S102 to S105 described above, and are not described herein again.
In this embodiment, when the screen unlocking request is received, whether the step of unlocking the screen locking password is skipped in the unlocking process is controlled according to the state of the screen locking skipping function, and whether the step of unlocking the screen locking password is skipped in the unlocking process is controlled according to the state of the screen locking function, so that the time for unlocking the screen can be shortened when the screen locking skipping function is in the open state.
Fig. 5 is a block diagram illustrating an unlocking device according to an exemplary embodiment, as shown in fig. 5, the unlocking device including:
a first setting module 51 configured to unlock a lock screen function and set a lock screen skip function;
the first judging module 52 is configured to acquire a screen locking function state when it is judged that there is an operation of locking and unlocking the application by the fingerprint application;
the acquisition module 53 is configured to acquire fingerprint information when the screen locking function is in an on state;
a first detection module 54 configured to detect whether the acquired fingerprint information matches pre-stored fingerprint information;
a first control module 55 configured to unlock the application when the captured fingerprint information matches the pre-saved fingerprint information.
Fig. 6 is a block diagram illustrating another unlocking apparatus according to an exemplary embodiment, and in this embodiment, as shown in fig. 6, the apparatus may further include:
a second control module 61 configured to control an unlocking process to skip the step of unlocking the screen locking password when the screen locking skip function is in an on state;
and the third control module 62 is configured to control the unlocking process to prohibit skipping the step of unlocking the screen locking password when the screen locking skipping function is in the closed state.
Fig. 7 is a block diagram illustrating another unlocking device according to an exemplary embodiment, based on the above-mentioned embodiments shown in fig. 5 or fig. 6, in an embodiment, as shown in fig. 7, the device further includes:
a second determination module 71 configured to determine whether the screen locking skip function is in an on state when a screen unlocking request is received;
a fourth control module 72 configured to unlock the screen when the screen lock skip function is in an on state;
a fifth control module 73 configured to unlock the screen when the acquired unlocking password is verified to be legal when the screen locking skip function is in the off state.
Fig. 8 is a block diagram illustrating another unlocking device according to an exemplary embodiment, based on the above-mentioned embodiments shown in fig. 5 or fig. 6, in an embodiment, as shown in fig. 8, the device further includes:
a third judging module 81 configured to judge whether the screen locking function is in an on state when a screen unlocking request is received;
a fourth judging module 82, configured to judge whether the screen locking skipping function is in an on state when the screen locking function is in the on state;
a sixth control module 83 configured to unlock the screen when the screen lock skip function is in an on state;
and a seventh control module 84 configured to unlock the screen when it is verified that the acquired unlocking password is valid while the screen lock skip function is in the off state.
Fig. 9 is a block diagram illustrating another unlocking device according to an exemplary embodiment, based on the above-mentioned embodiments shown in fig. 5 or fig. 6, in an embodiment, as shown in fig. 9, the device further includes:
a fifth judging module 91 configured to judge whether the screen locking skip function is in an on state when receiving a screen unlocking request;
an eighth control module 92 configured to unlock the screen when the screen lock skip function is in an on state;
a sixth determining module 93, configured to determine whether the screen locking function is in an on state when the screen locking skip function is in an off state;
a ninth control module 94, configured to unlock the screen when the obtained unlocking password is verified to be legal while the screen locking function is in the on state.
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. 10 is a block diagram illustrating an unlocking device according to an exemplary embodiment. For example, the apparatus 1000 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. 10, the apparatus 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communications component 1016.
The processing component 1002 generally controls the overall operation of the device 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 1002 may include one or more processors 1020 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 can include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support operation at the device 1000. Examples of such data include instructions for any application or method operating on device 1000, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1004 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 1006 provides power to the various components of the device 1000. The power components 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 1000.
The multimedia component 1008 includes a screen that provides an output interface between the device 1000 and a 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 1008 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 1000 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 1010 is configured to output and/or input audio signals. For example, audio component 1010 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1000 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
I/O interface 1012 provides an interface between processing component 1002 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 1014 includes one or more sensors for providing various aspects of status assessment for the device 1000. For example, sensor assembly 1014 may detect an open/closed state of device 1000, the relative positioning of components, such as a display and keypad of apparatus 1000, sensor assembly 1014 may also detect a change in position of apparatus 1000 or a component of apparatus 1000, the presence or absence of user contact with apparatus 1000, orientation or acceleration/deceleration of apparatus 1000, and a change in temperature of apparatus 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 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 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1016 is configured to facilitate communications between the apparatus 1000 and other devices in a wired or wireless manner. The device 1000 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 1016 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1016 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 1000 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 above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1004 comprising instructions, executable by the processor 1020 of the device 1000 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.
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 (7)

1. An unlocking method, characterized in that the method comprises:
the screen locking function is started, and a screen locking skipping function is set; when the screen locking function is in an opening state, the terminal equipment allows the fingerprint to be applied to the application lock, and when the screen locking skipping function is in the opening state, fingerprint information is allowed to be collected to unlock the application;
when a screen unlocking request is received, judging whether the screen locking skipping function is in an opening state; when the screen locking skipping function is in an opening state, unlocking the screen; when the screen locking skipping function is in a closed state, and the obtained unlocking password is verified to be legal, unlocking the screen;
after unlocking the screen, when judging that the fingerprint application lock unlocks the operation of the application, acquiring a screen locking function state;
when the screen locking function is in an open state, fingerprint information is collected;
detecting whether the acquired fingerprint information is matched with the prestored fingerprint information;
when the acquired fingerprint information is matched with the prestored fingerprint information, unlocking the application;
the method further comprises the following steps:
when the screen locking skipping function is in an opening state, controlling an unlocking process to skip the step of unlocking the screen locking password;
and when the screen locking skipping function is in a closed state, controlling the unlocking process to forbid skipping the step of unlocking the screen locking password.
2. The method of claim 1, further comprising:
when a screen unlocking request is received, judging whether the screen locking function is in an opening state;
when the screen locking function is in an open state, judging whether a screen locking skipping function is in the open state;
when the screen locking skipping function is in an opening state, unlocking the screen;
and when the screen locking skipping function is in a closed state, and the obtained unlocking password is verified to be legal, unlocking the screen.
3. The method of claim 1, further comprising:
when a screen unlocking request is received, judging whether the screen locking skipping function is in an opening state;
when the screen locking skipping function is in an opening state, unlocking the screen;
when the screen locking skipping function is in a closed state, judging whether the screen locking function is in an open state;
and when the screen locking function is in an open state and the obtained unlocking password is verified to be legal, unlocking the screen.
4. An unlocking device, characterized in that the device comprises:
the first setting module is configured to start a screen locking function and set a screen locking skipping function; when the screen locking function is in an opening state, the terminal equipment allows the fingerprint to be applied to the application lock, and when the screen locking skipping function is in the opening state, fingerprint information is allowed to be collected to unlock the application;
the second judgment module is configured to judge whether the screen locking skipping function is in an open state or not when a screen unlocking request is received;
a fourth control module configured to unlock the screen when the screen locking skip function is in an on state;
the fifth control module is configured to unlock the screen when the screen locking skipping function is in a closed state and the obtained unlocking password is verified to be legal;
the first judgment module is configured to acquire a screen locking function state after unlocking the screen and when judging that the operation of unlocking the application by the fingerprint application lock exists;
the acquisition module is configured to acquire fingerprint information when the screen locking function is in an open state;
the first detection module is configured to detect whether the acquired fingerprint information is matched with pre-stored fingerprint information;
a first control module configured to unlock the application when the acquired fingerprint information matches pre-saved fingerprint information;
the device further comprises:
the second control module is configured to control an unlocking process to skip the step of unlocking the screen locking password when the screen locking skipping function is in an open state;
and the third control module is configured to control the unlocking process to forbid skipping the step of unlocking the screen locking password when the screen locking skipping function is in a closed state.
5. The apparatus of claim 4, further comprising:
the third judgment module is configured to judge whether the screen locking function is in an open state or not when a screen unlocking request is received;
the fourth judging module is configured to judge whether the screen locking skipping function is in an open state or not when the screen locking function is in the open state;
a sixth control module configured to unlock the screen when the screen locking skip function is in an on state;
and the seventh control module is configured to unlock the screen when the screen locking skipping function is in a closed state and the obtained unlocking password is verified to be legal.
6. The apparatus of claim 4, further comprising:
the fifth judging module is configured to judge whether the screen locking skipping function is in an open state or not when a screen unlocking request is received;
an eighth control module configured to unlock a screen when the screen locking skip function is in an on state;
a sixth judging module configured to judge whether the screen locking function is in an open state when the screen locking skip function is in a closed state;
and the ninth control module is configured to unlock the screen when the screen locking function is in an open state and the obtained unlocking password is verified to be legal.
7. An unlocking device, characterized in that the device comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
the screen locking function is started, and a screen locking skipping function is set; when the screen locking function is in an opening state, the terminal equipment allows the fingerprint to be applied to the application lock, and when the screen locking skipping function is in the opening state, the terminal equipment allows the fingerprint information to be collected to unlock the application; when the screen locking skipping function is in an opening state, controlling an unlocking process to skip the step of unlocking the screen locking password; when the screen locking skipping function is in a closed state, controlling an unlocking process to forbid skipping of the step of unlocking the screen locking password;
when a screen unlocking request is received, judging whether the screen locking skipping function is in an opening state; when the screen locking skipping function is in an opening state, unlocking the screen; when the screen locking skipping function is in a closed state, and the obtained unlocking password is verified to be legal, unlocking the screen;
after unlocking the screen, when judging that the fingerprint application lock unlocks the operation of the application, acquiring a screen locking function state;
when the screen locking function is in an open state, fingerprint information is collected;
detecting whether the acquired fingerprint information is matched with the prestored fingerprint information;
and when the acquired fingerprint information is matched with the prestored fingerprint information, unlocking the application.
CN201710203049.0A 2017-03-30 2017-03-30 Unlocking method and device Active CN106980454B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710203049.0A CN106980454B (en) 2017-03-30 2017-03-30 Unlocking method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710203049.0A CN106980454B (en) 2017-03-30 2017-03-30 Unlocking method and device

Publications (2)

Publication Number Publication Date
CN106980454A CN106980454A (en) 2017-07-25
CN106980454B true CN106980454B (en) 2020-12-04

Family

ID=59339415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710203049.0A Active CN106980454B (en) 2017-03-30 2017-03-30 Unlocking method and device

Country Status (1)

Country Link
CN (1) CN106980454B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897476A (en) * 2018-06-12 2018-11-27 平安科技(深圳)有限公司 screen locking method and device and computer readable storage medium
CN110908740A (en) * 2018-09-18 2020-03-24 珠海格力电器股份有限公司 Android system-based intelligent terminal unlocking method and device and intelligent terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104392157A (en) * 2014-11-18 2015-03-04 深圳市腾讯计算机系统有限公司 Method and device for locking screen by using passwords
CN106156561A (en) * 2016-06-28 2016-11-23 北京小米移动软件有限公司 Application locking method, application unlocking method and a device
CN106529253A (en) * 2016-10-27 2017-03-22 北京小米移动软件有限公司 Unlocking method and apparatus, and terminal device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104392157A (en) * 2014-11-18 2015-03-04 深圳市腾讯计算机系统有限公司 Method and device for locking screen by using passwords
CN106156561A (en) * 2016-06-28 2016-11-23 北京小米移动软件有限公司 Application locking method, application unlocking method and a device
CN106529253A (en) * 2016-10-27 2017-03-22 北京小米移动软件有限公司 Unlocking method and apparatus, and terminal device

Also Published As

Publication number Publication date
CN106980454A (en) 2017-07-25

Similar Documents

Publication Publication Date Title
US10129044B2 (en) Method and apparatus for controlling smart device
US10706173B2 (en) Method and device for displaying notification information
CN106709399B (en) Fingerprint identification method and device
EP3041206B1 (en) Method and device for displaying notification information
CN106453052B (en) Message interaction method and device
CN106156561B (en) Application locking method, application unlocking method and device
CN107798231B (en) Display method and device of operation interface, terminal and storage medium
CN109039860B (en) Method and device for sending and displaying message and method and device for identity authentication
EP3232316A1 (en) Method and device for data migration
US20160294805A1 (en) Method and terminal device for accessing network
CN110400405B (en) Method, device and medium for controlling access control
CN109324863B (en) Fingerprint identification method and device and computer readable storage medium
US20180239915A1 (en) Methods, apparatuses, and storage mediums for protecting information
US20180146363A1 (en) Identity verification method and apparatus, and storage medium
CN105809440B (en) Online payment method and device
CN106066763B (en) Terminal unlocking method and device
US9667784B2 (en) Methods and devices for providing information in voice service
CN108319419B (en) Method and device for starting application
CN106980454B (en) Unlocking method and device
WO2018049609A1 (en) Permission control method and device
CN108718439B (en) Data transmission method and device
CN106570381B (en) Fingerprint unlocking method and device
CN105760796B (en) Application security processing method and device
CN108470120B (en) Screen locking control method and device and readable storage medium
CN105808995A (en) Password prompting method and device and terminal

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