[go: up one dir, main page]

CN112799497B - Fingerprint module working mode control method, device and storage medium - Google Patents

Fingerprint module working mode control method, device and storage medium Download PDF

Info

Publication number
CN112799497B
CN112799497B CN202110064960.4A CN202110064960A CN112799497B CN 112799497 B CN112799497 B CN 112799497B CN 202110064960 A CN202110064960 A CN 202110064960A CN 112799497 B CN112799497 B CN 112799497B
Authority
CN
China
Prior art keywords
mode
fingerprint module
fingerprint
navigation
working mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110064960.4A
Other languages
Chinese (zh)
Other versions
CN112799497A (en
Inventor
张春胜
韩婷婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110064960.4A priority Critical patent/CN112799497B/en
Publication of CN112799497A publication Critical patent/CN112799497A/en
Application granted granted Critical
Publication of CN112799497B publication Critical patent/CN112799497B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3243Power saving in microcontroller unit
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor
    • G06V40/1306Sensors therefor non-optical, e.g. ultrasonic or capacitive sensing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • Image Input (AREA)

Abstract

The disclosure relates to a method, a device and a storage medium for controlling a working mode of a fingerprint module. The working mode control method of the fingerprint module is applied to a terminal, the terminal comprises the fingerprint module, the working mode of the fingerprint module at least comprises an identification mode and an idle mode, and the working mode control method of the fingerprint module comprises the following steps: a fingerprint authentication result in the recognition mode is determined. And if the fingerprint authentication result indicates that the identity authentication is successful, switching the working mode of the fingerprint module from the identification mode to the idle mode. By the method, power consumption can be reduced, and meaningless power consumption loss can be reduced.

Description

指纹模组的工作模式控制方法、装置及存储介质Fingerprint module working mode control method, device and storage medium

技术领域Technical Field

本公开涉及终端控制技术领域,尤其涉及一种指纹模组的工作模式控制方法、装置及存储介质。The present disclosure relates to the field of terminal control technology, and in particular to a method, device and storage medium for controlling a working mode of a fingerprint module.

背景技术Background technique

指纹识别技术已广泛应用于终端中。其中,终端中的指纹模组可以采用电容式指纹传感器作为该终端用于进行指纹识别的传感器。电容式指纹传感器是通过电容压感数值的变化来识别指纹,且具有体积小、效率高、高仿伪、性能稳定等优势。Fingerprint recognition technology has been widely used in terminals. Among them, the fingerprint module in the terminal can use a capacitive fingerprint sensor as the sensor used by the terminal for fingerprint recognition. The capacitive fingerprint sensor recognizes fingerprints through changes in the capacitance pressure value, and has the advantages of small size, high efficiency, high counterfeiting, and stable performance.

相关技术中,采用电容式式传感器进行指纹解锁后,电容式指纹传感器的工作模式状态由识别模式转化成导航(key)模式,进而容易产生因用户误触而触发的导航事件。导致终端的底层将误发生的导航事件上报至终端上层,增加指纹模组的功耗。In the related art, after a capacitive sensor is used for fingerprint unlocking, the working mode of the capacitive fingerprint sensor is changed from recognition mode to navigation (key) mode, which is prone to generate navigation events triggered by user's accidental touch, causing the bottom layer of the terminal to report the erroneous navigation event to the upper layer of the terminal, increasing the power consumption of the fingerprint module.

发明内容Summary of the invention

为克服相关技术中存在的问题,本公开提供一种指纹模组的工作模式控制方法、装置及存储介质。In order to overcome the problems existing in the related art, the present disclosure provides a method, device and storage medium for controlling the working mode of a fingerprint module.

根据本公开实施例的第一方面,提供一种指纹模组的工作模式控制方法,应用于终端,所述终端包括指纹模组,所述指纹模组的工作模式至少包括识别模式和空闲模式,所述指纹模组的工作模式控制方法包括:确定在所述识别模式下的指纹认证结果。若所述指纹认证结果表征身份认证成功,则将所述指纹模组的工作模式从所述识别模式切换至所述空闲模式。According to a first aspect of an embodiment of the present disclosure, a method for controlling a working mode of a fingerprint module is provided, which is applied to a terminal, wherein the terminal includes a fingerprint module, and the working mode of the fingerprint module includes at least an identification mode and an idle mode, and the method for controlling the working mode of the fingerprint module includes: determining a fingerprint authentication result in the identification mode. If the fingerprint authentication result indicates that the identity authentication is successful, the working mode of the fingerprint module is switched from the identification mode to the idle mode.

在一实施例中,所述指纹模组的工作模式还包括导航模式,所述指纹模组的工作模式控制方法还包括:若所述在指定次数阈值内,指纹认证结果持续表征未认证成功,则将所述指纹模组的工作模式从所述识别模式切换至所述导航模式,并在所述导航模式下进行非指纹式的身份认证。响应于在所述导航模式下身份认证成功,则将所述指纹模组从所述导航模式切换至所述空闲模式。In one embodiment, the working mode of the fingerprint module further includes a navigation mode, and the working mode control method of the fingerprint module further includes: if the fingerprint authentication result continues to indicate that the authentication is unsuccessful within the specified number of times, the working mode of the fingerprint module is switched from the identification mode to the navigation mode, and non-fingerprint identity authentication is performed in the navigation mode. In response to successful identity authentication in the navigation mode, the fingerprint module is switched from the navigation mode to the idle mode.

在另一实施例中,所述指纹模组的工作模式还包括导航模式,所述指纹模组的工作模式控制方法还包括:将所述指纹模组的工作模式从所述识别模式切换至所述空闲模式之后,响应于确定满足进入导航模式的触发条件,将所述指纹模组的工作模式由所述空闲模式切换至所述导航模式。In another embodiment, the working mode of the fingerprint module also includes a navigation mode, and the working mode control method of the fingerprint module also includes: after switching the working mode of the fingerprint module from the identification mode to the idle mode, in response to determining that the trigger condition for entering the navigation mode is met, switching the working mode of the fingerprint module from the idle mode to the navigation mode.

在又一实施例中,所述确定满足进入所述导航模式的触发条件,包括:响应于所述终端被触发执行第一事件,确定满足进入所述导航模式的触发条件,所述第一事件基于所述指纹模组的认证结果触发执行。In another embodiment, the determining that the triggering condition for entering the navigation mode is satisfied includes: in response to the terminal being triggered to execute a first event, determining that the triggering condition for entering the navigation mode is satisfied, the first event being triggered based on the authentication result of the fingerprint module.

在又一实施例中,所述指纹模组的工作模式控制方法还包括:响应于所述第一事件执行完毕,将所述指纹模组的工作模式由所述导航模式切换至所述空闲模式。In yet another embodiment, the fingerprint module working mode control method further includes: in response to completion of execution of the first event, switching the working mode of the fingerprint module from the navigation mode to the idle mode.

根据本公开实施例的第二方面,提供一种指纹模组的工作模式控制装置,应用于终端,所述终端包括指纹模组,所述指纹模组的工作模式至少包括识别模式和空闲模式,所述指纹模组的工作模式控制装置包括:确定单元,用于确定在所述识别模式下的指纹认证结果。切换单元,用于若所述指纹认证结果表征身份认证成功,则将所述指纹模组的工作模式从所述识别模式切换至所述空闲模式。According to a second aspect of an embodiment of the present disclosure, there is provided a fingerprint module working mode control device, which is applied to a terminal, wherein the terminal includes a fingerprint module, and the working mode of the fingerprint module includes at least an identification mode and an idle mode, and the fingerprint module working mode control device includes: a determination unit, which is used to determine a fingerprint authentication result in the identification mode; and a switching unit, which is used to switch the working mode of the fingerprint module from the identification mode to the idle mode if the fingerprint authentication result indicates that the identity authentication is successful.

在一实施例中,所述指纹模组的工作模式还包括导航模式,所述切换单元还用于:若在指定次数阈值内,所述指纹认证结果持续表征未认证成功,则将所述指纹模组的工作模式从所述识别模式切换至所述导航模式,并在所述导航模式下进行非指纹式的身份认证。响应于在所述导航模式下身份认证成功,则将所述指纹模组从所述导航模式切换至所述空闲模式。In one embodiment, the working mode of the fingerprint module further includes a navigation mode, and the switching unit is further used to: if the fingerprint authentication result continues to indicate that the authentication is unsuccessful within a specified number of times, the working mode of the fingerprint module is switched from the identification mode to the navigation mode, and non-fingerprint identity authentication is performed in the navigation mode. In response to successful identity authentication in the navigation mode, the fingerprint module is switched from the navigation mode to the idle mode.

在另一实施例中,所述指纹模组的工作模式还包括导航模式,所述切换单元还用于:将所述指纹模组的工作模式从所述识别模式切换至所述空闲模式之后,响应于确定满足进入所述导航模式的触发条件,将所述指纹模组的工作模式由所述空闲模式切换至所述导航模式。In another embodiment, the working mode of the fingerprint module also includes a navigation mode, and the switching unit is further used to: after switching the working mode of the fingerprint module from the identification mode to the idle mode, in response to determining that the trigger condition for entering the navigation mode is met, switch the working mode of the fingerprint module from the idle mode to the navigation mode.

在又一实施例中,所述切换单元采用下述方式确定满足进入所述导航模式的触发条件:响应于所述终端被触发执行第一事件,确定满足进入所述导航模式的触发条件,所述第一事件基于所述指纹模组的认证结果触发执行。In another embodiment, the switching unit determines whether the trigger condition for entering the navigation mode is met in the following manner: in response to the terminal being triggered to execute a first event, it is determined that the trigger condition for entering the navigation mode is met, and the first event is triggered based on the authentication result of the fingerprint module.

在又一实施例中,所述切换单元还用于:响应于所述第一事件执行完毕,将所述指纹模组的工作模式由所述导航模式切换至空闲模式。In yet another embodiment, the switching unit is further configured to: in response to completion of execution of the first event, switch the working mode of the fingerprint module from the navigation mode to the idle mode.

根据本公开实施例的第三方面,提供一种指纹模组的工作模式控制装置,所述指纹模组的工作模式控制装置包括:存储器,用于存储指令;以及处理器,用于调用所述存储器存储的指令执行上述任意一种所述的指纹模组的工作模式控制方法。According to a third aspect of an embodiment of the present disclosure, a fingerprint module working mode control device is provided, the fingerprint module working mode control device comprising: a memory for storing instructions; and a processor for calling the instructions stored in the memory to execute any one of the above-mentioned fingerprint module working mode control methods.

根据本公开实施例的第四方面,提供一种计算机可读存储介质,其中存储有指令,所述指令被处理器执行时,执行上述任意一种所述的指纹模组的工作模式控制方法。According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, in which instructions are stored. When the instructions are executed by a processor, any one of the above-mentioned methods for controlling the working mode of the fingerprint module is executed.

本公开的实施例提供的技术方案可以包括以下有益效果:基于指纹模组的指纹检测结果,确定在指纹认证成功后,直接将指纹模组的工作模式从识别模式切换至空闲模式,进而避免指纹认证成功后将指纹模组的工作模式由识别模式切换至导航模式,在导航模式下终端将用户误触发生的导航事件上传至终端的上层中,从而降低功耗,减少无意义的功耗损失。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: based on the fingerprint detection result of the fingerprint module, it is determined that after the fingerprint authentication is successful, the working mode of the fingerprint module is directly switched from the recognition mode to the idle mode, thereby avoiding switching the working mode of the fingerprint module from the recognition mode to the navigation mode after the fingerprint authentication is successful. In the navigation mode, the terminal uploads the navigation events caused by the user's accidental touch to the upper layer of the terminal, thereby reducing power consumption and reducing meaningless power consumption losses.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

图1是根据一示例性实施例示出的一种指纹模组的工作模式控制方法的流程图。Fig. 1 is a flow chart showing a method for controlling a working mode of a fingerprint module according to an exemplary embodiment.

图2是根据一示例性实施例示出的另一种指纹模组的工作模式控制方法的流程图。Fig. 2 is a flow chart showing another method for controlling a working mode of a fingerprint module according to an exemplary embodiment.

图3是根据一示例性实施例示出的又一种指纹模组的工作模式控制方法的流程图。Fig. 3 is a flow chart showing another method for controlling a working mode of a fingerprint module according to an exemplary embodiment.

图4是根据一示例性实施例示出的又一种指纹模组的工作模式控制方法的流程图。Fig. 4 is a flow chart showing another method for controlling a working mode of a fingerprint module according to an exemplary embodiment.

图5是根据一示例性实施例示出的一种指纹模组的工作模式控制流程图。Fig. 5 is a flow chart showing a control flow of a working mode of a fingerprint module according to an exemplary embodiment.

图6是根据一示例性实施例示出的一种终端的指纹模组的工作模式控制装置的框图。Fig. 6 is a block diagram showing a device for controlling a working mode of a fingerprint module of a terminal according to an exemplary embodiment.

图7是根据一示例性实施例示出的一种装置的框图。Fig. 7 is a block diagram of a device according to an exemplary embodiment.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

本公开实施例提供的指纹模组的工作模式控制方法可以应用于具备指纹模组的终端,并基于指纹模组进行指纹认证识别的场景中。例如,终端基于指纹模组进行指纹认证识别实现终端解锁功能的场景。The fingerprint module working mode control method provided by the embodiment of the present disclosure can be applied to a terminal equipped with a fingerprint module and in a scenario where fingerprint authentication and identification is performed based on the fingerprint module, for example, a scenario where the terminal performs fingerprint authentication and identification based on the fingerprint module to realize the terminal unlocking function.

相关技术中,指纹模组可以是电容式指纹传感器。其在工作场景下的工作模式可以包括:识别模式和导航模式。其中,识别模式是一种用于指纹监听以及用于用户身份验证的模式。导航模式是一种用于导航用户触发某些事件执行的模式。当基于指纹进行解锁后,指纹模组的工作模式会从识别模式切换成导航模式,以便用户在终端上基于指纹识别功能进行触发导航事件,以实现应用功能的实现。例如,在导航模式下触发进入拍照模式,并在进入拍照模式后,利用指纹控制照片拍摄等。但在终端解锁后,直接将指纹模组的工作模式由识别模式切换成导航模式,容易在用户不知情的情况下误触发导航事件,进而导致指纹模组将误触发的导航事件上报至终端上层中,产生不必要的功耗。In the related art, the fingerprint module may be a capacitive fingerprint sensor. Its working modes in the working scenario may include: recognition mode and navigation mode. Among them, the recognition mode is a mode for fingerprint monitoring and user identity authentication. Navigation mode is a mode for navigating users to trigger certain events to execute. After unlocking based on fingerprint, the working mode of the fingerprint module will switch from recognition mode to navigation mode, so that the user can trigger navigation events based on the fingerprint recognition function on the terminal to realize the application function. For example, triggering to enter the camera mode in navigation mode, and after entering the camera mode, using fingerprints to control photo shooting, etc. However, after the terminal is unlocked, directly switching the working mode of the fingerprint module from recognition mode to navigation mode can easily trigger navigation events by mistake without the user's knowledge, which in turn causes the fingerprint module to report the mistakenly triggered navigation events to the upper layer of the terminal, resulting in unnecessary power consumption.

有鉴于此,本公开提供一种指纹模组的工作模式控制方法,能够在指纹认证成功的情况下,将指纹模组的识别模式切换至空闲(IDLE)模式。其中,空闲模式下,使指纹模组在解锁后处于一种无任务在等待的状态下。由于解锁后的指纹模组的工作模式由识别模式切换至空闲模式,而非切换至导航模式,因此,当用户在不知情的情况下误触指纹模组时,不会触发导航事件的发生,进而有助于避免指纹模组产生无用功耗,降低指纹模组所产生的功耗损失。In view of this, the present disclosure provides a method for controlling the working mode of a fingerprint module, which can switch the recognition mode of the fingerprint module to the idle (IDLE) mode when the fingerprint authentication is successful. In the idle mode, the fingerprint module is placed in a state of waiting without a task after being unlocked. Since the working mode of the fingerprint module after unlocking is switched from the recognition mode to the idle mode instead of switching to the navigation mode, when the user accidentally touches the fingerprint module without knowing it, the navigation event will not be triggered, thereby helping to avoid useless power consumption of the fingerprint module and reduce the power consumption loss caused by the fingerprint module.

本公开实施例一示例性实施例提供的一种指纹模组的工作模式控制方法应用于终端。该终端中包括指纹模组,进而能够识别指纹信息。An exemplary embodiment of the present disclosure provides a method for controlling a working mode of a fingerprint module, which is applied to a terminal. The terminal includes a fingerprint module, and can identify fingerprint information.

在一例中,指纹模组可以是电容式指纹传感器。指纹模组的工作模式可以至少包括识别模式和空闲模式。其中,识别模式是用于监听指纹和用于用户身份验证的工作模式。空闲模式是指纹模组处于无任务在等待状态的工作模式。In one example, the fingerprint module may be a capacitive fingerprint sensor. The working mode of the fingerprint module may include at least a recognition mode and an idle mode. The recognition mode is a working mode for monitoring fingerprints and for user identity authentication. The idle mode is a working mode in which the fingerprint module is in a waiting state without any tasks.

在另一例中,终端的种类可以包括移动终端,例如:手机、平板、ipod等。在又一例中,终端的结构可以包括:双面屏终端、折叠屏终端、全面屏终端等。In another example, the type of terminal may include a mobile terminal, such as a mobile phone, a tablet, an iPod, etc. In yet another example, the structure of the terminal may include a double-sided screen terminal, a folding screen terminal, a full-screen terminal, etc.

图1是根据一示例性实施例示出的一种指纹模组的工作模式控制方法的流程图,如图1所示,指纹模组的工作模式控制方法用于终端中,包括以下步骤S11至步骤S12。FIG1 is a flow chart of a method for controlling a working mode of a fingerprint module according to an exemplary embodiment. As shown in FIG1 , the method for controlling a working mode of a fingerprint module is used in a terminal and includes the following steps S11 to S12.

在步骤S11中,确定在识别模式下的指纹认证结果。In step S11, the fingerprint authentication result in the recognition mode is determined.

在本公开实施例中,识别模式是指纹模组用于进行指纹监听和验证用户身份的工作模式。在识别模式下,可以针对触控在指纹模组上的指纹进行指纹认证,以便确定该指纹是否属于合法用户的指纹,进而得到该指纹的指纹认证结果。其中,指纹认证结果可以表征认证成功或者认证失败。当指纹认证结果表征为认证成功时,则证明该指纹属于合法指纹,可以使用该终端。当指纹认证结果表征为未认证成功时,则证明该指纹属于非法指纹,不能使用该终端。在一示例中,进行指纹认证的使用场景可以包括:终端解锁、账户认证或者支付等场景。In the disclosed embodiment, the identification mode is a working mode of the fingerprint module for fingerprint monitoring and user identity verification. In the identification mode, fingerprint authentication can be performed on the fingerprint touched on the fingerprint module to determine whether the fingerprint belongs to a valid user's fingerprint, and then obtain a fingerprint authentication result of the fingerprint. Among them, the fingerprint authentication result can represent a successful authentication or a failed authentication. When the fingerprint authentication result is characterized as a successful authentication, it proves that the fingerprint is a legal fingerprint and the terminal can be used. When the fingerprint authentication result is characterized as an unsuccessful authentication, it proves that the fingerprint is an illegal fingerprint and the terminal cannot be used. In one example, the use scenarios for fingerprint authentication may include: terminal unlocking, account authentication or payment and other scenarios.

在步骤S12中,若指纹认证结果表征身份认证成功,则将指纹模组的工作模式从识别模式切换至空闲模式。In step S12, if the fingerprint authentication result indicates that the identity authentication is successful, the working mode of the fingerprint module is switched from the recognition mode to the idle mode.

在本公开实施例中,若指纹认证结果表征身份认证成功,则表明用于指纹认证的指纹属于合法指纹,进而可以使用该终端。本公开实施例中,在确定指纹认证成功后,终端的底层服务能够将指纹模组的工作模式从识别模式切换至空闲模式,空闲模式下,指纹模组在解锁后处于一种无任务在等待的状态下,故可以节省指纹模组产生的非必要的功耗,减少功耗损失。In the disclosed embodiment, if the fingerprint authentication result indicates that the identity authentication is successful, it indicates that the fingerprint used for fingerprint authentication is a legal fingerprint, and the terminal can be used. In the disclosed embodiment, after determining that the fingerprint authentication is successful, the underlying service of the terminal can switch the working mode of the fingerprint module from the identification mode to the idle mode. In the idle mode, the fingerprint module is in a state of waiting without tasks after being unlocked, so it can save unnecessary power consumption generated by the fingerprint module and reduce power consumption loss.

通过上述实施例,在指纹认证成功后,基于终端的底层服务将指纹模组的工作模式从识别模式切换至空闲模式,无需告知上层服务。另一方面,使指纹模组的工作模式在进行切换时,上层接收到指纹认证成功后的事件,无需调用并切换导航模式,进而有助于减少上层服务调用导航模式时所产生的功耗损失。并且,将工作模式切换至空闲模式后,指纹模组在解锁后处于一种无任务在等待的状态下,故可以节省指纹模组产生的非必要的功耗,从而有利于降低终端整体的功耗浪费。Through the above-mentioned embodiments, after the fingerprint authentication is successful, the bottom layer service based on the terminal switches the working mode of the fingerprint module from the identification mode to the idle mode without informing the upper layer service. On the other hand, when the working mode of the fingerprint module is switched, the upper layer receives the event after the fingerprint authentication is successful, and there is no need to call and switch the navigation mode, which helps to reduce the power consumption loss caused by the upper layer service calling the navigation mode. In addition, after the working mode is switched to the idle mode, the fingerprint module is in a state of waiting without a task after unlocking, so it can save unnecessary power consumption generated by the fingerprint module, which is beneficial to reduce the overall power consumption waste of the terminal.

在一实施场景中,当终端处于锁屏状态时,指纹模组的工作模式为识别模式,此时可以监听是否有触发进行指纹认证的指纹。当在识别模式下监听到有手指按压时,则对手指的指纹进行指纹认证。若指纹认证结果表征身份认证成功,则该指纹属于合法指纹,可以通过解锁认证。指纹认证通过后,终端的底层服务将指纹模组的识别模式切换至空闲模式,并绘制桌面,完成解锁。In one implementation scenario, when the terminal is in the lock screen state, the fingerprint module works in the identification mode, and at this time, it can monitor whether there is a fingerprint that triggers fingerprint authentication. When a finger press is detected in the identification mode, the fingerprint of the finger is authenticated. If the fingerprint authentication result indicates that the identity authentication is successful, the fingerprint is a legal fingerprint and can pass the unlocking authentication. After the fingerprint authentication is passed, the terminal's underlying service switches the fingerprint module's identification mode to the idle mode, draws the desktop, and completes the unlocking.

在一实施例中,指纹模组的工作模式还包括导航模式。其中,导航模式是一种用于导航用户触发某些事件的模式,可以基于用户的触控,触发并执行对应的导航事件。导航模式的调用与切换可以是基于终端中的上层服务所控制。In one embodiment, the working mode of the fingerprint module also includes a navigation mode. The navigation mode is a mode for navigating users to trigger certain events, and can trigger and execute corresponding navigation events based on the user's touch. The calling and switching of the navigation mode can be controlled by the upper layer service in the terminal.

图2是根据一示例性实施例示出的另一种指纹模组的工作模式控制方法的流程图,如图2所示,指纹模组的工作模式控制方法用于终端中,包括以下步骤S21至步骤S23。FIG2 is a flow chart of another method for controlling the working mode of a fingerprint module according to an exemplary embodiment. As shown in FIG2 , the method for controlling the working mode of a fingerprint module is used in a terminal, and includes the following steps S21 to S23 .

在步骤S21中,确定在识别模式下的指纹认证结果。In step S21, the fingerprint authentication result in the recognition mode is determined.

在步骤S221中,若指纹认证结果表征身份认证成功,则将指纹模组的工作模式从识别模式切换至空闲模式。In step S221 , if the fingerprint authentication result indicates that the identity authentication is successful, the working mode of the fingerprint module is switched from the recognition mode to the idle mode.

在步骤S222中,若在指定次数阈值内,指纹认证结果持续表征未认证成功,则将指纹模组的工作模式从识别模式切换至导航模式,并在导航模式下进行非指纹式的身份认证。In step S222, if the fingerprint authentication result continues to indicate that the authentication is unsuccessful within the specified number of times, the working mode of the fingerprint module is switched from the recognition mode to the navigation mode, and non-fingerprint identity authentication is performed in the navigation mode.

在本公开实施例中,限定进行指纹认证的指定次数阈值,以避免用户在进行指纹认证时,指纹所按压的地方可能与指纹模组所在的位置发生偏差,导致识别模式在进行指纹认证时不能进行有效认证。若指纹在指定次数阈值内持续进行指纹认证的结果均未认证成功时,则证明该指纹属于非法指纹,不能访问并使用该终端。为避免指纹模组的误识别或者避免合法用户无法正常完成指纹认证,终端底层会将该未认证成功的事件上报至上层,由上层调用指纹模组的导航模式,并将指纹模组的工作模式从识别模式切换至导航模式,以便合法用户能够使用其他身份认证方式,进行身份认证。由于指纹模组在导航模式下无法识别指纹,则在导航模式下提供非指纹式的认证方式,以使当前指纹对应的用户在导航模式下,能够采用其他的触控方式进行非指纹的身份认证。通过提供非指纹式的身份认证方式,能够避免指纹对应的用户因暂时无法进行指纹认证而导致无法进行身份认证的事件发生。在一例中,非指纹式的身份认证方式可以包括:密码解锁、图案解锁或者手势解锁。In the disclosed embodiment, the threshold of the specified number of times for fingerprint authentication is limited to avoid the deviation of the place where the fingerprint is pressed from the location of the fingerprint module when the user performs fingerprint authentication, resulting in the inability to perform effective authentication in the identification mode when performing fingerprint authentication. If the fingerprint authentication results of the fingerprint are not successfully authenticated within the specified number of times, it is proved that the fingerprint is an illegal fingerprint and cannot access and use the terminal. In order to avoid misidentification of the fingerprint module or to avoid the legal user from being unable to complete the fingerprint authentication normally, the terminal bottom layer will report the unsuccessful authentication event to the upper layer, which calls the navigation mode of the fingerprint module and switches the working mode of the fingerprint module from the identification mode to the navigation mode, so that the legal user can use other identity authentication methods to perform identity authentication. Since the fingerprint module cannot recognize the fingerprint in the navigation mode, a non-fingerprint authentication method is provided in the navigation mode, so that the user corresponding to the current fingerprint can use other touch methods for non-fingerprint identity authentication in the navigation mode. By providing a non-fingerprint identity authentication method, it is possible to avoid the occurrence of an event that the user corresponding to the fingerprint cannot perform identity authentication due to temporary inability to perform fingerprint authentication. In one example, the non-fingerprint identity authentication method may include: password unlocking, pattern unlocking or gesture unlocking.

在步骤S23中,响应于在导航模式下身份认证成功,则将指纹模组从导航模式切换至空闲模式。In step S23, in response to successful identity authentication in the navigation mode, the fingerprint module is switched from the navigation mode to the idle mode.

在本公开实施例中,响应于指纹对应的用户在导航模式下身份验证成功,则可以表征该指纹对应的用户属于合法用户,可以使用该终端。在身份认证成功后,终端的上层服务将导航模式关闭,将指纹模组从导航模式切换至空闲模式,以避免当导航模式长期开启时,用户在不知情的情况下误触发导航事件而导致上层服务下发导航事件任务所产生的功耗。In the disclosed embodiment, in response to the successful identity authentication of the user corresponding to the fingerprint in the navigation mode, it can be characterized that the user corresponding to the fingerprint is a legitimate user and can use the terminal. After the identity authentication is successful, the upper layer service of the terminal turns off the navigation mode and switches the fingerprint module from the navigation mode to the idle mode to avoid the power consumption caused by the upper layer service sending the navigation event task due to the user accidentally triggering the navigation event without knowing it when the navigation mode is turned on for a long time.

通过上述实施例,当指纹认证失败时,终端的上层服务可以将指纹模组的工作模式切换至导航模式,进而使用户可以在导航模式的基础上采用其他身份认证方式进行身份认证,从而有助于避免指纹误识别的现象发生,使用户可以正常使用终端。Through the above embodiment, when fingerprint authentication fails, the upper-layer service of the terminal can switch the working mode of the fingerprint module to the navigation mode, so that the user can use other authentication methods for identity authentication based on the navigation mode, thereby helping to avoid the phenomenon of fingerprint misrecognition and allowing the user to use the terminal normally.

在另一实施例中,若在指定次数阈值内,所述指纹认证结果持续表征未认证成功,且在导航模式下进行身份认证时也身份认证失败,则表征当前使用终端进行身份认证的用户为非法用户。此时,触发指纹模组的等待机制,取消指纹模组继续执行身份认证的功能,以使指纹模组在指定时间内无法进行身份认证处理,进而保护终端,防止终端中的用户信息被泄露。在超过指定时间后,则将指纹模组从导航模式切换至识别模式,重新监听指纹及用户身份的验证,以保障终端的正常使用。In another embodiment, if within the specified number of times, the fingerprint authentication result continues to indicate that the authentication is unsuccessful, and the authentication also fails when the identity authentication is performed in the navigation mode, it indicates that the user currently using the terminal for identity authentication is an illegal user. At this time, the waiting mechanism of the fingerprint module is triggered, and the fingerprint module is canceled from continuing to perform the identity authentication function, so that the fingerprint module cannot perform the identity authentication process within the specified time, thereby protecting the terminal and preventing the user information in the terminal from being leaked. After exceeding the specified time, the fingerprint module is switched from the navigation mode to the identification mode, and the fingerprint and user identity verification are re-monitored to ensure the normal use of the terminal.

在又一实施例中,为保证终端的正常使用,当需要指纹模组的工作模式处于导航模式时,则可以基于满足的触发条件,利用上层服务,将指纹模组的工作模式从空闲模式切换至导航模式。在一示例中,如图3所示,基于指纹认证成功后,指纹模组的工作模式从识别模式切换处于空闲模式。其中,图3是根据一示例性实施例示出的又一种指纹模组的工作模式控制方法的流程图。在另一示例中,如图4所示,指纹模组的工作模式处于空闲模式,可以是基于身份认证成功后,从导航模式切换后得到的。其中,图4是根据一示例性实施例示出的又一种指纹模组的工作模式控制方法的流程图。In another embodiment, in order to ensure the normal use of the terminal, when the working mode of the fingerprint module is required to be in the navigation mode, the working mode of the fingerprint module can be switched from the idle mode to the navigation mode based on the satisfied trigger conditions and by using the upper layer service. In one example, as shown in FIG3, based on the successful fingerprint authentication, the working mode of the fingerprint module is switched from the identification mode to the idle mode. Among them, FIG3 is a flowchart of another working mode control method of a fingerprint module according to an exemplary embodiment. In another example, as shown in FIG4, the working mode of the fingerprint module is in the idle mode, which can be obtained after switching from the navigation mode after the identity authentication is successful. Among them, FIG4 is a flowchart of another working mode control method of a fingerprint module according to an exemplary embodiment.

其中,本公开实施例中可以预先设置触发进入导航模式的触发条件,进而基于用户的操作,将用户的触发的事件上报至上层服务中,由上层服务进行监听。当上层服务确定该用户的操作满足进入导航模式的触发条件时,上层服务进行响应并调用导航模式,将指纹模组的工作模式由空闲模式切换至导航模式,以便指纹模组能够针对用户所触发的进行响应,保障用户的正常使用。Among them, in the embodiment of the present disclosure, the triggering conditions for entering the navigation mode can be pre-set, and then based on the user's operation, the user's triggered event is reported to the upper-layer service, and the upper-layer service monitors it. When the upper-layer service determines that the user's operation meets the triggering conditions for entering the navigation mode, the upper-layer service responds and calls the navigation mode, switching the working mode of the fingerprint module from the idle mode to the navigation mode, so that the fingerprint module can respond to the user's trigger and ensure the normal use of the user.

在一实施例中,确定满足进入导航模式的触发条件可以是基于终端被触发执行的第一事件所确定的。本公开实施例中的第一事件基于指纹模组的认证结果触发执行。即,基于指纹认证成功或者身份认证成功,触发执行第一事件。进入导航模式的触发条件,可以是需要调用并使用该导航模式进行响应功能操作的条件。本公开实施例中,响应于终端被触发执行第一事件,确定满足进入导航模式的触发条件,并控制指纹模组的工作模式切换至导航模式。In one embodiment, determining that the trigger condition for entering the navigation mode is satisfied may be determined based on a first event that the terminal is triggered to execute. The first event in the disclosed embodiment is triggered to execute based on the authentication result of the fingerprint module. That is, the first event is triggered to execute based on successful fingerprint authentication or successful identity authentication. The trigger condition for entering the navigation mode may be a condition that requires calling and using the navigation mode to perform a response function operation. In the disclosed embodiment, in response to the terminal being triggered to execute the first event, it is determined that the trigger condition for entering the navigation mode is satisfied, and the working mode of the fingerprint module is controlled to switch to the navigation mode.

在一例中,第一事件可以是运行需要触控操作的应用。当运行该应用时,则满足进入导航模式的触发条件,由该应用对应的应用处理器通知上层服务调用并将指纹模组的工作模式切换至导航模式。例如:第一应用为相机应用时,运行该相机需要指纹控制照片拍摄。若相机应用被触发启动,可以确定该相机启动事件满足进入导航模式的触发条件。由该应用对应的应用处理器通知上层服务调用并将指纹模组的工作模式切换至导航模式。In one example, the first event may be running an application that requires touch operation. When the application is running, the trigger condition for entering the navigation mode is met, and the application processor corresponding to the application notifies the upper-layer service to call and switch the working mode of the fingerprint module to the navigation mode. For example: when the first application is a camera application, running the camera requires fingerprint control of photo shooting. If the camera application is triggered to start, it can be determined that the camera startup event meets the trigger condition for entering the navigation mode. The application processor corresponding to the application notifies the upper-layer service to call and switch the working mode of the fingerprint module to the navigation mode.

在另一实施例中,当第一事件执行完毕后,则表征用户暂时不需要采用指纹触发相关事件,进而由上层服务关闭导航模式,将导航模式切换至空闲模式,以便降低指纹模组的功耗。In another embodiment, when the first event is executed, it indicates that the user does not need to use fingerprint to trigger related events temporarily, and then the upper layer service turns off the navigation mode and switches the navigation mode to the idle mode to reduce the power consumption of the fingerprint module.

在一实施场景中,指纹模组的工作模式控制流程可以如图5所示。当终端处于锁屏状态时,指纹模组的工作状态处于识别模式,用于指纹监听。在识别模式下,当监测到用户的手指按压时,进行解锁认证。如果成功,则用户的身份认证成功,绘制桌面,并将指纹模组的工作模式切换至空闲模式。如果失败,且5次解锁失败时,则将指纹模组的工作模式切换至导航模式,并将指纹解锁切换成密码解锁。若密码解锁成功,则将指纹模组的工作模式切换至空闲模式。若密码解锁失败,则触发等待机制,等待30秒(s)后,将指纹模组的工作模式切换至识别模式。基于身份认证成功,响应于终端被触发执行第一事件,确定满足进入导航模式地触发条件,将指纹模组的工作模式从空闲模式切换至识别模式。第一事件可以包括利用指纹进行拍照。第一事件执行完毕后,将所述指纹模组的工作模式由导航模式切换至空闲模式。In one implementation scenario, the working mode control flow of the fingerprint module can be shown in Figure 5. When the terminal is in the lock screen state, the working state of the fingerprint module is in the identification mode for fingerprint monitoring. In the identification mode, when the user's finger is detected to press, unlock authentication is performed. If successful, the user's identity authentication is successful, the desktop is drawn, and the working mode of the fingerprint module is switched to the idle mode. If it fails, and the unlocking fails 5 times, the working mode of the fingerprint module is switched to the navigation mode, and the fingerprint unlocking is switched to the password unlocking. If the password unlocking is successful, the working mode of the fingerprint module is switched to the idle mode. If the password unlocking fails, the waiting mechanism is triggered, and after waiting for 30 seconds (s), the working mode of the fingerprint module is switched to the identification mode. Based on the successful identity authentication, in response to the terminal being triggered to execute the first event, it is determined that the triggering condition for entering the navigation mode is met, and the working mode of the fingerprint module is switched from the idle mode to the identification mode. The first event may include taking a photo using a fingerprint. After the first event is executed, the working mode of the fingerprint module is switched from the navigation mode to the idle mode.

基于相同的构思,本公开实施例还提供一种应用于终端的指纹模组的工作模式控制装置。其中,终端包括指纹模组,指纹模组的工作模式至少包括识别模式和空闲模式。Based on the same concept, the embodiment of the present disclosure also provides a device for controlling the working mode of a fingerprint module applied to a terminal, wherein the terminal includes a fingerprint module, and the working mode of the fingerprint module includes at least an identification mode and an idle mode.

可以理解的是,本公开实施例提供的指纹模组的工作模式控制装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。结合本公开实施例中所公开的各示例的单元及算法步骤,本公开实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以对每个特定的应用来使用不同的方法来实现所描述的功能,但是这种实现不应认为超出本公开实施例的技术方案的范围。It is understandable that the working mode control device of the fingerprint module provided in the embodiment of the present disclosure includes hardware structures and/or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.

图6是根据一示例性实施例示出的一种指纹模组的工作模式控制装置框图。参照图6,该指纹模组的工作模式控制装置100包括确定单元101和切换单元102。Fig. 6 is a block diagram of a device for controlling a working mode of a fingerprint module according to an exemplary embodiment. Referring to Fig. 6 , the device 100 for controlling a working mode of a fingerprint module includes a determining unit 101 and a switching unit 102 .

确定单元101,用于确定在识别模式下的指纹认证结果。The determination unit 101 is used to determine the fingerprint authentication result in the recognition mode.

切换单元102,用于若指纹认证结果表征身份认证成功,则将指纹模组的工作模式从识别模式切换至空闲模式。The switching unit 102 is configured to switch the working mode of the fingerprint module from the recognition mode to the idle mode if the fingerprint authentication result indicates that the identity authentication is successful.

在一实施例中,指纹模组的工作模式还包括导航模式,切换单元102还用于:若在指定次数阈值内,指纹认证结果继续表征未认证成功,则将指纹模组的工作模式从识别模式切换至导航模式,并在导航模式下进行非指纹式的身份认证。响应于在导航模式下身份认证成功,则将指纹模组从导航模式切换至空闲模式。In one embodiment, the working mode of the fingerprint module further includes a navigation mode, and the switching unit 102 is further used to: if the fingerprint authentication result continues to indicate that the authentication is unsuccessful within a specified number of times, the working mode of the fingerprint module is switched from the identification mode to the navigation mode, and non-fingerprint identity authentication is performed in the navigation mode. In response to successful identity authentication in the navigation mode, the fingerprint module is switched from the navigation mode to the idle mode.

在另一实施例中,指纹模组的工作模式还包括导航模式,切换单元102还用于:将指纹模组的工作模式从识别模式切换至空闲模式之后,响应于确定满足进入导航模式的触发条件,将指纹模组的工作模式由空闲模式切换至导航模式。In another embodiment, the working mode of the fingerprint module also includes a navigation mode, and the switching unit 102 is further used to: after switching the working mode of the fingerprint module from the identification mode to the idle mode, in response to determining that the trigger condition for entering the navigation mode is met, switch the working mode of the fingerprint module from the idle mode to the navigation mode.

在又一实施例中,切换单元102采用下述方式确定满足进入导航模式的触发条件:响应于终端被触发执行第一事件,确定满足进入导航模式的触发条件,第一事件基于指纹模组的认证结果触发执行。In another embodiment, the switching unit 102 determines whether the triggering condition for entering the navigation mode is met in the following manner: in response to the terminal being triggered to execute a first event, it is determined that the triggering condition for entering the navigation mode is met, and the first event is triggered to execute based on the authentication result of the fingerprint module.

在又一实施例中,切换单元102还用于:响应于第一事件执行完毕,将指纹模组的工作模式由导航模式切换至空闲模式。In another embodiment, the switching unit 102 is further configured to: in response to completion of the first event, switch the working mode of the fingerprint module from the navigation mode to the idle mode.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

图7是根据一示例性实施例示出的一种用于指纹模组的工作模式控制的装置200的框图。例如,装置200可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 7 is a block diagram of a device 200 for controlling the working mode of a fingerprint module according to an exemplary embodiment. For example, the device 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

参照图7,装置200可以包括以下一个或多个组件:处理组件202,存储器204,电力组件206,多媒体组件208,音频组件210,输入/输出(I/O)的接口212,传感器组件214,以及通信组件216。7 , the apparatus 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input/output (I/O) interface 212 , a sensor component 214 , and a communication component 216 .

处理组件202通常控制装置200的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件202可以包括一个或多个处理器220来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件202可以包括一个或多个模块,便于处理组件202和其他组件之间的交互。例如,处理组件202可以包括多媒体模块,以方便多媒体组件208和处理组件202之间的交互。The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 202 may include one or more modules to facilitate interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.

存储器204被配置为存储各种类型的数据以支持在装置200的操作。这些数据的示例包括用于在装置200上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器204可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 204 is configured to store various types of data to support operations on the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

电力组件206为装置200的各种组件提供电力。电力组件206可以包括电源管理系统,一个或多个电源,及其他与为装置200生成、管理和分配电力相关联的组件。The power component 206 provides power to the various components of the device 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 200.

多媒体组件208包括在所述装置200和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件208包括一个前置摄像头和/或后置摄像头。当装置200处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and/or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

音频组件210被配置为输出和/或输入音频信号。例如,音频组件210包括一个麦克风(MIC),当装置200处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器204或经由通信组件216发送。在一些实施例中,音频组件210还包括一个扬声器,用于输出音频信号。The audio component 210 is configured to output and/or input audio signals. For example, the audio component 210 includes a microphone (MIC), and when the device 200 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 204 or sent via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.

I/O接口212为处理组件202和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。I/O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

传感器组件214包括一个或多个传感器,用于为装置200提供各个方面的状态评估。例如,传感器组件214可以检测到装置200的打开/关闭状态,组件的相对定位,例如所述组件为装置200的显示器和小键盘,传感器组件214还可以检测装置200或装置200一个组件的位置改变,用户与装置200接触的存在或不存在,装置200方位或加速/减速和装置200的温度变化。传感器组件214可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件214还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件214还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor assembly 214 includes one or more sensors for providing various aspects of the status assessment of the device 200. For example, the sensor assembly 214 can detect the open/closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, and the sensor assembly 214 can also detect the position change of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration/deceleration of the device 200, and the temperature change of the device 200. The sensor assembly 214 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

通信组件216被配置为便于装置200和其他设备之间有线或无线方式的通信。装置200可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件216经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件216还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and other devices. The device 200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置200可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述任意一种指纹模组的工作模式控制方法。In an exemplary embodiment, the device 200 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute any of the above-mentioned fingerprint module working mode control methods.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器204,上述指令可由装置200的处理器220执行以完成上述任意一种指纹模组的工作模式控制方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, and the instructions can be executed by the processor 220 of the device 200 to complete any of the above-mentioned methods for controlling the working mode of the fingerprint module. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

进一步可以理解的是,本公开中“多个”是指两个或两个以上,其它量词与之类似。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。It is further understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar thereto. "And/or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and/or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the", and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.

进一步可以理解的是,术语“第一”、“第二”等用于描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开,并不表示特定的顺序或者重要程度。实际上,“第一”、“第二”等表述完全可以互换使用。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.

进一步可以理解的是,除非有特殊说明,“连接”包括两者之间不存在其他构件的直接连接,也包括两者之间存在其他元件的间接连接。It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.

进一步可以理解的是,本公开实施例中尽管在附图中以特定的顺序描述操作,但是不应将其理解为要求按照所示的特定顺序或是串行顺序来执行这些操作,或是要求执行全部所示的操作以得到期望的结果。在特定环境中,多任务和并行处理可能是有利的。It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring the operations to be performed in the specific order shown or in a serial order, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. The working mode control method of the fingerprint module is characterized by being applied to a terminal, wherein the terminal comprises the fingerprint module, the working mode of the fingerprint module at least comprises an identification mode, a navigation mode and an idle mode, and the working mode control method of the fingerprint module comprises the following steps:
Determining a fingerprint authentication result in the identification mode;
if the fingerprint authentication result represents that the identity authentication is successful, switching the working mode of the fingerprint module from the identification mode to the idle mode, so that the fingerprint module is in a task-free waiting state after unlocking;
the working mode control method of the fingerprint module further comprises the following steps:
After the working mode of the fingerprint module is switched from the identification mode to the idle mode, the working mode of the fingerprint module is switched from the idle mode to the navigation mode in response to determining that a trigger condition for entering the navigation mode is met.
2. The method for controlling an operation mode of a fingerprint module according to claim 1, wherein the method for controlling an operation mode of a fingerprint module further comprises:
if the fingerprint authentication result continuously represents that the authentication is successful within the specified frequency threshold, switching the working mode of the fingerprint module from the identification mode to the navigation mode, and performing non-fingerprint identity authentication in the navigation mode;
And responding to the successful identity authentication in the navigation mode, and switching the fingerprint module from the navigation mode to the idle mode.
3. The method for controlling the operation mode of the fingerprint module according to claim 1, wherein the determining that the trigger condition for entering the navigation mode is satisfied includes:
and responding to the terminal to be triggered to execute a first event, determining that a trigger condition for entering the navigation mode is met, wherein the first event is triggered to be executed based on an authentication result of the fingerprint module.
4. The method for controlling an operation mode of a fingerprint module according to claim 3, wherein the method for controlling an operation mode of a fingerprint module further comprises:
and responding to the completion of the execution of the first event, and switching the working mode of the fingerprint module from the navigation mode to the idle mode.
5. The utility model provides a fingerprint module's working mode controlling means, its characterized in that is applied to the terminal, the terminal includes fingerprint module, fingerprint module's working mode includes identification mode, navigation mode and idle mode at least, fingerprint module's working mode controlling means includes:
a determining unit configured to determine a fingerprint authentication result in the identification mode;
the switching unit is used for switching the working mode of the fingerprint module from the identification mode to the idle mode if the fingerprint authentication result represents that the identity authentication is successful, so that the fingerprint module is in a task-free waiting state after being unlocked;
the switching unit is further configured to:
And after the working mode of the fingerprint module is switched from the identification mode to the idle mode, responding to the fact that the trigger condition for entering the navigation mode is met, and switching the working mode of the fingerprint module from the idle mode to the navigation mode.
6. The operation mode control device of claim 5, wherein the switching unit is further configured to:
if the fingerprint authentication result continuously represents that the authentication is successful within the specified frequency threshold, switching the working mode of the fingerprint module from the identification mode to the navigation mode, and performing non-fingerprint identity authentication in the navigation mode;
And responding to the successful identity authentication in the navigation mode, and switching the fingerprint module from the navigation mode to the idle mode.
7. The device for controlling an operation mode of a fingerprint module according to claim 5, wherein the switching unit determines that a trigger condition for entering the navigation mode is satisfied by:
and responding to the terminal to be triggered to execute a first event, determining that a trigger condition for entering the navigation mode is met, wherein the first event is triggered to be executed based on an authentication result of the fingerprint module.
8. The operation mode control device of claim 7, wherein the switching unit is further configured to:
And switching the working mode of the fingerprint module from the navigation mode to the idle mode in response to the completion of the execution of the first event.
9. The utility model provides a fingerprint module's mode of operation controlling means which characterized in that, fingerprint module's mode of operation controlling means includes:
A memory for storing instructions; and
The processor is used for calling the instruction stored in the memory to execute the working mode control method of the fingerprint module set according to any one of claims 1-4.
10. A computer-readable storage medium having stored therein instructions which, when executed by a processor, perform the method of operating mode control of a fingerprint module as claimed in any one of claims 1-4.
CN202110064960.4A 2021-01-18 2021-01-18 Fingerprint module working mode control method, device and storage medium Active CN112799497B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110064960.4A CN112799497B (en) 2021-01-18 2021-01-18 Fingerprint module working mode control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110064960.4A CN112799497B (en) 2021-01-18 2021-01-18 Fingerprint module working mode control method, device and storage medium

Publications (2)

Publication Number Publication Date
CN112799497A CN112799497A (en) 2021-05-14
CN112799497B true CN112799497B (en) 2024-06-07

Family

ID=75810176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110064960.4A Active CN112799497B (en) 2021-01-18 2021-01-18 Fingerprint module working mode control method, device and storage medium

Country Status (1)

Country Link
CN (1) CN112799497B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115240236A (en) * 2022-07-29 2022-10-25 北京小米移动软件有限公司 Device control method, device, electronic device, and storage medium

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635911A (en) * 2008-07-21 2010-01-27 中兴通讯股份有限公司 Idle mode access method
CN101866226A (en) * 2009-04-14 2010-10-20 联芯科技有限公司 Mobile positioning operation device of portable electronic equipment and operation method
CN103389086A (en) * 2013-07-30 2013-11-13 深圳市中兴移动通信有限公司 Navigation method and device based on fingerprint identification
CN103745194A (en) * 2013-12-20 2014-04-23 深圳市汇顶科技股份有限公司 Fingerprint detection device and mobile terminal
CN105867789A (en) * 2016-03-28 2016-08-17 努比亚技术有限公司 Method and method for preventing misoperation
CN106020418A (en) * 2016-05-16 2016-10-12 广东欧珀移动通信有限公司 Method and apparatus for reducing power consumption of mobile terminal, and mobile terminal
CN106462342A (en) * 2016-09-29 2017-02-22 深圳市汇顶科技股份有限公司 Fingerprint navigation method and fingerprint navigation signal generation device
CN106940589A (en) * 2017-02-07 2017-07-11 宇龙计算机通信科技(深圳)有限公司 A kind of Terminal fingerprints detection management method, device and terminal
CN107133510A (en) * 2017-06-02 2017-09-05 青岛海信移动通信技术股份有限公司 A kind of terminal pattern switching method and device
CN107329558A (en) * 2017-06-29 2017-11-07 努比亚技术有限公司 Reduce the method and mobile terminal of power consumption
CN107395889A (en) * 2017-07-28 2017-11-24 广东欧珀移动通信有限公司 Method, device, storage medium and mobile terminal for reducing power consumption of mobile terminal
CN107391995A (en) * 2017-07-31 2017-11-24 北京小米移动软件有限公司 Unlock operation processing method and device
CN107402762A (en) * 2017-07-26 2017-11-28 青岛海信移动通信技术股份有限公司 The implementation method and device of finger print navigation
CN107451449A (en) * 2017-07-21 2017-12-08 广东欧珀移动通信有限公司 Bio-identification unlocking method and Related product
CN108289141A (en) * 2017-12-27 2018-07-17 努比亚技术有限公司 A kind of the screen locking unlocking method and mobile terminal of mobile terminal
CN108898046A (en) * 2018-04-25 2018-11-27 努比亚技术有限公司 Fingerprint power consumption control method, terminal and computer readable storage medium under a kind of screen
CN110673614A (en) * 2019-10-25 2020-01-10 湖南工程学院 Mapping system and mapping method of small robot group based on cloud server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110851809B (en) * 2015-12-31 2023-10-24 华为技术有限公司 A fingerprint identification method, device and touch screen terminal
US9983656B2 (en) * 2015-12-31 2018-05-29 Motorola Mobility Llc Fingerprint sensor with power saving operating modes, and corresponding devices, systems, and methods

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635911A (en) * 2008-07-21 2010-01-27 中兴通讯股份有限公司 Idle mode access method
CN101866226A (en) * 2009-04-14 2010-10-20 联芯科技有限公司 Mobile positioning operation device of portable electronic equipment and operation method
CN103389086A (en) * 2013-07-30 2013-11-13 深圳市中兴移动通信有限公司 Navigation method and device based on fingerprint identification
CN103745194A (en) * 2013-12-20 2014-04-23 深圳市汇顶科技股份有限公司 Fingerprint detection device and mobile terminal
CN105867789A (en) * 2016-03-28 2016-08-17 努比亚技术有限公司 Method and method for preventing misoperation
CN106020418A (en) * 2016-05-16 2016-10-12 广东欧珀移动通信有限公司 Method and apparatus for reducing power consumption of mobile terminal, and mobile terminal
CN106462342A (en) * 2016-09-29 2017-02-22 深圳市汇顶科技股份有限公司 Fingerprint navigation method and fingerprint navigation signal generation device
CN106940589A (en) * 2017-02-07 2017-07-11 宇龙计算机通信科技(深圳)有限公司 A kind of Terminal fingerprints detection management method, device and terminal
CN107133510A (en) * 2017-06-02 2017-09-05 青岛海信移动通信技术股份有限公司 A kind of terminal pattern switching method and device
CN107329558A (en) * 2017-06-29 2017-11-07 努比亚技术有限公司 Reduce the method and mobile terminal of power consumption
CN107451449A (en) * 2017-07-21 2017-12-08 广东欧珀移动通信有限公司 Bio-identification unlocking method and Related product
CN107402762A (en) * 2017-07-26 2017-11-28 青岛海信移动通信技术股份有限公司 The implementation method and device of finger print navigation
CN107395889A (en) * 2017-07-28 2017-11-24 广东欧珀移动通信有限公司 Method, device, storage medium and mobile terminal for reducing power consumption of mobile terminal
CN107391995A (en) * 2017-07-31 2017-11-24 北京小米移动软件有限公司 Unlock operation processing method and device
CN108289141A (en) * 2017-12-27 2018-07-17 努比亚技术有限公司 A kind of the screen locking unlocking method and mobile terminal of mobile terminal
CN108898046A (en) * 2018-04-25 2018-11-27 努比亚技术有限公司 Fingerprint power consumption control method, terminal and computer readable storage medium under a kind of screen
CN110673614A (en) * 2019-10-25 2020-01-10 湖南工程学院 Mapping system and mapping method of small robot group based on cloud server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
指纹识别系统的一种低功耗实现方法与应用;张金刚;林喜荣;戴晓清;李建荣;;电视技术(第17期);118-128 *

Also Published As

Publication number Publication date
CN112799497A (en) 2021-05-14

Similar Documents

Publication Publication Date Title
EP3232299B1 (en) Physical key component, terminal, and touch response method and device
WO2019157804A1 (en) Method and apparatus for fingerprint unlocking
CN106951884B (en) Method, device and electronic device for collecting fingerprints
EP3331226B1 (en) Method and device for reading messages
CN108388786A (en) Unlocked by fingerprint method and device
CN107391995B (en) Unlocking operation processing method and device
CN106462687A (en) Touch device and method, electronic device
WO2018133387A1 (en) Fingerprint identification method and device
CN105956432A (en) Unlocking method and device for mobile terminal, and mobile terminal
CN107491677A (en) Fingerprint recognition processing method, device, equipment and storage medium
CN106503516A (en) Terminal, unlocked by fingerprint method and device
CN108537096A (en) Reminding method, device and the electronic equipment of fingerprint collecting position
CN108491834B (en) Fingerprint identification method and device
CN108133180A (en) Fingerprint identification method, device and terminal
CN106778169B (en) Fingerprint unlocking method and device
CN106484296A (en) Mobile terminal prevents processing method, device and the equipment of false touch
CN113361305B (en) Fingerprint collection method, electronic device and computer-readable storage medium
CN106775377A (en) The control method of gesture identifying device, equipment and gesture identifying device
CN108388864A (en) Fingerprint collecting method, device and computer readable storage medium
CN112799497B (en) Fingerprint module working mode control method, device and storage medium
CN112181265B (en) A touch signal processing method, device and medium
CN108766427B (en) Voice control method and device
CN106650569A (en) Fingerprint entering method and device
CN107562350B (en) Method and device for reporting key event
CN109582195A (en) Report the method and device of key-press event

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant