CN115758309A - Screen unlocking method and device, electronic equipment and readable storage medium - Google Patents

Screen unlocking method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN115758309A
CN115758309A CN202211432022.6A CN202211432022A CN115758309A CN 115758309 A CN115758309 A CN 115758309A CN 202211432022 A CN202211432022 A CN 202211432022A CN 115758309 A CN115758309 A CN 115758309A
Authority
CN
China
Prior art keywords
unlocking
user
electronic equipment
input
module
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
CN202211432022.6A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211432022.6A priority Critical patent/CN115758309A/en
Publication of CN115758309A publication Critical patent/CN115758309A/en
Priority to PCT/CN2023/127507 priority patent/WO2024104102A1/en
Pending legal-status Critical Current

Links

Images

Abstract

The application discloses a screen unlocking method and device, electronic equipment and a readable storage medium, and belongs to the technical field of terminals. The method comprises the steps of acquiring a first geographical position of the electronic equipment when the fact that the electronic equipment is used for more than a preset time is detected; acquiring the biological characteristics of the user under the condition that the first geographic position is located in a safe unlocking area; and unlocking the electronic equipment by using the biological recognition function of the electronic equipment under the condition that the biological characteristics of the user pass the biological recognition verification.

Description

Screen unlocking method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of terminals, and particularly relates to a screen unlocking method and device, an electronic device and a readable storage medium.
Background
The current smart phones support biometric unlocking, such as face unlocking, fingerprint unlocking, iris unlocking, and the like, but since biometric unlocking may be maliciously cracked, it is required that when biometric unlocking is set to be used, a user is forced to use a password for unlocking every set time period (for example, every 72 hours), which is called biometric unlocking timeout limit.
However, since the user is forced to unlock the device by using the password once at intervals, the user may forget to unlock the password when the user uses the device again after the user does not use the device for a long time, which may result in the device being unusable, and the user experience is reduced.
Disclosure of Invention
The embodiment of the application aims to provide a screen unlocking method and device, an electronic device and a readable storage medium, and can solve the problem that a user forgets an unlocking password, so that the device cannot be used.
In a first aspect, an embodiment of the present application provides a screen unlocking method, including:
the method comprises the steps that under the condition that the use of the electronic equipment is detected to exceed the preset time, a first geographical position where the electronic equipment is located is obtained;
acquiring the biological characteristics of the user under the condition that the first geographic position is located in a safe unlocking area;
and unlocking the electronic equipment by using the biological recognition function of the electronic equipment under the condition that the biological characteristics of the user pass the biological recognition verification.
In a second aspect, an embodiment of the present application provides a screen unlocking device, including:
the device comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring a first geographical position of the electronic equipment under the condition that the use of the electronic equipment exceeds a preset time length;
the second acquisition module is used for acquiring the biological characteristics of the user under the condition that the first geographic position is located in the safety unlocking area;
and the unlocking module is used for unlocking the electronic equipment by using the biological identification function of the electronic equipment under the condition that the biological characteristics of the user pass the biological identification verification.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, when it is detected that the electronic device is used for more than the preset time, the geographic position where the electronic device is located can be obtained, the biological feature of the user is obtained when the geographic position where the electronic device is located in the safe unlocking area, and the electronic device is unlocked by using the biological recognition function of the electronic device when the biological feature of the user passes the biological recognition verification. Namely, the electronic device is preset with a safety unlocking area, if the geographical position of the electronic device is located in the safety unlocking area, the biological recognition unlocking overtime limit is cancelled, the electronic device is directly unlocked through biological recognition, and therefore the fact that a user can use the electronic device quickly is determined under the condition that the safety degree is guaranteed to a certain degree.
Drawings
Fig. 1 is a flowchart of a screen unlocking method provided in an embodiment of the present application;
FIG. 2 is a schematic view of a display interface of an electronic device according to an embodiment of the present disclosure;
fig. 3 is a second schematic view of a display interface of an electronic device according to an embodiment of the present application;
FIG. 4 is a flowchart of a screen unlocking device provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below clearly with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
In the screen unlocking method provided by the embodiment of the application, the execution main body may be the screen unlocking device provided by the embodiment of the application, or the electronic device integrated with the screen unlocking device, wherein the screen unlocking device may be implemented in a hardware or software manner.
The screen unlocking method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Before the steps of the screen unlocking method according to the embodiment of the present application are described, a typical application scenario of the screen unlocking method according to the embodiment of the present application is described. Under the condition that the electronic equipment used by the user at present has a fault and can not be used, the electronic equipment before needs to be used for emergency treatment, and at the moment, because the electronic equipment before is not used for a long time, the user can not directly use the biological identification function to unlock the electronic equipment, and the electronic equipment can be unlocked only by inputting a password. However, the user usually forgets the password because the user is not used for a long time, so that the user cannot unlock the electronic device, and further the previous electronic device cannot be used. In the embodiment of the application, if the user is located at home, since the home is a place where the electronic device is frequently used, if the password is input when the electronic device is used at home in the past, the electronic device can be unlocked directly through the biometric function.
Please refer to fig. 1, which is a flowchart illustrating a screen unlocking method according to an embodiment of the present application. The method can be applied to electronic equipment, and the electronic equipment can be a mobile phone, a tablet computer, a notebook computer and the like. As shown in fig. 1, the method may include steps 1100-1300, which are described in detail below.
Step 1100, acquiring a first geographical location of an electronic device when it is detected that the usage time of the electronic device exceeds a preset time.
The preset time period may be related to a security level of a biometric sensor in the electronic device, and specifically, the higher the security level of the biometric sensor is, the longer the preset time period may be, where the preset time period may be 72 hours. It is understood that, in the related art, in order to ensure security, a password needs to be input to unlock the electronic device every time the electronic device is used for more than 72 hours. In addition, the fact that the use of the electronic device exceeds the preset duration in the embodiment of the present application can also be understood as that the electronic device uses the preset duration after the password is unlocked last time.
In an optional embodiment, the electronic device has a Positioning device therein, and the Positioning device may be a Global Positioning System (GPS) or a Global Navigation Satellite System (GNSS). Through the positioning device, the current geographic position of the electronic equipment can be obtained. For example, if it is detected that the electronic device has been used for 72 hours after the last password unlocking, the current geographic location of the electronic device may be obtained through a positioning device in the electronic device.
Step 1200, acquiring the biological characteristics of the user under the condition that the first geographic position is located in the safe unlocking area.
The safe unlocking area can be an area preset by a user based on an actual scene, or can be an area automatically generated by the electronic equipment based on the position of the password input each time in historical operation. The number of the safe unlocking areas can be one or more.
It is understood that the secure unlocking area can generally represent areas where the user often uses the electronic device, such as the user's home, the office where the user works, and when the electronic device is in these areas, the electronic device is considered to be probably not stolen, and therefore the biometric unlocking can be directly used to unlock the electronic device. Under the condition that the geographical position of the electronic equipment is located in the safe unlocking area, the overtime limit of the biological identification unlocking can be cancelled, namely, even if the fact that the electronic equipment is used for more than the preset time is detected, the user does not need to be forced to unlock by using a password, and the user can unlock more conveniently.
Step 1300, in the case that the biometric feature of the user passes the biometric authentication, unlocking the electronic device by using the biometric function of the electronic device.
In this embodiment, after the electronic device acquires the biometric features, the matching condition of the biometric features needs to be verified, and when it is determined that the acquired biometric features pass the verification, the electronic device is unlocked in a biometric feature recognition mode directly.
Illustratively, referring to the lock screen interface 21 shown in fig. 2, the lock screen interface 21 includes a password unlock region 22 and a fingerprint unlock region 23, through which a password can be input through the password unlock region 22, so as to unlock the electronic device if the password is verified. Fingerprint characteristics can be input through the fingerprint unlocking area 23, and then the electronic equipment is unlocked under the condition that the fingerprint is verified. If the electronic equipment is used for more than 72 hours, the position of the electronic equipment at the moment can be further obtained, if the current position of the electronic equipment is located in the safety unlocking area, the electronic equipment does not need to display a password input interface, but can directly obtain the fingerprint characteristics of the user, and the electronic equipment can be directly unlocked under the condition that the fingerprint characteristics of the user are further confirmed to be verified.
According to the embodiment of the application, when the fact that the electronic equipment is used for more than the preset time is detected, the geographical position where the electronic equipment is located can be obtained, the biological feature of the user is obtained under the condition that the geographical position where the electronic equipment is located in the safe unlocking area, and the electronic equipment is unlocked through the biological recognition function of the electronic equipment under the condition that the biological feature of the user passes the biological recognition verification. That is, the electronic device is preset with a corresponding security unlocking area, and the situation that the device is stolen or the password is maliciously cracked does not exist in the security unlocking area, so that if the geographic location of the electronic device is located in the security unlocking area, the biometric unlocking timeout limit is cancelled, that is, the user does not need to input the password, and the electronic device is directly unlocked in a biometric identification manner.
In one embodiment, before performing the above step 1200 to acquire the biometric features of the user when the first geographic location is within the secure unlocking area, the screen unlocking method of the embodiment of the present application further includes a step of generating the secure unlocking area.
In the case that the safe unlocking area is preset by the user based on the actual scene, the generating of the safe unlocking area may further include the following steps 2100 to 2300:
in step 2100, a security unlocking area generation control is displayed on a first interface.
In this step 2100, the first interface may be a setting interface, the first interface includes a password unlock setting control, a biometric unlock setting control, and a security unlock region generation control, the password may be input through the password unlock setting control, biometric information (for example, fingerprint information is input) may be input through the biometric unlock setting control, and the security unlock region may be set through the security unlock region generation control.
Step 2200, receiving a third input of the user to the safe unlocking area generation control.
Step 2200, in response to the third input, generating the secure unlock region.
For example, a user may click the security unlocking region generation control, enter the security unlocking region selection interface, select "home" as one of the security unlocking regions on the security unlocking region selection interface, and also select "office at work" as another security unlocking region on the security unlocking region selection interface.
According to the steps 2100 to 2300, the user can flexibly set the safe unlocking area, and the flexible setting of the safe unlocking area is realized.
In the case that the secure unlocking area is automatically generated based on the position where the password is input each time in the history operation, the generating the secure unlocking area may further include steps 3100 to 3300 of:
step 3100, receiving a password input by a user in a screen locking interface of the electronic device.
Step 3200, recording the second geographic location of the electronic device under the condition that the password verification is passed.
The password input in the screen locking interface of the electronic equipment is used for unlocking the electronic equipment by the password. The second geographic location is the geographic location where the electronic device is located when the password authentication is passed.
It will be appreciated that each time the user successfully unlocks the electronic device by entering the password, the electronic device may record the second geographic location at which it was located.
And 3300, generating the safe unlocking area according to the target geographic location when the password verification passes more than a set number of times at the target geographic location.
Wherein the second geographic location comprises the target geographic location.
It can be understood that the set number of times may be set according to an actual application scenario and an actual requirement, for example, the set number of times is 3. It can be understood that the electronic device may continuously record the geographic location where the electronic device is located when the electronic device is unlocked based on the password, and if the number of times of unlocking through the password in a geographic location exceeds 3 times, the area is considered as a safe unlocking area. It is understood that the geographic location of the electronic device is a range, for example, a circular area with a radius of a set value around a specific location of the electronic device.
According to the steps 3100 to 3300, the geographical position where the user frequently uses the electronic device can be automatically recorded, and the safety unlocking area can be generated based on the automatically recorded geographical position, so that automatic and accurate setting of the safety unlocking area is realized.
In one embodiment, after the above step 1100 is performed to obtain the first geographic location of the electronic device, the screen unlocking method of the embodiment of the present application further includes the following steps 4100 to 4300:
step 4100, displaying a map interface if the first geographic location is not within the safe unlocking area.
In this embodiment, under the condition that the geographic location of the electronic device is not located in the security unlocking area, the electronic device may invoke the map application, and further display the map interface 301 shown in fig. 3.
Step 4200, receiving a first input from a user to the map interface.
Wherein the first input is for selecting a target geographic location in the map interface. The target geographic location may be a geographic location where the user frequently uses the electronic device, and the target geographic location may be one or more.
Continuing with the above example, referring to FIG. 3, the user may select geographic position 41 as one of the target geographic positions on map interface 301, select geographic position 42 as yet another of the target geographic positions on map interface 301, and select geographic position 43 as yet another of the target geographic positions on map interface 301.
Step 4300, responding to the first input, acquiring the biological characteristics of the user under the condition that the selected target geographic position is detected to be matched with the safe unlocking area, and unlocking the electronic equipment by using the biological recognition function of the electronic equipment under the condition that the biological characteristics of the user pass the biological recognition verification.
In an optional embodiment, after receiving a first input to the map interface by the user, the electronic device may, in response to the first input, determine that the selected target geographic location matches the safety unlocking region if N safety unlocking regions are detected to exist and if the selected N target geographic locations correspond to the N safety unlocking regions one to one, where N is a positive integer. And acquiring the biological characteristics of the user when the selected target geographic position is detected to be matched with the safe unlocking area. After the electronic device acquires the biological characteristics, the matching condition of the biological characteristics needs to be verified, and the electronic device is unlocked in a biological characteristic identification mode directly under the condition that the acquired biological characteristics are confirmed to pass the verification.
Continuing with the above example, if the electronic device detects that three security unlocking areas, namely, the security unlocking area 31, the security unlocking area 32, and the security unlocking area 33 shown in fig. 3 exist, and further detects that the geographic location 41 is located in the security unlocking area 31, the geographic location 42 is located in the security unlocking area 32, and the geographic location 43 is located in the security unlocking area 33, it may be determined that the selected target geographic location matches the security unlocking area, and further obtain the biometric feature of the user, and if the obtained biometric feature passes verification, unlock the electronic device directly in a biometric feature recognition manner.
According to the embodiment, under the condition that the geographical position of the electronic equipment is not located in the safe unlocking area, the user is not forced to unlock the electronic equipment by using the password, but a map interface is displayed for the user to manually select the target geographical position through the map interface, and if the target geographical position is matched with the safe unlocking area, the electronic equipment can be unlocked by directly using a biological recognition mode, so that the user can unlock more conveniently.
In one embodiment, in the case of displaying a screen lock interface, the screen unlocking method in the embodiment of the present application further includes steps 5100 to 5300:
in step 5100, a second input from the user is received.
Wherein the second input is used to retrieve the password. Illustratively, a retrieval password control is included on the lock screen interface and can be clicked by the user.
Step 5200, in response to the second input, obtains a third geographic location where the electronic device is located.
Continuing with the above example, in the event that the user clicks the retrieve password control, the electronic device may record the current geographic location of the electronic device.
Step 5300, executing a password retrieving operation when detecting that the third geographic location is located in the secure unlocking area.
It will be appreciated that the retrieve password operation only requires the entry of a new password and not the entry of an old password. In an optional embodiment, in the case that the geographic location of the electronic device is located in the security unlocking area, the password recovery operation is directly performed.
In an optional embodiment, when the geographic location where the electronic device is located is not within the safe unlocking area, indicating that the user is currently located at a strange geographic location, the electronic device displays a map interface and receives a first input of the user to the map interface, wherein the first input is used for selecting a target geographic location in the map interface; in response to the first input, in a case that it is detected that the selected target geographic location matches the secure unlock region, a password recovery operation is performed, which may specifically refer to steps 4100 to 4300 described above.
For example, when the electronic device is located at a geographic location that is not within the secure unlock region, the electronic device may invoke a map application and display the map interface 301 shown in fig. 3. The user may select geographic position 41 as one of the target geographic positions on map interface 301, select geographic position 42 as another of the target geographic positions on map interface 301, and select geographic position 43 as yet another of the target geographic positions on map interface 301. The electronic device detects that three security unlocking areas, namely a security unlocking area 31, a security unlocking area 32 and a security unlocking area 33, exist, and further detects that a geographic position 41 is located in the security unlocking area 31, a geographic position 42 is located in the security unlocking area 32 and a geographic position 43 is located in the security unlocking area 33, so that it can be determined that the selected target geographic position is matched with the security unlocking area, and then password retrieving operation is performed.
According to the embodiment, the user can be quickly helped to retrieve the password under the condition that the geographical position of the electronic equipment is located in the safe unlocking area. And under the condition that the geographical position of the electronic equipment is not located in the safety unlocking area, a map interface is displayed for a user to manually select a target geographical position, and if the target geographical position is matched with the safety unlocking area, the password retrieving operation can be executed. Meanwhile, the user needs to manually select a plurality of target geographic positions, and if the selected target geographic positions are consistent with the plurality of safe unlocking areas, the password retrieving operation can be executed, so that the situation that the thief knows the approximate residence of the user to crack the password is prevented.
According to the screen unlocking method provided by the embodiment of the application, the execution main body can be a screen unlocking device. The screen unlocking device provided by the embodiment of the present application is described by taking a method for executing screen unlocking by a screen unlocking device as an example.
Corresponding to the above embodiment, referring to fig. 4, an embodiment of the present application further provides a screen unlocking device 400, where the screen unlocking device 400 includes a first obtaining module 410, a second obtaining module 420, and an unlocking module 430.
A first obtaining module 410, configured to obtain a first geographic location of an electronic device when it is detected that usage of the electronic device exceeds a preset duration;
a second obtaining module 420, configured to obtain a biometric characteristic of the user if the first geographic location is within the secure unlock region;
an unlocking module 430, configured to unlock the electronic device using a biometric function of the electronic device if the biometric characteristic of the user passes biometric verification.
In one embodiment, the apparatus 400 further comprises a first display module and a first receiving module (neither shown).
The first display module is used for displaying a map interface under the condition that the first geographic position is not located in a safe unlocking area;
the first receiving module is used for receiving a first input of a user to the map interface, and the first input is used for selecting a target geographic position in the map interface;
the second obtaining module 420 is further configured to, in response to the first input, obtain a biometric feature of the user in a case where the selected target geographic location is detected to match the secure unlocking area;
the unlocking module 430 is further configured to unlock the electronic device using a biometric function of the electronic device if the biometric characteristic of the user passes biometric verification.
In one embodiment, the apparatus 400 further comprises a determination module (not shown in the figures).
The determining module is configured to, in response to the first input, determine that the selected target geographic location matches the security unlocking area when N security unlocking areas are detected, and when the selected N target geographic locations correspond to the N security unlocking areas one to one, where N is a positive integer.
In one embodiment, the apparatus further comprises a second receiving module, a recording module and a generating module (none of which are shown in the figure).
The second receiving module is used for receiving a password input by a user in a screen locking interface of the electronic equipment;
the recording module is used for recording the second geographic position of the electronic equipment under the condition that the password is verified;
the generation module is used for generating the safe unlocking area according to the target geographic position under the condition that the number of times of password verification passing at the target geographic position exceeds the set number of times;
wherein the second geographic location comprises the target geographic location.
In one embodiment, the apparatus 400 further includes a third receiving module, a third obtaining module, and a password retrieving module (none of which are shown).
The third receiving module is used for receiving a second input of the user, wherein the second input is used for retrieving the password;
a third obtaining module, configured to obtain, in response to the second input, a third geographic location where the electronic device is located;
and the password retrieving module is used for executing password retrieving operation under the condition that the third geographic position is detected to be located in the safe unlocking area.
According to the embodiment of the application, when the fact that the electronic equipment is used for more than the preset time is detected, the geographic position where the electronic equipment is located can be obtained, the biological characteristics of the user are obtained under the condition that the geographic position where the electronic equipment is located in the safe unlocking area, and the electronic equipment is unlocked through the biological recognition function of the electronic equipment under the condition that the biological characteristics of the user pass through biological recognition verification. That is, the electronic device is preset with a corresponding security unlocking area, and the situation that the device is stolen or the password is maliciously cracked does not exist in the security unlocking area, so that if the geographic location of the electronic device is located in the security unlocking area, the biometric unlocking timeout limit is cancelled, that is, the user does not need to input the password, and the electronic device is directly unlocked in a biometric identification mode.
The screen unlocking device in the embodiment of the present application may be an electronic device, and may also be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The screen unlocking device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The screen unlocking device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 5, an electronic device 500 is further provided in the embodiment of the present application, and includes a processor 501 and a memory 502, where the memory 502 stores a program or an instruction that can be executed on the processor 501, and when the program or the instruction is executed by the processor 501, the steps of the screen unlocking method embodiment are implemented, and the same technical effects can be achieved, and are not described again to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 1010 is configured to acquire a first geographic location of the electronic device when it is detected that the usage time of the electronic device exceeds a preset time period; acquiring the biological characteristics of the user under the condition that the first geographic position is located in a safe unlocking area; and unlocking the electronic equipment by using the biological identification function of the electronic equipment under the condition that the biological characteristics of the user pass the biological identification verification.
According to the embodiment of the application, when the fact that the electronic equipment is used for more than the preset time is detected, the geographic position where the electronic equipment is located can be obtained, the biological characteristics of the user are obtained under the condition that the geographic position where the electronic equipment is located in the safe unlocking area, and the electronic equipment is unlocked through the biological recognition function of the electronic equipment under the condition that the biological characteristics of the user pass through biological recognition verification. That is, the electronic device is preset with a corresponding security unlocking area, and the situation that the device is stolen or the password is maliciously cracked does not exist in the security unlocking area, so that if the geographic location of the electronic device is located in the security unlocking area, the biometric unlocking timeout limit is cancelled, that is, the user does not need to input the password, and the electronic device is directly unlocked in a biometric identification manner.
Optionally, the processor 1010 is further configured to display a map interface if the first geographic location is not within the safe unlocking area; receiving a first input of the map interface by a user, wherein the first input is used for selecting a target geographic position in the map interface; in response to the first input, in the case that the selected target geographic location is detected to be matched with the safe unlocking area, obtaining the biological characteristics of the user, and in the case that the biological characteristics of the user pass the biological identification verification, unlocking the electronic device by using the biological identification function of the electronic device.
Optionally, the processor 1010 is further configured to, in response to the first input, determine that the selected target geographic location matches the security unlocking area when N security unlocking areas are detected to exist, and if the selected N target geographic locations correspond to the N security unlocking areas one to one, where N is a positive integer.
Optionally, the processor 1010 is further configured to receive a password input by a user in a lock screen interface of the electronic device; recording a second geographic position of the electronic equipment under the condition that the password is verified; under the condition that the number of times of password verification passing at the target geographic position exceeds the set number of times, generating the safe unlocking area according to the target geographic position; wherein the second geographic location comprises the target geographic location.
Optionally, the processor 1010 is further configured to receive a second input from the user, where the second input is used to retrieve the password; responding to the second input, and acquiring a third geographic position where the electronic equipment is located; and under the condition that the third geographic position is detected to be positioned in the safe unlocking area, the password retrieving operation is executed.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 1009 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor, which primarily handles operations related to the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the screen unlocking method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above-mentioned screen unlocking method embodiment, and can achieve the same technical effect, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing screen unlocking method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application or portions thereof that contribute to the prior art may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.

Claims (12)

1. A screen unlocking method, characterized in that the method comprises:
the method comprises the steps that under the condition that it is detected that the use time of the electronic equipment exceeds a preset time, a first geographical position where the electronic equipment is located is obtained;
acquiring the biological characteristics of the user under the condition that the first geographic position is located in a safe unlocking area;
and unlocking the electronic equipment by using the biological recognition function of the electronic equipment under the condition that the biological characteristics of the user pass the biological recognition verification.
2. The method of claim 1, after obtaining the first geographic location of the electronic device, comprising:
displaying a map interface if the first geographic location is not within a safe unlock region;
receiving a first input of a user to the map interface, the first input being used to select a target geographic location in the map interface;
in response to the first input, in the case that the selected target geographic location is detected to be matched with the safe unlocking area, obtaining the biological characteristics of the user, and in the case that the biological characteristics of the user pass the biological identification verification, unlocking the electronic device by using the biological identification function of the electronic device.
3. The method of claim 2, further comprising, after the receiving a first input to the map interface by a user:
responding to the first input, under the condition that N safe unlocking areas exist, and under the condition that the selected N target geographic positions are in one-to-one correspondence with the N safe unlocking areas, determining that the selected target geographic positions are matched with the safe unlocking areas, wherein N is a positive integer.
4. The method of claim 1, wherein obtaining the biometric characteristic of the user prior to the first geographic location being within the secure unlock region comprises:
receiving a password input by a user in a screen locking interface of the electronic equipment;
recording a second geographic position of the electronic equipment under the condition that the password is verified;
under the condition that the number of times of password verification passing at the target geographic position exceeds the set number of times, generating the safe unlocking area according to the target geographic position;
wherein the second geographic location comprises the target geographic location.
5. The method of claim 1, wherein in the case of displaying a lock screen interface, the method further comprises:
receiving a second input of the user, wherein the second input is used for retrieving the password;
responding to the second input, and acquiring a third geographic position where the electronic equipment is located;
and under the condition that the third geographic position is detected to be in a safe unlocking area, the password recovery operation is executed.
6. A screen unlocking apparatus, characterized in that the apparatus comprises:
the first acquisition module is used for acquiring a first geographical position of the electronic equipment when the fact that the use of the electronic equipment exceeds a preset time is detected;
the second acquisition module is used for acquiring the biological characteristics of the user under the condition that the first geographic position is located in the safety unlocking area;
and the unlocking module is used for unlocking the electronic equipment by using the biological identification function of the electronic equipment under the condition that the biological characteristics of the user pass the biological identification verification.
7. The apparatus of claim 6, further comprising a first display module and a first receiving module,
the first display module is used for displaying a map interface under the condition that the first geographic position is not located in a safety unlocking area;
the first receiving module is used for receiving a first input of a user to the map interface, and the first input is used for selecting a target geographic position in the map interface;
the second obtaining module is further configured to obtain, in response to the first input, a biometric characteristic of the user in a case where it is detected that the selected target geographic location matches the secure unlock region;
the unlocking module is further used for unlocking the electronic equipment by using the biological recognition function of the electronic equipment under the condition that the biological features of the user pass the biological recognition verification.
8. The apparatus of claim 7, further comprising a determination module,
the determining module is configured to, in response to the first input, determine that the selected target geographic location matches the safety unlocking region when N safety unlocking regions are detected, and if the selected N target geographic locations correspond to the N safety unlocking regions one to one, where N is a positive integer.
9. The apparatus of claim 6, further comprising a second receiving module, a recording module, and a generating module,
the second receiving module is used for receiving a password input by a user in a screen locking interface of the electronic equipment;
the recording module is used for recording the second geographic position of the electronic equipment under the condition that the password is verified;
the generation module is used for generating the safe unlocking area according to the target geographic position under the condition that the number of times of password verification passing at the target geographic position exceeds the set number of times;
wherein the second geographic location comprises the target geographic location.
10. The apparatus of claim 9, further comprising a third receiving module, a third obtaining module, and a password retrieving module,
the third receiving module is used for receiving a second input of the user, and the second input is used for retrieving the password;
a third obtaining module, configured to obtain, in response to the second input, a third geographic location where the electronic device is located;
and the password retrieving module is used for executing password retrieving operation under the condition that the third geographic position is detected to be positioned in the safe unlocking area.
11. An electronic device, comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the screen unlocking method according to any one of claims 1-5.
12. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the screen unlocking method according to any one of claims 1-5.
CN202211432022.6A 2022-11-15 2022-11-15 Screen unlocking method and device, electronic equipment and readable storage medium Pending CN115758309A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211432022.6A CN115758309A (en) 2022-11-15 2022-11-15 Screen unlocking method and device, electronic equipment and readable storage medium
PCT/CN2023/127507 WO2024104102A1 (en) 2022-11-15 2023-10-30 Screen unlocking method and apparatus, and electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211432022.6A CN115758309A (en) 2022-11-15 2022-11-15 Screen unlocking method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115758309A true CN115758309A (en) 2023-03-07

Family

ID=85371799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211432022.6A Pending CN115758309A (en) 2022-11-15 2022-11-15 Screen unlocking method and device, electronic equipment and readable storage medium

Country Status (2)

Country Link
CN (1) CN115758309A (en)
WO (1) WO2024104102A1 (en)

Also Published As

Publication number Publication date
WO2024104102A1 (en) 2024-05-23

Similar Documents

Publication Publication Date Title
CN106778222B (en) Unlocking method and device
US8271799B2 (en) System and method for generating a disguised password based on a real password
US8903359B2 (en) Mobile device and NFC service protection method of the mobile device
US9449163B2 (en) Electronic device and method for logging in application program of the electronic device
EP3147768A1 (en) Screen interface unlocking method and screen interface unlocking device
US8121359B2 (en) Fingerprint identification system and method of an electronic device
CN107145772B (en) Terminal equipment security control method and device and terminal equipment
EP3407256A1 (en) Recognizing biological feature
US20200236539A1 (en) Method for protecting privacy on mobile communication device
CN107623899B (en) Information processing method, information processing apparatus, storage medium, and electronic device
US10521241B1 (en) Preventing unauthorized powering off of mobile devices
CN105447357A (en) Application processing method and terminal
US20150047019A1 (en) Information processing method and electronic device
CN104486745A (en) Mobile terminal anti-theft tracking device
US11720224B2 (en) Data storage using image objects shown in a real-time view
CN107862192B (en) Login interface unlocking method and device, computer equipment and storage medium
CN115758309A (en) Screen unlocking method and device, electronic equipment and readable storage medium
EP3567501B1 (en) Electronic device
CN111222114A (en) Data hiding method, readable storage medium and terminal equipment
CN105721506B (en) Method, device and system for account number theft prevention
US20180124034A1 (en) Image based method, system and computer program product to authenticate user identity
CN112765620A (en) Display control method, display control device, electronic device, and medium
CN109165496B (en) Lock state releasing method and device
US20130244613A1 (en) Mobile Device Security System and Method
US11449597B2 (en) Transposed passwords

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