WO2017185670A1 - Method and device for controlling fingerprint sensor, and electronic device - Google Patents
Method and device for controlling fingerprint sensor, and electronic device Download PDFInfo
- Publication number
- WO2017185670A1 WO2017185670A1 PCT/CN2016/102398 CN2016102398W WO2017185670A1 WO 2017185670 A1 WO2017185670 A1 WO 2017185670A1 CN 2016102398 W CN2016102398 W CN 2016102398W WO 2017185670 A1 WO2017185670 A1 WO 2017185670A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- fingerprint
- fingerprint sensor
- direction key
- mode
- electronic device
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 230000006870 function Effects 0.000 claims description 65
- 238000012795 verification Methods 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 9
- 230000001939 inductive effect Effects 0.000 claims description 2
- 230000008569 process Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/12—Fingerprints or palmprints
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- 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 application scenario of the fingerprint recognition function is more and more extensive.
- the present invention provides a new technical solution for controlling a fingerprint sensor to implement a direction key function in an unsecure mode.
- a method of controlling a fingerprint sensor comprising:
- An instruction corresponding to the direction key function is issued according to the direction of the focus to control the current application to execute the instruction.
- the application including the direction key indication includes at least a browser or an e-book.
- the direction key comprises: an up direction key, a down direction key, a left direction key, and a right direction key.
- the method further includes:
- the current mode of the electronic device is switched from the non-secure mode to the security mode, and the fingerprint verification is performed in a security environment corresponding to the security mode.
- an apparatus for controlling a fingerprint sensor comprising:
- a setting module configured to set a current mode of the unlocked electronic device to a non-secure mode
- the 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, specifically: if the current application is an application including a direction key indication, controlling the fingerprint sensor to detect the area of the fingerprint touch fingerprint sensor ;
- a detecting module configured to detect a lateral direction of the area on the sensing portion of the fingerprint sensor
- an instruction issuing module configured to send an instruction corresponding to the direction key function according to the direction of the focus, to control the current application to execute the instruction.
- the application including the direction key indication includes at least a browser or an e-book.
- the direction key comprises: an up direction key, a down direction key, a left direction key, and a right direction key.
- the device further includes:
- a switching module configured to switch the current mode of the electronic device from the non-secure mode to the security mode, and perform fingerprint verification in a security environment corresponding to the security mode, if the fingerprint verification instruction issued by the current application is received.
- an electronic device comprising:
- At least one processor and,
- the fingerprint sensor is configured to collect a fingerprint image and an inductive fingerprint touch
- the memory stores a command 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 current mode of the electronic device is switched from the non-secure mode to the security mode, and the fingerprint verification is performed in a security environment corresponding to the security mode.
- the present invention provides a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the above method of controlling a fingerprint sensor .
- the invention provides 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 executed by a computer
- 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. In this way, the existing fingerprint sensor can be conveniently used to implement the function of the direction key, which saves the space of the direction key. At the same time, in the non-safe mode, fingerprint verification is not required, and the touch key can be realized by any fingerprint touch.
- the function is more convenient and simple. 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.
- 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 of a hardware structure of an electronic device performing a method of controlling a fingerprint sensor according to an embodiment of 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 that currently calls 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, Then 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.
- Step S132 Control the fingerprint sensor 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 a position or an area where 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 fingerprint image of the user can be prevented from being randomly collected, and the privacy protection of the fingerprint image of the user 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 fingerprint images, pre-process the collected fingerprint images, extract the features required for fingerprint verification, and compare them with the reference fingerprint features pre-stored in the database, if the comparison If successful, the current user is a secure user for the current application and can switch the current mode to 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 a fingerprint touch
- the area of the fingerprint sensor sensing area 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. And detecting a direction of the contact area on the sensing portion, and issuing a command corresponding to the direction key function according to the direction of the focus, wherein the direction of the focus is specifically a direction in which the touch area accounts for the largest proportion 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.
- fingerprint verification is not required, and the touch key can be realized by any fingerprint touch.
- the function is more convenient and simple.
- the function of the start key can be implemented by the fingerprint sensor in the non-secure mode, and the start key is generally used in the art.
- the start key is called the home key, and the specific steps can be as shown in FIG. 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, the finger corresponding to the home key function is issued. make.
- 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 includes a setting module 501, a control module 502, a detecting module 503, and a command issuing module 504.
- the setting module 501 is configured to set the current mode of the unlocked electronic device to the non-secure mode;
- the control module 502 is configured to control the fingerprint sensor to run the fingerprint sensing function in a normal environment corresponding to the non-secure mode, specifically: if the current application For the application including the direction key indication, the fingerprint sensor is detected to detect the area of the fingerprint touch fingerprint sensor;
- the detection module 503 is configured to detect the direction of the area on the sensing portion of the fingerprint sensor;
- the instruction issuance module 504 is configured to The direction sends an instruction corresponding to the direction key function to control the current application to execute the instruction.
- the application including the direction key indication includes at least a browser or an e-book; the direction keys include: an up direction key, a down direction key, a left direction key, and a right direction key.
- the device further includes a switching module, configured to switch the current mode of the electronic device from the non-secure mode to the secure mode and receive the security mode in the corresponding security mode if the fingerprint verification instruction issued by the current application is received. Fingerprint verification.
- Another embodiment of the present invention provides a non-transitory computer readable storage medium storing computer instructions for causing the computer to execute the above method of controlling a fingerprint sensor .
- Another embodiment of the present invention provides 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 executed by a computer
- the computer is caused to perform the above method of controlling the fingerprint sensor.
- FIG. 6 is a schematic structural diagram of hardware of an electronic device for controlling a fingerprint sensor provided by the present application. As shown in FIG. 6, the device includes:
- One or more processors 601 and memory 602, one processor 601 is taken as an example in FIG.
- the device may also include an input device 603 and an output device 604.
- the processor 601, the memory 602, the input device 603, and the output device 604 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
- the memory 602 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 setting module 501, the control module 502, the detecting module 503, and the command issuing module 504 shown in FIG.
- the processor 601 implements the above methods by executing non-volatile software programs, instructions, and modules stored in the memory 602 to perform various functional applications and data processing of the server.
- the memory 602 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 602 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 602 can optionally include memory remotely located relative to processor 601, 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.
- the input device 603 can receive input digital or character information, and generate and use the processing device User settings and key signal inputs related to function control.
- Output device 604 can include a display device such as a display screen.
- the one or more modules are stored in the memory 602, and when executed by the one or more processors 601, perform the processing methods described in any of the above method embodiments.
- 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)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Telephone Function (AREA)
- Image Input (AREA)
Abstract
A method and device for controlling a fingerprint sensor, and an electronic device. The method comprises: setting a current mode of an electronic device when unlocked as a non-secure mode (S301), controlling a fingerprint sensor to run a fingerprint sensing function in a normal environment corresponding to the non-secure mode, specifically: if a current application is an application comprising arrow key indications, then controlling the fingerprint sensor to detect the area of the fingerprint sensor being touched by a fingerprint (S303); detecting an emphasized direction of the area on a sensing part of the fingerprint sensor (S303); and issuing an instruction of a corresponding arrow key function on the basis of the emphasized direction (S304), thus controlling the current application to execute the instruction.
Description
相关申请的交叉参考Cross-reference to related applications
本申请要求于2016年4月27日提交中国专利局、申请号为2016102709806、发明名称为“一种控制指纹传感器的方法、装置及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 2016102709806, entitled "A Method, Apparatus and Apparatus for Controlling Fingerprint Sensors", filed on April 27, 2016, the entire contents of which are incorporated by reference. Combined in this application.
本发明涉及指纹领域,更具体地,涉及一种控制指纹传感器的方法、装置及电子设备。The present invention relates to the field of fingerprints, and more particularly to a method, device and electronic device for controlling a fingerprint sensor.
在目前的智能手机上,一般手机都会设置有指纹识别功能,并要求录入每个指纹特征值才可以使用这个功能,指纹识别功能的应用场景也越来越广泛。On the current smart phones, 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 application scenario of the fingerprint recognition function is more and more extensive.
现有调用指纹传感器的应用都是在安全环境下运行的,但是,有些应用不需要进行指纹特征值识别,只需调用指纹传感器的感应功能,这些应用在安全模式下运行时也会采集指纹图像,使得用户的指纹容易被泄露。Existing applications that use fingerprint sensors are run in a secure environment. However, some applications do not require fingerprint feature value recognition. They only need to call the fingerprint sensor's sensing function. These applications also collect fingerprint images when running in safe mode. So that the user's fingerprint is easily leaked.
发明内容Summary of the invention
鉴于上述问题,本发明提供了一种在非安全模式下控制指纹传感器实现方向键功能的新技术方案。In view of the above problems, the present invention provides a new technical solution for controlling a fingerprint sensor to implement a direction key function in an unsecure mode.
根据本发明的第一方面,提供了一种控制指纹传感器的方法,包括:According to a first aspect of the present invention, a method of controlling a fingerprint sensor is provided, comprising:
将解锁后的电子设备的当前模式设定为非安全模式,并在对应所述非安全模式的正常环境下控制指纹传感器运行指纹感应功能,具体为:如果当前应用为包括方向键指示的应用,则控制指纹传感器检测指纹触碰指纹传感器的面积;
Setting the current mode of the unlocked electronic device to the non-secure mode, and controlling the fingerprint sensor to run the fingerprint sensing function in a normal environment corresponding to the non-secure mode, specifically: if the current application is an application including a direction key indication, Controlling the fingerprint sensor to detect the area of the fingerprint touch fingerprint sensor;
检测所述面积在所述指纹传感器的感应部位上的侧重方向;Detecting a lateral direction of the area on the sensing portion of the fingerprint sensor;
根据所述侧重方向下发对应方向键功能的指令,以控制当前应用执行所述指令。An instruction corresponding to the direction key function is issued according to the direction of the focus to control the current application to execute the instruction.
可选的,所述包括方向键指示的应用至少包括浏览器或者电子书。Optionally, the application including the direction key indication includes at least a browser or an e-book.
可选的,所述方向键包括:上方向键、下方向键、左方向键、右方向键。Optionally, the direction key comprises: an up direction key, a down direction key, a left direction key, and a right direction key.
可选的,所述方法还包括:Optionally, the method further includes:
如果接收到当前应用下发的指纹验证指令,则将所述电子设备的当前模式由非安全模式切换至安全模式,并在对应所述安全模式的安全环境下进行指纹验证。If the fingerprint verification instruction issued by the current application is received, the current mode of the electronic device is switched from the non-secure mode to the security mode, and the fingerprint verification is performed in a security environment corresponding to the security mode.
根据本发明的第二方面,提供了一种控制指纹传感器的装置,包括:According to a second aspect of the present invention, an apparatus for controlling a fingerprint sensor is provided, comprising:
设定模块,用于将解锁后的电子设备的当前模式设定为非安全模式;a setting module, configured to set a current mode of the unlocked electronic device to a non-secure mode;
控制模块,用于在对应所述非安全模式的正常环境下控制指纹传感器运行指纹感应功能,具体为:如果当前应用为包括方向键指示的应用,则控制指纹传感器检测指纹触碰指纹传感器的面积;The 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, specifically: if the current application is an application including a direction key indication, controlling the fingerprint sensor to detect the area of the fingerprint touch fingerprint sensor ;
检测模块,用于检测所述面积在所述指纹传感器的感应部位上的侧重方向;a detecting module, configured to detect a lateral direction of the area on the sensing portion of the fingerprint sensor;
指令下发模块,用于根据所述侧重方向下发对应方向键功能的指令,以控制当前应用执行所述指令。And an instruction issuing module, configured to send an instruction corresponding to the direction key function according to the direction of the focus, to control the current application to execute the instruction.
可选的,所述包括方向键指示的应用至少包括浏览器或者电子书。Optionally, the application including the direction key indication includes at least a browser or an e-book.
可选的,所述方向键包括:上方向键、下方向键、左方向键、右方向键。Optionally, the direction key comprises: an up direction key, a down direction key, a left direction key, and a right direction key.
可选的,所述装置还包括:Optionally, the device further includes:
切换模块,用于如果接收到当前应用下发的指纹验证指令,则将所述电子设备的当前模式由非安全模式切换至安全模式,并在对应所述安全模式的安全环境下进行指纹验证。And a switching module, configured to switch the current mode of the electronic device from the non-secure mode to the security mode, and perform fingerprint verification in a security environment corresponding to the security mode, if the fingerprint verification instruction issued by the current application is received.
根据本发明的第三方面,提供了一种电子设备,包括:According to a third aspect of the present invention, an electronic device is provided, comprising:
指纹传感器;Fingerprint sensor
至少一个处理器;以及,
At least one processor; and,
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
所述指纹传感器用于采集指纹图像和感应指纹碰触;The fingerprint sensor is configured to collect a fingerprint image and an inductive fingerprint touch;
所述存储器存储有可被所述至少一个处理器执行的命令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores a command 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:
将解锁后的电子设备的当前模式设定为非安全模式,并在对应所述非安全模式的正常环境下控制指纹传感器运行指纹感应功能,具体为:如果当前应用为包括方向键指示的应用,则控制指纹传感器检测指纹触碰指纹传感器的面积;Setting the current mode of the unlocked electronic device to the non-secure mode, and controlling the fingerprint sensor to run the fingerprint sensing function in a normal environment corresponding to the non-secure mode, specifically: if the current application is an application including a direction key indication, Controlling the fingerprint sensor to detect the area of the fingerprint touch fingerprint sensor;
检测所述面积在所述指纹传感器的感应部位上的侧重方向;Detecting a lateral direction of the area on the sensing portion of the fingerprint sensor;
根据所述侧重方向下发对应方向键功能的指令,以控制当前应用执行所述指令;And outputting an instruction corresponding to the direction key function according to the direction of the focus to control the current application to execute the instruction;
如果接收到当前应用下发的指纹验证指令,则将所述电子设备的当前模式由非安全模式切换至安全模式,并在对应所述安全模式的安全环境下进行指纹验证。If the fingerprint verification instruction issued by the current application is received, the current mode of the electronic device is switched from the non-secure mode to the security mode, and the fingerprint verification is performed in a security environment corresponding to the security mode.
另一方面,本发明提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行上述控制指纹传感器的方法。In another aspect, the present invention provides a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the above method of controlling a fingerprint sensor .
另一方面,本发明提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述控制指纹传感器的方法。In another aspect, the invention provides 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 executed by a computer 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. In this way, the existing fingerprint sensor can be conveniently used to implement the function of the direction key, which saves the space of the direction key. At the same time, in the non-safe mode, fingerprint verification is not required, and the touch key can be realized by any fingerprint touch. The function is more convenient and simple. 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.
通过以下参照附图对本发明的示例性实施例的详细描述,本发明的其它
特征及其优点将会变得清楚。DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS OF THE INVENTION, OTHER OF THE INVENTION OF THE INVENTION
Features and their advantages will become clear.
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。The one or more embodiments are exemplified by the accompanying drawings in the accompanying drawings, and FIG. The figures in the drawings do not constitute a scale limitation unless otherwise stated.
图1是根据本发明将当前模式区分为安全模式和非安全模式的方法的一种实施方式的流程图;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;
图2是根据本发明切换电子设备当前模式的方法的一种实施方式的流程图;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;
图3是根据本发明在非安全模式下控制指纹传感器实现方向键功能的一种实施方式的流程图;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;
图4是根据本发明在非安全模式下控制指纹传感器实现home键功能的一种实施方式流程图;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;
图5是根据本发明控制指纹传感器的装置的一种实施结构的方框原理图;Figure 5 is a block schematic diagram of an embodiment of an apparatus for controlling a fingerprint sensor in accordance with the present invention;
图6是根据本发明实施例提供的执行控制指纹传感器的方法的电子设备的硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure of an electronic device performing a method of controlling a fingerprint sensor according to an embodiment of the present invention.
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the embodiments of the present invention have been shown in the drawings, the embodiments Rather, these embodiments are provided so that this disclosure will be more fully understood and the scope of the disclosure will be fully disclosed.
图1是本发明将当前模式区分为安全模式和非安全模式的方法的一种实施方式的流程图。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.
步骤S110,判断当前调用指纹传感器的应用是安全应用还是非安全应用,如果该应用是安全应用,则执行步骤S121;如果该应用是非安全应用,
则执行步骤S122。In step S110, it is determined whether the application that currently calls 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,
Then step S122 is performed.
目前指纹传感器的工作原理为:当指纹中突出部分置于传感电容像素电极上时,电容会有所增加,通过检测增加的电容来进行数据的采集。这样,指纹传感器可以采集指纹图像,同时,也可以感应指纹的触碰。At present, 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.
步骤S121,设定电子设备的当前模式为安全模式。Step S121, setting the current mode of the electronic device to the security mode.
步骤S131,在安全环境下控制指纹传感器运行指纹图像采集功能。Step S131, controlling the fingerprint sensor to run the fingerprint image collection function in a safe environment.
进一步地,在安全环境下,采集指纹图像之后还包括:提取指纹图像中包含的指纹特征,将该指纹特征与数据库中的参考指纹特征进行比对。Further, in the security environment, after the fingerprint image is collected, 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.
步骤S122,设定电子设备的当前模式为非安全模式。Step S122, setting the current mode of the electronic device to the non-secure mode.
步骤S132,在正常环境下控制指纹传感器运行指纹感应功能,其中,指纹感应功能包括感应指纹的触碰信息,具体可以为指纹碰触指纹感应器的位置或者面积。Step S132: Control the fingerprint sensor 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 a position or an area where the fingerprint touches the fingerprint sensor.
为了在指纹服务中区分是否采集指纹图像,将电子设备的当前模式划分为安全模式和非安全模式,如果在安全模式下,调用电子设备的安全环境来支持安全应用,并控制指纹传感器运行指纹采集功能;如果在非安全模式下,则在正常环境下支持非安全应用,并控制指纹传感器运行指纹感应功能。这样,可以使得用户指纹图像不被随意采集,加强用户指纹图像的隐私保护。In order to distinguish whether the fingerprint image is collected in the fingerprint service, 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 fingerprint image of the user can be prevented from being randomly collected, and the privacy protection of the fingerprint image of the user is enhanced.
其中,当前模式为非安全模式的情况下,在正常环境下控制指纹传感器运行指纹感应功能,不需要采集用户的指纹图像,可以根据指纹感应器感应到的指纹触碰信息,控制当前应用实现除指纹识别外的功能,这样,利用指纹传感器的方便性,在除了指纹验证外可以拓展更多功能,且不需要采集用户指纹图像,使用任意指纹均能够实现这些功能。Wherein, 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 function other than fingerprint recognition, in this way, the convenience of the fingerprint sensor can expand more functions besides fingerprint verification, and does not need to collect user fingerprint images, and these functions can be realized by using any fingerprint.
在本发明的一个具体实施例中,安全模式和非安全模式之间可以切换,具体可以如图2所示。In a specific embodiment of the present invention, the security mode and the non-security mode can be switched, as shown in FIG. 2 .
步骤S201,将解锁的电子设备的当前模式设定为非安全模式。
In step S201, the current mode of the unlocked electronic device is set to the non-secure mode.
这样,完成解锁动作的电子设备,当前模式默认设置为非安全模式。In this way, the electronic device that completes the unlocking action is set to the non-secure mode by default.
步骤S202,检测是否接收到指纹验证指令。Step S202, detecting whether a fingerprint verification instruction is received.
其中,当前应用要执行安全性较高的功能时,例如可以是解锁、支付、登录、开机等功能,会下发指纹验证指令。Wherein, when the current application is to perform a function with high security, for example, functions such as unlocking, paying, logging, booting, etc., a fingerprint verification command is issued.
步骤S203,将当前模式由非安全模式切换至安全模式。Step S203, switching the current mode from the non-secure mode to the secure mode.
当前模式为安全模式的情况下,将会在安全环境下控制指纹传感器运行指纹图像采集功能。When the current mode is the safe mode, the fingerprint sensor running fingerprint image acquisition function will be controlled in a safe environment.
步骤S204,在安全环境下进行指纹验证,如果验证成功,则执行步骤S201。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.
进一步地,本发明还需要先进行数据库录入,即先采集用户的指纹图像,提取其中的指纹特征作为参考指纹特征,将参考指纹特征保存在数据库中,在数据库中保存有指纹特征的用户则为安全用户,所有功能应用均对安全用户开放,如果不是安全用户,对于需要先进行指纹验证方可实现的安全性较高的应用,则无法使用;如果接收到指纹验证指令,则设定电子设备的当前模式为安全模式,并控制指纹传感器采集指纹图像,对采集的指纹图像进行预处理,提取指纹验证所需要的特征,再将其与数据库中预存的参考指纹特征进行比对,如果比对成功,则说明当前用户对于当前应用为安全用户,可以将当前模式切换至非安全模式。Further, 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 For security users, 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. If a fingerprint verification command is received, the electronic device is set. The current mode is the security mode, and the fingerprint sensor is controlled to collect fingerprint images, pre-process the collected fingerprint images, extract the features required for fingerprint verification, and compare them with the reference fingerprint features pre-stored in the database, if the comparison If successful, the current user is a secure user for the current application and can switch the current mode to non-secure mode.
这样,扩充了指纹识别特征提取功能,可以很好的利用指纹传感器实现更多功能,同时,也保证了用户识别唯一性功能。In this way, 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.
在本发明的一个具体实施例中,在上述电子设备包括安全模式和非安全模式的基础上,可以在非安全模式下通过指纹传感器实现方向键的功能,具体步骤可以如图3所示。In a specific embodiment of the present invention, on the basis that the electronic device includes the security mode and the non-secure mode, 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 .
步骤S301,将解锁后的电子设备的当前模式设定为非安全模式。Step S301, setting the current mode of the unlocked electronic device to the non-secure mode.
步骤S302,如果当前应用为包括方向键指示的应用,则检测指纹触碰
指纹传感器感应部位的面积。其中,包括方向键指示的应用至少包括浏览器或者电子书。Step S302, if the current application is an application including a direction key indication, detecting a fingerprint touch
The area of the fingerprint sensor sensing area. Among them, the application including the direction key indication includes at least a browser or an e-book.
步骤S303,检测该面积在传感器感应部位上的侧重方向。Step S303, detecting a lateral direction of the area on the sensing portion of the sensor.
步骤S304,根据侧重方向下发对应方向键功能的指令。其中,方向键包括上方向键、下方向键、左方向键、右方向键。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.
打开例如浏览器或者电子书的应用时,电子设备的显示界面上会有方向键的提示,当指纹传感器检测到指纹触碰感应部位时,就会控制指纹传感器根据电容变化检测指纹碰触的面积,检测该碰触面积在感应部位上的侧重方向,根据该侧重方向下发对应方向键功能的指令,其中,侧重方向具体为该触碰面积在感应部位占比最大的方向。例如可以但不局限于设定碰触面积侧重在感应部位的上侧时,下发对应上方向键功能的指令;碰触面积侧重在感应部位的下侧时,下发对应下方向键功能的指令;碰触面积侧重在感应部位的左侧时,下发对应左方向键功能的指令;碰触面积侧重在感应部位的右侧时,下发对应右方向键功能的指令。When an application such as a browser or an e-book is opened, a display button may be displayed on the display interface of the electronic device. When 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. And detecting a direction of the contact area on the sensing portion, and issuing a command corresponding to the direction key function according to the direction of the focus, wherein the direction of the focus is specifically a direction in which the touch area accounts for the largest proportion of the sensing portion. 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. When the touch area is focused on the left side of the sensing part, 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.
也可以预先设定对应各个方向键的指纹指定动作,根据设定指纹的移动方向实现向对应方向移动的功能,例如可以设置当指纹在指纹传感器的感应部位完成向左移动的动作时,接收到指纹传感器感应到的该移动信息,控制当前应用实现向左移动的功能。It is also possible to preset a fingerprint specifying action corresponding to each direction key, and realize a function of moving in a corresponding direction according to a moving direction of the setting fingerprint. For example, it may be set to receive when the fingerprint is moved to the left in the sensing portion of the fingerprint sensor. The movement information sensed by the fingerprint sensor controls the function of the current application to move to the left.
这样,可以很方便的利用现有的指纹传感器来实现方向键的功能,节省了方向键的空间,同时,在非安全模式下,不需要进行指纹验证,任意指纹的碰触都可以实现方向键的功能,更加方便、简单。In this way, the existing fingerprint sensor can be conveniently used to implement the function of the direction key, which saves the space of the direction key. At the same time, in the non-safe mode, fingerprint verification is not required, and the touch key can be realized by any fingerprint touch. The function is more convenient and simple.
在本发明的另一个具体实施例中,在上述电子设备包括安全模式和非安全模式的基础上,可以在非安全模式下通过指纹传感器实现起始键的功能,起始键在本领域中通常将起始键称为home键,具体步骤可以如图4所示。In another embodiment of the present invention, on the basis of the above-mentioned electronic device including a safe mode and a non-secure mode, the function of the start key can be implemented by the fingerprint sensor in the non-secure mode, and the start key is generally used in the art. The start key is called the home key, and the specific steps can be as shown in FIG. 4.
步骤S401,将解锁后的电子设备的当前模式设定为非安全模式。In step S401, the current mode of the unlocked electronic device is set to the non-secure mode.
步骤S402,在正常环境下检测任意指纹触碰指纹感应器感应部位的面积。Step S402, detecting an area where the fingerprint touches the sensing portion of the fingerprint sensor in a normal environment.
步骤S403,如果触碰面积超过设定面积,则下发对应home键功能的指
令。其中,对应home键功能的指令至少包括返回主界面。Step S403, if the touch area exceeds the set area, the finger corresponding to the home key function is issued.
make. The instruction corresponding to the home key function at least includes returning to the main interface.
例如,设定面积可以为但不局限于感应部位总面积的60%,这样,当检测到指纹触碰指纹感应器的感应部位的面积超过感应部位总面积的60%时,下发对应home键功能的指令。For example, the set area may be, but not limited to, 60% of the total area of the sensing portion. Thus, when it is detected that the area of the sensing portion of the fingerprint touch fingerprint sensor exceeds 60% of the total area of the sensing portion, the corresponding home button is issued. Function instructions.
进一步地,如果在正常环境下检测到任意指纹连续两次触碰指纹传感器的面积均超过设定面积,则下发对应双击home键功能的指令,例如可以是打开任务管理器、切换单手操作模式。Further, if the area of the fingerprint sensor that touches the fingerprint sensor twice in a normal environment exceeds the set area, 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.
如果在正常环境下,检测到任意指纹触碰指纹传感器的时间超过设定时间,例如可以是1s,则下发对应长按home键功能的指令,例如可以是语音控制功能。If, under normal circumstances, it is detected that the time when any fingerprint touches the fingerprint sensor exceeds the set time, for example, it may be 1 s, the instruction corresponding to the long press of the home key function is issued, for example, it may be a voice control function.
这样,在实现home键功能的基础上,节省了home键的空间,同时,由于不需要指纹验证,所以在非安全模式下,任意指纹的碰触都可以实现home键的功能,更加方便、简单。In this way, on the basis of realizing the function of the home key, the space of the home key is saved, and at the same time, since the fingerprint verification is not required, in the non-secure mode, the touch of any fingerprint can realize the function of the home key, which is more convenient and simple. .
图5是本发明一种控制指纹传感器的装置的一种实施结构的方框原理图。控制指纹传感器的装置500包括:设定模块501、控制模块502、检测模块503和指令下发模块504。设定模块501用于将解锁后的电子设备的当前模式设定为非安全模式;控制模块502用于在对应非安全模式的正常环境下控制指纹传感器运行指纹感应功能,具体为:如果当前应用为包括方向键指示的应用,则控制指纹传感器检测指纹触碰指纹传感器的面积;检测模块503用于检测该面积在指纹传感器的感应部位上的侧重方向;指令下发模块504,用于根据侧重方向下发对应方向键功能的指令,以控制当前应用执行该指令。Figure 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 includes a setting module 501, a control module 502, a detecting module 503, and a command issuing module 504. The setting module 501 is configured to set the current mode of the unlocked electronic device to the non-secure mode; the control module 502 is configured to control the fingerprint sensor to run the fingerprint sensing function in a normal environment corresponding to the non-secure mode, specifically: if the current application For the application including the direction key indication, the fingerprint sensor is detected to detect the area of the fingerprint touch fingerprint sensor; the detection module 503 is configured to detect the direction of the area on the sensing portion of the fingerprint sensor; and the instruction issuance module 504 is configured to The direction sends an instruction corresponding to the direction key function to control the current application to execute the instruction.
其中,包括方向键指示的应用至少包括浏览器或者电子书;方向键包括:上方向键、下方向键、左方向键、右方向键。The application including the direction key indication includes at least a browser or an e-book; the direction keys include: an up direction key, a down direction key, a left direction key, and a right direction key.
进一步地,该装置还包括切换模块,用于如果接收到当前应用下发的指纹验证指令,则将电子设备的当前模式由非安全模式切换至安全模式,并在对应安全模式的安全环境下进行指纹验证。
Further, the device further includes a switching module, configured to switch the current mode of the electronic device from the non-secure mode to the secure mode and receive the security mode in the corresponding security mode if the fingerprint verification instruction issued by the current application is received. Fingerprint verification.
本发明另一实施例提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行上述控制指纹传感器的方法。Another embodiment of the present invention provides a non-transitory computer readable storage medium storing computer instructions for causing the computer to execute the above method of controlling a fingerprint sensor .
本发明另一实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述控制指纹传感器的方法。Another embodiment of the present invention provides 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 executed by a computer The computer is caused to perform the above method of controlling the fingerprint sensor.
图6是本申请提供的控制指纹传感器的电子设备的硬件结构示意图,如图6所示,该设备包括:6 is a schematic structural diagram of hardware of an electronic device for controlling a fingerprint sensor provided by the present application. As shown in FIG. 6, the device includes:
一个或多个处理器601以及存储器602,图6中以一个处理器601为例。One or more processors 601 and memory 602, one processor 601 is taken as an example in FIG.
该设备还可以包括:输入装置603和输出装置604。The device may also include an input device 603 and an output device 604.
处理器601、存储器602、输入装置603和输出装置604可以通过总线或者其他方式连接,图6中以通过总线连接为例。The processor 601, the memory 602, the input device 603, and the output device 604 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
存储器602作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请描述的任意方法对应的程序指令/模块(例如,附图5所示的设定模块501、控制模块502、检测模块503和指令下发模块504)。处理器601通过运行存储在存储器602中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法。The memory 602 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 setting module 501, the control module 502, the detecting module 503, and the command issuing module 504 shown in FIG. The processor 601 implements the above methods by executing non-volatile software programs, instructions, and modules stored in the memory 602 to perform various functional applications and data processing of the server.
存储器602可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据使用所创建的数据等。此外,存储器602可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器602可选包括相对于处理器601远程设置的存储器,这些远程存储器可以通过网络连接至处理装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 602 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. Moreover, memory 602 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. In some embodiments, memory 602 can optionally include memory remotely located relative to processor 601, 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.
输入装置603可接收输入的数字或字符信息,以及产生与处理装置的用
户设置以及功能控制有关的键信号输入。输出装置604可包括显示屏等显示设备。The input device 603 can receive input digital or character information, and generate and use the processing device
User settings and key signal inputs related to function control. Output device 604 can include a display device such as a display screen.
所述一个或者多个模块存储在所述存储器602中,当被所述一个或者多个处理器601执行时,执行上述任意方法实施例中描述的处理方法。The one or more modules are stored in the memory 602, and when executed by the one or more processors 601, perform the processing methods described in any of the above method embodiments.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。The above products can perform the methods provided by the embodiments of the present application, and have the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiments of the present application.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。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.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the various embodiments can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on such understanding, the above technical solutions may be embodied in the form of software products in essence or in the form of software products, which may be stored in a computer readable 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 or portions of the embodiments.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。
Finally, it should be noted that the above embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced by the equivalents. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims (14)
- 一种控制指纹传感器的方法,应用于电子设备上,其特征在于,包括:A method for controlling a fingerprint sensor, which is applied to an electronic device, and includes:将解锁后的电子设备的当前模式设定为非安全模式,并在对应所述非安全模式的正常环境下控制指纹传感器运行指纹感应功能,具体为:如果当前应用为包括方向键指示的应用,则控制指纹传感器检测指纹触碰指纹传感器的面积;Setting the current mode of the unlocked electronic device to the non-secure mode, and controlling the fingerprint sensor to run the fingerprint sensing function in a normal environment corresponding to the non-secure mode, specifically: if the current application is an application including a direction key indication, Controlling the fingerprint sensor to detect the area of the fingerprint touch fingerprint sensor;检测所述面积在所述指纹传感器的感应部位上的侧重方向;Detecting a lateral direction of the area on the sensing portion of the fingerprint sensor;根据所述侧重方向下发对应方向键功能的指令,以控制当前应用执行所述指令。An instruction corresponding to the direction key function is issued according to the direction of the focus to control the current application to execute the instruction.
- 根据权利要求1所述的方法,其特征在于,所述包括方向键指示的应用至少包括浏览器或者电子书。The method of claim 1 wherein the application including the direction key indication comprises at least a browser or an e-book.
- 根据权利要求1所述的方法,其特征在于,所述方向键包括:上方向键、下方向键、左方向键、右方向键。The method according to claim 1, wherein the direction key comprises: an up direction key, a down direction key, a left direction key, and a right direction key.
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:如果接收到当前应用下发的指纹验证指令,则将所述电子设备的当前模式由非安全模式切换至安全模式,并在对应所述安全模式的安全环境下进行指纹验证。If the fingerprint verification instruction issued by the current application is received, the current mode of the electronic device is switched from the non-secure mode to the security mode, and the fingerprint verification is performed in a security environment corresponding to the security mode.
- 一种控制指纹传感器的装置,其特征在于,包括:A device for controlling a fingerprint sensor, comprising:设定模块,用于将解锁后的电子设备的当前模式设定为非安全模式;a setting module, configured to set a current mode of the unlocked electronic device to a non-secure mode;控制模块,用于在对应所述非安全模式的正常环境下控制指纹传感器运行指纹感应功能,具体为:如果当前应用为包括方向键指示的应用,则控制指纹传感器检测指纹触碰指纹传感器的面积;The 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, specifically: if the current application is an application including a direction key indication, controlling the fingerprint sensor to detect the area of the fingerprint touch fingerprint sensor ;检测模块,用于检测所述面积在所述指纹传感器的感应部位上的侧重方向;a detecting module, configured to detect a lateral direction of the area on the sensing portion of the fingerprint sensor;指令下发模块,用于根据所述侧重方向下发对应方向键功能的指令,以控制当前应用执行所述指令。 And an instruction issuing module, configured to send an instruction corresponding to the direction key function according to the direction of the focus, to control the current application to execute the instruction.
- 根据权利要求5所述的装置,其特征在于,所述包括方向键指示的应用至少包括浏览器或者电子书。The apparatus of claim 5 wherein said application including a direction key indication comprises at least a browser or an e-book.
- 根据权利要求5所述的装置,其特征在于,所述方向键包括:上方向键、下方向键、左方向键、右方向键。The apparatus according to claim 5, wherein said direction key comprises: an up direction key, a down direction key, a left direction key, and a right direction key.
- 根据权利要求5所述的装置,其特征在于,所述装置还包括:The device according to claim 5, wherein the device further comprises:切换模块,用于如果接收到当前应用下发的指纹验证指令,则将所述电子设备的当前模式由非安全模式切换至安全模式,并在对应所述安全模式的安全环境下进行指纹验证。And a switching module, configured to switch the current mode of the electronic device from the non-secure mode to the security mode, and perform fingerprint verification in a security environment corresponding to the security mode, if the fingerprint verification instruction issued by the current application is received.
- 一种电子设备,包括:An electronic device comprising:指纹传感器;Fingerprint sensor至少一个处理器;以及,At least one processor; and,与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein所述指纹传感器用于采集指纹图像和感应指纹碰触;The fingerprint sensor is configured to collect a fingerprint image and an inductive fingerprint touch;所述存储器存储有可被所述至少一个处理器执行的命令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores a command 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:将解锁后的电子设备的当前模式设定为非安全模式,并在对应所述非安全模式的正常环境下控制指纹传感器运行指纹感应功能,具体为:如果当前应用为包括方向键指示的应用,则控制指纹传感器检测指纹触碰指纹传感器的面积;Setting the current mode of the unlocked electronic device to the non-secure mode, and controlling the fingerprint sensor to run the fingerprint sensing function in a normal environment corresponding to the non-secure mode, specifically: if the current application is an application including a direction key indication, Controlling the fingerprint sensor to detect the area of the fingerprint touch fingerprint sensor;检测所述面积在所述指纹传感器的感应部位上的侧重方向;Detecting a lateral direction of the area on the sensing portion of the fingerprint sensor;根据所述侧重方向下发对应方向键功能的指令,以控制当前应用执行所述指令。An instruction corresponding to the direction key function is issued according to the direction of the focus to control the current application to execute the instruction.
- 根据权利要求9所述的电子设备,其特征在于,所述包括方向键指示的应用至少包括浏览器或者电子书。The electronic device of claim 9, wherein the application including the direction key indication comprises at least a browser or an e-book.
- 根据权利要求9所述的电子设备,其特征在于,所述方向键包括:上方向键、下方向键、左方向键、右方向键。The electronic device according to claim 9, wherein the direction key comprises: an up direction key, a down direction key, a left direction key, and a right direction key.
- 根据权利要求9所述的电子设备,其特征在于,所述至少一个处理 器还执行以下步骤:The electronic device of claim 9, wherein said at least one process The device also performs the following steps:如果接收到当前应用下发的指纹验证指令,则将所述电子设备的当前模式由非安全模式切换至安全模式,并在对应所述安全模式的安全环境下进行指纹验证。If the fingerprint verification instruction issued by the current application is received, the current mode of the electronic device is switched from the non-secure mode to the security mode, and the fingerprint verification is performed in a security environment corresponding to the security mode.
- 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行以下步骤:A non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium stores computer instructions for causing the computer to perform the following steps:将解锁后的电子设备的当前模式设定为非安全模式,并在对应所述非安全模式的正常环境下控制指纹传感器运行指纹感应功能,具体为:如果当前应用为包括方向键指示的应用,则控制指纹传感器检测指纹触碰指纹传感器的面积;Setting the current mode of the unlocked electronic device to the non-secure mode, and controlling the fingerprint sensor to run the fingerprint sensing function in a normal environment corresponding to the non-secure mode, specifically: if the current application is an application including a direction key indication, Controlling the fingerprint sensor to detect the area of the fingerprint touch fingerprint sensor;检测所述面积在所述指纹传感器的感应部位上的侧重方向;Detecting a lateral direction of the area on the sensing portion of the fingerprint sensor;根据所述侧重方向下发对应方向键功能的指令,以控制当前应用执行所述指令。An instruction corresponding to the direction key function is issued according to the direction of the focus to control the current application to execute the instruction.
- 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行以下步骤: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 executed by a computer, causing the computer to perform the following step:将解锁后的电子设备的当前模式设定为非安全模式,并在对应所述非安全模式的正常环境下控制指纹传感器运行指纹感应功能,具体为:如果当前应用为包括方向键指示的应用,则控制指纹传感器检测指纹触碰指纹传感器的面积;Setting the current mode of the unlocked electronic device to the non-secure mode, and controlling the fingerprint sensor to run the fingerprint sensing function in a normal environment corresponding to the non-secure mode, specifically: if the current application is an application including a direction key indication, Controlling the fingerprint sensor to detect the area of the fingerprint touch fingerprint sensor;检测所述面积在所述指纹传感器的感应部位上的侧重方向;Detecting a lateral direction of the area on the sensing portion of the fingerprint sensor;根据所述侧重方向下发对应方向键功能的指令,以控制当前应用执行所述指令。 An instruction corresponding to the direction key function is issued according to the direction of the focus to control the current application to execute the instruction.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610270980.6A CN105825208A (en) | 2016-04-27 | 2016-04-27 | Method, apparatus and electronic device for controlling fingerprint sensor |
CN2016102709806 | 2016-04-27 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017185670A1 true WO2017185670A1 (en) | 2017-11-02 |
Family
ID=56527684
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/102398 WO2017185670A1 (en) | 2016-04-27 | 2016-10-18 | Method and device for controlling fingerprint sensor, and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105825208A (en) |
WO (1) | WO2017185670A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105956439A (en) * | 2016-04-27 | 2016-09-21 | 乐视控股(北京)有限公司 | Method and device for controlling fingerprint sensor and electronic equipment |
CN105825208A (en) * | 2016-04-27 | 2016-08-03 | 乐视控股(北京)有限公司 | Method, apparatus and electronic device for controlling fingerprint sensor |
CN105956540A (en) * | 2016-04-27 | 2016-09-21 | 乐视控股(北京)有限公司 | Method, device and electronic device for controlling a fingerprint sensor |
CN108984086A (en) * | 2017-05-31 | 2018-12-11 | 北京小米移动软件有限公司 | Fingerprint identification method and device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090190805A1 (en) * | 2008-01-29 | 2009-07-30 | Acer Incorporated | System and method for fingerprint recognition |
CN102236504A (en) * | 2010-04-21 | 2011-11-09 | 上海三旗通信科技有限公司 | Operation mode capable of being compatible of five-way key functions on touch plate of mobile terminal |
CN103744604A (en) * | 2014-01-06 | 2014-04-23 | 联想(北京)有限公司 | Information processing method and electronic device |
CN104035626A (en) * | 2014-07-02 | 2014-09-10 | 南昌欧菲生物识别技术有限公司 | Fingerprint recognition method, touch screen with fingerprint recognition function and terminal device |
CN105825208A (en) * | 2016-04-27 | 2016-08-03 | 乐视控股(北京)有限公司 | Method, apparatus and electronic device for controlling fingerprint sensor |
CN105956439A (en) * | 2016-04-27 | 2016-09-21 | 乐视控股(北京)有限公司 | Method and device for controlling fingerprint sensor and electronic equipment |
CN105956440A (en) * | 2016-04-27 | 2016-09-21 | 乐视控股(北京)有限公司 | Fingerprint sensor control method and apparatus, and electronic device |
CN105956540A (en) * | 2016-04-27 | 2016-09-21 | 乐视控股(北京)有限公司 | Method, device and electronic device for controlling a fingerprint sensor |
-
2016
- 2016-04-27 CN CN201610270980.6A patent/CN105825208A/en active Pending
- 2016-10-18 WO PCT/CN2016/102398 patent/WO2017185670A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090190805A1 (en) * | 2008-01-29 | 2009-07-30 | Acer Incorporated | System and method for fingerprint recognition |
CN102236504A (en) * | 2010-04-21 | 2011-11-09 | 上海三旗通信科技有限公司 | Operation mode capable of being compatible of five-way key functions on touch plate of mobile terminal |
CN103744604A (en) * | 2014-01-06 | 2014-04-23 | 联想(北京)有限公司 | Information processing method and electronic device |
CN104035626A (en) * | 2014-07-02 | 2014-09-10 | 南昌欧菲生物识别技术有限公司 | Fingerprint recognition method, touch screen with fingerprint recognition function and terminal device |
CN105825208A (en) * | 2016-04-27 | 2016-08-03 | 乐视控股(北京)有限公司 | Method, apparatus and electronic device for controlling fingerprint sensor |
CN105956439A (en) * | 2016-04-27 | 2016-09-21 | 乐视控股(北京)有限公司 | Method and device for controlling fingerprint sensor and electronic equipment |
CN105956440A (en) * | 2016-04-27 | 2016-09-21 | 乐视控股(北京)有限公司 | Fingerprint sensor control method and apparatus, and electronic device |
CN105956540A (en) * | 2016-04-27 | 2016-09-21 | 乐视控股(北京)有限公司 | Method, device and electronic device for controlling a fingerprint sensor |
Also Published As
Publication number | Publication date |
---|---|
CN105825208A (en) | 2016-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9710630B2 (en) | Electronic device and method of providing security using complex biometric information | |
EP3355222B1 (en) | Fingerprint identification terminal screen unlocking method and terminal | |
WO2017185667A1 (en) | Method and apparatus for controlling fingerprint sensor, and electronic device | |
KR102223416B1 (en) | User-authentication gestures | |
US20140189604A1 (en) | Method and system for unlocking a touchscreen of an electronic device | |
EP2836957B1 (en) | Location-based access control for portable electronic device | |
US20140181962A1 (en) | Application executing method using fingerprint recognition, device therefor, and computer readable recording medium therefor | |
JP6793732B2 (en) | Information image display method and equipment | |
WO2017185670A1 (en) | Method and device for controlling fingerprint sensor, and electronic device | |
KR20160139010A (en) | Fingerprint recogn1tion-based terminal and method and system for logging in to same in stand-by state | |
EP2541452A1 (en) | Authentication method of user of electronic device | |
WO2019101096A1 (en) | Method and device for security verification and mobile terminal | |
US9207850B2 (en) | Application executing method using fingerprint recognition, device therefor, and computer readable recording medium therefor | |
CN110287666B (en) | Fingerprint unlocking method and related device | |
KR20120082772A (en) | Apparatus and method for statistical user identification using incremental user behavior | |
CN105303172A (en) | Calibration parameter obtaining method and device of fingerprint sensor and mobile terminal | |
US10013595B2 (en) | Correlating fingerprints to pointing input device actions | |
US20160210452A1 (en) | Multi-gesture security code entry | |
CN106570370A (en) | User identity identification method and device | |
CN107132947A (en) | A kind of terminal with fingerprint identification function | |
WO2017185672A1 (en) | Method and device for controlling fingerprint sensor, and electronic device | |
WO2019041243A1 (en) | Method for verifying function of fingerprint sensor and terminal | |
CN104156168B (en) | The unlocking method and its system of a kind of mobile terminal | |
US20180357198A1 (en) | Method and apparatus for controlling serial peripheral interface of fingerprint sensor, and mobile terminal | |
CN104346073A (en) | Information processing method and electronic equipment |
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: 16900178 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16900178 Country of ref document: EP Kind code of ref document: A1 |