CN115758323A - Unlocking processing method and device - Google Patents

Unlocking processing method and device Download PDF

Info

Publication number
CN115758323A
CN115758323A CN202211469800.9A CN202211469800A CN115758323A CN 115758323 A CN115758323 A CN 115758323A CN 202211469800 A CN202211469800 A CN 202211469800A CN 115758323 A CN115758323 A CN 115758323A
Authority
CN
China
Prior art keywords
scene
data
scene data
user
objects
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
CN202211469800.9A
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.)
Nanjing Weibo Software Technology Co ltd
Original Assignee
Nanjing Weibo Software Technology 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 Nanjing Weibo Software Technology Co ltd filed Critical Nanjing Weibo Software Technology Co ltd
Priority to CN202211469800.9A priority Critical patent/CN115758323A/en
Publication of CN115758323A publication Critical patent/CN115758323A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application discloses an unlocking processing method and device, and belongs to the technical field of communication. The method comprises the following steps: the method comprises the steps that under the condition that a user forgets an unlocking password, a camera of the electronic equipment is started, and a first scene is scanned through the camera; acquiring first scene data corresponding to the first scene; and unlocking the electronic equipment or displaying a password modification interface under the condition that the first scene data is matched with target scene data prestored in the electronic equipment.

Description

Unlocking processing method and device
Technical Field
The application belongs to the technical field of communication, and particularly relates to an unlocking processing method and device.
Background
With the continuous development of science and technology, electronic devices play an increasingly important role in the life of people, and are closely related to the daily life of each person. Generally, for security, most users set an unlocking password, such as a fingerprint password, a digital password, a face password, etc., for the electronic device to protect personal privacy data of the user. In order to further improve the safety of the electronic equipment, in some scenes, the electronic equipment forcibly requires a user to input an unlocking password once at regular intervals, and the electronic equipment can be unlocked for the user to use under the condition that the password input by the user is correct. In the case that the password input by the user for many times is wrong, the electronic device is locked for a period of time, so that the use of the user is influenced. In other scenarios, the electronic device may be locked completely in the event that the user incorrectly enters multiple passwords. And, the user can continue to use the device only by restoring the factory settings. In the two cases, if the user inputs the wrong password by misoperation for many times or forgets to unlock the password, the normal use of the electronic device by the user is affected, and even personal data is lost, which brings unnecessary troubles to life.
Disclosure of Invention
The embodiment of the application aims to provide an unlocking processing method and device, and the problem that normal use of electronic equipment is influenced by a user due to the fact that a wrong password is input for many times or an unlocking password is forgotten can be solved.
In a first aspect, an embodiment of the present application provides an unlocking processing method, where the method includes:
the method comprises the steps that under the condition that a user forgets an unlocking password, a camera of the electronic equipment is started, and a first scene is scanned through the camera;
acquiring first scene data corresponding to the first scene;
and unlocking the electronic equipment or displaying a password modification interface under the condition that the first scene data is matched with target scene data prestored in the electronic equipment.
In a second aspect, an embodiment of the present application provides an unlocking processing apparatus, including:
the control module is used for starting a camera of the electronic equipment and scanning a first scene through the camera under the condition that a user forgets an unlocking password;
the acquisition module is used for acquiring first scene data corresponding to the first scene;
and the unlocking module is used for unlocking the electronic equipment or displaying a password modification interface under the condition that the first scene data is matched with target scene data prestored in the electronic equipment.
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, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In this application embodiment, through forgetting the condition of unblock password at the user, open electronic equipment's camera, through the first scene of camera scanning is obtained first scene data that first scene corresponds first scene data with under the target scene data assorted condition that prestores in the electronic equipment, the unblock electronic equipment or show password modification interface. Therefore, the problem that the normal use of the electronic equipment is influenced by a user due to the fact that the wrong password is input for many times or the unlocking password is forgotten can be avoided.
Drawings
Fig. 1 is a flowchart of an unlocking processing method according to an embodiment of the present application;
fig. 2 is a schematic diagram (one) of an unlocking processing method according to an embodiment of the present application;
fig. 3 is a schematic diagram (two) of an unlocking processing method according to an embodiment of the present application;
fig. 4 is a schematic diagram (three) of an unlocking processing method according to an embodiment of the present application;
fig. 5 is a schematic diagram (iv) of an unlocking processing method according to an embodiment of the present application;
fig. 6 is a block schematic diagram of an unlocking processing device according to an embodiment of the present application;
FIG. 7 is a block schematic diagram of an electronic device of an embodiment of the application;
fig. 8 is a hardware configuration diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below 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 "/", and generally means that the former and latter related objects are in an "or" relationship.
The unlocking processing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through a specific embodiment and an application scenario thereof.
As shown in fig. 1, an unlocking processing method provided in the embodiment of the present application includes steps 101 to 103.
Step 101, starting a camera of the electronic device under the condition that a user forgets an unlocking password, and scanning a first scene through the camera.
In this embodiment, the unlocking password may be a screen locking password of the electronic device preset by the user. The unlock code may be a character, such as "12345678," or a graphical code, such as a "zig-zag" code. The specific form of the unlocking password is not limited here.
Generally, a user can input a password and unlock the electronic device if the password is consistent with a set password. However, in some specific scenarios, the user may not match the set password with the password input many times due to mistyping the unlock password, and when the number of times of inputting the password reaches the set number of times, the user cannot continue to input the password to unlock the electronic device for a while.
In this case, in the embodiment of the present application, the electronic device may send a third prompt message to the user, where the third prompt message may be a message used for prompting the user to enter a password recovery process. For example, the third prompt information may be information for prompting the user to input a fingerprint for fingerprint authentication, may be information for prompting the user to input facial information for facial recognition, and may be information for prompting the user to input a fingerprint and facial information for fingerprint recognition and facial recognition. The user can input the first information corresponding to the third prompt information. The electronic equipment carries out verification based on the first information, and a camera of the electronic equipment is started under the condition that the verification is passed.
In one example, the electronic device may have fingerprint information of the user pre-stored therein. When the password input by the user for unlocking for many times is inconsistent with the set password and the input times are excessive, the electronic device may send prompt information for instructing the user to input a fingerprint to the user. The user can input the fingerprint according to the prompt message. And under the condition that the fingerprint information is matched with the pre-stored fingerprint information, starting a camera of the electronic equipment.
It can be understood that the camera which starts the electronic device may be a rear camera of the electronic device or a front camera of the electronic device, the started camera may also be one of the cameras which starts the electronic device at random, and when the cameras need to be switched, a user may switch the cameras by operating the electronic device. It will be understood by those skilled in the art that the manner in which the cameras are turned on and the number of cameras turned on are not limited herein.
After a camera of the electronic device is started, a first scene is scanned through the camera. The first scene may be a scene in which scene data is prestored in the electronic device. When the electronic device prestores scene data of a plurality of scenes, the first scene may be any one of the plurality of scenes.
And 102, acquiring first scene data corresponding to the first scene.
In this embodiment, after the camera is turned on, the image data of the first scene may be acquired. And the electronic equipment performs AR augmented reality processing on the acquired image data and displays the processed image data on an AR page. Meanwhile, the electronic equipment also measures and calculates the processed image data to obtain first scene data.
Wherein first scene data comprises data of a plurality of objects in the first scene, the data of the objects comprising: contour information (e.g., size, shape, etc.) of the object, absolute position coordinates of the object, relative position coordinates between the object and other objects in the first scene.
103, under the condition that the first scene data is matched with target scene data prestored in the electronic equipment, unlocking the electronic equipment or displaying a password modification interface.
In this embodiment, the electronic device may match the first scene data with the target scene data. It can be understood that the object in the first scene data may be matched with the contour information of the object in the target scene data, the absolute position coordinate of the object in the first scene data may be matched with the absolute position coordinate of the object in the target scene data, or the relative position coordinate between the object in the first scene data and another object in the first scene may be matched with the relative position coordinate between the object in the target scene data and another object in the first scene. And under the condition that the first scene data is matched with target scene data prestored in the electronic equipment, the electronic equipment can be unlocked directly. Or displaying a password modification interface under the condition that the first scene data is matched with target scene data prestored in the electronic equipment, so that a user can modify the unlocking password.
According to the embodiment of the application, the camera of the electronic equipment is started through forgetting the unlocking password by the user, the camera scans the first scene, the first scene data corresponding to the first scene are acquired, and the electronic equipment or the display password modification interface is unlocked under the condition that the target scene data are pre-stored in the electronic equipment and are matched with each other. After AR scene verification is carried out on a preset security scene, the electronic equipment can be unlocked or the password can be triggered to be modified, so that the electronic equipment can be normally used, and the problem that normal use of the electronic equipment is influenced by a user due to the fact that the user inputs a wrong password or forgets to unlock the password due to misoperation for multiple times can be solved.
In an embodiment, a method for presetting target scene data of a first scene and position information corresponding to the first scene is further provided, that is, before a camera of an electronic device is turned on, the method further includes:
step 201, under the condition that a user determines a first scene, scanning the first scene through the camera, and obtaining target scene data corresponding to the first scene.
In this embodiment, the user may select the first scenario. Wherein the first scenario may be a scenario that the user considers relatively safe. Illustratively, the first scenario may be a user's private space, such as a bedroom. The first scene may also be a space that the user and a close person can touch, such as a living room of the user. After the user selects the first scene, the camera can be controlled to be turned on so as to scan the first scene. After the camera scans the first scene, image data of the first scene may be acquired, where the image data may be a picture or a video. After the image data is obtained, the image data can be measured and calculated by adopting a machine vision algorithm to obtain target scene data.
In one embodiment, the target scene data may include data of a plurality of objects in the first scene, the data of the objects including contour information of the objects, absolute position coordinates of the objects, and relative position coordinates between the objects and other objects corresponding to the first scene.
In this embodiment, when obtaining the data of the plurality of objects in the first scene through a machine vision algorithm, first, contour information of the plurality of objects in the first scene, for example, a size, a shape, and the like of the object, may be obtained according to the image data, and then, absolute position coordinates of the plurality of objects and relative position coordinates between one of the plurality of objects and other objects may be obtained according to the contour information of the plurality of objects in the first scene.
In order to further improve the accuracy of the target scene data, when the camera is turned on and the image data of the first scene is acquired, the AR technology may be adopted to perform augmented reality processing on the image data. The processed image data can be displayed through an AR page of the electronic device. As shown in fig. 2, which is the image of the first scene processed by the AR technology, it can be seen that the image is more stereoscopic. On the other hand, the target scene data includes: the method comprises the steps of adopting an AR technology to carry out augmented reality processing on contour information of each object in a target scene, absolute position coordinates of each object and relative position coordinates between one object and other objects in a first scene, and avoiding influence on accuracy of target scene data due to dimension reduction.
Further, when the camera scans the first scene to acquire target scene data, the electronic device may display, through the AR page, a surrounding environment for prompting the user to scan the first scene around one circle, so as to acquire more detailed image data. For example, as shown in fig. 2, when the first scene is scanned by the camera, the electronic device may display an arrow indicating that the user rotates on the AR page to prompt the user to change the orientation, so as to complete scanning of the surrounding environment of the first scene. After scanning is finished, obtaining image data of the first scene, and measuring contour information and absolute position coordinates of each object in the image data and relative position coordinates between the object in the first scene and other objects in the first scene by adopting a machine vision algorithm to obtain target scene data of the first scene. For example, as shown in fig. 3, the target scene data for the scene includes: absolute position coordinate information of the potted plant, the television cabinet and relative position coordinates of the object in the scene and other objects in the scene.
According to the embodiment of the application, the data of the plurality of objects in the target scene data can be used for unlocking the electronic equipment or providing data support for finding the password for the user who passes scene verification, so that the safety of the electronic equipment is improved.
Step 202, associating the position corresponding to the first scene with the target scene data, and storing the target scene data and the position information corresponding to the first scene.
In this embodiment, the position corresponding to the first scene may be a scanning position for acquiring the target scene data. The position corresponding to the first scene may be obtained by acquiring GPS data. And after the position corresponding to the first scene is obtained, associating the position corresponding to the first scene with the target scene data, and storing the target scene data and the position information corresponding to the first scene.
According to the method and the device, the target scene data corresponding to the first scene is prestored, so that a way for unlocking the electronic equipment through scene verification or retrieving the unlocking password through scene verification can be provided for the user under the condition that the user forgets the unlocking password.
In one embodiment, after pre-storing a position corresponding to a first scene and target scene data of the first scene, the turning on a camera of the electronic device includes:
step 301, acquiring a first position where the user is currently located;
step 302, turning on the camera when a distance between the first position and a position corresponding to a first scene prestored in the electronic device is less than or equal to a first threshold;
or outputting first prompt information under the condition that the distance between the first position and a position corresponding to the first scene prestored in the electronic device is greater than the first threshold, wherein the first prompt information is used for indicating the user to go to the position corresponding to the first scene.
In this embodiment, after the first information input by the user passes verification, the electronic device may acquire a first location where the user is currently located, and verify the first location. And under the condition that the distance between the first position and the position corresponding to the first scene prestored in the electronic equipment is smaller than or equal to a first threshold value, starting the camera.
The first threshold may be a set range value that a distance between a current location where the user is located and a location corresponding to the first scene needs to satisfy. For example, the first threshold is 5 meters, that is, when the distance between the first location where the user is currently located and the location corresponding to the first scene is less than or equal to 5 meters, the camera is turned on.
The first threshold may be set by the user according to the range size of the first scene. That is, the user can set different first thresholds according to different scenarios. When the determined range of the first scene is large, for example when the first scene is a living room, a large first threshold value may be set. When the determined range of the first scene is small, for example, the first scene is a bedroom, a small first threshold may be set, and it should be understood by those skilled in the art that the size of the first threshold is not particularly limited herein.
After a first threshold value is set, the camera is started under the condition that the distance between the first position and the position corresponding to a first scene prestored in the electronic equipment is smaller than or equal to the first threshold value. And under the condition that the distance between the first position and the position corresponding to the first scene prestored in the electronic equipment is greater than the first threshold, the electronic equipment outputs first prompt information for indicating the user to go to the position corresponding to the first scene on an AR page. For example, "please go to the designated location" as shown in fig. 4 is the first prompt message. The user can adjust the current first position according to the first prompt message. Meanwhile, the electronic equipment continuously acquires the current first position of the user and verifies the first position. And if the distance between the first position and the position corresponding to the first scene is less than or equal to a first threshold value, starting the camera. If the distance between the first position and the position corresponding to the first scene is larger than a first threshold, continuously outputting first prompt information for indicating the user to go to the position corresponding to the first scene until the distance between the first position where the user is located and the position corresponding to the first scene is smaller than or equal to the first threshold.
According to the embodiment of the application, through obtaining the first position that the user is located at present the first position with under the condition that the distance between the position that the first scene that prestores in the electronic equipment corresponds is less than or equal to first threshold value, open automatically the camera to can make the user who forgets the password get into the scene fast and verify the flow, promote the efficiency of unblock electronic equipment or retrieve the unblock password. By outputting the first prompt message under the condition that the distance between the first position and the position corresponding to the first scene prestored in the electronic device is greater than the first threshold, convenience can be provided for a user to accurately find the position corresponding to the first scene, and therefore the efficiency of unlocking the electronic device or retrieving the unlocking password is improved.
In one embodiment, the matching of the first scene data with target scene data prestored in the electronic device includes:
and if the matching rate of the first scene data and the target scene data prestored in the electronic device exceeds a second threshold value, or the number of objects in the first scene data, which coincide with the contour information in the target scene data prestored in the electronic device, exceeds a preset number, determining that the first scene data matches with the target scene data prestored in the electronic device.
In this embodiment, when the first scene data is matched with the target scene data pre-stored in the electronic device, the data of the plurality of objects in the first scene data may be compared with the data of the plurality of objects in the target scene data pre-stored in the electronic device. For example, the absolute positions of the plurality of objects in the first scene may be compared with the absolute position coordinates of the plurality of objects in the target scene data pre-stored in the electronic device, or the relative position coordinates of the objects in the first scene may be compared with the relative position coordinates of the objects in the target scene data pre-stored in the electronic device. Those skilled in the art should understand that, no limitation is made herein on the information that the first scene data and the target scene data pre-stored in the electronic device are specifically matched.
And under the condition that the matching rate exceeds a second threshold value, determining that the first scene data is matched with target scene data prestored in the electronic equipment. Wherein the second threshold may be a preset matching rate. For example, the second threshold may be preset to be 85%, and when the matching rate of the first scene data and the target scene data pre-stored in the electronic device is greater than or equal to 85%, it is determined that the first scene data matches the target scene data pre-stored in the electronic device.
In some cases, since a movable object exists in the first scene, and the position of the object changes when the object moves, the first scene data is directly matched with target scene data pre-stored in the electronic device, and there may be a case that the matching cannot be successfully performed after multiple operations. There may be a case where the matching is successful to unlock the electronic device or the unlocking password is retrieved after a plurality of operations. However, in this case, the amount of computation is large, the time for scene verification is also long, and the user experience is affected.
In order to solve the above problem, an embodiment of the present application further provides another method for determining a successful matching, that is, the first scene data is matched with target scene data pre-stored in the electronic device, and the method further includes:
and if the number of objects in the first scene data, which coincide with the contour information in the target scene data prestored in the electronic equipment, exceeds a preset number, determining that the first scene data is matched with the target scene data prestored in the electronic equipment.
In this embodiment, by comparing the contour information of the plurality of objects in the first scene data with the contour information of the plurality of objects in the target scene data pre-stored in the electronic device, it is determined that the first scene data matches with the target scene data pre-stored in the electronic device when the number of objects whose contour information coincides exceeds a preset number. Wherein the object whose contour information coincides may be a fixed, immovable object in the first scene. For example: doors, windows, walls, etc. The object with which the contour information coincides may also be an object movable in the first scene. It will be understood by those skilled in the art that it is not specifically limited thereto.
According to the embodiment of the application, the first scene data is matched with the data of the fixed object in the pre-stored target scene data, and the first scene data is matched with the pre-stored target scene data in the electronic equipment as long as the data of the fixed object is determined to be matched, so that the problem that the data cannot be successfully matched for many times due to the position change of the movable object in the scene can be solved, and the use experience of a user is improved.
In one embodiment, when the first scene data does not match the target scene data, second prompt information is displayed on a shooting preview interface according to the target scene data, wherein the second prompt information is used for instructing a user to acquire the scene data of the first scene according to the second prompt information.
In this embodiment, the mismatch between the first scene data and the target scene data may be caused by an angular offset of the electronic device when the user acquires the first scene data through the electronic device. In this case, second prompt information may be displayed on the shooting preview interface according to the contour information of the object in the target scene data, where the second prompt information is used to instruct the user to perform angle adjustment of the electronic device. For example, as shown in fig. 5, "please turn the mobile phone to the right" is the second prompt message.
After the second prompt message is displayed on the shooting preview interface, the user can obtain the scene data of the first scene according to the second prompt message. The electronic device can match the acquired scene data of the first scene with target scene data prestored in the electronic device, and unlock the electronic device or display a password modification interface under the condition of successful matching.
Optionally, a third threshold of the matching times may be preset, and the password retrieving process is exited when the matching times exceed the third threshold and the matching is still unsuccessful.
According to the method and the device, under the condition that the first scene data are not matched with the target scene data, second prompt information is displayed on a shooting preview interface according to the target scene data so as to indicate a user to obtain the first scene data according to the second prompt information, the user can conveniently and accurately obtain the first scene data, and therefore the efficiency of unlocking the electronic equipment or retrieving the unlocking password is improved.
According to the unlocking processing method provided by the embodiment of the application, the execution main body can be an unlocking processing device. In the embodiment of the present application, an unlocking processing device is taken as an example to execute an unlocking processing method, and the unlocking processing device provided in the embodiment of the present application is described.
As shown in fig. 6, an embodiment of the present application provides an unlocking processing apparatus 600, including: a control module 601, an acquisition module 602, and an unlocking module 603.
The control module 601 is used for starting a camera of the electronic equipment and scanning a first scene through the camera under the condition that a user forgets an unlocking password;
an obtaining module 602, configured to obtain first scene data corresponding to the first scene;
an unlocking module 603, configured to unlock the electronic device or display a password modification interface when the first scene data matches target scene data pre-stored in the electronic device.
According to the embodiment of the application, the camera of the electronic equipment is started under the condition that the user forgets the unlocking password, the camera scans the first scene to obtain the first scene data corresponding to the first scene, and the electronic equipment or the display password modification interface is unlocked under the condition that the first scene data are matched with the target scene data prestored in the electronic equipment. Therefore, the influence of the normal use of the electronic equipment by a user due to the fact that the user inputs wrong passwords or forgets to unlock the passwords for multiple times due to misoperation can be avoided.
In one embodiment, the obtaining module 602 is further configured to obtain a first location where the user is currently located;
the control module 601 is configured to start the camera when a distance between the first location and a location corresponding to a first scene pre-stored in the electronic device is less than or equal to a first threshold;
or outputting first prompt information under the condition that the distance between the first position and a position corresponding to the first scene prestored in the electronic device is greater than the first threshold, wherein the first prompt information is used for indicating the user to go to the position corresponding to the first scene.
According to the embodiment of the application, the camera is automatically opened under the condition that the distance between the first position and the position corresponding to the first scene prestored in the electronic equipment is smaller than or equal to the first threshold value through acquiring the first position where the user is located currently, so that the user who forgets the password can quickly enter a scene verification process, and the efficiency of unlocking the electronic equipment or retrieving the unlocking password is improved. By outputting the first prompt message when the distance between the first position and the position corresponding to the first scene prestored in the electronic device is greater than the first threshold value, convenience can be provided for a user to accurately find the position corresponding to the first scene, and therefore the efficiency of unlocking the electronic device or retrieving the unlocking password is improved.
In one embodiment, the apparatus further comprises: a setup module 604;
the control module 601 is configured to scan a first scene through the camera and obtain target scene data corresponding to the first scene when a user determines the first scene;
the setting module 604 is configured to associate the position corresponding to the first scene with the target scene data, and store the target scene data and the position information corresponding to the first scene.
According to the embodiment of the application, by pre-storing the target scene data corresponding to the first scene, a way for unlocking the electronic equipment through scene verification or retrieving the unlocking password through the scene verification can be provided for the user under the condition that the user forgets the unlocking password.
In an embodiment, the apparatus further includes a display module 605, where the display module 605 is configured to, when the first scene data does not match the target scene data, display second prompt information on a shooting preview interface according to the target scene data, where the second prompt information is used to instruct a user to acquire the scene data of the first scene according to the second prompt information.
According to the embodiment of the application, under the condition that the first scene data is not matched with the target scene data, second prompt information is displayed on a shooting preview interface according to the target scene data so as to instruct a user to acquire the scene data of the first scene according to the second prompt information, the user can conveniently and accurately acquire the scene data of the first scene, and therefore the efficiency of unlocking the electronic equipment or retrieving the unlocking password is improved.
In an embodiment, the first scene data and the target scene data are both scene data acquired from the first scene, the scene data includes data of a plurality of objects in the first scene, and the data of the objects includes contour information of the objects, absolute position coordinates of the objects, and relative position coordinates between the objects and other objects in the corresponding first scene.
According to the embodiment of the application, the target scene data can include data of a plurality of objects in the first scene, the data of the objects include contour information of the objects, absolute position coordinates of the objects, and relative position coordinates between the objects and other objects corresponding to the first scene, and data support can be provided for unlocking the electronic device through scene verification or retrieving an unlocking password, so that the safety of the electronic device is improved.
The unlocking processing device in the embodiment of the present application may be an electronic device, or may 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 unlocking processing 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 unlocking processing device provided in the embodiment of the present application can implement each process implemented in the embodiment of the method of the present application, and is not described here again to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 700 is further provided in an embodiment of the present application, and includes a processor 701 and a memory 702, where the memory 702 stores a program or an instruction that can be executed on the processor 701, and when the program or the instruction is executed by the processor 701, the steps of the embodiment of the unlocking processing method are implemented, and the same technical effects can be achieved, and are not described again here 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. 8 is a schematic diagram of a hardware structure of an electronic device implementing the 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. 8 does not constitute a limitation to 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, when the user forgets the unlock password, start a camera of the electronic device, and scan a first scene through the camera;
a processor 1010, configured to obtain first scene data corresponding to the first scene;
the processor 1010 is configured to unlock the electronic device or display a password modification interface when the first scene data matches target scene data pre-stored in the electronic device.
According to the embodiment of the application, the camera of the electronic equipment is started through forgetting the unlocking password by the user, the camera scans the first scene, the first scene data corresponding to the first scene are acquired, and the electronic equipment or the display password modification interface is unlocked under the condition that the target scene data are pre-stored in the electronic equipment and are matched with each other. Therefore, the influence of the normal use of the electronic equipment by a user due to the fact that the user inputs a wrong password or forgets to unlock the password for many times due to misoperation can be avoided.
Optionally, the processor 1010 is further configured to obtain a first location where the user is currently located;
the processor 1010 is further configured to turn on the camera when a distance between the first location and a location corresponding to a first scene pre-stored in the electronic device is less than or equal to a first threshold;
or outputting first prompt information under the condition that the distance between the first position and a position corresponding to the first scene prestored in the electronic device is greater than the first threshold, wherein the first prompt information is used for indicating the user to go to the position corresponding to the first scene.
According to the embodiment of the application, the camera is automatically opened under the condition that the distance between the first position and the position corresponding to the first scene prestored in the electronic equipment is smaller than or equal to the first threshold value through acquiring the first position where the user is located currently, so that the user who forgets the password can quickly enter a scene verification process, and the efficiency of unlocking the electronic equipment or retrieving the unlocking password is improved. By outputting the first prompt message under the condition that the distance between the first position and the position corresponding to the first scene prestored in the electronic device is greater than the first threshold, convenience can be provided for a user to accurately find the position corresponding to the first scene, and therefore the efficiency of unlocking the electronic device or retrieving the unlocking password is improved.
Optionally, the processor 1010 is configured to scan a first scene through the camera and obtain target scene data corresponding to the first scene when a user determines the first scene;
the processor 1010 is configured to associate a location corresponding to the first scene with the target scene data, and store the target scene data and location information corresponding to the first scene.
According to the method and the device, the target scene data corresponding to the first scene is prestored, so that a way for unlocking the electronic equipment through scene verification or retrieving the unlocking password through scene verification can be provided for the user under the condition that the user forgets the unlocking password.
Optionally, the processor 1010 is configured to, when the first scene data is not matched with the target scene data, display second prompt information on a shooting preview interface according to the target scene data, where the second prompt information is used to instruct a user to acquire scene data of the first scene according to the second prompt information.
According to the embodiment of the application, under the condition that the first scene data is not matched with the target scene data, second prompt information is displayed on a shooting preview interface according to the target scene data so as to instruct a user to acquire the scene data of the first scene according to the second prompt information, the user can conveniently and accurately acquire the scene data of the first scene, and therefore the efficiency of unlocking the electronic equipment or retrieving the unlocking password is improved.
Optionally, the first scene data and the target scene data are both scene data acquired from the first scene, the scene data includes data of a plurality of objects in the first scene, and the data of the objects includes contour information of the objects, absolute position coordinates of the objects, and relative position coordinates between the objects and other objects in the corresponding first scene.
According to the embodiment of the application, the target scene data can include data of a plurality of objects in the first scene, the data of the objects include contour information of the objects, absolute position coordinates of the objects, and relative position coordinates between the objects and other objects corresponding to the first scene, and multi-dimensional data support can be provided for unlocking the electronic equipment through scene verification or retrieving an unlocking password, so that the safety of the electronic equipment is improved.
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 video 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 non-volatile memory, or the memory 1009 may include both volatile and non-volatile 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 bus RAM (DRRAM). The memory 1009 in the embodiments of the subject 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 above-mentioned unlocking processing 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 unlocking processing 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 unlocking processing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not described here again.
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 phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatuses in 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 recited, e.g., the described methods may be performed in an order different from 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 above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application 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 (such as a mobile phone, a computer, a server, or a network device) 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 invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. An unlocking processing method, characterized in that the method comprises:
the method comprises the steps that under the condition that a user forgets an unlocking password, a camera of the electronic equipment is started, and a first scene is scanned through the camera;
acquiring first scene data corresponding to the first scene;
and unlocking the electronic equipment or displaying a password modification interface under the condition that the first scene data is matched with target scene data prestored in the electronic equipment.
2. The method of claim 1, wherein turning on a camera of an electronic device comprises:
acquiring a first position where the user is currently located;
the camera is started under the condition that the distance between the first position and the position corresponding to the first scene prestored in the electronic equipment is smaller than or equal to a first threshold value;
or outputting first prompt information under the condition that the distance between the first position and a position corresponding to the first scene prestored in the electronic device is greater than the first threshold, wherein the first prompt information is used for indicating the user to go to the position corresponding to the first scene.
3. The method of claim 1, wherein prior to the turning on a camera of an electronic device, the method further comprises:
under the condition that a user determines a first scene, scanning the first scene through the camera, and obtaining target scene data corresponding to the first scene;
and associating the position corresponding to the first scene with the target scene data, and storing the target scene data and the position information corresponding to the first scene.
4. The method according to any one of claims 2 to 3, wherein after the obtaining of the first scene data corresponding to the first scene, the method further comprises:
and under the condition that the first scene data is not matched with the target scene data, displaying second prompt information on a shooting preview interface according to the target scene data, wherein the second prompt information is used for instructing a user to acquire the scene data of the first scene according to the second prompt information.
5. The method according to any one of claims 1 to 3, wherein the first scene data and the target scene data are both scene data acquired from the first scene, the scene data includes data of a plurality of objects in the first scene, and the data of the objects includes contour information of the objects, absolute position coordinates of the objects, and relative position coordinates between the objects and other objects in the corresponding first scene.
6. An unlock processing device, characterized in that the device includes:
the control module is used for starting a camera of the electronic equipment and scanning a first scene through the camera under the condition that a user forgets an unlocking password;
the acquisition module is used for acquiring first scene data corresponding to the first scene;
and the unlocking module is used for unlocking the electronic equipment or displaying a password modification interface under the condition that the first scene data is matched with target scene data prestored in the electronic equipment.
7. The apparatus of claim 6, wherein the obtaining module is further configured to obtain a first location where the user is currently located;
the control module is specifically configured to turn on the camera when a distance between the first location and a location corresponding to the first scene prestored in the electronic device is less than or equal to a first threshold;
or outputting first prompt information under the condition that the distance between the first position and a position corresponding to the first scene prestored in the electronic device is greater than the first threshold, wherein the first prompt information is used for indicating the user to go to the position corresponding to the first scene.
8. The apparatus of claim 6, further comprising: setting a module;
the control module is specifically used for scanning a first scene through the camera under the condition that a user determines the first scene, and obtaining target scene data corresponding to the first scene;
the setting module is used for associating the position corresponding to the first scene with the target scene data and storing the target scene data and the position information corresponding to the first scene.
9. The apparatus of any one of claims 7 to 8, further comprising: a display module;
the display module is used for displaying second prompt information on a shooting preview interface according to the target scene data under the condition that the first scene data is not matched with the target scene data, wherein the second prompt information is used for indicating a user to acquire the scene data of the first scene according to the second prompt information.
10. The apparatus according to any one of claims 6 to 8, wherein the first scene data and the target scene data are both scene data obtained from the first scene, the scene data includes data of a plurality of objects in the first scene, and the data of the objects includes contour information of the objects, absolute position coordinates of the objects, and relative position coordinates between the objects and other objects in the corresponding first scene.
CN202211469800.9A 2022-11-22 2022-11-22 Unlocking processing method and device Pending CN115758323A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211469800.9A CN115758323A (en) 2022-11-22 2022-11-22 Unlocking processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211469800.9A CN115758323A (en) 2022-11-22 2022-11-22 Unlocking processing method and device

