WO2018000768A1 - 一种设置锁屏密码的方法、装置及电子设备 - Google Patents

一种设置锁屏密码的方法、装置及电子设备 Download PDF

Info

Publication number
WO2018000768A1
WO2018000768A1 PCT/CN2016/111048 CN2016111048W WO2018000768A1 WO 2018000768 A1 WO2018000768 A1 WO 2018000768A1 CN 2016111048 W CN2016111048 W CN 2016111048W WO 2018000768 A1 WO2018000768 A1 WO 2018000768A1
Authority
WO
WIPO (PCT)
Prior art keywords
attribute
setting
system lock
lock
interface
Prior art date
Application number
PCT/CN2016/111048
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 北京金山安全软件有限公司
Publication of WO2018000768A1 publication Critical patent/WO2018000768A1/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
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • 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/45Structures or tools for the administration of authentication

Definitions

  • the present invention relates to information security technologies, and in particular, to a method, device and electronic device for setting a lock screen password.
  • the fingerprint is a unique identification code for each user, without memory, and has lifelong immutability, uniqueness and carry-on. Convenience has been widely used in biometric identification. For example, Apple, Samsung and other electronic equipment manufacturers have used fingerprints to protect electronic devices. Google also listed fingerprints as its key strategy, and implemented support for fingerprint recognition from the system layer in Android 6.0, thus greatly improving Android electronic devices. The security of fingerprint recognition.
  • the third-party lock screen software when used to set the fingerprint information for the electronic device unlocking screen, in order to prevent the user from being unable to use the electronic device due to the failure of the fingerprint unlocking failure, it is mandatory to set the user password of the digital or graphic.
  • the electronic device there are settings such as fingerprint information, system lock, and user password.
  • the fingerprint information is used for unlocking failure
  • the system lock password is required to unlock the system lock
  • the user password is used to unlock the third-party lock screen. Entering the desktop screen of the electronic device causes the unlocking process to be complicated, and the unlocking operation takes a long time, which affects the unlocking experience of the user.
  • the embodiment of the present invention provides a method, a device, and an electronic device for setting a lock screen password, which can simplify the unlocking process and reduce the time required for the unlocking operation, so as to solve the existing method for setting a lock screen password.
  • Have fingerprint connection In the case of the port, setting the fingerprint information requires that the unlocking process caused by setting the user password is complicated and the unlocking operation time is long.
  • an embodiment of the present invention provides a method for setting a lock screen password, including:
  • the fingerprint information input by the user is acquired, and if the acquired fingerprint information does not match the set fingerprint information, the user inputs the fingerprint information. frequency;
  • the method further includes:
  • the mapping relationship between the system lock attribute and the screening processing policy set by the query is obtained.
  • the system lock attribute processing mask processing strategy, according to the obtained mask processing strategy to handle system locks includes:
  • the mapping relationship between the preset system lock attribute and the mask processing policy is queried, and the obtained mask processing strategy is to close the system lock, and set the system lock attribute to off.
  • the setting the system lock attribute to off includes:
  • control setting interface In the control setting interface, acquiring an attribute setting control corresponding to the system lock attribute, and entering an attribute setting interface corresponding to the attribute setting control;
  • the mapping relationship between the preset system lock attribute and the screening processing policy is obtained.
  • the system lock attribute processing mask processing strategy, according to the obtained mask processing strategy to handle system locks includes:
  • the mapping relationship between the preset system lock attribute and the mask processing policy is queried, and the obtained mask processing policy is to set the floating window permission level of the third-party lock screen application to be higher than the above.
  • the system locks the floating window permission level, and sets the floating window permission level of the third-party lock screen application to be higher than the system lock floating window permission level corresponding to the system lock.
  • a second aspect of the present invention provides an apparatus for setting a lock screen password, including: a fingerprint interface query module, a security setting module, an attribute acquisition module, and an attribute processing module, where
  • the fingerprint interface query module is configured to check whether the electronic device has a fingerprint interface that is open to the outside;
  • Security settings module if any, set fingerprint information and user password
  • An attribute obtaining module configured to acquire a system lock attribute
  • the attribute processing module is configured to query a mapping relationship between the preset system lock attribute and the mask processing policy, obtain a masking processing strategy of the obtained system lock attribute mapping, and process the system lock according to the obtained mask processing strategy.
  • the apparatus further includes:
  • the unlocking processing module is configured to acquire fingerprint information input by the user in a lock screen state, and if the obtained fingerprint information does not match the set fingerprint information, record the number of times the user inputs the fingerprint information; if the number of times of recording reaches a preset number of times The threshold value is jumped to the sliding unlocking interface; the user password input by the user according to the number and the pattern presented by the sliding unlocking interface is received, and if the input user password matches the set user password, the unlocking is performed.
  • the unlocking processing module is further configured to: if the acquired fingerprint information matches the set fingerprint information, unlocking.
  • the attribute processing module includes: a system lock first attribute obtaining unit, and a first query unit And a property closure unit, where
  • the system lock first attribute obtaining unit if the acquired system lock attribute is closable; notifying the first query unit;
  • the first query unit is configured to query a mapping relationship between the preset system lock attribute and the mask processing policy, and obtain a mask processing strategy for closing the system lock;
  • An attribute close unit that sets the system lock attribute to off.
  • the attribute closing unit includes: a setting interface subunit, a control setting interface subunit, an attribute setting interface subunit, and an attribute closing sub Unit, where
  • control setting interface sub-unit configured to acquire all setting controls in the setting interface, and enter a control setting interface corresponding to all the setting controls
  • the attribute setting interface sub-unit is configured to obtain an attribute setting control corresponding to the system lock attribute in the control setting interface, and enter an attribute setting interface corresponding to the attribute setting control;
  • the property closes the subunit to set the system lock option in the property settings interface to off.
  • the attribute processing module includes: a system lock second attribute acquiring unit, and a second query unit And a permission setting unit, wherein
  • the system lock second attribute obtaining unit notifies the second query unit if the obtained system lock attribute is forbidden to be closed;
  • the second query unit is configured to query a mapping relationship between the preset system lock attribute and the mask processing policy, and the obtained mask processing policy is to set the floating window permission level of the third-party lock screen application to be higher than the system lock floating window.
  • the privilege setting unit is configured to set the levitation window privilege level of the third-party lock screen application to be higher than the system lock levitation window privilege level corresponding to the system lock.
  • an embodiment of the present invention provides an electronic device, including: a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is disposed inside the space enclosed by the housing, and the processor And a memory disposed on the circuit board; a power supply circuit for powering each circuit or device of the electronic device; a memory for storing executable program code; and the processor operating by reading executable program code stored in the memory
  • the program corresponding to the program code is used to execute the method for setting a lock screen password according to any of the foregoing.
  • the method, the device and the electronic device for setting a lock screen password are provided by checking whether the electronic device has a fingerprint interface open to the outside; if yes, setting the fingerprint information and the user password; acquiring the system lock attribute; querying the preset
  • the mapping relationship between the system lock attribute and the mask processing policy, the obtained masking processing strategy of the system lock attribute mapping, and the system lock according to the obtained mask processing strategy can simplify the unlocking process and reduce the time required for the unlocking operation, so as to solve the present problem.
  • setting the fingerprint information requires that the unlocking process caused by setting the user password is complicated, and the unlocking operation time is long.
  • an embodiment of the present invention provides an apparatus, including: one or more processors; a memory; one or more programs, where the one or more programs are stored in the memory, when the one or When multiple processors are executed, the following steps are performed: checking whether the electronic device has a fingerprint interface that is open to the outside;
  • an embodiment of the present invention provides a non-volatile computer storage medium, where the computer storage medium stores one or more programs, when the one or more programs are executed by one device, causing the device to be Perform the following steps: Check whether the electronic device has a fingerprint interface that is open to the outside;
  • FIG. 1 is a schematic flow chart of a method for setting a lock screen password according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic flowchart of a method for setting a lock screen password according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic structural diagram of an apparatus for setting a lock screen password according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural view of an embodiment of an electronic device according to the present invention.
  • FIG. 1 is a schematic flowchart of a method for setting a lock screen password according to Embodiment 1 of the present invention. As shown in FIG. 1 , the method in this embodiment may include:
  • Step 101 Check whether the electronic device has a fingerprint interface that is open to the outside;
  • the user can use the installed third-party lock screen software, for example, the cmlocker lock screen software, to determine whether the electronic device has an open fingerprint interface, and if there is an open fingerprint interface, Indicates that the electronic device supports fingerprint unlocking; if there is no externally opened fingerprint interface, it indicates that the electronic device does not support fingerprint unlocking, and needs to use a system lock or a non-system lock provided by the electronic device operating system (for example, sliding unlocking or digital or pattern unlocking) ) to unlock and lock the screen.
  • the installed third-party lock screen software for example, the cmlocker lock screen software
  • the method may be used to check whether the electronic device has a fingerprint interface that is open to the outside.
  • the device manager is not limited in this embodiment.
  • the method further includes:
  • step 103 If the electronic device does not have a fingerprint interface that is open to the outside, set a user password, and go to step 103.
  • Step 102 if yes, setting fingerprint information and a user password
  • the user password includes: a digital password, a graphic password, and a pattern password. Wait. Fingerprint information and user passwords can be set up using third-party lock screen software.
  • the set fingerprint information may be fingerprint information of one or more fingers, and the fingerprint information of the plurality of fingers forms a fingerprint information database.
  • Step 103 Obtain a system lock attribute.
  • the system lock attributes include: can be closed and the shutdown is prohibited.
  • the system lock that is set can be closed by some operating procedures to disable the system lock, and other electronic devices cannot be closed for security reasons. You need to enter a system lock to unlock the screen when unlocking.
  • Step 104 Query a mapping relationship between the preset system lock attribute and the mask processing policy, obtain a mask processing strategy of the acquired system lock attribute mapping, and process the system lock according to the obtained mask processing policy.
  • mapping relationship between the preset system lock attribute and the mask processing policy is queried, and the obtained system lock attribute mapping mask processing strategy is obtained, and the system lock is processed according to the obtained mask processing policy, including:
  • the mapping relationship between the preset system lock attribute and the mask processing policy is queried, and the obtained mask processing strategy is to close the system lock, and set the system lock attribute to off.
  • setting the system lock attribute to off includes:
  • A11 acquiring a setting control of the electronic device, and entering a setting interface corresponding to the setting control
  • control setting interface obtain an attribute setting control corresponding to the system lock attribute, and enter an attribute setting interface corresponding to the attribute setting control;
  • the name of the attribute setting control corresponding to the system lock attribute may be different for different electronic devices.
  • the name of the attribute setting control may be set to the developer option.
  • the names corresponding to the system lock options may also be different for different electronic devices.
  • the system lock option name is an option of the system.
  • the system lock may be invalidated. Therefore, when the fingerprint information is used for unlocking failure, the system lock password is not required, and the user password is directly input to unlock the third-party lock screen and enter the electronic device.
  • the device desktop screen simplifies the unlocking process, reduces the time required for unlocking operations, and enhances the user's unlocking experience.
  • mapping relationship between the preset system lock attribute and the mask processing policy is queried, and the obtained system lock attribute mapping mask processing strategy is obtained, and the system lock is processed according to the obtained mask processing policy, including:
  • the obtained shielding processing strategy is to set the floating window permission level of the third-party lock screen application to be higher than the system lock floating window permission level, and set the third-party lock screen application to have a floating window permission level higher than The system lock corresponding to the system lock floating window permission level.
  • the system lock floating window permission level corresponding to the existing system lock is a WARN level. Therefore, in this embodiment, the floating window permission level of the third-party lock screen application may be set to ERROR level. For example, if the third-party lock screen software is cmlocker lock screen software, you can make it cover the system lock floating window by setting the cmlocker lock screen software floating window permission level to ERROR level.
  • Embodiment 1 of the present invention provides a method for setting a lock screen password by checking whether an electronic device has a fingerprint interface that is open to the outside; if yes, setting fingerprint information and a user password; acquiring a system lock attribute; querying a preset system lock attribute and a mask processing The mapping relationship of the policy is obtained, and the obtained system lock attribute mapping mask processing strategy is obtained, and the system lock is processed according to the obtained mask processing strategy.
  • different guidance is performed to set the system lock to be shielded, thereby solving the problem of the double lock screen, so that after installing the third-party lock screen software, the situation of double lock screen is avoided, and the fingerprint is used.
  • the user password can be unlocked to unlock the third-party lock screen to enter the desktop screen of the electronic device, which simplifies the unlocking process, reduces the time required for the unlocking operation, and enhances the unlocking experience of the user.
  • FIG. 2 is a schematic flowchart of a method for setting a lock screen password according to Embodiment 2 of the present invention. As shown in FIG. 2, the method in this embodiment may include:
  • Step 201 Check whether the electronic device has a fingerprint interface that is open to the outside;
  • Step 202 if yes, setting fingerprint information and a user password
  • Step 203 Obtain a system lock attribute.
  • Step 204 Query a mapping relationship between a preset system lock attribute and a masking processing policy, obtain a masking processing strategy of the obtained system lock attribute mapping, and process the system lock according to the obtained shielding processing policy;
  • step 201 to step 204 is similar to step 101 to step 104 in the first embodiment of the foregoing method, and details are not described herein again.
  • Step 205 Acquire fingerprint information input by the user in a lock screen state, and if the acquired fingerprint information does not match the set fingerprint information, record the number of times the user inputs the fingerprint information;
  • the set fingerprint information constitutes a fingerprint information database
  • the acquired fingerprint information does not match any of the fingerprint information in the set fingerprint information database, it indicates that the fingerprint information input by the user is incorrect.
  • the method further includes:
  • Step 206 If the number of times of recording reaches a preset number of times threshold, jump to the sliding unlock interface;
  • the threshold value can be set according to actual needs, for example, it can be set to 3 times.
  • Step 207 Receive a user password input by the user according to the number and the pattern presented by the sliding unlocking interface, and if the input user password matches the set user password, unlock.
  • the electronic device when the electronic device is unlocked by using the fingerprint, for example, the finger is placed in the fingerprint unlocking area set by the electronic device, and the fingerprint information is correct by listening to the fingerprint information. If correct, the screen locked by the cmlocker lock screen software is unlocked; if the fingerprint fails to be unlocked 3 times, jump to the slide unlock interface, use the slide to unlock, in the slide unlock interface, the digital/pattern/graphic password interface of the locker lock screen software will appear. After entering the password, if the input is correct, it can be unlocked.
  • the method further includes:
  • the user may set the thumb fingerprint information mapping camera application, the index finger fingerprint information mapping short message application, the middle finger fingerprint information mapping WeChat application, the little finger fingerprint information mapping Office application, and the like.
  • an application category can contain one or more applications.
  • the application category interface only includes an application (whether or not the application is started to be configured with a password)
  • the obtained application category jump instruction jumps to the corresponding
  • the application category interface includes:
  • the jump to the corresponding application category interface according to the acquired application category jump instruction includes:
  • the fingerprint information is directly unlocked. If the fingerprint information is incorrect, the user password is used for unlocking, and the system lock is not required to be unlocked, thereby simplifying the unlocking process and reducing the unlocking. Time required.
  • FIG. 3 is a schematic structural diagram of an apparatus for setting a lock screen password according to Embodiment 3 of the present invention.
  • the apparatus of this embodiment may include: a fingerprint interface query module 31, a security setting module 32, an attribute obtaining module 33, and attribute processing. Module 34, wherein
  • the fingerprint interface query module 31 is configured to check whether the electronic device has a fingerprint interface that is open to the outside;
  • the user can use the installed third-party lock screen software, for example, the cmlocker lock screen software, to determine whether the electronic device has a fingerprint interface that is open to the outside.
  • the installed third-party lock screen software for example, the cmlocker lock screen software
  • the fingerprint interface query module 31 is further configured to: if the electronic device does not have a fingerprint interface that is open to the outside, set a user password, and notify the attribute obtaining module 33.
  • Security setting module 32 if any, sets fingerprint information and user password
  • the user password includes: a digital password, a graphic password, a pattern password, and the like. Fingerprint information and user passwords can be set up using third-party lock screen software.
  • the set fingerprint information may be fingerprint information of one or more fingers, and the fingerprint information of the plurality of fingers forms a fingerprint information database.
  • an application class jump instruction of different fingerprint information mapping may also be set.
  • the user may set the thumb fingerprint information mapping camera application, the index finger fingerprint information mapping short message application, the middle finger fingerprint information mapping WeChat application, the little finger fingerprint information mapping Office application, and the like.
  • an application category can contain one or more applications.
  • the attribute obtaining module 33 is configured to acquire a system lock attribute.
  • the attribute processing module 34 is configured to query a mapping relationship between the preset system lock attribute and the mask processing policy, obtain a mask processing strategy of the acquired system lock attribute map, and process the system lock according to the obtained mask processing policy.
  • system lock attributes include: can be closed and the shutdown is prohibited.
  • the attribute processing module 34 includes: a system lock first attribute obtaining unit, a first query unit, and an attribute closing unit (not shown), wherein
  • the system lock first attribute obtaining unit if the acquired system lock attribute is closable; notifying the first query unit;
  • the first query unit is configured to query a mapping relationship between the preset system lock attribute and the mask processing policy, and obtain a mask processing strategy for closing the system lock;
  • An attribute close unit that sets the system lock attribute to off.
  • the attribute closing unit includes: a setting interface subunit, a control setting interface subunit, an attribute setting interface subunit, and an attribute closing subunit, wherein
  • control setting interface sub-unit configured to acquire all setting controls in the setting interface, and enter a control setting interface corresponding to all the setting controls
  • the attribute setting interface sub-unit is configured to obtain an attribute setting control corresponding to the system lock attribute in the control setting interface, and enter an attribute setting interface corresponding to the attribute setting control;
  • the property closes the subunit to set the system lock option in the property settings interface to off.
  • the attribute processing module 34 includes: a system lock second attribute obtaining unit, a second query unit, and a rights setting unit (not shown), wherein
  • the system lock second attribute obtaining unit notifies the second query unit if the obtained system lock attribute is forbidden to be closed;
  • the second query unit is configured to query a mapping relationship between the preset system lock attribute and the mask processing policy, and the obtained mask processing policy is to set the floating window permission level of the third-party lock screen application to be higher than the system lock floating window.
  • Right Limit level, notification permission setting unit
  • the privilege setting unit is configured to set the levitation window privilege level of the third-party lock screen application to be higher than the system lock levitation window privilege level corresponding to the system lock.
  • the apparatus further includes:
  • the unlocking processing module 35 is configured to acquire fingerprint information input by the user in a lock screen state, and if the acquired fingerprint information does not match the set fingerprint information, record the number of times the user inputs the fingerprint information;
  • the unlock processing module 35 is further configured to: if the acquired fingerprint information matches the set fingerprint information, unlock.
  • the unlock processing module 35 is further configured to acquire an application category jump instruction mapped by the fingerprint information input by the user, and after the unlocking, jump according to the acquired application category jump instruction. Go to the corresponding application category interface.
  • the application category interface includes only one application, jump to the launched application interface. If the application category interface contains multiple applications, jump to the application category interface that contains multiple application icons.
  • the unlock processing module 35 includes: a fingerprint information matching unit, a jump unit, and an unlocking unit (not shown), where
  • the fingerprint information matching unit is configured to acquire fingerprint information input by the user in a lock screen state, and if the acquired fingerprint information does not match the set fingerprint information, record the number of times the user inputs the fingerprint information;
  • Jump unit if the number of records reaches the preset number of times threshold, jump to the sliding unlock interface
  • the unlocking unit is configured to receive a user password input by the user according to the number and the pattern presented by the sliding unlocking interface, and if the input user password matches the set user password, unlocking.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 1 and FIG. 2, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • a "computer-readable medium” can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device.
  • computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
  • the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
  • portions of the invention may be implemented in hardware, software, firmware or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: having logic gates for implementing logic functions on data signals. Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
  • An embodiment of the present invention further provides an electronic device, where the electronic device includes the device described in any of the foregoing embodiments.
  • the electronic device may include: a housing 41, a processor 42, and a memory. 43.
  • the circuit board 44 and the power supply circuit 45 wherein the circuit board 44 is disposed inside the space surrounded by the housing 41, the processor 42 and the memory 43 are disposed on the circuit board 44, and the power supply circuit 45 is used for the electronic device
  • Each circuit or device is powered;
  • the memory 43 is for storing executable program code;
  • the processor 42 is operative to execute a program corresponding to the executable program code by reading the executable program code stored in the memory 43 for performing any of the foregoing embodiments
  • the method for setting a lock screen password wherein the circuit board 44 is disposed inside the space surrounded by the housing 41, the processor 42 and the memory 43 are disposed on the circuit board 44, and the power supply circuit 45 is used for the electronic device
  • the memory 43 is for storing executable program code
  • the processor 42 is operative to execute a program corresponding to the executable program code by reading the executable program code stored in the memory 43 for performing any of the foregoing embodiments
  • the method for setting a lock screen password wherein the circuit board 44
  • the processor 42 performs the specific execution process of the above steps and the processor 42 proceeds by running the executable program code.
  • steps to be performed refer to the description of the embodiment shown in FIG. 1-3 of the present invention, and details are not described herein again.
  • the electronic device exists in a variety of forms including, but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server consists of a processor, a hard disk, a memory, a system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
  • the invention can be implemented by means of software plus the necessary general hardware platform. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product, which may be stored in a storage medium such as a ROM/RAM or a disk. , an optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments.
  • a computer device which may be a personal computer, server, or network device, etc.

Landscapes

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

Abstract

一种设置锁屏密码的方法、装置及电子设备,属于信息安全技术领域,所述设置锁屏密码的方法包括:检查电子设备是否具有对外开放的指纹接口(101);如果有,设置指纹信息以及用户密码(102);获取***锁属性(103);查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理***锁(104)。该方法、装置及电子设备适用于对有指纹接口的电子设备进行指纹信息设置,能够简化解锁流程,降低解锁操作所需的时间。

Description

一种设置锁屏密码的方法、装置及电子设备
相关申请的交叉引用
本申请要求北京金山安全软件有限公司于2016年6月28日提交的、发明名称为“一种设置锁屏密码的方法、装置及电子设备”的、中国专利申请号“201610486379.0”的优先权。
技术领域
本发明涉及信息安全技术,尤其涉及一种设置锁屏密码的方法、装置及电子设备。
背景技术
随着计算机通信以及互联网技术的不断发展,电子设备,例如,智能移动电话、个人数字助理、掌上电脑、笔记本电脑等应用越来越广泛,其安全性受到了用户越来越多的关注和重视。为了保障电子设备的安全性,设置密码锁成为了用户的常规选择。例如,电子设备运营厂商在电子设备出厂时,会提供***锁设置功能,以便用户在锁定电子设备屏幕后,如果需要使用电子设备,需要解锁***锁,从而防止电子设备丢失后被其他用户使用。
由于***所设置功能是***配置的,功能较为单一,不能够满足用户的多样化安全需求,而指纹是每一用户独一无二的身份识别码,无需记忆,具有终身不变性、唯一性和随身携带的方便性,已广泛应用于生物特征识别。例如,苹果、三星等电子设备厂商已经使用指纹来保护电子设备,Google也将指纹列为其重点战略,并在Android 6.0里实现了从***层面对指纹识别的支持,从而大大提升了安卓电子设备的指纹识别的安全性。
目前,在利用第三方锁屏软件设置指纹信息进行电子设备解锁屏时,为了防止指纹解锁失败导致用户无法使用电子设备的情形出现,会强制要求设置数字或图形的用户密码。这样,使得在电子设备中,存在指纹信息、***锁以及用户密码等设置,在使用指纹信息进行解锁失败时,需要先输入***锁密码解锁***锁,再输入用户密码解锁第三方锁屏,才能进入电子设备桌面屏幕,导致解锁流程较为复杂,解锁操作所需时间较长,影响了用户的解锁体验。
发明内容
有鉴于此,本发明实施例提供一种设置锁屏密码的方法、装置及电子设备,能够简化解锁流程,降低解锁操作所需的时间,以解决现有的设置锁屏密码的方法中,在有指纹接 口的情况下,设置指纹信息需要强制要求设置用户密码导致的解锁流程复杂,解锁操作时间较长的问题。
第一方面,本发明实施例提供一种设置锁屏密码的方法,包括:
检查电子设备是否具有对外开放的指纹接口;
如果有,设置指纹信息以及用户密码;
获取***锁属性;
查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理***锁。
结合第一方面,在第一方面的第一种实施方式中,在锁屏状态下,获取用户输入的指纹信息,如果获取的指纹信息与设置的指纹信息不相匹配,记录用户输入指纹信息的次数;
如果记录的次数达到预先设置的次数阈值,跳转至滑动解锁界面;
接收用户依据所述滑动解锁界面呈现的数字和图案输入的用户密码,如果所述输入的用户密码与设置的用户密码相匹配,解锁。
结合第一方面的第一种实施方式,在第一方面的第二种实施方式中,所述方法还包括:
如果获取的指纹信息与设置的指纹信息相匹配,解锁。
结合第一方面、第一方面的第一种或第二种实施方式,在第一方面的第三种实施方式中,所述查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理***锁包括:
如果获取的***锁属性为可关闭,查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到的屏蔽处理策略为关闭***锁,将所述***锁属性设置为关闭。
结合第一方面的第三种实施方式,在第一方面的第四种实施方式中,所述将所述***锁属性设置为关闭包括:
获取电子设备的设置控件,进入所述设置控件对应的设置界面;
在所述设置界面中,获取全部设置控件,进入所述全部设置控件对应的控件设置界面;
在所述控件设置界面中,获取***锁属性对应的属性设置控件,进入所述属性设置控件对应的属性设置界面;
将所述属性设置界面中的***锁选项设置为关闭。
结合第一方面、第一方面的第一种或第二种实施方式,在第一方面的第五种实施方式中,所述查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理***锁包括:
如果获取的***锁属性为禁止关闭,查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到的屏蔽处理策略为设置所述第三方锁屏应用程序的悬浮窗权限级别高于所述 ***锁悬浮窗权限级别,设置所述第三方锁屏应用程序的悬浮窗权限级别高于所述***锁对应的***锁悬浮窗权限级别。
第二方面,本发明实施例提供一种设置锁屏密码的装置,包括:指纹接口查询模块、安全设置模块、属性获取模块以及属性处理模块,其中,
指纹接口查询模块,用于检查电子设备是否具有对外开放的指纹接口;
安全设置模块,如果有,设置指纹信息以及用户密码;
属性获取模块,用于获取***锁属性;
属性处理模块,用于查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理***锁。
结合第二方面,在第二方面的第一种实施方式中,所述装置还包括:
解锁处理模块,用于在锁屏状态下,获取用户输入的指纹信息,如果获取的指纹信息与设置的指纹信息不相匹配,记录用户输入指纹信息的次数;如果记录的次数达到预先设置的次数阈值,跳转至滑动解锁界面;接收用户依据所述滑动解锁界面呈现的数字和图案输入的用户密码,如果所述输入的用户密码与设置的用户密码相匹配,解锁。
结合第二方面的第一种实施方式,在第二方面的第二种实施方式中,所述解锁处理模块还用于如果获取的指纹信息与设置的指纹信息相匹配,解锁。
结合第二方面、第二方面的第一种或第二种实施方式,在第二方面的第三种实施方式中,所述属性处理模块包括:***锁第一属性获取单元、第一查询单元以及属性关闭单元,其中,
***锁第一属性获取单元,如果获取的***锁属性为可关闭;通知第一查询单元;
第一查询单元,用于查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到关闭***锁的屏蔽处理策略;
属性关闭单元,用于将所述***锁属性设置为关闭。
结合第二方面的第三种实施方式,在第二方面的第四种实施方式中,所述属性关闭单元包括:设置界面子单元、控件设置界面子单元、属性设置界面子单元以及属性关闭子单元,其中,
设置界面子单元,用于获取电子设备的设置控件,进入所述设置控件对应的设置界面;
控件设置界面子单元,用于在所述设置界面中,获取全部设置控件,进入所述全部设置控件对应的控件设置界面;
属性设置界面子单元,用于在所述控件设置界面中,获取***锁属性对应的属性设置控件,进入所述属性设置控件对应的属性设置界面;
属性关闭子单元,用于将所述属性设置界面中的***锁选项设置为关闭。
结合第二方面、第二方面的第一种或第二种实施方式,在第二方面的第五种实施方式中,所述属性处理模块包括:***锁第二属性获取单元、第二查询单元以及权限设置单元,其中,
***锁第二属性获取单元,如果获取的***锁属性为禁止关闭,通知第二查询单元;
第二查询单元,用于查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到的屏蔽处理策略为设置所述第三方锁屏应用程序的悬浮窗权限级别高于所述***锁悬浮窗权限级别,通知权限设置单元;
权限设置单元,用于设置所述第三方锁屏应用程序的悬浮窗权限级别高于所述***锁对应的***锁悬浮窗权限级别。
第三方面,本发明实施例提供一种电子设备,所述电子设备包括:壳体、处理器、存储器、电路板和电源电路,其中,电路板安置在壳体围成的空间内部,处理器和存储器设置在电路板上;电源电路,用于为上述电子设备的各个电路或器件供电;存储器用于存储可执行程序代码;处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,用于执行前述任一所述的设置锁屏密码的方法。
本发明实施例提供的一种设置锁屏密码的方法、装置及电子设备,通过检查电子设备是否具有对外开放的指纹接口;如果有,设置指纹信息以及用户密码;获取***锁属性;查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理***锁,能够简化解锁流程,降低解锁操作所需的时间,以解决现有的设置锁屏密码的方法中,在有指纹接口的情况下,设置指纹信息需要强制要求设置用户密码导致的解锁流程复杂,解锁操作时间较长的问题。
第四方面,本发明实施例提供一种设备,包括:一个或者多个处理器;存储器;一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时,执行以下步骤:检查电子设备是否具有对外开放的指纹接口;
如果有,设置指纹信息以及用户密码;
获取***锁属性;
查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理***锁。
第五方面,本发明实施例提供一种非易失性计算机存储介质,所述计算机存储介质存储有一个或者多个程序,当所述一个或者多个程序被一个设备执行时,使得所述设备执行以下步骤:检查电子设备是否具有对外开放的指纹接口;
如果有,设置指纹信息以及用户密码;
获取***锁属性;
查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理***锁。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为本发明的实施例一设置锁屏密码的方法流程示意图;
图2为本发明的实施例二设置锁屏密码的方法流程示意图;
图3为本发明的实施例三设置锁屏密码的装置结构示意图;
图4为本发明电子设备一个实施例的结构示意图。
具体实施方式
下面结合附图对本发明实施例进行详细描述。
应当明确,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
图1为本发明的实施例一设置锁屏密码的方法流程示意图,如图1所示,本实施例的方法可以包括:
步骤101,检查电子设备是否具有对外开放的指纹接口;
本实施例中,作为一可选实施例,用户可以利用安装的第三方锁屏软件,例如,cmlocker锁屏软件,判断电子设备中是否具有对外开放的指纹接口,如果具有外开放的指纹接口,表明该电子设备支持指纹解锁;如果不具有外开放的指纹接口,表明该电子设备不支持指纹解锁,需要利用电子设备操作***提供的***锁或非***锁(例如,滑动解锁或者数字、图案解锁)进行解锁和锁屏。
当然,实际应用中,还可以利用其他方式检查电子设备是否具有对外开放的指纹接口,例如,通过设备管理器的方式,本实施例对此不作限定。
本实施例中,作为一可选实施例,该方法还包括:
如果电子设备不具有对外开放的指纹接口,设置用户密码,并执行步骤103。
步骤102,如果有,设置指纹信息以及用户密码;
本实施例中,作为一可选实施例,用户密码包括:数字密码、图形密码以及图案密码 等。可以利用第三方锁屏软件设置指纹信息以及用户密码。
本实施例中,设置的指纹信息可以是一个或多个手指的指纹信息,多个手指的指纹信息形成一指纹信息库。
步骤103,获取***锁属性;
本实施例中,***锁属性包括:可关闭以及禁止关闭。例如,对于一些电子设备,其设置的***锁可通过一些操作流程,将设置的***锁关闭,使之失效,另一些电子设备,出于安全性的考虑,其设置的***锁不可被关闭,在解锁时需要输入***锁才能解锁屏幕。
步骤104,查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理***锁。
本实施例中,作为一可选实施例,查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理***锁包括:
如果获取的***锁属性为可关闭,查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到的屏蔽处理策略为关闭***锁,将所述***锁属性设置为关闭。
本实施例中,作为一可选实施例,将所述***锁属性设置为关闭包括:
A11,获取电子设备的设置控件,进入所述设置控件对应的设置界面;
A12,在所述设置界面中,获取全部设置控件,进入所述全部设置控件对应的控件设置界面;
A13,在所述控件设置界面中,获取***锁属性对应的属性设置控件,进入所述属性设置控件对应的属性设置界面;
本实施例中,不同的电子设备,***锁属性对应的属性设置控件名称可能不同,例如,属性设置控件的名称可以设置为开发者选项。
A14,将所述属性设置界面中的***锁选项设置为关闭。
本实施例中,不同的电子设备,***锁选项对应的名称也可能不同,例如,作为一可选实施例,***锁选项名称为***的选项。
本实施例中,通过将***锁属性由开启设置为关闭,可以使得***锁失效,这样,在使用指纹信息进行解锁失败时,无需输入***锁密码,直接输入用户密码解锁第三方锁屏进入电子设备桌面屏幕,简化了解锁流程,降低了解锁操作所需的时间,增强了用户的解锁体验。
作为另一可选实施例,查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理***锁包括:
如果获取的***锁属性为禁止关闭,查询预先设置的***锁属性与屏蔽处理策略的映 射关系,得到的屏蔽处理策略为设置所述第三方锁屏应用程序的悬浮窗权限级别高于所述***锁悬浮窗权限级别,设置所述第三方锁屏应用程序的悬浮窗权限级别高于所述***锁对应的***锁悬浮窗权限级别。
本实施例中,作为一可选实施例,现有***锁对应的***锁悬浮窗权限级别为WARN级别,因而,本实施例中,可以将第三方锁屏应用程序的悬浮窗权限级别设置为ERROR级别。例如,如果第三方锁屏软件为cmlocker锁屏软件,通过将cmlocker锁屏软件悬浮窗权限级别设置为ERROR级别,可以使其能覆盖在***锁悬浮窗上方。
本发明的实施例一设置锁屏密码的方法,通过检查电子设备是否具有对外开放的指纹接口;如果有,设置指纹信息以及用户密码;获取***锁属性;查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理***锁。这样,针对不同的电子设备,进行不同的引导,以设置将***锁进行屏蔽处理,从而解决双锁屏的问题,使得在安装第三方锁屏软件后,避免出现双锁屏的情况,使用指纹解锁电子设备进行解锁失败时,只要输入用户密码解锁第三方锁屏就可进入电子设备桌面屏幕,简化了解锁流程,降低了解锁操作所需的时间,增强了用户的解锁体验。
图2为本发明的实施例二设置锁屏密码的方法流程示意图,如图2所示,本实施例的方法可以包括:
步骤201,检查电子设备是否具有对外开放的指纹接口;
步骤202,如果有,设置指纹信息以及用户密码;
步骤203,获取***锁属性;
步骤204,查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理***锁;
本实施例中,步骤201至步骤204的过程分别和上述方法实施例一的步骤101至步骤104类似,此处不再赘述。
步骤205,在锁屏状态下,获取用户输入的指纹信息,如果获取的指纹信息与设置的指纹信息不相匹配,记录用户输入指纹信息的次数;
本实施例中,如果设置的指纹信息组成指纹信息库,如果获取的指纹信息与设置的指纹信息库中任一指纹信息均不相匹配,表明用户输入的指纹信息不正确。
本实施例中,作为一可选实施例,该方法还包括:
如果获取的指纹信息与设置的指纹信息相匹配,解锁。
步骤206,如果记录的次数达到预先设置的次数阈值,跳转至滑动解锁界面;
本实施例中,次数阈值可依据实际需要进行设置,例如,可以设置为3次。
步骤207,接收用户依据所述滑动解锁界面呈现的数字和图案输入的用户密码,如果所述输入的用户密码与设置的用户密码相匹配,解锁。
本实施例中,使用指纹解锁电子设备时,例如,将手指置于电子设备设置的指纹解锁区域,通过监听指纹信息是否正确,若正确,cmlocker锁屏软件锁住的屏幕解锁;若指纹解锁失败3次,跳转到滑动解锁界面,使用滑动解锁,在滑动解锁界面,会出现locker锁屏软件的数字/图案/图形密码界面,输入密码后,如果输入正确,可解锁。
本实施例中,作为一可选实施例,该方法还包括:
B11,设置不同的指纹信息映射的应用程序类别跳转指令;
本实施例中,例如,用户可以设置拇指指纹信息映射拍照类应用程序,食指指纹信息映射短信类应用程序,中指指纹信息映射微信类应用程序,小指指纹信息映射Office类应用程序等。其中,一应用程序类别中,可以包含一个或多个应用程序。
B12,获取用户输入的指纹信息映射的应用程序类别跳转指令,在解锁后,依据获取的应用程序类别跳转指令跳转至相应的应用程序类别界面。
本实施例中,作为一可选实施例,如果应用程序类别界面仅包含一应用程序(无论启动该应用程序是否设置有密码),所述依据获取的应用程序类别跳转指令跳转至相应的应用程序类别界面包括:
跳转至启动的应用程序界面。
作为另一可选实施例,如果应用程序类别界面包含多个应用程序,所述依据获取的应用程序类别跳转指令跳转至相应的应用程序类别界面包括:
跳转至包含有多个应用程序图标的应用程序类别界面。
本发明的实施例二设置锁屏密码的方法,在解锁时,如果指纹信息正确,则直接解锁,如果指纹信息不正确,利用用户密码解锁,无需进行***锁解锁,从而简化解锁流程,降低解锁所需时间。
图3为本发明的实施例三设置锁屏密码的装置结构示意图,如图3所示,本实施例的装置可以包括:指纹接口查询模块31、安全设置模块32、属性获取模块33以及属性处理模块34,其中,
指纹接口查询模块31,用于检查电子设备是否具有对外开放的指纹接口;
本实施例中,作为一可选实施例,用户可以利用安装的第三方锁屏软件,例如,cmlocker锁屏软件,判断电子设备中是否具有对外开放的指纹接口。
本实施例中,作为一可选实施例,指纹接口查询模块31还用于如果电子设备不具有对外开放的指纹接口,设置用户密码,通知属性获取模块33。
安全设置模块32,如果有,设置指纹信息以及用户密码;
本实施例中,作为一可选实施例,用户密码包括:数字密码、图形密码以及图案密码等。可以利用第三方锁屏软件设置指纹信息以及用户密码。
本实施例中,设置的指纹信息可以是一个或多个手指的指纹信息,多个手指的指纹信息形成一指纹信息库。
本实施例中,作为一可选实施例,还可以设置不同的指纹信息映射的应用程序类别跳转指令。
本实施例中,例如,用户可以设置拇指指纹信息映射拍照类应用程序,食指指纹信息映射短信类应用程序,中指指纹信息映射微信类应用程序,小指指纹信息映射Office类应用程序等。其中,一应用程序类别中,可以包含一个或多个应用程序。
属性获取模块33,用于获取***锁属性;
属性处理模块34,用于查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理***锁。
本实施例中,***锁属性包括:可关闭以及禁止关闭。
本实施例中,作为一可选实施例,属性处理模块34包括:***锁第一属性获取单元、第一查询单元以及属性关闭单元(图中未示出),其中,
***锁第一属性获取单元,如果获取的***锁属性为可关闭;通知第一查询单元;
第一查询单元,用于查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到关闭***锁的屏蔽处理策略;
属性关闭单元,用于将所述***锁属性设置为关闭。
本实施例中,作为一可选实施例,属性关闭单元包括:设置界面子单元、控件设置界面子单元、属性设置界面子单元以及属性关闭子单元,其中,
设置界面子单元,用于获取电子设备的设置控件,进入所述设置控件对应的设置界面;
控件设置界面子单元,用于在所述设置界面中,获取全部设置控件,进入所述全部设置控件对应的控件设置界面;
属性设置界面子单元,用于在所述控件设置界面中,获取***锁属性对应的属性设置控件,进入所述属性设置控件对应的属性设置界面;
属性关闭子单元,用于将所述属性设置界面中的***锁选项设置为关闭。
本实施例中,作为另一可选实施例,属性处理模块34包括:***锁第二属性获取单元、第二查询单元以及权限设置单元(图中未示出),其中,
***锁第二属性获取单元,如果获取的***锁属性为禁止关闭,通知第二查询单元;
第二查询单元,用于查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到的屏蔽处理策略为设置所述第三方锁屏应用程序的悬浮窗权限级别高于所述***锁悬浮窗权 限级别,通知权限设置单元;
权限设置单元,用于设置所述第三方锁屏应用程序的悬浮窗权限级别高于所述***锁对应的***锁悬浮窗权限级别。
本实施例中,作为一可选实施例,该装置还包括:
解锁处理模块35,用于在锁屏状态下,获取用户输入的指纹信息,如果获取的指纹信息与设置的指纹信息不相匹配,记录用户输入指纹信息的次数;
如果记录的次数达到预先设置的次数阈值,跳转至滑动解锁界面;
接收用户依据所述滑动解锁界面呈现的数字和图案输入的用户密码,如果所述输入的用户密码与设置的用户密码相匹配,解锁。
本实施例中,作为一可选实施例,解锁处理模块35还用于如果获取的指纹信息与设置的指纹信息相匹配,解锁。
本实施例中,作为另一可选实施例,解锁处理模块35还用于获取用户输入的指纹信息映射的应用程序类别跳转指令,在解锁后,依据获取的应用程序类别跳转指令跳转至相应的应用程序类别界面。
本实施例中,如果应用程序类别界面仅包含一应用程序,跳转至启动的应用程序界面。如果应用程序类别界面包含多个应用程序,跳转至包含有多个应用程序图标的应用程序类别界面。
本实施例中,作为一可选实施例,解锁处理模块35包括:指纹信息匹配单元、跳转单元以及解锁单元(图中未示出),其中,
指纹信息匹配单元,用于在锁屏状态下,获取用户输入的指纹信息,如果获取的指纹信息与设置的指纹信息不相匹配,记录用户输入指纹信息的次数;
跳转单元,如果记录的次数达到预先设置的次数阈值,跳转至滑动解锁界面;
解锁单元,用于接收用户依据所述滑动解锁界面呈现的数字和图案输入的用户密码,如果所述输入的用户密码与设置的用户密码相匹配,解锁。
本实施例的装置,可以用于执行图1和图2所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不 排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。
尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行***、装置或设备(如基于计算机的***、包括处理器的***或其他可以从指令执行***、装置或设备取指令并执行指令的***)使用,或结合这些指令执行***、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行***、装置或设备或结合这些指令执行***、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。
在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行***执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本发明实施例还提供一种电子设备,所述电子设备包含前述任一实施例所述的装置。
图4为本发明电子设备一个实施例的结构示意图,可以实现本发明图1-3所示实施例的流程,如图4所示,上述电子设备可以包括:壳体41、处理器42、存储器43、电路板44和电源电路45,其中,电路板44安置在壳体41围成的空间内部,处理器42和存储器43设置在电路板44上;电源电路45,用于为上述电子设备的各个电路或器件供电;存储器43用于存储可执行程序代码;处理器42通过读取存储器43中存储的可执行程序代码来运行与可执行程序代码对应的程序,用于执行前述任一实施例所述的设置锁屏密码的方法。
处理器42对上述步骤的具体执行过程以及处理器42通过运行可执行程序代码来进一 步执行的步骤,可以参见本发明图1-3所示实施例的描述,在此不再赘述。
该电子设备以多种形式存在,包括但不限于:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、***总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。
(5)其他具有数据交互功能的电子设备。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
为了描述的方便,描述以上装置是以功能分为各种单元/模块分别描述。当然,在实施本发明时可以把各单元/模块的功能在同一个或多个软件和/或硬件中实现。
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本
发明可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例或者实施例的某些部分所述的方法。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。

Claims (15)

  1. 一种设置锁屏密码的方法,其特征在于,包括:
    检查电子设备是否具有对外开放的指纹接口;
    如果有,设置指纹信息以及用户密码;
    获取***锁属性;
    查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理***锁。
  2. 根据权利要求1所述的设置锁屏密码的方法,其特征在于,所述方法还包括:
    在锁屏状态下,获取用户输入的指纹信息,如果获取的指纹信息与设置的指纹信息不相匹配,记录用户输入指纹信息的次数;
    如果记录的次数达到预先设置的次数阈值,跳转至滑动解锁界面;
    接收用户依据所述滑动解锁界面呈现的数字和图案输入的用户密码,如果所述输入的用户密码与设置的用户密码相匹配,解锁。
  3. 根据权利要求1或2所述的设置锁屏密码的方法,其特征在于,所述方法还包括:
    如果获取的指纹信息与设置的指纹信息相匹配,解锁。
  4. 根据权利要求1至3任一项所述的设置锁屏密码的方法,其特征在于,所述查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理***锁包括:
    如果获取的***锁属性为可关闭,查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到的屏蔽处理策略为关闭***锁,将所述***锁属性设置为关闭。
  5. 根据权利要求1至4任一项所述的设置锁屏密码的方法,其特征在于,所述将所述***锁属性设置为关闭包括:
    获取电子设备的设置控件,进入所述设置控件对应的设置界面;
    在所述设置界面中,获取全部设置控件,进入所述全部设置控件对应的控件设置界面;
    在所述控件设置界面中,获取***锁属性对应的属性设置控件,进入所述属性设置控件对应的属性设置界面;
    将所述属性设置界面中的***锁选项设置为关闭。
  6. 根据权利要求1至3任一项所述的设置锁屏密码的方法,其特征在于,所述查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的 屏蔽处理策略,按照得到的屏蔽处理策略处理***锁包括:
    如果获取的***锁属性为禁止关闭,查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到的屏蔽处理策略为设置所述第三方锁屏应用程序的悬浮窗权限级别高于所述***锁悬浮窗权限级别,设置所述第三方锁屏应用程序的悬浮窗权限级别高于所述***锁对应的***锁悬浮窗权限级别。
  7. 一种设置锁屏密码的装置,其特征在于,包括:指纹接口查询模块、安全设置模块、属性获取模块以及属性处理模块,其中,
    指纹接口查询模块,用于检查电子设备是否具有对外开放的指纹接口;
    安全设置模块,如果有,设置指纹信息以及用户密码;
    属性获取模块,用于获取***锁属性;
    属性处理模块,用于查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理***锁。
  8. 根据权利要求7所述的设置锁屏密码的装置,其特征在于,所述装置还包括:
    解锁处理模块,用于在锁屏状态下,获取用户输入的指纹信息,如果获取的指纹信息与设置的指纹信息不相匹配,记录用户输入指纹信息的次数;如果记录的次数达到预先设置的次数阈值,跳转至滑动解锁界面;接收用户依据所述滑动解锁界面呈现的数字和图案输入的用户密码,如果所述输入的用户密码与设置的用户密码相匹配,解锁。
  9. 根据权利要求7或8所述的设置锁屏密码的装置,其特征在于,所述解锁处理模块还用于如果获取的指纹信息与设置的指纹信息相匹配,解锁。
  10. 根据权利要求7至9任一项所述的设置锁屏密码的装置,其特征在于,所述属性处理模块包括:***锁第一属性获取单元、第一查询单元以及属性关闭单元,其中,
    ***锁第一属性获取单元,如果获取的***锁属性为可关闭;通知第一查询单元;
    第一查询单元,用于查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到关闭***锁的屏蔽处理策略;
    属性关闭单元,用于将所述***锁属性设置为关闭。
  11. 根据权利要求7至10任一项所述的设置锁屏密码的装置,其特征在于,所述属性关闭单元包括:设置界面子单元、控件设置界面子单元、属性设置界面子单元以及属性关闭子单元,其中,
    设置界面子单元,用于获取电子设备的设置控件,进入所述设置控件对应的设置界面;
    控件设置界面子单元,用于在所述设置界面中,获取全部设置控件,进入所述全部设置控件对应的控件设置界面;
    属性设置界面子单元,用于在所述控件设置界面中,获取***锁属性对应的属性设置控件,进入所述属性设置控件对应的属性设置界面;
    属性关闭子单元,用于将所述属性设置界面中的***锁选项设置为关闭。
  12. 根据权利要求7至9任一项所述的设置锁屏密码的装置,其特征在于,所述属性处理模块包括:***锁第二属性获取单元、第二查询单元以及权限设置单元,其中,
    ***锁第二属性获取单元,如果获取的***锁属性为禁止关闭,通知第二查询单元;
    第二查询单元,用于查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到的屏蔽处理策略为设置所述第三方锁屏应用程序的悬浮窗权限级别高于所述***锁悬浮窗权限级别,通知权限设置单元;
    权限设置单元,用于设置所述第三方锁屏应用程序的悬浮窗权限级别高于所述***锁对应的***锁悬浮窗权限级别。
  13. 一种电子设备,其特征在于,所述电子设备包括:壳体、处理器、存储器、电路板和电源电路,其中,电路板安置在壳体围成的空间内部,处理器和存储器设置在电路板上;电源电路,用于为上述电子设备的各个电路或器件供电;存储器用于存储可执行程序代码;处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,用于执行前述任一权利要求1-6所述的设置锁屏密码的方法。
  14. 一种设备,其特征在于,包括:
    一个或者多个处理器;
    存储器;
    一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时,执行以下步骤:
    检查电子设备是否具有对外开放的指纹接口;
    如果有,设置指纹信息以及用户密码;
    获取***锁属性;
    查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理***锁。
  15. 一种非易失性计算机存储介质,其特征在于,所述计算机存储介质存储有一个或者多个程序,当所述一个或者多个程序被一个设备执行时,使得所述设备执行以 下步骤:
    检查电子设备是否具有对外开放的指纹接口;
    如果有,设置指纹信息以及用户密码;
    获取***锁属性;
    查询预先设置的***锁属性与屏蔽处理策略的映射关系,得到获取的***锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理***锁。
