CN103885772A - Unlocking method and electronic device - Google Patents

Unlocking method and electronic device Download PDF

Info

Publication number
CN103885772A
CN103885772A CN201410082882.0A CN201410082882A CN103885772A CN 103885772 A CN103885772 A CN 103885772A CN 201410082882 A CN201410082882 A CN 201410082882A CN 103885772 A CN103885772 A CN 103885772A
Authority
CN
China
Prior art keywords
unlocking
level
event
unlocking event
stage
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
CN201410082882.0A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410082882.0A priority Critical patent/CN103885772A/en
Publication of CN103885772A publication Critical patent/CN103885772A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses an unlocking method and an electronic device, and belongs to the technical field of information processing. The electronic device comprises M objects, wherein M >=2. The method includes the steps that an unlocking event at a current level is detected, and whether the unlocking event at the current level is matched with a preset unlocking event at a corresponding level or not is judged; if the unlocking event at the current level is matched with the preset unlocking event at the corresponding level, an unlocking even at a next level continues to be detected, and whether the unlocking even at the next level is matched with the preset unlocking event at the corresponding level or not is judged; the detection is performed by such analogy until an unlocking event of a preset number level is detected, after judging the fact that the unlocking event of the preset number level is matched with the preset unlocking event at the corresponding level, the M objects are determined so that the electronic device can respond to triggering operation for the M objects. According to the method, after judging the fact that the unlocking events at all levels are matched with the preset unlocking event at the corresponding level, the unlocking operation is executed, so that unlocking safety is improved while misoperation of a mobile terminal is prevented.

Description

Unlocking method and electronic equipment
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to an unlocking method and an electronic device.
Background
With the continuous progress of society, mobile terminals are rapidly popularized among people as an instant messaging tool. In general, a mobile terminal is locked for the purpose of preventing a malfunction of the mobile terminal and protecting privacy of a user, so that the mobile terminal can be used after an unlocking operation is performed.
In the prior art, two modes of password unlocking and sliding gesture unlocking exist, and for the password unlocking mode, if the password input by a user is detected to be the same as the unlocking password, the unlocking is successfully carried out; and for the sliding gesture unlocking mode, if the sliding gesture existing on the screen of the mobile terminal is detected to be the same as the unlocking sliding gesture, the unlocking is successfully carried out.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
aiming at the password unlocking mode in the prior art, the safety is not high; for the sliding gesture unlocking mode in the prior art, as the sliding gesture of the user is the same as the unlocking sliding gesture, the unlocking can be successfully performed, so that if the user unintentionally performs the sliding operation on the screen of the mobile terminal, which is the same as the unlocking sliding gesture, the unlocking misoperation can be caused, and the defect of low safety also exists.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide an unlocking method and an electronic device. The technical scheme is as follows:
on one hand, the method is applied to electronic equipment, wherein the electronic equipment comprises M objects, and M is more than or equal to 2; the method comprises the following steps:
detecting a current stage unlocking event, and judging whether the current stage unlocking event is matched with a preset corresponding stage unlocking event or not;
if the current stage unlocking event is matched with a preset corresponding stage unlocking event, continuously detecting a next stage unlocking event, and judging whether the next stage unlocking event is matched with the preset corresponding stage unlocking event or not;
and by analogy, determining the M objects until a preset number level unlocking event is detected and the preset number level unlocking event is matched with a preset corresponding level unlocking event, so that the electronic equipment can respond to the trigger operation aiming at the M objects.
Optionally, the preset number of level unlocking events is multiple levels, and matching the current level unlocking event with a preset corresponding level unlocking event includes:
when the current stage unlocking event is an N-1 stage unlocking event, and the N-1 stage unlocking event is matched with a preset corresponding stage unlocking event, determining J objects so that the electronic equipment can respond to trigger operation aiming at the J objects; or,
when the current stage unlocking event is an Nth stage unlocking event, and the Nth stage unlocking event is matched with a preset corresponding stage unlocking event, determining K objects so that the electronic equipment can respond to trigger operation aiming at the K objects; or,
when the current stage unlocking event is an N +1 stage unlocking event and the N +1 stage unlocking event is matched with a preset corresponding stage unlocking event, determining L objects so that the electronic equipment can respond to trigger operation aiming at the L objects;
wherein J, K, L is a natural number greater than 0, and J is more than K and less than L and less than or equal to M.
Optionally, the security level of a preset corresponding-level unlocking event corresponding to the current-level unlocking event is higher than the security level of a preset corresponding-level unlocking event corresponding to the previous-level unlocking event; or,
when a new level of unlocking events is added, the security level of the new level of unlocking events is higher than that of the preset number level of unlocking events.
Optionally, after the current stage unlocking event is judged to be matched with a preset corresponding stage unlocking event, the method further includes:
and counting the unlocking series corresponding to the current-level unlocking event so as to determine the object corresponding to the current-level unlocking event according to the unlocking series corresponding to the current-level unlocking event.
Optionally, any two adjacent levels of unlocking events are different.
In another aspect, an electronic device is provided, the electronic device comprising M objects, M ≧ 2; the electronic device includes: the device comprises a detection module, a judgment module and an unlocking module;
the detection module is used for detecting a current-level unlocking event, and when the judgment module judges that the current-level unlocking event is matched with a preset corresponding-level unlocking event, continuously detecting a next-level unlocking event, and so on until a preset number of levels of unlocking events are detected;
the judging module is used for judging whether a current-level unlocking event detected by the detecting module is matched with a preset corresponding-level unlocking event or not, judging whether a next-level unlocking event is matched with the preset corresponding-level unlocking event or not after the detecting module detects the next-level unlocking event, and repeating the steps until the detecting module detects the preset-level unlocking event, and judging whether the preset-level unlocking event is matched with the preset corresponding-level unlocking event or not;
the unlocking module is used for determining M objects after the judgment module judges that the preset number of level unlocking events detected by the detection module are matched with the preset corresponding level unlocking events, so that the electronic equipment can respond to the triggering operation aiming at the M objects.
Optionally, the unlocking module is configured to determine J objects when the current-stage unlocking event is an N-1-stage unlocking event and the N-1-stage unlocking event matches a preset corresponding-stage unlocking event, so that the electronic device can respond to a trigger operation for the J objects; or when the current-stage unlocking event is an nth-stage unlocking event and the nth-stage unlocking event is matched with a preset corresponding-stage unlocking event, determining K objects so that the electronic equipment can respond to trigger operations aiming at the K objects; or when the current stage unlocking event is an N +1 stage unlocking event and the N +1 stage unlocking event is matched with a preset corresponding stage unlocking event, determining L objects so that the electronic equipment can respond to trigger operation aiming at the L objects; wherein J, K, L is a natural number greater than 0, and J is more than K and less than L and less than or equal to M.
Optionally, the security level of a preset corresponding-level unlocking event corresponding to the current-level unlocking event is higher than the security level of a preset corresponding-level unlocking event corresponding to the previous-level unlocking event; or,
when a new level of unlocking events is added, the security level of the new level of unlocking events is higher than that of the preset number level of unlocking events.
Optionally, the electronic device further comprises:
and the counting module is used for counting the unlocking series corresponding to the current-level unlocking event so as to determine the object corresponding to the current-level unlocking event according to the unlocking series corresponding to the current-level unlocking event.
Optionally, any two adjacent unlocking events detected by the detection module are different.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the preset number of levels of unlocking events are preset, and after the fact that all levels of unlocking events are matched with the preset corresponding levels of unlocking events is judged, the M objects are determined, so that the electronic equipment responds to trigger operation aiming at the M objects, and therefore misoperation of the mobile terminal can be prevented, and meanwhile unlocking safety is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of an unlocking method according to an embodiment of the present invention;
fig. 2 is an object schematic diagram of an electronic device according to a second embodiment of the present invention;
fig. 3 is a flowchart of an unlocking method according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Example one
The invention provides an unlocking method, which is applied to electronic equipment, wherein the electronic equipment comprises M objects, and M is more than or equal to 2; referring to fig. 1, the method flow provided by this embodiment includes:
step 101: detecting a current stage unlocking event, and judging whether the current stage unlocking event is matched with a preset corresponding stage unlocking event or not; if yes, executing step 102; if not, the process is ended;
step 102: continuously detecting a next-level unlocking event, and judging whether the next-level unlocking event is matched with a preset corresponding-level unlocking event or not; and by analogy, determining the M objects until a preset number level unlocking event is detected and the preset number level unlocking event is matched with a preset corresponding level unlocking event, so that the electronic equipment can respond to the trigger operation aiming at the M objects.
Optionally, the preset number of level unlocking events is multiple levels, and matching between the current level unlocking event and the preset corresponding level unlocking event includes:
when the current stage unlocking event is an N-1 stage unlocking event, and the N-1 stage unlocking event is matched with a preset corresponding stage unlocking event, determining J objects so that the electronic equipment can respond to trigger operation aiming at the J objects; or,
when the current stage unlocking event is an Nth stage unlocking event, and the Nth stage unlocking event is matched with a preset corresponding stage unlocking event, determining K objects so that the electronic equipment can respond to trigger operation aiming at the K objects; or,
when the current stage unlocking event is an N +1 stage unlocking event and the N +1 stage unlocking event is matched with a preset corresponding stage unlocking event, determining L objects so that the electronic equipment can respond to trigger operation aiming at the L objects;
wherein J, K, L is a natural number greater than 0, and J is more than K and less than L and less than or equal to M.
Optionally, the security level of the preset corresponding-level unlocking event corresponding to the current-level unlocking event is higher than the security level of the preset corresponding-level unlocking event corresponding to the previous-level unlocking event; or,
when a new level of unlocking events is added, the security level of the new level of unlocking events is higher than that of the preset number level of unlocking events.
Optionally, after determining that the current stage unlocking event matches a preset corresponding stage unlocking event, the method further includes:
and counting the unlocking stage number corresponding to the current-level unlocking event so as to determine the object corresponding to the current-level unlocking event according to the unlocking stage number corresponding to the current-level unlocking event.
Optionally, any two adjacent levels of unlocking events are different.
According to the method provided by the embodiment, the preset number of levels of unlocking events are preset, and after the unlocking events at all levels are judged to be matched with the preset corresponding levels of unlocking events, the M objects are determined, so that the electronic equipment can respond to the trigger operation aiming at the M objects, and the unlocking safety can be improved while the misoperation of the mobile terminal is prevented.
Example two
For convenience of description, the electronic device includes M objects, where M is greater than or equal to 2, and the unlocking method provided in this embodiment is described in detail with reference to the content of the first embodiment. Before explaining the unlocking method provided in the present embodiment in detail, an object of the electronic device will be explained. Referring to fig. 2, an object of an electronic device refers to a function application having a certain function and displayed in the form of an icon on a screen of the electronic device. For example, a calendar application, a clock application, etc. which do not relate to the user privacy, a mobile banking application, a short message application, a pay bank application, etc. which relate to the user privacy.
Referring to fig. 3, the method flow provided by this embodiment is specifically as follows:
step 301: detecting a current stage unlocking event, and judging whether the current stage unlocking event is matched with a preset corresponding stage unlocking event or not; if yes, go to step 302; if not, the process is ended; the unlocking event comprises an unlocking gesture, an unlocking password, an unlocking voiceprint, an unlocking fingerprint or an unlocking pattern;
for this step, the method provided by this embodiment sets a preset number of level unlocking events for the mobile terminal according to the actual requirements of the user of the electronic device. When the mobile terminal is in a locked state, the mobile terminal can be used only after the mobile terminal is successfully unlocked. Therefore, the misoperation of unlocking caused by the fact that the user unintentionally performs the sliding operation which is the same as the unlocking gesture on the screen of the mobile terminal can be prevented, the safety performance can be improved, and the situation that other people acquire the private information of the mobile terminal user can be prevented.
Wherein the unlocking event includes but is not limited to an unlocking gesture, an unlocking password, an unlocking voiceprint, an unlocking fingerprint or an unlocking pattern; the embodiment does not limit the preset specific unlocking gesture, unlocking password, unlocking voiceprint, unlocking fingerprint or unlocking pattern corresponding to the corresponding-level unlocking event. The following explains how to judge whether the current stage unlocking event is matched with a preset corresponding stage unlocking event when the unlocking event is taken as an unlocking gesture, an unlocking password, an unlocking voiceprint, an unlocking fingerprint and an unlocking pattern.
In the first case, if the current stage unlocking event is an unlocking gesture, it is determined whether the current stage unlocking event matches a preset corresponding stage unlocking event, including but not limited to:
judging whether the unlocking gesture of the current stage is matched with a preset unlocking gesture of a corresponding stage;
specifically, it is determined whether the current stage unlocking gesture matches a preset corresponding stage unlocking gesture, including but not limited to:
judging whether a sliding track corresponding to the current-level unlocking gesture is the same as a preset track corresponding to a corresponding-level unlocking gesture;
and if the sliding track corresponding to the unlocking gesture of the current stage is the same as the track corresponding to the preset unlocking gesture, judging that the unlocking gesture of the current stage is matched with the preset unlocking gesture of the corresponding stage.
Taking a preset corresponding-level unlocking gesture as a left-to-right linear sliding gesture as an example, if a left-to-right linear sliding gesture is detected on the screen of the current mobile terminal, it is determined that the current-level unlocking gesture matches the preset corresponding-level unlocking gesture.
In the second case, if the current-stage unlocking event is an unlocking password, it is determined whether the current-stage unlocking event matches a preset corresponding-stage unlocking event, including but not limited to:
and judging whether the unlocking password of the current stage is matched with the preset unlocking password of the corresponding stage.
Taking the preset corresponding-level unlocking password as "123", if it is detected that the user currently inputs the password and the value of the password is "123", it is determined that the current-level unlocking password matches the preset corresponding-level unlocking password.
In a third situation, if the current stage unlocking event is an unlocking voiceprint, it is determined whether the current stage unlocking event matches a preset corresponding stage unlocking event, including but not limited to:
acquiring a section of voice of an electronic equipment holder, and calculating the sound wave frequency spectrum characteristics of the voice to obtain a current-level unlocking voiceprint;
judging whether the current stage unlocking voiceprint is the same as a preset corresponding stage unlocking voiceprint or not;
and if the current stage unlocking voiceprint is the same as the preset corresponding stage unlocking voiceprint, judging that the current stage unlocking voiceprint is matched with the preset corresponding stage unlocking voiceprint.
In a fourth scenario, if the current stage unlocking event is an unlocking fingerprint, it is determined whether the current stage unlocking event matches a preset corresponding stage unlocking event, including but not limited to:
acquiring a fingerprint input by an electronic equipment holder;
judging whether the unlocking fingerprint of the current stage is the same as the preset unlocking fingerprint of the corresponding stage;
and if the current stage unlocking fingerprint is the same as the preset corresponding stage unlocking fingerprint, judging that the current stage unlocking fingerprint is matched with the preset corresponding stage unlocking fingerprint.
In a fifth scenario, if the current-stage unlocking event is an unlocking pattern, it is determined whether the current-stage unlocking event matches a preset corresponding-stage unlocking event, which includes but is not limited to:
acquiring an unlocking pattern currently input by an electronic equipment holder;
judging whether the current stage unlocking pattern is the same as a preset corresponding stage unlocking pattern or not;
and if the current stage unlocking pattern is the same as the preset corresponding stage unlocking pattern, judging that the current stage unlocking pattern is matched with the preset corresponding stage unlocking pattern.
Taking the preset corresponding-level unlocking pattern as a square as an example, if the current input pattern of the electronic equipment is detected and the input pattern is the square, the current-level unlocking pattern is judged to be matched with the preset corresponding-level unlocking pattern.
It should be noted that, when setting the preset number of level unlocking events, the following setting principle is generally followed:
the security level of the preset corresponding level unlocking event corresponding to the current level unlocking event is higher than that of the preset corresponding level unlocking event corresponding to the previous level unlocking event;
taking the setting of the three-level unlocking event as an example, the first-level unlocking event may be set as a simple sliding gesture (a sliding gesture from left to right), the second-level unlocking event may be set as a password (a password with a large number of digits), and a voiceprint or a fingerprint of the third-level unlocking event may be set.
In addition, when a new level of unlocking events is added, the security level of the new level of unlocking events is higher than that of the preset number of level of unlocking events. If the original preset number level is two levels, after a new level of unlocking event is added, the new level of unlocking event is a third level of unlocking event, and the probability that the new level of unlocking event is successfully unlocked by others is much lower than that of the first level of unlocking event and the second level of unlocking event.
Step 302: continuously detecting a next-level unlocking event, and judging whether the next-level unlocking event is matched with a preset corresponding-level unlocking event or not; repeating the steps until a preset number of unlocking events are detected, and judging whether the preset number of unlocking events are matched with a preset corresponding unlocking event or not; if the preset number of level unlocking events is matched with the preset corresponding level unlocking events, executing step 303; if the preset number of level unlocking events are not matched with the preset corresponding level unlocking events, the process is ended;
the size of the preset number may be 2, and of course, the size of the preset number may be other values besides the above-mentioned values, for example, 3 or 4, and the size of the preset number is not specifically limited in this embodiment.
In addition, the specific implementation manner of determining whether the next-stage unlocking event matches the preset corresponding-stage unlocking event and determining whether the preset number of-stage unlocking events matches the preset corresponding-stage unlocking event is the same as the manner of determining whether the current-stage unlocking event matches the preset corresponding-stage unlocking event in step 301, and is not described herein again.
Taking a preset 3-level unlocking event, a preset 1-level unlocking event is a straight unlocking gesture from left to right, a preset 2-level unlocking event is an unlocking password with a numerical value of 123 ', a preset 3-level unlocking event is a fingerprint of an electronic equipment holder, and a current-level unlocking event is a straight unlocking gesture from left to right as an example, because the current-level unlocking event is a left-to-right unlocking gesture and is matched with the preset 1-level unlocking event, the 2-level unlocking event can be continuously detected, if the 2-level unlocking event is detected, whether the 2-level unlocking event is matched with the preset 2-level unlocking event is judged, and if the 2-level unlocking event is an unlocking event with a numerical value of 123', the 2-level unlocking event is judged to be matched with the preset 2-level unlocking event; and continuing to detect a 3 rd-level unlocking event, if the 3 rd-level unlocking event is detected, judging whether the 3 rd-level unlocking event is matched with a preset 3 rd-level unlocking event, if the 3 rd-level unlocking event is the fingerprint of the electronic equipment holder, judging that the 3 rd-level unlocking event is matched with the preset 3 rd-level unlocking event, and directly executing the following step 303.
Step 303: m objects are determined so that the electronic device can respond to the trigger operation for the M objects.
For this step, after it is determined through the above steps 301 and 302 that each level of unlocking event matches the preset corresponding level of unlocking event, the triggering operation of the M objects may be responded through the electronic device, that is, at this time, the holder of the electronic device may operate any one of the M objects of the electronic device.
It should be noted that, in order to ensure that the unlocking manner provided by this embodiment has better security performance and stronger capability of preventing misoperation, when the unlocking events are preset, two adjacent stages of unlocking events are set to be different, that is, if one of the two adjacent stages of unlocking events is set as the unlocking password, the other is set as the unlocking gesture; or if the two adjacent unlocking events are set as unlocking passwords, the corresponding unlocking passwords are set to be different; or if the two adjacent unlocking events are set as the unlocking gestures, the corresponding unlocking gestures are set to be different. Certainly, the two adjacent unlocking events may also be set to be the same, that is, the two adjacent unlocking events are both set to be unlocking passwords, and the corresponding unlocking passwords are the same; or, if the two adjacent unlocking events are set as the unlocking gestures, and the corresponding unlocking gestures are the same, which setting mode is specifically adopted may be determined according to the situation.
Further, after judging that each level of unlocking event is matched with the preset corresponding level of unlocking event, the method provided in the above step executes the determination of M objects, so that the electronic device can respond to the trigger operation for the M objects, and further use each application program on the mobile terminal. It should be noted that, because not all objects in the M objects of the electronic device relate to user privacy, the electronic device does not need to be triggered to respond to the M objects simultaneously when all preset number of level unlocking events are matched with preset corresponding level unlocking events. Preferably, a corresponding object can be set for each level of unlocking event, that is, hierarchical unlocking is realized. And after judging that the first-level unlocking event is matched with the preset corresponding-level unlocking event, unlocking part of application programs on the mobile terminal, and when judging that the preset number-level unlocking event is matched with the preset unlocking event, enabling all applications on the mobile terminal to be in a usable state. The application program which is preferentially unlocked can be some application programs which relate to less private information of the user, such as a weather inquiry application or a music playing application, and the like, and the application programs which relate to more private information of the user, such as a mobile banking application and the like, are placed at the end to be unlocked. The specific process is as follows:
when the current stage unlocking event is an N-1 stage unlocking event, and the N-1 stage unlocking event is matched with a preset corresponding stage unlocking event, determining J objects so that the electronic equipment can respond to trigger operation aiming at the J objects; or,
when the current stage unlocking event is an Nth stage unlocking event, and the Nth stage unlocking event is matched with a preset corresponding stage unlocking event, determining K objects so that the electronic equipment can respond to trigger operation aiming at the K objects; or,
when the current stage unlocking event is an N +1 stage unlocking event and the N +1 stage unlocking event is matched with a preset corresponding stage unlocking event, determining L objects so that the electronic equipment can respond to trigger operation aiming at the L objects;
wherein J, K, L is a natural number greater than 0, and J is more than K and less than L and less than or equal to M.
For example, assuming that the preset number level is 3 levels, when it is determined that the first-level unlocking event matches the preset corresponding-level unlocking event, a calendar application and a clock application may be determined, so that the electronic device can respond to a trigger operation for the calendar application and the clock application. After that, even if the electronic device holder does not perform the next unlocking operation any more, the electronic device holder can still click the calendar application icon or the clock application icon to view the date or the time. Further, if the second-level unlocking event is judged to be matched with the preset corresponding-level unlocking event, the address book application and the short message application are determined, so that the electronic equipment can respond to the triggering operation aiming at the address book application and the short message application. And then, even if the electronic equipment holder does not perform third-level unlocking operation any more, the electronic equipment holder can still click the address book application icon or the short message application icon to view the contact person or the short message. Further, if the third-level unlocking event is judged to be matched with the preset corresponding-level unlocking event, applications with higher privacy levels, such as mobile banking applications and payment applications, are determined, so that the electronic equipment can respond to the triggering operation for the mobile banking applications and the payment applications.
It should be noted that, because the privacy levels of the objects of the electronic device are different, when an object corresponding to each level of unlocking event is set, the number of the unlocking event levels corresponding to each object may be determined according to the privacy levels of each object. The specific process is as follows:
the security level of the preset corresponding level unlocking event corresponding to the current level unlocking event is higher than that of the preset corresponding level unlocking event corresponding to the previous level unlocking event;
continuing with the above example, the first-level unlocking event may be set to a simple slide gesture (a left-to-right slide gesture), and for a calendar application, a clock application, and the like, since user privacy is not involved, the first-level unlocking event may be set to correspond to the first-level unlocking event, that is, the calendar application and the clock application may be used after the first-level unlocking is successfully performed. The second-level unlocking event can be set as a password (password with more digits), although the privacy level of the user is lower than that of the mobile banking application and the Payment treasure application aiming at the address book application and the short message application, the second-level unlocking event can be set to correspond to the second-level unlocking event, namely, the address book application and the short message application can be used after the second-level unlocking is successfully carried out. Finally, a third-level unlocking event voiceprint or fingerprint can be set, the mobile banking application and the payment bank application correspond to the third-level unlocking event, namely, the mobile banking application and the payment bank application can be used after the third-level unlocking is successfully carried out.
When a new level of unlocking events is added, the security level of the new level of unlocking events is higher than that of the preset number level of unlocking events.
If the original preset number level is two levels, after a new level of unlocking event is added, the new level of unlocking event is a third level of unlocking event, and the probability that the new level of unlocking event is successfully unlocked by others is much lower than that of the first level of unlocking event and the second level of unlocking event.
Optionally, for a hierarchical unlocking manner, in order to clearly determine an object corresponding to a current stage unlocking event, the method provided in this embodiment further includes the following steps:
and counting the unlocking stage number corresponding to the current-level unlocking event so as to determine the object corresponding to the current-level unlocking event according to the unlocking stage number corresponding to the current-level unlocking event.
Specifically, when counting the number of unlocking stages corresponding to the current stage unlocking event, a counter may be set, and after each successful unlocking, the number of stages of the counter is increased by 1. Therefore, if the current-stage unlocking event is matched with the preset corresponding-stage unlocking time, the unlocking stage number corresponding to the current-stage unlocking event can be determined by directly checking the numerical value of the counter.
According to the method provided by the embodiment, the preset number of levels of unlocking events are preset, and after the unlocking events at all levels are judged to be matched with the preset corresponding levels of unlocking events, the M objects are determined, so that the electronic equipment responds to the trigger operation aiming at the M objects, and the unlocking safety can be improved while the misoperation of the mobile terminal is prevented.
EXAMPLE III
An embodiment of the present invention provides an electronic device, configured to execute the method provided in the first embodiment or the second embodiment, and referring to fig. 4, the electronic device includes: a detection module 41, a determination module 42 and an unlocking module 43.
The detecting module 41 is configured to detect a current-stage unlocking event, and when the determining module 42 determines that the current-stage unlocking event matches a preset corresponding-stage unlocking event, continue to detect a next-stage unlocking event, and so on until a preset number of stages of unlocking events are detected;
a judging module 42, configured to judge whether the current-level unlocking event detected by the detecting module 41 matches a preset corresponding-level unlocking event, and after the detecting module 41 detects a next-level unlocking event, judge whether the next-level unlocking event matches the preset corresponding-level unlocking event, and so on, until after the detecting module 41 detects a preset-level unlocking event, judge whether the preset-level unlocking event matches the preset corresponding-level unlocking event;
the unlocking module 43 is configured to determine M objects after the determining module 42 determines that the preset number of level unlocking events detected by the detecting module 41 are matched with the preset corresponding level unlocking events, so that the electronic device can respond to the trigger operation for the M objects.
Optionally, the unlocking module is configured to determine J objects when the current-level unlocking event is an N-1-level unlocking event and the N-1-level unlocking event matches a preset corresponding-level unlocking event, so that the electronic device can respond to a trigger operation for the J objects; or when the current-level unlocking event is an Nth-level unlocking event and the Nth-level unlocking event is matched with a preset corresponding-level unlocking event, determining the K objects so that the electronic equipment can respond to trigger operation aiming at the K objects; or when the current-level unlocking event is the (N + 1) -level unlocking event and the (N + 1) -level unlocking event is matched with the preset corresponding-level unlocking event, determining the L objects so that the electronic equipment can respond to the trigger operation aiming at the L objects; wherein J, K, L is a natural number greater than 0, and J is more than K and less than L and less than or equal to M.
Optionally, the security level of the preset corresponding-level unlocking event corresponding to the current-level unlocking event is higher than the security level of the preset corresponding-level unlocking event corresponding to the previous-level unlocking event; or,
when a new level of unlocking events is added, the security level of the new level of unlocking events is higher than that of the preset number level of unlocking events.
Optionally, the electronic device further comprises:
and the counting module is used for counting the unlocking series corresponding to the current-level unlocking event so as to determine the object corresponding to the current-level unlocking event according to the unlocking series corresponding to the current-level unlocking event.
Optionally, any two adjacent unlocking events detected by the detection module are different.
In summary, in the electronic device provided in the embodiment of the present invention, a preset number of level unlocking events are preset, and after it is determined that each level unlocking event matches a preset corresponding level unlocking event, M objects are determined, so that the electronic device responds to a trigger operation for the M objects, thereby preventing a mobile terminal from being operated by mistake and improving unlocking security.
It should be noted that: in the electronic device provided in the above embodiment, only the division of the functional modules is exemplified when unlocking is performed, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the electronic device is divided into different functional modules to complete all or part of the functions described above. In addition, the unlocking device and the unlocking method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments in detail and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. An unlocking method is characterized in that the method is applied to electronic equipment, the electronic equipment comprises M objects, and M is more than or equal to 2; the method comprises the following steps:
detecting a current stage unlocking event, and judging whether the current stage unlocking event is matched with a preset corresponding stage unlocking event or not;
if the current stage unlocking event is matched with a preset corresponding stage unlocking event, continuously detecting a next stage unlocking event, and judging whether the next stage unlocking event is matched with the preset corresponding stage unlocking event or not;
and by analogy, determining the M objects until a preset number level unlocking event is detected and the preset number level unlocking event is matched with a preset corresponding level unlocking event, so that the electronic equipment can respond to the trigger operation aiming at the M objects.
2. The method of claim 1, wherein the preset number of levels of unlocking events is multiple levels, and wherein the matching of the current level of unlocking events with the preset corresponding level of unlocking events comprises:
when the current stage unlocking event is an N-1 stage unlocking event, and the N-1 stage unlocking event is matched with a preset corresponding stage unlocking event, determining J objects so that the electronic equipment can respond to trigger operation aiming at the J objects; or,
when the current stage unlocking event is an Nth stage unlocking event, and the Nth stage unlocking event is matched with a preset corresponding stage unlocking event, determining K objects so that the electronic equipment can respond to trigger operation aiming at the K objects; or,
when the current stage unlocking event is an N +1 stage unlocking event and the N +1 stage unlocking event is matched with a preset corresponding stage unlocking event, determining L objects so that the electronic equipment can respond to trigger operation aiming at the L objects;
wherein J, K, L is a natural number greater than 0, and J is more than K and less than L and less than or equal to M.
3. The method according to claim 1 or 2, wherein the security level of a preset corresponding level unlocking event corresponding to the current level unlocking event is higher than the security level of a preset corresponding level unlocking event corresponding to a previous level unlocking event; or,
when a new level of unlocking events is added, the security level of the new level of unlocking events is higher than that of the preset number level of unlocking events.
4. The method according to claim 2, wherein after determining that the current stage unlocking event matches a preset corresponding stage unlocking event, the method further comprises:
and counting the unlocking series corresponding to the current-level unlocking event so as to determine the object corresponding to the current-level unlocking event according to the unlocking series corresponding to the current-level unlocking event.
5. The method of any of claims 1 to 4, wherein any two adjacent levels of unlocking events are different.
6. An electronic device, wherein the electronic device comprises M objects, M is greater than or equal to 2; the electronic device includes: the device comprises a detection module, a judgment module and an unlocking module;
the detection module is used for detecting a current-level unlocking event, and when the judgment module judges that the current-level unlocking event is matched with a preset corresponding-level unlocking event, continuously detecting a next-level unlocking event, and so on until a preset number of levels of unlocking events are detected;
the judging module is used for judging whether a current-level unlocking event detected by the detecting module is matched with a preset corresponding-level unlocking event or not, judging whether a next-level unlocking event is matched with the preset corresponding-level unlocking event or not after the detecting module detects the next-level unlocking event, and repeating the steps until the detecting module detects the preset-level unlocking event, and judging whether the preset-level unlocking event is matched with the preset corresponding-level unlocking event or not;
the unlocking module is used for determining M objects after the judgment module judges that the preset number of level unlocking events detected by the detection module are matched with the preset corresponding level unlocking events, so that the electronic equipment can respond to the triggering operation aiming at the M objects.
7. The electronic device according to claim 6, wherein the unlocking module is configured to determine J objects when the current-stage unlocking event is an N-1-stage unlocking event and the N-1-stage unlocking event matches a preset corresponding-stage unlocking event, so that the electronic apparatus can respond to a trigger operation for the J objects; or when the current-stage unlocking event is an nth-stage unlocking event and the nth-stage unlocking event is matched with a preset corresponding-stage unlocking event, determining K objects so that the electronic equipment can respond to trigger operations aiming at the K objects; or when the current stage unlocking event is an N +1 stage unlocking event and the N +1 stage unlocking event is matched with a preset corresponding stage unlocking event, determining L objects so that the electronic equipment can respond to trigger operation aiming at the L objects; wherein J, K, L is a natural number greater than 0, and J is more than K and less than L and less than or equal to M.
8. The electronic device according to claim 6 or 7, wherein a security level of a preset corresponding level unlocking event corresponding to the current level unlocking event is higher than a security level of a preset corresponding level unlocking event corresponding to a previous level unlocking event; or,
when a new level of unlocking events is added, the security level of the new level of unlocking events is higher than that of the preset number level of unlocking events.
9. The electronic device of claim 7, further comprising:
and the counting module is used for counting the unlocking series corresponding to the current-level unlocking event so as to determine the object corresponding to the current-level unlocking event according to the unlocking series corresponding to the current-level unlocking event.
10. The electronic device of any of claims 6-9, wherein any two adjacent levels of unlocking events detected by the detection module are different.
CN201410082882.0A 2014-03-07 2014-03-07 Unlocking method and electronic device Pending CN103885772A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410082882.0A CN103885772A (en) 2014-03-07 2014-03-07 Unlocking method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410082882.0A CN103885772A (en) 2014-03-07 2014-03-07 Unlocking method and electronic device

Publications (1)

Publication Number Publication Date
CN103885772A true CN103885772A (en) 2014-06-25

Family

ID=50954682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410082882.0A Pending CN103885772A (en) 2014-03-07 2014-03-07 Unlocking method and electronic device

Country Status (1)

Country Link
CN (1) CN103885772A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166518A (en) * 2014-08-15 2014-11-26 北京数字天域科技股份有限公司 Screen unlocking method and device
CN104915582A (en) * 2015-05-28 2015-09-16 努比亚技术有限公司 Unlocking method and unlocking device
CN105100466A (en) * 2015-07-15 2015-11-25 广东欧珀移动通信有限公司 Voiceprint-based screen unlocking and locking method and mobile terminal
CN105824546A (en) * 2016-02-29 2016-08-03 维沃移动通信有限公司 Method for entering fingerprint setting interface and electronic equipment
CN107545167A (en) * 2017-09-05 2018-01-05 广东欧珀移动通信有限公司 Unlocking screen method, apparatus and terminal
EP3147768A4 (en) * 2015-01-09 2018-01-10 Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd. Screen interface unlocking method and screen interface unlocking device
CN107679396A (en) * 2017-09-29 2018-02-09 惠州Tcl移动通信有限公司 A kind of mobile terminal screen unlocking method, storage medium and mobile terminal
WO2019061069A1 (en) * 2017-09-27 2019-04-04 深圳市云中飞网络科技有限公司 Method for unlocking electronic device, electronic device, storage medium, and program product

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166518A (en) * 2014-08-15 2014-11-26 北京数字天域科技股份有限公司 Screen unlocking method and device
EP3147768A4 (en) * 2015-01-09 2018-01-10 Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd. Screen interface unlocking method and screen interface unlocking device
CN104915582A (en) * 2015-05-28 2015-09-16 努比亚技术有限公司 Unlocking method and unlocking device
CN104915582B (en) * 2015-05-28 2017-12-22 努比亚技术有限公司 unlocking method and device
CN105100466A (en) * 2015-07-15 2015-11-25 广东欧珀移动通信有限公司 Voiceprint-based screen unlocking and locking method and mobile terminal
CN105100466B (en) * 2015-07-15 2018-06-29 广东欧珀移动通信有限公司 A kind of solution screen locking method and mobile terminal based on vocal print
CN105824546A (en) * 2016-02-29 2016-08-03 维沃移动通信有限公司 Method for entering fingerprint setting interface and electronic equipment
CN107545167A (en) * 2017-09-05 2018-01-05 广东欧珀移动通信有限公司 Unlocking screen method, apparatus and terminal
WO2019061069A1 (en) * 2017-09-27 2019-04-04 深圳市云中飞网络科技有限公司 Method for unlocking electronic device, electronic device, storage medium, and program product
US11222107B2 (en) 2017-09-27 2022-01-11 Shenzhen Heytap Technology Corp., Ltd. Method for unlocking electronic device, electronic device, and storage medium
CN107679396A (en) * 2017-09-29 2018-02-09 惠州Tcl移动通信有限公司 A kind of mobile terminal screen unlocking method, storage medium and mobile terminal
CN107679396B (en) * 2017-09-29 2020-08-11 惠州Tcl移动通信有限公司 Mobile terminal screen unlocking method, storage medium and mobile terminal

Similar Documents

Publication Publication Date Title
CN103885772A (en) Unlocking method and electronic device
US11003754B2 (en) Method and apparatus for user authentication based on feature information
CN104992102A (en) Message display method and apparatus
EP3147768A1 (en) Screen interface unlocking method and screen interface unlocking device
CN105160228A (en) Mobile terminal unlocking method and mobile terminal
WO2016015448A1 (en) Multi-system entering method, apparatus and terminal
CN104951685A (en) Method and mobile terminal for running application programs
CN105678147B (en) Touch operation method and device
CN103745144A (en) Terminal and terminal unlocking method
CN105447368A (en) User terminal access right control method and user terminal
CN103795868A (en) Mobile terminal screen unlocking method and device and mobile terminal
CN104598783A (en) Unlocking method and device of intelligent terminal
EP3403210B1 (en) User interface for a mobile device
US20150007306A1 (en) Electronic device and unlocking method
CN106570370A (en) User identity identification method and device
CN105550557A (en) Method for logging in different systems through fingerprint recognition and terminal device
CN107087075B (en) Prompting method based on screen fingerprint identification and mobile terminal
CN104808933B (en) The solution lock control method and device of intelligent terminal
CN104346549A (en) Information processing method and electronic equipment
CN105786370B (en) The method and device of user interface unlock
CN106250730B (en) A kind of smartwatch unlocking method and a device
CN105243304A (en) Mobile terminal unlocking method and apparatus
CN107133510A (en) A kind of terminal pattern switching method and device
CN107247558A (en) A kind of terminal control method, device, computer installation and readable storage medium storing program for executing
CN106295472A (en) A kind of fingerprint pattern application process and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140625

RJ01 Rejection of invention patent application after publication