WO2021082327A1 - 电子设备的解锁方法、电子设备及计算机可读存储介质 - Google Patents

电子设备的解锁方法、电子设备及计算机可读存储介质 Download PDF

Info

Publication number
WO2021082327A1
WO2021082327A1 PCT/CN2020/078829 CN2020078829W WO2021082327A1 WO 2021082327 A1 WO2021082327 A1 WO 2021082327A1 CN 2020078829 W CN2020078829 W CN 2020078829W WO 2021082327 A1 WO2021082327 A1 WO 2021082327A1
Authority
WO
WIPO (PCT)
Prior art keywords
unlocking
electronic device
data
locked state
unlocked
Prior art date
Application number
PCT/CN2020/078829
Other languages
English (en)
French (fr)
Inventor
肖明
李凌志
吴少波
李如森
杨佳佳
Original Assignee
深圳传音控股股份有限公司
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 深圳传音控股股份有限公司 filed Critical 深圳传音控股股份有限公司
Priority to CN202080075840.8A priority Critical patent/CN115427950A/zh
Publication of WO2021082327A1 publication Critical patent/WO2021082327A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • This application relates to the field of electronic technology, in particular to an unlocking method of an electronic device, an electronic device, and a computer-readable storage medium.
  • a mobile phone can set a screen lock and an application lock corresponding to each application.
  • the locked object When the electronic device is locked in multiple levels, the locked object needs to be unlocked every time it is triggered. For example, when a screen lock is set in a mobile phone and an application lock is set in an album, an unlock operation must be performed when unlocking the screen. After unlocking the screen, if you want to open the album, you need to perform the unlocking operation again. Since the locked object needs to be unlocked every time it is triggered, there is a disadvantage that the steps for releasing the locked state of the locked object in the electronic device are complicated.
  • the main purpose of this application is to provide a method for unlocking an electronic device, an electronic device, and a computer-readable storage medium, aiming to simplify the unlocking step.
  • the unlocking method of the electronic device includes the following steps:
  • the step of acquiring the second object associated with the unlocking data and releasing the locked state of the second object includes:
  • the locked state of the second locked object is released.
  • the step of acquiring the second object associated with the unlocking data and releasing the locked state of the second object includes:
  • the first object is a screen lock
  • 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 The object is the second application; or the first object is the first functional module of the third application, and the second object is the second functional module of the third application.
  • the method before the step of acquiring unlocking data of the first object when the first object of the electronic device is unlocked, the method further includes:
  • unlocking prompt information to prompt the user to input unlocking data
  • the method further includes:
  • a prompt message of unlocking failure is output to prompt the user to re-enter the unlocking data.
  • the method further includes:
  • the second object is locked.
  • the step of acquiring the second object associated with the unlocking data and releasing the locked state of the second object includes:
  • the locked state of the second locked object is released.
  • Obtaining the first unlocking data is associated with the second unlocking data, acquiring the second unlocking data corresponding to the second object, and releasing the locked state of the second object.
  • the unlocking data includes at least one of the following: fingerprint data, face data, graphic data, and digital password.
  • the first object and the second object are encrypted objects.
  • the step of acquiring the second object associated with the unlocking data and releasing the locked state of the second object includes:
  • the locked state of the second object is released based on the unlocking credential.
  • the electronic device is provided with a quick unlocking function, and when the quick unlocking function is turned on, the step of acquiring the unlocking data of the first object when the first object of the electronic device is unlocked is executed, and obtaining The unlocking of the second object associated with the data, and releasing the locked state of the second object.
  • the unlocking method of the electronic device includes the following steps:
  • the step of acquiring a second object associated with the first object and releasing the locked state of the second object includes:
  • the locked object association setting is accepted, and the first object is associated with the second object.
  • the first object and the second object are encrypted objects.
  • the first object is a screen lock
  • 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 The object is the second application; or the first object is the first functional module of the third application, and the second object is the second functional module of the third application.
  • the present application also provides an electronic device including a memory, a processor, and an unlocking program of the electronic device that is stored on the memory and can run on the processor.
  • an unlocking program of the electronic device is executed by the processor, the steps of the method for unlocking the electronic device as described above are implemented.
  • the present application also provides a computer-readable storage medium, the computer-readable storage medium stores an unlocking program of an electronic device, and the unlocking program of the electronic device is executed by a processor to achieve the above The steps of the unlocking method of the electronic device described above.
  • An unlocking method of an electronic device, an electronic device, and a computer-readable storage medium proposed in the embodiments of the present application, when a first object of the electronic device is unlocked, the unlocking data of the first object is acquired, and then the unlocking data is acquired The second object is associated and the locked state of the second object is released.
  • the locked state of the second object can be released according to the unlocking data of the first object, so that when the second object is opened, There is no need to input the unlocking data again, thereby achieving the effect of simplifying the unlocking steps.
  • FIG. 1 is a schematic diagram of a terminal structure of a hardware operating environment involved in a solution of an embodiment of the present application
  • FIG. 2 is a schematic flowchart of an embodiment of a method for unlocking an electronic device according to this application;
  • FIG. 3 is a schematic flowchart of another embodiment of the application.
  • FIG. 4 is a schematic flowchart of another embodiment of the application.
  • the locked state of the second object can be released according to the unlocking data of the first object, so that when the second object is opened, there is no need to input the unlocking data again, thereby achieving the effect of simplifying the unlocking step.
  • FIG. 1 is a schematic diagram of a terminal structure of a hardware operating environment involved in a solution of an embodiment of the present application.
  • the terminal in the embodiment of the present application may be a terminal device such as a smart phone, a tablet computer, and/or a PC.
  • 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 implement connection and communication between these components.
  • the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), a touch screen, a mouse, etc., and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as a magnetic disk memory.
  • the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
  • terminal structure shown in FIG. 1 does not constitute a limitation on the terminal, and may include more or fewer components than shown in the figure, or combine some components, or arrange different components.
  • a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an unlocking program of an electronic device.
  • the network interface 1004 is mainly used to connect to a background server and perform data communication with the background server; the processor 1001 can be used to call an unlocking program of an electronic device stored in the memory 1005, and perform the following operations:
  • processor 1001 may call an unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:
  • the locked state of the second locked object is released.
  • processor 1001 may call an unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:
  • processor 1001 may call an unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:
  • unlocking prompt information to prompt the user to input unlocking data
  • processor 1001 may call an unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:
  • a prompt message of unlocking failure is output to prompt the user to re-enter the unlocking data.
  • processor 1001 may call an unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:
  • the second object is locked.
  • processor 1001 may call an unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:
  • the locked state of the second locked object is released.
  • processor 1001 may call an unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:
  • the locked state of the second object is released based on the unlocking credential.
  • processor 1001 may call an unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:
  • processor 1001 may call an unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:
  • processor 1001 may call an unlocking program of the electronic device stored in the memory 1005, and also perform the following operations:
  • the method for unlocking the electronic device includes the following steps:
  • Step S10 when the first object of the electronic device is unlocked, obtain the unlocking data of the first object
  • the electronic device may be an electronic device such as a mobile phone or a tablet computer.
  • the first object may be an application installed in the electronic device or a multimedia file in the electronic device.
  • the electronic device can set a program lock for some or all of the installed applications. It is also possible to set a privacy lock on the multimedia files saved in the electronic device. Exemplarily, when Alipay is installed in the electronic device, the electronic device may set an application lock corresponding to Alipay. When opening Alipay, you need to unlock Alipay before you can open Alipay. The electronic device can also set a privacy lock on the album, so that the album needs to be unlocked before the album can be opened.
  • the first object may be any one of all locked objects in the electronic device.
  • the first object may be any one of all locked objects in the electronic device.
  • a plurality of locked objects that can be locked are provided in the electronic device, if all the locked objects are locked, any one of the locked objects can be used as the first object.
  • the partially locked object in the electronic device is in the locked state, any one of the partially locked objects in the locked state may be used as the first object.
  • an unlock prompt message may be output.
  • the unlock prompt message may be output.
  • the words "please enter the unlocking password” may be displayed on the display interface of the electronic device, and a password input box may be displayed on the unlocking interface for the user to enter the unlocking password.
  • the first object can be unlocked by any data such as fingerprint data, face data, graphics data, and/or digital password.
  • the unlocking method can be set in advance. When fingerprint unlocking is set, when the first object is triggered, the first object needs to be unlocked by fingerprints. When the digital password is set to unlock, when the first object is triggered, the first object needs to be unlocked by the digital password.
  • the electronic device may be provided with an unlocking data receiving device to receive unlocking data input by the user.
  • the electronic device may be provided with a fingerprint collector to collect the fingerprint data used by the user to unlock the first object;
  • the electronic device may be provided with a keyboard , To receive the digital password input by the user through the keyboard;
  • the electronic device can be equipped with an image acquisition device (for example, a camera) to collect the user’s face data through the image acquisition device; when the unlock data is a graph
  • the electronic device may be provided with a graphic data collection device (for example, a handwriting board and/or a touch screen) to collect graphic data input by the user (for example, output the nine-square grid through the touch screen and receive the nine-square grid connection graphic input by the user).
  • a graphic data collection device for example, a handwriting board and/or a touch screen
  • unlocking data input by the user it is determined whether the received unlocking data matches the pre-stored unlocking data, and when the received unlocking data matches the pre-stored unlocking data of the first object, the unlocking data of the first object is released. Locked state.
  • the received unlocking data is fingerprint data A and the pre-stored unlocking data is fingerprint data B
  • the matching degree between the received fingerprint A and the pre-stored fingerprint B is greater than the preset matching degree (for example, 95 %)
  • 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 locked state of the first object is released.
  • a prompt message of unlocking failure may be output to prompt the user to re-enter the unlocking data.
  • the unlocking prompt information may be displayed on the display device of the electronic device in the form of text, or voice prompt information may be output in the form of voice broadcast to prompt the user to input unlocking data.
  • unlocking data for releasing the locked state of the first object can be acquired.
  • Step S20 Obtain a second object associated with the unlocking data, and release the locked state of the second object.
  • the second object can be determined according to the unlocking data of the first object.
  • an object that can be unlocked through the unlocking data A may be used as the second object.
  • the preset unlocking data of other locked objects in the current electronic device can also be acquired. And selecting a locked object including unlocking data A in the preset unlocking data as the second object. Then, the locked state of the second object is released.
  • the locked state of the second object may be directly released, or the locked state of the second object may be released when the second object is triggered.
  • the unlocking data of the first object is acquired, the second object associated with the unlocking data is acquired, and the second object is released.
  • the locked state because when the first object is unlocked, the locked state of the second object can be released according to the unlocking data of the first object, so that when the second object is opened, there is no need to input the unlocking data again, thus achieving the effect of simplifying the unlocking step .
  • the method further includes:
  • Step S30 Obtain the unlocked duration of the first object
  • Step S40 When the unlocked time period is greater than or equal to a preset time period, lock the second object.
  • the unlocked duration of the first object can be acquired. Then the relationship between the unlocked duration and the preset duration is monitored in real time. When the unlocked duration is less than the preset duration, the electronic device does not respond. When it is detected that the unlocked time period is equal to or greater than the preset time period, the electronic device may control the second object to enter the locked state again.
  • the preset duration is self-defined by the user.
  • the setting interface of the electronic device may include a quick unlock setting interface.
  • the quick unlock function of the electronic device can be set.
  • the unlocking data for example, the digital password "1234"
  • the digital password "1234" input by the user for receiving Alipay
  • the digital password "1234" is received
  • the second object in the electronic device for example, WeChat, photo album and/or folder A. Then release the lock status of WeChat, album and/or folder A.
  • the unlocked duration of Alipay when the unlocked duration of Alipay is greater than the preset duration (wherein, the preset duration can be set to (1-99) minutes, for example, set to 3 minutes, 5 minutes, 70 minutes or 80 minutes ), control WeChat, album and/or folder A from the unlocked state to the locked state.
  • the preset duration can be set to (1-99) minutes, for example, set to 3 minutes, 5 minutes, 70 minutes or 80 minutes
  • the quick unlock setting interface includes a quick unlock function on/off setting button.
  • the quick unlock function on/off setting button When the quick unlock function on/off setting button is clicked, the electronic device can be controlled to turn on or off the quick unlock function.
  • the quick unlocking function when the quick unlocking function is turned on, the electronic device can perform the quick unlocking steps described in step S10 to step S20 above.
  • the quick unlocking function is turned off, the electronic device needs to perform an operation of inputting unlocking data to open each locked object.
  • the quick unlock setting interface also includes a preset duration setting area.
  • the preset duration is set in a scroll setting manner, and the preset duration may also be set in a manner of active input.
  • the second object since the second object is unlocked based on the unlocking data of the first object, it is possible to control the second object to enter the locked state when the unlocking duration of the first object is greater than or equal to the preset duration.
  • the effect of improving the data security of electronic equipment is improved.
  • step S20 may also be implemented according to the following steps:
  • Step S21 Obtain a second object associated with the unlocking data
  • Step S22 Generate and save the unlocking credential corresponding to the unlocking data
  • Step S23 When the second object is triggered, release the locked state of the second object based on the unlocking credentials.
  • an unlocking voucher for the unlocking data may be generated.
  • the second object includes unlocking data that is the same as the received unlocking data of the first object.
  • the unlocking credential can be stored in association with the second object.
  • the electronic device receives a trigger instruction to lock the object, it queries whether the unlocking credential associated with the currently triggered lock object exists in the current electronic device.
  • the locked state of the locked object is directly released. If the unlocking credential associated with the locked object does not exist in the current electronic device, a prompt message prompting the user to input unlocking data is output. The locked state of the currently triggered locked object is released by prompting the user to input unlocking data.
  • an object such as Alipay may be installed in the mobile phone.
  • the user settings add an application lock to Alipay so that it needs to be unlocked every time Alipay is turned on.
  • the second object associated with the unlocking data A is determined. For example, if the unlocking data A is the digital password "1234", then the other objects that can be unlocked by the digital password "1234" are obtained.
  • the locked object serves as the second object. And generate the unlocking voucher of the digital password "1234", and store the unlocking voucher in association with the second object.
  • the second object may be WeChat.
  • WeChat When it is detected that WeChat is triggered, it can be queried whether there is an unlocking certificate associated with WeChat in the current device. Since the unlocking vouchers associated with WeChat are generated when Alipay is unlocked, the unlocking vouchers associated with WeChat can be queried. So you can directly contact the locked state of WeChat and open WeChat. There is no need to enter the unlock password.
  • the unlocking credential can also be sent to the electronic device through another terminal.
  • the electronic device receives an unlocking credential, it first authenticates other terminals that send the unlocking credential.
  • the authentication method may be authentication by means of key encryption.
  • the received unlocking credential is associated with the corresponding object and saved. The corresponding object can be unlocked through the unlocking credential.
  • the unlocking credential may be a flag bit, that is, the flag bit may be associated with the locked object in the mobile phone.
  • the unlocking credential may also be a digital certificate that can be recognized by an electronic device. When the data certificate exists, the locked state of the object associated with the digital certificate can be directly released. Otherwise, you need to enter unlock data to unlock the object.
  • the unlocking credential can be generated based on the unlocking data, and the associated object can be unlocked through the unlocking credential. Since the plaintext password does not need to be saved, the data security of the electronic device is improved.
  • the terminal may receive the unlocking data setting of the locked object, and associate the unlocking data of the first object with the preset unlocking data. Therefore, after the first unlocked object is unlocked, the locked state of the second object corresponding to the preset unlocking data associated with the unlocking data can be released.
  • the first object when the first object is Alipay, its unlock data can be set as a fingerprint.
  • the user Before Alipay unlocks, the user can set other unlocking methods associated with fingerprint unlocking in the terminal. Exemplarily, fingerprint unlocking associated password unlocking or voiceprint unlocking can be set.
  • the terminal can acquire the second object of other unlocking methods (the aforementioned password unlocking or voiceprint unlocking) associated with fingerprint unlocking, and release the locked state of the second object corresponding to the other unlocking methods .
  • the aforementioned password unlocking or voiceprint unlocking the aforementioned password unlocking or voiceprint unlocking
  • the first object of the electronic device when the first object of the electronic device is unlocked, acquiring first unlocking data of the first object, acquiring the first unlocking data associated with the second unlocking data, and acquiring the second unlocking data corresponding to the second object, And release the locked state of the second object.
  • the first unlocking data of the first object is acquired, the first unlocking data is associated with the second unlocking data, the second unlocking data corresponding to the second object is acquired, and the unlocking
  • the user in the locked state of the second object may also preset other unlock data associated with the unlock data of the first object. After the user releases the locked state of the first object through the unlock data of the first object, the corresponding unlock data is released.
  • the locked state of the second unlocked object For example, when the unlocking data corresponding to the first object is fingerprint A, fingerprint A can be associated with digital password B and/or fingerprint B. After the user releases the locked state of the first object through the fingerprint A, the locked state of the second object corresponding to the other unlocking data associated with the fingerprint A can be released at the same time.
  • 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, so 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.
  • the second object can also be set as any encryption object in the terminal. Therefore, the unlocking manner between the first object and the second object may be the same or different. For example, the first object is unlocked by fingerprint unlocking, and the second object is unlocked by digital password.
  • the second object may be a custom setting, that is, the terminal may receive the lock object associated setting.
  • 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 locked state of the second object associated with it can be directly released, or When the second object is triggered, the locked state of the second object associated therewith is released.
  • the first object is Alipay
  • the second object may be applications such as WeChat and photo albums.
  • the terminal can directly release the locked state of WeChat and the album, or when the WeChat or the album is triggered, the locked state of the WeChat or the album is released.
  • the second object may also be a sub-function module of the first object, or a sub-function module of other objects.
  • the first object is an album
  • the second object may be a photo in the album that is locked twice. Or, it can also be Alipay to check bank card information.
  • the first object is a screen lock
  • the second object is other applications and/or multimedia files in the electronic device.
  • the electronic device can set a screen lock.
  • the screen lock of the electronic device can be unlocked in a variety of ways. For example, it can be unlocked by fingerprint, face, digital password, graphic code, etc.
  • the user's current unlocking method for unlocking the screen lock can be acquired, and at the same time, other applications and/or other applications in the electronic device that can be unlocked through the unlocking method can be unlocked.
  • the locked state of the file can be acquired, and at the same time, other applications and/or other applications in the electronic device that can be unlocked through the unlocking method can be unlocked.
  • the locked state of other applications and/or files that can be unlocked through the fingerprint in the current electronic device can be unlocked at the same time.
  • the specific unlocking data of the currently adopted unlocking method can also be obtained.
  • fingerprint A, fingerprint B, and/or fingerprint C can all be used to control the electronic device to unlock the screen.
  • the specific unlocking data corresponding to the current unlocking method can be obtained.
  • unlock other applications and/or files in the electronic device that can be unlocked through the specific unlocking data can be obtained.
  • the electronic device can be controlled to release the locked state of other applications and/or files that can be unlocked through fingerprint A at the same time.
  • an embodiment of the present application also proposes an electronic device, the electronic device includes: a memory, a processor, and an unlocking program of the electronic device stored on the memory and running on the processor, the electronic device When the unlocking program is executed by the processor, the steps of the unlocking method of the electronic device described in the above embodiments are implemented.
  • the embodiment of the present application also proposes a computer-readable storage medium, the computer-readable storage medium stores an unlocking program of an electronic device, and the unlocking program of the electronic device is executed by a processor as described in the above embodiments. The steps of the unlocking method of the electronic device described above.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Telephone Function (AREA)

