技术领域Technical Field
本申请属于通信技术领域,具体涉及一种指纹模组控制方法、指纹模组控制装置、电子设备及可读存储介质。The present application belongs to the field of communication technology, and specifically relates to a fingerprint module control method, a fingerprint module control device, an electronic device and a readable storage medium.
背景技术Background Art
随着电子设备的发展,电子设备普遍配置有用于指纹识别的指纹模组,目前的指纹模组可以布局在电子设备的主屏下方即前置指纹模组、背屏的中间区域即后置指纹模组。而随着全面屏的普及,考虑到前置指纹模组和后置指纹模组对电子设备的主屏和背屏的完整性存在破坏,也对电子设备的外观存在一定影响。With the development of electronic devices, electronic devices are generally equipped with fingerprint modules for fingerprint recognition. Currently, fingerprint modules can be placed below the main screen of the electronic device, i.e., the front fingerprint module, and in the middle area of the back screen, i.e., the rear fingerprint module. With the popularization of full-screen devices, considering that the front fingerprint module and the rear fingerprint module damage the integrity of the main screen and the back screen of the electronic device, they also have a certain impact on the appearance of the electronic device.
因此,为了使电子设备支持全面屏,相关技术中将指纹模组设置在电子设备的侧边区域即侧面指纹模组已经成为趋势,但是,电子设备的侧边区域配置有关机按键、音量按键等实体按键、且侧边区域的空间较窄,使得侧面指纹模组的布线空间受限,从而造成侧面指纹模组的防静电和抗电磁干扰能力,相对上述前置指纹模组和后置指纹模组较差。Therefore, in order to enable electronic devices to support full screens, it has become a trend in related technologies to set the fingerprint module in the side area of the electronic device, namely, the side fingerprint module. However, the side area of the electronic device is configured with physical buttons such as the power off button and the volume button, and the space in the side area is narrow, which limits the wiring space of the side fingerprint module, resulting in the side fingerprint module's anti-static and anti-electromagnetic interference capabilities being poorer than the above-mentioned front fingerprint module and rear fingerprint module.
因此,指纹模组容易受到静电和电磁的干扰,从而导致指纹录入失败率较高以及存在指纹模组被上述干扰卡死的风险。Therefore, the fingerprint module is susceptible to static electricity and electromagnetic interference, resulting in a high fingerprint entry failure rate and the risk of the fingerprint module being stuck by the above interference.
发明内容Summary of the invention
本申请实施例的目的是提供一种指纹模组控制方法、指纹模组控制装置、电子设备及可读存储介质,能够解决相关技术中指纹模组易受静电和电磁的干扰,从而导致指纹录入失败率较高以及存在指纹模组被上述干扰卡死的风险的问题。The purpose of the embodiments of the present application is to provide a fingerprint module control method, a fingerprint module control device, an electronic device and a readable storage medium, which can solve the problem in the related art that the fingerprint module is susceptible to static electricity and electromagnetic interference, resulting in a high fingerprint entry failure rate and the risk of the fingerprint module being stuck by the above-mentioned interference.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种指纹模组控制方法,应用于电子设备,所述电子设备配置有指纹模组,所述方法包括:In a first aspect, an embodiment of the present application provides a fingerprint module control method, which is applied to an electronic device, wherein the electronic device is equipped with a fingerprint module, and the method includes:
接收用户的第一输入;receiving a first input from a user;
响应于所述第一输入,控制所述指纹模组进入指纹录入状态;In response to the first input, controlling the fingerprint module to enter a fingerprint entry state;
在预设时长内未接收到通过所述指纹模组采集的指纹信息的情况下,获取所述指纹模组的工作状态;If the fingerprint information collected by the fingerprint module is not received within a preset time period, obtaining the working status of the fingerprint module;
在所述指纹模组的工作状态异常的情况下,对所述指纹模组进行复位并将复位后的所述指纹模组的工作状态设置为所述指纹录入状态。When the working state of the fingerprint module is abnormal, the fingerprint module is reset and the working state of the reset fingerprint module is set to the fingerprint entry state.
第二方面,本申请实施例提供了一种指纹模组控制装置,应用于电子设备,所述电子设备配置有指纹模组,所述装置包括:In a second aspect, an embodiment of the present application provides a fingerprint module control device, which is applied to an electronic device, wherein the electronic device is equipped with a fingerprint module, and the device includes:
接收模块,用于接收用户的第一输入;A receiving module, used for receiving a first input from a user;
控制模块,用于响应于所述第一输入,控制所述指纹模组进入指纹录入状态;A control module, configured to control the fingerprint module to enter a fingerprint entry state in response to the first input;
获取模块,用于在预设时长内未接收到通过所述指纹模组采集的指纹信息的情况下,获取所述指纹模组所处的工作状态;An acquisition module, used for acquiring the working state of the fingerprint module when the fingerprint information collected by the fingerprint module is not received within a preset time period;
设置模块,用于在所述指纹模组的工作状态异常的情况下,对所述指纹模组进行复位并将复位后的所述指纹模组的工作状态设置为所述指纹录入状态。The setting module is used for resetting the fingerprint module and setting the working state of the reset fingerprint module to the fingerprint entry state when the working state of the fingerprint module is abnormal.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
在本申请实施例中,可以接收用户的第一输入,并响应于该第一输入,控制指纹模组进入指纹录入状态,使得指纹模组在该指纹录入状态下可以采集指纹信息,如果在预设时长内未接收到通过所述指纹模组采集的指纹信息,则说明该指纹模组很可能受到了静电或电磁的干扰而导致其工作状态异常,因此,为了避免指纹模组对指纹录入的中断以及降低指纹模组的卡死风险,可以获取所述指纹模组的工作状态,如果该工作状态异常,则说明该指纹模组确实因上述干扰发生了状态变化,因此,可以对该指纹模组进行复位,并将复位后的指纹模组的工作状态设置为该指纹录入状态,使得指纹模组可以继续采集指纹完成指纹录入工作,避免指纹录入发生中断,降低了指纹录入失败率,并进一步降低了指纹模组被上述干扰卡死的风险。In an embodiment of the present application, a first input from a user can be received, and in response to the first input, the fingerprint module can be controlled to enter a fingerprint entry state, so that the fingerprint module can collect fingerprint information in this fingerprint entry state. If the fingerprint information collected by the fingerprint module is not received within a preset time period, it means that the fingerprint module is likely to be subject to electrostatic or electromagnetic interference, resulting in an abnormal working state. Therefore, in order to avoid interruption of fingerprint entry by the fingerprint module and reduce the risk of the fingerprint module being stuck, the working state of the fingerprint module can be obtained. If the working state is abnormal, it means that the fingerprint module has indeed changed its state due to the above-mentioned interference. Therefore, the fingerprint module can be reset, and the working state of the reset fingerprint module can be set to the fingerprint entry state, so that the fingerprint module can continue to collect fingerprints to complete the fingerprint entry work, avoid interruption of fingerprint entry, reduce the fingerprint entry failure rate, and further reduce the risk of the fingerprint module being stuck by the above-mentioned interference.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请一个实施例的指纹模组控制方法的流程图;FIG1 is a flow chart of a fingerprint module control method according to an embodiment of the present application;
图2是本申请另一个实施例的指纹模组控制方法的流程图;FIG2 is a flow chart of a fingerprint module control method according to another embodiment of the present application;
图3是本申请一个实施例的指纹模组控制装置的框图;FIG3 is a block diagram of a fingerprint module control device according to an embodiment of the present application;
图4是本申请一个实施例的电子设备的硬件结构示意图。FIG. 4 is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application.
图5是本申请另一个实施例的电子设备的硬件结构示意图。FIG. 5 is a schematic diagram of the hardware structure of an electronic device according to another embodiment of the present application.
具体实施方式DETAILED DESCRIPTION
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and/or" in the specification and claims represents at least one of the connected objects, and the character "/" generally indicates that the objects associated with each other are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的指纹模组控制方法进行详细地说明。The fingerprint module control method provided in the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.
参照图1,示出了本申请一个实施例的指纹模组控制方法的流程图,应用于电子设备,所述电子设备配置有指纹模组。1 , a flow chart of a fingerprint module control method according to an embodiment of the present application is shown, which is applied to an electronic device equipped with a fingerprint module.
该指纹模组可以配置于所述电子设备的主屏区域、背屏区域,或者侧边区域。The fingerprint module can be configured in the main screen area, the back screen area, or the side area of the electronic device.
指纹模组可能受到静电或电磁干扰,特别是,指纹模组设置在上述侧边区域时,由于侧边区域较窄,指纹模组的布线空间受限,因此,在用户通过指纹模组录入指纹时,指纹模组受静电或者电磁干扰的可能性更高,容易导致指纹模块工作异常,发生指纹数据录入中断的情况,使得指纹录入失败率较高以及指纹模组被上述干扰卡死的风险较高。The fingerprint module may be affected by static electricity or electromagnetic interference. In particular, when the fingerprint module is set in the above-mentioned side area, the wiring space of the fingerprint module is limited due to the narrow side area. Therefore, when the user enters the fingerprint through the fingerprint module, the fingerprint module is more likely to be affected by static electricity or electromagnetic interference, which may easily cause the fingerprint module to work abnormally and the fingerprint data entry to be interrupted, resulting in a high fingerprint entry failure rate and a high risk of the fingerprint module being stuck by the above-mentioned interference.
因此,本申请实施例提供了图1所示的方法来解决上述技术问题,另外,为了便于理解本申请实施例的方法,读者还可以参考图2所示的流程图,来理解本申请实施例的技术方案。如图1所示,所述方法具体可以包括如下步骤:Therefore, the embodiment of the present application provides the method shown in FIG1 to solve the above technical problems. In addition, in order to facilitate understanding of the method of the embodiment of the present application, the reader can also refer to the flowchart shown in FIG2 to understand the technical solution of the embodiment of the present application. As shown in FIG1, the method may specifically include the following steps:
步骤101,接收用户的第一输入;Step 101, receiving a first input from a user;
在各种应用场景下,用户都可能存在录入指纹的需求,因此,所述第一输入用于表示请求录入指纹信息的输入。In various application scenarios, the user may have a need to enter a fingerprint, so the first input is used to represent an input requesting to enter fingerprint information.
例如,在电子设备首次初始化使用时,需要录入机主指纹,那么用户在电子设备的录入机主指纹的界面所触发的请求录入指纹的输入可以是上述第一输入的一个示例;For example, when the electronic device is initialized for the first time, the owner's fingerprint needs to be recorded. Then the input of the request to record the fingerprint triggered by the user on the interface of recording the owner's fingerprint of the electronic device can be an example of the first input.
此外,当用户需要对电子设备的屏幕进行解锁时,则需要用户录入指纹,因此,用户可以通过在电子设备的锁屏界面触发解锁输入,或者对指纹模组进行触摸,来触发上述第一输入;In addition, when the user needs to unlock the screen of the electronic device, the user is required to enter the fingerprint. Therefore, the user can trigger the unlock input on the lock screen interface of the electronic device or touch the fingerprint module to trigger the above-mentioned first input;
另外,当用户需要使用指纹进行移动支付功能时,则用户可以在电子设备的移动支付界面触发使用指纹进行支付验证的输入,该输入也是上述第一输入的一个示例。In addition, when the user needs to use fingerprints for mobile payment functions, the user can trigger the input of using fingerprints for payment verification on the mobile payment interface of the electronic device, which is also an example of the above-mentioned first input.
步骤102,响应于所述第一输入,控制所述指纹模组进入指纹录入状态;Step 102, in response to the first input, controlling the fingerprint module to enter a fingerprint entry state;
其中,处于所述指纹录入状态的所述指纹模组用于采集指纹信息;Wherein, the fingerprint module in the fingerprint entry state is used to collect fingerprint information;
其中,在控制指纹模组进入指纹录入状态之后,手指在触摸指纹模组的指纹传感器后,则指纹模组可以采集到指纹信息,但是如果指纹模组受到电磁等干扰导致其工作状态发生了变化,使得指纹模组的工作状态并不是预设的指纹录入状态,则即便手指触摸指纹模组,该指纹模组也无法采集指纹信息。Among them, after controlling the fingerprint module to enter the fingerprint entry state, after the finger touches the fingerprint sensor of the fingerprint module, the fingerprint module can collect fingerprint information. However, if the fingerprint module is subject to electromagnetic interference and its working state changes, so that the working state of the fingerprint module is not the preset fingerprint entry state, even if the finger touches the fingerprint module, the fingerprint module cannot collect fingerprint information.
在一个示例中,该电子设备不仅仅可以包括上述指纹模组的模块,还可以包括CPU模块,该CPU模块可以响应于该第一输入,来控制指纹模组进入指纹录入状态。In an example, the electronic device may include not only the fingerprint module mentioned above, but also a CPU module. The CPU module may control the fingerprint module to enter a fingerprint entry state in response to the first input.
需要说明的是,指纹模组可以支持多种状态,例如包括指纹录入状态、休眠状态,而指纹模组只可以处于一种状态,指纹模组可以根据工作模式或需求的不同,在该多种状态间切换所处的状态。It should be noted that the fingerprint module can support multiple states, such as fingerprint entry state and sleep state, while the fingerprint module can only be in one state. The fingerprint module can switch between the multiple states according to different working modes or requirements.
这里主要是通过CPU模块来控制指纹模组进入这里的指纹录入状态。例如指纹录入状态为状态1,而当指纹模组处于状态1时,则指纹模组可以采集指纹信息;但是,当指纹模组处于其他状态时,例如状态2所表示的休眠状态,则即便用户将手指触摸该指纹模组的指纹传感器,该指纹模组也无法采集指纹信息。Here, the CPU module is mainly used to control the fingerprint module to enter the fingerprint entry state. For example, the fingerprint entry state is state 1, and when the fingerprint module is in state 1, the fingerprint module can collect fingerprint information; however, when the fingerprint module is in other states, such as the dormant state represented by state 2, even if the user touches the fingerprint sensor of the fingerprint module with his finger, the fingerprint module cannot collect fingerprint information.
在一个示例中,如图2所示,当CPU模块控制指纹模组进入录入指纹状态(即上述指纹录入状态)后,则CPU模块开始进行预设时长的倒计时,而指纹模组在进入指纹录入状态后,则开始采集指纹信息,如果指纹模组采集到指纹信息,则可以向CPU模块发送包括采集到的指纹信息的中断信号,因此,如图2所示,在本次倒计时时长之内,CPU模块就可以从指纹模组处采集指纹录入数据,并判断采集到的指纹录入数据中是否有指纹数据;如果是,例如CPU模块在预设时长内从指纹模组接收到该指纹模组采集到的指纹信息,则CPU模块对本次倒计时清零,重新开始预设时长的倒计时,再继续录入下一组数据,即再回到采集指纹录入数据的步骤:从指纹模组处采集指纹录入数据,并判断采集到的指纹录入数据中是否有指纹数据;In one example, as shown in FIG2 , when the CPU module controls the fingerprint module to enter the fingerprint entry state (i.e., the fingerprint entry state described above), the CPU module starts a countdown of a preset duration, and after the fingerprint module enters the fingerprint entry state, it starts to collect fingerprint information. If the fingerprint module collects fingerprint information, an interrupt signal including the collected fingerprint information can be sent to the CPU module. Therefore, as shown in FIG2 , within the countdown duration, the CPU module can collect fingerprint entry data from the fingerprint module, and determine whether the collected fingerprint entry data contains fingerprint data; if so, for example, the CPU module receives the fingerprint information collected by the fingerprint module from the fingerprint module within the preset duration, the CPU module clears the countdown, restarts the countdown of the preset duration, and continues to enter the next set of data, i.e., returns to the step of collecting fingerprint entry data: collecting fingerprint entry data from the fingerprint module, and determining whether the collected fingerprint entry data contains fingerprint data;
其中,由于不同指纹录入场景下,指纹录入时长存在差异,例如通过录入指纹来验证身份的场景下,由于指纹预先录入过,则指纹模组在采集指纹数据时速度较快、耗时较短,因此,很容易在倒计时清零前,获取CPU模块通过指纹模组获取到指纹数据;Among them, due to the difference in fingerprint entry time in different fingerprint entry scenarios, for example, in the scenario of identity verification by entering fingerprints, since the fingerprints have been entered in advance, the fingerprint module is faster and takes less time to collect fingerprint data. Therefore, it is easy for the CPU module to obtain fingerprint data through the fingerprint module before the countdown is reset;
相反,如果否,例如CPU模块未从指纹模组接收到该指纹模组采集到的指纹信息,则可以判断本次倒计时是否超时,即倒计时是否已经达到该预设时长;On the contrary, if no, for example, the CPU module does not receive the fingerprint information collected by the fingerprint module from the fingerprint module, it can be determined whether the countdown has timed out, that is, whether the countdown has reached the preset time length;
如果本次倒计时已经超时,即预设时长的倒计时已经结束、且CPU模块未从指纹模组接收到该指纹模组采集到的指纹信息,则说明CPU模块在预设时长内未从指纹模组接收到该指纹模组采集到的指纹信息,因此,可以转至执行下述步骤103。If the countdown has timed out, that is, the countdown of the preset time has ended and the CPU module has not received the fingerprint information collected by the fingerprint module from the fingerprint module, it means that the CPU module has not received the fingerprint information collected by the fingerprint module from the fingerprint module within the preset time. Therefore, it can go to execute the following step 103.
可选地,根据本发明实施例的方法还可以包括:响应于第一输入,在预设时长的倒计时未结束、且未接收到通过指纹模组采集的指纹信息的情况下,在所述预设时长内检测指纹模组的本次指纹录入是否完成;如果没有完成,则在本次倒计时的所述预设时长内继续检测指纹模组是否采集到指纹信息;如果完成,则结束流程。Optionally, the method according to the embodiment of the present invention may further include: in response to the first input, when the countdown of the preset time period has not ended and the fingerprint information collected by the fingerprint module has not been received, detecting whether the fingerprint entry of the fingerprint module is completed within the preset time period; if not completed, continuing to detect whether the fingerprint module has collected fingerprint information within the preset time period of this countdown; if completed, ending the process.
在一个示例中,如图2所示,如果本次倒计时没有超时,而且CPU模块也没有从指纹模组接收到采集的指纹信息,则CPU模块响应于第一输入,在预设时长内检测指纹模组的本次指纹录入是否完成,即判断本次数据采集是否完成;In one example, as shown in FIG2 , if the countdown does not time out and the CPU module does not receive the collected fingerprint information from the fingerprint module, the CPU module responds to the first input and detects whether the fingerprint entry of the fingerprint module is completed within a preset time, that is, determines whether the data collection is completed;
其中,由于不同指纹录入场景下,指纹录入时长存在差异,例如用户在首次使用指纹录入功能时,需要录入用于认证身份的指纹信息(例如包括边缘指纹、中间区域指纹等),那么这个指纹信息的录入时长相较于上述验证身份时的指纹录入时长要明显增长,因此,这个场景下可以导致倒计时没有超时,但是CPU模块也没有从指纹模组接收到采集的指纹信息的情况。Among them, due to the difference in fingerprint entry time in different fingerprint entry scenarios, for example, when a user uses the fingerprint entry function for the first time, he needs to enter fingerprint information for identity authentication (such as edge fingerprints, middle area fingerprints, etc.), then the entry time of this fingerprint information is significantly longer than the fingerprint entry time for the above-mentioned identity verification. Therefore, in this scenario, the countdown may not time out, but the CPU module has not received the collected fingerprint information from the fingerprint module.
如果本次数据采集没有完成,则在预设时长内继续检测指纹模组是否采集到指纹信息,其中,由于本次倒计时还没有结束,所以只需要继续转到采集指纹录入数据的步骤即可。If the data collection is not completed, the fingerprint module will continue to detect whether it has collected fingerprint information within the preset time. Since the countdown has not ended, it is only necessary to continue to the step of collecting fingerprints and entering data.
如果本次数据采集已经完成,则结束,并且CPU模块控制指纹模组退出该指纹录入状态。If the data collection is completed, it ends, and the CPU module controls the fingerprint module to exit the fingerprint entry state.
步骤103,在预设时长内未接收到通过所述指纹模组采集的指纹信息的情况下,获取所述指纹模组的工作状态;Step 103, when no fingerprint information collected by the fingerprint module is received within a preset time period, obtaining the working state of the fingerprint module;
在一个示例中,在步骤102之后,则开始进行预设时长的倒计时,如果在预设时长内都没有从指纹模组接收到携带了指纹信息中断信号,则说明指纹模组可能受静电或者电磁干扰,从而导致指纹模块工作状态异常,使得指纹模组的工作状态因干扰而发生了工作状态的变化,不再是指纹录入状态,因此,CPU模块可以从指纹模组获取该指纹模组当前所处的工作状态,即指纹模组支持的多种状态中的一种正在工作的状态。In one example, after step 102, a countdown of a preset time length is started. If no interrupt signal carrying fingerprint information is received from the fingerprint module within the preset time length, it means that the fingerprint module may be affected by static electricity or electromagnetic interference, which causes the fingerprint module to work abnormally. The working state of the fingerprint module changes due to interference and is no longer in the fingerprint entry state. Therefore, the CPU module can obtain the current working state of the fingerprint module from the fingerprint module, that is, a working state among the multiple states supported by the fingerprint module.
也就是说,如果CPU模块长时间采集不到指纹模组录入的指纹信息,则可以直接读取该指纹模组当前所处的工作状态。That is to say, if the CPU module cannot collect the fingerprint information entered by the fingerprint module for a long time, the current working state of the fingerprint module can be directly read.
步骤104,在所述指纹模组的工作状态异常的情况下,对将所述指纹模组进行复位并将复位后的所述指纹模组的工作状态设置为所述指纹录入状态。Step 104: when the working state of the fingerprint module is abnormal, the fingerprint module is reset and the working state of the reset fingerprint module is set to the fingerprint entry state.
其中,CPU模块可以判断该指纹模组当前所处的工作状态是否是步骤102中CPU模块控制该指纹模组所进入的工作状态,其中,该状态为指纹录入状态;The CPU module may determine whether the current working state of the fingerprint module is the working state that the CPU module controls the fingerprint module to enter in step 102, wherein the state is the fingerprint entry state;
那么如果该工作状态不是当初CPU模块控制该指纹模组所进入的指纹录入状态,则说明该指纹模组受到了干扰,使得其工作状态发生了变化,说明该指纹模组的工作状态异常。因此,为了确保指纹录入的继续进行,CPU模块可以控制指纹模组进行重启,并将重启后的指纹模组的工作状态重新设置为该指纹录入状态,从而使得指纹模组可以继续在该指纹录入状态下进行指纹数据的采集。If the working state is not the fingerprint entry state that the CPU module originally controlled the fingerprint module to enter, it means that the fingerprint module has been disturbed, causing its working state to change, indicating that the working state of the fingerprint module is abnormal. Therefore, in order to ensure the continuation of fingerprint entry, the CPU module can control the fingerprint module to restart, and reset the working state of the restarted fingerprint module to the fingerprint entry state, so that the fingerprint module can continue to collect fingerprint data in the fingerprint entry state.
在本申请实施例中,可以接收用户的第一输入,并响应于该第一输入,控制指纹模组进入指纹录入状态,使得指纹模组在该指纹录入状态下可以采集指纹信息,如果在预设时长内未接收到通过所述指纹模组采集的指纹信息,则说明该指纹模组很可能受到了静电或电磁的干扰而导致其工作状态异常,因此,为了避免指纹模组对指纹录入的中断以及降低指纹模组的卡死风险,可以获取所述指纹模组的工作状态,如果该工作状态异常,则说明该指纹模组确实因上述干扰发生了状态变化,因此,可以对该指纹模组进行复位,并将复位后的指纹模组的工作状态设置为该指纹录入状态,使得指纹模组可以继续采集指纹完成指纹录入工作,避免指纹录入发生中断,降低了指纹录入失败率,并进一步降低了指纹模组被上述干扰卡死的风险。In an embodiment of the present application, a first input from a user can be received, and in response to the first input, the fingerprint module can be controlled to enter a fingerprint entry state, so that the fingerprint module can collect fingerprint information in this fingerprint entry state. If the fingerprint information collected by the fingerprint module is not received within a preset time period, it means that the fingerprint module is likely to be subject to electrostatic or electromagnetic interference, resulting in an abnormal working state. Therefore, in order to avoid interruption of fingerprint entry by the fingerprint module and reduce the risk of the fingerprint module being stuck, the working state of the fingerprint module can be obtained. If the working state is abnormal, it means that the fingerprint module has indeed changed its state due to the above-mentioned interference. Therefore, the fingerprint module can be reset, and the working state of the reset fingerprint module can be set to the fingerprint entry state, so that the fingerprint module can continue to collect fingerprints to complete the fingerprint entry work, thereby avoiding interruption of fingerprint entry, reducing the fingerprint entry failure rate, and further reducing the risk of the fingerprint module being stuck by the above-mentioned interference.
可选地,在执行步骤102时,可以通过发送控制命令至所述指纹模组来控制所述指纹模组进入指纹录入状态;Optionally, when executing step 102, the fingerprint module may be controlled to enter a fingerprint entry state by sending a control command to the fingerprint module;
其中,指纹模组所支持的多种状态中的每种状态都预先配置有对应的代码,且不同状态对应的代码不同,因此,这里CPU模块可以获取与该指纹录入状态匹配的预设代码(例如02)。该预设代码用于表示所述指纹录入状态。Each of the multiple states supported by the fingerprint module is pre-configured with a corresponding code, and different states correspond to different codes, so the CPU module can obtain a preset code (such as 02) that matches the fingerprint entry state. The preset code is used to represent the fingerprint entry state.
所述控制命令用于指示所述指纹模组进入所述指纹录入状态,并用于将指纹模组的预设寄存器的取值设置为与所述指纹录入状态匹配的所述预设代码;The control command is used to instruct the fingerprint module to enter the fingerprint entry state, and is used to set the value of the preset register of the fingerprint module to the preset code matching the fingerprint entry state;
需要说明的是,指纹模组所处的工作状态是与该指纹模组的预设寄存器中的取值所表示的工作状态保持一致的。例如预设寄存器的取值为01,则说明指纹模组的工作状态为代码01所对应的工作状态。It should be noted that the working state of the fingerprint module is consistent with the working state represented by the value in the preset register of the fingerprint module. For example, if the value of the preset register is 01, it means that the working state of the fingerprint module is the working state corresponding to code 01.
在一个示例中,CPU模块在接收到上述第一输入之后,就可以响应于该第一输入,来发送控制命令给指纹模组,该控制命令可以控制指纹模组进入指纹录入状态。In one example, after receiving the first input, the CPU module may send a control command to the fingerprint module in response to the first input, and the control command may control the fingerprint module to enter a fingerprint entry state.
其中,指纹模组在接收到上述控制命令之后,可以将指纹模组的工作状态设置为该指纹录入状态,以及将指纹模组的预设寄存器的取值设置为该预设代码。After receiving the above control command, the fingerprint module can set the working state of the fingerprint module to the fingerprint entry state, and set the value of the preset register of the fingerprint module to the preset code.
由于指纹模组具有多种状态,而每种状态都是由CPU模块来控制的,因此CPU模块侧可以存储有上述各种状态与所表示该状态的代码之间的对应关系,那么CPU模块就可以基于该对应关系来发送对应不同工作状态的控制命令。Since the fingerprint module has multiple states, and each state is controlled by the CPU module, the CPU module can store the correspondence between the above-mentioned states and the codes representing the states. Then the CPU module can send control commands corresponding to different working states based on the correspondence.
相应的,在执行步骤103时,则可以通过获取所述预设寄存器的当前取值来获取所述指纹模组的工作状态;Accordingly, when executing step 103, the working state of the fingerprint module can be obtained by obtaining the current value of the preset register;
例如,在图2的示例中,CPU模块可以读取指纹模块(即指纹模组)的特定寄存器的值,然后判断该值是否正确,其中,所谓是否正确,即判定该值是否为预设代码,如果是,则正确,如果否,则错误。For example, in the example of Figure 2, the CPU module can read the value of a specific register of the fingerprint module (i.e., the fingerprint module), and then determine whether the value is correct, where the so-called correctness means whether the value is a preset code, if so, it is correct, if not, it is wrong.
其中,若所述当前取值不为所述预设代码,则说明虽然CPU模块通知了指纹模组将状态设置为指纹录入状态,但是因为指纹模组受电磁等干扰原因,导致原本设置为该指纹录入状态的指纹模组的工作状态发生了变化,使得指纹模组将预设寄存器的取值也作了修改,而预设寄存器的取值是与该指纹模组所处的工作状态所保持一致的。因此,若所述当前取值不为所述预设代码,则可以确定所述指纹模组的工作状态不为所述指纹录入状态,即工作状态异常。Among them, if the current value is not the preset code, it means that although the CPU module notifies the fingerprint module to set the state to the fingerprint entry state, the fingerprint module is subject to electromagnetic interference, resulting in a change in the working state of the fingerprint module originally set to the fingerprint entry state, causing the fingerprint module to modify the value of the preset register, and the value of the preset register is consistent with the working state of the fingerprint module. Therefore, if the current value is not the preset code, it can be determined that the working state of the fingerprint module is not the fingerprint entry state, that is, the working state is abnormal.
在图2的示例中,如果寄存器值错误,则“复位指纹,再进入录入状态”,即步骤104的对所述指纹模组进行复位并将复位后的所述指纹模组的工作状态设置为所述指纹录入状态。In the example of FIG. 2 , if the register value is wrong, “reset the fingerprint and then enter the recording state”, that is, in step 104 , the fingerprint module is reset and the working state of the reset fingerprint module is set to the fingerprint recording state.
可选地,若所述当前取值为所述预设代码,则确定所述指纹模组所处的工作状态为所述指纹录入状态。Optionally, if the current value is the preset code, it is determined that the working state of the fingerprint module is the fingerprint entry state.
在图2的示例中,如果超时(即倒计时结束)且该寄存器值正确,说明指纹模组没有受到电磁或静电的干扰,但是CPU模块却没有从指纹模组接收到采集的指纹信息,则说明可能用户录入指纹时主动发生了中断,致使录入时长超时,且没有采集到指纹信息,因此可以判断本次指纹数据采集是否完成,如果没有完成,则继续跳转至采集指纹录入数据的步骤,继续录入指纹;如果完成,则控制指纹模组退出该指纹录入状态。In the example of Figure 2, if the timeout occurs (i.e., the countdown ends) and the register value is correct, it means that the fingerprint module is not affected by electromagnetic or static interference, but the CPU module does not receive the collected fingerprint information from the fingerprint module, which means that the user may have actively interrupted when entering the fingerprint, causing the entry time to time out and no fingerprint information was collected. Therefore, it can be determined whether the fingerprint data collection is completed. If not, continue to jump to the step of collecting fingerprint entry data and continue to enter the fingerprint; if completed, the fingerprint module is controlled to exit the fingerprint entry state.
在本申请实施例中,可以通过发送控制命令至指纹模组,来指示指纹模组进入指纹录入状态,以及将指纹模组的预设寄存器的取值设置为与指纹录入状态匹配的该预设代码,那么当长时间未接收到指纹模组反馈的指纹信息时,则可以通过获取该预设寄存器的当前取值,来判定该当前取值是否为上述预设代码,从而确定该指纹模组的工作状态是否异常,如果该当前取值不是该预设代码,则说明指纹模组受到了电磁或静电的干扰从而导致其工作状态发生了变化,不再是指纹录入状态,即其工作状态异常。因此,为了避免指纹录入中断,可以对所述指纹模组进行复位并将复位后的所述指纹模组的工作状态设置为所述指纹录入状态,从而使得指纹模组可以重新再在该指纹录入状态下采集指纹信息,降低指纹录入失败率,并降低指纹模组因上述干扰所导致的卡死风险。In the embodiment of the present application, a control command can be sent to the fingerprint module to instruct the fingerprint module to enter the fingerprint entry state, and the value of the preset register of the fingerprint module can be set to the preset code that matches the fingerprint entry state. Then, when the fingerprint information fed back by the fingerprint module is not received for a long time, the current value of the preset register can be obtained to determine whether the current value is the above preset code, thereby determining whether the working state of the fingerprint module is abnormal. If the current value is not the preset code, it means that the fingerprint module is subject to electromagnetic or static interference, which causes its working state to change and is no longer in the fingerprint entry state, that is, its working state is abnormal. Therefore, in order to avoid fingerprint entry interruption, the fingerprint module can be reset and the working state of the reset fingerprint module can be set to the fingerprint entry state, so that the fingerprint module can collect fingerprint information again in the fingerprint entry state, reduce the fingerprint entry failure rate, and reduce the risk of the fingerprint module being stuck due to the above interference.
可选地,在一个实施例中,在执行步骤104的将复位后的所述指纹模组的工作状态设置为所述指纹录入状态时,可以通过再次发送所述控制命令至复位后的所述指纹模组,来使得复位后的所述指纹模组的工作状态设置为所述指纹录入状态。Optionally, in one embodiment, when executing step 104 to set the working state of the reset fingerprint module to the fingerprint entry state, the working state of the reset fingerprint module can be set to the fingerprint entry state by sending the control command to the reset fingerprint module again.
具体而言,CPU模块可以控制指纹模组进行重启,然后,可以通过再次发送上述控制命令的方式,来控制指纹模组将工作状态设置为该指纹录入状态,其中,指纹模组再次接收到该控制命令后,则可以将指纹模组的工作状态设置为该指纹录入状态,并将指纹模组的预设寄存器的取值设置为与该指纹录入状态匹配的该预设代码。Specifically, the CPU module can control the fingerprint module to restart, and then, by sending the above-mentioned control command again, the fingerprint module can be controlled to set the working state to the fingerprint entry state. After the fingerprint module receives the control command again, the working state of the fingerprint module can be set to the fingerprint entry state, and the value of the preset register of the fingerprint module can be set to the preset code matching the fingerprint entry state.
或者,可选地,在一个实施例中,在执行步骤104的将复位后的所述指纹模组的工作状态设置为所述指纹录入状态时,还可以通过将所述预设寄存器的取值设置为所述预设代码,来使得复位后的所述指纹模组的工作状态设置为所述指纹录入状态。Alternatively, optionally, in one embodiment, when executing step 104 to set the working state of the reset fingerprint module to the fingerprint entry state, the working state of the reset fingerprint module can also be set to the fingerprint entry state by setting the value of the preset register to the preset code.
具体而言,为了避免在再次发送控制命令至指纹模组时,如果该指纹模组正在受到电磁等干扰,导致该指纹模组的工作状态无法因控制命令而切换至指纹录入状态的问题,在本实施例中,可以由CPU模块可以直接修改指纹模组的预设寄存器的取值,将其取值修改为该预设代码,从而使得修改寄存器取值后的指纹模组可以自动依据修改后的取值(即预设代码)来将其工作状态重新设置为该指纹录入状态。Specifically, in order to avoid the problem that when a control command is sent to the fingerprint module again, if the fingerprint module is subject to electromagnetic interference, the working state of the fingerprint module cannot be switched to the fingerprint entry state due to the control command, in this embodiment, the CPU module can directly modify the value of the preset register of the fingerprint module and modify its value to the preset code, so that the fingerprint module after the register value is modified can automatically reset its working state to the fingerprint entry state according to the modified value (i.e., the preset code).
在本申请实施例中,由于指纹模组受到电磁或静电的干扰从而导致其工作状态发生了异常,造成指纹录入中断,以及存在着指纹模组因上述干扰而卡死的风险较高的问题,因此,在本申请实施例中,为了解决该问题,可以对指纹模组进行复位,从而使得指纹模组重新启动,然后,通过再次发送所述控制命令至所述指纹模组;或,将所述预设寄存器的取值设置为所述预设代码的方式,将指纹模组的工作状态重新设置为该指纹录入状态,从而使得指纹模组可以在该指纹录入状态下,重新采集指纹信息,完成指纹录入工作,降低了指纹录入失败率和指纹模组卡死的风险。In the embodiment of the present application, since the fingerprint module is subject to electromagnetic or static interference, its working state becomes abnormal, resulting in the interruption of fingerprint entry, and there is a high risk of the fingerprint module being stuck due to the above interference. Therefore, in the embodiment of the present application, in order to solve this problem, the fingerprint module can be reset to restart the fingerprint module, and then the control command is sent to the fingerprint module again; or, the working state of the fingerprint module is reset to the fingerprint entry state by setting the value of the preset register to the preset code, so that the fingerprint module can re-collect fingerprint information in the fingerprint entry state to complete the fingerprint entry work, thereby reducing the fingerprint entry failure rate and the risk of the fingerprint module being stuck.
可选地,所述电子设备还配置有与所述指纹模组相邻设置的距离传感器。Optionally, the electronic device is further configured with a distance sensor arranged adjacent to the fingerprint module.
该距离传感器也设置在电子设备的侧边区域。The distance sensor is also arranged in the side area of the electronic device.
在一个示例中,该距离传感器可以是sar(Sodium Adsorption Rate)传感器,可用于对外部对象的接近感应。In one example, the distance sensor may be a SAR (Sodium Adsorption Rate) sensor, which may be used to sense the proximity of an external object.
那么在本实施例中,在执行步骤104时,则可以在所述距离传感器检测到外部对象、且所述指纹模组的工作状态异常的情况下,对所述指纹模组进行复位并将复位后的所述指纹模组的工作状态设置为所述指纹录入状态。In this embodiment, when executing step 104, if the distance sensor detects an external object and the working state of the fingerprint module is abnormal, the fingerprint module can be reset and the working state of the reset fingerprint module can be set to the fingerprint entry state.
在本申请实施例中,由于距离传感器与指纹模组相邻设置,则当手靠近或触摸指纹模组时,也会靠近该距离传感器,因此,如果距离传感器检测到了外部对象,则说明存在外部对象在靠近或接触指纹模组,很大概率是用户的手指在触摸指纹模组进行指纹录入,因此,在用户进行指纹录入,但是该指纹模组又不处于该指纹录入状态(即工作状态异常)的情况下,则可以将对所述指纹模组进行复位并将复位后的所述指纹模组的工作状态设置为所述指纹录入状态,从而可以更加准确地在存在指纹录入需求的情况下,及时地将受静电和电磁干扰而发生指纹录入中断的指纹模组恢复至指纹录入状态,满足用户的指纹录入需求。In the embodiment of the present application, since the distance sensor is arranged adjacent to the fingerprint module, when the hand approaches or touches the fingerprint module, it will also approach the distance sensor. Therefore, if the distance sensor detects an external object, it means that there is an external object approaching or touching the fingerprint module, and it is very likely that the user's finger is touching the fingerprint module for fingerprint entry. Therefore, when the user enters the fingerprint, but the fingerprint module is not in the fingerprint entry state (that is, the working state is abnormal), the fingerprint module can be reset and the working state of the reset fingerprint module can be set to the fingerprint entry state. In this way, when there is a fingerprint entry requirement, the fingerprint module whose fingerprint entry is interrupted due to static electricity and electromagnetic interference can be restored to the fingerprint entry state in a timely manner to meet the user's fingerprint entry requirement.
在本申请的上述实施例中,当用户在录入指纹时,如果指纹模组受干扰卡死,则本申请实施例的方法可以在CPU长时间检测不到指纹数据录入时,监测指纹模组的工作状态,例如CPU读取指纹模组的特定寄存器的取值,如果监测到异常,例如该取值不是与指纹录入状态对应的预设代码,则对指纹模组进行复位,并使指纹模组重新进入指纹录入状态,使得指纹模组的指纹录入功能继续进行,继续采集指纹信息。解决指纹模组卡死问题,以及解决侧面指纹的方案由于空间受限,抗干扰能力差而导致的用户录入指纹过程中指纹模组卡死和指纹录入失败率高的问题,提高用户体验感。In the above embodiment of the present application, when the user is entering a fingerprint, if the fingerprint module is interfered and stuck, the method of the embodiment of the present application can monitor the working state of the fingerprint module when the CPU cannot detect fingerprint data entry for a long time, such as the CPU reading the value of a specific register of the fingerprint module. If an abnormality is detected, such as the value is not a preset code corresponding to the fingerprint entry state, the fingerprint module is reset and the fingerprint module is re-entered into the fingerprint entry state, so that the fingerprint entry function of the fingerprint module continues and fingerprint information continues to be collected. The problem of fingerprint module stuck and the problem of fingerprint module stuck and high fingerprint entry failure rate during user fingerprint entry caused by limited space and poor anti-interference ability of the side fingerprint solution are solved, and the user experience is improved.
需要说明的是,本申请实施例提供的指纹模组控制方法,执行主体可以为指纹模组控制装置,或者该指纹模组控制装置中的用于执行指纹模组控制方法的控制模块(例如CPU模块)。本申请实施例中以指纹模组控制装置执行指纹模组控制方法为例,说明本申请实施例提供的指纹模组控制装置。It should be noted that the fingerprint module control method provided in the embodiment of the present application can be executed by a fingerprint module control device, or a control module (such as a CPU module) in the fingerprint module control device for executing the fingerprint module control method. In the embodiment of the present application, the fingerprint module control device provided in the embodiment of the present application is described by taking the fingerprint module control method executed by the fingerprint module control device as an example.
参照图3,示出了本申请一个实施例的指纹模组控制装置的框图,应用于电子设备,所述电子设备配置有指纹模组,所述装置包括:3 , a block diagram of a fingerprint module control device according to an embodiment of the present application is shown, which is applied to an electronic device, wherein the electronic device is equipped with a fingerprint module, and the device includes:
接收模块31,用于接收用户的第一输入;The receiving module 31 is used to receive a first input from a user;
控制模块32,用于响应于所述第一输入,控制所述指纹模组进入指纹录入状态;A control module 32, configured to control the fingerprint module to enter a fingerprint entry state in response to the first input;
获取模块33,用于在预设时长内未接收到通过所述指纹模组采集的指纹信息的情况下,获取所述指纹模组所处的工作状态;The acquisition module 33 is used to acquire the working state of the fingerprint module when the fingerprint information collected by the fingerprint module is not received within a preset time period;
设置模块34,用于在所述指纹模组的工作状态异常的情况下,对所述指纹模组进行复位并将复位后的所述指纹模组的工作状态设置为所述指纹录入状态。The setting module 34 is used for resetting the fingerprint module and setting the working state of the reset fingerprint module to the fingerprint entry state when the working state of the fingerprint module is abnormal.
可选地,所述控制模块32包括:Optionally, the control module 32 includes:
第一发送子模块,用于发送控制命令至所述指纹模组,其中,所述控制命令用于指示所述指纹模组进入所述指纹录入状态,并用于将预设寄存器的取值设置为与所述指纹录入状态匹配的预设代码;A first sending submodule, used for sending a control command to the fingerprint module, wherein the control command is used for instructing the fingerprint module to enter the fingerprint entry state and for setting the value of a preset register to a preset code matching the fingerprint entry state;
所述获取模块33包括:The acquisition module 33 includes:
获取子模块,用于获取所述预设寄存器的当前取值;An acquisition submodule, used to acquire the current value of the preset register;
其中,若所述当前取值不为所述预设代码,则确定所述指纹模组的工作状态异常。If the current value is not the preset code, it is determined that the working state of the fingerprint module is abnormal.
可选地,所述设置模块34包括:Optionally, the setting module 34 includes:
第二发送子模块,用于再次发送所述控制命令至所述指纹模组;A second sending submodule, used for sending the control command to the fingerprint module again;
设置子模块,用于将所述预设寄存器的取值设置为所述预设代码。The setting submodule is used to set the value of the preset register to the preset code.
可选地,所述电子设备还配置有与所述指纹模组相邻设置的距离传感器;Optionally, the electronic device is further configured with a distance sensor disposed adjacent to the fingerprint module;
所述设置模块34,还用于在所述距离传感器检测到外部对象、且所述指纹模组的工作状态异常的情况下,对所述指纹模组进行复位并将复位后的所述指纹模组的工作状态设置为所述指纹录入状态。The setting module 34 is further configured to reset the fingerprint module and set the working state of the reset fingerprint module to the fingerprint entry state when the distance sensor detects an external object and the working state of the fingerprint module is abnormal.
在本申请实施例中,可以接收用户的第一输入,并响应于该第一输入,控制指纹模组进入指纹录入状态,使得指纹模组在该指纹录入状态下可以采集指纹信息,如果在预设时长内未接收到通过所述指纹模组采集的指纹信息,则说明该指纹模组很可能受到了静电或电磁的干扰而导致其工作状态异常,因此,为了避免指纹模组对指纹录入的中断以及降低指纹模组的卡死风险,可以获取所述指纹模组的工作状态,如果该工作状态异常,则说明该指纹模组确实因上述干扰发生了状态变化,因此,可以对该指纹模组进行复位,并将复位后的指纹模组的工作状态设置为该指纹录入状态,使得指纹模组可以继续采集指纹完成指纹录入工作,避免指纹录入发生中断,降低了指纹录入失败率,并进一步降低了指纹模组被上述干扰卡死的风险。In an embodiment of the present application, a first input from a user can be received, and in response to the first input, the fingerprint module can be controlled to enter a fingerprint entry state, so that the fingerprint module can collect fingerprint information in this fingerprint entry state. If the fingerprint information collected by the fingerprint module is not received within a preset time period, it means that the fingerprint module is likely to be subject to electrostatic or electromagnetic interference, resulting in an abnormal working state. Therefore, in order to avoid interruption of fingerprint entry by the fingerprint module and reduce the risk of the fingerprint module being stuck, the working state of the fingerprint module can be obtained. If the working state is abnormal, it means that the fingerprint module has indeed changed its state due to the above-mentioned interference. Therefore, the fingerprint module can be reset, and the working state of the reset fingerprint module can be set to the fingerprint entry state, so that the fingerprint module can continue to collect fingerprints to complete the fingerprint entry work, avoid interruption of fingerprint entry, reduce the fingerprint entry failure rate, and further reduce the risk of the fingerprint module being stuck by the above-mentioned interference.
本申请实施例中的指纹模组控制装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为个人计算机(personalcomputer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The fingerprint module control device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
本申请实施例中的指纹模组控制装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The fingerprint module control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
本申请实施例提供的指纹模组控制装置能够实现图1至图2的方法实施例实现的各个过程,为避免重复,这里不再赘述。The fingerprint module control device provided in the embodiment of the present application can implement each process implemented by the method embodiments of Figures 1 to 2. To avoid repetition, they will not be described here.
可选地,如图4所示,本申请实施例还提供一种电子设备2000,包括处理器2002,存储器2001,存储在存储器2001上并可在所述处理器2002上运行的程序或指令,该程序或指令被处理器2002执行时实现上述指纹模组控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 4, an embodiment of the present application also provides an electronic device 2000, including a processor 2002, a memory 2001, and a program or instruction stored in the memory 2001 and executable on the processor 2002. When the program or instruction is executed by the processor 2002, each process of the above-mentioned fingerprint module control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
图5为实现本申请实施例的一种电子设备的硬件结构示意图,所述电子设备配置有指纹模组。FIG5 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application, wherein the electronic device is configured with a fingerprint module.
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图5中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1000 can also include a power supply (such as a battery) for supplying power to each component, and the power supply can be logically connected to the processor 1010 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The electronic device structure shown in FIG5 does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than shown in the figure, or combine certain components, or arrange components differently, which will not be described in detail here.
用户输入单元1007,用于接收用户的第一输入;The user input unit 1007 is used to receive a first input from a user;
处理器1010,用于响应于所述第一输入,控制所述指纹模组进入指纹录入状态;在预设时长内未接收到通过所述指纹模组采集的指纹信息的情况下,获取所述指纹模组的工作状态;在所述指纹模组的工作状态异常的情况下,对所述指纹模组进行复位并将复位后的所述指纹模组的工作状态设置为所述指纹录入状态。Processor 1010 is used to control the fingerprint module to enter the fingerprint entry state in response to the first input; obtain the working state of the fingerprint module when no fingerprint information collected by the fingerprint module is received within a preset time period; and reset the fingerprint module and set the working state of the reset fingerprint module to the fingerprint entry state when the working state of the fingerprint module is abnormal.
在本申请实施例中,可以接收用户的第一输入,并响应于该第一输入,控制指纹模组进入指纹录入状态,使得指纹模组在该指纹录入状态下可以采集指纹信息,如果在预设时长内未接收到通过所述指纹模组采集的指纹信息,则说明该指纹模组很可能受到了静电或电磁的干扰而导致其工作状态异常,因此,为了避免指纹模组对指纹录入的中断以及降低指纹模组的卡死风险,可以获取所述指纹模组的工作状态,如果该工作状态异常,则说明该指纹模组确实因上述干扰发生了状态变化,因此,可以对该指纹模组进行复位,并将复位后的指纹模组的工作状态设置为该指纹录入状态,使得指纹模组可以继续采集指纹完成指纹录入工作,避免指纹录入发生中断,降低了指纹录入失败率,并进一步降低了指纹模组被上述干扰卡死的风险。In an embodiment of the present application, a first input from a user can be received, and in response to the first input, the fingerprint module can be controlled to enter a fingerprint entry state, so that the fingerprint module can collect fingerprint information in this fingerprint entry state. If the fingerprint information collected by the fingerprint module is not received within a preset time period, it means that the fingerprint module is likely to be subject to electrostatic or electromagnetic interference, resulting in an abnormal working state. Therefore, in order to avoid interruption of fingerprint entry by the fingerprint module and reduce the risk of the fingerprint module being stuck, the working state of the fingerprint module can be obtained. If the working state is abnormal, it means that the fingerprint module has indeed changed its state due to the above-mentioned interference. Therefore, the fingerprint module can be reset, and the working state of the reset fingerprint module can be set to the fingerprint entry state, so that the fingerprint module can continue to collect fingerprints to complete the fingerprint entry work, avoid interruption of fingerprint entry, reduce the fingerprint entry failure rate, and further reduce the risk of the fingerprint module being stuck by the above-mentioned interference.
可选地,处理器1010,还用于发送控制命令至所述指纹模组,其中,所述控制命令用于指示所述指纹模组进入所述指纹录入状态,并用于将预设寄存器的取值设置为与所述指纹录入状态匹配的预设代码;获取所述预设寄存器的当前取值;其中,若所述当前取值不为所述预设代码,则确定所述指纹模组的工作状态异常。Optionally, the processor 1010 is also used to send a control command to the fingerprint module, wherein the control command is used to instruct the fingerprint module to enter the fingerprint entry state, and to set the value of the preset register to a preset code matching the fingerprint entry state; obtain the current value of the preset register; wherein, if the current value is not the preset code, it is determined that the working state of the fingerprint module is abnormal.
在本申请实施例中,可以通过发送控制命令至指纹模组,来指示指纹模组进入指纹录入状态,以及将指纹模组的预设寄存器的取值设置为与指纹录入状态匹配的该预设代码,那么当长时间未接收到指纹模组反馈的指纹信息时,则可以通过获取该预设寄存器的当前取值,来判定该当前取值是否为上述预设代码,从而确定该指纹模组的工作状态是否异常,如果该当前取值不是该预设代码,则说明指纹模组受到了电磁或静电的干扰从而导致其工作状态发生了变化,不再是指纹录入状态,即其工作状态异常。因此,为了避免指纹录入中断,可以对所述指纹模组进行复位并将复位后的所述指纹模组的工作状态设置为所述指纹录入状态,从而使得指纹模组可以重新再在该指纹录入状态下采集指纹信息,降低指纹录入失败率,并降低指纹模组因上述干扰所导致的卡死风险。In the embodiment of the present application, a control command can be sent to the fingerprint module to instruct the fingerprint module to enter the fingerprint entry state, and the value of the preset register of the fingerprint module can be set to the preset code that matches the fingerprint entry state. Then, when the fingerprint information fed back by the fingerprint module is not received for a long time, the current value of the preset register can be obtained to determine whether the current value is the above preset code, thereby determining whether the working state of the fingerprint module is abnormal. If the current value is not the preset code, it means that the fingerprint module is subject to electromagnetic or static interference, which causes its working state to change and is no longer in the fingerprint entry state, that is, its working state is abnormal. Therefore, in order to avoid fingerprint entry interruption, the fingerprint module can be reset and the working state of the reset fingerprint module can be set to the fingerprint entry state, so that the fingerprint module can collect fingerprint information again in the fingerprint entry state, reduce the fingerprint entry failure rate, and reduce the risk of the fingerprint module being stuck due to the above interference.
可选地,处理器1010,还用于再次发送所述控制命令至所述指纹模组;或,将所述预设寄存器的取值设置为所述预设代码。Optionally, the processor 1010 is further configured to send the control command to the fingerprint module again; or set the value of the preset register to the preset code.
在本申请实施例中,由于指纹模组受到电磁或静电的干扰从而导致其工作状态发生了异常,造成指纹录入中断,以及存在着指纹模组因上述干扰而卡死的风险较高的问题,因此,在本申请实施例中,为了解决该问题,可以对指纹模组进行复位,从而使得指纹模组重新启动,然后,通过再次发送所述控制命令至所述指纹模组;或,将所述预设寄存器的取值设置为所述预设代码的方式,将指纹模组的工作状态重新设置为该指纹录入状态,从而使得指纹模组可以在该指纹录入状态下,重新采集指纹信息,完成指纹录入工作,降低了指纹录入失败率和指纹模组卡死的风险。In the embodiment of the present application, since the fingerprint module is subject to electromagnetic or static interference, its working state becomes abnormal, resulting in the interruption of fingerprint entry, and there is a high risk of the fingerprint module being stuck due to the above interference. Therefore, in the embodiment of the present application, in order to solve this problem, the fingerprint module can be reset to restart the fingerprint module, and then the control command is sent to the fingerprint module again; or, the working state of the fingerprint module is reset to the fingerprint entry state by setting the value of the preset register to the preset code, so that the fingerprint module can re-collect fingerprint information in the fingerprint entry state to complete the fingerprint entry work, thereby reducing the fingerprint entry failure rate and the risk of the fingerprint module being stuck.
可选地,所述电子设备1000还配置有与所述指纹模组相邻设置的距离传感器;Optionally, the electronic device 1000 is further configured with a distance sensor disposed adjacent to the fingerprint module;
所述处理器1010,还用于在所述距离传感器检测到外部对象、且所述指纹模组的工作状态异常的情况下,对所述指纹模组进行复位并将复位后的所述指纹模组的工作状态设置为所述指纹录入状态。The processor 1010 is further configured to reset the fingerprint module and set the working state of the reset fingerprint module to the fingerprint entry state when the distance sensor detects an external object and the working state of the fingerprint module is abnormal.
在本申请实施例中,由于距离传感器与指纹模组相邻设置,则当手靠近或触摸指纹模组时,也会靠近该距离传感器,因此,如果距离传感器检测到了外部对象,则说明存在外部对象在靠近或接触指纹模组,很大概率是用户的手指在触摸指纹模组进行指纹录入,因此,在用户进行指纹录入,但是该指纹模组又不处于该指纹录入状态(即工作状态异常)的情况下,则可以将对所述指纹模组进行复位并将复位后的所述指纹模组的工作状态设置为所述指纹录入状态,从而可以更加准确地在存在指纹录入需求的情况下,及时地将受静电和电磁干扰而发生指纹录入中断的指纹模组恢复至指纹录入状态,满足用户的指纹录入需求。In the embodiment of the present application, since the distance sensor is arranged adjacent to the fingerprint module, when the hand approaches or touches the fingerprint module, it will also approach the distance sensor. Therefore, if the distance sensor detects an external object, it means that there is an external object approaching or touching the fingerprint module, and it is very likely that the user's finger is touching the fingerprint module for fingerprint entry. Therefore, when the user enters the fingerprint, but the fingerprint module is not in the fingerprint entry state (that is, the working state is abnormal), the fingerprint module can be reset and the working state of the reset fingerprint module can be set to the fingerprint entry state. In this way, when there is a fingerprint entry requirement, the fingerprint module whose fingerprint entry is interrupted due to static electricity and electromagnetic interference can be restored to the fingerprint entry state in a timely manner to meet the user's fingerprint entry requirement.
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(GraphicsProcessing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1010.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述指纹模组控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by the processor, the various processes of the above-mentioned fingerprint module control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述指纹模组控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned fingerprint module control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be noted that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010561230.0ACN111814586B (en) | 2020-06-18 | 2020-06-18 | Fingerprint module control method, device, electronic device and readable storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010561230.0ACN111814586B (en) | 2020-06-18 | 2020-06-18 | Fingerprint module control method, device, electronic device and readable storage medium |
| Publication Number | Publication Date |
|---|---|
| CN111814586A CN111814586A (en) | 2020-10-23 |
| CN111814586Btrue CN111814586B (en) | 2024-09-17 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010561230.0AActiveCN111814586B (en) | 2020-06-18 | 2020-06-18 | Fingerprint module control method, device, electronic device and readable storage medium |
| Country | Link |
|---|---|
| CN (1) | CN111814586B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114885347B (en)* | 2022-04-08 | 2025-08-01 | 广东跃昉科技有限公司 | Anti-interference wireless network communication method and device and computer equipment |
| CN116700802B (en)* | 2022-11-15 | 2024-07-30 | 荣耀终端有限公司 | Fingerprint module control method and control device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106055455A (en)* | 2016-06-08 | 2016-10-26 | 广东欧珀移动通信有限公司 | Anti-interference method and device for key |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11279357B2 (en)* | 2013-12-25 | 2022-03-22 | Denso Corporation | Vehicle diagnosis system and method |
| CN106951850B (en)* | 2017-03-15 | 2019-06-28 | Oppo广东移动通信有限公司 | A kind of method and mobile terminal controlling fingerprint recognition mould group |
| CN106959877B (en)* | 2017-03-31 | 2020-07-10 | 浙江中正智能科技有限公司 | Fingerprint identification chip driving circuit, fingerprint identification chip driving method and device |
| CN108446663A (en)* | 2018-04-02 | 2018-08-24 | 北京小米移动软件有限公司 | fingerprint module setting method and device |
| WO2020019355A1 (en)* | 2018-07-27 | 2020-01-30 | 华为技术有限公司 | Touch control method for wearable device, and wearable device and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106055455A (en)* | 2016-06-08 | 2016-10-26 | 广东欧珀移动通信有限公司 | Anti-interference method and device for key |
| Publication number | Publication date |
|---|---|
| CN111814586A (en) | 2020-10-23 |
| Publication | Publication Date | Title |
|---|---|---|
| EP3627809B1 (en) | Method and device for reducing power consumption of mobile terminal, storage medium and mobile terminal | |
| CN108701178B (en) | Authentication method and electronic device using the authentication method | |
| US11449123B2 (en) | Prompt information display method and electronic device | |
| EP3525124B1 (en) | Fingerprint unlocking | |
| EP3407163B1 (en) | Mobile terminal device, operation method, program, and storage medium | |
| US10558840B2 (en) | Fingerprint recognition method and electronic device | |
| US20130290761A1 (en) | Method of and apparatus for processing touch signal by touch sensor controller | |
| CN106020418A (en) | Method and apparatus for reducing power consumption of mobile terminal, and mobile terminal | |
| KR20180074983A (en) | Method for obtaining bio data and an electronic device thereof | |
| CN111814586B (en) | Fingerprint module control method, device, electronic device and readable storage medium | |
| CN115562895B (en) | Abnormal recovery method and equipment for electronic equipment | |
| CN113835558A (en) | Screen parameter adjustment method, device and electronic device | |
| US20240143711A1 (en) | Screen unlocking method and apparatus, and electronic device | |
| CN109582416A (en) | Fingerprint acquisition method and device, storage medium and electronic equipment | |
| WO2020253495A1 (en) | Screen lock control method, device, handheld terminal, and storage medium | |
| CN112947829A (en) | Misoperation processing method and device, electronic equipment and readable storage medium | |
| CN115623557A (en) | Method for determining network hunting frequency, device for determining network hunting frequency, and electronic equipment | |
| CN112712065B (en) | Electronic equipment, biological characteristic acquisition method and device | |
| KR101143786B1 (en) | Mobile information terminals with a finger print input device and controlling mehtod thereof | |
| CN112667067A (en) | Payment method and device and electronic equipment | |
| CN112287713A (en) | Two-dimensional code identification method and device | |
| CN107820598A (en) | Fingerprint event processing device and method | |
| CN114020099B (en) | Display method and device | |
| CN105204741A (en) | Photographing method and device for mobile terminal | |
| CN110889102B (en) | Image unlocking method and device, computer readable storage medium and terminal |
| 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 | ||
| TG01 | Patent term adjustment | ||
| TG01 | Patent term adjustment |