CN113542498B - Terminal unlocking method and device - Google Patents

Terminal unlocking method and device Download PDF

Info

Publication number
CN113542498B
CN113542498B CN202110631755.1A CN202110631755A CN113542498B CN 113542498 B CN113542498 B CN 113542498B CN 202110631755 A CN202110631755 A CN 202110631755A CN 113542498 B CN113542498 B CN 113542498B
Authority
CN
China
Prior art keywords
terminal
image
time
unlocking
shooting
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
CN202110631755.1A
Other languages
Chinese (zh)
Other versions
CN113542498A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110631755.1A priority Critical patent/CN113542498B/en
Publication of CN113542498A publication Critical patent/CN113542498A/en
Application granted granted Critical
Publication of CN113542498B publication Critical patent/CN113542498B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means
    • H04M1/673Preventing unauthorised calls from a telephone set by electronic means the user being required to key in a code
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure provides a terminal unlocking method and a terminal unlocking device, wherein the method comprises the following steps: shooting a first image in response to a received starting instruction of the terminal; acquiring a second image which is shot by the terminal in advance within a preset time length before shutdown; and judging whether to directly unlock the terminal according to the first image and the second image. The input operation of a user when the terminal is started is reduced, the operation is simple, and the use experience of the user is improved on the basis of ensuring the safety of the terminal and data; whether this terminal is directly unlocked in automatic setting has promoted intelligent and humanized degree.

Description

