CN111949963A - Terminal device unlocking method, terminal device and computer readable storage medium - Google Patents

Terminal device unlocking method, terminal device and computer readable storage medium Download PDF

Info

Publication number
CN111949963A
CN111949963A CN202010772322.3A CN202010772322A CN111949963A CN 111949963 A CN111949963 A CN 111949963A CN 202010772322 A CN202010772322 A CN 202010772322A CN 111949963 A CN111949963 A CN 111949963A
Authority
CN
China
Prior art keywords
unlocking
preset
terminal device
user
terminal equipment
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.)
Pending
Application number
CN202010772322.3A
Other languages
Chinese (zh)
Inventor
郭晓花
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202010772322.3A priority Critical patent/CN111949963A/en
Publication of CN111949963A publication Critical patent/CN111949963A/en
Pending legal-status Critical Current

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

Abstract

The embodiment of the disclosure provides a terminal device unlocking method, a terminal device and a computer readable storage medium, wherein the method comprises the following steps: acquiring an unlocking request of a user; judging whether the terminal equipment is in an unchanged state or a changed state; and if the terminal equipment is in the unchanged state, unlocking the terminal equipment based on a preset single unlocking mode. According to the unlocking method and the unlocking device, before the terminal device is unlocked, the state of the terminal device is judged firstly, if the terminal device is in the unchanged state, the terminal device can be considered to be in the safe state at the moment, and then the terminal device is unlocked only by adopting a single unlocking mode, so that the safety of the terminal device is improved, unnecessary complicated unlocking operation under certain conditions is avoided, the use experience of a user is improved, and the safety and the user experience are both considered.

Description