PCT/CN2016/111048 2016-06-28 2016-12-20 一种设置锁屏密码的方法、装置及电子设备 WO2018000768A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610486379.0 2016-06-28
CN201610486379.0A CN106203028B (zh) 2016-06-28 2016-06-28 一种设置锁屏密码的方法、装置及电子设备

Publications (1)

Publication Number Publication Date
WO2018000768A1 true WO2018000768A1 (zh) 2018-01-04

Family

ID=57462413

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/111048 WO2018000768A1 (zh) 2016-06-28 2016-12-20 一种设置锁屏密码的方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN106203028B (zh)
WO (1) WO2018000768A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106203028B (zh) * 2016-06-28 2019-08-06 北京金山安全软件有限公司 一种设置锁屏密码的方法、装置及电子设备
CN106599661A (zh) * 2016-12-09 2017-04-26 广东三源智明科技有限公司 基于生物识别的身份验证方法和***
CN106709729A (zh) * 2016-12-30 2017-05-24 维沃移动通信有限公司 一种支付方法及移动终端
CN106778143A (zh) * 2017-01-17 2017-05-31 广东欧珀移动通信有限公司 移动终端解锁方法、装置及移动终端
CN109819114B (zh) * 2019-02-20 2021-11-30 北京市商汤科技开发有限公司 锁屏处理方法及装置、电子设备及存储介质
CN113761511A (zh) * 2020-11-17 2021-12-07 北京沃东天骏信息技术有限公司 一种锁屏管理方法和装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140106711A1 (en) * 2012-10-04 2014-04-17 Crucialsoft Company Method, user device and computer-readable storage for displaying message using fingerprint
CN103744732A (zh) * 2014-02-14 2014-04-23 贝壳网际(北京)安全技术有限公司 跳过***锁屏的方法及装置
CN104392157A (zh) * 2014-11-18 2015-03-04 深圳市腾讯计算机***有限公司 密码锁屏方法及装置
CN105117138A (zh) * 2015-09-28 2015-12-02 北京金山安全软件有限公司 屏蔽操作***锁屏的方法、装置及移动终端
CN105574383A (zh) * 2015-04-17 2016-05-11 宇龙计算机通信科技(深圳)有限公司 一种终端***管理方法及装置
CN105677154A (zh) * 2015-09-30 2016-06-15 北京清川科技有限公司 一种基于手机锁屏控制其他智能设备的***及方法
CN106203028A (zh) * 2016-06-28 2016-12-07 北京金山安全软件有限公司 一种设置锁屏密码的方法、装置及电子设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096546A (zh) * 2010-12-29 2011-06-15 华为终端有限公司 一种操作***的解锁方法及装置
KR101560448B1 (ko) * 2013-07-24 2015-10-16 한국과학기술원 스크린 록 환경에서 특정 어플리케이션 호출을 위한 방법
CN105389503B (zh) * 2014-08-18 2019-06-25 北京壹人壹本信息科技有限公司 一种锁屏保护方法、***及移动终端
CN105592230B (zh) * 2016-02-24 2019-08-02 Oppo广东移动通信有限公司 一种移动终端被盗保护装置、移动终端及被盗保护方法

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140106711A1 (en) * 2012-10-04 2014-04-17 Crucialsoft Company Method, user device and computer-readable storage for displaying message using fingerprint
CN103744732A (zh) * 2014-02-14 2014-04-23 贝壳网际(北京)安全技术有限公司 跳过***锁屏的方法及装置
CN104392157A (zh) * 2014-11-18 2015-03-04 深圳市腾讯计算机***有限公司 密码锁屏方法及装置
CN105574383A (zh) * 2015-04-17 2016-05-11 宇龙计算机通信科技(深圳)有限公司 一种终端***管理方法及装置
CN105117138A (zh) * 2015-09-28 2015-12-02 北京金山安全软件有限公司 屏蔽操作***锁屏的方法、装置及移动终端
CN105677154A (zh) * 2015-09-30 2016-06-15 北京清川科技有限公司 一种基于手机锁屏控制其他智能设备的***及方法
CN106203028A (zh) * 2016-06-28 2016-12-07 北京金山安全软件有限公司 一种设置锁屏密码的方法、装置及电子设备