Terminal unlocking method and device
Technical Field
The disclosure belongs to the technical field of intelligent terminals, and particularly relates to a terminal unlocking method and device.
Background
With the development of the mobile communication industry and the improvement of the living standard of people, the terminals, particularly the intelligent terminals, are rapidly popularized. With the rise of mobile internet, terminals have evolved from a single communication tool to information processing centers for people's life and work. Personal sensitive information, such as call (or sms/mms) records, user names/passwords of social networks, account numbers/passwords of shopping websites/logistics platforms/internet banks, and the like, are increasingly stored on terminals. To protect user's personal sensitive information, avoid misoperation, and save power, terminals often have a screen lock function. When the terminal with the screen locking function is not operated within a preset time range, the screen can be automatically locked. Common screen locking methods are as follows: sliding, face, signature, pattern, digital code, hybrid code, and the like, and also fingerprint recognition, iris recognition, 3D (three-dimensional, 3 Dimensions) face recognition, and the like, which have prevailed in recent years. Among them, a screen locking method based on biometric recognition, represented by fingerprint recognition and 3D face recognition, has been rapidly touted since being introduced into the market by apples.
Unlocking modes based on biological feature recognition, such as fingerprint recognition and 3D face recognition, achieve good balance in data security and operation convenience. However, after the terminal is restarted, a power-on password input interface is usually popped up to prompt a user to correctly input a power-on password for unlocking the terminal, wherein the power-on password is set when a fingerprint or a facial 3D image is input; otherwise, the terminal stays in the power-on password input interface all the time, and cannot be started and used normally, and certainly, the terminal cannot be unlocked and used in other modes such as fingerprint identification or 3D face identification. The boot password is a pattern, a digital password or a mixed password which is set by the terminal prompt when a fingerprint or a 3D face image is input. Some brands of terminals, such as charm, nubian and the like, cannot display a startup password input interface after being restarted, and can directly use fingerprint identification or 3D face identification to unlock the terminal after being normally started. However, terminals of most brands such as huashi, millet, apple, yijia and the like display prompts similar to 'requiring to input a power-on password after restarting', and prompt to input a correct power-on password. In addition, few brands of terminals, such as the Nexus series of google, can choose whether to unlock the terminals by using patterns, passwords and the like after restarting when configuring fingerprint identification or 3D face identification functions.
The initial purpose of the restarted terminal for requiring the correct boot code to be input is to protect the terminal and data. The logic is not good when the terminal is not frequently turned on and turned off, so that the safety of the terminal and data can be improved, the memory of a user on an unlocking password can be deepened, and the terminal can achieve two purposes at one stroke. However, in a scene that the terminal is frequently turned on and off, the power-on password needs to be input every time the terminal is restarted, so that the operation is complicated, and the use experience of a user is influenced. However, if the power-on password input link after restarting is directly skipped, the security of the terminal and the data may be reduced; if let people at fingerprint identification or during 3D facial identification configuration at first use modes such as pattern, password unblock after restarting of the self-selection, need people manual setting, intelligent and humanized degree are not enough.
Disclosure of Invention
The present disclosure provides a terminal unlocking method and device for overcoming the above disadvantages in the prior art.
As a first aspect of the present disclosure, there is provided a terminal unlocking method including:
shooting a first image in response to receiving a starting instruction of the terminal;
acquiring a second image which is shot by the terminal in advance within a preset time length before shutdown;
and judging whether to directly unlock the terminal according to the first image and the second image.
Preferably, the determining whether to directly unlock the terminal according to the first image and the second image includes:
directly unlocking the terminal under the condition that the first image is consistent with the second image;
and displaying a power-on password input interface under the condition that the first image is determined to be inconsistent with the second image.
Preferably, the capturing of the first image comprises:
shooting a third image through a front camera of the terminal and/or shooting a fourth image through a rear camera of the terminal;
the second image comprises a fifth image shot by a front camera of the terminal and/or a sixth image shot by a rear camera of the terminal;
the first image and the second image are identical, including: and/or a fourth image shot by a rear camera of the terminal is consistent with a sixth image shot by a rear camera of the terminal.
Preferably, before acquiring the second image that is shot by the terminal in advance within a preset time period before the shutdown, the method further includes:
acquiring real-time shutdown time of a terminal;
and under the condition that the real-time shutdown time is consistent with the preset timing shutdown time of the terminal, controlling a front camera and/or a rear camera of the terminal to shoot the second image within the preset time length and then controlling the terminal to be shut down.
Preferably, the capturing of the first image comprises:
acquiring real-time startup time of a terminal;
and controlling a front camera and/or a rear camera of the terminal to shoot the first image under the condition that the real-time starting time is consistent with the preset timing starting time of the terminal.
As a second aspect of the present disclosure, there is provided a terminal unlocking device including:
the shooting module is used for responding to a received starting instruction of the terminal and shooting a first image;
the first acquisition module is used for acquiring a second image which is shot by the terminal in advance within a preset time length before shutdown;
and the judging module is used for judging whether to directly unlock the terminal according to the first image and the second image.
Preferably, the determining module is specifically configured to:
directly unlocking the terminal under the condition that the first image is consistent with the second image;
and displaying a power-on password input interface under the condition that the first image is determined to be inconsistent with the second image.
Preferably, in the shooting module, the shooting of the first image is specifically configured to:
shooting a third image through a front camera of the terminal and/or shooting a fourth image through a rear camera of the terminal;
the second image comprises a fifth image shot by a front camera of the terminal and/or a sixth image shot by a rear camera of the terminal;
the first image and the second image are identical, including: and/or a fourth image shot by the rear camera of the terminal is consistent with a sixth image shot by the rear camera of the terminal.
Preferably, the method further comprises the following steps:
the second acquisition module is used for acquiring the real-time shutdown time of the terminal;
and the control module is used for controlling the front camera and/or the rear camera of the terminal to shoot the second image within the preset time length and then controlling the terminal to be powered off under the condition that the real-time power-off time is consistent with the preset timing power-off time of the terminal.
Preferably, in the shooting module, the shooting of the first image is specifically configured to:
acquiring real-time startup time of a terminal;
and under the condition that the real-time starting time is consistent with the preset timing starting time of the terminal, controlling a front camera and/or a rear camera of the terminal to shoot the first image.
In the embodiment of the disclosure, the terminal unlocking device receives a starting-up instruction of the terminal, shoots a first image, and obtains a second image which is shot by the terminal in advance within a preset time length before shutdown. And the terminal unlocking device determines whether to directly unlock the terminal according to the first image and the second image. The input operation of a user when the terminal is started is reduced, the operation is simple, and the use experience of the user is improved on the basis of ensuring the safety of the terminal and data; whether this terminal is directly unlocked in automatic setting has promoted intellectuality and humanized degree.
Drawings
Fig. 1 is a flowchart of a terminal unlocking method according to an embodiment of the present disclosure;
fig. 2 is another flowchart of a terminal unlocking method according to an embodiment of the present disclosure;
FIG. 3 is an alternative implementation of capturing a first image provided by an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a terminal unlocking device provided in the embodiment of the present disclosure.
Detailed Description
For a better understanding of the technical aspects of the present disclosure, reference is made to the following detailed description taken in conjunction with the accompanying drawings.
In order to solve the problem that in a scene of frequent startup of a terminal, a startup password needs to be input every time of repeated startup, so that the operation is complicated, and the use experience of a user is influenced; and whether the terminal is directly unlocked by manual setting is insufficient in intelligentization and humanization degrees, and a starting password input link is not set, so that the problems of the safety of the terminal and data are reduced. The disclosure provides a terminal unlocking method and device. The following detailed description is respectively made in connection with the accompanying drawings of the embodiments provided by the present disclosure.
The terminal is powered on and powered off frequently in a scene of frequent powering on and powering off of the terminal, and the terminal can be powered on and powered off frequently in a preset timing powering on and powering off function, or the terminal can be powered on and powered off frequently in a fixed time by a user manually. At present, harassment, fraud calls/short messages are rampant, and many people can select to manually close the terminal or automatically close the terminal by starting a timing power-on and power-off function at the time without communication requirements, such as night.
Fig. 1 shows a flowchart of a terminal unlocking method provided in an embodiment of the present disclosure.
The embodiment of the disclosure is applied to a terminal unlocking device, and as shown in fig. 1, the terminal unlocking method provided by the embodiment includes the following steps.
Step S101, a first image is shot in response to the received starting instruction of the terminal.
And step S102, acquiring a second image which is shot by the terminal in advance within a preset time length before shutdown.
And step S103, judging whether to directly unlock the terminal according to the first image and the second image.
Wherein the preset time period is a short time, such as 2 seconds. That is, the second image is a real-time image taken by the terminal at the time of the power-off. The first image is a real-time image shot by the terminal as soon as the terminal is started after the terminal unlocking device receives a starting instruction of the terminal.
In the embodiment of the disclosure, the terminal unlocking device receives a power-on instruction of the terminal, shoots a first image, and acquires a second image which is shot by the terminal in advance within a preset time length before power-off. The terminal unlocking device determines whether to directly unlock the terminal according to the first image and the second image. The input operation of a user when the terminal is started is reduced, the operation is simple, and the use experience of the user is improved on the basis of ensuring the safety of the terminal and data; whether this terminal is directly unlocked in automatic setting has promoted intelligent and humanized degree.
In some embodiments, the captured first and second images are temporarily saved in a database. The first image and the second image which are temporarily stored in the database should be updated in time, namely, the first image and the second image which are stored originally are automatically replaced after the terminal captures the new first image and the new second image.
In some embodiments, the determining whether to unlock the terminal directly according to the first image and the second image (i.e., step S103) includes: directly unlocking the terminal under the condition that the first image is determined to be consistent with the second image; and displaying a power-on password input interface under the condition that the first image is determined to be inconsistent with the second image.
In some embodiments, the terminal unlocking device compares and identifies a first image captured when the terminal is started up this time with a second image stored in a database and captured by the terminal within a preset time period before the terminal is powered off last time, and determines whether the first image captured when the terminal is started up this time is consistent with the second image captured by the terminal within the preset time period before the terminal is powered off last time. There are many algorithms for comparing and identifying two images, such as pixel-by-pixel comparison, complex speckle detection, corner detection, etc., and the embodiment of the present disclosure does not limit the algorithm for comparing and identifying images, and can be set according to the user's requirements.
In the embodiment of the disclosure, whether the terminal has obvious state change during the terminal restart and the terminal shutdown last time is judged by comparing whether the first image and the second image are consistent, if the first image and the second image are consistent, it is indicated that the state of the terminal does not change during the terminal restart period from the terminal shutdown last time to the terminal restart last time, the terminal and data are not threatened, a startup password input interface is not displayed, the terminal is directly unlocked, and the input operation of a user during the terminal startup is reduced. If the first image is inconsistent with the second image, the state change of the terminal from the last shutdown to the current terminal restart is shown, the terminal and the data are threatened, and a startup password input interface is displayed.
In some embodiments, if the first image is identical to the second image, the terminal may not be unlocked directly without displaying the power-on password input interface, and the user may be prompted to unlock the terminal through other configured unlocking manners, such as fingerprints or 3D facial recognition.
In some embodiments, after the terminal and the data terminal are protected from displaying the boot code input interface, if the user uses other unlocking methods to unlock, such as fingerprint recognition or 3D face recognition, and the unlocking fails, the boot code input interface should be called immediately to prompt the user to input a correct boot code to unlock the terminal, instead of calling the boot code input interface after the unlocking fails to reach a certain number of times by using other unlocking methods continuously.
In some embodiments, in step S101, capturing a first image comprises: and shooting a third image through a front camera of the terminal and/or shooting a fourth image through a rear camera of the terminal. The second image comprises a fifth image shot by a front camera of the terminal and/or a sixth image shot by a rear camera of the terminal. The terminal comprises a front camera and a rear camera. The first image may be one image or may be two images, i.e. the third image and/or the fourth image. The second image may be one image or two images, i.e. the fifth image and/or the sixth image.
The first image and the second image are identical, comprising: and/or a fourth image shot by a rear camera of the terminal is consistent with a sixth image shot by a rear camera of the terminal.
Fig. 2 shows another flowchart of a terminal unlocking method provided in the embodiment of the present disclosure.
In some embodiments, before acquiring the second image captured by the terminal in advance within the preset time period before the power-off (step S102), the method further includes:
step S201, acquiring a real-time shutdown time of the terminal.
And step S202, under the condition that the real-time shutdown time is consistent with the preset timing shutdown time of the terminal, controlling the front-facing camera and/or the rear-facing camera of the terminal to shoot a second image within the preset time length and then controlling the terminal to shut down.
In the embodiment of the disclosure, when the real-time shutdown time is consistent with the preset timing shutdown time of the terminal, it can be determined that the current shutdown belongs to a shutdown caused by a timing startup and shutdown function, and belongs to a scenario of frequent startup and shutdown of the terminal. The front camera and/or the rear camera of the terminal can be triggered and controlled to shoot a second image within a preset time period, and then the terminal is powered off.
In some embodiments, the scenario that the terminal is frequently turned on and off further includes that the terminal is frequently turned on and off at a fixed time. The terminal should note to collect the time of each power-on and power-off at ordinary times, and periodically analyze the time of the terminal which is frequently powered on and powered off. When the time of the terminal being frequently turned on and off is analyzed, the time of the terminal being frequently turned on and off can be determined by simply determining the time range of the terminal being frequently turned on and off as the time of the terminal being frequently turned on and off, and other more complicated and accurate data analysis methods and models can be adopted to determine the time of the terminal being frequently turned on and off.
In some embodiments, before acquiring the second image captured by the terminal in advance within the preset time period before the terminal is turned off (step S102), the method further includes: acquiring real-time shutdown time of a terminal; and under the condition that the real-time shutdown time is consistent with the time for frequently shutting down the terminal, controlling the front-facing camera and/or the rear-facing camera of the terminal to shoot a second image within the preset time length and then controlling the terminal to shut down.
In the embodiment of the disclosure, when it is determined that the real-time shutdown time is consistent with the time for the terminal to be frequently shutdown, it is determined that the current shutdown belongs to the time for the terminal to be frequently shutdown, and a scenario that the terminal is frequently turned on and off is also met. If the terminal is manually powered off, the power-off caused by the configured timing power-on and power-off function can be directly eliminated.
Fig. 3 illustrates an alternative implementation of capturing a first image provided by an embodiment of the present disclosure.
In some embodiments, as shown in fig. 3, in step S101, capturing a first image includes:
and step S301, acquiring the real-time starting time of the terminal.
And step S302, under the condition that the real-time startup time is consistent with the preset timing startup time of the terminal, controlling a front-facing camera and/or a rear-facing camera of the terminal to shoot a first image.
In the embodiment of the disclosure, when the real-time startup time is consistent with the preset timing startup time of the terminal, it can be determined that the current startup belongs to the startup caused by the timing startup and shutdown function, and belongs to the scene of frequent startup and shutdown of the terminal. The method can trigger and control a front camera and/or a rear camera of the terminal to shoot a first image within a preset time.
In some embodiments, in step S101, capturing a first image further comprises: acquiring real-time startup time of a terminal; and under the condition that the real-time starting time is consistent with the time for frequently starting the terminal, controlling a front camera and/or a rear camera of the terminal to shoot a first image.
In the embodiment of the disclosure, when it is determined that the real-time startup time is consistent with the time for frequently starting up the terminal, it is determined that the startup belongs to shutdown at the time for frequently starting up the terminal, and a scenario of frequent startup and shutdown of the terminal is also met. If the terminal is started manually, the starting caused by the configured timing power-on and power-off function can be directly eliminated.
In order to more intuitively and specifically explain the working process of the present disclosure, embody the advantages of the present disclosure and bring convenience to the user, the working process of the present disclosure is described in detail below with reference to an example. Assuming that the cell phone P30pro of the user a presets a terminal unlocking device, the working process of the present disclosure is as follows.
And 1, analyzing and judging whether the shutdown is the shutdown triggered by the timing startup and shutdown function.
In this embodiment, it is assumed that the user a has configured and enabled the timer shutdown function on hua chi P30pro, and the shutdown time is time _ power _ off = 23. On a certain day, when the P30pro is powered off at 23 according to the configured timing power-off time of the timing power-on and power-off function, firstly acquiring a real-time power-off time _ true _ poweroff = 23; meanwhile, the P30pro acquires the timer shutdown time _ power _ off =23 of the timer shutdown configuration information configured by the user a; the P30pro compares the acquired real-time shutdown time _ true _ poweroff =23 with the timed shutdown time _ power _ off = 30; obviously, there is time _ true _ poweroff = time _ power _ off =23, so that it can be determined according to the rule that the shutdown is the shutdown caused by the P30pro timing shutdown function.
2. A second image is captured.
In step 1, it is determined that the shutdown is shutdown caused by the timing power-on and power-off function configured for P30pro, and the front camera and/or the rear camera are/is turned on for P30pro, capture real-time images, and store the real-time images in the database. The real-time image captured by the front camera is named as a fifth image, the real-time image captured by the rear camera is named as a sixth image, and the fifth image and/or the sixth image are/is generally named as a second image.
3. And analyzing and judging whether the startup is the startup triggered by the timing startup and shutdown function.
Let us say that P30pro automatically turns on based on the configured time power on/off function on the next day 6 of a day, and first obtain real-time power on time _ true _ turn = 6; meanwhile, acquiring a timed on-time _ turn _ on =6 of the configured timed on-off function; p30pro compares the obtained real-time on-time _ true _ turn =6 with the timed on-time _ turn _ on =6, and obviously there is time _ true _ turn = time _ turn _ on =6, so it can be judged according to the rule that this time of starting belongs to starting caused by the P30pro timed on-off function.
4. A first image is captured.
In step 3, it is determined that the startup is the startup caused by the timing power on/off function configured for P30pro, and the front/rear camera is started for P30pro to capture a real-time image. The real-time image captured by the front camera is named as a third image, the real-time image captured by the rear camera is named as a fourth image, and the third image and/or the fourth image are/is collectively called as a first image.
5. And displaying/not displaying the power-on password input interface.
Hua is that whether the first image captured by the power-on of this time is the same as the second image captured by the power-off of the last time is identified by the comparison of P30 pro. And comparing the first image with the second image one by adopting the simplest method, and judging that the first image is consistent with the second image (the third image is consistent with the fifth image and/or the fourth image is consistent with the sixth image) if the pixel values corresponding to the first image and the second image are the same. When judging that the first image captured during the current startup is the same as the second image captured during the last shutdown, hua 30pro skips the display of the startup password input interface according to a preset rule, and directly unlocks the terminal, or prompts a user to unlock the terminal through other configured modes such as fingerprints or 3D facial recognition. And when judging that the first image captured during the current startup is different from the second image captured during the last shutdown, the P30pro displays a startup password input interface.
Fig. 4 shows a schematic structural diagram of a terminal unlocking device provided in an embodiment of the present disclosure. Based on the same technical concept as the embodiment corresponding to fig. 1, as shown in fig. 4, the terminal unlocking device provided by the embodiment of the present disclosure includes the following modules.
The shooting module 11 is used for shooting a first image in response to receiving a starting instruction of the terminal;
the first obtaining module 12 is configured to obtain a second image that is shot by the terminal in advance within a preset time period before shutdown;
and the judging module 13 is configured to judge whether to directly unlock the terminal according to the first image and the second image.
Preferably, the determining module is specifically configured to:
directly unlocking the terminal under the condition that the first image is consistent with the second image;
and displaying a power-on password input interface under the condition that the first image is determined to be inconsistent with the second image.
Preferably, in the shooting module, the shooting of the first image is specifically configured to:
shooting a third image through a front camera of the terminal and/or shooting a fourth image through a rear camera of the terminal;
the second image comprises a fifth image shot by a front camera of the terminal and/or a sixth image shot by a rear camera of the terminal;
the first image and the second image are identical, including: and/or a fourth image shot by a rear camera of the terminal is consistent with a sixth image shot by a rear camera of the terminal.
Preferably, the method further comprises the following steps:
the second acquisition module is used for acquiring the real-time shutdown time of the terminal;
and the control module is used for controlling the front camera and/or the rear camera of the terminal to shoot the second image within the preset time length and then controlling the terminal to be powered off under the condition that the real-time power-off time is consistent with the preset timing power-off time of the terminal.
Preferably, in the shooting module, the shooting of the first image is specifically configured to:
acquiring real-time startup time of a terminal;
and controlling a front camera and/or a rear camera of the terminal to shoot the first image under the condition that the real-time starting time is consistent with the preset timing starting time of the terminal.
It is to be understood that the above embodiments are merely exemplary embodiments that are employed to illustrate the principles of the present disclosure, and that the present disclosure is not limited thereto. It will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the disclosure, and these are to be considered as the scope of the disclosure.

Claims (10)

1. A terminal unlocking method is characterized by comprising the following steps:
shooting a first image in response to receiving a starting instruction of the terminal;
acquiring a second image shot by the terminal in advance within a preset time length before shutdown;
judging whether to directly unlock the terminal according to the first image and the second image;
wherein, the judging whether to directly unlock the terminal according to the first image and the second image comprises:
prompting a user to unlock the terminal through other configured unlocking modes under the condition that the first image is determined to be consistent with the second image, wherein the other unlocking modes are unlocking modes other than a starting password unlocking mode;
and under the condition that the user fails to unlock the terminal by using the other unlocking modes, immediately displaying a power-on password input interface to prompt the user to unlock the terminal by using the power-on password unlocking mode.
2. The method for unlocking a terminal according to claim 1, wherein the determining whether to unlock the terminal directly according to the first image and the second image further includes:
directly unlocking the terminal under the condition that the first image is consistent with the second image;
and displaying a power-on password input interface under the condition that the first image is determined to be inconsistent with the second image.
3. The terminal unlocking method according to claim 2, wherein the capturing of the first image includes:
shooting a third image through a front camera of the terminal and/or shooting a fourth image through a rear camera of the terminal;
the second image comprises a fifth image shot by a front camera of the terminal and/or a sixth image shot by a rear camera of the terminal;
the first image and the second image are identical, including: and/or a fourth image shot by the rear camera of the terminal is consistent with a sixth image shot by the rear camera of the terminal.
4. The terminal unlocking method according to claim 1, wherein before acquiring the second image that is captured by the terminal in advance within a preset time period before the power-off, the method further comprises:
acquiring real-time shutdown time of a terminal;
and under the condition that the real-time shutdown time is consistent with the preset timing shutdown time of the terminal, controlling a front camera and/or a rear camera of the terminal to shoot the second image within the preset time length and then controlling the terminal to shut down.
5. The terminal unlocking method according to claim 1, wherein the capturing of the first image includes:
acquiring real-time starting time of a terminal;
and controlling a front camera and/or a rear camera of the terminal to shoot the first image under the condition that the real-time starting time is consistent with the preset timing starting time of the terminal.
6. A terminal unlocking apparatus, comprising:
the shooting module is used for shooting a first image in response to a received starting instruction of the terminal;
the first acquisition module is used for acquiring a second image which is shot by the terminal in advance within a preset time length before shutdown;
the judging module is used for judging whether to directly unlock the terminal according to the first image and the second image;
wherein, the judging whether to directly unlock the terminal according to the first image and the second image comprises:
prompting a user to unlock the terminal through other configured unlocking modes under the condition that the first image is determined to be consistent with the second image, wherein the other unlocking modes are unlocking modes other than a starting password unlocking mode;
and under the condition that the user fails to unlock the terminal by using the other unlocking modes, immediately displaying a power-on password input interface to prompt the user to unlock the terminal by using the power-on password unlocking mode.
7. The terminal unlocking device according to claim 6, wherein the determining module is further configured to:
directly unlocking the terminal under the condition that the first image is determined to be consistent with the second image;
and displaying a power-on password input interface under the condition that the first image is determined to be inconsistent with the second image.
8. The terminal unlocking device according to claim 7, wherein in the shooting module, the shooting of the first image is specifically configured to:
shooting a third image through a front camera of the terminal and/or shooting a fourth image through a rear camera of the terminal;
the second image comprises a fifth image shot by a front camera of the terminal and/or a sixth image shot by a rear camera of the terminal;
the first image and the second image are identical, including: and/or a fourth image shot by a rear camera of the terminal is consistent with a sixth image shot by a rear camera of the terminal.
9. The terminal unlocking device according to claim 6, further comprising:
the second acquisition module is used for acquiring the real-time shutdown time of the terminal;
and the control module is used for controlling the front camera and/or the rear camera of the terminal to shoot the second image within the preset time length and then controlling the terminal to be powered off under the condition that the real-time power-off time is determined to be consistent with the preset timing power-off time of the terminal.
10. The terminal unlocking device according to claim 6, wherein in the shooting module, the shooting of the first image is specifically configured to:
acquiring real-time startup time of a terminal;
and under the condition that the real-time starting time is consistent with the preset timing starting time of the terminal, controlling a front camera and/or a rear camera of the terminal to shoot the first image.
CN202110631755.1A 2021-06-07 2021-06-07 Terminal unlocking method and device Active CN113542498B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110631755.1A CN113542498B (en) 2021-06-07 2021-06-07 Terminal unlocking method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110631755.1A CN113542498B (en) 2021-06-07 2021-06-07 Terminal unlocking method and device