Terminal device unlocking method, terminal device and computer readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a terminal device unlocking method, a terminal device, and a computer-readable storage medium.
Background
In recent years, as terminal devices enter various fields of life of people, terminal unlocking methods are continuously improved in order to protect privacy and property safety of users. At present, the terminal unlocking method includes digital unlocking, pattern unlocking and fingerprint unlocking.
However, if the user's numeric or graphic password is revealed, or the fingerprint is stolen, the security of the terminal device is difficult to guarantee. In order to further improve the security of the terminal device, the related art provides a scheme of double unlocking, and although the scheme enhances the difficulty of unlocking and improves the security of the terminal device, if the user is always in a certain fixed place, such as at home or in a company, the terminal device is actually in a safe state, the double unlocking mode is tedious, and the use experience of the user is sacrificed.
Therefore, it is an urgent need to solve the problem to provide a terminal unlocking scheme that can increase the security of the terminal device and improve the user experience.
Disclosure of Invention
The present disclosure has been made to at least partially solve the technical problems occurring in the prior art.
According to an aspect of the embodiments of the present disclosure, a method for unlocking a terminal device is provided, where the method includes:
acquiring an unlocking request of a user;
judging whether the terminal equipment is in an unchanged state or a changed state;
and if the terminal equipment is in the unchanged state, unlocking the terminal equipment based on a preset single unlocking mode.
Optionally, the unlocking the terminal device based on a preset single unlocking manner includes:
acquiring biometric information of a user;
judging whether the biological identification information of the user is matched with preset biological unlocking information or not;
and if the information is matched with the preset biological unlocking information, executing the unlocking operation of the terminal equipment.
Optionally, the method further comprises:
if the password is not matched with the preset biological unlocking information, a password input interface is opened, and a password input by a user is received;
judging whether the password input by the user is matched with a preset unlocking password or not;
and if the unlocking password is matched with the preset unlocking password, executing the unlocking operation of the terminal equipment.
Optionally, the method further comprises:
if the number of the identification errors is not matched with the preset unlocking password, adding one to the number of the identification errors;
judging whether the current identification error frequency exceeds a preset first threshold value or not;
if the first threshold value is exceeded, sending out an early warning prompt;
and if the first threshold value is not exceeded, returning to the step of acquiring the biometric information of the user.
Optionally, the method further comprises:
and if the terminal equipment is in the change state, unlocking the terminal equipment based on a preset double unlocking mode.
Optionally, the unlocking the terminal device based on a preset dual unlocking manner includes:
acquiring biometric information of a user;
judging whether the biological identification information of the user is matched with preset biological unlocking information or not;
if the password is matched with the preset biological unlocking information, a password input interface is opened, and a password input by a user is received;
judging whether the password input by the user is matched with a preset unlocking password or not;
and if the unlocking password is matched with the preset unlocking password, executing the unlocking operation of the terminal equipment.
Optionally, the method further comprises:
if the identification error number is not matched with the preset biological unlocking information, adding one to the identification error number;
judging whether the current identification error frequency exceeds a preset second threshold value or not;
if the second threshold value is exceeded, sending out an early warning prompt;
and if the second threshold value is not exceeded, returning to the step of acquiring the biometric information of the user.
Optionally, the method further comprises:
if the number of the identification errors is not matched with the preset unlocking password, adding one to the number of the identification errors;
judging whether the current identification error frequency exceeds a preset third threshold value or not;
if the threshold value exceeds the third threshold value, sending out an early warning prompt;
and if the password number does not exceed the third threshold value, returning to the step of opening the password input interface and receiving the password input by the user.
Optionally, the determining whether the terminal device is in an unchanged state or a changed state includes:
and judging whether the terminal equipment is in an unchanged state or a changed state based on Wi-Fi information connected with the terminal equipment, position information of the terminal equipment or running continuity of an application program in the terminal equipment.
According to another aspect of the embodiments of the present disclosure, there is provided a terminal device, including:
an acquisition module configured to acquire an unlocking request of a user;
a judging module configured to judge whether the terminal device is in an unchanged state or a changed state;
and the unlocking module is set to unlock the terminal equipment based on a preset single unlocking mode when the judgment result of the judgment module is that the terminal equipment is in an unchanged state.
According to still another aspect of the embodiments of the present disclosure, there is provided a terminal device, including a memory and a processor, where the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the foregoing terminal device unlocking method.
According to still another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having a computer program stored thereon, where when the computer program is executed by a processor, the processor executes the foregoing terminal device unlocking method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the terminal equipment unlocking method provided by the embodiment of the disclosure, before unlocking the terminal equipment, the state of the terminal equipment is judged firstly, if the terminal equipment is in the unchanged state, the terminal equipment can be considered to be in the safe state at the moment, then only a single unlocking mode is adopted to unlock the terminal equipment, so that the safety of the terminal equipment is increased, unnecessary complicated unlocking operation under certain conditions is avoided, the use experience of a user is improved, and the safety and the user experience are both considered.
Additional features and advantages of the disclosure will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the disclosure. The objectives and other advantages of the disclosure may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosed embodiments and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the example serve to explain the principles of the disclosure and not to limit the disclosure.
Fig. 1 is a schematic flowchart of a method for unlocking a terminal device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another method for unlocking a terminal device according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another method for unlocking a terminal device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of another terminal device provided in the embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, specific embodiments of the present disclosure are described below in detail with reference to 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order; also, the embodiments and features of the embodiments in the present disclosure may be arbitrarily combined with each other without conflict.
Fig. 1 is a schematic flowchart of a method for unlocking a terminal device according to an embodiment of the present disclosure. As shown in fig. 1, the method includes the following steps S101 to S103.
S101, acquiring an unlocking request of a user;
s102, judging whether the terminal equipment is in an unchanged state or a changed state, and if the terminal equipment is in the unchanged state, executing the step S103;
and S103, unlocking the terminal equipment based on a preset single unlocking mode.
The unlocking mode can comprise biological identification unlocking, password unlocking and pattern unlocking. Biometric unlocking may include fingerprint unlocking, iris unlocking, and facial unlocking.
In the embodiment of the disclosure, before unlocking the terminal device, the state of the terminal device is judged, if the terminal device is in the unchanged state, the terminal device can be considered to be in the "safe state", and then the terminal device is unlocked only by adopting a single unlocking mode, so that the safety of the terminal device is increased, unnecessary complicated unlocking operation under certain conditions is avoided, the use experience of a user is improved, and the safety and the user experience are both considered.
In one embodiment, the single unlocking manner is biometric unlocking, and accordingly, step S103 includes the following steps S103-1 to S103-3.
S103-1, acquiring the biological identification information of the user;
s103-2, judging whether the biological identification information of the user is matched with preset biological unlocking information or not, and if the biological identification information of the user is matched with the preset biological unlocking information, executing the step S103-3;
and S103-3, executing the unlocking operation of the terminal equipment.
Of course, the single unlocking mode can also be password unlocking or pattern unlocking.
Unlocking the terminal equipment based on password unlocking, comprising: opening a password input interface and receiving a password input by a user; judging whether the password input by the user is matched with a preset unlocking password or not; and if the unlocking password is matched with the preset unlocking password, executing the unlocking operation of the terminal equipment.
Unlocking the terminal device based on pattern unlocking, comprising: opening a pattern unlocking interface and receiving a pattern input by a user; judging whether the pattern input by the user is matched with a preset unlocking pattern or not; and if the unlocking pattern is matched with the preset unlocking pattern, executing the unlocking operation of the terminal equipment.
If the single unlocking mode fails, other unlocking modes can be considered to be assisted to unlock the terminal equipment. In one embodiment, the single unlocking mode is biometric unlocking, and accordingly, the method further includes the following steps S103-4 to S103-6.
S103-4, if the biological identification information of the user is not matched with the preset biological unlocking information, starting a password input interface, and receiving a password input by the user;
s103-5, judging whether the password input by the user is matched with a preset unlocking password, and if the password is matched with the preset unlocking password, executing the step S103-6;
s103-6, unlocking the terminal equipment.
Of course, when the single unlocking manner is the biometric unlocking manner, if the unlocking fails, besides using password unlocking as the auxiliary unlocking manner, pattern unlocking may also be considered as the auxiliary unlocking manner. Similarly, under the condition that the single unlocking mode is password unlocking, if unlocking fails, biological recognition unlocking or pattern unlocking can be taken as an auxiliary unlocking mode; under the condition that the single unlocking mode is pattern unlocking, if unlocking fails, biological identification unlocking or password unlocking can be taken as an auxiliary unlocking mode.
In one embodiment, when the single unlocking mode is biometric unlocking, password unlocking is used as an auxiliary unlocking mode when unlocking fails, and a password input by a user does not match a preset unlocking mode, the method further includes the following steps S103-7 to S103-8.
S103-7, if the password input by the user is not matched with the preset unlocking password, adding one to the number of identification errors, and setting the initial value of the number of identification errors to be zero;
s103-8, judging whether the current identification error frequency exceeds a preset first threshold value or not; if the first threshold value is exceeded, sending out an early warning prompt; if the first threshold is not exceeded, the process returns to the step of acquiring the biometric information of the user, that is, the process returns to step S103-1.
The corresponding situation of other single unlocking modes is the same, and is not described herein again.
In one embodiment, as shown in fig. 1, the method further includes the following step S104:
and S104, if the terminal equipment is in a change state, unlocking the terminal equipment based on a preset double unlocking mode.
The dual unlocking mode can adopt any two unlocking modes of biological identification unlocking, password unlocking and pattern unlocking.
In one embodiment, the dual unlocking manner is biometric unlocking and password unlocking, and accordingly, the step S104 includes the following steps S104-1 to S104-5.
S104-1, acquiring the biological identification information of the user;
s104-2, judging whether the biological identification information of the user is matched with preset biological unlocking information, and if the biological identification information of the user is matched with the preset biological unlocking information, executing the step S104-3;
s104-3, opening a password input interface and receiving a password input by a user;
s104-4, judging whether the password input by the user is matched with a preset unlocking password, and if so, executing the step S104-5;
and S104-5, executing unlocking operation on the terminal equipment.
The dual unlocking mode can also be biological identification unlocking and pattern unlocking, or password unlocking and pattern unlocking, and the terminal equipment is unlocked based on the two dual unlocking modes, so that the repeated description is omitted.
In one embodiment, in the case that the dual unlocking mode is biometric unlocking and password unlocking, if the biometric unlocking fails, the method further includes the following steps S104-6 to S104-7.
S104-6, if the biological unlocking information is not matched with the preset biological unlocking information, adding one to the identification error frequency, and setting the initial value of the identification error frequency to be zero;
s104-7, judging whether the current identification error frequency exceeds a preset second threshold value or not; if the second threshold value is exceeded, sending out an early warning prompt; if the second threshold is not exceeded, the step of acquiring the biometric information of the user is returned, that is, the step S104-1 is returned.
In one embodiment, in the case that the dual unlocking mode is biometric unlocking and password unlocking, if the password unlocking fails, the method further includes the following steps S104-8 to S104-9.
S104-8, if the number of the identification errors is not matched with the preset unlocking password, adding one to the number of the identification errors, and setting the initial value of the number of the identification errors to be zero;
s104-9, judging whether the current identification error frequency exceeds a preset third threshold value; if the threshold value exceeds the third threshold value, sending out an early warning prompt; and if the third threshold value is not exceeded, returning to the step of opening the password input interface and receiving the password input by the user, namely returning to the step S104-3.
In the embodiment of the present disclosure, the first threshold, the second threshold, and the third threshold may be set by a person skilled in the art according to actual situations, and values of the first threshold, the second threshold, and the third threshold may be the same or different.
In one embodiment, the determining whether the terminal device is in the unchanged state or the changed state in step S102 includes: and judging whether the terminal equipment is in an unchanged state or a changed state based on Wi-Fi information connected with the terminal equipment, position information of the terminal equipment or running continuity of an application program in the terminal equipment.
The method for judging whether the terminal equipment is in the unchanged state or the changed state based on the Wi-Fi information connected with the terminal equipment comprises the following steps:
calling Wi-Fi information currently connected with the terminal equipment and Wi-Fi information connected with the terminal equipment during last unlocking;
judging whether the Wi-Fi information of the connection changes or not;
if the Wi-Fi information of the connection is changed, determining that the terminal equipment is in a change state;
and if the Wi-Fi information of the connection is not changed, determining that the terminal equipment is in an unchanged state.
Judging whether the terminal device is in an unchanged state or a changed state based on the position information of the terminal device, including:
calling current position information of the terminal equipment and position information of the terminal equipment in the last unlocking;
judging whether the distance between the current position information of the terminal equipment and the position information obtained in the last unlocking exceeds a preset distance threshold value or not;
if the distance exceeds the threshold value, determining that the terminal equipment is in a change state;
and if the distance threshold is not exceeded, determining that the terminal equipment is in an unchanged state.
The method for judging whether the terminal device is in the unchanged state or the changed state based on the running continuity of the application program in the terminal device (also called the use continuity of the application program) comprises the following steps:
monitoring the running state of the continuously running application program in the terminal equipment;
and if the running state of the continuously running application program is changed, if the running is stopped, determining that the terminal equipment is in the changed state, otherwise, determining that the terminal equipment is in the unchanged state.
The application program may be a music program, a video program, or a broadcast program.
Fig. 2 is a schematic flowchart of another method for unlocking a terminal device according to an embodiment of the present disclosure. As shown in fig. 2, the method includes the following steps S201 to S210.
S201, obtaining an unlocking request of a user;
s202, judging that the terminal equipment is in an unchanged state based on Wi-Fi information connected with the terminal equipment, position information of the terminal equipment or running continuity of an application program in the terminal equipment;
s203, acquiring biological identification information of the user;
s204, judging whether the biological identification information of the user is matched with preset biological unlocking information or not, and if not, executing a step S205; if the information is matched with the preset biological unlocking information, executing step S210;
s205, starting a password input interface and receiving a password input by a user;
s206, judging whether the password input by the user is matched with a preset unlocking password, and if not, executing the step S207; if the password is matched with the preset unlocking password, executing step S210;
s207, adding one to the number of identification errors;
s208, judging whether the current identification error frequency exceeds a preset first threshold value or not; if the first threshold is exceeded, go to step S209; if the first threshold value is not exceeded, returning to the step S203;
s209, sending out an early warning prompt;
and S210, unlocking the terminal equipment.
Fig. 3 is a schematic flowchart of another method for unlocking a terminal device according to an embodiment of the present disclosure. As shown in fig. 3, the method includes the following steps S301 to S312.
S301, acquiring an unlocking request of a user;
s302, judging that the terminal equipment is in a change state based on Wi-Fi information connected with the terminal equipment, position information of the terminal equipment or running continuity of an application program in the terminal equipment;
s303, acquiring biological identification information of the user;
s304, judging whether the biological identification information of the user is matched with preset biological unlocking information or not, and if not, executing the step S305; if the information is matched with the preset biological unlocking information, executing step S308;
s305, adding one to the number of identification errors;
s306, judging whether the current identification error frequency exceeds a preset second threshold value or not; if the second threshold is exceeded, go to step S307; if the second threshold value is not exceeded, returning to the step S303;
s307, sending out an early warning prompt;
s308, opening a password input interface and receiving a password input by a user;
s309, judging whether the password input by the user is matched with a preset unlocking password, and if not, executing the step S310; if the password matches the preset unlocking password, step S312 is executed;
s310, adding one to the number of identification errors;
s311, judging whether the current identification error frequency exceeds a preset third threshold value; if the third threshold is exceeded, go to step S307; if not, returning to step S308;
and S312, unlocking the terminal equipment.
According to the terminal equipment unlocking method provided by the embodiment of the disclosure, after the unlocking request of the user is obtained, whether the terminal equipment is in the unchanged state or the changed state is judged, if the terminal equipment is in the unchanged state, the terminal equipment is unlocked based on the preset single unlocking mode, and if the terminal equipment is in the changed state, the terminal equipment is unlocked based on the preset double unlocking mode, so that the unlocking mode is determined according to the state of the terminal equipment, and the unlocking complexity is reduced while the safety of the terminal equipment is improved.
Fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure. As shown in fig. 4, the terminal device 4 includes an obtaining module 41, a judging module 42 and an unlocking module 43.
Wherein, the obtaining module 41 is configured to obtain an unlocking request of a user; the judging module 42 is configured to judge whether the terminal device is in an unchanged state or a changed state; the unlocking module 43 is configured to unlock the terminal device based on a preset single unlocking mode when the determination result of the determining module 42 is that the terminal device is in the unchanged state.
The unlocking mode can comprise biological identification unlocking, password unlocking and pattern unlocking. Biometric unlocking may include fingerprint unlocking, iris unlocking, and facial unlocking.
In the embodiment of the disclosure, before unlocking the terminal device, the state of the terminal device is judged, if the terminal device is in the unchanged state, the terminal device can be considered to be in the "safe state", and then the terminal device is unlocked only by adopting a single unlocking mode, so that the safety of the terminal device is increased, unnecessary complicated unlocking operation under certain conditions is avoided, the use experience of a user is improved, and the safety and the user experience are both considered.
In one embodiment, the unlocking module 43 includes: the device comprises a first acquisition unit, a first judgment unit and an unlocking unit.
Wherein the first acquisition unit is configured to acquire biometric information of a user; the first judging unit is used for judging whether the biological identification information of the user acquired by the first acquiring unit is matched with preset biological unlocking information or not; the unlocking unit is set to execute unlocking operation on the terminal equipment when the judgment result of the first judgment unit is matched with the preset biological unlocking information.
In one embodiment, the unlocking module 43 further comprises: a first receiving unit and a second judging unit.
The first receiving unit is configured to open a password input interface and receive a password input by a user when the judgment result of the first judging unit is not matched with the preset biological unlocking information; the second judging unit is used for judging whether the password input by the user and received by the first receiving unit is matched with a preset unlocking password or not; the unlocking unit is further configured to execute an unlocking operation on the terminal device when the judgment result of the second judgment unit is matched with the preset unlocking password.
In one embodiment, the unlocking module 43 further comprises: the device comprises a first counting unit, a third judging unit and an early warning unit.
The first counting unit is set to add one to the number of identification errors when the judgment result of the second judging unit is that the second judging unit is not matched with the preset unlocking password, and the initial value of the number of identification errors can be set to be zero; the third judging unit is used for judging whether the current identification error frequency obtained by the first counting unit exceeds a preset first threshold value or not, and if the current identification error frequency does not exceed the first threshold value, the first obtaining unit re-executes the operation of obtaining the biological identification information of the user; the early warning unit is set to send out early warning prompt when the judgment result of the third judgment unit indicates that the current identification error frequency exceeds a preset first threshold value.
In one embodiment, the unlocking module 43 is further configured to unlock the terminal device based on a preset double unlocking manner when the terminal device is in the changed state as a result of the determination of the determining module 42.
The dual unlocking mode can adopt any two unlocking modes of biological identification unlocking, password unlocking and pattern unlocking.
In one embodiment, the unlocking module 43 further comprises: the device comprises a second acquisition unit, a fourth judgment unit, a second receiving unit and a fifth judgment unit.
Wherein the second acquisition unit is configured to acquire biometric information of the user; the fourth judging unit is used for judging whether the biological identification information of the user acquired by the second acquiring unit is matched with preset biological unlocking information or not; the second receiving unit is set to open the password input interface and receive the password input by the user when the judgment result of the fourth judging unit is matched with the preset biological unlocking information; the fifth judging unit is used for judging whether the password input by the user and received by the second receiving unit is matched with the preset unlocking password or not; the unlocking unit is further configured to execute an unlocking operation on the terminal device when the judgment result of the fifth judgment unit is matched with the preset unlocking password.
In one embodiment, the unlocking module 43 further comprises: a second counting unit and a sixth judging unit.
The second counting unit is set to add one to the identification error frequency when the judgment result of the fourth judging unit is not matched with the preset biological unlocking information, and the initial value of the identification error frequency can be set to be zero; the sixth judging unit is set to judge whether the current identification error frequency obtained by the second counting unit exceeds a preset second threshold value or not, and if not, the second obtaining unit re-executes the operation of obtaining the biological identification information of the user; the early warning unit is further configured to send an early warning prompt when the judgment result of the sixth judgment unit indicates that the current identification error frequency exceeds the second threshold.
In one embodiment, the unlocking module 43 further comprises: a third counting unit and a seventh judging unit.
The third counting unit is further configured to add one to the number of identification errors when the judgment result of the fifth judging unit is that the unlocking password is not matched with the preset unlocking password, and the initial value of the number of identification errors can be set to be zero; the seventh judging unit is configured to judge whether the current identification error frequency obtained by the third counting unit exceeds a preset third threshold, and if not, the second receiving unit re-executes the operation of opening the password input interface and receiving the password input by the user; the early warning unit is further configured to send an early warning prompt when the judgment result of the seventh judgment unit indicates that the current identification error frequency exceeds the third threshold.
It should be noted that the first obtaining unit and the second obtaining unit may adopt the same functional module, and the first receiving unit and the second receiving unit may adopt the same functional module.
According to the terminal device provided by the embodiment of the disclosure, after the unlocking request of the user is obtained, whether the terminal device is in the unchanged state or the changed state is judged, if the terminal device is in the unchanged state, the terminal device is unlocked based on the preset single unlocking mode, and if the terminal device is in the changed state, the terminal device is unlocked based on the preset double unlocking mode, so that the unlocking mode is determined according to the state of the terminal device, and the unlocking complexity is reduced while the safety of the terminal device is improved.
Based on the same technical concept, the embodiment of the present disclosure correspondingly provides a terminal device, as shown in fig. 5, the terminal device 5 includes a memory 51 and a processor 52, the memory 51 stores a computer program, and when the processor 52 runs the computer program stored in the memory 51, the processor 52 executes the foregoing terminal device unlocking method.
Based on the same technical concept, embodiments of the present disclosure correspondingly provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the processor executes the foregoing terminal device unlocking method.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present disclosure, and not for limiting the same; while the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present disclosure.

