CN106357934B - Screen locking control method and device - Google Patents

Screen locking control method and device Download PDF

Info

Publication number
CN106357934B
CN106357934B CN201611051769.1A CN201611051769A CN106357934B CN 106357934 B CN106357934 B CN 106357934B CN 201611051769 A CN201611051769 A CN 201611051769A CN 106357934 B CN106357934 B CN 106357934B
Authority
CN
China
Prior art keywords
screen
time
face
user
screen locking
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
CN201611051769.1A
Other languages
Chinese (zh)
Other versions
CN106357934A (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 CN201611051769.1A priority Critical patent/CN106357934B/en
Publication of CN106357934A publication Critical patent/CN106357934A/en
Application granted granted Critical
Publication of CN106357934B publication Critical patent/CN106357934B/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
    • 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/16Human faces, e.g. facial parts, sketches or expressions
    • 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/18Eye characteristics, e.g. of the iris

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Ophthalmology & Optometry (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure relates to a screen locking control method and device, wherein the method comprises the following steps: determining the continuous occurrence frequency of a quick unlocking event, wherein the quick unlocking event is an event unlocked within a first preset time after the screen is locked; and when the continuous occurrence frequency is greater than a preset frequency threshold value, prolonging the screen locking time of the screen, wherein the screen locking time is the time from the moment that the screen does not receive the operation to the moment that the screen is automatically locked. According to the method and the device, the time for locking the screen can be automatically adjusted according to the condition that the user uses the mobile phone, and the unlocking times of the user when the user watches the screen for a long time are reduced.

Description

Screen locking control method and device
Technical Field
The disclosure relates to the field of mobile terminal application, and in particular, to a screen locking control method and device.
Background
With the popularization of intelligent mobile terminals, many users protect their privacy by using a lock screen. The mobile terminal screen locking mainly comprises two types: the lock screen mainly aims at beautifying and saving energy consumption, and the lock screen mainly aims at the safety of a mobile phone. Since the mobile terminal has a large power consumption, in order to reduce unnecessary power consumption, in the related art, the system sets a fixed screen lock time after the screen of the mobile terminal is lit. That is, if the mobile terminal is not operated for a designated time, the screen of the mobile terminal is darkened, and if it is not operated any more, a screen lock state is entered.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and an apparatus for controlling a lock screen.
According to a first aspect of the embodiments of the present disclosure, a method for controlling screen locking is provided, including:
determining the continuous occurrence frequency of a quick unlocking event, wherein the quick unlocking event is an event unlocked within a first preset time after the screen is locked;
and when the continuous occurrence times are larger than a preset time threshold value, prolonging the screen locking time of the screen, wherein the screen locking time is the time from the moment that the screen does not receive the operation to the moment that the screen is automatically locked.
Optionally, when the number of consecutive occurrences is greater than a preset number threshold, extending the screen locking time of the screen, including:
when the continuous occurrence frequency is larger than a preset frequency threshold value, displaying prompt information for judging whether the intelligent screen locking function is started;
and when an instruction for determining to start the intelligent screen locking function is received, prolonging the screen locking time of the screen.
Optionally, the extending the screen locking time of the screen includes:
and adjusting the screen locking time from the default first screen locking time to a second screen locking time, wherein the time length of the second screen locking time is n times of the first screen locking time.
Optionally, the prolonging the screen locking time of the screen further includes:
when no operation is detected on the screen within a second preset time after the current unlocking, adjusting the brightness of the screen from the current first brightness to a second brightness, wherein the second brightness is lower than the first brightness;
and when an operation is detected on the screen within a third preset time after the screen is adjusted to the second brightness, adjusting the brightness of the screen back to the first brightness, and adjusting the screen locking time from the second screen locking time to a third screen locking time, wherein the time length of the third screen locking time is m times of the second screen locking time.
Optionally, the method further includes:
after the screen is locked, detecting whether a face entering a face detection range exists or not;
when the face entering the face detection range is detected, judging whether the user to which the face belongs is the user before the screen is locked;
and when the user to which the face belongs and the user before the screen is locked are the same user, unlocking the screen.
Optionally, when the user to which the face belongs and the user before the screen is locked are the same user, unlocking the screen includes:
when the user to which the face belongs and the user before the screen is locked are the same user, unlocking the screen;
and displaying the page before the screen locking on the screen.
Optionally, when a face entering the face detection range is detected, determining whether the user to which the face belongs is the user before the screen is locked includes:
when a face entering the face detection range is detected, carrying out face recognition on the face to acquire a first face characteristic of the face;
comparing the first facial features with second facial features of a human face acquired before the screen is locked;
when the first facial feature is consistent with the second facial feature, determining that the user to which the face belongs is the user before the screen lock.
Optionally, when a face entering the face detection range is detected, determining whether the user to which the face belongs is the user before the screen is locked includes:
when a face entering the face detection range is detected, acquiring the eye position in the face;
performing iris recognition on the eye position to acquire a first iris characteristic;
comparing the first iris feature with a second iris feature obtained from a face acquired before the screen is locked;
and when the first iris feature is consistent with the second iris feature, determining that the user to which the face belongs is the user before the screen is locked.
Optionally, the method further includes:
after the screen is unlocked, detecting whether a human hand entering a gesture detection range exists or not;
when a hand entering the gesture detection range is detected, acquiring gesture information of the hand;
determining an operation corresponding to the gesture information;
and executing operation corresponding to the gesture information on the page currently displayed on the screen.
According to a second aspect of the embodiments of the present disclosure, there is provided a control device for locking a screen, including:
the number judgment module is configured to determine the continuous occurrence number of a quick unlocking event, wherein the quick unlocking event is an event unlocked within a first preset time after the screen is locked;
the time prolonging module is configured to prolong the screen locking time of the screen when the continuous occurrence times are larger than a preset time threshold, wherein the screen locking time is the time from the time when the screen does not receive the operation to the time when the screen is automatically locked.
Optionally, the time module includes:
the prompting submodule is configured to display prompting information whether to start the intelligent screen locking function or not when the continuous occurrence frequency is larger than a preset frequency threshold;
and the time prolonging submodule is configured to prolong the screen locking time of the screen when receiving an instruction for determining to start the intelligent screen locking function.
Optionally, the time extension sub-module is configured to:
and adjusting the screen locking time from the default first screen locking time to a second screen locking time, wherein the time length of the second screen locking time is n times of the first screen locking time.
Optionally, the time extension sub-module is further configured to:
when no operation is detected on the screen within a second preset time after the current unlocking, adjusting the brightness of the screen from the current first brightness to a second brightness, wherein the second brightness is lower than the first brightness;
and when an operation is detected on the screen within a third preset time after the screen is adjusted to the second brightness, adjusting the brightness of the screen back to the first brightness, and adjusting the screen locking time from the second screen locking time to a third screen locking time, wherein the time length of the third screen locking time is m times of the second screen locking time.
Optionally, the apparatus further comprises:
the face detection module is configured to detect whether a face entering a face detection range exists or not after the screen is locked;
the face recognition module is configured to judge whether a user to which the face belongs is a user before the screen is locked or not when the face entering the face detection range is detected;
and the screen unlocking module is configured to unlock the screen when the user to which the face belongs and the user before the screen is locked are the same user.
Optionally, the screen unlocking module includes:
the screen unlocking sub-module is configured to unlock the screen when the user to which the face belongs and the user before the screen is locked are the same user;
a page display sub-module configured to display the page before the screen lock on the screen.
Optionally, the face recognition module includes:
the facial feature acquisition sub-module is configured to perform face recognition on the face when the face entering the face detection range is detected, and acquire a first facial feature of the face;
a face comparison sub-module configured to compare the first facial features to second facial features of a human face acquired prior to the screen lock;
a first user determination sub-module configured to determine that the user to which the face belongs is the user before the screen lock when the first facial feature is consistent with the second facial feature.
Optionally, the face recognition module includes:
a position acquisition sub-module configured to acquire an eye position in the face when the face entering the face detection range is detected;
an iris acquisition sub-module configured to perform iris recognition on the eye position to acquire a first iris feature;
an iris comparison sub-module configured to compare the first iris features with second iris features obtained from a face acquired before the screen lock;
a second user determination sub-module configured to determine that the user to which the face belongs is the user before the screen lock when the first iris feature is identical to the second iris feature.
Optionally, the apparatus further comprises:
a gesture detection module configured to detect whether there is a human hand entering a gesture detection range when the screen is unlocked;
a gesture acquisition module configured to acquire gesture information of a human hand entering the gesture detection range when the human hand is detected;
an operation determination module configured to determine an operation corresponding to the gesture information;
and the operation execution module is configured to execute the operation corresponding to the gesture information on the page currently displayed on the screen.
According to a third aspect of the embodiments of the present disclosure, there is provided a control device for locking a screen, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining the continuous occurrence frequency of a quick unlocking event, wherein the quick unlocking event is an event unlocked within a first preset time after the screen is locked;
and when the continuous occurrence times are larger than a preset time threshold value, prolonging the screen locking time of the screen, wherein the screen locking time is the time from the moment that the screen does not receive the operation to the moment that the screen is automatically locked.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions stored thereon, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of controlling screen locking, the method including:
determining the continuous occurrence frequency of a quick unlocking event, wherein the quick unlocking event is an event unlocked within a first preset time after the screen is locked;
and when the continuous occurrence times are larger than a preset time threshold value, prolonging the screen locking time of the screen, wherein the screen locking time is the time from the moment that the screen does not receive the operation to the moment that the screen is automatically locked.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
determining the continuous occurrence frequency of a quick unlocking event, wherein the quick unlocking event is an event unlocked within a first preset time after the screen is locked; and when the continuous occurrence frequency is greater than a preset frequency threshold value, prolonging the screen locking time of the screen, wherein the screen locking time is the time from the moment that the screen does not receive the operation to the moment that the screen is automatically locked. According to the method and the device, the time for locking the screen can be automatically adjusted according to the condition that the user uses the mobile phone, and the unlocking times of the user when the user watches the screen for a long time are reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a method of controlling a lock screen according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a method for extending a screen lock time of a screen according to the embodiment shown in fig. 1.
FIG. 3 is a flow chart illustrating another method of controlling lock screen according to an exemplary embodiment.
Fig. 4 is a flow diagram illustrating an unlock screen according to the embodiment shown in fig. 3.
Fig. 5 is a flowchart illustrating a method for determining a user to whom a face belongs according to the embodiment shown in fig. 3.
Fig. 6 is a flowchart illustrating another method for determining a user to whom a face belongs according to the embodiment shown in fig. 3.
Fig. 7 is a flowchart illustrating yet another method of controlling screen lock according to an example embodiment.
Fig. 8 is a block diagram illustrating a control apparatus for locking a screen according to another exemplary embodiment.
FIG. 9 is a block diagram illustrating a time extension module in accordance with an exemplary embodiment.
Fig. 10 is a block diagram illustrating another apparatus for controlling a lock screen according to an exemplary embodiment.
FIG. 11 is a block diagram illustrating a screen unlock module in accordance with an exemplary embodiment.
FIG. 12 is a block diagram illustrating a face recognition module according to an example embodiment.
FIG. 13 is a block diagram illustrating another face recognition module in accordance with an exemplary embodiment.
Fig. 14 is a block diagram illustrating yet another apparatus for controlling a lock screen according to an exemplary embodiment.
Fig. 15 is a block diagram illustrating an apparatus (a general structure of a mobile terminal) according to an example 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 implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Before introducing the control method for locking a screen provided by the present disclosure, an application scenario related to the present disclosure is first introduced, where the application scenario may include a terminal. The terminal may be a mobile terminal device having a screen lock function or supporting a third-party screen lock application plug-in, and may be, for example, a smart phone, a tablet computer, a smart television, a smart watch, a PDA (Personal Digital Assistant), a portable computer, or the like.
Fig. 1 is a flowchart illustrating a method for controlling a lock screen according to an exemplary embodiment, as shown in fig. 1, referring to fig. 1, the method for controlling a lock screen may be applied to a terminal described in the above application scenario, and the method may include the following steps.
In step 101, the number of consecutive occurrences of a quick unlock event, which is an event unlocked within a first preset time after the screen is locked, is determined.
For example, the number of continuous occurrences of the quick unlocking event before the current unlocking can be determined after the screen is unlocked. The first preset time may be a shorter time interval. Taking the terminal as a mobile phone as an example, the quick unlocking event may include: when a user reads news by using the mobile phone, the screen of the mobile phone is locked after a period of time because no operation is performed in the reading process. This time interval may be in the range of 2 to 5 seconds, when the user finds the screen locked and unlocks immediately to continue reading.
In step 102, when the continuous occurrence number is greater than a preset number threshold, the screen locking time of the screen is extended, where the screen locking time is a time from when the screen does not receive an operation to when the screen is automatically locked.
Illustratively, when a user uses the terminal, if the screen is unlocked immediately after being locked several times in succession, this indicates that the current screen locking time of the system is too short for the scene used by the user, so it is necessary to extend the screen locking time.
To sum up, the control method for locking a screen according to the embodiment of the present disclosure determines the continuous occurrence frequency of a fast unlocking event, where the fast unlocking event is an event that is unlocked within a first preset time after the screen is locked; and when the continuous occurrence frequency is greater than a preset frequency threshold value, prolonging the screen locking time of the screen, wherein the screen locking time is the time from the moment that the screen does not receive the operation to the moment that the screen is automatically locked. According to the method and the device, the time for locking the screen can be automatically adjusted according to the condition that the user uses the mobile phone, and the unlocking times of the user when the user watches the screen for a long time are reduced.
Fig. 2 is a flowchart illustrating a method for extending the screen lock time of the screen according to the embodiment shown in fig. 1, and as shown in fig. 2, step 102 may include the following steps.
In step 1021, when the number of consecutive occurrences is greater than the preset number threshold, a prompt message indicating whether to unlock the intelligent screen locking function is displayed.
For example, when the terminal detects that the user unlocks the screen immediately after the screen is locked for multiple times, an option of whether to start the intelligent screen locking function can be displayed to the user, and when the user selects not to start the intelligent screen locking function, the current screen locking time is kept unchanged; when the user selects to turn on the smart lock screen function, the process proceeds to step 1022.
In step 1022, when an instruction for determining to unlock the intelligent screen locking function is received, the screen locking time of the screen is extended.
Optionally, the extending the screen locking time of the screen in step 1022 may include: and adjusting the screen locking time from the default first screen locking time to a second screen locking time, wherein the time length of the second screen locking time is n times of the first screen locking time.
For example, when the user determines to turn on the intelligent screen locking function, the terminal system may increase the current screen locking time to be 5 seconds to twice the current screen locking time. At this time, the lock screen time becomes 10 seconds. Further, after the screen locking time is changed to 10 seconds, when the system detects that the user unlocks the screen immediately after the screen is locked for multiple times, the screen locking time can be continuously increased to twice the current screen locking time of 10 seconds, namely 20 seconds.
Optionally, when no operation is detected on the screen within a second preset time after the current unlocking, the extending the screen locking time of the screen in step 1022 may further include:
firstly, adjusting the brightness of the screen from the current first brightness to a second brightness, wherein the second brightness is lower than the first brightness;
secondly, when an operation is detected on the screen within a third preset time after the screen is adjusted to the second brightness, the brightness of the screen is adjusted to the first brightness, the screen locking time is adjusted from the second screen locking time to a third screen locking time, and the time length of the third screen locking time is m times of the second screen locking time.
Illustratively, the screen locking process of the terminal may include: when the terminal system does not detect the operation behavior of the user on the terminal within a period of time, the brightness of the screen can be reduced to a second brightness, and the period of time can be a second preset time; after the screen brightness is adjusted to the second brightness, if the terminal system still does not detect the operation behavior of the terminal by the user within the next period of time, it may be determined that the screen is locked, and the period of time may be a third preset time. And the sum of the second preset time and the third preset time is equal to the second screen locking time.
For example, taking the second screen locking time as 10 seconds as an example, when the terminal system detects the operation behavior of the user on the terminal within the third preset time, the screen may be restored to the first brightness, and then the current screen locking time is increased to twice the current second screen locking time by 10 seconds. At this time, the lock screen time becomes 20 seconds. When the system detects the operation behavior of the user on the terminal within the third preset time again, the current screen locking time can be continuously increased to twice the current second screen locking time by 20 seconds, namely 40 seconds.
Fig. 3 is a flowchart illustrating another method for controlling screen locking according to an exemplary embodiment, and as shown in fig. 3 and referring to fig. 3, the method for controlling screen locking may be applied to a terminal described in the above application scenario, and the method may further include the following steps.
In step 103, after the screen is locked, whether a face entering the face detection range exists is detected.
The face detection range may include a shooting range of a camera on the terminal, or a detection range of a face detection device in the terminal.
In step 104, it is determined whether the user to which the face belongs is the user before the screen lock.
For example, before the screen is locked, the terminal system may capture and store the second facial feature or the second iris feature of the terminal user through a camera or a face detection device. After the screen is locked, the currently acquired first facial feature may be compared with the second facial feature, and when the first facial feature and the second facial feature are confirmed to be consistent, the process proceeds to step 105. Or the first iris feature currently acquired may be compared with the second iris feature, and when the two iris features are confirmed to be consistent, the process proceeds to step 105.
In step 105, the screen is unlocked.
Fig. 4 is a flowchart illustrating an unlock screen according to the embodiment shown in fig. 3, and as shown in fig. 4, step 105 may include the following steps.
In step 1051, when the user to which the face belongs is the same user as the user before the screen is locked, the screen is unlocked.
In step 1052, the page before the screen lock is displayed on the screen.
Illustratively, after the screen lock is released, the content browsed by the user before the screen lock is displayed on the terminal screen, so that the user does not need to search the content before the screen lock or the operation before the screen lock again.
Fig. 5 is a flowchart illustrating an embodiment of determining a user to whom a face belongs according to fig. 3, and as shown in fig. 5, the step 104 of determining whether the user to whom the face belongs is the user before the screen is locked may include the following steps.
In step 1041, when a face entering the face detection range is detected, face recognition is performed on the face to obtain a first facial feature of the face.
In step 1042, the first facial feature is compared to a second facial feature of the face captured before the screen lock.
In step 1043, when the first facial feature is consistent with the second facial feature, it is determined that the user to which the face belongs is the user before the screen lock.
For example, after the terminal screen is locked, when the user wants to unlock the screen, the face may be brought close to the terminal, and the terminal may collect a first face feature of the user and compare the first face feature with a second face feature collected in advance before the screen is locked, and when the first face feature is consistent with the second face feature, the user identity is determined.
Therefore, the user can perform screen unlocking operation by identifying the facial features through the terminal, so that the user does not need to vacate hands to perform screen unlocking operation, or the user can unlock the screen and watch the content before the screen is locked when the user inconveniently touches the screen with both hands.
Fig. 6 is a flowchart illustrating another method for determining a user to whom a face belongs according to the embodiment shown in fig. 3, and as shown in fig. 6, the determining of whether the user to whom the face belongs is the user before the screen is locked in step 104 may further include the following steps.
In step 1044, when a face entering the face detection range is detected, the eye position in the face is obtained.
In step 1045, iris recognition is performed on the eye location to obtain a first iris feature.
In step 1046, the first iris feature is compared to a second iris feature obtained from the face captured prior to the screen lock.
In step 1047, when the first iris feature is consistent with the second iris feature, it is determined that the user to which the face belongs is the user before the screen lock.
The iris feature comparison method is the same as the face feature comparison method described in fig. 5, and is not described again.
Fig. 7 is a flowchart illustrating a further method for controlling a lock screen according to an exemplary embodiment, and as shown in fig. 7, referring to fig. 7, the method may further include the following steps.
In step 106, while unlocking the screen, it is detected whether there is a human hand that enters the gesture detection range.
In step 107, when a human hand that enters the gesture detection range is detected, gesture information of the human hand is acquired.
In step 108, an operation corresponding to the gesture information is determined.
In step 109, an operation corresponding to the gesture information is performed on the page currently displayed on the screen.
For example, when the screen is unlocked, the terminal system may further capture gesture information of the user through a camera or a gesture detection device, and perform an operation corresponding to the gesture information. For example, the user may set the gesture of the page-up operation as a gesture of extending an index finger to point upwards, and when the user makes the gesture, it may be determined that the page-up operation is performed on the terminal page after the screen is unlocked. For another example, the user may set the gesture of returning to the home interface as a fist-clenching gesture, and when the user makes the gesture, the user may determine to return to the home interface of the terminal page after unlocking the screen.
Therefore, when the user inconveniently touches the screen with both hands, the user can still operate the terminal through gestures without touching the screen after unlocking the screen through the recognition of the facial features by the terminal.
To sum up, the control method for locking a screen according to the embodiment of the present disclosure determines the continuous occurrence frequency of a fast unlocking event, where the fast unlocking event is an event that is unlocked within a first preset time after the screen is locked; and when the continuous occurrence frequency is greater than a preset frequency threshold value, prolonging the screen locking time of the screen, wherein the screen locking time is the time from the moment that the screen does not receive the operation to the moment that the screen is automatically locked. According to the method and the device, the time for locking the screen can be automatically adjusted according to the condition that the user uses the mobile phone, and the unlocking times of the user when the user watches the screen for a long time are reduced.
Fig. 8 is a block diagram illustrating a control apparatus for locking a screen, where the control apparatus 800 for locking a screen may be used to execute the method described in any one of fig. 1 to 7, and the apparatus 800 may be implemented by software, hardware, or a combination of the two, and the apparatus may be a terminal described in the above application scenario. Referring to fig. 8, the control apparatus 800 of the lock screen may include:
and a number judging module 810 configured to determine the number of consecutive occurrences of a quick unlocking event, where the quick unlocking event is an event that is unlocked within a first preset time after the screen is locked.
And a time extension module 820 configured to extend the screen locking time of the screen when the continuous occurrence number is greater than a preset number threshold, wherein the screen locking time is the time from the time when the screen does not receive the operation to the time when the screen is automatically locked.
Fig. 9 is a block diagram illustrating a time extension module according to an example embodiment, and referring to fig. 9, the time extension module 820 may further include:
and the prompt submodule 821 is configured to display a prompt message of whether to start the intelligent screen locking function when the continuous occurrence number is greater than a preset number threshold.
And the time prolonging submodule 822 is configured to prolong the screen locking time of the screen when receiving the instruction for determining to start the intelligent screen locking function.
Optionally, the time extension sub-module 822 may be configured to:
and adjusting the screen locking time from the default first screen locking time to a second screen locking time, wherein the time length of the second screen locking time is n times of the first screen locking time.
Optionally, the time extension sub-module 822 may be further configured to:
when no operation is detected on the screen within a second preset time after the current unlocking, adjusting the brightness of the screen from the current first brightness to a second brightness, wherein the second brightness is lower than the first brightness;
and when the operation on the screen is detected within a third preset time after the screen is adjusted to the second brightness, adjusting the brightness of the screen back to the first brightness, and adjusting the screen locking time from the second screen locking time to a third screen locking time, wherein the time length of the third screen locking time is m times of the second screen locking time.
Fig. 10 is a block diagram illustrating another control apparatus of a lock screen according to an exemplary embodiment, and referring to fig. 10, the control apparatus 800 of the lock screen may include:
and the face detection module 830 is configured to detect whether a face entering a face detection range exists after the screen is locked.
And the face recognition module 840 is configured to judge whether the user to which the face belongs is the user before the screen is locked when the face entering the face detection range is detected.
And the screen unlocking module 850 is configured to unlock the screen when the user to which the face belongs is the same user as the user before the screen is locked.
Fig. 11 is a block diagram illustrating a screen unlocking module according to an exemplary embodiment, and referring to fig. 11, the screen unlocking module 850 may include:
a screen unlocking sub-module 851 configured to unlock the screen when the user to which the face belongs is the same user as the user before the screen is locked.
A page display sub-module 852 configured to display the page before the screen lock on the screen.
Fig. 12 is a block diagram illustrating a face recognition module according to an exemplary embodiment, and referring to fig. 12, the face recognition module 840 may include:
the facial feature obtaining sub-module 841 is configured to, when a human face entering a human face detection range is detected, perform human face recognition on the human face to obtain a first facial feature of the human face.
A face comparison sub-module 842 configured to compare the first facial features with second facial features of the face captured prior to the screen lock.
A first user determination sub-module 843 configured to determine that the user to which the face belongs is the user before the screen lock when the first facial feature is identical to the second facial feature.
Fig. 13 is a block diagram illustrating another face recognition module according to an example embodiment, and referring to fig. 13, the face recognition module 840 may include:
a position acquisition sub-module 844 configured to acquire, when a face entering the face detection range is detected, the eye positions in the face.
An iris acquisition sub-module 845 configured to perform iris recognition on the eye position to acquire a first iris feature.
An iris comparison sub-module 846 configured to compare the first iris features with second iris features obtained from a face acquired prior to the screen lock.
A second user determination sub-module 847 configured to determine that the user to which the face belongs is the user before the screen lock when the first iris feature is identical to the second iris feature.
Fig. 14 is a block diagram illustrating a control apparatus of a further lock screen according to an exemplary embodiment, and referring to fig. 14, the control apparatus 800 of the lock screen may further include:
a gesture detection module 860 configured to detect whether there is a human hand coming within a gesture detection range while unlocking the screen.
A gesture acquisition module 870 configured to acquire gesture information of a human hand entering the gesture detection range when the human hand is detected.
An operation determination module 880 configured to determine an operation corresponding to the gesture information.
And an operation executing module 890 configured to execute an operation corresponding to the gesture information on the currently displayed page of the screen.
To sum up, the control device for locking a screen according to the embodiment of the present disclosure determines the continuous occurrence frequency of a fast unlocking event, where the fast unlocking event is an event that is unlocked within a first preset time after the screen is locked; and when the continuous occurrence frequency is greater than a preset frequency threshold value, prolonging the screen locking time of the screen, wherein the screen locking time is the time from the moment that the screen does not receive the operation to the moment that the screen is automatically locked. According to the method and the device, the time for locking the screen can be automatically adjusted according to the condition that the user uses the mobile phone, and the unlocking times of the user when the user watches the screen for a long time are reduced.
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. 15 is a block diagram illustrating a control apparatus 1500 for locking a screen according to an exemplary embodiment. For example, the apparatus 1500 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. 15, apparatus 1500 may include one or more of the following components: processing component 1502, memory 1504, power component 1506, multimedia component 1508, audio component 1510, input/output (I/O) interface 1512, sensor component 1514, and communications component 1516.
The processing component 1502 generally controls overall operation of the device 1500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing components 1502 may include one or more processors 1520 executing instructions to perform all or a portion of the steps of the lock screen control method. Further, processing component 1502 may include one or more modules that facilitate interaction between processing component 1502 and other components. For example, processing component 1502 may include a multimedia module to facilitate interaction between multimedia component 1508 and processing component 1502.
The memory 1504 is configured to store various types of data to support operations at the apparatus 1500. Examples of such data include instructions for any application or method operating on the device 1500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1504 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 component 1506 provides power to the various components of the device 1500. The power components 1506 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 1500.
The multimedia component 1508 includes a screen that provides an output interface between the device 1500 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, multimedia component 1508 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 apparatus 1500 is in an operation 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 1510 is configured to output and/or input audio signals. For example, the audio component 1510 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1504 or transmitted via the communication component 1516. In some embodiments, audio component 1510 also includes a speaker for outputting audio signals.
The I/O interface 1512 provides an interface between the processing component 1502 and peripheral interface modules, which can 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 1514 includes one or more sensors for providing status assessment of various aspects of the apparatus 1500. For example, the sensor assembly 1514 can detect an open/closed state of the device 1500, the relative positioning of components, such as a display and keypad of the device 1500, the sensor assembly 1514 can also detect a change in position of the device 1500 or a component of the device 1500, the presence or absence of user contact with the device 1500, orientation or acceleration/deceleration of the device 1500, and a change in temperature of the device 1500. The sensor assembly 1514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1514 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 1514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1516 is configured to facilitate wired or wireless communication between the apparatus 1500 and other devices. The apparatus 1500 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 1516 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1516 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 1500 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 a control method of screen locking.
In an exemplary embodiment, a non-transitory computer readable storage medium including instructions, such as the memory 1504 including instructions, executable by the processor 1520 of the apparatus 1500 to perform a method of controlling screen lock 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. 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 (17)

1. A screen locking control method is characterized by comprising the following steps:
determining the continuous occurrence frequency of a quick unlocking event, wherein the quick unlocking event is an event unlocked within a first preset time after a screen is locked;
when the continuous occurrence times are greater than a preset times threshold, prolonging screen locking time of the screen, wherein the screen locking time is time from the time when the screen does not receive operation to the time when the screen is automatically locked, and the prolonging of the screen locking time of the screen comprises:
when no operation is detected on the screen within a second preset time after the current unlocking, adjusting the brightness of the screen from the current first brightness to a second brightness, wherein the second brightness is lower than the first brightness;
when an operation is detected on the screen within a third preset time after the screen is adjusted to the second brightness, the brightness of the screen is adjusted to the first brightness, the screen locking time is adjusted from a second screen locking time to a third screen locking time, the second screen locking time is determined after the default first screen locking time of the screen is adjusted, and the time length of the third screen locking time is m times of the second screen locking time.
2. The method of claim 1, wherein when the number of consecutive occurrences is greater than a preset number threshold, extending the screen lock time of the screen comprises:
when the continuous occurrence frequency is larger than a preset frequency threshold value, displaying prompt information for judging whether the intelligent screen locking function is started;
and when an instruction for determining to start the intelligent screen locking function is received, prolonging the screen locking time of the screen.
3. The method of claim 2, wherein the extending the lock screen time of the screen comprises:
and adjusting the screen locking time from the default first screen locking time to a second screen locking time, wherein the time length of the second screen locking time is n times of the first screen locking time.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
after the screen is locked, detecting whether a face entering a face detection range exists or not;
when the face entering the face detection range is detected, judging whether the user to which the face belongs is the user before the screen is locked;
and when the user to which the face belongs and the user before the screen is locked are the same user, unlocking the screen.
5. The method of claim 4, wherein when the user to which the face belongs and the user before the screen is locked are the same user, unlocking the screen comprises:
when the user to which the face belongs and the user before the screen is locked are the same user, unlocking the screen;
and displaying the page before the screen locking on the screen.
6. The method according to claim 4, wherein when a face entering the face detection range is detected, determining whether the user to which the face belongs is a user before the screen lock comprises:
when a face entering the face detection range is detected, carrying out face recognition on the face to acquire a first face characteristic of the face;
comparing the first facial features with second facial features of a human face acquired before the screen is locked;
when the first facial feature is consistent with the second facial feature, determining that the user to which the face belongs is the user before the screen lock.
7. The method according to claim 4, wherein when a face entering the face detection range is detected, determining whether the user to which the face belongs is a user before the screen lock comprises:
when a face entering the face detection range is detected, acquiring the eye position in the face;
performing iris recognition on the eye position to acquire a first iris characteristic;
comparing the first iris feature with a second iris feature obtained from a face acquired before the screen is locked;
when the first iris feature is consistent with the second iris feature, determining that the user to which the face belongs is the user before the screen is locked.
8. The method of claim 4, further comprising:
detecting whether a human hand entering a gesture detection range exists or not when the screen is unlocked;
when a hand entering the gesture detection range is detected, acquiring gesture information of the hand;
determining an operation corresponding to the gesture information;
and executing operation corresponding to the gesture information on the page currently displayed on the screen.
9. A control device for a lock screen, the device comprising:
the system comprises a frequency judging module, a frequency judging module and a frequency judging module, wherein the frequency judging module is configured to determine the continuous occurrence frequency of a quick unlocking event, and the quick unlocking event is an event unlocked within a first preset time after a screen is locked;
a time extension module configured to extend a screen locking time of the screen when the continuous occurrence number is greater than a preset number threshold, where the screen locking time is a time from when the screen does not receive an operation to when the screen is automatically locked, and the time extension module includes: a time extension submodule configured to:
when no operation is detected on the screen within a second preset time after the current unlocking, adjusting the brightness of the screen from the current first brightness to a second brightness, wherein the second brightness is lower than the first brightness;
when an operation is detected on the screen within a third preset time after the screen is adjusted to the second brightness, the brightness of the screen is adjusted to the first brightness, the screen locking time is adjusted from a second screen locking time to a third screen locking time, the second screen locking time is determined after the default first screen locking time of the screen is adjusted, and the time length of the third screen locking time is m times of the second screen locking time.
10. The apparatus of claim 9, wherein the time extension module comprises:
the prompting submodule is configured to display prompting information whether to start the intelligent screen locking function or not when the continuous occurrence frequency is larger than a preset frequency threshold;
the time prolonging submodule is configured to prolong the screen locking time of the screen when receiving an instruction for determining to start the intelligent screen locking function.
11. The apparatus of claim 10, wherein the time extension submodule is configured to:
and adjusting the screen locking time from the default first screen locking time to a second screen locking time, wherein the time length of the second screen locking time is n times of the first screen locking time.
12. The apparatus of claim 9, further comprising:
the face detection module is configured to detect whether a face entering a face detection range exists or not after the screen is locked;
the face recognition module is configured to judge whether a user to which the face belongs is a user before the screen is locked or not when the face entering the face detection range is detected;
and the screen unlocking module is configured to unlock the screen when the user to which the face belongs and the user before the screen is locked are the same user.
13. The apparatus of claim 12, wherein the screen unlocking module comprises:
the screen unlocking sub-module is configured to unlock the screen when the user to which the face belongs and the user before the screen is locked are the same user;
a page display sub-module configured to display the page before the screen lock on the screen.
14. The apparatus of claim 12, wherein the face recognition module comprises:
the facial feature acquisition sub-module is configured to perform face recognition on the face when the face entering the face detection range is detected, and acquire a first facial feature of the face;
a face comparison sub-module configured to compare the first facial features to second facial features of a human face acquired prior to the screen lock;
a first user determination sub-module configured to determine that the user to which the face belongs is the user before the screen lock when the first facial feature is consistent with the second facial feature.
15. The apparatus of claim 12, wherein the face recognition module comprises:
a position acquisition sub-module configured to acquire an eye position in the face when the face entering the face detection range is detected;
an iris acquisition sub-module configured to perform iris recognition on the eye position to acquire a first iris feature;
an iris comparison sub-module configured to compare the first iris features with second iris features obtained from a face acquired before the screen lock;
a second user determination sub-module configured to determine that the user to which the face belongs is the user before the screen lock when the first iris feature is identical to the second iris feature.
16. The apparatus of claim 12, further comprising:
a gesture detection module configured to detect whether there is a human hand entering a gesture detection range when the screen is unlocked;
a gesture acquisition module configured to acquire gesture information of a human hand entering the gesture detection range when the human hand is detected;
an operation determination module configured to determine an operation corresponding to the gesture information;
and the operation execution module is configured to execute the operation corresponding to the gesture information on the page currently displayed on the screen.
17. A control device of lock screen, characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining the continuous occurrence frequency of a quick unlocking event, wherein the quick unlocking event is an event unlocked within a first preset time after a screen is locked;
when the continuous occurrence times are greater than a preset times threshold, prolonging screen locking time of the screen, wherein the screen locking time is time from the time when the screen does not receive operation to the time when the screen is automatically locked, and the prolonging of the screen locking time of the screen comprises:
when no operation is detected on the screen within a second preset time after the current unlocking, adjusting the brightness of the screen from the current first brightness to a second brightness, wherein the second brightness is lower than the first brightness;
when an operation is detected on the screen within a third preset time after the screen is adjusted to the second brightness, the brightness of the screen is adjusted to the first brightness, the screen locking time is adjusted from a second screen locking time to a third screen locking time, the second screen locking time is determined after the default first screen locking time of the screen is adjusted, and the time length of the third screen locking time is m times of the second screen locking time.
CN201611051769.1A 2016-11-24 2016-11-24 Screen locking control method and device Active CN106357934B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611051769.1A CN106357934B (en) 2016-11-24 2016-11-24 Screen locking control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611051769.1A CN106357934B (en) 2016-11-24 2016-11-24 Screen locking control method and device

Publications (2)

Publication Number Publication Date
CN106357934A CN106357934A (en) 2017-01-25
CN106357934B true CN106357934B (en) 2020-01-10

Family

ID=57862334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611051769.1A Active CN106357934B (en) 2016-11-24 2016-11-24 Screen locking control method and device

Country Status (1)

Country Link
CN (1) CN106357934B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106980784A (en) * 2017-03-24 2017-07-25 北京小米移动软件有限公司 Screen locking control method, device and smart machine
CN107040658B (en) * 2017-04-12 2020-10-09 奇酷互联网络科技(深圳)有限公司 Mobile terminal and method and device for controlling screen thereof
CN107911535A (en) * 2017-10-27 2018-04-13 北京小米移动软件有限公司 Adjustment locks screen automatically the method and device of time
CN108289141A (en) * 2017-12-27 2018-07-17 努比亚技术有限公司 A kind of the screen locking unlocking method and mobile terminal of mobile terminal
CN108470120B (en) * 2018-03-28 2021-06-29 北京小米移动软件有限公司 Screen locking control method and device and readable storage medium
CN108491063A (en) * 2018-03-28 2018-09-04 福建捷联电子有限公司 A kind of method that valve display device locks computer simultaneously
CN111464840B (en) * 2020-03-19 2022-06-28 海信视像科技股份有限公司 Display device and method for adjusting screen brightness of display device
CN112286438A (en) * 2020-10-30 2021-01-29 北京小米移动软件有限公司 Touch control method, device, terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662816A (en) * 2012-03-21 2012-09-12 中兴通讯股份有限公司 Method and device for adjusting screen locking time as well as electronic terminal
CN102915192A (en) * 2012-09-20 2013-02-06 东莞宇龙通信科技有限公司 Method for adjusting standby time of screen and communication terminal
CN106021077A (en) * 2016-05-17 2016-10-12 北京小米移动软件有限公司 Warning method and device of terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019388A (en) * 2013-01-09 2013-04-03 苏州云都网络技术有限公司 Screen unlocking method, screen locking method and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662816A (en) * 2012-03-21 2012-09-12 中兴通讯股份有限公司 Method and device for adjusting screen locking time as well as electronic terminal
CN102915192A (en) * 2012-09-20 2013-02-06 东莞宇龙通信科技有限公司 Method for adjusting standby time of screen and communication terminal
CN106021077A (en) * 2016-05-17 2016-10-12 北京小米移动软件有限公司 Warning method and device of terminal

Also Published As

Publication number Publication date
CN106357934A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
CN106357934B (en) Screen locking control method and device
US10649648B2 (en) Method and apparatus for screen capture processing
US9860844B2 (en) Method and apparatus of temperature control
EP3413549B1 (en) Method and device for displaying notification information
EP3331226B1 (en) Method and device for reading messages
US10610152B2 (en) Sleep state detection method, apparatus and system
CN105975828B (en) Unlocking method and device
CN107102772B (en) Touch control method and device
EP3151117A1 (en) Method and device for delaying information broadcasting
CN109992946A (en) Solve the method, apparatus and computer readable storage medium of locked application
CN105868709B (en) Method and device for closing fingerprint identification function
US10318069B2 (en) Method for controlling state of touch screen, and electronic device and medium for implementing the same
CN110262692B (en) Touch screen scanning method, device and medium
CN107132983B (en) Split-screen window operation method and device
CN108874450B (en) Method and device for waking up voice assistant
CN107734303B (en) Video identification method and device
CN106990893B (en) Touch screen operation processing method and device
CN106919302B (en) Operation control method and device of mobile terminal
CN107808077A (en) For controlling the method, apparatus and storage medium of terminal unlocking function
CN114185444A (en) Method and device for preventing mistaken touch of touch screen and storage medium
CN105786561B (en) Method and device for calling process
CN106603882A (en) Incoming call sound volume adjusting method, incoming call sound volume adjusting device and terminal
CN108647074B (en) Method, device, hardware device and medium for displaying dynamic information in screen locking state
CN107422911B (en) Pressure value detection method and device and computer readable storage medium
CN105677406A (en) Application operating method and device

Legal Events

Date Code Title Description
C06 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