Publications (1)

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

Family

ID=85335365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211469800.9A Pending CN115758323A (en) 2022-11-22 2022-11-22 Unlocking processing method and device

Country Status (1)

Country Link
CN (1) CN115758323A (en)

Similar Documents

Publication Publication Date Title
US11330012B2 (en) System, method, and device of authenticating a user based on selfie image or selfie video
US10311291B2 (en) Face recognition method, device and computer readable storage medium
US9801068B2 (en) Terminal device
CN107506634B (en) Data display method and device, storage medium and terminal
EP2605172A2 (en) Multi-person gestural authentication and authorization system and method of operation thereof
JP6481249B2 (en) Programmable display, control method, and program
US10586031B2 (en) Biometric authentication of a user
EP2833291A1 (en) Programmable display apparatus, control method, and program
EP2833292A1 (en) Programmable display apparatus, control method, and program
TWI700607B (en) Unlocking system and method
US11194894B2 (en) Electronic device and control method thereof
CA2955072A1 (en) Reflection-based control activation
CN106874787B (en) Image viewing method and mobile terminal
CN109543389B (en) Information protection method and system
CN115758323A (en) Unlocking processing method and device
JP2007114959A (en) Authentication information processor, authentication information processing method and computer program
TWI418764B (en) Fingerprint-based navigation method, method for setting up a link between a fingerprint and a navigation destination, and navigation device
US11507646B1 (en) User authentication using video analysis
US20140157399A1 (en) Information processing apparatus, authentication method for information processing apparatus and authentication program for information processing apparatus
EP3270313B1 (en) Optical authorization method for programs and files
CN115795423A (en) Electronic equipment unlocking method and device
CN117113318A (en) Unlocking method and device and electronic equipment
CN111435386B (en) Electronic equipment and unlocking method
US20230012914A1 (en) Non-transitory computer readable storage, output control method, and terminal device
CN115758309A (en) Screen unlocking method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination