WO2019148652A1 - 终端解锁方法、装置、设备及可读存储介质 - Google Patents

终端解锁方法、装置、设备及可读存储介质 Download PDF

Info

Publication number
WO2019148652A1
WO2019148652A1 PCT/CN2018/082671 CN2018082671W WO2019148652A1 WO 2019148652 A1 WO2019148652 A1 WO 2019148652A1 CN 2018082671 W CN2018082671 W CN 2018082671W WO 2019148652 A1 WO2019148652 A1 WO 2019148652A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
unlocking
contact
avatar
preset number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2018/082671
Other languages
English (en)
French (fr)
Inventor
蔡锦升
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Publication of WO2019148652A1 publication Critical patent/WO2019148652A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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/45Structures or tools for the administration of authentication
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2105Dual mode as a secondary aspect
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2135Metering
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2137Time limited access, e.g. to a computer or data

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a terminal unlocking method, apparatus, device, and readable storage medium.
  • the unlocking of the terminal has the methods of sliding unlocking, fingerprint unlocking, etc., but the security of sliding unlocking and fingerprint unlocking is not high, such as when the user is drunk or the user's mobile phone is stolen, it is easy for others to steal personal information or lose money, etc., and currently The way the terminal is unlocked is less interactive with the user, which reduces the user experience.
  • the main purpose of the present invention is to provide a terminal unlocking method, device, device, and readable storage medium, which are intended to solve the technical problem that the unlocking mode of the terminal in the prior art is low in security and poor in interaction with the user.
  • the present invention provides a terminal unlocking method, where the terminal unlocking method includes:
  • the unlocking interface of the selected contact avatar and the non-contact avatar is displayed on the terminal for the user to select to unlock the terminal.
  • the step of displaying the unlocking interface of the selected contact avatar and the non-contact avatar in the terminal for the user to select to implement the unlocking process of the terminal includes:
  • the step of selecting a second preset number of non-contact avatars from the local cache database based on the unlock request includes:
  • the step of selecting the first preset number of contact avatars from the local contact avatar database based on the unlocking request includes:
  • the first preset number of contact avatars are selected from the local contact avatar database based on the unlock request.
  • the step of determining the size of the first preset number based on the number of times the terminal is unlocked includes:
  • the terminal is unlocked When the number of times the terminal is unlocked is greater than the first preset number of times, determining that the first preset number is smaller than the first preset value, and randomly selecting a target value from a value smaller than the first preset value to determine Describe the size of the first preset number;
  • the first preset number is greater than the second preset value to determine the size of the first preset number, where the first preset The number of times is greater than the second preset number of times.
  • the step of selecting the first preset number of contact avatars from the local contact avatar database based on the unlocking request further includes:
  • the displaying, by the terminal, the unlocking interface of the selected contact avatar and the non-contact avatar for the user to select, to implement the unlocking step of the terminal includes:
  • the unlocking interface is converted into a password unlocking interface.
  • the present invention further provides a terminal unlocking apparatus, where the terminal unlocking apparatus includes:
  • a first selecting module configured to: when the terminal unlocking request is detected, select a first preset number of contact avatars from the local contact avatar database based on the unlocking request;
  • a second selection module configured to select, according to the unlocking request, a second preset number of non-contact avatars from a local cache database, where the local cache database is an avatar database that does not include the local contact avatar The sum of the first preset number and the second preset number is a preset value;
  • the display module is configured to display, on the terminal, the unlocking interface of the selected contact avatar and the non-contact avatar for the user to select to unlock the terminal.
  • the present invention further provides a terminal unlocking device, where the terminal unlocking device includes: a memory, a processor, a communication bus, and a terminal unlocking program stored on the memory,
  • the communication bus is used to implement a communication connection between the processor and the memory
  • the processor is configured to execute the terminal unlocking program to implement the following steps:
  • the unlocking interface of the selected contact avatar and the non-contact avatar is displayed on the terminal for the user to select to unlock the terminal.
  • the step of displaying the unlocking interface of the selected contact avatar and the non-contact avatar in the terminal for the user to select to implement the unlocking process of the terminal includes:
  • the step of selecting a second preset number of non-contact avatars from the local cache database based on the unlock request includes:
  • the step of selecting the first preset number of contact avatars from the local contact avatar database based on the unlocking request includes:
  • the first preset number of contact avatars are selected from the local contact avatar database based on the unlock request.
  • the step of determining the size of the first preset number based on the number of times the terminal is unlocked includes:
  • the terminal is unlocked When the number of times the terminal is unlocked is greater than the first preset number of times, determining that the first preset number is smaller than the first preset value, and randomly selecting a target value from a value smaller than the first preset value to determine Describe the size of the first preset number;
  • the first preset number is greater than the second preset value to determine the size of the first preset number, where the first preset The number of times is greater than the second preset number of times.
  • the step of selecting the first preset number of contact avatars from the local contact avatar database based on the unlocking request further includes:
  • the displaying, by the terminal, the unlocking interface of the selected contact avatar and the non-contact avatar for the user to select, to implement the unlocking step of the terminal includes:
  • the unlocking interface is converted into a password unlocking interface.
  • the present invention also provides a readable storage medium storing one or more programs, the one or more programs being executable by one or more processors Used for:
  • the unlocking interface of the selected contact avatar and the non-contact avatar is displayed on the terminal for the user to select to unlock the terminal.
  • the present invention selects a first preset number of contact avatars from the local contact avatar database based on the unlocking request; and selects a second preset from the local cache database based on the unlocking request.
  • a number of non-contact avatars wherein the local cache database is an avatar database that does not include the local contact avatar, and the sum of the first preset number and the second preset number is a preset value;
  • the unlocking interface of the selected contact avatar and the non-contact avatar is displayed on the terminal for the user to select to unlock the terminal.
  • the terminal is unlocked by selecting a contact avatar, thereby improving the interaction between the terminal and the user, and since the contact avatar can only be accurately selected by the terminal owner, it is possible to prevent others from unlocking the terminal, thereby improving the The security performance of the terminal. Therefore, the present application solves the technical problem that the unlocking mode of the terminal in the prior art is low in security and poor in interaction with the user.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for unlocking a terminal according to the present invention
  • FIG. 2 is a schematic flowchart of a second embodiment of a method for unlocking a terminal according to the present invention
  • FIG. 3 is a schematic structural diagram of a device in a hardware operating environment involved in a method according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a scenario of a method for unlocking a terminal according to the present invention.
  • the present invention provides a terminal unlocking method.
  • the terminal unlocking method includes:
  • the first preset number of contact avatars are selected from the local contact avatar database based on the unlocking request; and the second preset number of non-selected from the local cache database is selected based on the unlocking request.
  • a contact avatar wherein the local cache database is an avatar database that does not include the local contact avatar, and the sum of the first preset number and the second preset number is a preset value;
  • the selected contact avatar and the unlock interface of the non-contact avatar are selected by the user to implement unlocking of the terminal.
  • the terminal unlocking method includes:
  • Step S10 When detecting the terminal unlocking request, select a first preset number of contact avatars from the local contact avatar database based on the unlocking request;
  • the first preset number of contact avatars are selected from the local contact avatar database based on the unlocking request, wherein the user touches, slides, and clicks when the current interface of the terminal is in the lock screen state.
  • the operation of the terminal screen can trigger the unlocking request.
  • the first preset number of contact avatars are selected from the local contact avatar database based on the unlocking request, wherein the first preset number is
  • the first preset number may be 5, 4, 3, etc.
  • the first preset number may be based on the number of times the terminal is unlocked in the corresponding time period. Orderly change.
  • the local contact avatar database stores the avatar of the contact, which is a phone contact avatar, a WeChat contact avatar, a microblog contact avatar, etc., that is, in the local contact avatar database, A category in which various types of contact avatars are stored. Selecting a first preset number of contact avatars from the local contact avatar database based on the unlocking request: selecting a preset number of contacts from a certain type of contact avatar in the local contact avatar database based on the unlocking request.
  • the avatar of the person, in addition, selecting the first preset number of contact avatars from the local contact avatar database based on the unlocking request may be: selecting preset presets from different types of avatars of the local contact in turn based on the unlocking request Number of contact avatars.
  • Step S20 selecting a second preset number of non-contact avatars from the local cache database based on the unlock request, where the local cache database is an avatar database that does not include the local contact avatar, the first The sum of a preset number and a second preset number is a preset value;
  • the second preset number of non-contact avatars are selected from the local cache database based on the unlock request, where the local cache database is an avatar database that does not include the local contact avatar, the local cache The avatar in the database can be changed, that is, the avatar in the local cache database can be updated. If the local cache database detects that the terminal is in the network connection state, the non-contact avatar can be downloaded from the server to the local, where It is noted that the sum of the first preset number and the second preset number is a preset value, for example, the terminal unlocking interface displays an avatar of the nine squares, and the first preset number may be four, and the second preset The number may be five, or the first preset number may be three, and the second preset number may be five or the like.
  • step S30 the unlocking interface of the selected contact avatar and the non-contact avatar is displayed on the terminal for the user to select to unlock the terminal.
  • the unlocked interface of the selected contact avatar and the non-contact avatar is displayed on the terminal for the user to touch or click to select to unlock the terminal.
  • the terminal obtains the display rule of the contact avatar and the non-contact avatar pre-stored by the terminal, and the display rule may be to disperse each contact avatar, and the display rule is further
  • the display rule may be different from the first preset number, and the display rule may be: when the first preset number is 2, the display rule may be: the distance between the two contact avatars and the display position
  • the farthest is explained by using a specific embodiment. For example, when the terminal unlocking interface displays the avatar of the nine squares, the contact avatar can be displayed in the first square and the last square, as shown in FIG. 4, and b is the contact avatar. a is a non-contact avatar.
  • the step of displaying the selected contact avatar and the non-contact avatar unlocking interface on the terminal for the user to select to implement the terminal unlocking step includes:
  • step A1 the unlocking interface of the selected contact avatar and the non-contact avatar is displayed on the terminal for the user to select;
  • the unlocking interface of the selected contact avatar and the non-contact avatar is displayed on the terminal for the user to touch and unlock.
  • the terminal unlocking interface may display the number of contact avatars to prompt the user to specifically
  • the terminal unlocking interface displays a nine-square avatar image, and generates a display box in the nine-square grid avatar, and the display box displays “select three contact avatars from the following nine-square avatars”.
  • Step A2 When it is detected that the user completes the avatar selection in the unlocking interface, it is determined whether the avatar selected by the user is all the contact avatar;
  • the terminal unlocking interface When it is detected that the user completes the avatar selection on the unlocking interface, it is determined whether all the avatars selected by the user are contact avatars. Specifically, after the avatar selection operation is detected on the terminal unlocking interface, if the AOAO selection operation is exceeded, the continuous selection operation is not detected after 3S is detected. When the terminal determines that the avatar is selected, after the selection is completed, it is determined whether the avatar selected by the user is all the contact avatar.
  • step A3 when all the avatars selected by the user are contact avatars, it is determined that the terminal is successfully unlocked.
  • the terminal When the avatar selected by the user is all the contact avatar, it is determined that the terminal is successfully unlocked. When the avatar selected by the user is not all the contact avatar, the terminal fails to be unlocked. When it is detected that the terminal unlocking fails, the unlocking interface may be converted into a password unlocking interface.
  • the present invention selects a first preset number of contact avatars from the local contact avatar database based on the unlocking request; and selects a second preset from the local cache database based on the unlocking request.
  • a number of non-contact avatars wherein the local cache database is an avatar database that does not include the local contact avatar, and the sum of the first preset number and the second preset number is a preset value;
  • the unlocking interface of the selected contact avatar and the non-contact avatar is displayed on the terminal for the user to select to unlock the terminal.
  • the terminal is unlocked by selecting a contact avatar, thereby improving the interaction between the terminal and the user, and since the contact avatar can only be accurately selected by the terminal owner, it is possible to prevent others from unlocking the terminal, thereby improving the The security performance of the terminal. Therefore, the present application solves the technical problem that the unlocking mode of the terminal in the prior art is low in security and poor in interaction with the user.
  • the present invention provides a second embodiment of the terminal unlocking method.
  • the step of selecting a second preset number of non-contact avatars from the local cache database based on the unlocking request includes:
  • Step S11 Obtain a current networking status of the terminal.
  • the network status includes a networkless state and a networked state, wherein the network state includes a WIFI or a wireless connection state, a mobile network connection state, and the like.
  • step S12 when the terminal is in the network connection state, the non-contact avatar in the local cache database is updated.
  • the avatar in the local cache database may be changed.
  • the local cache database B of the mobile terminal is updated. Specifically, if the local cache database detects that the terminal is in the network connection state, each interval is third.
  • the preset time period is to download a specific number of non-contact avatars from the corresponding server end of the unlocking application to the local to implement extracting the image from the updated cache database B.
  • the third preset time period may be 24 hours.
  • the current networking status of the terminal is obtained; when the terminal is in the network connection state, the non-contact avatar in the local cache database is updated.
  • This embodiment improves the user experience by ensuring high profitability of the user terminal and security of the client fund.
  • the present invention provides a third embodiment of the terminal unlocking method.
  • the first preset number is selected from the local contact avatar database based on the unlocking request.
  • the contact avatar steps include:
  • Step B1 When detecting the terminal unlocking request, acquire the number of times the terminal is unlocked in the past preset time period;
  • the number of times the terminal is unlocked in the first preset time period is obtained, wherein the first preset time period may be the time within 1 day from the current time, wherein the number of times the terminal is unlocked may be 10 times. 20 times and so on.
  • Step B2 Determine, according to the number of times the terminal is unlocked, the size of the first preset number
  • Determining the size of the first preset number based on the number of times the terminal is unlocked includes:
  • step C1 when the number of times the terminal is unlocked is greater than the first preset number, the first preset number is determined to be smaller than the first preset value, and the target value is randomly selected from the value smaller than the first preset value. Determining a size of the first preset number;
  • the first preset number is determined to be less than 4.
  • randomly selecting a target value such as 2 from a value smaller than the first preset value to determine that the size of the first preset number is 2, reducing the time for the user to find the contact avatar, so that the user needs to frequently Reduce user unlock time when unlocking.
  • step C2 when the number of times the terminal is unlocked is less than the second preset number, the first preset number is greater than the second preset value, where the first preset number of times is greater than the second preset number of times.
  • the first preset number is greater than the second preset value, wherein the second preset number may be 3 times, and the second preset value may be 2 Therefore, when the number of times the user is unlocked is too small, the interaction with the user can be increased.
  • Step B3 Select a first preset number of contact avatars from the local contact avatar database based on the unlock request.
  • the first preset number of contact avatars are selected from the local contact avatar database based on the unlock request.
  • the number of times the terminal is unlocked in the first preset time period is obtained when the terminal unlocking request is detected; and the size of the first preset number is determined based on the number of times the terminal is unlocked;
  • the unlock request selects a first preset number of contact avatars from the local contact avatar database.
  • the first preset number is determined according to the actual situation of the user, which improves the user experience.
  • the present invention provides a fourth embodiment of the terminal unlocking method.
  • the first preset number is selected from the local contact avatar database based on the unlocking request.
  • the contact avatar steps also include:
  • step D1 when the terminal unlocking request is detected, the target contact with the highest frequency of contact with the user in the second preset time period is acquired, and the communication manner between the target contact and the user is obtained;
  • the target contact with the highest frequency of contact with the user in the second preset time period is obtained, and the communication manner between the target contact and the user is obtained, where the second preset time period may be past For half a month, or one week, the communication method is WeChat contact, or QQ contact, or telephone contact.
  • Step D2 selecting a target avatar of the target contact based on the communication manner
  • Step D3 Select a first preset number of contact avatars from the local contact avatar database based on the unlock request, where the contact avatar includes the target avatar.
  • the present invention also provides a terminal unlocking device, the terminal unlocking device comprising:
  • a first selecting module configured to: when the terminal unlocking request is detected, select a first preset number of contact avatars from the local contact avatar database based on the unlocking request;
  • a second selection module configured to select, according to the unlocking request, a second preset number of non-contact avatars from a local cache database, where the local cache database is an avatar database that does not include the local contact avatar The sum of the first preset number and the second preset number is a preset value;
  • the display module is configured to display, on the terminal, the unlocking interface of the selected contact avatar and the non-contact avatar for the user to select to unlock the terminal.
  • the display module includes:
  • a display unit configured to display, on the terminal, an unlocking interface of the selected contact avatar and a non-contact avatar
  • a determining unit configured to determine, when the user completes the avatar selection in the unlocking interface, whether the avatar selected by the user is all a contact avatar
  • the first determining unit is configured to determine that the terminal is successfully unlocked when all the avatars selected by the user are contact avatars.
  • the terminal unlocking device further includes
  • the obtaining module is configured to obtain a current networking status of the terminal
  • An update module for updating a non-contact avatar in the local cache database when the terminal is in a network connection state.
  • the first selection module includes:
  • a first acquiring unit configured to acquire, when the terminal unlocking request is detected, the number of times the terminal is unlocked in the past preset time period
  • a second determining unit configured to determine a size of the first preset number based on a number of times the terminal is unlocked
  • the first selecting unit is configured to select a first preset number of contact avatars from the local contact avatar database based on the unlocking request.
  • the second determining unit includes:
  • a first determining subunit configured to: when the number of times the terminal is unlocked is greater than the first preset number of times, determining that the first preset number is smaller than the first preset value, and from a value smaller than the first preset value And randomly selecting a target value to determine a size of the first preset number;
  • a second determining subunit configured to determine that the first preset number is greater than a second preset value when the number of times the terminal is unlocked is less than a second preset number, wherein the first preset number is greater than the second preset Set the number of times.
  • the first selecting module further includes:
  • a second obtaining unit configured to: when detecting the terminal unlocking request, acquire a target contact with the highest frequency of contact with the user in the second preset time period, and obtain a communication manner between the target contact and the user;
  • a first acquiring unit configured to select a target avatar of the target contact based on the communication manner
  • the second selecting unit is configured to select a first preset number of contact avatars from the local contact avatar database based on the unlocking request, where the contact avatar includes the target avatar.
  • the terminal unlocking device further includes:
  • the triggering module is configured to convert the unlocking interface into a password unlocking interface when detecting that the terminal unlocking fails.
  • the embodiment of the terminal unlocking device of the present invention is basically the same as the embodiment of the terminal unlocking method, and details are not described herein again.
  • FIG. 3 is a schematic structural diagram of a device in a hardware operating environment according to an embodiment of the present invention.
  • the terminal unlocking device in the embodiment of the present invention may be a PC, or may be a smart phone, a tablet computer, an e-book reader, and an MP3 (Moving). Picture Experts Group Audio Layer III, motion picture expert compresses standard audio layer 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 4) terminal devices such as players and portable computers.
  • MP3 Motion Picture Experts Group Audio Layer III, motion picture expert compresses standard audio layer 3
  • MP4 Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 4
  • terminal devices such as players and portable computers.
  • the terminal unlocking device may include a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002.
  • the communication bus 1002 is used to implement connection communication between the processor 1001 and the memory 1005.
  • the memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
  • the terminal unlocking device may further include a user interface, a network interface, a camera, and an RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more.
  • the user interface may include a display, an input unit such as a keyboard, and the optional user interface may also include a standard wired interface, a wireless interface.
  • the network interface can optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
  • terminal unlocking device structure shown in FIG. 3 does not constitute a limitation of the terminal unlocking device, and may include more or less components than those illustrated, or combine some components or different components. Arrangement.
  • an operating system may be included in the memory 1005 as a computer storage medium.
  • the operating system is a program that manages and controls the terminal to unlock device hardware and software resources, and supports the operation of the terminal unlocking program and other software and/or programs.
  • the network communication module is used to implement communication between components within the memory 1005 and to communicate with other hardware and software in the terminal unlocking device.
  • the processor 1001 is configured to execute a terminal unlocking program stored in the memory 1005 for implementing the steps of the terminal unlocking method according to any one of the above.
  • the present invention provides a readable storage medium having one or more programs stored thereon, the one or more programs being further executable by one or more processors for implementing any of the above The steps of the terminal unlocking method described in the item.
  • the embodiment of the readable storage medium of the present invention is substantially the same as the embodiment of the terminal unlocking method, and details are not described herein again.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本发明公开了一种终端解锁方法、装置、设备及可读存储介质,所述终端解锁方法包括:当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像;基于所述解锁请求从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数之和为预设值;在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁。本发明解决现有技术中终端的解锁方式安全性较低,与用户互动性差的技术问题。