Also Published As

Publication number Publication date
CN106203028B (zh) 2019-08-06
CN106203028A (zh) 2016-12-07

Similar Documents

Publication Publication Date Title
WO2018000768A1 (zh) 一种设置锁屏密码的方法、装置及电子设备
US11405400B2 (en) Hardening based on access capability exercise sufficiency
US11204993B2 (en) Location-based configuration profile toggling
US9582656B2 (en) Systems for validating hardware devices
US11880477B2 (en) Time-based functionality restrictions
US8024770B2 (en) Techniques for managing security contexts
KR101705472B1 (ko) 모바일 디바이스 애플리케이션을 위한 플러거블 인증 메커니즘
US11765152B2 (en) Related asset access based on proven primary asset access
US20180300466A1 (en) Method and appapratus for controlling electronic device, and electrode device
US20190026442A1 (en) Offline activation for application(s) installed on a computing device
AU2017217235B2 (en) Systems and methods for securing an entity-relationship system
US10528749B2 (en) Methods and apparatus for containerized secure computing resources
US9626491B2 (en) Enabling enforcement of licensing terms in distributing content in containers by including a key in the container containing the pertinent licensing terms
US20140310772A1 (en) Location-based Functionality Restrictions
US10037432B2 (en) Implementing file security settings based on context
US9268782B2 (en) Re-use of binaries for multiple user accounts
US20160087989A1 (en) Assignment of Security Contexts to Define Access Permissions for File System Objects
WO2023056727A1 (zh) 一种访问控制方法、装置、设备及可读存储介质
US10104051B2 (en) Searching content associated with multiple applications
US20150248550A1 (en) Increasing access security with time since last access
CN107248078A (zh) 移动支付防护方法、移动终端及计算机可读存储介质
US20180232505A1 (en) Supplemental hand gesture authentication
US8447118B2 (en) Method of cipher and picture cipher system
CN114510706A (zh) 基于物理接口的权限控制方法、装置及计算设备
WO2018095045A1 (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: 16907155

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 04.04.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16907155

Country of ref document: EP

Kind code of ref document: A1