CN108470120B - Screen locking control method and device and readable storage medium - Google Patents

Screen locking control method and device and readable storage medium Download PDF

Info

Publication number
CN108470120B
CN108470120B CN201810267376.7A CN201810267376A CN108470120B CN 108470120 B CN108470120 B CN 108470120B CN 201810267376 A CN201810267376 A CN 201810267376A CN 108470120 B CN108470120 B CN 108470120B
Authority
CN
China
Prior art keywords
terminal
user
characteristic information
screen locking
preset
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
CN201810267376.7A
Other languages
Chinese (zh)
Other versions
CN108470120A (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 CN201810267376.7A priority Critical patent/CN108470120B/en
Publication of CN108470120A publication Critical patent/CN108470120A/en
Application granted granted Critical
Publication of CN108470120B publication Critical patent/CN108470120B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • 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

Abstract

The disclosure relates to a screen locking control method and device and a readable storage medium. In the screen locking control method, firstly, when a terminal is in an unlocking state, whether the terminal meets a screen locking condition is detected, then, when the screen locking condition is met, characteristic information of a user in a preset range of the terminal is obtained, the characteristic information of the user is compared with the preset characteristic information, and finally, when the characteristic information of the user is matched with the preset characteristic information, the user using the terminal is indicated to be a master of the terminal or authorized to use the terminal by the master, the terminal is safe, and at the moment, in order to reduce the unlocking times of the user, the screen locking function of the terminal can be prohibited to start, and the terminal is controlled to keep the unlocking state.

Description

Screen locking control method and device and readable storage medium
Technical Field
The present disclosure relates to the field of terminal application technologies, and in particular, to a method and an apparatus for controlling screen locking and a readable storage medium.
Background
With the development of technology and the popularization of mobile terminals, more and more users set personal information in the terminals so as to quickly use the terminals to complete daily affairs, such as: shopping online, paying for water and electricity charges, and the like. In order to protect the security of personal information of a user, a screen protection function is generally required to be set in a terminal, the terminal is in a screen locking state when the user does not use the terminal, the terminal needs to be unlocked when the terminal with the locked screen is used, specifically, the user is required to input a correct unlocking password, an unlocking pattern or an unlocking fingerprint and the like, so that the electric quantity of the terminal can be saved, the user is prevented from mistakenly touching the terminal when the user does not use the terminal, and the security of the terminal can be effectively improved.
However, the screen protection function provides protection for the terminal and brings inconvenience to user operation, specifically, when the user does not use the terminal, the terminal can automatically lock the screen, and when the user uses the terminal, the terminal needs to be unlocked, so that the user needs to frequently perform unlocking operation, especially, most terminals without a fingerprint unlocking function need to first light the screen through a power key and then slide or input a password on the screen for unlocking, thereby increasing the complexity of the user using the terminal, and further affecting the user experience.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a screen locking control method, device and readable storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a screen locking control method, including:
when the terminal is in an unlocking state, detecting whether the terminal meets a screen locking condition for starting a screen locking function;
when the terminal meets the screen locking condition, acquiring characteristic information of a user within a preset range of the terminal;
when the characteristic information is matched with preset characteristic information, prohibiting starting the screen locking function so as to keep the terminal in an unlocking state;
wherein the method further comprises:
when the terminal is detected to be successfully unlocked, acquiring first ultrasonic characteristic information of a user who successfully unlocks the terminal;
determining the first ultrasonic characteristic information as preset characteristic information;
and storing the preset characteristic information.
Optionally, when the terminal meets the screen locking condition, obtaining feature information of a user within a preset range of the terminal, including:
when the terminal meets the screen locking condition, controlling an ultrasonic transmitter in the terminal to transmit an ultrasonic signal;
receiving ultrasonic signals reflected by a user within the preset range of the terminal;
and analyzing the ultrasonic wave signals reflected by the user to obtain the characteristic information of the user within the preset range of the terminal.
Optionally, the method further comprises:
and when the characteristic information is not matched with the preset characteristic information, starting a screen locking function of the terminal so as to lock the screen of the terminal.
Optionally, after analyzing the reflected ultrasonic signal to obtain ultrasonic characteristic information of the user within the preset range of the terminal, the method further includes:
and controlling the ultrasonic transmitter to stop transmitting the ultrasonic signal.
According to a second aspect of the embodiments of the present disclosure, there is provided a lock screen control device, the device including:
the terminal comprises a detection module, a display module and a display module, wherein the detection module is configured to detect whether the terminal meets a screen locking condition for starting a screen locking function when the terminal is in an unlocking state;
the first acquisition module is configured to acquire characteristic information of a user within a preset range of the terminal when the terminal meets the screen locking condition;
the forbidding module is configured to forbid the starting of the screen locking function when the characteristic information is matched with preset characteristic information so as to enable the terminal to keep an unlocking state;
wherein the apparatus further comprises:
the second acquisition module is configured to acquire first ultrasonic characteristic information of a user who successfully unlocks the terminal when the terminal is detected to be successfully unlocked;
a determination module configured to determine the first ultrasonic characteristic information as the preset characteristic information;
a storage module configured to store the preset feature information.
Optionally, the first obtaining module includes:
the control sub-module is configured to control an ultrasonic transmitter in the terminal to transmit an ultrasonic signal when the terminal meets the screen locking condition;
the receiving submodule is configured to receive ultrasonic signals reflected by a user within a preset range of the terminal;
and the analysis sub-module is configured to analyze the ultrasonic signals reflected by the user so as to obtain characteristic information of the user within a preset range of the terminal.
Optionally, the apparatus further comprises:
and the starting module is configured to start the screen locking function of the terminal when the characteristic information is not matched with preset characteristic information, so that the screen of the terminal is locked.
Optionally, the apparatus further comprises:
a control module configured to control the ultrasonic transmitter to stop transmitting the ultrasonic signal.
According to a third aspect of the embodiments of the present disclosure, there is provided a lock screen control device, the device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: the steps of implementing the screen locking control method provided by the first aspect of the embodiments of the present disclosure are executed.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium on which computer program instructions are stored, the program instructions, when executed by a processor, implementing the steps of the screen locking control method provided by the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the screen locking control method provided by the embodiment of the disclosure, first, when the terminal is in the unlocked state, it is detected whether the terminal satisfies the screen locking condition, then, when the screen locking condition is satisfied, the feature information of the user within the preset range of the terminal is obtained, and the feature information of the user is compared with the preset feature information, and finally, when the feature information of the user matches with the preset feature information, that is, when the user information within the preset range of the terminal is consistent with the preset user information, it indicates that the user using the terminal is the owner of the terminal or the user authorized to use the terminal by the owner, and the terminal is safe, at this time, in order to reduce the number of times of unlocking the user, the screen locking function of the terminal may be prohibited to be started, and the terminal is controlled to maintain the unlocked state, therefore, by adopting the above technical scheme, on the premise of ensuring the terminal safety, the purpose of reducing the unlocking times of the user can be achieved, and the use experience of the user is further improved.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
fig. 1 is a flowchart illustrating a screen lock control method according to an exemplary embodiment.
FIG. 2 is another flow chart illustrating a method of lock screen control according to an exemplary embodiment.
FIG. 3 is another flow chart illustrating a method of lock screen control according to an exemplary embodiment.
FIG. 4 is another flow chart illustrating a method of lock screen control according to an exemplary embodiment.
FIG. 5 is another flow chart illustrating a method of lock screen control according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a lock screen control device according to an exemplary embodiment.
FIG. 7 is another block diagram illustrating a lock screen control device in accordance with an exemplary embodiment.
FIG. 8 is another block diagram illustrating a lock screen control device in accordance with an exemplary embodiment.
FIG. 9 is another block diagram illustrating a lock screen control device in accordance with an exemplary embodiment.
FIG. 10 is another block diagram illustrating a lock screen control device in accordance with an exemplary embodiment.
Fig. 11 is a block diagram illustrating a lock screen control device according to an exemplary embodiment.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
Under the condition that the terminal with the screen protection function is not triggered for a long time, a screen locking program in the terminal can be automatically called, and then the screen locking function is started, so that the terminal is in a screen locking state. When the user uses the terminal, the terminal is operated only by unlocking the terminal. In general, a user may use the terminal many times a day, and thus, an unlocking operation is frequently performed, thereby increasing complexity in using the terminal. Therefore, it is necessary to optimize the screen locking control method of the terminal to a certain extent, and on the premise of ensuring the security of the terminal, the number of unlocking times is reduced, so as to improve the use experience of the user.
In order to achieve the above object, embodiments of the present disclosure provide a screen locking control method, an apparatus, and a readable storage medium, where when a terminal meets a screen locking condition, it is determined whether a user around the terminal is an owner of the terminal or a person authorized by the owner to use the terminal, and when the user around the terminal is the owner of the terminal or the person authorized by the owner to use the terminal, it indicates that the terminal is safe and information included in the terminal cannot be leaked.
Referring to fig. 1, fig. 1 is a flowchart illustrating a screen locking control method according to an exemplary embodiment. As shown in fig. 1, the screen locking control method provided by the embodiment of the present disclosure is applied to a terminal, and includes the following steps.
In step S11, when the terminal is in the unlocked state, it is detected whether the terminal satisfies a screen locking condition for starting a screen locking function.
In step S12, when the terminal satisfies the screen locking condition, feature information of a user within a preset range of the terminal is obtained.
In step S13, when the feature information matches with preset feature information, the activation of the screen locking function is prohibited, so that the terminal remains in an unlocked state.
The terminal related in the screen locking control method provided in the embodiment of the present disclosure may be a smart phone, a smart band, a tablet computer, and a device with a screen protection function, and a user of the terminal has started a screen locking mode for protecting the security of information in the terminal, that is, when the terminal detects that the terminal has not been triggered all the time within a preset time period set by the user, the terminal may automatically perform a screen locking operation. The preset time period may be set by the terminal when the terminal leaves the factory, or may be set by the user according to the requirement of actually using the terminal, for example, the preset time period may be 15s, 30s, 1min, and the like.
In addition, when the user selects to unlock the screen locking mode, the unlocking mode can be further selected. Specifically, the unlocking modes of the current terminal include password unlocking, pattern unlocking and fingerprint unlocking, wherein the password unlocking mode is that a user inputs a correct unlocking password in an unlocking interface of the terminal to unlock; the pattern unlocking mode is that a user inputs a correct unlocking pattern in an unlocking interface of the terminal to unlock; the fingerprint unlocking mode is that for a terminal with a fingerprint unlocking function, a user places a finger of the user in a fingerprint scanning area of the terminal to unlock the terminal. The unlocking password and the unlocking pattern are both passwords and patterns which are preset on the terminal when a user opens the screen locking mode, and fingers used by the user during fingerprint unlocking are also fingers of fingerprint data which are input into the terminal in advance when the user opens the screen locking mode.
Generally, when the terminal is in a screen locking state and a user needs to use the terminal, the terminal can be unlocked through password unlocking, pattern unlocking or fingerprint unlocking, and the user can use the terminal after the terminal is successfully unlocked. In a preset time period, if the user does not trigger the terminal, the terminal will automatically lock the screen to protect the security of the terminal, and specifically, in the preset time period, if the terminal detects that the terminal is not triggered, that is, the terminal is always in an idle state, the screen locking function in the terminal will be automatically called to lock the screen of the terminal. Therefore, the number of screen locking times is increased, and the number of unlocking times of the user is increased. Therefore, in the embodiment of the disclosure, the user of the terminal may be verified before the terminal invokes the screen locking program, and when the user of the terminal is the owner of the terminal or the owner authorizes the user of the terminal to use, it is indicated that the terminal is safe, the screen locking function does not need to be started, and thus the number of unlocking times of the user may be reduced.
In the embodiment of the present disclosure, first, when the terminal is in an unlock state, it is detected whether the terminal satisfies a screen locking condition for starting the screen locking function, where the screen locking condition for starting the screen locking function is that the terminal is not triggered within a preset time period, and therefore, it is detected whether the terminal satisfies the screen locking condition for starting the screen locking function, that is, it is detected whether the terminal in the unlock state is not triggered within the preset time period, or whether the terminal is in an idle state within the preset time period.
Then, when it is determined that the terminal meets the screen locking condition, that is, before the screen locking program of the terminal is called, it is determined whether the user using the terminal is the owner of the terminal at the moment, or the user authorized to use the terminal by the owner, specifically, when the terminal meets the screen locking condition, the feature information of the user within a preset range of the terminal is obtained, wherein the preset range may be set when the terminal leaves a factory, or may be set by the owner of the terminal itself, and the feature information of the user is also the feature information of the user using the terminal, and the smaller the preset range is, the higher the accuracy of the obtained feature information of the user of the terminal is.
And finally, comparing the acquired characteristic information with preset characteristic information, and prohibiting starting a screen locking function when the characteristic information is matched with the preset characteristic information so as to keep the terminal in an unlocking state. The preset feature information may include feature information of an owner of the terminal, or feature information of a user authorized by the owner to use the terminal, and when the acquired feature information matches the preset feature information, it indicates that the user using the terminal is the owner of the terminal, or the user authorized by the owner to use the terminal, the terminal is safe, and at this time, it is not necessary to lock the screen of the terminal, so that the terminal may prohibit starting the screen locking function, so that the terminal maintains an unlocked state.
In the screen locking control method provided by the embodiment of the disclosure, first, when the terminal is in the unlocked state, it is detected whether the terminal satisfies the screen locking condition, then, when the screen locking condition is satisfied, the feature information of the user within the preset range of the terminal is obtained, and the feature information of the user is compared with the preset feature information, and finally, when the feature information of the user matches with the preset feature information, that is, when the user information within the preset range of the terminal is consistent with the preset user information, it indicates that the user using the terminal is the owner of the terminal or the user authorized to use the terminal by the owner, and the terminal is safe, at this time, in order to reduce the number of times of unlocking the user, the screen locking function of the terminal may be prohibited to be started, and the terminal is controlled to maintain the unlocked state, therefore, by adopting the above technical scheme, on the premise of ensuring the terminal safety, the purpose of reducing the unlocking times of the user can be achieved, and the use experience of the user is further improved.
Optionally, referring to fig. 2, fig. 2 is another flowchart illustrating a screen locking control method according to an exemplary embodiment. As shown in fig. 2, the screen locking control method further includes step S14 according to a comparison result between the acquired feature information and the preset feature information.
In step S14, when the feature information is not matched with preset feature information, the screen locking function of the terminal is started, so that the terminal locks the screen.
As described above, the preset feature information may represent information of an owner of the terminal, and may also represent information of other users authorized by the owner of the terminal to use the terminal, that is, the preset feature information represents information of a user who does not harm the information in the terminal, and when the feature information is not matched with the preset feature information, it indicates that the user using the terminal may harm the information in the terminal, and at this time, to avoid leakage of the information in the terminal, the screen locking function of the terminal may be started, so that the terminal locks the screen.
Therefore, by adopting the technical scheme, when the user of the terminal is inconsistent with the user represented in the preset characteristic information, the current user of the terminal is not the owner of the terminal, or the owner of the terminal authorizes the user to use the terminal, at the moment, the information in the terminal may be leaked, so that the screen locking of the terminal can be controlled to protect the safety of the information in the terminal, the protection of the information in the terminal is realized, and the use experience of the user is further improved.
Optionally, referring to fig. 3, fig. 3 is another flowchart illustrating a screen locking control method according to an exemplary embodiment. As shown in fig. 3, the method further includes the following steps.
In step S15, when it is detected that the terminal is successfully unlocked, first ultrasonic characteristic information of a user who successfully unlocks the terminal is acquired.
In step S16, it is determined that the first ultrasonic characteristic information is the preset characteristic information.
In step S17, the preset feature information is stored.
Generally, the existing terminal devices are all provided with ultrasonic transmitters, which can be used to obtain ultrasonic characteristic information of users around the terminal, and the ultrasonic characteristic information of different users is different, and in addition, because different clothes have different ultrasonic absorption, even if the same user wears different clothes, the clothes of the same person will not change in a certain time, such as half a day or shorter, so that the ultrasonic absorption is different, and furthermore, in a certain time, the ultrasonic wave transmitted by the ultrasonic transmitter of the terminal is not changed after being absorbed by the user, therefore, based on the ultrasonic characteristics, the ultrasonic characteristic information is used to distinguish whether the user using the terminal is the owner of the mobile phone in the embodiment of the present disclosure, or to authorize the owner of the terminal to use the user of the terminal.
Therefore, in the embodiment of the present disclosure, when it is detected that the terminal is successfully unlocked by the user through password unlocking, pattern unlocking, fingerprint unlocking, or other unlocking manners, the first ultrasonic characteristic information of the user is obtained, and when it is detected that the terminal is successfully unlocked, it is indicated that the user unlocking the terminal at this time is a user who knows the terminal unlocking password, and the user may be an owner of the terminal, or may be a user who is authorized by the owner of the terminal to use the terminal.
And then, when detecting that the terminal meets the screen locking condition for starting the screen locking function, acquiring the characteristic information of the user within a preset range of the terminal, comparing the characteristic information with the preset characteristic information, and when the characteristic information is matched with the preset characteristic information, forbidding to start the screen locking function of the terminal so as to keep the terminal in an unlocking state.
When the terminal is successfully unlocked, the unlocking person is the owner of the terminal or the user who authorizes the owner of the terminal to use the terminal, at this time, the obtained first ultrasonic characteristic information is also the owner of the characterization terminal or the ultrasonic characteristic information of the user who authorizes the owner of the terminal to use the terminal, therefore, the first ultrasonic characteristic information can be determined as the preset characteristic information to be compared with the characteristic information of the user obtained when the screen locking condition is met, so as to distinguish whether the user is the owner of the terminal or not or whether the user is the user who authorizes the owner of the terminal to use the terminal or not, therefore, by adopting the technical scheme, when the terminal is successfully unlocked each time, the preset characteristic information can be accurately determined, so that when the screen locking function is started, whether the user who uses the terminal at this time is the owner of the terminal or the user who authorizes the owner of the terminal to use the terminal can be accurately distinguished, and then whether the screen locking function of the terminal is started or not can be accurately determined.
When the preset feature information is the ultrasonic feature information of the user who is successfully unlocked, correspondingly, the feature information of the user in the preset range of the terminal, which is obtained when the terminal meets the screen locking condition, is the ultrasonic feature information of the user in the preset range of the terminal. Specifically, referring to fig. 4, fig. 4 is another flowchart illustrating a screen locking control method according to an exemplary embodiment. As shown in fig. 4, step S12 specifically includes the following steps.
In step S121, when the terminal meets the screen locking condition, an ultrasonic transmitter in the terminal is controlled to transmit an ultrasonic signal.
In step S122, an ultrasonic signal reflected by a user within the preset range of the terminal is received.
In step S123, the ultrasonic signal reflected by the user is analyzed to obtain characteristic information of the user within the preset range of the terminal.
As aforementioned, be provided with ultrasonic transmitter in the terminal, when detecting that the terminal satisfies the lock screen condition, steerable this ultrasonic transmitter transmission ultrasonic signal, because ultrasonic signal attenuation speed is very fast when propagating in the air, consequently, this ultrasonic information's effective propagation distance is limited, under the general condition, the effective propagation distance of the ultrasonic wave that sets up the ultrasonic transmitter transmission in the terminal is 1 ~ 1.5m, in addition, because the crowd far away from this terminal, can not lead to the fact harm to the terminal, consequently, set up a preset range in this embodiment of the disclosure, crowd in this preset range can cause harm to the terminal, crowd outside this preset range, because can not lead to the fact harm to this terminal, need not detect whether this crowd belongs to the crowd that preset characteristic information represents.
Therefore, when the user around the terminal is detected by using the ultrasonic wave, the terminal can receive the ultrasonic wave signal reflected by the user within a preset range of the terminal, wherein the preset position range can be between 1m and 1.5 m. After receiving the ultrasonic wave characteristics reflected by the user within the preset range of the terminal, analyzing the reflected ultrasonic wave to obtain ultrasonic wave characteristic information, wherein the ultrasonic wave characteristic information is used for representing the characteristic information of the user within the preset range of the terminal.
When the feature information (the reflected ultrasonic feature information) is matched with the preset feature information (the first ultrasonic feature information), it is indicated that the user using the terminal is the owner of the terminal or the owner authorizes the user to use the terminal, and the terminal is safe, and at this time, the screen locking function of the terminal does not need to be started, so that the terminal can be prohibited from being started to keep an unlocked state.
By adopting the technical scheme, the characteristic information of the user in the preset range of the terminal is obtained by utilizing the function of transmitting the ultrasonic signal by the terminal, so that whether the user is the owner of the terminal or not can be determined, or whether the user is authorized to use the terminal by the owner of the terminal or not can be determined, and when the user is determined to be the owner of the terminal or the user is authorized to use the terminal by the owner of the terminal, the screen locking function of the terminal is forbidden to be started, the terminal is ensured to be in an unlocking state, the unlocking times of the user are reduced, and meanwhile, the intelligent experience of the user in using the terminal is also promoted.
Optionally, referring to fig. 5, fig. 5 is another flowchart illustrating a screen locking control method according to an exemplary embodiment. As shown in fig. 5, after step S123, the method further includes step S18.
In step S18, the ultrasonic transmitter is controlled to stop transmitting the ultrasonic signal.
After the ultrasonic transmitter in the terminal is turned on, the ultrasonic transmitter will transmit an ultrasonic signal in real time or periodically to obtain the ultrasonic characteristic information of the user within the preset range of the terminal, however, in practical applications, after the ultrasonic characteristic information of the user within the preset range of the terminal is obtained, the ultrasonic transmitter does not need to transmit the ultrasonic information again, and therefore, in the embodiment of the disclosure, the ultrasonic transmitter can be controlled to stop working after the ultrasonic characteristic information of the user within the preset range of the terminal is obtained, and the purpose of reducing the power consumption of the terminal and the workload of the ultrasonic transmitter can be achieved.
Based on the same inventive concept, the embodiment of the disclosure also provides a screen locking control device. Referring to fig. 6, fig. 6 is a block diagram illustrating a lock screen control device according to an exemplary embodiment. As shown in fig. 6, the apparatus 60 includes:
the terminal comprises a detection module 61, a display module and a display module, wherein the detection module is configured to detect whether a terminal meets a screen locking condition for starting a screen locking function when the terminal is in an unlocking state;
a first obtaining module 62, configured to obtain feature information of a user within a preset range of the terminal when the terminal meets the screen locking condition;
and the prohibiting module 63 is configured to prohibit starting the screen locking function when the feature information matches with preset feature information, so that the terminal is kept in an unlocked state.
Optionally, referring to fig. 7, fig. 7 is another block diagram of a lock screen control device according to an exemplary embodiment. As shown in fig. 7, the apparatus 60 further includes:
a second obtaining module 64 configured to, when it is detected that the terminal is successfully unlocked, obtain first ultrasonic characteristic information of a user who successfully unlocks the terminal;
a determining module 65 configured to determine that the first ultrasonic characteristic information is the preset characteristic information;
a storage module 66 configured to store the preset feature information.
Optionally, referring to fig. 8, fig. 8 is another block diagram of a lock screen control device according to an exemplary embodiment. As shown in fig. 8, the first obtaining module 62 includes:
the control sub-module 621 is configured to control an ultrasonic transmitter in the terminal to transmit an ultrasonic signal when the terminal meets the screen locking condition;
a receiving sub-module 622 configured to receive ultrasonic signals reflected by a user within a preset range of the terminal;
and the analyzing sub-module 623 is configured to analyze the ultrasonic signals reflected by the user to obtain characteristic information of the user within a preset range of the terminal.
Optionally, referring to fig. 9, fig. 9 is another block diagram of a lock screen control device according to an exemplary embodiment. As shown in fig. 9, the apparatus 60 further includes:
the starting module 67 is configured to start a screen locking function of the terminal when the feature information is not matched with preset feature information, so that the terminal is locked.
Optionally, referring to fig. 10, fig. 10 is another block diagram of a lock screen control device according to an exemplary embodiment. As shown in fig. 10, the apparatus 60 further includes:
a control module 68 configured to control the ultrasonic transmitter to stop transmitting the ultrasonic signal.
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.
The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the screen locking control method provided by the present disclosure.
Fig. 11 is a block diagram illustrating a lock screen control device according to an exemplary embodiment. For example, the apparatus 800 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. 11, the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or some of the steps of the lock screen control method described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 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.
Power component 806 provides power to the various components of device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational 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 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 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 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 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 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 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 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described screen locking control method.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described lock screen control method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, various possible combinations will not be separately described in this disclosure.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (8)

1. A screen locking control method is characterized by comprising the following steps:
when a terminal is in an unlocking state, detecting whether the terminal meets a screen locking condition for starting a screen locking function, wherein the screen locking condition for starting the screen locking function is that the terminal is not triggered all the time within a preset time period;
when the terminal meets the screen locking condition, acquiring characteristic information of a user within a preset range of the terminal;
when the characteristic information is matched with preset characteristic information, prohibiting starting the screen locking function so as to keep the terminal in an unlocking state;
wherein the method further comprises:
when the terminal is detected to be successfully unlocked, acquiring first ultrasonic characteristic information of a user who successfully unlocks the terminal;
determining that the first ultrasonic characteristic information is preset characteristic information, wherein the preset characteristic information is used for being compared with the characteristic information of the user obtained when the terminal meets the screen locking condition so as to distinguish whether the user is the owner of the terminal or whether the user is authorized to use the terminal by the owner of the terminal;
storing the preset characteristic information;
when the terminal meets the screen locking condition, acquiring the characteristic information of the user in the preset range of the terminal, wherein the characteristic information comprises:
when the terminal meets the screen locking condition, controlling an ultrasonic transmitter in the terminal to transmit an ultrasonic signal;
receiving ultrasonic signals reflected by a user within the preset range of the terminal;
and analyzing the ultrasonic wave signals reflected by the user to obtain the characteristic information of the user within the preset range of the terminal.
2. The method of claim 1, further comprising:
and when the characteristic information is not matched with the preset characteristic information, starting a screen locking function of the terminal so as to lock the screen of the terminal.
3. The method according to claim 1, wherein after analyzing the reflected ultrasonic signal to obtain ultrasonic characteristic information of users within a preset range of the terminal, the method further comprises:
and controlling the ultrasonic transmitter to stop transmitting the ultrasonic signal.
4. A lock screen control device, the device comprising:
the terminal comprises a detection module and a display module, wherein the detection module is configured to detect whether the terminal meets a screen locking condition for starting a screen locking function when the terminal is in an unlocking state, and the screen locking condition for starting the screen locking function is that the terminal is not triggered all the time within a preset time period;
the first acquisition module is configured to acquire characteristic information of a user within a preset range of the terminal when the terminal meets the screen locking condition;
the forbidding module is configured to forbid the starting of the screen locking function when the characteristic information is matched with preset characteristic information so as to enable the terminal to keep an unlocking state;
wherein the apparatus further comprises:
the second acquisition module is configured to acquire first ultrasonic characteristic information of a user who successfully unlocks the terminal when the terminal is detected to be successfully unlocked;
a determining module configured to determine that the first ultrasonic characteristic information is the preset characteristic information, and the preset characteristic information is used for comparing with characteristic information of a user obtained when the terminal meets a screen locking condition so as to distinguish whether the user is an owner of the terminal or whether the user is authorized to use the terminal by the owner of the terminal;
a storage module configured to store the preset feature information;
wherein the first obtaining module comprises:
the control sub-module is configured to control an ultrasonic transmitter in the terminal to transmit an ultrasonic signal when the terminal meets the screen locking condition;
the receiving submodule is configured to receive ultrasonic signals reflected by a user within a preset range of the terminal;
and the analysis sub-module is configured to analyze the ultrasonic signals reflected by the user so as to obtain characteristic information of the user within a preset range of the terminal.
5. The apparatus of claim 4, further comprising:
and the starting module is configured to start the screen locking function of the terminal when the characteristic information is not matched with preset characteristic information, so that the screen of the terminal is locked.
6. The apparatus of claim 4, further comprising:
a control module configured to control the ultrasonic transmitter to stop transmitting the ultrasonic signal.
7. A lock screen control device, the device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: performing the steps of implementing the method of any one of claims 1-3.
8. A computer-readable storage medium, on which computer program instructions are stored, which program instructions, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 3.
CN201810267376.7A 2018-03-28 2018-03-28 Screen locking control method and device and readable storage medium Active CN108470120B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810267376.7A CN108470120B (en) 2018-03-28 2018-03-28 Screen locking control method and device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810267376.7A CN108470120B (en) 2018-03-28 2018-03-28 Screen locking control method and device and readable storage medium

Publications (2)

Publication Number Publication Date
CN108470120A CN108470120A (en) 2018-08-31
CN108470120B true CN108470120B (en) 2021-06-29

Family

ID=63262193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810267376.7A Active CN108470120B (en) 2018-03-28 2018-03-28 Screen locking control method and device and readable storage medium

Country Status (1)

Country Link
CN (1) CN108470120B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109492364A (en) * 2018-09-25 2019-03-19 罗源县凤山镇企业服务中心 A kind of the intelligent unlocking method and terminal of mobile terminal

Citations (3)

* 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
CN106778165A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 Finger prints processing device and method
CN107577378A (en) * 2017-07-31 2018-01-12 努比亚技术有限公司 A kind of system control method, terminal and computer-readable recording medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394974B (en) * 2011-10-25 2016-03-30 中兴通讯股份有限公司 The processing method of locking terminal and device
US20130187753A1 (en) * 2012-01-20 2013-07-25 Research In Motion Limited Predictive Context-Aware Dynamic Lock Screen
CN102662816B (en) * 2012-03-21 2014-12-31 中兴通讯股份有限公司 Method and device for adjusting screen locking time as well as electronic terminal
KR102337177B1 (en) * 2015-04-21 2021-12-08 삼성전자주식회사 Method for controlling function and an electronic device thereof
CN105607834B (en) * 2015-12-22 2019-02-12 小米科技有限责任公司 Screen control method, device and terminal
CN106650364B (en) * 2016-09-27 2020-12-29 南昌欧菲生物识别技术有限公司 Control method and control device
CN106357934B (en) * 2016-11-24 2020-01-10 北京小米移动软件有限公司 Screen locking control method and device
CN106791214A (en) * 2017-03-17 2017-05-31 上海与德科技有限公司 A kind of mobile terminal screen control method and device
CN106980784A (en) * 2017-03-24 2017-07-25 北京小米移动软件有限公司 Screen locking control method, device and smart machine
CN107295160A (en) * 2017-05-09 2017-10-24 广东小天才科技有限公司 The unlocking method and device of a kind of mobile device

Patent Citations (3)

* 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
CN106778165A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 Finger prints processing device and method
CN107577378A (en) * 2017-07-31 2018-01-12 努比亚技术有限公司 A kind of system control method, terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN108470120A (en) 2018-08-31

Similar Documents

Publication Publication Date Title
US9860844B2 (en) Method and apparatus of temperature control
EP3525123B1 (en) Method and apparatus for fingerprint unlocking
EP3133528B1 (en) Method and apparatus for fingerprint identification
EP3073708B1 (en) A method and a terminal for controlling a smart home device
EP3413549B1 (en) Method and device for displaying notification information
US10075445B2 (en) Methods and devices for permission management
EP3331226B1 (en) Method and device for reading messages
CN106357934B (en) Screen locking control method and device
CN109039860B (en) Method and device for sending and displaying message and method and device for identity authentication
CN105868709B (en) Method and device for closing fingerprint identification function
CN107733872B (en) Information printing method and device
KR20210016259A (en) Method, apparatus and media for controlling door guards
CN112667984A (en) Identity authentication method and device, electronic equipment and storage medium
CN108319419B (en) Method and device for starting application
CN108470120B (en) Screen locking control method and device and readable storage medium
WO2018049611A1 (en) Permission control method and device
CN106980454B (en) Unlocking method and device
CN112437189A (en) Identity recognition method, device and medium
US10671827B2 (en) Method and device for fingerprint verification
CN107133551B (en) Fingerprint verification method and device
CN111079112B (en) Application control method, application control device and storage medium
CN106843691B (en) Operation control method and device of mobile terminal
CN107292155B (en) Fingerprint information verification method and device and computer readable storage medium
CN108334762B (en) Terminal unlocking method and device
CN113225431A (en) Display screen control method and device and storage medium

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