Abstract

一种电子设备的解锁方法,电子设备及计算机可读存储介质,其中,所述方法包括以下步骤:在电子设备的第一对象被解锁时,获取所述第一对象的解锁数据(S10);获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态(S20)。

Description

电子设备的解锁方法、电子设备及计算机可读存储介质
相关申请:
本申请要求2019年11月01日申请的,申请号为201911065326.1,名称为“电子设备的解锁方法、电子设备及计算机可读存储介质”的中国专利申请的优先权,在此将其全文引入作为参考。
技术领域
本申请涉及电子技术领域,尤其涉及电子设备的解锁方法、电子设备、及计算机可读存储介质。
背景技术
随着科技的进步,如手机、平板电脑及或电脑等电子产品已成为人们生活中不可或缺的辅助工具。为提高电子产品的数据安全性,可以对电子产品及其装载的应用软件进行多次锁定。例如,手机可以设置屏幕锁,及各个应用对应的应用锁。
电子设备进行多级锁定时,每次触发被锁定的对象均需要进行解锁操作。例如手机中设置有屏幕锁,且相册设置有应用锁时,在解锁屏幕时要执行解锁操作。在解锁屏幕后,若要打开相册,则需要再次执行解锁操作。由于被锁定的对象在每次被触发时,均要进行解锁操作,这样存在解除电子设备中锁定对象的锁定状态的步骤繁琐的缺点。
发明概述
技术问题
问题的解决方案
技术解决方案
本申请的主要目的在于提供一种电子设备的解锁方法、电子设备及计算机可读存储介质,旨在简化解锁步骤。
为实现上述目的,本申请提供一种电子设备的解锁方法,所述电子设备的解锁方法包括以下步骤:
在电子设备的第一对象被解锁时,获取所述第一对象的解锁数据;
获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态。
可选地,所述获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态的步骤包括:
当所述电子设备中锁定对象的预设解锁数据同于所述解锁数据时,将所述锁定对象作为所述第二对象;
解除所述第二锁定对象的锁定状态。
可选地,所述获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态的步骤包括:
获取所述解锁数据关联的所述第二对象;
在所述第二对象被触发时,解除所述第二对象的锁定状态。
可选地,所述第一对象为屏幕锁,所述第二对象为所述电子设备中的应用、功能或文件中至少一种;或所述第一对象为第一应用,所述第二对象为第二应用;或所述第一对象为第三应用下第一功能模块,第二对象为第三应用下第二功能模块。
可选地,所述在电子设备的第一对象被解锁时,获取所述第一对象的解锁数据的步骤之前,还包括:
在所述第一对象被触发时,输出解锁提示信息,以提示用户输入解锁数据;
在接收到的所述解锁数据与预设解锁数据匹配时,解除所述第一对象的锁定状态。
可选地,所述输出解锁提示信息的步骤之后,还包括:
在接收到的所述解锁数据与预设解锁数据不匹配时,输出解锁失败的提示信息,以提示用户重新输入所述解锁数据。
可选地,所述获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态的步骤之后,还包括:
获取所述第一对象的已解锁时长;
在所述已解锁时长大于或者等于预设时长时,锁定所述第二对象。
可选地,所述获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定 状态的步骤包括:
当所述电子设备中锁定对象的预设解锁数据关联所述解锁数据时,将所述锁定对象作为所述第二对象;
解除所述第二锁定对象的锁定状态。
可选地,在第一对象被解锁前,接收锁定对象解锁数据设置,将第一对象的解锁数据与所述预设解锁数据关联设置。
可选地,在电子设备的第一对象被解锁时,获取所述第一对象的第一解锁数据;
获取所述第一解锁数据关联第二解锁数据,获取第二解锁数据对应第二对象,并解除所述第二对象的锁定状态。
可选地,所述解锁数据包括以下至少一种:指纹数据、人脸数据、图形数据,数字密码。
可选地,在电子设备的第一对象被解锁前,所述第一对象、所述第二对象为加密对象。
可选地,所述获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态的步骤包括:
获取所述解锁数据关联的第二对象;
生成并保存所述解锁数据对应的解锁凭证;
在所述第二对象被触发时,基于所述解锁凭据解除所述第二对象的锁定状态。
可选地,所述电子设备设置有快捷解锁功能,在所述快捷解锁功能开启时,执行所述在电子设备的第一对象被解锁时,获取所述第一对象的解锁数据的步骤,获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态。
可选地,所述电子设备的解锁方法包括以下步骤:
在电子设备的第一对象被解锁时,获取所述第一对象关联的第二对象,并解除所述第二对象的锁定状态。
可选地,获取所述第一对象关联的第二对象,并解除所述第二对象的锁定状态的步骤包括:
获取所述第一对象关联的所述第二对象;
在所述第二对象被触发时,解除所述第二对象的锁定状态。
可选地,在第一对象被解锁前,接受锁定对象关联设置,将所述第一对象与所述第二对象关联设置。
可选地,在电子设备的第一对象被解锁前,所述第一对象、所述第二对象为加密对象。
可选地,所述第一对象为屏幕锁,所述第二对象为所述电子设备中的应用、功能或文件中至少一种;或所述第一对象为第一应用,所述第二对象为第二应用;或所述第一对象为第三应用下第一功能模块,第二对象为第三应用下第二功能模块。
此外,为实现上述目的,本申请还提供一种电子设备,所述电子设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的电子设备的解锁程序,所述电子设备的解锁程序被所述处理器执行时实现如上所述的电子设备的解锁方法的步骤。
此外,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有电子设备的解锁程序,所述电子设备的解锁程序被处理器执行时实现如上所述的电子设备的解锁方法的步骤。
本申请实施例提出的一种电子设备的解锁方法、电子设备及计算机可读存储介质,在电子设备的第一对象被解锁时,获取所述第一对象的解锁数据,然后获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态,由于在第一对象解除锁定时,可以根据第一对象的解锁数据解除第二对象的锁定状态,使得在打开第二对象时,无需再次输入解锁数据,从而达成了简化解锁步骤的效果。
发明的有益效果
对附图的简要说明
附图说明
图1是本申请实施例方案涉及的硬件运行环境的终端结构示意图;
图2为本申请电子设备的解锁方法一实施例的流程示意图;
图3为本申请另一实施例的流程示意图;
图4为本申请再一实施例的流程示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
发明实施例
本发明的实施方式
应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。
由于,传统的电子设备进行多级锁定时,每次触发被锁定的对象均需要进行解锁操作。例如手机中设置有屏幕锁,且相册设置有应用锁时,在解锁屏幕时要执行解锁操作。在解锁屏幕后,若要打开相册,则需要再次执行解锁操作。由于被锁定的对象在每次被触发时,均要进行解锁操作,这样存在解除电子设备中锁定对象的锁定状态的步骤繁琐的缺点。
因此,本申请实施例提出的一种电子设备的解锁方法、电子设备及计算机可读存储介质,其主要解决方案为:
在电子设备的第一对象被解锁时,获取所述第一对象的解锁数据;
获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态
由于在第一对象解除锁定时,可以根据第一对象的解锁数据解除第二对象的锁定状态,使得在打开第二对象时,无需再次输入解锁数据,从而达成了简化解锁步骤的效果。
如图1所示,图1是本申请实施例方案涉及的硬件运行环境的终端结构示意图。
本申请实施例终端可以是智能手机、平板电脑及/或PC机等终端设备。
如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard)、触摸屏、鼠标等,可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及电子设备的解锁程序。
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;处理器1001可以用于调用存储器1005中存储的电子设备的解锁程序,并执行以下操作:
在电子设备的第一对象被解锁时,获取所述第一对象的解锁数据;
获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态
进一步地,处理器1001可以调用存储器1005中存储的电子设备的解锁程序,还执行以下操作:
当所述电子设备中锁定对象的预设解锁数据同于所述解锁数据时,将所述锁定对象作为所述第二对象;
解除所述第二锁定对象的锁定状态。
进一步地,处理器1001可以调用存储器1005中存储的电子设备的解锁程序,还执行以下操作:
获取所述解锁数据关联的所述第二对象;
在所述第二对象被触发时,解除所述第二对象的锁定状态。
进一步地,处理器1001可以调用存储器1005中存储的电子设备的解锁程序,还执行以下操作:
在所述第一对象被触发时,输出解锁提示信息,以提示用户输入解锁数据;
在接收到的所述解锁数据与预设解锁数据匹配时,解除所述第一对象的锁定状态。
进一步地,处理器1001可以调用存储器1005中存储的电子设备的解锁程序,还执行以下操作:
在接收到的所述解锁数据与预设解锁数据不匹配时,输出解锁失败的提示信息,以提示用户重新输入所述解锁数据。
进一步地,处理器1001可以调用存储器1005中存储的电子设备的解锁程序,还 执行以下操作:
获取所述第一对象的已解锁时长;
在所述已解锁时长大于或者等于预设时长时,锁定所述第二对象。
进一步地,处理器1001可以调用存储器1005中存储的电子设备的解锁程序,还执行以下操作:
当所述电子设备中锁定对象的预设解锁数据关联所述解锁数据时,将所述锁定对象作为所述第二对象;
解除所述第二锁定对象的锁定状态。
进一步地,处理器1001可以调用存储器1005中存储的电子设备的解锁程序,还执行以下操作:
获取所述解锁数据关联的第二对象;
生成并保存所述解锁数据对应的解锁凭证;
在所述第二对象被触发时,基于所述解锁凭据解除所述第二对象的锁定状态。
进一步地,处理器1001可以调用存储器1005中存储的电子设备的解锁程序,还执行以下操作:
在电子设备的第一对象被解锁时,获取所述第一对象关联的第二对象,并解除所述第二对象的锁定状态。
进一步地,处理器1001可以调用存储器1005中存储的电子设备的解锁程序,还执行以下操作:
获取所述第一对象关联的所述第二对象;
在所述第二对象被触发时,解除所述第二对象的锁定状态。
进一步地,处理器1001可以调用存储器1005中存储的电子设备的解锁程序,还执行以下操作:
在第一对象被解锁前,接受锁定对象关联设置,将所述第一对象与所述第二对象关联设置。
参照图2,在本申请电子设备的解锁方法的一实施例中,所述电子设备的解锁方法包括以下步骤:
步骤S10、在电子设备的第一对象被解锁时,获取所述第一对象的解锁数据;
在本实施例中,所述电子设备可以是手机、平板电脑等电子设备。所述第一对象可以是所述电子设备中安装的应用程序或者所述电子设备中的多媒体文件。
可以理解的是,电子设备可以对已安装的应用中的部分应用或者全部应用设置程序锁。还可以对电子设备中保存的多媒体文件设置隐私锁。示例性地,当电子设备中安装有支付宝时,电子设备可以设置支付宝对应的应用锁。使得在开启支付宝时,需要先对支付宝进行解锁,才可以打开支付宝。电子设备还可以对相册设置隐私锁,使得需要先对相册进行解锁,才可以打开相册。
进一步地,所述第一对象可以是所述电子设备中,已锁定的全部对象中的任意一个。例如,当所述电子设备中设置有多个可以进行锁定的上锁对象时,若全部上锁对象均被锁定,则可以将任一上锁对象作为所述第一对象。当所述电子设备中部分上锁对象处于锁定状态时,可以将处于锁定状态的部分上锁对象中的任一对象作为所述第一对象。
在所述第一对象被触发时,可以输出解锁提示信息。以提示用户输入解锁数据。示例性地,当电子设备的支付宝被锁定时,若接收到用户打开支付宝的控制操作,则可以输出解锁提示信息。其中,可以在电子设备的显示界面中显示“请输入解锁密码”的字样,并在解锁界面中显示密码输入框,以供用户输入解锁密码。其中,所述第一对象可以通过指纹数据、人脸数据、图形数据及/或数字密码等任一数据进行解锁。其解锁方式可以预先进行设定。当设置为指纹解锁时,则在第一对象被触发时,需要通过指纹对所述第一对象进行解锁。当设置为数字密码解锁时,则在第一对象被触发时,需要通过数字密码对所述第一对象进行解锁。
具体地,电子设备可以设置有解锁数据接收装置,用以接收用户输入的解锁数据。例如,在第一对象对应的解锁数据为指纹数据时,电子设备可以设置指纹采集器,以采集用户用于解锁第一对象的指纹数据;当解锁数据为数字密码时,电子设备可以设置有键盘,以通过键盘接收用户输入的数字密码;当解锁数据为人脸数据时,电子设备可以设置有图像采集装置(例如,摄像头),以通过图像采集装置采集用户的人脸数据;当解锁数据为图形数据时,电子设备可以设置图形数据采集装置(例如,手写板及/或触摸屏),以采集用户输入的图 形数据(例如,通过触摸屏输出九宫格,接收用户输入的九宫格连线图形)。
当接收到用户输入的解锁数据时,判断接收到的解锁数据是否与预存解锁数据相匹配,并在接收到的解锁数据与第一对象的预存解锁数据相匹配时,解除所述第一对象的锁定状态。
示例性地,当接受到的解锁数据为指纹数据A,预存的解锁数据为指纹数据B,然后判读接收到的指纹A与预存指纹B之间的匹配度是否大于预设匹配度(例如,95%),当收到的指纹A与预存指纹B之间的匹配度大于预设匹配度,判定接收到的指纹数据与预存指纹数据相匹配,则解除第一对象的锁定状态。
可选地,接收到的解锁数据与第一对象的预存解锁数据不匹配时,可以输出解锁失败的提示信息,以提示用户重新输入所述解锁数据。其中,所述解锁提示信息可以以文字的方式显示在电子设备的显示装置上,也可以通过语音播报的形式,输出语音提示信息,以提示用户输入解锁数据。
进一步地,在电子设备的第一对象被解锁时,可以获取用于解除第一对象的锁定状态的解锁数据。
步骤S20、获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态。
在本实施例中,当第一对象被解锁后,可以根据第一对象的解锁数据确定第二对象。
具体地,在获取到第一对象的解锁数据A时,可以将所述电子设备中,当前处于锁定状态的对象中,可以通过所述解锁数据A进行解锁的对象作为所述第二对象。
当获取到第一对象的解锁数据A时,还可以获取当前电子设备中其它锁定对象的预设解锁数据。并选定所述预设解锁数据中包括解锁数据A的锁定对象作为所述第二对象。进而解除所述第二对象的锁定状态。
可选地,当确定所述第二对象后,可以直接解除所述第二对象的锁定状态,或者可以在第二对象被触发时,再解除所述第二对象的锁定状态。
在本实施例公开的技术方案中,在电子设备的第一对象被解锁时,获取所述第一对象的解锁数据,获取所述解锁数据关联的第二对象,并解除所述第二对象 的锁定状态,由于在第一对象解除锁定时,可以根据第一对象的解锁数据解除第二对象的锁定状态,使得在打开第二对象时,无需再次输入解锁数据,从而达成了简化解锁步骤的效果。
参照图3,基于上述实施例,在另一实施例中,所述步骤S20之后,还包括:
步骤S30、获取所述第一对象的已解锁时长;
步骤S40、在所述已解锁时长大于或者等于预设时长时,锁定所述第二对象。
在本实施例中,在解除所述第二对象的锁定状态后,可以获取所述第一对象的已解锁时长。然后实时监测所述已解锁时长与预设时长之间的大小关系。当所述已解锁时长小于所述预设时长时,电子设备不作响应。当监测到所述已解锁时长等于或者大于所述预设时长时,可以电子设备可以控制所述第二对象再次进入锁定状态。
其中,所述预设时长由用户自定义设置。例如,在电子设备的设置界面中,可以包括快捷解锁设置界面。在所述快捷解锁设置界面中,可以对电子设备的快捷解锁功能进行设置。
示例性地,所述第一对象为支付宝时,在用户触发支付宝后,可以接收用户输入的用于接收支付宝的解锁数据(例如,数字密码“1234”),当接收到数字密码“1234”后,可以确定电子设备中,可以通过数字密码“1234”解锁的第二对象,例如,微信、相册和/或文件夹A。然后解除微信、相册和/或文件夹A的锁定状态。并获取支付宝的已解锁时长,当支付宝的已解锁时长为大于预设时长(其中,预设时长可以设置为(1-99)分钟,例如,设置为3分钟、5分钟、70分钟或者80分钟)时,控制微信、相册和/或文件夹A从解锁状态进入锁定状态。
具体地,快捷解锁设置界面包括快捷解锁功能开启/关闭设置按钮。当点击所述快捷解锁功能开启/关闭设置按钮时,可以控制电子设备开启或者关闭快捷解锁功能。其中,当所述快捷解锁功能开启时,电子设备可以通过执行上述步骤S10至步骤S20所述的快捷解锁步骤。当所述快捷解锁功能关闭时,电子设备开启每一锁定对象均需要执行输入解锁数据的操作。
所述快捷解锁设置界面还包括预设时长设置区域。在所述预设时长设置区域中,滚动设置的方式设置所述预设时长,也可以通过主动输入的方式设置所述预 设时长。
在本实施例公开的技术方案中,由于第二对象时基于第一对象的解锁数据进行解锁的,因此可以在第一对象解锁时长大于等于预设时长,控制第二对象进入锁定状态,这样达成了提高电子设备的数据安全性的效果。
可选地,参照图4,基于图2所示的实施例,在再一实施例中,所述步骤S20还可以根据以下步骤实施:
步骤S21、获取所述解锁数据关联的第二对象;
步骤S22、生成并保存所述解锁数据对应的解锁凭证;
步骤S23、在所述第二对象被触发时,基于所述解锁凭据解除所述第二对象的锁定状态。
在本实施例中,当根据所述解锁数据确定所述第二对象后,可以生成所述解锁数据的解锁凭证。其中,所述第二对象包括与接收到的第一对象的解锁数据相同的解锁数据。
进一步地,生成所述解锁凭证后,可以将所述解锁凭证与所述第二对象关联保存。当电子设备接收到一锁定对象的触发指令时,查询当前电子设备中是否存在与当前被触发的锁定对象关联的所述解锁凭证。
若当前电子设备中存在与所述锁定对象关联的所述解锁凭证,则直接解除所述锁定对象的锁定状态。若当前电子设备中不存在与所述锁定对象关联的所述解锁凭证,则输出提示用户输入解锁数据的提示信息。以提示用户通过输入解锁数据的方式解除当前被触发的锁定对象的锁定状态。
示例性地,当所述电子设备为手机时,手机中可以安装有支付宝等对象。用户设置对支付宝添加应用锁,使得每次开启支付宝时均需要进行解锁。
当支付宝被触发时,先查询手机中是否存在支付宝关联的解锁凭证,如存在支付宝关联的解锁凭证时,直接接触支付宝的锁定状态,否则输出提示信息,以提示用户输入解锁数据,解锁支付宝。
可选地,当接收到支付宝的解锁数据A时,确定与解锁数据A关联的第二对象,例如,解锁数据A为数字密码“1234”,则获取可以通过数字密码“1234”进行解锁的其它锁定对象作为第二对象。并生成数字密码“1234”的解锁凭证,将所述解 锁凭证与第二对象关联保存。其中,所述第二对象可以是微信。
当检测到微信被触发时,可以查询当前设备中是否存在与微信关联的解锁凭证。由于在解锁支付宝时生成了与微信关联的解锁凭证,因此,可以查询到与微信关联的解锁凭证。从而可以直接接触微信的锁定状态,打开微信。而无需进行输入解锁密码的操作。
可选地,也可以通过其它终端向电子设备发送所述解锁凭证。当电子设备接收到一解锁凭证时,先对发送所述解锁凭证的其它终端进行鉴权。其中,鉴权方式可以是通过密钥加密的方式进行鉴权。当确定其它终端有权限设置所述解锁凭证时,将接收到的解锁凭证与对应对象关联保存。以通过解锁凭证对对应对象进行解锁。
需要说明的是,所述解锁凭证可以是一标志位,即所述标志位可以与手机中的锁定对象关联。在打开所述锁定对象时,先检测标志位是否处于置位状态(即是否存在解锁凭证),若是,则直接解除该对象的锁定状态,若否,则提示用户输入解锁数据。可选地,所述解锁凭证也可以是一电子设备可以识别的数字证书。当存在所述数据证书时,可以直接解除所述数字证书关联的对象的锁定状态。否则,需要输入解锁数据才能解除该对象的锁定状态。
在本实施例公开技术方案中,可以根据解锁数据生成解锁凭证,并通过解锁凭证对关联对象进行解锁,由于可以不用保存明文密码,这样提高了电子设备的数据安全性。
作为一种实施方式,所述终端在第一对象被解锁前,可以接收锁定对象解锁数据设置,将第一对象的解锁数据与所述预设解锁数据关联设置。使得当所述第一解锁对象解除锁定后,可以解除与其解锁数据关联的预设解锁数据对应的第二对象的锁定状态。
例如,当所述第一对象为支付宝时,其解锁数据可以设置为指纹。在支付宝解除锁定前,用户可以在终端中设置指纹解锁关联的其它解锁方式。示例性地,可以设置指纹解锁关联密码解锁或声纹解锁。
当用户通过指纹解除支付宝的锁定状态后,终端可以获取与指纹解锁关联的其它解锁方式(上述密码解锁或声纹解锁)第二对象,并解除所述其它解锁方式 对应的第二对象的锁定状态。
可选地,在电子设备的第一对象被解锁时,获取所述第一对象的第一解锁数据,获取所述第一解锁数据关联第二解锁数据,获取第二解锁数据对应第二对象,并解除所述第二对象的锁定状态。
具体地,在电子设备的第一对象被解锁时,获取所述第一对象的第一解锁数据获取所述第一解锁数据关联第二解锁数据,获取第二解锁数据对应第二对象,并解除所述第二对象的锁定状态用户也可以预先设置第一对象的解锁数据关联的其它解锁数据,当用户通过第一对象的解锁数据解除第一对象的锁定状态后,解除所述其它解锁数据对应的第二解锁对象的锁定状态。例如,所述第一对象对应的解锁数据为指纹A时,可以设置指纹A关联数字密码B,及/或指纹B。当用户通过指纹A解除第一对象的锁定状态后,可以同时解除所述指纹A关联的其它解锁数据对应的第二对象的锁定状态。
可选地,作为一种实现方式,在本实现方式中,所述第二对象为所述电子设备中的应用、功能或文件中至少一种;或所述第一对象为第一应用,所述第二对象为第二应用;或所述第一对象为第三应用下第一功能模块,第二对象为第三应用下第二功能模块。
由于所述第二对象也可以设置为终端中的任一加密对象。因此,所述第一对象与所述第二对象之间的解锁方式可以相同,也可以不同。例如,第一对象通过指纹解锁的解锁方式进行解锁,第二对象通过数字密码进行解锁。
可以理解的是,所述第二对象可以是自定义设置,即终端可以接收锁定对象关联设置。
具体地,用户可以指定终端中的任一加密对象作为所述第一对象关联的第二对象,进而使得在第一对象解除锁定后,可以直接解除与之关联的第二对象的锁定状态,或者在所述第二对象被触发时,解除与之关联的第二对象的锁定状态。
示例性地,所述第一对象为支付宝,所述第二对象可以是微信,相册等应用。使得终端在解锁支付宝后,终端可以直接解除微信和相册的锁定状态,或者在所述微信或者相册被触发时,解除所述微信或者相册的锁定状态。
所述第二对象也可以是第一对象的一个子功能模块,或者其它对象的子功能模块。例如,所述第一对象为相册时,所述第二对象可以是所述相册中被二次锁定的一张照片。或者,也可以是支付宝的查看银行卡信息。
基于上述任一实施例,在又一实施例中,所述第一对象为屏幕锁,所述第二对象为所述电子设备中的其它应用和/或多媒体文件。
在本实施例中,电子设备可以设置屏幕锁。所述电子设备的屏幕锁可以通过多种方式进行解锁操作。例如,可以通过指纹、人脸、数字密码、图形码等方式进行解锁。
当用户通过一解锁方式解除电子设备的屏幕锁时,可以获取用户当前解除所述屏幕锁的解锁方式,并同时解除所述电子设备中,可以通过该解锁方式解除锁定状态的其它应用和/或文件的锁定状态。
示例性地,当用户通过指纹解锁方式解除屏幕锁时,可以同时解除当前电子设备中可以通过指纹进行解锁的其它应用和/或文件的锁定状态。
可以选地,解锁屏幕时,还可以获取当前采取的解锁方式的具体解锁数据。例如,用户通过指纹进行解除屏幕锁时,通过指纹A、指纹B和/或指纹C均可以控制电子设备解除屏幕锁。从而可以获取当解锁方式对应的具体解锁数据。然后解除电子设备中,可以通过所述具体解锁数据进行解锁的其它应用和/或文件的锁定状态。
示例性地,当用户通过指纹A解除屏幕锁,则可以同时控制电子设备解除可以通过指纹A进行解锁的其它应用和/或文件的锁定状态。
可选地,在所述屏幕锁在次进入锁定状态时,可以控制当前已解锁的全部对象均进入锁定状态。
在本实施例公开的技术方案中,当解除屏幕锁时,可以解除其它相关对象的锁定状态,从而简化了解锁操作。
此外,本申请实施例还提出一种电子设备,所述电子设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的电子设备的解锁程序,所述电子设备的解锁程序被所述处理器执行时实现如上各个实施例所述的电子设备的解锁方法的步骤。
此外,本申请实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有电子设备的解锁程序,所述电子设备的解锁程序被处理器执行时实现如上各个实施例所述的电子设备的解锁方法的步骤。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个......”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是智能手机、平板电脑和PC机等)执行本申请各个实施例所述的方法。
以上仅为本申请的可选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (21)

  1. 一种电子设备的解锁方法,其中,所述电子设备的解锁方法包括以下步骤:
    在电子设备的第一对象被解锁时,获取所述第一对象的解锁数据;
    获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态。
  2. 如权利要求1所述的电子设备的解锁方法,其中,所述获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态的步骤包括:
    当所述电子设备中锁定对象的预设解锁数据同于所述解锁数据时,将所述锁定对象作为所述第二对象;
    解除所述第二锁定对象的锁定状态。
  3. 如权利要求1所述的电子设备的解锁方法,其中,所述获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态的步骤包括:
    获取所述解锁数据关联的所述第二对象;
    在所述第二对象被触发时,解除所述第二对象的锁定状态。
  4. 如权利要求1所述的电子设备的解锁方法,其中,所述第一对象为屏幕锁,所述第二对象为所述电子设备中的应用、功能或文件中至少一种;或所述第一对象为第一应用,所述第二对象为第二应用;或所述第一对象为第三应用下第一功能模块,第二对象为第三应用下第二功能模块。
  5. 如权利要求1所述的电子设备的解锁方法,其中,所述在电子设备的第一对象被解锁时,获取所述第一对象的解锁数据的步骤之前,还包括:
    在所述第一对象被触发时,输出解锁提示信息,以提示用户输入解锁数据;
    在接收到的所述解锁数据与预设解锁数据匹配时,解除所述第一对象的锁定状态。
  6. 如权利要求5所述的电子设备的解锁方法,其中,所述输出解锁提示信息的步骤之后,还包括:
    在接收到的所述解锁数据与预设解锁数据不匹配时,输出解锁失败的提示信息,以提示用户重新输入所述解锁数据。
  7. 如权利要求1所述的电子设备的解锁方法,其中,所述获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态的步骤之后,还包括:
    获取所述第一对象的已解锁时长;
    在所述已解锁时长大于或者等于预设时长时,锁定所述第二对象。
  8. 如权利要求1所述的电子设备的解锁方法,其中,所述获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态的步骤包括:
    当所述电子设备中锁定对象的预设解锁数据关联所述解锁数据时,将所述锁定对象作为所述第二对象;
    解除所述第二锁定对象的锁定状态。
  9. 如权利要求1所述的电子设备的解锁方法,其中,在第一对象被解锁前,接收锁定对象解锁数据设置,将第一对象的解锁数据与所述预设解锁数据关联设置。
  10. 如权利要求1所述的电子设备的解锁方法,其中,在电子设备的第一对象被解锁时,获取所述第一对象的第一解锁数据;
    获取所述第一解锁数据关联第二解锁数据,获取第二解锁数据对应第二对象,并解除所述第二对象的锁定状态。
  11. 如权利要求1所述的电子设备的解锁方法,其中,所述解锁数据包括以下至少一种:指纹数据、人脸数据、图形数据、数字密码。
  12. 如权利要求1所述的电子设备的解锁方法,其中,在电子设备的第 一对象被解锁前,所述第一对象、所述第二对象为加密对象。
  13. 如权利要求1所述的电子设备的解锁方法,其中,所述获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态的步骤包括:
    获取所述解锁数据关联的第二对象;
    生成并保存所述解锁数据对应的解锁凭证;
    在所述第二对象被触发时,基于所述解锁凭据解除所述第二对象的锁定状态。
  14. 如权利要求1所述的电子设备的解锁方法,其中,所述电子设备设置有快捷解锁功能,在所述快捷解锁功能开启时,执行所述在电子设备的第一对象被解锁时,获取所述第一对象的解锁数据的步骤,获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态。
  15. 一种电子设备的解锁方法,其中,所述电子设备的解锁方法包括以下步骤:
    在电子设备的第一对象被解锁时,获取所述第一对象关联的第二对象,并解除所述第二对象的锁定状态。
  16. 如权利要求15所述的电子设备的解锁方法,其中,获取所述第一对象关联的第二对象,并解除所述第二对象的锁定状态的步骤包括:
    获取所述第一对象关联的所述第二对象;
    在所述第二对象被触发时,解除所述第二对象的锁定状态。
  17. 如权利要求15所述的电子设备的解锁方法,其中,在第一对象被解锁前,接受锁定对象关联设置,将所述第一对象与所述第二对象关联设置。
  18. 如权利要求15所述的电子设备的解锁方法,其中,在电子设备的第一对象被解锁前,所述第一对象、所述第二对象为加密对象。
  19. 如权利要求15所述的电子设备的解锁方法,其中,所述第一对象 为屏幕锁,所述第二对象为所述电子设备中的应用、功能或文件中至少一种;或所述第一对象为第一应用,所述第二对象为第二应用;或所述第一对象为第三应用下第一功能模块,第二对象为第三应用下第二功能模块。
  20. 一种电子设备,其中,所述电子设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的电子设备的解锁程序,所述电子设备的解锁程序被所述处理器执行时实现如下步骤:
    在电子设备的第一对象被解锁时,获取所述第一对象的解锁数据;
    获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态。
  21. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有电子设备的解锁程序,所述电子设备的解锁程序被处理器执行时实现如下步骤:
    在电子设备的第一对象被解锁时,获取所述第一对象的解锁数据;
    获取所述解锁数据关联的第二对象,并解除所述第二对象的锁定状态。
