Unlocking method of electronic device, electronic device, and computer readable storage medium

By acquiring and utilizing the unlocking data of the first object in an electronic device when the first object is unlocked, the lock status of the associated second object is automatically released, thus solving the problem of cumbersome unlocking steps under multi-level locking of electronic devices and simplifying the unlocking process.

CN115427950BActive Publication Date: 2026-04-21SHENZHEN TRANSSION HLDG CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN TRANSSION HLDG CO LTD
Filing Date
2020-03-11
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

When existing electronic devices are locked at multiple levels, an unlocking operation is required every time the locked object is triggered, making the process of unlocking the device cumbersome.

Method used

When the first object of the electronic device is unlocked, its unlock data is obtained, and the lock status of the associated second object is released based on the data, simplifying the unlocking process.

Benefits of technology

The second object is automatically unlocked by using the unlock data of the first object, avoiding the need to repeatedly enter unlock data and simplifying the unlocking process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115427950B_ABST
    Figure CN115427950B_ABST
Patent Text Reader

Abstract

A method for unlocking an electronic device, the electronic device and a computer-readable storage medium, wherein the method includes the following steps: when a first object of the electronic device is unlocked, acquiring unlock data of the first object (S10); acquiring a second object associated with the unlock data; and when the second object is triggered, releasing the locked state of the second object (S20).
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This invention claims priority to Chinese Patent Application No. 201911065326.1, filed on November 1, 2019, entitled "Method for unlocking an electronic device, electronic device and computer-readable storage medium", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This invention relates to the field of electronic technology, and more particularly to an unlocking method for an electronic device, an electronic device, and a computer-readable storage medium. Background Technology

[0003] With the advancement of technology, electronic products such as mobile phones, tablets, and / or computers have become indispensable tools in people's lives. To improve the data security of electronic products, multiple locks can be applied to the products and their installed applications. For example, mobile phones can have screen locks and application locks for each specific application.

[0004] When an electronic device is locked in multiple ways, each time a locked object is triggered, an unlocking operation is required. For example, if a phone has a screen lock and the photo album has an app lock, an unlocking operation is required to unlock the screen. After unlocking the screen, if you want to open the photo album, you need to perform the unlocking operation again. Because an unlocking operation is required every time a locked object is triggered, this results in a cumbersome process for unlocking objects on electronic devices. Summary of the Invention

[0005] The main objective of this invention is to provide a method for unlocking an electronic device, an electronic device, and a computer-readable storage medium, with the aim of simplifying the unlocking process.

[0006] To achieve the above objectives, the present invention provides a method for unlocking an electronic device, the method comprising the following steps:

[0007] When the first object of the electronic device is unlocked, the unlock data of the first object is acquired;

[0008] Obtain the second object associated with the unlock data, and unlock the second object.

[0009] Optionally, the step of obtaining the second object associated with the unlock data and unlocking the second object includes:

[0010] When the preset unlock data of the locked object in the electronic device is the same as the unlock data, the locked object is regarded as the second object;

[0011] Release the locked state of the second locked object.

[0012] Optionally, the step of obtaining the second object associated with the unlock data and unlocking the second object includes:

[0013] Obtain the second object associated with the unlock data;

[0014] When the second object is triggered, the locking state of the second object is released.

[0015] Optionally, the first object is a screen lock, and the second object is at least one of an application, function, or file in the electronic device; or the first object is a first application, and the second object is a second application; or the first object is a first functional module under a third application, and the second object is a second functional module under a third application.

[0016] Optionally, before the step of obtaining the unlock data of the first object when the first object of the electronic device is unlocked, the method further includes:

[0017] When the first object is triggered, an unlock prompt message is output to prompt the user to enter unlock data;

[0018] When the received unlock data matches the preset unlock data, the locking state of the first object is released.

[0019] Optionally, after the step of outputting the unlock prompt information, the method further includes:

[0020] If the received unlock data does not match the preset unlock data, an unlock failure message will be output to prompt the user to re-enter the unlock data.

[0021] Optionally, after the step of obtaining the second object associated with the unlock data and unlocking the second object, the method further includes:

[0022] Get the unlock duration of the first object;

[0023] When the unlocked duration is greater than or equal to a preset duration, the second object is locked.

[0024] Optionally, the step of obtaining the second object associated with the unlock data and unlocking the second object includes:

[0025] When the preset unlock data of the locked object in the electronic device is associated with the unlock data, the locked object is used as the second object;

[0026] Release the locked state of the second locked object.

[0027] Optionally, before the first object is unlocked, the lock object unlock data setting is received, and the unlock data of the first object is associated with the preset unlock data setting.

[0028] Optionally, when the first object of the electronic device is unlocked, the first unlock data of the first object is acquired;

[0029] Obtain the first unlock data associated with the second unlock data, obtain the second object corresponding to the second unlock data, and unlock the second object.

[0030] Optionally, the unlocking data includes at least one of the following: fingerprint data, facial data, graphic data, and a digital password.

[0031] Optionally, before the first object of the electronic device is unlocked, the first object and the second object are encrypted objects.

[0032] Optionally, the step of obtaining the second object associated with the unlock data and unlocking the second object includes:

[0033] Obtain the second object associated with the unlock data;

[0034] Generate and save the unlocking credential corresponding to the unlocking data;

[0035] When the second object is triggered, the locked state of the second object is released based on the unlocking credentials.

[0036] Optionally, the electronic device is equipped with a quick unlock function. When the quick unlock function is enabled, the step of obtaining the unlock data of the first object when the first object of the electronic device is unlocked is executed, the second object associated with the unlock data is obtained, and the locked state of the second object is released.

[0037] Optionally, the unlocking method for the electronic device includes the following steps:

[0038] When the first object of the electronic device is unlocked, the second object associated with the first object is obtained, and the locked state of the second object is released.

[0039] Optionally, the step of obtaining the second object associated with the first object and unlocking the second object includes:

[0040] Retrieve the second object associated with the first object;

[0041] When the second object is triggered, the locking state of the second object is released.

[0042] Optionally, before the first object is unlocked, the locked object association settings are accepted, and the first object is associated with the second object.

[0043] Optionally, before the first object of the electronic device is unlocked, the first object and the second object are encrypted objects.

[0044] Optionally, the first object is a screen lock, and the second object is at least one of an application, function, or file in the electronic device; or the first object is a first application, and the second object is a second application; or the first object is a first functional module under a third application, and the second object is a second functional module under a third application.

[0045] In addition, to achieve the above objectives, the present invention also provides an electronic device, the electronic device including a memory, a processor, and an unlocking program of the electronic device stored in the memory and executable on the processor, wherein when the unlocking program of the electronic device is executed by the processor, it implements the steps of the unlocking method of the electronic device as described above.

[0046] In addition, to achieve the above objectives, the present invention also provides a computer-readable storage medium storing an unlocking program for an electronic device, wherein the unlocking program for the electronic device, when executed by a processor, implements the steps of the unlocking method for the electronic device as described above.

[0047] The present invention provides an unlocking method for an electronic device, an electronic device, and a computer-readable storage medium. When a first object of the electronic device is unlocked, unlocking data of the first object is obtained, and then a second object associated with the unlocking data is obtained and the locking state of the second object is released. Since the second object can be released based on the unlocking data of the first object when the first object is unlocked, it is not necessary to input unlocking data again when opening the second object, thereby achieving the effect of simplifying the unlocking steps. Attached Figure Description

[0048] Figure 1 This is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiments of the present invention;

[0049] Figure 2 This is a flowchart illustrating an embodiment of the unlocking method for the electronic device of the present invention;

[0050] Figure 3 This is a flowchart illustrating another embodiment of the present invention;

[0051] Figure 4 This is a flowchart illustrating another embodiment of the present invention.

[0052] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0053] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.

[0054] Traditional electronic devices with multi-level locking require an unlocking operation each time the locked object is triggered. For example, if a phone has a screen lock and the photo album has an app lock, an unlocking operation is required to unlock the screen. After unlocking the screen, another unlocking operation is needed to open the photo album. Because unlocking is required every time the locked object is triggered, this results in a cumbersome process for removing the lock from an electronic device.

[0055] Therefore, the main solution of the unlocking method for an electronic device, the electronic device, and the computer-readable storage medium proposed in this embodiment of the invention is as follows:

[0056] When the first object of the electronic device is unlocked, the unlock data of the first object is acquired;

[0057] Obtain the second object associated with the unlock data, and unlock the second object.

[0058] Since the second object can be unlocked based on the unlock data of the first object when the first object is unlocked, the unlock data does not need to be entered again when opening the second object, thus simplifying the unlocking process.

[0059] like Figure 1 As shown, Figure 1 This is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiments of the present invention.

[0060] In this invention, the terminal can be a smartphone, tablet computer, or PC, etc.

[0061] like Figure 1As shown, the terminal may include: a processor 1001, such as a CPU; a network interface 1004; a user interface 1003; a memory 1005; and a communication bus 1002. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen, an input unit such as a keyboard, a touchscreen, or a mouse. Optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0062] Those skilled in the art will understand that Figure 1 The terminal structure shown does not constitute a limitation on the terminal and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0063] like Figure 1 As shown, the memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and an unlocking program for electronic devices.

[0064] exist Figure 1 In the terminal shown, the network interface 1004 is mainly used to connect to the backend server and communicate with it; the processor 1001 can be used to call the unlocking program of the electronic device stored in the memory 1005 and perform the following operations:

[0065] When the first object of the electronic device is unlocked, the unlock data of the first object is acquired;

[0066] Obtain the second object associated with the unlock data, and unlock the second object.

[0067] Furthermore, the processor 1001 can call the unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:

[0068] When the preset unlock data of the locked object in the electronic device is the same as the unlock data, the locked object is regarded as the second object;

[0069] Release the locked state of the second locked object.

[0070] Furthermore, the processor 1001 can call the unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:

[0071] Obtain the second object associated with the unlock data;

[0072] When the second object is triggered, the locking state of the second object is released.

[0073] Furthermore, the processor 1001 can call the unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:

[0074] When the first object is triggered, an unlock prompt message is output to prompt the user to enter unlock data;

[0075] When the received unlock data matches the preset unlock data, the locking state of the first object is released.

[0076] Furthermore, the processor 1001 can call the unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:

[0077] If the received unlock data does not match the preset unlock data, an unlock failure message will be output to prompt the user to re-enter the unlock data.

[0078] Furthermore, the processor 1001 can call the unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:

[0079] Get the unlock duration of the first object;

[0080] When the unlocked duration is greater than or equal to a preset duration, the second object is locked.

[0081] Furthermore, the processor 1001 can call the unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:

[0082] When the preset unlock data of the locked object in the electronic device is associated with the unlock data, the locked object is used as the second object;

[0083] Release the locked state of the second locked object.

[0084] Furthermore, the processor 1001 can call the unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:

[0085] Obtain the second object associated with the unlock data;

[0086] Generate and save the unlocking credential corresponding to the unlocking data;

[0087] When the second object is triggered, the locked state of the second object is released based on the unlocking credentials.

[0088] Furthermore, the processor 1001 can call the unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:

[0089] When the first object of the electronic device is unlocked, the second object associated with the first object is obtained, and the locked state of the second object is released.

[0090] Furthermore, the processor 1001 can call the unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:

[0091] Retrieve the second object associated with the first object;

[0092] When the second object is triggered, the locking state of the second object is released.

[0093] Furthermore, the processor 1001 can call the unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:

[0094] Before the first object is unlocked, accept the locked object association settings and associate the first object with the second object.

[0095] Reference Figure 2 In one embodiment of the unlocking method for the electronic device of the present invention, the unlocking method for the electronic device includes the following steps:

[0096] Step S10: When the first object of the electronic device is unlocked, acquire the unlocking data of the first object;

[0097] In this embodiment, the electronic device may be a mobile phone, tablet computer, or other electronic device. The first object may be an application installed on the electronic device or a multimedia file on the electronic device.

[0098] Understandably, electronic devices can set application locks on some or all of the installed applications. They can also set privacy locks on multimedia files stored on the device. For example, when Alipay is installed on an electronic device, the device can set an application lock for Alipay, requiring the device to be unlocked before opening Alipay. Similarly, electronic devices can set privacy locks on photo albums, requiring the album to be unlocked before accessing it.

[0099] Furthermore, the first object can be any one of all locked objects in the electronic device. For example, when the electronic device has multiple lockable objects, if all locked objects are locked, any one of the locked objects can be used as the first object. When some locked objects in the electronic device are locked, any one of the locked objects can be used as the first object.

[0100] When the first object is triggered, an unlock prompt message can be output to prompt the user to enter unlock data. For example, when the Alipay account on an electronic device is locked, if a user's control operation to open Alipay is received, an unlock prompt message can be output. Specifically, the words "Please enter unlock password" can be displayed on the electronic device's screen, and a password input box can be displayed on the unlock screen for the user to enter the unlock password. The first object can be unlocked using any of the following data: fingerprint data, facial data, graphic data, and / or a numeric password. The unlocking method can be preset. When fingerprint unlock is set, the first object needs to be unlocked using a fingerprint when triggered. When numeric password unlock is set, the first object needs to be unlocked using a numeric password when triggered.

[0101] Specifically, the electronic device may be equipped with an unlock data receiving device to receive unlock data input by the user. For example, when the unlock data corresponding to the first object is fingerprint data, the electronic device may be equipped with a fingerprint collector to collect the fingerprint data used by the user to unlock the first object; when the unlock data is a numeric password, the electronic device may be equipped with a keyboard to receive the numeric password input by the user via the keyboard; when the unlock data is facial data, the electronic device may be equipped with an image acquisition device (e.g., a camera) to collect the user's facial data via the image acquisition device; when the unlock data is graphic data, the electronic device may be equipped with a graphic data acquisition device (e.g., a handwriting tablet and / or a touch screen) to collect the graphic data input by the user (e.g., outputting a 3x3 grid via the touch screen and receiving the 3x3 grid line graphic input by the user).

[0102] When the user inputs unlock data, it is determined whether the received unlock data matches the pre-stored unlock data. If the received unlock data matches the pre-stored unlock data of the first object, the locking state of the first object is released.

[0103] For example, when the received unlock data is fingerprint data A and the pre-stored unlock data is fingerprint data B, it is then determined whether the matching degree between the received fingerprint A and the pre-stored fingerprint B is greater than a preset matching degree (e.g., 95%). If the matching degree between the received fingerprint A and the pre-stored fingerprint B is greater than the preset matching degree, it is determined that the received fingerprint data matches the pre-stored fingerprint data, and the locking state of the first object is released.

[0104] Optionally, if the received unlock data does not match the pre-stored unlock data of the first object, an unlock failure message can be output to prompt the user to re-enter the unlock data. The unlock prompt message can be displayed as text on the electronic device's display screen, or it can be output as a voice prompt to prompt the user to enter the unlock data.

[0105] Furthermore, when the first object of the electronic device is unlocked, unlocking data used to unlock the first object can be obtained.

[0106] Step S20: Obtain the second object associated with the unlock data and unlock the second object.

[0107] In this embodiment, after the first object is unlocked, the second object can be determined based on the unlocking data of the first object.

[0108] Specifically, when the unlock data A of the first object is obtained, the object that can be unlocked by the unlock data A among the objects currently locked in the electronic device can be regarded as the second object.

[0109] When unlock data A of the first object is obtained, preset unlock data of other locked objects in the current electronic device can also be obtained. The locked object whose preset unlock data includes unlock data A is selected as the second object. The locked state of the second object is then released.

[0110] Optionally, once the second object is identified, the locking state of the second object can be released directly, or the locking state of the second object can be released when the second object is triggered.

[0111] In the technical solution disclosed in this embodiment, when the first object of the electronic device is unlocked, the unlocking data of the first object is obtained, the second object associated with the unlocking data is obtained, and the locking state of the second object is released. Since the second object can be released from its locking state based on the unlocking data of the first object when the first object is unlocked, it is not necessary to input the unlocking data again when opening the second object, thereby achieving the effect of simplifying the unlocking steps.

[0112] Reference Figure 3Based on the above embodiments, in another embodiment, after step S20, the method further includes:

[0113] Step S30: Obtain the unlock duration of the first object;

[0114] Step S40: When the unlocked duration is greater than or equal to a preset duration, lock the second object.

[0115] In this embodiment, after unlocking the second object, the unlocked duration of the first object can be obtained. Then, the relationship between the unlocked duration and a preset duration is monitored in real time. When the unlocked duration is less than the preset duration, the electronic device does not respond. When the unlocked duration is detected to be equal to or greater than the preset duration, the electronic device can control the second object to re-enter the locked state.

[0116] The preset duration is user-defined. For example, the settings interface of an electronic device may include a quick unlock settings interface. In the quick unlock settings interface, the quick unlock function of the electronic device can be configured.

[0117] For example, when the first object is Alipay, after the user triggers Alipay, the system can receive the unlock data (e.g., the numeric password "1234") entered by the user. Upon receiving the numeric password "1234", the system can determine a second object in the electronic device that can be unlocked using the numeric password "1234", such as WeChat, the photo album, and / or folder A. Then, the locked state of WeChat, the photo album, and / or folder A is unlocked. The system also obtains the unlocked duration of Alipay. When the unlocked duration of Alipay is greater than a preset duration (where the preset duration can be set to (1-99) minutes, for example, 3 minutes, 5 minutes, 70 minutes, or 80 minutes), the system controls WeChat, the photo album, and / or folder A to enter a locked state from the unlocked state.

[0118] Specifically, the quick unlock settings interface includes a quick unlock function on / off setting button. Clicking this button enables or disables the quick unlock function on the electronic device. When the quick unlock function is enabled, the electronic device can perform the quick unlock steps described in steps S10 to S20. When the quick unlock function is disabled, the electronic device needs to input unlock data to unlock each locked object.

[0119] The quick unlock settings interface also includes a preset duration setting area. In this area, the preset duration can be set by scrolling or by manually entering the preset duration.

[0120] In the technical solution disclosed in this embodiment, since the second object is unlocked based on the unlocking data of the first object, the second object can be controlled to enter the locked state when the unlocking time of the first object is greater than or equal to the preset time, thus achieving the effect of improving the data security of electronic devices.

[0121] Optionally, refer to Figure 4 ,based on Figure 2 In another embodiment of the illustrated example, step S20 may also be implemented according to the following steps:

[0122] Step S21: Obtain the second object associated with the unlock data;

[0123] Step S22: Generate and save the unlocking credential corresponding to the unlocking data;

[0124] Step S23: When the second object is triggered, unlock the second object based on the unlocking credentials.

[0125] In this embodiment, after determining the second object based on the unlocking data, an unlocking credential for the unlocking data can be generated. The second object includes the same unlocking data as the received unlocking data for the first object.

[0126] Furthermore, after generating the unlocking credential, it can be associated with and saved as the second object. When the electronic device receives a trigger command for a locked object, it queries whether the unlocking credential associated with the currently triggered locked object exists in the current electronic device.

[0127] If the unlocking credential associated with the locked object exists in the current electronic device, the locked object is unlocked directly. If the unlocking credential associated with the locked object does not exist in the current electronic device, a prompt message is displayed asking the user to enter unlocking data. This prompts the user to unlock the currently locked object by entering unlocking data.

[0128] For example, when the electronic device is a mobile phone, the phone may have apps such as Alipay installed. Users can add an application lock to Alipay, requiring unlocking every time Alipay is opened.

[0129] When Alipay is triggered, the system first checks if there is an unlock credential associated with Alipay on the user's phone. If such a credential exists, the system directly unlocks Alipay. Otherwise, it outputs a prompt message to encourage the user to enter unlock data to unlock Alipay.

[0130] Optionally, when unlock data A is received from Alipay, a second object associated with unlock data A is identified. For example, if unlock data A is the numeric password "1234", other locked objects that can be unlocked using the numeric password "1234" are obtained as the second object. An unlock credential for the numeric password "1234" is generated, and the unlock credential is associated with and saved as the second object. The second object can be WeChat.

[0131] When WeChat is detected as being accessed, the system can check if a WeChat-linked unlock credential exists on the current device. Since an unlock credential linked to WeChat was generated when unlocking Alipay, this credential can be found. This allows direct access to WeChat from its locked state, enabling the unlocking of WeChat without requiring a password.

[0132] Optionally, the unlocking credential can also be sent to the electronic device via another terminal. When the electronic device receives an unlocking credential, it first authenticates the other terminal that sent the credential. Authentication can be performed using key encryption. If it is determined that the other terminal has permission to set the unlocking credential, the received unlocking credential is associated with and saved as a corresponding object. The corresponding object can then be unlocked using the unlocking credential.

[0133] It should be noted that the unlock credential can be a flag bit, meaning the flag bit can be associated with a locked object on the phone. When unlocking the locked object, the system first checks if the flag bit is set (i.e., if an unlock credential exists). If so, the object's lock is directly released; otherwise, the user is prompted to enter unlock data. Optionally, the unlock credential can also be a digital certificate recognizable by the electronic device. When the digital certificate exists, the lock on the object associated with the digital certificate can be directly released. Otherwise, unlock data must be entered to release the object's lock.

[0134] In the technical solution disclosed in this embodiment, an unlocking credential can be generated based on the unlocking data, and the associated object can be unlocked using the unlocking credential. Since plaintext passwords do not need to be stored, the data security of electronic devices is improved.

[0135] In one implementation, before the first object is unlocked, the terminal can receive unlock data settings for the locked object and associate the unlock data of the first object with the preset unlock data. This allows the locking state of the second object corresponding to the preset unlock data associated with the first unlocked object to be released after the first unlocked object is unlocked.

[0136] For example, when the first object is Alipay, its unlock data can be set to fingerprint. Before Alipay unlocks, the user can set other unlocking methods associated with fingerprint unlock in the terminal. For example, fingerprint unlock can be associated with password unlock or voiceprint unlock.

[0137] When a user unlocks Alipay using their fingerprint, the terminal can obtain a second object associated with other unlocking methods (such as password unlocking or voiceprint unlocking) and unlock the second object corresponding to those other unlocking methods.

[0138] Optionally, when the first object of the electronic device is unlocked, first unlock data of the first object is obtained, second unlock data associated with the first unlock data is obtained, second unlock data corresponding to the second object is obtained, and the locked state of the second object is released.

[0139] Specifically, when the first object of the electronic device is unlocked, first unlocking data of the first object is obtained, second unlocking data associated with the first unlocking data is obtained, and the second unlocking data corresponding to the second object is obtained. The second object's lock state is then released. Users can also pre-set other unlocking data associated with the first object's unlocking data. When the user unlocks the first object using the first object's unlocking data, the lock state of the second object corresponding to the other unlocking data is released. For example, if the unlocking data corresponding to the first object is fingerprint A, fingerprint A can be associated with a numeric password B, and / or fingerprint B. When the user unlocks the first object using fingerprint A, the lock state of the second object corresponding to the other unlocking data associated with fingerprint A can be released simultaneously.

[0140] Optionally, as one implementation, in this implementation, the second object is at least one of an application, function, or file in the electronic device; or the first object is a first application and the second object is a second application; or the first object is a first functional module under a third application and the second object is a second functional module under a third application.

[0141] Since the second object can also be any encrypted object in the terminal, the unlocking methods for the first and second objects can be the same or different. For example, the first object can be unlocked using a fingerprint, and the second object can be unlocked using a numeric password.

[0142] It is understandable that the second object can be a custom setting, that is, the terminal can receive the lock object association settings.

[0143] Specifically, the user can designate any encrypted object in the terminal as the second object associated with the first object, so that after the first object is unlocked, the locking state of the second object associated with it can be directly unlocked, or the locking state of the second object associated with it can be unlocked when the second object is triggered.

[0144] For example, the first object is Alipay, and the second object can be applications such as WeChat or a photo album. This allows the terminal to directly unlock WeChat and the photo album after unlocking Alipay, or to unlock WeChat or the photo album when it is triggered.

[0145] The second object can also be a sub-functional module of the first object, or a sub-functional module of other objects. For example, if the first object is a photo album, the second object can be a photo in the album that has been locked twice. Alternatively, it can be Alipay's function to view bank card information.

[0146] Based on any of the above embodiments, in yet another embodiment, the first object is a screen lock, and the second object is other applications and / or multimedia files in the electronic device.

[0147] In this embodiment, the electronic device can be equipped with a screen lock. The screen lock of the electronic device can be unlocked in various ways, such as by fingerprint, facial recognition, numeric password, or pattern recognition.

[0148] When a user unlocks the screen of an electronic device using an unlocking method, the system can obtain the unlocking method used by the user to unlock the screen and simultaneously unlock other applications and / or files on the electronic device that can be unlocked using the same unlocking method.

[0149] For example, when a user unlocks the screen using fingerprint unlocking, other applications and / or files on the current electronic device that can be unlocked by fingerprint can also be unlocked simultaneously.

[0150] Optionally, when unlocking the screen, the specific unlocking data of the currently used unlocking method can also be obtained. For example, when a user unlocks the screen using a fingerprint, fingerprint A, fingerprint B, and / or fingerprint C can all control the electronic device to unlock the screen. This allows the acquisition of the specific unlocking data corresponding to the unlocking method. Then, the lock status of other applications and / or files on the electronic device that can be unlocked using the specific unlocking data can be released.

[0151] For example, when a user unlocks the screen using fingerprint A, they can simultaneously control the electronic device to unlock other applications and / or files that can be unlocked using fingerprint A.

[0152] Optionally, when the screen lock re-enters the locked state, it can be controlled to make all currently unlocked objects enter the locked state.

[0153] In the technical solution disclosed in this embodiment, when the screen lock is unlocked, the locking status of other related objects can be unlocked, thereby simplifying the unlocking operation.

[0154] Furthermore, this invention also proposes an electronic device, which includes: a memory, a processor, and an unlocking program for the electronic device stored in the memory and executable on the processor. When the unlocking program for the electronic device is executed by the processor, it implements the steps of the unlocking method for the electronic device as described in the above embodiments.

[0155] Furthermore, embodiments of the present invention also propose a computer-readable storage medium storing an unlocking program for an electronic device, wherein the unlocking program for the electronic device, when executed by a processor, implements the steps of the unlocking method for the electronic device as described in the above embodiments.

[0156] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0157] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0158] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a smartphone, tablet computer, PC, etc.) to execute the methods described in the various embodiments of the present invention.

[0159] The above are merely optional embodiments of the present invention and do not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.

Claims

1. A method for unlocking an electronic device, wherein, The unlocking method for the electronic device includes the following steps: Receive the unlock data settings of the locked object, and associate the unlock configuration data of the first object with the preset unlock data. When the first object is triggered, an unlock prompt message is output to prompt the user to enter unlock data; When the received unlock data matches the preset unlock data, the locking state of the first object is released; When the first object of the electronic device is unlocked, the unlock data input by the user is obtained; Obtain the second object associated with the unlock data input by the user, and unlock the second object; Get the unlock duration of the first object; When the unlocked duration is greater than or equal to a preset duration, the second object is locked, wherein the first object is a screen lock, and the second object is at least one application, function, or file in the electronic device; or the first object is a first application, and the second object is a second application; or the first object is a first functional module under a third application, and the second object is a second functional module under a third application.

2. The unlocking method for an electronic device as described in claim 1, wherein, The step of obtaining the second object associated with the unlock data input by the user and unlocking the second object includes: When the preset unlock data of the locked object in the electronic device is the same as the unlock data input by the user, the locked object is designated as the second object; Release the locked state of the second object.

3. The unlocking method for an electronic device as described in claim 1, wherein, After the step of outputting the unlock prompt message, the method further includes: If the received user-inputted unlock data does not match the preset unlock data, an unlock failure message will be output to prompt the user to re-enter the unlock data.

4. The unlocking method for an electronic device as described in claim 1, wherein, The step of obtaining the second object associated with the unlock data input by the user and unlocking the second object includes: When the preset unlock data of the locked object in the electronic device is associated with the unlock data input by the user, the locked object is used as the second object; Release the locked state of the second object.

5. The unlocking method for an electronic device as described in claim 1, wherein, When the first object of the electronic device is unlocked, the first unlock data input by the user is obtained; Obtain the second unlock data associated with the first unlock data input by the user, obtain the second object corresponding to the second unlock data, and unlock the second object.

6. The unlocking method for an electronic device as described in claim 1, wherein, The unlock data input by the user includes at least one of the following: fingerprint data, facial data, graphic data, and numeric password.

7. The unlocking method for an electronic device as described in claim 1, wherein, Before the first object of the electronic device is unlocked, the first object and the second object are encrypted objects.

8. The unlocking method for an electronic device as described in claim 1, wherein, The step of obtaining the second object associated with the unlock data input by the user and unlocking the second object includes: Obtain the second object associated with the unlock data input by the user; Generate and save the unlocking credentials corresponding to the unlocking data input by the user; When the second object is triggered, the locked state of the second object is released based on the unlocking credential.

9. The unlocking method for an electronic device as described in claim 1, wherein, The electronic device is equipped with a quick unlock function. When the quick unlock function is enabled, the step of obtaining the unlock data input by the user when the first object of the electronic device is unlocked is executed, the second object associated with the unlock data input by the user is obtained, and the locked state of the second object is released.

10. A method for unlocking an electronic device, wherein, The unlocking method for the electronic device includes the following steps: Receive the unlock data settings of the locked object, and associate the unlock configuration data of the first object with the preset unlock data. When the first object is triggered, an unlock prompt message is output to prompt the user to enter unlock data; When the received unlock data matches the preset unlock data, the locking state of the first object is released; When the first object of the electronic device is unlocked, the second object associated with the first object is obtained, and the locked state of the second object is released; Get the unlock duration of the first object; When the unlocked duration is greater than or equal to a preset duration, the second object is locked, wherein the first object is a screen lock, and the second object is at least one application, function, or file in the electronic device; or the first object is a first application, and the second object is a second application; or the first object is a first functional module under a third application, and the second object is a second functional module under a third application.

11. The unlocking method for an electronic device as described in claim 10, wherein, Before the first object is unlocked, receive the locked object association settings and associate the first object with the second object.

12. The unlocking method for an electronic device as described in claim 10, wherein, Before the first object of the electronic device is unlocked, the first object and the second object are encrypted objects.

13. An electronic device, wherein, The electronic device includes: a memory, a processor, and an unlocking program for the electronic device stored in the memory and executable on the processor, wherein when the unlocking program is executed by the processor, it implements the steps of the unlocking method for the electronic device as described in any one of claims 1 to 12.

14. A computer-readable storage medium, wherein, The computer-readable storage medium stores an unlocking program for an electronic device, which, when executed by a processor, implements the steps of the unlocking method for an electronic device as described in any one of claims 1 to 12.

Citation Information

Patent Citations

  • Application starting method and mobile terminal

    CN104636660A

  • Unlocking method and device

    CN106682463A

  • Allowing varied device access based on different levels of unlocking mechanisms

    US20140096178A1