Claims (12)

1. A method for unlocking a terminal device is characterized by comprising the following steps:
acquiring an unlocking request of a user;
judging whether the terminal equipment is in an unchanged state or a changed state;
and if the terminal equipment is in the unchanged state, unlocking the terminal equipment based on a preset single unlocking mode.
2. The method according to claim 1, wherein unlocking the terminal device based on a preset single unlocking manner comprises:
acquiring biometric information of a user;
judging whether the biological identification information of the user is matched with preset biological unlocking information or not;
and if the information is matched with the preset biological unlocking information, executing the unlocking operation of the terminal equipment.
3. The method of claim 2, further comprising:
if the password is not matched with the preset biological unlocking information, a password input interface is opened, and a password input by a user is received;
judging whether the password input by the user is matched with a preset unlocking password or not;
and if the unlocking password is matched with the preset unlocking password, executing the unlocking operation of the terminal equipment.
4. The method of claim 3, further comprising:
if the number of the identification errors is not matched with the preset unlocking password, adding one to the number of the identification errors;
judging whether the current identification error frequency exceeds a preset first threshold value or not;
if the first threshold value is exceeded, sending out an early warning prompt;
and if the first threshold value is not exceeded, returning to the step of acquiring the biometric information of the user.
5. The method of claim 1, further comprising:
and if the terminal equipment is in the change state, unlocking the terminal equipment based on a preset double unlocking mode.
6. The method according to claim 5, wherein unlocking the terminal device based on the preset double unlocking manner comprises:
acquiring biometric information of a user;
judging whether the biological identification information of the user is matched with preset biological unlocking information or not;
if the password is matched with the preset biological unlocking information, a password input interface is opened, and a password input by a user is received;
judging whether the password input by the user is matched with a preset unlocking password or not;
and if the unlocking password is matched with the preset unlocking password, executing the unlocking operation of the terminal equipment.
7. The method of claim 6, further comprising:
if the identification error number is not matched with the preset biological unlocking information, adding one to the identification error number;
judging whether the current identification error frequency exceeds a preset second threshold value or not;
if the second threshold value is exceeded, sending out an early warning prompt;
and if the second threshold value is not exceeded, returning to the step of acquiring the biometric information of the user.
8. The method of claim 6, further comprising:
if the number of the identification errors is not matched with the preset unlocking password, adding one to the number of the identification errors;
judging whether the current identification error frequency exceeds a preset third threshold value or not;
if the threshold value exceeds the third threshold value, sending out an early warning prompt;
and if the password number does not exceed the third threshold value, returning to the step of opening the password input interface and receiving the password input by the user.
9. The method according to any one of claims 1-8, wherein said determining whether the terminal device is in an unchanged state or a changed state comprises:
and judging whether the terminal equipment is in an unchanged state or a changed state based on Wi-Fi information connected with the terminal equipment, position information of the terminal equipment or running continuity of an application program in the terminal equipment.
10. A terminal device, comprising:
an acquisition module configured to acquire an unlocking request of a user;
a judging module configured to judge whether the terminal device is in an unchanged state or a changed state;
and the unlocking module is set to unlock the terminal equipment based on a preset single unlocking mode when the judgment result of the judgment module is that the terminal equipment is in an unchanged state.
11. A terminal device characterized by comprising a memory and a processor, wherein the memory stores therein a computer program, and when the processor runs the computer program stored in the memory, the processor executes the terminal device unlocking method according to any one of claims 1 to 9.
12. A computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the processor performs the terminal device unlocking method according to any one of claims 1 to 9.
CN202010772322.3A 2020-08-04 2020-08-04 Terminal device unlocking method, terminal device and computer readable storage medium Pending CN111949963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010772322.3A CN111949963A (en) 2020-08-04 2020-08-04 Terminal device unlocking method, terminal device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010772322.3A CN111949963A (en) 2020-08-04 2020-08-04 Terminal device unlocking method, terminal device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111949963A true CN111949963A (en) 2020-11-17

Family

ID=73339368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010772322.3A Pending CN111949963A (en) 2020-08-04 2020-08-04 Terminal device unlocking method, terminal device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111949963A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112905964A (en) * 2021-01-29 2021-06-04 北京紫光展锐通信技术有限公司 Unlocking method for user equipment, storage medium, chip and related equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830932A (en) * 2012-08-17 2012-12-19 东莞宇龙通信科技有限公司 Terminal and method for automatically switching unlocking patterns of terminal
CN104345879A (en) * 2013-08-08 2015-02-11 联想(北京)有限公司 State switching method and electronic equipment
CN104391744A (en) * 2014-09-23 2015-03-04 深圳市金立通信设备有限公司 Terminal
WO2016145805A1 (en) * 2015-08-06 2016-09-22 中兴通讯股份有限公司 Method for unlocking mobile terminal and mobile terminal
CN108932412A (en) * 2018-05-21 2018-12-04 中国联合网络通信集团有限公司 Reminding method, device, equipment and the computer readable storage medium of password unlock
WO2018232662A1 (en) * 2017-06-21 2018-12-27 深圳支点电子智能科技有限公司 Mobile terminal unlocking method and mobile terminal
WO2018232652A1 (en) * 2017-06-21 2018-12-27 深圳支点电子智能科技有限公司 Mobile terminal having high privacy level and related product
CN109979042A (en) * 2017-12-28 2019-07-05 广景视睿科技(深圳)有限公司 A kind of method, apparatus and system of dual unlock
CN110659461A (en) * 2018-06-28 2020-01-07 Oppo(重庆)智能科技有限公司 Screen unlocking method and device, terminal and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830932A (en) * 2012-08-17 2012-12-19 东莞宇龙通信科技有限公司 Terminal and method for automatically switching unlocking patterns of terminal
CN104345879A (en) * 2013-08-08 2015-02-11 联想(北京)有限公司 State switching method and electronic equipment
CN104391744A (en) * 2014-09-23 2015-03-04 深圳市金立通信设备有限公司 Terminal
WO2016145805A1 (en) * 2015-08-06 2016-09-22 中兴通讯股份有限公司 Method for unlocking mobile terminal and mobile terminal
CN106446624A (en) * 2015-08-06 2017-02-22 中兴通讯股份有限公司 Mobile terminal unlocking method and mobile terminal
WO2018232662A1 (en) * 2017-06-21 2018-12-27 深圳支点电子智能科技有限公司 Mobile terminal unlocking method and mobile terminal
WO2018232652A1 (en) * 2017-06-21 2018-12-27 深圳支点电子智能科技有限公司 Mobile terminal having high privacy level and related product
CN109979042A (en) * 2017-12-28 2019-07-05 广景视睿科技(深圳)有限公司 A kind of method, apparatus and system of dual unlock
CN108932412A (en) * 2018-05-21 2018-12-04 中国联合网络通信集团有限公司 Reminding method, device, equipment and the computer readable storage medium of password unlock
CN110659461A (en) * 2018-06-28 2020-01-07 Oppo(重庆)智能科技有限公司 Screen unlocking method and device, terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112905964A (en) * 2021-01-29 2021-06-04 北京紫光展锐通信技术有限公司 Unlocking method for user equipment, storage medium, chip and related equipment