Description

终端解锁方法、装置、设备及可读存储介质
本申请要求于2018年01月31日提交中国专利局、申请号为201810099693.2、发明名称为“终端解锁方法、装置、设备及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。
技术领域
本发明涉及终端技术领域,尤其涉及一种终端解锁方法、装置、设备及可读存储介质。
背景技术
目前,终端的解锁有滑动解锁,指纹解锁等方式,但是滑动解锁以及指纹解锁的安全性不高,如当用户醉酒或者用户手机被偷时,容易被他人窃取个人信息或者丢失钱财等,且当前终端的解锁方式与用户互动性差,降低了用户体验。
发明内容
本发明的主要目的在于提供一种终端解锁方法、装置、设备及可读存储介质,旨在解决现有技术中终端的解锁方式安全性较低,与用户互动性差的技术问题。
为实现上述目的,本发明提供一种终端解锁方法,所述终端解锁方法包括:
当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像;
基于所述解锁请求从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数之和为预设值;
在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁。
可选地,所述在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁步骤包括:
在终端显示所述选取的联系人头像与非联系人头像的解锁界面;
当检测到用户在所述解锁界面完成头像选取时,判断用户选取的头像是否全部为联系人头像;
当用户选取的头像全部为联系人头像时,确定终端解锁成功。
可选地,所述基于所述解锁请求从本地缓存数据库中选取第二预设个数的非联系人头像步骤之前包括:
获取终端当前的连网状态;
当终端处于网络连接状态时,更新本地缓存数据库中的非联系人头像。
可选地,所述当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像步骤包括:
当检测到终端解锁请求时,获取过去第一预设时间段内终端解锁的次数;
基于所述终端解锁的次数,确定所述第一预设个数的大小;
基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像。
可选地,所述基于所述终端解锁的次数,确定所述第一预设个数的大小步骤包括:
当所述终端解锁的次数大于第一预设次数时,确定所述第一预设个数小于第一预设值,并从小于第一预设值的数值中,随机选取目标数值以确定所述第一预设个数的大小;
当所述终端解锁的次数小于第二预设次数时,确定所述第一预设个数大于第二预设值,以确定所述第一预设个数的大小,其中,第一预设次数大于第二预设次数。
可选地,所述当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像步骤还包括:
当检测到终端解锁请求时,获取过去第二预设时间段内与用户联系频率最高的目标联系人,并获取所述目标联系人与用户的通讯方式;
基于所述通讯方式选取所述目标联系人的目标头像;
基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像,其中,该联系人头像中包括所述目标头像。
可选地,所述在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁步骤之后包括:
当检测到终端解锁失败时,将所述解锁界面转换为密码解锁界面。
此外,为实现上述目的,本发明还提供一种终端解锁装置,所述终端解锁装置包括:
第一选取模块,用于当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像;
第二选取模块,用于基于所述解锁请求从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数之和为预设值;
显示模块,用于在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁。
此外,为实现上述目的,本发明还提供一种终端解锁设备,所述终端解锁设备包括:存储器、处理器,通信总线以及存储在所述存储器上的终端解锁程序,
所述通信总线用于实现处理器与存储器间的通信连接;
所述处理器用于执行所述终端解锁程序,以实现以下步骤:
当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像;
基于所述解锁请求从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数之和为预设值;
在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁。
可选地,所述在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁步骤包括:
在终端显示所述选取的联系人头像与非联系人头像的解锁界面;
当检测到用户在所述解锁界面完成头像选取时,判断用户选取的头像是否全部为联系人头像;
当用户选取的头像全部为联系人头像时,确定终端解锁成功。
可选地,所述基于所述解锁请求从本地缓存数据库中选取第二预设个数的非联系人头像步骤之前包括:
获取终端当前的连网状态;
当终端处于网络连接状态时,更新本地缓存数据库中的非联系人头像。
可选地,所述当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像步骤包括:
当检测到终端解锁请求时,获取过去第一预设时间段内终端解锁的次数;
基于所述终端解锁的次数,确定所述第一预设个数的大小;
基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像。
可选地,所述基于所述终端解锁的次数,确定所述第一预设个数的大小步骤包括:
当所述终端解锁的次数大于第一预设次数时,确定所述第一预设个数小于第一预设值,并从小于第一预设值的数值中,随机选取目标数值以确定所述第一预设个数的大小;
当所述终端解锁的次数小于第二预设次数时,确定所述第一预设个数大于第二预设值,以确定所述第一预设个数的大小,其中,第一预设次数大于第二预设次数。
可选地,所述当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像步骤还包括:
当检测到终端解锁请求时,获取过去第二预设时间段内与用户联系频率最高的目标联系人,并获取所述目标联系人与用户的通讯方式;
基于所述通讯方式选取所述目标联系人的目标头像;
基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像,其中,该联系人头像中包括所述目标头像。
可选地,所述在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁步骤之后包括:
当检测到终端解锁失败时,将所述解锁界面转换为密码解锁界面。
此外,为实现上述目的,本发明还提供一种可读存储介质,所述可读存储介质存储有一个或者一个以上程序,所述一个或者一个以上程序可被一个或者一个以上的处理器执行以用于:
当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像;
基于所述解锁请求从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数之和为预设值;
在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁。
本发明通过当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像;基于所述解锁请求从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数之和为预设值;在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁。由于本申请中,通过选取联系人头像的方式进行终端的解锁,因而提高了终端与用户的互动性,且由于联系人头像只有终端机主才能准确选取,因而能够避免他人解锁终端,因而提高了终端的安全性能,因而本申请解决了现有技术中终端的解锁方式安全性较低,与用户互动性差的技术问题。
附图说明
图1为本发明终端解锁方法第一实施例的流程示意图;
图2为本发明终端解锁方法第二实施例的流程示意图;
图3是本发明实施例方法涉及的硬件运行环境的设备结构示意图;
图4是本发明终端解锁方法的场景示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明提供一种终端解锁方法,在本发明终端解锁方法的第一实施例中,参照图1,所述终端解锁方法包括:
当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像;基于所述解锁请求从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数之和为预设值;在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁。
具体地,所述终端解锁方法包括:
步骤S10,当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像;
当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像,其中,若终端当前界面处于锁屏状态时,用户通过触摸、滑动、点击终端屏幕等操作即可触发解锁请求,当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像,其中,该第一预设个数是变化的,用以具体实施例进行说明,该第一预设个数可是5个、4个、3个等,具体地,该第一预设个数可基于相应时间段内终端的解锁次数有序变化。
需要说明的是,本地联系人头像数据库中存储有联系人的头像,该联系人头像可是电话联系人头像,微信联系人头像,微博联系人头像等,即在该本地联系人头像数据库中,存储有各个类型的联系人头像的类别。基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像方式可是:基于该解锁请求从本地联系人头像数据库中的某类型联系人头像中选取预设个数的联系人头像,另外,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像方式还可是:基于该解锁请求依次从本地联系人各个不同类型的头像中选取预设个数的联系人头像。
用以具体实施例进行说明,当检测到解锁请求时,从本地联系人头像数据库中选取3个微信头像,或者当检测到解锁请求时,从本地联系人头像数据库中选取1个微信头像,1个电话通讯录头像,1个微博头像。
步骤S20,基于所述解锁请求从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数之和为预设值;
具体地,基于所述解锁请求从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,该本地缓存数据库中的头像可以变化,即是该本地缓存数据库中的头像可更新,如该本地缓存数据库中在检测到终端处于网络连接状态时,可以从服务器端下载非联系人头像至本地,其中,需要说明的是,所述第一预设个数与第二预设个数之和为预设值,如终端解锁界面显示九宫格的头像,第一预设个数可是4个,第二预设个数可是5个,或者第一预设个数可是3个,第二预设个数可是5个等。
步骤S30,在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁。
在选取完成联系人头像与非联系人头像后,在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户触摸或者点击选取,以实现终端的解锁。
需要说明的是,终端在选取联系人头像与非联系人头像后,获取终端预存的联系人头像与非联系人头像的显示规则,该显示规则可是分散各个联系人头像,另外,该显示规则还可与第一预设个数关联,第一预设个数不同,该显示规则不同,如当第一预设个数为2时,该显示规则可是:该2个联系人头像相对显示位置距离最远,用以具体实施例进行说明,如终端解锁界面显示九宫格的头像时,可在该第一宫格与最后一个宫格显示联系人头像,如图4所示,b为联系人头像,a为非联系人头像。
具体地,如图2所示,所述在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁步骤包括:
步骤A1,在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取;
在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户触摸解锁,需要说明的是,在终端解锁界面可以显示联系人头像的个数,以提示用户,用以具体实施例进行说明,终端解锁界面显示九宫格头像,并在九宫格头像生成显示框,该显示框中显示“从如下九宫格头像中选择3张联系人头像”。
步骤A2,当检测到用户在所述解锁界面完成头像选取时,判断用户选取的头像是否全部为联系人头像;
当检测到用户在所述解锁界面完成头像选取时,判断用户选取的头像是否全部为联系人头像,具体地,在终端解锁界面检测到头像选取操作后,若超过3S未检测到持续的选取操作时,则终端判定头像选取完成,在选取完成后,判断用户选取的头像是否全部为联系人头像。
步骤A3,当用户选取的头像全部为联系人头像时,确定终端解锁成功。
当用户选取的头像全部为联系人头像时,确定终端解锁成功,当用户选取的头像不全部为联系人头像时,终端解锁失败。当检测到终端解锁失败时,可将所述解锁界面转换为密码解锁界面。
本发明通过当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像;基于所述解锁请求从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数之和为预设值;在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁。由于本申请中,通过选取联系人头像的方式进行终端的解锁,因而提高了终端与用户的互动性,且由于联系人头像只有终端机主才能准确选取,因而能够避免他人解锁终端,因而提高了终端的安全性能,因而本申请解决了现有技术中终端的解锁方式安全性较低,与用户互动性差的技术问题。
进一步地,本发明提供终端解锁方法的第二实施例,在第二实施例中,所述基于所述解锁请求从本地缓存数据库中选取第二预设个数的非联系人头像步骤之前包括:
步骤S11,获取终端当前的连网状态;
获取终端当前的连网状态,该连网状态包括无网状态与有网状态,其中,有网状态包括WIFI或者无线连接状态、移动网络连接状态等。
步骤S12,当终端处于网络连接状态时,更新本地缓存数据库中的非联系人头像。
本地缓存数据库中的头像可以变化,当终端处于网络连接状态时,对移动终端的本地缓存数据库B进行更新,具体地,若本地缓存数据库中在检测到终端处于网络连接状态时,每间隔第三预设时间段从解锁应用对应服务器端下载特定个数的非联系人头像至本地,以实现从更新后的缓存数据库B中提取图片,该第三预设时间段可是24h。
在本实施例中,通过获取终端当前的连网状态;当终端处于网络连接状态时,更新本地缓存数据库中的非联系人头像。本实施例在既确保用户端高收益,又兼顾用户端基金的安全性,提升了用户体验。
进一步地,本发明提供终端解锁方法的第三实施例,在第三实施例中,所述当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像步骤包括:
步骤B1,当检测到终端解锁请求时,获取过去第一预设时间段内终端解锁的次数;
当检测到终端解锁请求时,获取过去第一预设时间段内终端解锁的次数,其中,过去第一预设时间段可是距离当前时刻1天内的时间,其中,终端解锁的次数可是10次,20次等。
步骤B2,基于所述终端解锁的次数,确定所述第一预设个数的大小;
基于所述终端解锁的次数,确定所述第一预设个数的大小,具体地,所述基于所述终端解锁的次数,确定所述第一预设个数的大小步骤包括:
步骤C1,当所述终端解锁的次数大于第一预设次数时,确定所述第一预设个数小于第一预设值,并从小于第一预设值的数值中,随机选取目标数值以确定所述第一预设个数的大小;
当所述终端解锁的次数大于第一预设次数时,确定所述第一预设个数小于第一预设值,并从小于第一预设值的数值中,随机选取目标数值以确定所述第一预设个数的大小,用以具体实施例进行说明,当所述终端解锁的次数大于10次时,第一预设值为4,则确定所述第一预设个数小于4个,并从小于第一预设值的数值中,随机选取目标数值如2,以确定所述第一预设个数的大小为2,减少用户查找联系人头像的时间,以在用户需要频繁解锁时减少用户解锁时间。
步骤C2,当所述终端解锁的次数小于第二预设次数时,确定所述第一预设个数大于第二预设值,其中,第一预设次数大于第二预设次数。
当所述终端解锁的次数小于第二预设次数时,确定所述第一预设个数大于第二预设值,其中,该第二预设次数可是3次,第二预设值可是2,因而在当用户解锁次数过少时,可增加与用户的互动性。
步骤B3,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像。
在第一预设个数确定后,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像。
在本实施例中,通过当检测到终端解锁请求时,获取过去第一预设时间段内终端解锁的次数;基于所述终端解锁的次数,确定所述第一预设个数的大小;基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像。本实施例终端解锁方法,根据用户的实际情况确定第一预设个数,提升了用户体验。
进一步地,本发明提供终端解锁方法的第四实施例,在第四实施例中,所述当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像步骤还包括:
步骤D1,当检测到终端解锁请求时,获取过去第二预设时间段内与用户联系频率最高的目标联系人,并获取所述目标联系人与用户的通讯方式;
当检测到终端解锁请求时,获取过去第二预设时间段内与用户联系频率最高的目标联系人,并获取所述目标联系人与用户的通讯方式,其中,第二预设时间段可是过去半个月,或者一个星期,该通讯方式可是微信联系,或者QQ联系,或者电话联系等。
步骤D2,基于所述通讯方式选取所述目标联系人的目标头像;
基于所述通讯方式选取所述目标联系人的目标头像,当用户与联系频率最高的目标联系人通过微信联系时,选取所述目标联系人的微信头像,当用户与联系频率最高的目标联系人通过微博联系时,选取所述目标联系人的微博头像,当当用户与联系频率最高的目标联系人通过微信、与微博联系时,同时选取所述目标联系人的微信、微博头像。
步骤D3,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像,其中,该联系人头像中包括所述目标头像。
基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像,其中,该联系人头像中包括所述目标头像,该目标头像可是目标联系人的微信头像等。
本发明还提供一种终端解锁装置,所述终端解锁装置包括:
第一选取模块,用于当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像;
第二选取模块,用于基于所述解锁请求从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数之和为预设值;
显示模块,用于在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁。
可选地,所述显示模块包括:
显示单元,用于在终端显示所述选取的联系人头像与非联系人头像的解锁界面;
判断单元,用于当检测到用户在所述解锁界面完成头像选取时,判断用户选取的头像是否全部为联系人头像;
第一确定单元,用于当用户选取的头像全部为联系人头像时,确定终端解锁成功。
可选地,所述终端解锁装置还包括
获取模块,用于获取终端当前的连网状态;
更新模块,用于当终端处于网络连接状态时,更新本地缓存数据库中的非联系人头像。
可选地,所述第一选取模块包括:
第一获取单元,用于当检测到终端解锁请求时,获取过去第一预设时间段内终端解锁的次数;
第二确定单元,用于基于所述终端解锁的次数,确定所述第一预设个数的大小;
第一选取单元,用于基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像。
可选地,所述第二确定单元包括:
第一确定子单元,用于当所述终端解锁的次数大于第一预设次数时,确定所述第一预设个数小于第一预设值,并从小于第一预设值的数值中,随机选取目标数值以确定所述第一预设个数的大小;
第二确定子单元,用于当所述终端解锁的次数小于第二预设次数时,确定所述第一预设个数大于第二预设值,其中,第一预设次数大于第二预设次数。
可选地,所述所述第一选取模块还包括:
第二获取单元,用于当检测到终端解锁请求时,获取过去第二预设时间段内与用户联系频率最高的目标联系人,并获取所述目标联系人与用户的通讯方式;
第一获取单元,用于基于所述通讯方式选取所述目标联系人的目标头像;
第二选取单元,用于基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像,其中,该联系人头像中包括所述目标头像。
可选地,所述终端解锁装置还包括:
触发模块,用于当检测到终端解锁失败时,将所述解锁界面转换为密码解锁界面。
本发明终端解锁装置具体实施方式与上述终端解锁方法各实施例基本相同,在此不再赘述。
参照图3,图3是本发明实施例方案涉及的硬件运行环境的设备结构示意图。
本发明实施例终端解锁设备可以是PC,也可以是智能手机、平板电脑、电子书阅读器、MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、便携计算机等终端设备。
如图3所示,该终端解锁设备可以包括:处理器1001,例如CPU,存储器1005,通信总线1002。其中,通信总线1002用于实现处理器1001和存储器1005之间的连接通信。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储设备。
可选地,该终端解锁设备还可以包括用户接口、网络接口、摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。用户接口可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口还可以包括标准的有线接口、无线接口。网络接口可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。
本领域技术人员可以理解,图3中示出的终端解锁设备结构并不构成对终端解锁设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图3所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块以及终端解锁程序。操作系统是管理和控制终端解锁设备硬件和软件资源的程序,支持终端解锁程序以及其它软件和/或程序的运行。网络通信模块用于实现存储器1005内部各组件之间的通信,以及与终端解锁设备中其它硬件和软件之间通信。
在图3所示的终端解锁设备中,处理器1001用于执行存储器1005中存储的终端解锁程序,以用于实现上述任一项所述的终端解锁方法的步骤。
本发明终端解锁设备具体实施方式与上述终端解锁方法各实施例基本相同,在此不再赘述。
本发明提供了一种可读存储介质,所述可读存储介质存储有一个或者一个以上程序,所述一个或者一个以上程序还可被一个或者一个以上的处理器执行以用于实现上述任一项所述的终端解锁方法的步骤。
本发明可读存储介质具体实施方式与上述终端解锁方法各实施例基本相同,在此不再赘述。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利处理范围内。

Claims (20)

  1. 一种终端解锁方法,其特征在于,所述终端解锁方法包括:
    当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像;
    基于所述解锁请求从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数之和为预设值;
    在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁。
  2. 如权利要求1所述的终端解锁方法,其特征在于,所述在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁步骤包括:
    在终端显示所述选取的联系人头像与非联系人头像的解锁界面;
    当检测到用户在所述解锁界面完成头像选取时,判断用户选取的头像是否全部为联系人头像;
    当用户选取的头像全部为联系人头像时,确定终端解锁成功。
  3. 如权利要求2所述的终端解锁方法,其特征在于,所述基于所述解锁请求从本地缓存数据库中选取第二预设个数的非联系人头像步骤之前包括:
    获取终端当前的连网状态;
    当终端处于网络连接状态时,更新本地缓存数据库中的非联系人头像。
  4. 如权利要求2所述的终端解锁方法,其特征在于,所述当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像步骤包括:
    当检测到终端解锁请求时,获取过去第一预设时间段内终端解锁的次数;
    基于所述终端解锁的次数,确定所述第一预设个数的大小;
    基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像。
  5. 如权利要求2所述的终端解锁方法,其特征在于,所述当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像步骤还包括:
    当检测到终端解锁请求时,获取过去第二预设时间段内与用户联系频率最高的目标联系人,并获取所述目标联系人与用户的通讯方式;
    基于所述通讯方式选取所述目标联系人的目标头像;
    基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像,其中,该联系人头像中包括所述目标头像。
  6. 如权利要求2所述的终端解锁方法,其特征在于,所述在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁步骤之后包括:
    当检测到终端解锁失败时,将所述解锁界面转换为密码解锁界面。
  7. 如权利要求1所述的终端解锁方法,其特征在于,所述基于所述解锁请求从本地缓存数据库中选取第二预设个数的非联系人头像步骤之前包括:
    获取终端当前的连网状态;
    当终端处于网络连接状态时,更新本地缓存数据库中的非联系人头像。
  8. 如权利要求7所述的终端解锁方法,其特征在于,所述当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像步骤包括:
    当检测到终端解锁请求时,获取过去第一预设时间段内终端解锁的次数;
    基于所述终端解锁的次数,确定所述第一预设个数的大小;
    基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像。
  9. 如权利要求7所述的终端解锁方法,其特征在于,所述当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像步骤还包括:
    当检测到终端解锁请求时,获取过去第二预设时间段内与用户联系频率最高的目标联系人,并获取所述目标联系人与用户的通讯方式;
    基于所述通讯方式选取所述目标联系人的目标头像;
    基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像,其中,该联系人头像中包括所述目标头像。
  10. 如权利要求7所述的终端解锁方法,其特征在于,所述在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁步骤之后包括:
    当检测到终端解锁失败时,将所述解锁界面转换为密码解锁界面。
  11. 如权利要求1所述的终端解锁方法,其特征在于,所述当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像步骤包括:
    当检测到终端解锁请求时,获取过去第一预设时间段内终端解锁的次数;
    基于所述终端解锁的次数,确定所述第一预设个数的大小;
    基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像。
  12. 如权利要求11所述的终端解锁方法,其特征在于,所述基于所述终端解锁的次数,确定所述第一预设个数的大小步骤包括:
    当所述终端解锁的次数大于第一预设次数时,确定所述第一预设个数小于第一预设值,并从小于第一预设值的数值中,随机选取目标数值以确定所述第一预设个数的大小;
    当所述终端解锁的次数小于第二预设次数时,确定所述第一预设个数大于第二预设值,以确定所述第一预设个数的大小,其中,第一预设次数大于第二预设次数。
  13. 如权利要求11所述的终端解锁方法,其特征在于,所述当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像步骤还包括:
    当检测到终端解锁请求时,获取过去第二预设时间段内与用户联系频率最高的目标联系人,并获取所述目标联系人与用户的通讯方式;
    基于所述通讯方式选取所述目标联系人的目标头像;
    基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像,其中,该联系人头像中包括所述目标头像。
  14. 如权利要求11所述的终端解锁方法,其特征在于,所述在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁步骤之后包括:
    当检测到终端解锁失败时,将所述解锁界面转换为密码解锁界面。
  15. 如权利要求1所述的终端解锁方法,其特征在于,所述当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像步骤还包括:
    当检测到终端解锁请求时,获取过去第二预设时间段内与用户联系频率最高的目标联系人,并获取所述目标联系人与用户的通讯方式;
    基于所述通讯方式选取所述目标联系人的目标头像;
    基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像,其中,该联系人头像中包括所述目标头像。
  16. 如权利要求15所述的终端解锁方法,其特征在于,所述在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁步骤之后包括:
    当检测到终端解锁失败时,将所述解锁界面转换为密码解锁界面。
  17. 如权利要求1所述的终端解锁方法,其特征在于,所述在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁步骤之后包括:
    当检测到终端解锁失败时,将所述解锁界面转换为密码解锁界面。
  18. 一种终端解锁装置,其特征在于,所述终端解锁装置包括:
    第一选取模块,用于当检测到终端解锁请求时,基于该解锁请求从本地联系人头像数据库中选取第一预设个数的联系人头像;
    第二选取模块,用于基于所述解锁请求从本地缓存数据库中选取第二预设个数的非联系人头像,其中,所述本地缓存数据库中为不包含所述本地联系人头像的头像数据库,所述第一预设个数与第二预设个数之和为预设值;
    显示模块,用于在终端显示所述选取的联系人头像与非联系人头像的解锁界面,以供用户选取,以实现终端的解锁。
  19. 一种终端解锁设备,其特征在于,所述终端解锁设备包括:存储器、处理器,通信总线以及存储在所述存储器上的终端解锁程序,
    所述通信总线用于实现处理器与存储器间的通信连接;
    所述处理器用于执行所述终端解锁程序,以实现如权利要求1所述的终端解锁方法的步骤。
  20. 一种可读存储介质,其特征在于,所述可读存储介质上存储有终端解锁程序,所述终端解锁程序被处理器执行时实现如权利要求1所述的终端解锁方法的步骤。
