IP Library › Granted Patent US 10,810,287
Granted Patent B2
US 10,810,287 · App. 16/160,931 · Granted Oct 20, 2020

Method and apparatus for unlocking terminal screen

Inventor: Zhihai Lei (Beijing, CN)
Assignee: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
G06F21/31G06F3/02G06F3/0304G06F21/74G06F3/167
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,810,287
App. No.
16/160,931
Granted
Oct 20, 2020
Kind
B2
Abstract

A method and apparatus for unlocking a terminal screen are provided. A specific embodiment of the method includes: determining a current screen state of the terminal being a state of awaiting unlocking; acquiring illumination information of an environment of the terminal in a predetermined period of time, the illumination information comprising an illumination intensity and a duration of the illumination intensity; judging whether the illumination information meets a predetermined condition; and switching the current screen state of the terminal to a successfully unlocked state in response to determining that the illumination information meets the predetermined condition. The embodiment achieves high-precision unlocking of a terminal screen without the need of manual operations on the terminal screen.

Claims (44)

1. A method for unlocking a terminal screen, the method comprising:

determining a current screen state of the terminal being a state of awaiting unlocking;

acquiring illumination information of an environment of the terminal in a predetermined period of time, the illumination information comprising a plurality of illumination intensities and a duration of each of the plurality of illumination intensities;

judging whether the illumination information meets a predetermined condition, including:

(i) judging whether each of the plurality of illumination intensities is greater than an intensity threshold;

(ii) judging whether the duration of each of the plurality of illumination intensities is greater than a duration threshold in response to determining that each of the plurality of illumination intensities is greater than the intensity threshold; and

(iii) determining that the illumination information meets the predetermined condition in response to determining that the duration of each of the plurality of illumination intensities is greater than the intensity threshold that has been determined to be is greater than the duration threshold; and

switching the current screen state of the terminal to a successfully unlocked state in response to determining that the illumination information meets the predetermined condition.

2. The method according to claim 1 , wherein the method further comprises:

collecting change regularity of each of the plurality of illumination intensities based on the illumination information; and

the judging whether the illumination information meets a predetermined condition comprises:

judging whether the change regularity of each of the plurality of illumination intensities meets a predetermined change regularity; and

determining the illumination information meeting the predetermined condition in response to determining that the change regularity of each of the plurality of illumination intensities matches the predetermined change regularity.

3. The method according to claim 1 , wherein the determining a current state of the terminal being a state of awaiting unlocking comprises:

invoking a system screen locking/unlocking function in response to a first operation of a user on the terminal; and

determining the current screen state being a state of awaiting unlocking in response to determining that a return value of the system screen locking/unlocking function is a predetermined return value; and

the first operation includes a pressing operation of the user on a power button.

4. An apparatus for unlocking a terminal screen, the apparatus comprising:

at least one processor; and

a memory storing instructions, the instructions when executed by the at least one processor, cause the at least one processor to perform operations, the operations comprising:

determining a current screen state of the terminal being a state of awaiting unlocking;

acquiring illumination information of an environment of the terminal in a predetermined period of time, the illumination information comprising a plurality of illumination intensities and a duration of each of the plurality of illumination intensities;

judging whether the illumination information meets a predetermined condition, including

(i) judging whether each of the plurality of illumination intensities is greater than an intensity threshold;

(ii) judging whether the duration of each of the plurality of illumination intensities is greater than a duration threshold in response to determining that each of the plurality of illumination intensities is greater than the intensity threshold; and

(iii) determining the illumination information meeting the predetermined condition in response to determining that the duration of each of the plurality of illumination intensities greater than the intensity threshold is greater than the duration threshold; and

switching the current screen state of the terminal to a successfully unlocked state in response to determining that the illumination information meets the predetermined condition.

5. The apparatus according to claim 4 , wherein the operations further comprise:

collecting change regularity of each of the plurality of illumination intensities; and

the judging whether the illumination information meets a predetermined condition comprises:

judging whether the change regularity of each of the plurality of illumination intensities meets a predetermined change regularity; and

determining the illumination information meeting the predetermined condition in response to determining that the change regularity of each of the plurality of illumination intensities matches the predetermined change regularity.

6. The apparatus according to claim 4 , wherein the determining a current state of the terminal being a state of awaiting unlocking comprises:

invoking a system screen locking/unlocking function in response to a first operation of a user on the terminal; and

determining the current screen state being a state of awaiting unlocking in response to determining that a return value of the system screen locking/unlocking function is a predetermined return value; and

the first operation includes a pressing operation of the user on a power button.

7. A non-transitory computer-readable storage medium storing a computer program, the computer program when executed by one or more processors, causes the one or more processors to perform operations, the operations comprising:

determining a current screen state of the terminal being a state of awaiting unlocking;

acquiring illumination information of an environment of the terminal in a predetermined period of time, the illumination information comprising a plurality of illumination intensities and a duration of each of the plurality of illumination intensities;

judging whether the illumination information meets a predetermined condition, including

(i) judging whether each of the plurality of illumination intensities is greater than an intensity threshold;

(ii) judging whether the duration of each of the plurality of illumination intensities is greater than a duration threshold in response to determining that each of the plurality of illumination intensities is greater than the intensity threshold; and

(iii) determining the illumination information meeting the predetermined condition in response to determining that the duration of each of the plurality of illumination intensities greater than the intensity threshold is greater than the duration threshold; and

switching the current screen state of the terminal to a successfully unlocked state in response to determining that the illumination information meets the predetermined condition.

Priority Claims (1)
CN 2016 1 0569859 · Jul 19, 2016 · national
Continuity (2)
Continuation PCTCN2017000040 · Jan 3, 2017
Related Publication 20190050544A1 · Feb 14, 2019