Similar Documents

Publication Publication Date Title
US11914693B2 (en) Fingerprint recognition method and apparatus, and touchscreen terminal
US9131377B2 (en) Method and apparatus for unlocking operating system
US20200082656A1 (en) Fingerprint recognition and nfc-based unlocking method and system using mobile terminal
US8583082B2 (en) System and method for tracking stolen communication terminal, and communication terminal
EP3147768A1 (en) Screen interface unlocking method and screen interface unlocking device
CN104539811A (en) Anti-theft method of terminal and mobile terminal
WO2013131265A1 (en) A context-aware adaptive authentication method and apparatus
CN109508522A (en) A kind of data clearing method, device, storage medium and terminal
CN110706389A (en) Wireless direct-connection access control system and method
CN110189452B (en) Vehicle key access processing method, device and system and vehicle
CN107437016B (en) Application control method and related product
CN111949963A (en) Terminal device unlocking method, terminal device and computer readable storage medium
CN107507308B (en) Information matching method and device and intelligent door lock
CN105141750A (en) Screen locking method and terminal
CN105978899A (en) SIM card binding method for preventing malicious mobile phone flash
CN109558719B (en) Unlocking method and terminal
CN111445604A (en) Intelligent door and door lock opening method
CN110717770A (en) Anti-counterfeiting detection method, device, equipment and storage medium for vehicle parts
CN111641751B (en) Screen unlocking method and device of terminal equipment, terminal equipment and storage medium
CN110636474A (en) Bluetooth pairing method and device
CN105827810A (en) Voiceprint recognition-based communication terminal retrieve method and communication terminal
CN106131819A (en) A kind of multistage authentication prevents the method for mobile phone malice brush machine
CN111559342B (en) Vehicle control method and device and vehicle
KR101560402B1 (en) Apparatus and method of providing automatic lock function in mobile communication terminal
CN113978412A (en) Automobile noninductive unlocking method and system, computer equipment 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