PCT/CN2018/082671 2018-01-31 2018-04-11 终端解锁方法、装置、设备及可读存储介质 Ceased WO2019148652A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810099693.2A CN108182354A (zh) 2018-01-31 2018-01-31 终端解锁方法、装置、设备及可读存储介质
CN201810099693.2 2018-01-31

Publications (1)

Publication Number Publication Date
WO2019148652A1 true WO2019148652A1 (zh) 2019-08-08

Family

ID=62551947

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/082671 Ceased WO2019148652A1 (zh) 2018-01-31 2018-04-11 终端解锁方法、装置、设备及可读存储介质

Country Status (2)

Country Link
CN (1) CN108182354A (zh)
WO (1) WO2019148652A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019599A (zh) * 2012-12-12 2013-04-03 华为终端有限公司 电子设备及其屏幕解锁方法
WO2014060128A1 (en) * 2012-10-19 2014-04-24 Telefonica Digital España, S.L.U. Method and device for improved unlocking of an electronic device
CN104462892A (zh) * 2014-10-31 2015-03-25 深圳市金立通信设备有限公司 一种终端
CN104484110A (zh) * 2014-12-30 2015-04-01 小米科技有限责任公司 屏幕解锁方法及装置
CN105279420A (zh) * 2015-10-10 2016-01-27 魅族科技(中国)有限公司 一种屏幕解锁方法及终端
CN106980779A (zh) * 2017-02-24 2017-07-25 掌阅科技股份有限公司 解锁信息生成方法、装置和移动终端

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838494A (zh) * 2012-11-27 2014-06-04 华为终端有限公司 一种终端设备的解锁方法及终端设备
CN103945036B (zh) * 2014-04-11 2017-04-05 江苏物联网研究发展中心 手机接电头像自选隐私保护方法
CN104392157B (zh) * 2014-11-18 2017-04-12 深圳市腾讯计算机系统有限公司 密码锁屏方法及装置
CN105160216A (zh) * 2015-07-09 2015-12-16 小米科技有限责任公司 解锁方法、装置及终端
CN105138888B (zh) * 2015-08-31 2017-11-07 广东欧珀移动通信有限公司 一种人机交互方法及用户终端
CN106210341A (zh) * 2016-07-26 2016-12-07 青岛海信移动通信技术股份有限公司 终端解锁方法及终端设备
CN108256316B (zh) * 2018-01-23 2019-08-23 平安科技(深圳)有限公司 终端解锁方法、装置、设备及可读存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014060128A1 (en) * 2012-10-19 2014-04-24 Telefonica Digital España, S.L.U. Method and device for improved unlocking of an electronic device
CN103019599A (zh) * 2012-12-12 2013-04-03 华为终端有限公司 电子设备及其屏幕解锁方法
CN104462892A (zh) * 2014-10-31 2015-03-25 深圳市金立通信设备有限公司 一种终端
CN104484110A (zh) * 2014-12-30 2015-04-01 小米科技有限责任公司 屏幕解锁方法及装置
CN105279420A (zh) * 2015-10-10 2016-01-27 魅族科技(中国)有限公司 一种屏幕解锁方法及终端
CN106980779A (zh) * 2017-02-24 2017-07-25 掌阅科技股份有限公司 解锁信息生成方法、装置和移动终端