PCT/CN2020/078829 2019-11-01 2020-03-11 电子设备的解锁方法、电子设备及计算机可读存储介质 WO2021082327A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202080075840.8A CN115427950A (zh) 2019-11-01 2020-03-11 电子设备的解锁方法、电子设备及计算机可读存储介质

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911065326.1A CN110795710B (zh) 2019-11-01 2019-11-01 电子设备的解锁方法、电子设备及计算机可读存储介质
CN201911065326.1 2019-11-01

Publications (1)

Publication Number Publication Date
WO2021082327A1 true WO2021082327A1 (zh) 2021-05-06

Family

ID=69442607

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/078829 WO2021082327A1 (zh) 2019-11-01 2020-03-11 电子设备的解锁方法、电子设备及计算机可读存储介质

Country Status (2)

Country Link
CN (2) CN110795710B (zh)
WO (1) WO2021082327A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795710B (zh) * 2019-11-01 2022-11-01 深圳传音控股股份有限公司 电子设备的解锁方法、电子设备及计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981763A (zh) * 2012-11-16 2013-03-20 中科创达软件股份有限公司 触控屏锁定状态下运行应用程序的方法
CN104636660A (zh) * 2015-01-30 2015-05-20 深圳市中兴移动通信有限公司 应用程序的启动方法及移动终端
CN106682463A (zh) * 2016-09-30 2017-05-17 北京小米移动软件有限公司 解锁方法及装置
CN110795710A (zh) * 2019-11-01 2020-02-14 深圳传音控股股份有限公司 电子设备的解锁方法、电子设备及计算机可读存储介质

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104966005B (zh) * 2014-05-12 2018-04-27 腾讯科技(深圳)有限公司 一种访问控制方法,及终端设备
JP6574476B2 (ja) * 2014-08-15 2019-09-11 アップル インコーポレイテッドApple Inc. 別デバイスのロック解除に使用される認証済みデバイス
CN104636030B (zh) * 2015-02-28 2017-01-25 努比亚技术有限公司 启动应用程序的方法、装置和移动终端
CN104636657A (zh) * 2015-03-10 2015-05-20 上海斐讯数据通信技术有限公司 一种用于移动终端的密码设定系统及其设定方法
CN105446782A (zh) * 2015-12-24 2016-03-30 深圳市金立通信设备有限公司 一种终端应用的管理方法及终端
CN106022012A (zh) * 2016-04-29 2016-10-12 乐视控股(北京)有限公司 一种屏幕解锁的方法及装置
CN106022016A (zh) * 2016-05-03 2016-10-12 乐视控股(北京)有限公司 移动终端中解锁app的方法、系统及包括该系统的移动终端
CN108932086A (zh) * 2017-05-23 2018-12-04 腾讯科技(深圳)有限公司 应用界面的显示方法、装置及存储介质
CN109992946A (zh) * 2019-04-11 2019-07-09 北京小米移动软件有限公司 解锁应用程序的方法、装置及计算机可读存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981763A (zh) * 2012-11-16 2013-03-20 中科创达软件股份有限公司 触控屏锁定状态下运行应用程序的方法
CN104636660A (zh) * 2015-01-30 2015-05-20 深圳市中兴移动通信有限公司 应用程序的启动方法及移动终端
CN106682463A (zh) * 2016-09-30 2017-05-17 北京小米移动软件有限公司 解锁方法及装置
CN110795710A (zh) * 2019-11-01 2020-02-14 深圳传音控股股份有限公司 电子设备的解锁方法、电子设备及计算机可读存储介质

Also Published As

Publication number Publication date
CN110795710A (zh) 2020-02-14
CN110795710B (zh) 2022-11-01
CN115427950A (zh) 2022-12-02

Similar Documents

Publication Publication Date Title
CN101106455B (zh) 身份认证的方法和智能密钥装置
JP6239788B2 (ja) 指紋認証方法、装置、インテリジェント端末及びコンピュータ記憶媒体
WO2017020427A1 (zh) 一种应用程序访问方法及终端
CN101051908B (zh) 动态密码认证系统及方法
US20080172341A1 (en) Methods For Authentication
WO2014121612A1 (zh) 解锁屏幕的方法、装置及终端
JP2014502398A (ja) 入力ソフトにおけるアカウント管理機能の集積方法
US10931663B2 (en) Terminal authenticated access
WO2019047148A1 (zh) 一种密码验证方法、终端、计算机可读存储介质
WO2018205456A1 (zh) 密码输入方法、计算机设备和存储介质
US8875263B1 (en) Controlling a soft token running within an electronic apparatus
US20200134149A1 (en) Login mechanism for operating system
WO2015026435A1 (en) Secure access of mobile devices using passwords
WO2017071498A1 (zh) 一种身份验证方法和装置
WO2021082327A1 (zh) 电子设备的解锁方法、电子设备及计算机可读存储介质
WO2018006326A1 (zh) 一种通过移动终端和图片密码验证智能门禁的方法及系统
WO2018006349A1 (zh) 一种基于图片密码验证用户进入的方法及系统
US10678895B2 (en) Data input method, and electronic device and system for implementing the data input method
US20030088794A1 (en) Method and system for rendering secure pin entry
US10460094B2 (en) Method, apparatus, and storage medium for data processing
CN114095266A (zh) 登录认证方法、装置、电子设备及可读存储介质
CN113672886A (zh) 提示方法和装置
JP2007306350A (ja) 携帯通信端末のセキュリティ機能
JP2015001935A (ja) 認証装置および認証方法
CN204046622U (zh) 一种密钥存储设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20881676

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20881676

Country of ref document: EP

Kind code of ref document: A1