WO2018000768A1 - Method and apparatus for setting screen-lock password, and electronic device - Google Patents
Method and apparatus for setting screen-lock password, and electronic device Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 75
- 238000012545 processing Methods 0.000 claims abstract description 108
- 238000013507 mapping Methods 0.000 claims abstract description 55
- 238000007667 floating Methods 0.000 claims description 21
- 230000000873 masking effect Effects 0.000 claims description 7
- 238000005339 levitation Methods 0.000 claims description 6
- 108010001267 Protein Subunits Proteins 0.000 claims description 4
- 210000003811 finger Anatomy 0.000 description 9
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 210000004932 little finger Anatomy 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 229920001690 polydopamine Polymers 0.000 description 2
- 238000012216 screening Methods 0.000 description 2
- 210000003813 thumb Anatomy 0.000 description 2
- 102000002067 Protein Subunits Human genes 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/45—Structures 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
A method and apparatus for setting a screen-lock password, and an electronic device, falling within the technical field of information security. The method for setting a screen-lock password comprises: checking whether an electronic device has an open fingerprint interface (101); if so, setting fingerprint information and a user password (102); acquiring a system lock attribute (103); and querying a mapping relationship between a pre-set system lock attribute and a shielding processing strategy to obtain a shielding processing strategy mapped to the acquired system lock attribute, and processing a system lock according to the obtained shielding processing strategy (104). The method and apparatus and the electronic device are applicable to set fingerprint information for an electronic device having a fingerprint interface, can simplify an unlocking procedure and reduces the time required for an unlocking operation.
Description
相关申请的交叉引用Cross-reference to related applications
本申请要求北京金山安全软件有限公司于2016年6月28日提交的、发明名称为“一种设置锁屏密码的方法、装置及电子设备”的、中国专利申请号“201610486379.0”的优先权。This application claims the priority of the Chinese patent application No. "201610486379.0" filed on June 28, 2016 by Beijing Jinshan Security Software Co., Ltd., entitled "A Method, Apparatus and Electronic Device for Setting a Lock Screen Password".
本发明涉及信息安全技术,尤其涉及一种设置锁屏密码的方法、装置及电子设备。The present invention relates to information security technologies, and in particular, to a method, device and electronic device for setting a lock screen password.
随着计算机通信以及互联网技术的不断发展,电子设备,例如,智能移动电话、个人数字助理、掌上电脑、笔记本电脑等应用越来越广泛,其安全性受到了用户越来越多的关注和重视。为了保障电子设备的安全性,设置密码锁成为了用户的常规选择。例如,电子设备运营厂商在电子设备出厂时,会提供系统锁设置功能,以便用户在锁定电子设备屏幕后,如果需要使用电子设备,需要解锁系统锁,从而防止电子设备丢失后被其他用户使用。With the continuous development of computer communication and Internet technology, electronic devices, such as smart mobile phones, personal digital assistants, PDAs, notebook computers, etc., are becoming more and more widely used, and their security has received more and more attention and attention from users. . In order to ensure the security of electronic devices, setting a password lock has become a common choice for users. For example, when an electronic device is shipped from the factory, the system lock setting function is provided, so that if the user needs to use the electronic device after locking the electronic device screen, the system lock needs to be unlocked, thereby preventing the electronic device from being lost and being used by other users.
由于系统所设置功能是系统配置的,功能较为单一,不能够满足用户的多样化安全需求,而指纹是每一用户独一无二的身份识别码,无需记忆,具有终身不变性、唯一性和随身携带的方便性,已广泛应用于生物特征识别。例如,苹果、三星等电子设备厂商已经使用指纹来保护电子设备,Google也将指纹列为其重点战略,并在Android 6.0里实现了从系统层面对指纹识别的支持,从而大大提升了安卓电子设备的指纹识别的安全性。Since the functions set by the system are configured by the system, the functions are relatively simple and cannot meet the diversified security requirements of users. 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.
目前,在利用第三方锁屏软件设置指纹信息进行电子设备解锁屏时,为了防止指纹解锁失败导致用户无法使用电子设备的情形出现,会强制要求设置数字或图形的用户密码。这样,使得在电子设备中,存在指纹信息、系统锁以及用户密码等设置,在使用指纹信息进行解锁失败时,需要先输入系统锁密码解锁系统锁,再输入用户密码解锁第三方锁屏,才能进入电子设备桌面屏幕,导致解锁流程较为复杂,解锁操作所需时间较长,影响了用户的解锁体验。At present, when the third-party lock screen software is 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. In this way, in the electronic device, there are settings such as fingerprint information, system lock, and user password. When the fingerprint information is used for unlocking failure, the system lock password is required to unlock the system lock, and then 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.
发明内容Summary of the invention
有鉴于此,本发明实施例提供一种设置锁屏密码的方法、装置及电子设备,能够简化解锁流程,降低解锁操作所需的时间,以解决现有的设置锁屏密码的方法中,在有指纹接
口的情况下,设置指纹信息需要强制要求设置用户密码导致的解锁流程复杂,解锁操作时间较长的问题。In view of this, 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.
第一方面,本发明实施例提供一种设置锁屏密码的方法,包括:In a first aspect, an embodiment of the present invention provides a method for setting a lock screen password, including:
检查电子设备是否具有对外开放的指纹接口;Check whether the electronic device has a fingerprint interface that is open to the outside;
如果有,设置指纹信息以及用户密码;If yes, set the fingerprint information and the user password;
获取系统锁属性;Get the system lock attribute;
查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到获取的系统锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理系统锁。Query the mapping relationship between the preset system lock attribute and the mask processing policy, obtain the mask processing strategy of the obtained system lock attribute mapping, and process the system lock according to the obtained mask processing strategy.
结合第一方面,在第一方面的第一种实施方式中,在锁屏状态下,获取用户输入的指纹信息,如果获取的指纹信息与设置的指纹信息不相匹配,记录用户输入指纹信息的次数;With reference to the first aspect, in the first implementation manner of the first aspect, in the lock screen state, 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;
如果记录的次数达到预先设置的次数阈值,跳转至滑动解锁界面;If the number of records reaches the preset number of times threshold, jump to the sliding unlock interface;
接收用户依据所述滑动解锁界面呈现的数字和图案输入的用户密码,如果所述输入的用户密码与设置的用户密码相匹配,解锁。Receiving a user password input by the user according to the number and pattern presented by the sliding unlocking interface, and if the input user password matches the set user password, unlocking.
结合第一方面的第一种实施方式,在第一方面的第二种实施方式中,所述方法还包括:With reference to the first embodiment of the first aspect, in a second implementation manner of the first aspect, the method further includes:
如果获取的指纹信息与设置的指纹信息相匹配,解锁。If the obtained fingerprint information matches the set fingerprint information, unlock it.
结合第一方面、第一方面的第一种或第二种实施方式,在第一方面的第三种实施方式中,所述查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到获取的系统锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理系统锁包括:With reference to the first aspect, the first or second implementation manner of the first aspect, in the third implementation manner of the first aspect, 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:
如果获取的系统锁属性为可关闭,查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到的屏蔽处理策略为关闭系统锁,将所述系统锁属性设置为关闭。If the obtained system lock attribute is closable, 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.
结合第一方面的第三种实施方式,在第一方面的第四种实施方式中,所述将所述系统锁属性设置为关闭包括:With reference to the third implementation manner of the first aspect, in the fourth implementation manner of the first aspect, the setting the system lock attribute to off includes:
获取电子设备的设置控件,进入所述设置控件对应的设置界面;Obtaining a setting control of the electronic device, and entering a setting interface corresponding to the setting control;
在所述设置界面中,获取全部设置控件,进入所述全部设置控件对应的控件设置界面;In the setting interface, acquiring all the setting controls, and entering the control setting interface corresponding to all the setting controls;
在所述控件设置界面中,获取系统锁属性对应的属性设置控件,进入所述属性设置控件对应的属性设置界面;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;
将所述属性设置界面中的系统锁选项设置为关闭。Set the system lock option in the property settings interface to off.
结合第一方面、第一方面的第一种或第二种实施方式,在第一方面的第五种实施方式中,所述查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到获取的系统锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理系统锁包括:With reference to the first aspect, the first or second implementation manner of the first aspect, in the fifth implementation manner of the first aspect, 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:
如果获取的系统锁属性为禁止关闭,查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到的屏蔽处理策略为设置所述第三方锁屏应用程序的悬浮窗权限级别高于所述
系统锁悬浮窗权限级别,设置所述第三方锁屏应用程序的悬浮窗权限级别高于所述系统锁对应的系统锁悬浮窗权限级别。If the obtained system lock attribute is forbidden to be closed, 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.
结合第二方面,在第二方面的第一种实施方式中,所述装置还包括:In conjunction with the second aspect, in a first implementation of the second aspect, 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.
结合第二方面的第一种实施方式,在第二方面的第二种实施方式中,所述解锁处理模块还用于如果获取的指纹信息与设置的指纹信息相匹配,解锁。With reference to the first embodiment of the second aspect, in a second implementation manner of the second aspect, the unlocking processing module is further configured to: if the acquired fingerprint information matches the set fingerprint information, unlocking.
结合第二方面、第二方面的第一种或第二种实施方式,在第二方面的第三种实施方式中,所述属性处理模块包括:系统锁第一属性获取单元、第一查询单元以及属性关闭单元,其中,With reference to the second aspect, the first or second implementation manner of the second aspect, in the third implementation manner of the second aspect, 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.
结合第二方面的第三种实施方式,在第二方面的第四种实施方式中,所述属性关闭单元包括:设置界面子单元、控件设置界面子单元、属性设置界面子单元以及属性关闭子单元,其中,With reference to the third implementation manner of the second aspect, in a fourth implementation manner of the second aspect, 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
设置界面子单元,用于获取电子设备的设置控件,进入所述设置控件对应的设置界面;Setting an interface sub-unit for acquiring a setting control of the electronic device, and entering a setting interface corresponding to the setting control;
控件设置界面子单元,用于在所述设置界面中,获取全部设置控件,进入所述全部设置控件对应的控件设置界面;a 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.
结合第二方面、第二方面的第一种或第二种实施方式,在第二方面的第五种实施方式中,所述属性处理模块包括:系统锁第二属性获取单元、第二查询单元以及权限设置单元,其中,With reference to the second aspect, the first or second implementation manner of the second aspect, in the fifth implementation manner of the second aspect, 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. Permission 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.
第三方面,本发明实施例提供一种电子设备,所述电子设备包括:壳体、处理器、存储器、电路板和电源电路,其中,电路板安置在壳体围成的空间内部,处理器和存储器设置在电路板上;电源电路,用于为上述电子设备的各个电路或器件供电;存储器用于存储可执行程序代码;处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,用于执行前述任一所述的设置锁屏密码的方法。In a third aspect, 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. In some methods of setting a lock screen password, in the case of a fingerprint interface, setting the fingerprint information requires that the unlocking process caused by setting the user password is complicated, and the unlocking operation time is long.
第四方面,本发明实施例提供一种设备,包括:一个或者多个处理器;存储器;一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时,执行以下步骤:检查电子设备是否具有对外开放的指纹接口;In a fourth aspect, 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;
如果有,设置指纹信息以及用户密码;If yes, set the fingerprint information and the user password;
获取系统锁属性;Get the system lock attribute;
查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到获取的系统锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理系统锁。Query the mapping relationship between the preset system lock attribute and the mask processing policy, obtain the mask processing strategy of the obtained system lock attribute mapping, and process the system lock according to the obtained mask processing strategy.
第五方面,本发明实施例提供一种非易失性计算机存储介质,所述计算机存储介质存储有一个或者多个程序,当所述一个或者多个程序被一个设备执行时,使得所述设备执行以下步骤:检查电子设备是否具有对外开放的指纹接口;In a fifth aspect, 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;
如果有,设置指纹信息以及用户密码;If yes, set the fingerprint information and the user password;
获取系统锁属性;
Get the system lock attribute;
查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到获取的系统锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理系统锁。Query the mapping relationship between the preset system lock attribute and the mask processing policy, obtain the mask processing strategy of the obtained system lock attribute mapping, and process the system lock according to the obtained mask processing strategy.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明的实施例一设置锁屏密码的方法流程示意图;1 is a schematic flow chart of a method for setting a lock screen password according to Embodiment 1 of the present invention;
图2为本发明的实施例二设置锁屏密码的方法流程示意图;2 is a schematic flowchart of a method for setting a lock screen password according to Embodiment 2 of the present invention;
图3为本发明的实施例三设置锁屏密码的装置结构示意图;3 is a schematic structural diagram of an apparatus for setting a lock screen password according to Embodiment 3 of the present invention;
图4为本发明电子设备一个实施例的结构示意图。4 is a schematic structural view of an embodiment of an electronic device according to the present invention.
下面结合附图对本发明实施例进行详细描述。The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
应当明确,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。It should be understood that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图1为本发明的实施例一设置锁屏密码的方法流程示意图,如图1所示,本实施例的方法可以包括: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:
步骤101,检查电子设备是否具有对外开放的指纹接口;Step 101: Check whether the electronic device has a fingerprint interface that is open to the outside;
本实施例中,作为一可选实施例,用户可以利用安装的第三方锁屏软件,例如,cmlocker锁屏软件,判断电子设备中是否具有对外开放的指纹接口,如果具有外开放的指纹接口,表明该电子设备支持指纹解锁;如果不具有外开放的指纹接口,表明该电子设备不支持指纹解锁,需要利用电子设备操作系统提供的系统锁或非系统锁(例如,滑动解锁或者数字、图案解锁)进行解锁和锁屏。In this embodiment, as an optional embodiment, 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.
当然,实际应用中,还可以利用其他方式检查电子设备是否具有对外开放的指纹接口,例如,通过设备管理器的方式,本实施例对此不作限定。Of course, in an actual application, the method may be used to check whether the electronic device has a fingerprint interface that is open to the outside. For example, the device manager is not limited in this embodiment.
本实施例中,作为一可选实施例,该方法还包括:In this embodiment, as an optional embodiment, the method further includes:
如果电子设备不具有对外开放的指纹接口,设置用户密码,并执行步骤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.
步骤102,如果有,设置指纹信息以及用户密码; Step 102, if yes, setting fingerprint information and a user password;
本实施例中,作为一可选实施例,用户密码包括:数字密码、图形密码以及图案密码
等。可以利用第三方锁屏软件设置指纹信息以及用户密码。In this embodiment, as an optional embodiment, 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.
本实施例中,设置的指纹信息可以是一个或多个手指的指纹信息,多个手指的指纹信息形成一指纹信息库。In this embodiment, 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.
步骤103,获取系统锁属性;Step 103: Obtain a system lock attribute.
本实施例中,系统锁属性包括:可关闭以及禁止关闭。例如,对于一些电子设备,其设置的系统锁可通过一些操作流程,将设置的系统锁关闭,使之失效,另一些电子设备,出于安全性的考虑,其设置的系统锁不可被关闭,在解锁时需要输入系统锁才能解锁屏幕。In this embodiment, the system lock attributes include: can be closed and the shutdown is prohibited. For example, for some electronic devices, 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.
步骤104,查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到获取的系统锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理系统锁。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.
本实施例中,作为一可选实施例,查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到获取的系统锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理系统锁包括:In this embodiment, as an optional embodiment, the 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:
如果获取的系统锁属性为可关闭,查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到的屏蔽处理策略为关闭系统锁,将所述系统锁属性设置为关闭。If the obtained system lock attribute is closable, 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.
本实施例中,作为一可选实施例,将所述系统锁属性设置为关闭包括:In this embodiment, as an optional embodiment, setting the system lock attribute to off includes:
A11,获取电子设备的设置控件,进入所述设置控件对应的设置界面;A11, acquiring a setting control of the electronic device, and entering a setting interface corresponding to the setting control;
A12,在所述设置界面中,获取全部设置控件,进入所述全部设置控件对应的控件设置界面;A12. In the setting interface, obtain all the setting controls, and enter the control setting interface corresponding to all the setting controls;
A13,在所述控件设置界面中,获取系统锁属性对应的属性设置控件,进入所述属性设置控件对应的属性设置界面;A13. In the 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;
本实施例中,不同的电子设备,系统锁属性对应的属性设置控件名称可能不同,例如,属性设置控件的名称可以设置为开发者选项。In this embodiment, the name of the attribute setting control corresponding to the system lock attribute may be different for different electronic devices. For example, the name of the attribute setting control may be set to the developer option.
A14,将所述属性设置界面中的系统锁选项设置为关闭。A14, set the system lock option in the property setting interface to off.
本实施例中,不同的电子设备,系统锁选项对应的名称也可能不同,例如,作为一可选实施例,系统锁选项名称为系统的选项。In this embodiment, the names corresponding to the system lock options may also be different for different electronic devices. For example, as an optional embodiment, the system lock option name is an option of the system.
本实施例中,通过将系统锁属性由开启设置为关闭,可以使得系统锁失效,这样,在使用指纹信息进行解锁失败时,无需输入系统锁密码,直接输入用户密码解锁第三方锁屏进入电子设备桌面屏幕,简化了解锁流程,降低了解锁操作所需的时间,增强了用户的解锁体验。In this embodiment, by setting the system lock attribute to off, 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.
作为另一可选实施例,查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到获取的系统锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理系统锁包括:As another optional embodiment, the 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:
如果获取的系统锁属性为禁止关闭,查询预先设置的系统锁属性与屏蔽处理策略的映
射关系,得到的屏蔽处理策略为设置所述第三方锁屏应用程序的悬浮窗权限级别高于所述系统锁悬浮窗权限级别,设置所述第三方锁屏应用程序的悬浮窗权限级别高于所述系统锁对应的系统锁悬浮窗权限级别。If the acquired system lock attribute is forbidden to close, query the pre-set system lock attribute and the shadow processing strategy
In the relationship, 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.
本实施例中,作为一可选实施例,现有系统锁对应的系统锁悬浮窗权限级别为WARN级别,因而,本实施例中,可以将第三方锁屏应用程序的悬浮窗权限级别设置为ERROR级别。例如,如果第三方锁屏软件为cmlocker锁屏软件,通过将cmlocker锁屏软件悬浮窗权限级别设置为ERROR级别,可以使其能覆盖在系统锁悬浮窗上方。In this embodiment, as an optional embodiment, 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. In this way, for different electronic devices, 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. When the electronic device is unlocked for unlocking, 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.
图2为本发明的实施例二设置锁屏密码的方法流程示意图,如图2所示,本实施例的方法可以包括: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:
步骤201,检查电子设备是否具有对外开放的指纹接口;Step 201: Check whether the electronic device has a fingerprint interface that is open to the outside;
步骤202,如果有,设置指纹信息以及用户密码; Step 202, if yes, setting fingerprint information and a user password;
步骤203,获取系统锁属性;Step 203: Obtain a system lock attribute.
步骤204,查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到获取的系统锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理系统锁;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;
本实施例中,步骤201至步骤204的过程分别和上述方法实施例一的步骤101至步骤104类似,此处不再赘述。In this embodiment, the process from 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.
步骤205,在锁屏状态下,获取用户输入的指纹信息,如果获取的指纹信息与设置的指纹信息不相匹配,记录用户输入指纹信息的次数;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;
本实施例中,如果设置的指纹信息组成指纹信息库,如果获取的指纹信息与设置的指纹信息库中任一指纹信息均不相匹配,表明用户输入的指纹信息不正确。In this embodiment, if the set fingerprint information constitutes a fingerprint information database, if 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.
本实施例中,作为一可选实施例,该方法还包括:In this embodiment, as an optional embodiment, the method further includes:
如果获取的指纹信息与设置的指纹信息相匹配,解锁。If the obtained fingerprint information matches the set fingerprint information, unlock it.
步骤206,如果记录的次数达到预先设置的次数阈值,跳转至滑动解锁界面;Step 206: If the number of times of recording reaches a preset number of times threshold, jump to the sliding unlock interface;
本实施例中,次数阈值可依据实际需要进行设置,例如,可以设置为3次。
In this embodiment, the threshold value can be set according to actual needs, for example, it can be set to 3 times.
步骤207,接收用户依据所述滑动解锁界面呈现的数字和图案输入的用户密码,如果所述输入的用户密码与设置的用户密码相匹配,解锁。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.
本实施例中,使用指纹解锁电子设备时,例如,将手指置于电子设备设置的指纹解锁区域,通过监听指纹信息是否正确,若正确,cmlocker锁屏软件锁住的屏幕解锁;若指纹解锁失败3次,跳转到滑动解锁界面,使用滑动解锁,在滑动解锁界面,会出现locker锁屏软件的数字/图案/图形密码界面,输入密码后,如果输入正确,可解锁。In this embodiment, 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.
本实施例中,作为一可选实施例,该方法还包括:In this embodiment, as an optional embodiment, the method further includes:
B11,设置不同的指纹信息映射的应用程序类别跳转指令;B11, setting an application category jump instruction for different fingerprint information mapping;
本实施例中,例如,用户可以设置拇指指纹信息映射拍照类应用程序,食指指纹信息映射短信类应用程序,中指指纹信息映射微信类应用程序,小指指纹信息映射Office类应用程序等。其中,一应用程序类别中,可以包含一个或多个应用程序。In this embodiment, for example, 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. Among them, an application category can contain one or more applications.
B12,获取用户输入的指纹信息映射的应用程序类别跳转指令,在解锁后,依据获取的应用程序类别跳转指令跳转至相应的应用程序类别界面。B12: Obtain an application category jump instruction mapped by the fingerprint information input by the user, and after unlocking, jump to the corresponding application category interface according to the acquired application category jump instruction.
本实施例中,作为一可选实施例,如果应用程序类别界面仅包含一应用程序(无论启动该应用程序是否设置有密码),所述依据获取的应用程序类别跳转指令跳转至相应的应用程序类别界面包括:In this embodiment, as an optional embodiment, if 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:
跳转至启动的应用程序界面。Jump to the launched application interface.
作为另一可选实施例,如果应用程序类别界面包含多个应用程序,所述依据获取的应用程序类别跳转指令跳转至相应的应用程序类别界面包括:As another optional embodiment, if the application category interface includes multiple applications, the jump to the corresponding application category interface according to the acquired application category jump instruction includes:
跳转至包含有多个应用程序图标的应用程序类别界面。Jump to the application category interface that contains multiple application icons.
本发明的实施例二设置锁屏密码的方法,在解锁时,如果指纹信息正确,则直接解锁,如果指纹信息不正确,利用用户密码解锁,无需进行系统锁解锁,从而简化解锁流程,降低解锁所需时间。In the second embodiment of the present invention, if the fingerprint information is correct, 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.
图3为本发明的实施例三设置锁屏密码的装置结构示意图,如图3所示,本实施例的装置可以包括:指纹接口查询模块31、安全设置模块32、属性获取模块33以及属性处理模块34,其中,FIG. 3 is a schematic structural diagram of an apparatus for setting a lock screen password according to Embodiment 3 of the present invention. As shown in FIG. 3, 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
指纹接口查询模块31,用于检查电子设备是否具有对外开放的指纹接口;The fingerprint interface query module 31 is configured to check whether the electronic device has a fingerprint interface that is open to the outside;
本实施例中,作为一可选实施例,用户可以利用安装的第三方锁屏软件,例如,cmlocker锁屏软件,判断电子设备中是否具有对外开放的指纹接口。In this embodiment, as an optional embodiment, 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.
本实施例中,作为一可选实施例,指纹接口查询模块31还用于如果电子设备不具有对外开放的指纹接口,设置用户密码,通知属性获取模块33。In this embodiment, as an optional embodiment, 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.
安全设置模块32,如果有,设置指纹信息以及用户密码;
Security setting module 32, if any, sets fingerprint information and user password;
本实施例中,作为一可选实施例,用户密码包括:数字密码、图形密码以及图案密码等。可以利用第三方锁屏软件设置指纹信息以及用户密码。In this embodiment, as an optional embodiment, 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.
本实施例中,设置的指纹信息可以是一个或多个手指的指纹信息,多个手指的指纹信息形成一指纹信息库。In this embodiment, 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.
本实施例中,作为一可选实施例,还可以设置不同的指纹信息映射的应用程序类别跳转指令。In this embodiment, as an optional embodiment, an application class jump instruction of different fingerprint information mapping may also be set.
本实施例中,例如,用户可以设置拇指指纹信息映射拍照类应用程序,食指指纹信息映射短信类应用程序,中指指纹信息映射微信类应用程序,小指指纹信息映射Office类应用程序等。其中,一应用程序类别中,可以包含一个或多个应用程序。In this embodiment, for example, 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. Among them, an application category can contain one or more applications.
属性获取模块33,用于获取系统锁属性;The attribute obtaining module 33 is configured to acquire a system lock attribute.
属性处理模块34,用于查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到获取的系统锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理系统锁。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.
本实施例中,系统锁属性包括:可关闭以及禁止关闭。In this embodiment, the system lock attributes include: can be closed and the shutdown is prohibited.
本实施例中,作为一可选实施例,属性处理模块34包括:系统锁第一属性获取单元、第一查询单元以及属性关闭单元(图中未示出),其中,In this embodiment, as an optional embodiment, 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.
本实施例中,作为一可选实施例,属性关闭单元包括:设置界面子单元、控件设置界面子单元、属性设置界面子单元以及属性关闭子单元,其中,In this embodiment, as an optional embodiment, 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
设置界面子单元,用于获取电子设备的设置控件,进入所述设置控件对应的设置界面;Setting an interface sub-unit for acquiring a setting control of the electronic device, and entering a setting interface corresponding to the setting control;
控件设置界面子单元,用于在所述设置界面中,获取全部设置控件,进入所述全部设置控件对应的控件设置界面;a 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.
本实施例中,作为另一可选实施例,属性处理模块34包括:系统锁第二属性获取单元、第二查询单元以及权限设置单元(图中未示出),其中,In this embodiment, as another optional embodiment, 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.
本实施例中,作为一可选实施例,该装置还包括:In this embodiment, as an optional embodiment, the apparatus further includes:
解锁处理模块35,用于在锁屏状态下,获取用户输入的指纹信息,如果获取的指纹信息与设置的指纹信息不相匹配,记录用户输入指纹信息的次数;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;
如果记录的次数达到预先设置的次数阈值,跳转至滑动解锁界面;If the number of records reaches the preset number of times threshold, jump to the sliding unlock interface;
接收用户依据所述滑动解锁界面呈现的数字和图案输入的用户密码,如果所述输入的用户密码与设置的用户密码相匹配,解锁。Receiving a user password input by the user according to the number and pattern presented by the sliding unlocking interface, and if the input user password matches the set user password, unlocking.
本实施例中,作为一可选实施例,解锁处理模块35还用于如果获取的指纹信息与设置的指纹信息相匹配,解锁。In this embodiment, as an optional embodiment, the unlock processing module 35 is further configured to: if the acquired fingerprint information matches the set fingerprint information, unlock.
本实施例中,作为另一可选实施例,解锁处理模块35还用于获取用户输入的指纹信息映射的应用程序类别跳转指令,在解锁后,依据获取的应用程序类别跳转指令跳转至相应的应用程序类别界面。In this embodiment, as another optional embodiment, 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.
本实施例中,如果应用程序类别界面仅包含一应用程序,跳转至启动的应用程序界面。如果应用程序类别界面包含多个应用程序,跳转至包含有多个应用程序图标的应用程序类别界面。In this embodiment, if 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.
本实施例中,作为一可选实施例,解锁处理模块35包括:指纹信息匹配单元、跳转单元以及解锁单元(图中未示出),其中,In this embodiment, as an optional embodiment, 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.
本实施例的装置,可以用于执行图1和图2所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。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.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不
排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply such entities or operations. There is any such actual relationship or order between them. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. In the absence of more restrictions, the elements defined by the statement "including one..." are not
There are additional identical elements that are excluded from the process, method, article, or device that includes the described elements.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。The various embodiments in the present specification are described in a related manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer readable medium, Used in conjunction with, or in conjunction with, an instruction execution system, apparatus, or device (eg, a computer-based system, a system including a processor, or other system that can fetch instructions and execute instructions from an instruction execution system, apparatus, or device) Or use with equipment. For the purposes of this specification, 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. More specific examples (non-exhaustive list) of 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). In addition, 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.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。It should be understood that portions of the invention may be implemented in hardware, software, firmware or a combination thereof.
在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。In the above-described embodiments, multiple steps or methods may be implemented in software or firmware stored in a memory and executed by 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.
图4为本发明电子设备一个实施例的结构示意图,可以实现本发明图1-3所示实施例的流程,如图4所示,上述电子设备可以包括:壳体41、处理器42、存储器43、电路板44和电源电路45,其中,电路板44安置在壳体41围成的空间内部,处理器42和存储器43设置在电路板44上;电源电路45,用于为上述电子设备的各个电路或器件供电;存储器43用于存储可执行程序代码;处理器42通过读取存储器43中存储的可执行程序代码来运行与可执行程序代码对应的程序,用于执行前述任一实施例所述的设置锁屏密码的方法。4 is a schematic structural diagram of an embodiment of an electronic device according to the present invention, which can implement the process of the embodiment shown in FIG. 1-3 of the present invention. As shown in FIG. 4, 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.
处理器42对上述步骤的具体执行过程以及处理器42通过运行可执行程序代码来进一
步执行的步骤,可以参见本发明图1-3所示实施例的描述,在此不再赘述。The processor 42 performs the specific execution process of the above steps and the processor 42 proceeds by running the executable program code.
For the 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:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。(1) 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.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。(2) 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.
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。(3) 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.
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。(4) Server: A device that provides computing services. 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.
(5)其他具有数据交互功能的电子设备。(5) Other electronic devices with data interaction functions.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art can understand that all or part of the steps carried by the method of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, one or a combination of the steps of the method embodiments is included.
为了描述的方便,描述以上装置是以功能分为各种单元/模块分别描述。当然,在实施本发明时可以把各单元/模块的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, the above devices are described as being separately divided into various units/modules. Of course, the functions of the various units/modules may be implemented in one or more software and/or hardware in the practice of the invention.
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本As can be seen from the description of the above embodiments, those skilled in the art can clearly understand this.
发明可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例或者实施例的某些部分所述的方法。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.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。
The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. All should be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims (15)
- 一种设置锁屏密码的方法,其特征在于,包括:A method for setting a lock screen password, comprising:检查电子设备是否具有对外开放的指纹接口;Check whether the electronic device has a fingerprint interface that is open to the outside;如果有,设置指纹信息以及用户密码;If yes, set the fingerprint information and the user password;获取系统锁属性;Get the system lock attribute;查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到获取的系统锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理系统锁。Query the mapping relationship between the preset system lock attribute and the mask processing policy, obtain the mask processing strategy of the obtained system lock attribute mapping, and process the system lock according to the obtained mask processing strategy.
- 根据权利要求1所述的设置锁屏密码的方法,其特征在于,所述方法还包括:The method of setting a lock screen password according to claim 1, wherein the method further comprises:在锁屏状态下,获取用户输入的指纹信息,如果获取的指纹信息与设置的指纹信息不相匹配,记录用户输入指纹信息的次数;In the lock screen state, the fingerprint information input by the user is obtained, and if the acquired fingerprint information does not match the set fingerprint information, the number of times the user inputs the fingerprint information is recorded;如果记录的次数达到预先设置的次数阈值,跳转至滑动解锁界面;If the number of records reaches the preset number of times threshold, jump to the sliding unlock interface;接收用户依据所述滑动解锁界面呈现的数字和图案输入的用户密码,如果所述输入的用户密码与设置的用户密码相匹配,解锁。Receiving a user password input by the user according to the number and pattern presented by the sliding unlocking interface, and if the input user password matches the set user password, unlocking.
- 根据权利要求1或2所述的设置锁屏密码的方法,其特征在于,所述方法还包括:The method of setting a lock screen password according to claim 1 or 2, wherein the method further comprises:如果获取的指纹信息与设置的指纹信息相匹配,解锁。If the obtained fingerprint information matches the set fingerprint information, unlock it.
- 根据权利要求1至3任一项所述的设置锁屏密码的方法,其特征在于,所述查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到获取的系统锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理系统锁包括:The method for setting a lock screen password according to any one of claims 1 to 3, wherein the querying a mapping relationship between a preset system lock attribute and a mask processing policy, and obtaining a masked processing of the acquired system lock attribute map. The strategy to handle system locks according to the resulting masking policy includes:如果获取的系统锁属性为可关闭,查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到的屏蔽处理策略为关闭系统锁,将所述系统锁属性设置为关闭。If the obtained system lock attribute is closable, 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.
- 根据权利要求1至4任一项所述的设置锁屏密码的方法,其特征在于,所述将所述系统锁属性设置为关闭包括:The method for setting a lock screen password according to any one of claims 1 to 4, wherein the setting the system lock attribute to off comprises:获取电子设备的设置控件,进入所述设置控件对应的设置界面;Obtaining a setting control of the electronic device, and entering a setting interface corresponding to the setting control;在所述设置界面中,获取全部设置控件,进入所述全部设置控件对应的控件设置界面;In the setting interface, acquiring all the setting controls, and entering the control setting interface corresponding to all the setting controls;在所述控件设置界面中,获取系统锁属性对应的属性设置控件,进入所述属性设置控件对应的属性设置界面;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;将所述属性设置界面中的系统锁选项设置为关闭。Set the system lock option in the property settings interface to off.
- 根据权利要求1至3任一项所述的设置锁屏密码的方法,其特征在于,所述查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到获取的系统锁属性映射的 屏蔽处理策略,按照得到的屏蔽处理策略处理系统锁包括:The method for setting a lock screen password according to any one of claims 1 to 3, wherein the querying a mapping relationship between a preset system lock attribute and a mask processing policy, and obtaining the acquired system lock attribute map The processing strategy is to process the system lock according to the obtained masking processing policy, including:如果获取的系统锁属性为禁止关闭,查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到的屏蔽处理策略为设置所述第三方锁屏应用程序的悬浮窗权限级别高于所述系统锁悬浮窗权限级别,设置所述第三方锁屏应用程序的悬浮窗权限级别高于所述系统锁对应的系统锁悬浮窗权限级别。If the acquired system lock attribute is forbidden to be closed, the mapping relationship between the preset system lock attribute and the mask processing policy is queried, and the obtained mask processing strategy is to set the floating window permission level of the third-party lock screen application to be higher than the system. The floating window permission level is set, and the floating window permission level of the third-party lock screen application is set to be higher than the system lock floating window permission level corresponding to the system lock.
- 一种设置锁屏密码的装置,其特征在于,包括:指纹接口查询模块、安全设置模块、属性获取模块以及属性处理模块,其中,An apparatus for setting a lock screen password, comprising: a fingerprint interface query module, a security setting module, an attribute obtaining module, and an attribute processing module, wherein指纹接口查询模块,用于检查电子设备是否具有对外开放的指纹接口;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.
- 根据权利要求7所述的设置锁屏密码的装置,其特征在于,所述装置还包括:The device for setting a lock screen password according to claim 7, wherein the device further comprises:解锁处理模块,用于在锁屏状态下,获取用户输入的指纹信息,如果获取的指纹信息与设置的指纹信息不相匹配,记录用户输入指纹信息的次数;如果记录的次数达到预先设置的次数阈值,跳转至滑动解锁界面;接收用户依据所述滑动解锁界面呈现的数字和图案输入的用户密码,如果所述输入的用户密码与设置的用户密码相匹配,解锁。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.
- 根据权利要求7或8所述的设置锁屏密码的装置,其特征在于,所述解锁处理模块还用于如果获取的指纹信息与设置的指纹信息相匹配,解锁。The apparatus for setting a lock screen password according to claim 7 or 8, wherein the unlock processing module is further configured to unlock if the acquired fingerprint information matches the set fingerprint information.
- 根据权利要求7至9任一项所述的设置锁屏密码的装置,其特征在于,所述属性处理模块包括:系统锁第一属性获取单元、第一查询单元以及属性关闭单元,其中,The apparatus for setting a lock screen password according to any one of claims 7 to 9, wherein the attribute processing module comprises: a system lock first attribute acquisition unit, a first query unit, and an attribute close unit, 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.
- 根据权利要求7至10任一项所述的设置锁屏密码的装置,其特征在于,所述属性关闭单元包括:设置界面子单元、控件设置界面子单元、属性设置界面子单元以及属性关闭子单元,其中,The device for setting a lock screen password according to any one of claims 7 to 10, wherein the attribute closing unit comprises: a setting interface subunit, a control setting interface subunit, an attribute setting interface subunit, and an attribute closing subroutine Unit, where设置界面子单元,用于获取电子设备的设置控件,进入所述设置控件对应的设置界面; Setting an interface sub-unit for acquiring a setting control of the electronic device, and entering a setting interface corresponding to the setting control;控件设置界面子单元,用于在所述设置界面中,获取全部设置控件,进入所述全部设置控件对应的控件设置界面;a 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.
- 根据权利要求7至9任一项所述的设置锁屏密码的装置,其特征在于,所述属性处理模块包括:系统锁第二属性获取单元、第二查询单元以及权限设置单元,其中,The apparatus for setting a lock screen password according to any one of claims 7 to 9, wherein the attribute processing module comprises: a system lock second attribute acquisition unit, a second query unit, and a rights 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. Permission 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.
- 一种电子设备,其特征在于,所述电子设备包括:壳体、处理器、存储器、电路板和电源电路,其中,电路板安置在壳体围成的空间内部,处理器和存储器设置在电路板上;电源电路,用于为上述电子设备的各个电路或器件供电;存储器用于存储可执行程序代码;处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,用于执行前述任一权利要求1-6所述的设置锁屏密码的方法。An electronic device, comprising: a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is disposed inside a space enclosed by the housing, and the processor and the memory are disposed in the circuit a power supply circuit for supplying power to each circuit or device of the electronic device; a memory for storing executable program code; and a processor for operating the executable program code by reading executable program code stored in the memory A program for performing the method of setting a lock screen password according to any of the preceding claims 1-6.
- 一种设备,其特征在于,包括:An apparatus, comprising:一个或者多个处理器;One or more processors;存储器;Memory一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时,执行以下步骤:One or more programs, the one or more programs being stored in the memory, and when executed by the one or more processors, performing the following steps:检查电子设备是否具有对外开放的指纹接口;Check whether the electronic device has a fingerprint interface that is open to the outside;如果有,设置指纹信息以及用户密码;If yes, set the fingerprint information and the user password;获取系统锁属性;Get the system lock attribute;查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到获取的系统锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理系统锁。Query the mapping relationship between the preset system lock attribute and the mask processing policy, obtain the mask processing strategy of the obtained system lock attribute mapping, and process the system lock according to the obtained mask processing strategy.
- 一种非易失性计算机存储介质,其特征在于,所述计算机存储介质存储有一个或者多个程序,当所述一个或者多个程序被一个设备执行时,使得所述设备执行以 下步骤:A non-volatile computer storage medium, characterized in that the computer storage medium stores one or more programs, when the one or more programs are executed by one device, causing the device to execute Next steps:检查电子设备是否具有对外开放的指纹接口;Check whether the electronic device has a fingerprint interface that is open to the outside;如果有,设置指纹信息以及用户密码;If yes, set the fingerprint information and the user password;获取系统锁属性;Get the system lock attribute;查询预先设置的系统锁属性与屏蔽处理策略的映射关系,得到获取的系统锁属性映射的屏蔽处理策略,按照得到的屏蔽处理策略处理系统锁。 Query the mapping relationship between the preset system lock attribute and the mask processing policy, obtain the mask processing strategy of the obtained system lock attribute mapping, and process the system lock according to the obtained mask processing strategy.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610486379.0 | 2016-06-28 | ||
CN201610486379.0A CN106203028B (en) | 2016-06-28 | 2016-06-28 | Method and device for setting screen locking password and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018000768A1 true WO2018000768A1 (en) | 2018-01-04 |
Family
ID=57462413
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/111048 WO2018000768A1 (en) | 2016-06-28 | 2016-12-20 | Method and apparatus for setting screen-lock password, and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106203028B (en) |
WO (1) | WO2018000768A1 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106203028B (en) * | 2016-06-28 | 2019-08-06 | 北京金山安全软件有限公司 | Method and device for setting screen locking password and electronic equipment |
CN106599661A (en) * | 2016-12-09 | 2017-04-26 | 广东三源智明科技有限公司 | Identity authentication method and system based on biological recognition |
CN106709729A (en) * | 2016-12-30 | 2017-05-24 | 维沃移动通信有限公司 | Payment method and mobile terminal |
CN106778143A (en) * | 2017-01-17 | 2017-05-31 | 广东欧珀移动通信有限公司 | Mobile terminal unlocking method, device and mobile terminal |
CN109819114B (en) * | 2019-02-20 | 2021-11-30 | 北京市商汤科技开发有限公司 | Screen locking processing method and device, electronic equipment and storage medium |
CN113761511B (en) * | 2020-11-17 | 2025-02-21 | 北京沃东天骏信息技术有限公司 | A lock screen management method and device |
Citations (7)
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 (en) * | 2014-02-14 | 2014-04-23 | 贝壳网际(北京)安全技术有限公司 | Method and device for skipping system screen locking |
CN104392157A (en) * | 2014-11-18 | 2015-03-04 | 深圳市腾讯计算机系统有限公司 | Method and device for locking screen by using passwords |
CN105117138A (en) * | 2015-09-28 | 2015-12-02 | 北京金山安全软件有限公司 | Method and device for shielding screen locking of operating system and mobile terminal |
CN105574383A (en) * | 2015-04-17 | 2016-05-11 | 宇龙计算机通信科技(深圳)有限公司 | Terminal system management method and device |
CN105677154A (en) * | 2015-09-30 | 2016-06-15 | 北京清川科技有限公司 | System and method for controlling other intelligent devices on basis of mobile phone screen locking |
CN106203028A (en) * | 2016-06-28 | 2016-12-07 | 北京金山安全软件有限公司 | Method and device for setting screen locking password and electronic equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102096546A (en) * | 2010-12-29 | 2011-06-15 | 华为终端有限公司 | Unlocking method and device of operating system |
KR101560448B1 (en) * | 2013-07-24 | 2015-10-16 | 한국과학기술원 | Method for invoking application in Screen Lock environment |
CN105389503B (en) * | 2014-08-18 | 2019-06-25 | 北京壹人壹本信息科技有限公司 | A kind of screen locking guard method, system and mobile terminal |
CN105592230B (en) * | 2016-02-24 | 2019-08-02 | Oppo广东移动通信有限公司 | A kind of mobile terminal is stolen protective device, mobile terminal and stolen guard method |
-
2016
- 2016-06-28 CN CN201610486379.0A patent/CN106203028B/en not_active Expired - Fee Related
- 2016-12-20 WO PCT/CN2016/111048 patent/WO2018000768A1/en active Application Filing
Patent Citations (7)
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 (en) * | 2014-02-14 | 2014-04-23 | 贝壳网际(北京)安全技术有限公司 | Method and device for skipping system screen locking |
CN104392157A (en) * | 2014-11-18 | 2015-03-04 | 深圳市腾讯计算机系统有限公司 | Method and device for locking screen by using passwords |
CN105574383A (en) * | 2015-04-17 | 2016-05-11 | 宇龙计算机通信科技(深圳)有限公司 | Terminal system management method and device |
CN105117138A (en) * | 2015-09-28 | 2015-12-02 | 北京金山安全软件有限公司 | Method and device for shielding screen locking of operating system and mobile terminal |
CN105677154A (en) * | 2015-09-30 | 2016-06-15 | 北京清川科技有限公司 | System and method for controlling other intelligent devices on basis of mobile phone screen locking |
CN106203028A (en) * | 2016-06-28 | 2016-12-07 | 北京金山安全软件有限公司 | Method and device for setting screen locking password and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106203028A (en) | 2016-12-07 |
CN106203028B (en) | 2019-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018000768A1 (en) | Method and apparatus for setting screen-lock password, and electronic device | |
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 | |
US11765152B2 (en) | Related asset access based on proven primary asset access | |
US8024770B2 (en) | Techniques for managing security contexts | |
US20140344896A1 (en) | Method and apparatus for using electronic device | |
US20180300466A1 (en) | Method and appapratus for controlling electronic device, and electrode device | |
US9626491B2 (en) | Enabling enforcement of licensing terms in distributing content in containers by including a key in the container containing the pertinent licensing terms | |
US10528749B2 (en) | Methods and apparatus for containerized secure computing resources | |
KR20150038453A (en) | Pluggable authentication mechanism for mobile device applications | |
CN107622203A (en) | Sensitive information protection method, device, storage medium and electronic equipment | |
AU2017217235B2 (en) | Systems and methods for securing an entity-relationship system | |
US11477179B2 (en) | Searching content associated with multiple applications | |
US20140310772A1 (en) | Location-based Functionality Restrictions | |
WO2023056727A1 (en) | Access control method and apparatus, and device and readable storage medium | |
US10491635B2 (en) | Access policies based on HDFS extended attributes | |
US9268782B2 (en) | Re-use of binaries for multiple user accounts | |
US20160087989A1 (en) | Assignment of Security Contexts to Define Access Permissions for File System Objects | |
US10417402B2 (en) | Supplemental hand gesture authentication | |
US20150248550A1 (en) | Increasing access security with time since last access | |
US10387681B2 (en) | Methods and apparatus for controlling access to secure computing resources | |
US8447118B2 (en) | Method of cipher and picture cipher system | |
CN104715175A (en) | Computer system safety protection method and device |
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 |