Publications (2)

Publication Number Publication Date
CN113542498A CN113542498A (en) 2021-10-22
CN113542498B true CN113542498B (en) 2023-02-24

Family

ID=78095279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110631755.1A Active CN113542498B (en) 2021-06-07 2021-06-07 Terminal unlocking method and device

Country Status (1)

Country Link
CN (1) CN113542498B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101393598A (en) * 2007-09-21 2009-03-25 希姆通信息技术(上海)有限公司 Starting and unblock method decided by human face identification by utilizing mobile phone cam
CN101494690A (en) * 2009-02-24 2009-07-29 青岛海信移动通信技术股份有限公司 Mobile terminal and unlocking method thereof
JP2014003349A (en) * 2012-06-15 2014-01-09 Kyocera Corp Terminal device
CN108959868A (en) * 2018-06-28 2018-12-07 南昌华勤电子科技有限公司 A kind of booting computer method, apparatus and computer
CN110413330A (en) * 2019-07-30 2019-11-05 努比亚技术有限公司 A kind of face unlock initial method, equipment and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020553B (en) * 2012-12-11 2016-09-28 广东欧珀移动通信有限公司 A kind of guarding against theft for mobile terminal guard method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101393598A (en) * 2007-09-21 2009-03-25 希姆通信息技术(上海)有限公司 Starting and unblock method decided by human face identification by utilizing mobile phone cam
CN101494690A (en) * 2009-02-24 2009-07-29 青岛海信移动通信技术股份有限公司 Mobile terminal and unlocking method thereof
JP2014003349A (en) * 2012-06-15 2014-01-09 Kyocera Corp Terminal device
CN108959868A (en) * 2018-06-28 2018-12-07 南昌华勤电子科技有限公司 A kind of booting computer method, apparatus and computer
CN110413330A (en) * 2019-07-30 2019-11-05 努比亚技术有限公司 A kind of face unlock initial method, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN113542498A (en) 2021-10-22

