WO2017185667A1 - 控制指纹传感器的方法、装置及电子设备 - Google Patents
控制指纹传感器的方法、装置及电子设备 Download PDFInfo
- Publication number
- WO2017185667A1 WO2017185667A1 PCT/CN2016/102364 CN2016102364W WO2017185667A1 WO 2017185667 A1 WO2017185667 A1 WO 2017185667A1 CN 2016102364 W CN2016102364 W CN 2016102364W WO 2017185667 A1 WO2017185667 A1 WO 2017185667A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- fingerprint
- application
- fingerprint sensor
- mode
- security
- Prior art date
Links
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
Definitions
- the present invention relates to the field of fingerprints, and more particularly to a method, device and electronic device for controlling a fingerprint sensor.
- the general mobile phone will be equipped with a fingerprint recognition function, and it is required to input each fingerprint feature value to use this function, and the fingerprint function application scene is more and more extensive.
- a method of controlling a fingerprint sensor comprising:
- the application that currently calls the fingerprint sensor is a security application, setting a current mode of the electronic device to a security mode, and controlling a fingerprint sensor to run a fingerprint image collection function in a security environment corresponding to the security mode;
- the current mode of the backup is a non-secure mode, and the fingerprint sensor is controlled to operate the fingerprint sensing function in a normal environment corresponding to the non-secure mode.
- the security application includes at least one of payment, login, unlocking, and booting.
- the method further includes:
- the fingerprint sensing function includes touch information of the sensing fingerprint.
- an apparatus for controlling a fingerprint sensor comprising:
- a judging module configured to determine whether the application that currently calls the fingerprint sensor is a security application or a non-secure application
- a first setting module configured to set a current mode of the electronic device to a safe mode if the application that currently calls the fingerprint sensor is a security application;
- a first control module configured to: in a case where the current mode is a security mode, and control a fingerprint sensor to perform a fingerprint image collection function in a security environment corresponding to the security mode;
- a second setting module configured to set a current mode of the electronic device to a non-secure mode if the current application of the fingerprint sensor is a non-secure application
- the second control module is configured to control the fingerprint sensor to run the fingerprint sensing function in a normal environment corresponding to the non-secure mode.
- the security application includes at least one of payment, login, unlocking, and booting.
- the device further includes:
- An extraction module configured to extract fingerprint features in the fingerprint image
- the comparison module is configured to compare the fingerprint feature with a reference fingerprint feature in a database.
- the fingerprint sensing function includes detecting an area where the fingerprint touches the fingerprint sensor.
- an electronic device comprising:
- a fingerprint sensor for collecting fingerprint images and sensing fingerprint touches
- At least one processor and,
- the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
- the application that currently calls the fingerprint sensor is a security application, setting a current mode of the electronic device to a security mode, and controlling a fingerprint sensor to run a fingerprint image collection function in a security environment corresponding to the security mode;
- the application that currently calls the fingerprint sensor is a non-secure application, setting the current mode of the electronic device to a non-secure mode, and controlling the fingerprint sensor to run the fingerprint sensing function in a normal environment corresponding to the non-secure mode.
- a non-transitory computer readable storage medium storing computer instructions for causing said computer to perform control of a fingerprint sensor method.
- a computer program product comprising a computer program stored on a non-transitory computer readable medium, the computer program comprising program instructions, when the program instructions are When the computer is executed, the computer is caused to perform the above method of controlling the fingerprint sensor.
- the inventors of the present invention found that in the prior art, there is a problem that the fingerprint sensor can only be called in a secure environment. Therefore, the technical task to be achieved by the present invention or the technical problem to be solved is not thought of or expected by those skilled in the art, so the present invention is a new technical solution.
- the invention has the beneficial effects of distinguishing whether the application of the fingerprint sensor is currently a secure application to distinguish whether fingerprint image collection is required.
- the convenience of the fingerprint sensor can be utilized, and more functions can be expanded in addition to the fingerprint verification, and the user fingerprint image does not need to be collected, and any fingerprint can be used to implement these extended functions, and the user fingerprint image is protected from being randomly collected. Enhance the privacy protection of user fingerprint images.
- FIG. 1 is a flow diagram of one embodiment of a method of distinguishing a current mode into a secure mode and a non-secure mode in accordance with the present invention
- FIG. 2 is a flow chart of one embodiment of a method of switching a current mode of an electronic device in accordance with the present invention
- FIG. 3 is a flow diagram of one embodiment of controlling a fingerprint sensor to implement a direction key function in a non-secure mode in accordance with the present invention
- FIG. 4 is a flow chart showing an embodiment of controlling a fingerprint sensor to implement a home key function in a non-secure mode according to the present invention
- Figure 5 is a block schematic diagram of an embodiment of an apparatus for controlling a fingerprint sensor in accordance with the present invention.
- FIG. 6 is a schematic diagram showing the hardware structure of an electronic device performing a method of controlling a fingerprint sensor according to the present invention.
- FIG. 1 is a flow diagram of one embodiment of a method of the present invention for distinguishing a current mode from a secure mode and a non-secure mode.
- step S110 it is determined whether the application currently calling the fingerprint sensor is a secure application or a non-secure application. If the application is a security application, step S121 is performed; if the application is a non-secure application, step S122 is performed.
- the working principle of the fingerprint sensor is: when the protruding portion of the fingerprint is placed on the sensing capacitor pixel electrode, the capacitance is increased, and the data is collected by detecting the increased capacitance. In this way, the fingerprint sensor can capture the fingerprint image, and at the same time, it can also sense the touch of the fingerprint.
- the security application needs to collect fingerprint images, at least one of payment, login, unlocking, and booting; the non-secure application needs to invoke the sensing function of the fingerprint sensor, but does not need to collect fingerprint images.
- Step S121 setting the current mode of the electronic device to the security mode.
- Step S131 controlling the fingerprint sensor to run the fingerprint image collection function in a safe environment.
- the method further includes: extracting a fingerprint feature included in the fingerprint image, and comparing the fingerprint feature with a reference fingerprint feature in the database.
- Step S122 setting the current mode of the electronic device to the non-secure mode.
- the fingerprint sensor is controlled to operate the fingerprint sensing function in a normal environment, wherein the fingerprint sensing function includes touch information of the sensing fingerprint, and specifically may be an area, a position or a time when the fingerprint touches the fingerprint sensor.
- the current mode of the electronic device is divided into a safe mode and a non-secure mode. If the security mode is invoked in the secure mode to support the security application, and the fingerprint sensor is controlled to run the fingerprint collection. Function; if in non-secure mode, support non-secure applications in normal environment, and control fingerprint sensor to run fingerprint sensing function. In this way, the user fingerprint image can be prevented from being randomly collected, and the privacy protection of the user fingerprint image is enhanced.
- the fingerprint sensor when the current mode is the non-secure mode, the fingerprint sensor is controlled to operate the fingerprint sensing function in a normal environment, and the fingerprint image of the user is not required to be collected, and the current application implementation can be controlled according to the fingerprint touch information sensed by the fingerprint sensor.
- the security mode and the non-security mode can be switched, as shown in FIG. 2 .
- step S201 the current mode of the unlocked electronic device is set to the non-secure mode.
- the electronic device that completes the unlocking action is set to the non-secure mode by default.
- Step S202 detecting whether a fingerprint verification instruction is received.
- Step S203 switching the current mode from the non-secure mode to the secure mode.
- the fingerprint sensor running fingerprint image acquisition function will be controlled in a safe environment.
- Step S204 performing fingerprint verification in a secure environment. If the verification is successful, step S201 is performed.
- the fingerprint verification specifically includes: controlling the fingerprint sensor to collect the current fingerprint image of the user, extracting the fingerprint feature included in the current fingerprint image, and comparing the fingerprint feature with the reference fingerprint feature in the database.
- the present invention also needs to first perform database entry, that is, first collect the fingerprint image of the user, extract the fingerprint feature as the reference fingerprint feature, and save the reference fingerprint feature in the database, and the user who stores the fingerprint feature in the database is
- database entry that is, first collect the fingerprint image of the user, extract the fingerprint feature as the reference fingerprint feature, and save the reference fingerprint feature in the database, and the user who stores the fingerprint feature in the database is
- all functional applications are open to security users. If they are not secure users, they cannot be used for applications that require high-security fingerprint authentication.
- the electronic device is set.
- the current mode is the security mode, and the fingerprint sensor is controlled to collect the fingerprint image, pre-process the captured fingerprint image, extract the features required for fingerprint verification, and then compare it with the reference fingerprint pre-stored in the database. The comparison is performed. If the comparison is successful, the current user is a secure user for the current application, and the current mode can be switched to the non-secure mode.
- the fingerprint recognition feature extraction function is expanded, and the fingerprint sensor can be well utilized to implement more functions, and at the same time, the unique function of the user identification is ensured.
- the function of the direction key can be implemented by the fingerprint sensor in the non-secure mode, and the specific steps can be as shown in FIG. 3 .
- Step S301 setting the current mode of the unlocked electronic device to the non-secure mode.
- Step S302 If the current application is an application including a direction key indication, detecting an area where the fingerprint touches the sensing portion of the fingerprint sensor.
- the application including the direction key indication includes at least a browser or an e-book.
- Step S303 detecting a lateral direction of the area on the sensing portion of the sensor.
- Step S304 issuing an instruction corresponding to the direction key function according to the direction of the focus.
- the direction key includes an up direction key, a down direction key, a left direction key, and a right direction key.
- a display button may be displayed on the display interface of the electronic device.
- the fingerprint sensor detects that the fingerprint touches the sensing portion, the fingerprint sensor is controlled to detect the area touched by the fingerprint according to the change in capacitance.
- the direction of the touch area on the sensing portion is detected, and an instruction corresponding to the direction key function is issued according to the direction of the focus. For example, if the touch area is set to be on the upper side of the sensing portion, the command corresponding to the up direction key function is issued; when the touch area is focused on the lower side of the sensing portion, the function corresponding to the down direction key is issued.
- the command corresponding to the left direction key function is issued; when the touch area is focused on the right side of the sensing part, the command corresponding to the right direction key function is issued.
- the existing fingerprint sensor can be conveniently used to implement the function of the direction key, which saves the space of the direction key, and at the same time, in the non-safe mode, no fingerprint verification or arbitrary fingerprint is required.
- the touch can achieve the function of the direction key, which is more convenient and simple.
- the function of the start key can be implemented by the fingerprint sensor in the non-secure mode, which is usually started in the art.
- the key is called the home key, and the specific steps can be as shown in Figure 4.
- step S401 the current mode of the unlocked electronic device is set to the non-secure mode.
- Step S402 detecting an area where the fingerprint touches the sensing portion of the fingerprint sensor in a normal environment.
- step S403 if the touch area exceeds the set area, an instruction corresponding to the home key function is issued.
- the instruction corresponding to the home key function at least includes returning to the main interface.
- the set area may be, but not limited to, 60% of the total area of the sensing portion.
- the set area may be, but not limited to, 60% of the total area of the sensing portion.
- the instruction corresponding to the function of double-clicking the home button is issued, for example, the task manager can be opened, and the one-hand operation is switched. mode.
- the instruction corresponding to the long press of the home key function is issued, for example, it may be a voice control function.
- FIG. 5 is a block schematic diagram showing an embodiment of an apparatus for controlling a fingerprint sensor of the present invention.
- the device 500 for controlling the fingerprint sensor comprises: a determining module 501, a first setting module 502, a first control module 503, a second setting module 504 and a second control module 505.
- the determining module 501 is configured to determine whether the application that currently calls the fingerprint sensor is a security application or a non-secure application; the first setting module 502 is configured to set the current mode of the electronic device to a security mode if the application that currently invokes the fingerprint sensor is a security application.
- the first control module 503 is configured to control the fingerprint sensor in a safe environment corresponding to the security mode in a case where the current mode is the security mode.
- the second setting module 504 is configured to set the current mode of the electronic device to a non-secure mode if the application that currently calls the fingerprint sensor is a non-secure application, and the second control module 505 is configured to use the current mode as non-secure. In the case of the mode, the fingerprint sensor is controlled to operate the fingerprint sensing function in a normal environment corresponding to the non-secure mode.
- the security application includes at least one of payment, login, unlocking, and booting; and the fingerprint sensing function includes touch information of the sensing fingerprint.
- the apparatus further includes an extraction module and a comparison module.
- the extraction module is configured to extract fingerprint features in the fingerprint image;
- the comparison module is configured to compare the fingerprint features with reference fingerprint features in the database.
- the present invention also provides an electronic device, in one aspect, the electronic device comprising the aforementioned device 500 for controlling a fingerprint sensor.
- the present application also provides a non-volatile computer storage medium storing computer-executable instructions that can perform the method of controlling a fingerprint sensor in any of the above-described embodiments.
- FIG. 6 is a schematic diagram showing the hardware structure of an electronic device performing a method of controlling a fingerprint sensor according to the present invention.
- the device includes:
- processors 610 and memory 620 one processor 610 is taken as an example in FIG.
- the device may also include an input device 630 and an output device 640.
- the processor 610, the memory 620, the input device 630, and the output device 640 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
- the memory 620 is a non-volatile computer readable storage medium that can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to any of the methods described herein ( For example, the determination module 501, the first setting module 502, the first control module 503, the second setting module 504, and the second control module 505) shown in FIG.
- the processor 610 operates from non-volatile software programs, instructions, and modules stored in the memory 620. The above methods are implemented by executing various functional applications of the server and data processing.
- the memory 620 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage, and the like.
- memory 620 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
- memory 620 can optionally include memory remotely located relative to processor 610, which can be connected to the processing device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- Input device 630 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the processing device.
- the output device 640 can include a display device such as a display screen.
- the one or more modules are stored in the memory 620, and when executed by the one or more processors 610, perform the processing methods described in any of the method embodiments above.
- the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
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)
- Image Input (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
一种控制指纹传感器的方法、装置及电子设备,该方法包括:判断当前调用指纹传感器的应用是安全应用还是非安全应用(S110);如果该应用是安全应用,则设定电子设备的当前模式为安全模式(S121),并在对应安全模式的安全环境下控制指纹传感器运行指纹图像采集功能(S131);如果该应用是非安全应用,则设定电子设备的当前模式为非安全模式(S122),并在对应非安全模式的正常环境下控制指纹传感器运行指纹感应功能(S132)。
Description
相关申请的交叉参考
本申请要求于2016年4月27日提交中国专利局、申请号为201610270605.1、发明名称为“一种控制指纹传感器的方法、装置及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本发明涉及指纹领域,更具体地,涉及一种控制指纹传感器的方法、装置及电子设备。
在目前的智能手机上,一般手机都会设置有指纹识别的功能,并要求录入每个指纹特征值才可以使用这个功能,指纹功能应用场景也越来越广泛。
现有调用指纹传感器的应用都是在安全环境下运行的,但是,有些应用不需要进行指纹特征值识别,只调用指纹传感器的感应功能,这些应用在安全环境下运行时也会采集指纹图像,使得用户的指纹容易出现泄露。
发明内容
本发明的一个目的是提供一种控制指纹传感器是否采集指纹图像的新技术方案。
根据本发明的第一方面,提供了一种控制指纹传感器的方法,其特征在于,包括:
判断当前调用指纹传感器的应用是安全应用还是非安全应用;
如果所述当前调用指纹传感器的应用是安全应用,则设定电子设备的当前模式为安全模式,并在对应所述安全模式的安全环境下控制指纹传感器运行指纹图像采集功能;
如果所述当前调用指纹传感器的应用是非安全应用,则设定所述电子设
备的当前模式为非安全模式,并在对应所述非安全模式的正常环境下控制指纹传感器运行指纹感应功能。
可选的,所述安全应用至少包括支付、登录、解锁和开机中一种。
可选的,所述在对应所述安全模式的安全环境下控制指纹传感器运行指纹采集功能之后还包括:
提取所述指纹图像中包含的指纹特征,将所述指纹特征与数据库中的参考指纹特征进行比对。
可选的,所述指纹感应功能包括感应指纹的触碰信息。
根据本发明的第二方面,提供了一种控制指纹传感器的装置,包括:
判断模块,用于判断当前调用指纹传感器的应用是安全应用还是非安全应用;
第一设定模块,用于如果所述当前调用指纹传感器的应用是安全应用,则设定电子设备的当前模式为安全模式;
第一控制模块,用于所述当前模式为安全模式的情况下,并在对应所述安全模式的安全环境中控制指纹传感器运行指纹图像采集功能;
第二设定模块,用于如果所述当前调用指纹传感器的应用是非安全应用,则设定所述电子设备的当前模式为非安全模式;
第二控制模块,用于所述当前模式为非安全模式的情况下,并在对应所述非安全模式的正常环境下控制指纹感应器运行指纹感应功能。
可选的,所述安全应用至少包括支付、登录、解锁和开机中一种。
可选的,所述装置还包括:
提取模块,用于提取所述指纹图像中的指纹特征;
比对模块,用于将所述指纹特征与数据库中的参考指纹特征进行比对。
可选的,所述指纹感应功能包括检测指纹触碰指纹传感器的面积。
根据本发明的第三方面,提供了一种电子设备,包括:
指纹传感器,用于采集指纹图像和感应指纹触碰;
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器,其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
判断当前调用指纹传感器的应用是安全应用还是非安全应用;
如果所述当前调用指纹传感器的应用是安全应用,则设定电子设备的当前模式为安全模式,并在对应所述安全模式的安全环境下控制指纹传感器运行指纹图像采集功能;
如果所述当前调用指纹传感器的应用是非安全应用,则设定所述电子设备的当前模式为非安全模式,并在对应所述非安全模式的正常环境下控制指纹传感器运行指纹感应功能。
根据本发明的第四方面,提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行控制指纹传感器的方法。
根据本发明的第五方面,提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述控制指纹传感器的方法。
本发明的发明人发现,在现有技术中,存在只能够在安全环境下调用指纹传感器的问题。因此,本发明所要实现的技术任务或者所要解决的技术问题是本领域技术人员从未想到的或者没有预期到的,故本发明是一种新的技术方案。
本发明的有益效果在于,通过判断当前调用指纹传感器的应用是否为安全应用,以区分是否需要进行指纹图像采集。这样,可以利用指纹传感器的方便性,在除了指纹验证外可以拓展更多功能,且不需要采集用户指纹图像,可以使用任意指纹来实现这些拓展的功能,同时保护了用户指纹图像不被随意采集,加强了用户指纹图像的隐私保护。
通过以下参照附图对本发明的示例性实施例的详细描述,本发明的其它
特征及其优点将会变得清楚。
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1是根据本发明将当前模式区分为安全模式和非安全模式的方法的一种实施方式的流程图;
图2是根据本发明切换电子设备当前模式的方法的一种实施方式的流程图;
图3是根据本发明在非安全模式下控制指纹传感器实现方向键功能的一种实施方式的流程图;
图4是根据本发明在非安全模式下控制指纹传感器实现home键功能的一种实施方式流程图;
图5是根据本发明控制指纹传感器的装置的一种实施结构的方框原理图;
图6是根据本发明提供的执行控制指纹传感器方法的电子设备的硬件结构示意图。
现在将参照附图来详细描述本发明的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本发明的范围。
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本发明及其应用或使用的任何限制。
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。
在这里示出和讨论的所有例子中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它例子可以具有不同的值。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。
图1是本发明将当前模式区分为安全模式和非安全模式的方法的一种实施方式的流程图。
步骤S110,判断当前调用指纹传感器的应用是安全应用还是非安全应用,如果该应用是安全应用,则执行步骤S121;如果该应用是非安全应用,则执行步骤S122。
目前指纹传感器的工作原理为:当指纹中突出部分置于传感电容像素电极上时,电容会有所增加,通过检测增加的电容来进行数据的采集。这样,指纹传感器可以采集指纹图像,同时,也可以感应指纹的触碰。
其中,上述安全应用需要采集指纹图像,至少包括支付、登录、解锁和开机中的一种;非安全应用需要调用指纹传感器的感应功能,但不需要采集指纹图像。
步骤S121,设定电子设备的当前模式为安全模式。
步骤S131,在安全环境下控制指纹传感器运行指纹图像采集功能。
进一步地,在安全环境下,采集指纹图像之后还包括:提取指纹图像中包含的指纹特征,将该指纹特征与数据库中的参考指纹特征进行比对。
步骤S122,设定电子设备的当前模式为非安全模式。
步骤S132,在正常环境下控制指纹传感器运行指纹感应功能,其中,指纹感应功能包括感应指纹的触碰信息,具体可以为指纹碰触指纹感应器的面积、位置或者时间。
为了在指纹服务中区分是否采集指纹图像,将电子设备的当前模式划分为安全模式和非安全模式,如果在安全模式下,调用电子设备的安全环境来支持安全应用,并控制指纹传感器运行指纹采集功能;如果在非安全模式下,则在正常环境下来支持非安全应用,并控制指纹传感器运行指纹感应功能。
这样,可以使得用户指纹图像不被随意采集,加强用户指纹图像隐私保护。
其中,当前模式为非安全模式的情况下,在正常环境下控制指纹传感器运行指纹感应功能,不需要采集用户的指纹图像,可以根据指纹感应器感应到的指纹触碰信息,控制当前应用实现除指纹识别外的功能,这样,利用指纹传感器的方便性,在除了指纹验证外可以拓展更多功能,且不需要采集用户指纹图像,使用任意指纹均能够实现这些功能。
在本发明的一个具体实施例中,安全模式和非安全模式之间可以切换,具体可以如图2所示。
步骤S201,将解锁的电子设备的当前模式设定为非安全模式。
这样,完成解锁动作的电子设备,当前模式默认设置为非安全模式。
步骤S202,检测是否接收到指纹验证指令。
其中,当前应用要执行安全性较高的功能时,例如可以是解锁、支付、登录、开机等功能,会下发指纹验证指令。
步骤S203,将当前模式由非安全模式切换至安全模式。
当前模式为安全模式的情况下,将会在安全环境下控制指纹传感器运行指纹图像采集功能。
步骤S204,在安全环境下进行指纹验证,如果验证成功,则执行步骤S201。
其中,指纹验证具体包括:控制指纹传感器采集用户的当前指纹图像,提取当前指纹图像中包含的指纹特征,将该指纹特征与数据库中的参考指纹特征进行比对。
进一步地,本发明还需要先进行数据库录入,即先采集用户的指纹图像,提取其中的指纹特征作为参考指纹特征,将参考指纹特征保存在数据库中,在数据库中保存有指纹特征的用户则为安全用户,所有功能应用均对安全用户开放,如果不是安全用户,对于需要先进行指纹验证方可实现的安全性较高的应用,则无法使用;如果接收到指纹验证指令,则设定电子设备的当前模式为安全模式,并控制指纹传感器采集指纹图像,对采集的指纹图像进行预处理,提取指纹验证所需要的特征,再将其与数据库中预存的参考指纹特
征进行比对,如果比对成功,则说明当前用户对于当前应用为安全用户,可以将当前模式切换至非安全模式。
这样,扩充了指纹识别特征提取功能,可以很好的利用指纹传感器实现更多功能,同时,也保证了用户识别唯一性功能。
在本发明的一个具体实施例中,在上述电子设备包括安全模式和非安全模式的基础上,可以在非安全模式下通过指纹传感器实现方向键的功能,具体步骤可以如图3所示。
步骤S301,将解锁后的电子设备的当前模式设定为非安全模式。
步骤S302,如果当前应用为包括方向键指示的应用,则检测指纹触碰指纹传感器感应部位的面积。其中,包括方向键指示的应用至少包括浏览器或者电子书。
步骤S303,检测该面积在传感器感应部位上的侧重方向。
步骤S304,根据侧重方向下发对应方向键功能的指令。其中,方向键包括上方向键、下方向键、左方向键、右方向键。
打开例如浏览器或者电子书的应用时,电子设备的显示界面上会有方向键的提示,当指纹传感器检测到指纹触碰感应部位时,就会控制指纹传感器根据电容变化检测指纹碰触的面积,检测该碰触面积在感应部位上的侧重方向,根据该侧重方向下发对应方向键功能的指令。例如可以但不局限于设定碰触面积侧重在感应部位的上侧时,下发对应上方向键功能的指令;碰触面积侧重在感应部位的下侧时,下发对应下方向键功能的指令;碰触面积侧重在感应部位的左侧时,下发对应左方向键功能的指令;碰触面积侧重在感应部位的右侧时,下发对应右方向键功能的指令。
也可以预先设定对应各个方向键的指纹指定动作,根据设定指纹的移动方向实现向对应方向移动的功能,例如可以设置当指纹在指纹传感器的感应部位完成向左移动的动作时,接收到指纹传感器感应到的该移动信息,控制当前应用实现向左移动的功能。
这样,可以很方便的利用现有的指纹传感器来实现方向键的功能,节省了方向键的空间,同时,在非安全模式下,不需要进行指纹验证,任意指纹
的碰触都可以实现方向键的功能,更加方便、简单。
在本发明的另一个具体实施例中,在上述电子设备包括安全模式和非安全模式的基础上,可以在非安全模式下通过指纹传感器实现起始键的功能,在本领域中通常将起始键称为home键,具体步骤可以如图4所示。
步骤S401,将解锁后的电子设备的当前模式设定为非安全模式。
步骤S402,在正常环境下检测任意指纹触碰指纹感应器感应部位的面积。
步骤S403,如果触碰面积超过设定面积,则下发对应home键功能的指令。其中,对应home键功能的指令至少包括返回主界面。
例如,设定面积可以为但不局限于感应部位总面积的60%,这样,当检测到指纹触碰指纹感应器的感应部位的面积超过感应部位总面积的60%时,下发对应home键功能的指令。
进一步地,如果在正常环境下检测到任意指纹连续两次触碰指纹传感器的面积均超过设定面积,则下发对应双击home键功能的指令,例如可以是打开任务管理器、切换单手操作模式。
如果在正常环境下,检测到任意指纹触碰指纹传感器的时间超过设定时间,例如可以是1s,则下发对应长按home键功能的指令,例如可以是语音控制功能。
这样,在实现home键功能的基础上,节省了home键的空间,同时,由于不需要指纹验证,所以在非安全模式下,任意指纹的碰触都可以实现home键的功能,更加方便、简单。
图5是本发明一种控制指纹传感器的装置的一种实施结构的方框原理图。控制指纹传感器的装置500包括:判断模块501、第一设定模块502、第一控制模块503、第二设定模块504和第二控制模块505。
判断模块501用于判断当前调用指纹传感器的应用是安全应用还是非安全应用;第一设定模块502用于如果当前调用指纹传感器的应用是安全应用,则设定电子设备的当前模式为安全模式;第一控制模块503用于当前模式为安全模式的情况下,并在对应安全模式的安全环境中控制指纹传感器运
行指纹图像采集功能;第二设定模块504用于如果当前调用指纹传感器的应用是非安全应用,则设定电子设备的当前模式为非安全模式;第二控制模块505用于当前模式为非安全模式的情况下,并在对应非安全模式的正常环境下控制指纹感应器运行指纹感应功能。
其中,安全应用至少包括支付、登录、解锁和开机中一种;所述指纹感应功能包括感应指纹的触碰信息。
进一步地,该装置还包括提取模块和比对模块。提取模块用于提取指纹图像中的指纹特征;比对模块用于将该指纹特征与数据库中的参考指纹特征进行比对。
本发明还提供了一种电子设备,在一方面,该电子设备包括前述的控制指纹传感器的装置500。
本申请还提供了一种非易失性计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任意方法实施例中的控制指纹传感器的方法。
图6是根据本发明提供的执行控制指纹传感器方法的电子设备的硬件结构示意图。
如图6所示,该设备包括:
指纹传感器;
一个或多个处理器610以及存储器620,图6中以一个处理器610为例。
该设备还可以包括:输入装置630和输出装置640。
处理器610、存储器620、输入装置630和输出装置640可以通过总线或者其他方式连接,图6中以通过总线连接为例。
存储器620作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请描述的任意方法对应的程序指令/模块(例如,附图5所示的判定模块501、第一设定模块502、第一控制模块503、第二设定模块504、第二控制模块505)。处理器610通过运行存储在存储器620中的非易失性软件程序、指令以及模块,从
而执行服务器的各种功能应用以及数据处理,即实现上述方法。
存储器620可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据使用所创建的数据等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器620可选包括相对于处理器610远程设置的存储器,这些远程存储器可以通过网络连接至处理装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入装置630可接收输入的数字或字符信息,以及产生与处理装置的用户设置以及功能控制有关的键信号输入。输出装置640可包括显示屏等显示设备。
所述一个或者多个模块存储在所述存储器620中,当被所述一个或者多个处理器610执行时,执行上述任意方法实施例中描述的处理方法。
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者
实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。
Claims (11)
- 一种控制指纹传感器的方法,应用于电子设备上,其特征在于,包括:判断当前调用指纹传感器的应用是安全应用还是非安全应用;如果所述当前调用指纹传感器的应用是安全应用,则设定电子设备的当前模式为安全模式,并在对应所述安全模式的安全环境下控制指纹传感器运行指纹图像采集功能;如果所述当前调用指纹传感器的应用是非安全应用,则设定所述电子设备的当前模式为非安全模式,并在对应所述非安全模式的正常环境下控制指纹传感器运行指纹感应功能。
- 根据权利要求1所述的方法,其特征在于,所述安全应用至少包括支付、登录、解锁和开机中一种。
- 根据权利要求1所述的方法,其特征在于,所述在对应所述安全模式的安全环境下控制指纹传感器运行指纹采集功能之后还包括:提取所述指纹图像中包含的指纹特征,将所述指纹特征与数据库中的参考指纹特征进行比对。
- 根据权利要求1所述的方法,其特征在于,所述指纹感应功能包括感应指纹的触碰信息。
- 一种控制指纹传感器的装置,其特征在于,包括:判断模块,用于判断当前调用指纹传感器的应用是安全应用还是非安全应用;第一设定模块,用于如果所述当前调用指纹传感器的应用是安全应用,则设定电子设备的当前模式为安全模式;第一控制模块,用于所述当前模式为安全模式的情况下,并在对应所述安全模式的安全环境中控制指纹传感器运行指纹图像采集功能;第二设定模块,用于如果所述当前调用指纹传感器的应用是非安全应用,则设定所述电子设备的当前模式为非安全模式;第二控制模块,用于所述当前模式为非安全模式的情况下,并在对应所述非安全模式的正常环境下控制指纹感应器运行指纹感应功能。
- 根据权利要求5所述的装置,其特征在于,所述安全应用至少包括支付、登录、解锁和开机中一种。
- 根据权利要求5所述的装置,其特征在于,所述装置还包括:提取模块,用于提取所述指纹图像中的指纹特征;比对模块,用于将所述指纹特征与数据库中的参考指纹特征进行比对。
- 根据权利要求5所述的装置,其特征在于,所述指纹感应功能包括感应指纹的触碰信息。
- 一种电子设备,其特征在于,包括:指纹传感器,用于采集指纹图像和感应指纹触碰;至少一个处理器;以及,与所述至少一个处理器通信连接的存储器,其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:判断当前调用指纹传感器的应用是安全应用还是非安全应用;如果所述当前调用指纹传感器的应用是安全应用,则设定电子设备的当前模式为安全模式,并在对应所述安全模式的安全环境下控制指纹传感器运行指纹图像采集功能;如果所述当前调用指纹传感器的应用是非安全应用,则设定所述电子设备的当前模式为非安全模式,并在对应所述非安全模式的正常环境下控制指纹传感器运行指纹感应功能。
- 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行权利要求1-4任一项所述的方法。
- 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指 令被计算机执行时,使所述计算机执行权利要求1-4任一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610270605.1A CN105956439A (zh) | 2016-04-27 | 2016-04-27 | 一种控制指纹传感器的方法、装置及电子设备 |
CN201610270605.1 | 2016-04-27 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017185667A1 true WO2017185667A1 (zh) | 2017-11-02 |
Family
ID=56915476
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/102364 WO2017185667A1 (zh) | 2016-04-27 | 2016-10-18 | 控制指纹传感器的方法、装置及电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105956439A (zh) |
WO (1) | WO2017185667A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111930218A (zh) * | 2020-07-27 | 2020-11-13 | 深圳市千分一智能技术有限公司 | 蓝牙指纹功耗控制方法、蓝牙指纹设备及存储介质 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105956439A (zh) * | 2016-04-27 | 2016-09-21 | 乐视控股(北京)有限公司 | 一种控制指纹传感器的方法、装置及电子设备 |
CN105956540A (zh) * | 2016-04-27 | 2016-09-21 | 乐视控股(北京)有限公司 | 一种控制指纹传感器的方法、装置及电子设备 |
CN105825208A (zh) * | 2016-04-27 | 2016-08-03 | 乐视控股(北京)有限公司 | 一种控制指纹传感器的方法、装置及电子设备 |
CN110059462A (zh) * | 2019-03-25 | 2019-07-26 | 惠州Tcl移动通信有限公司 | 指纹传感器的配置方法、装置、电子设备及存储介质 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090190805A1 (en) * | 2008-01-29 | 2009-07-30 | Acer Incorporated | System and method for fingerprint recognition |
CN103347116A (zh) * | 2012-11-09 | 2013-10-09 | 北京深思洛克软件技术股份有限公司 | 一种在智能手机中设置多安全模式的系统和方法 |
CN105138252A (zh) * | 2015-08-24 | 2015-12-09 | 联想(北京)有限公司 | 一种控制方法及电子设备 |
CN105825208A (zh) * | 2016-04-27 | 2016-08-03 | 乐视控股(北京)有限公司 | 一种控制指纹传感器的方法、装置及电子设备 |
CN105956439A (zh) * | 2016-04-27 | 2016-09-21 | 乐视控股(北京)有限公司 | 一种控制指纹传感器的方法、装置及电子设备 |
CN105956540A (zh) * | 2016-04-27 | 2016-09-21 | 乐视控股(北京)有限公司 | 一种控制指纹传感器的方法、装置及电子设备 |
CN105956440A (zh) * | 2016-04-27 | 2016-09-21 | 乐视控股(北京)有限公司 | 一种控制指纹传感器的方法、装置及电子设备 |
-
2016
- 2016-04-27 CN CN201610270605.1A patent/CN105956439A/zh active Pending
- 2016-10-18 WO PCT/CN2016/102364 patent/WO2017185667A1/zh active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090190805A1 (en) * | 2008-01-29 | 2009-07-30 | Acer Incorporated | System and method for fingerprint recognition |
CN103347116A (zh) * | 2012-11-09 | 2013-10-09 | 北京深思洛克软件技术股份有限公司 | 一种在智能手机中设置多安全模式的系统和方法 |
CN105138252A (zh) * | 2015-08-24 | 2015-12-09 | 联想(北京)有限公司 | 一种控制方法及电子设备 |
CN105825208A (zh) * | 2016-04-27 | 2016-08-03 | 乐视控股(北京)有限公司 | 一种控制指纹传感器的方法、装置及电子设备 |
CN105956439A (zh) * | 2016-04-27 | 2016-09-21 | 乐视控股(北京)有限公司 | 一种控制指纹传感器的方法、装置及电子设备 |
CN105956540A (zh) * | 2016-04-27 | 2016-09-21 | 乐视控股(北京)有限公司 | 一种控制指纹传感器的方法、装置及电子设备 |
CN105956440A (zh) * | 2016-04-27 | 2016-09-21 | 乐视控股(北京)有限公司 | 一种控制指纹传感器的方法、装置及电子设备 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111930218A (zh) * | 2020-07-27 | 2020-11-13 | 深圳市千分一智能技术有限公司 | 蓝牙指纹功耗控制方法、蓝牙指纹设备及存储介质 |
CN111930218B (zh) * | 2020-07-27 | 2022-04-29 | 深圳市千分一智能技术有限公司 | 蓝牙指纹功耗控制方法、蓝牙指纹设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN105956439A (zh) | 2016-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017185667A1 (zh) | 控制指纹传感器的方法、装置及电子设备 | |
EP3355222B1 (en) | Fingerprint identification terminal screen unlocking method and terminal | |
EP2836957B1 (en) | Location-based access control for portable electronic device | |
US20150116086A1 (en) | Electronic device and method of providing security using complex biometric information | |
JP6793732B2 (ja) | 情報画像表示方法及び装置 | |
US20140181962A1 (en) | Application executing method using fingerprint recognition, device therefor, and computer readable recording medium therefor | |
CN107077217A (zh) | 用于电子设备的控制方法、装置及电子设备 | |
WO2017185670A1 (zh) | 控制指纹传感器的方法、装置及电子设备 | |
US9877196B2 (en) | User authentication systems and methods | |
WO2019101096A1 (zh) | 安全验证的方法、装置及移动终端 | |
US20150294172A1 (en) | Information processing apparatus and control method, program recording medium thereof | |
WO2017032067A1 (zh) | 一种通话录音方法及用户终端 | |
KR102108695B1 (ko) | 신원 인증을 위한 방법 및 디바이스 | |
US9207850B2 (en) | Application executing method using fingerprint recognition, device therefor, and computer readable recording medium therefor | |
US10013595B2 (en) | Correlating fingerprints to pointing input device actions | |
WO2017032026A1 (zh) | 一种浏览网页的显示对象控制方法及用户终端 | |
CN106570370A (zh) | 一种用户身份识别方法及装置 | |
CN104809402A (zh) | 一种信息模糊显示方法及终端 | |
WO2017185672A1 (zh) | 控制指纹传感器的方法、装置及电子设备 | |
WO2019041243A1 (zh) | 指纹传感器功能的验证方法及终端 | |
CN104156168B (zh) | 一种移动终端的解锁方法及其系统 | |
US20170286715A1 (en) | Prevention of shoulder surfing | |
US10474621B2 (en) | Method and apparatus for controlling serial peripheral interface of fingerprint sensor, and mobile terminal | |
CN104346073A (zh) | 一种信息处理方法及电子设备 | |
US20180239884A1 (en) | Detection System, Fingerprint Sensor, and Method of Finger Touch Authentication Thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16900175 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16900175 Country of ref document: EP Kind code of ref document: A1 |