Also Published As

Publication number Publication date
CN108182354A (zh) 2018-06-19

Similar Documents

Publication Publication Date Title
WO2019019493A1 (zh) 数据共享方法、装置及计算机可读存储介质
WO2019061612A1 (zh) 贷款产品推广方法、装置及计算机可读存储介质
WO2019061613A1 (zh) 贷款资质筛选方法、装置及计算机可读存储介质
WO2018166224A1 (zh) 全景视频的目标追踪显示方法、装置及存储介质
WO2017054592A1 (zh) 一种界面显示的方法及终端
WO2018120457A1 (zh) 数据处理方法、装置、设备及计算机可读存储介质
WO2013127233A1 (zh) 一种基于手机的按键解锁方法及手机
WO2018018680A1 (zh) 应用提示信息显示方法及装置
WO2019114269A1 (zh) 一种节目续播方法、电视设备及计算机可读存储介质
WO2018233221A1 (zh) 多窗口声音输出方法、电视机以及计算机可读存储介质
WO2015139594A1 (en) Security verification method, apparatus, and system
WO2018233367A1 (zh) 立案方法、装置、终端和计算机可读存储介质
WO2017084302A1 (zh) 显示终端开机播放视频的方法及显示终端
WO2019041851A1 (zh) 家电售后咨询方法、电子设备和计算机可读存储介质
WO2019037395A1 (zh) 密钥管理方法、装置及可读存储介质
WO2019024336A1 (zh) 数据查询方法、装置及计算机可读存储介质
WO2019000801A1 (zh) 数据同步方法、装置、设备及计算机可读存储介质
WO2017121066A1 (zh) 应用程序显示方法和系统
WO2019000800A1 (zh) 制证方法、装置、设备及计算机可读存储介质
WO2018201699A1 (zh) 客户评价方法、装置、设备以及计算机可读存储介质
WO2019104874A1 (zh) 理财产品购买方法、装置、设备及可读存储介质
WO2017206377A1 (zh) 同步播放节目的方法和装置
WO2019071771A1 (zh) 无线信号指纹信息的校准方法、系统、服务器和介质
WO2017152527A1 (zh) 智能电视从设备应用的控制方法及智能电视
WO2019042220A1 (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: 18904344

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 12/11/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18904344

Country of ref document: EP

Kind code of ref document: A1