Similar Documents

Publication Publication Date Title
US11443019B2 (en) Methods and devices for fingerprint unlocking
US8279043B2 (en) Portable information terminal device
US8224128B2 (en) Portable information terminal device
KR20210074323A (en) Face recognition method and device, electronic device and storage medium
EP3133528A1 (en) Method and apparatus for fingerprint identification
EP3200125A1 (en) Fingerprint template input method and device
US20170126962A1 (en) Method and system for quickly starting camera based on eyeprint identification
CN108171165B (en) Fingerprint identification method and device and computer readable storage medium
CN108509944B (en) Fingerprint identification method and device
US20210286979A1 (en) Identity verification method and device, electronic device and computer-readable storage medium
CN109325336B (en) Unlocking method, unlocking device and computer readable storage medium
CN109359458B (en) Application unlocking method and device and computer readable storage medium
CN109543390B (en) Information security management method and system
CN107643818B (en) Function opening method and device
CN110557564A (en) Quick starting method and device of camera
JP4646731B2 (en) Portable information terminal device
CN106066763B (en) Terminal unlocking method and device
CN107729833B (en) Face detection method and related product
CN113542498B (en) Terminal unlocking method and device
CN113268211A (en) Image acquisition method and device, electronic equipment and storage medium
CN109543389B (en) Information protection method and system
JP5322969B2 (en) Authentication method and authentication processing apparatus
CN110969067A (en) User registration and authentication method and device
JP4476194B2 (en) Portable information terminal device
CN107169393A (en) Two-dimensional code scanning 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