Fingerprint recognition method and electronic device
By automatically switching fingerprint recognition modes according to battery status in electronic devices, and using fingerprint AI processing circuits and fingerprint processing chips, the problem of balancing power consumption and recognition accuracy is solved, improving user experience and security, and extending the working time of the device. .
Patent Information
- Application Number
- CN202110579099.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-26
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2041-05-26
AI Technical Summary
Existing fingerprint recognition technology is difficult to balance between power consumption and recognition accuracy, resulting in poor user experience, especially in scenarios such as wet hands, dirty hands, unclear fingerprints of the elderly or children, etc. Failure to recognize, and insufficient security protection capabilities.
By setting two fingerprint recognition modes in the electronic device: high-precision mode and low-precision mode, they automatically switch according to the remaining battery power, and use the fingerprint AI processing circuit and fingerprint processing chip to perform identification respectively, ensuring that the high-precision mode is used when the power is sufficient. Switch to low-precision mode when battery is low.
It achieves improved user experience while taking into account battery power consumption and fingerprint recognition accuracy, ensuring high-precision recognition in complex scenarios, enhancing security protection capabilities, and extending the working hours of the device.
Smart Images

Figure CN115482605B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a fingerprint recognition method and electronic device. Background Art
[0002] With the development of the smart home industry, more and more consumers are using electronic devices with fingerprint recognition functions (such as smart door locks). Such electronic devices can provide fingerprint recognition functions, and users can quickly open the door with fingerprints without carrying keys. If fingerprint recognition uses high-precision recognition, it will lead to high power consumption; if fingerprint recognition uses low-precision recognition, it will lead to poor recognition results in some scenarios and poor user experience. Therefore, it has become our need to provide users with fingerprint recognition methods and electronic devices that take into account both power consumption and recognition accuracy. Summary of the invention
[0003] The fingerprint recognition function of the above-mentioned electronic devices is generally implemented through a fingerprint module. Usually, after receiving the fingerprint input by the user, the fingerprint module matches it with the pre-saved template fingerprint, confirms that the match is successful, and then notifies the microcontroller unit (MCU) to start the motor drive and unlock (for example, unlock). However, in general, the computing power of the fingerprint module is limited, and it cannot accurately identify in some scenarios. For example, in scenarios where a person's hands are wet or dirty, resulting in unclear fingerprints, the elderly's fingerprints may fade due to aging, and the children's fingerprints are not clear or too small due to their growth, the fingerprint module may make mistakes in fingerprint recognition, resulting in unlocking failure and poor user experience; that is, the fingerprint recognition accuracy is not high. In addition, the security protection capability of the fingerprint module is weak. In order to ensure the recognition accuracy, a fingerprint artificial intelligence (AI) processing chip with higher accuracy can be set. Compared with the fingerprint module, the fingerprint AI processing circuit has a stronger security protection capability, but the power requirement is also higher.
[0004] In order to solve the above technical problems, the present application provides a fingerprint recognition switching method and an electronic device. The technical solution provided by the present application enables the electronic device to automatically switch the fingerprint recognition mode according to the power information, taking into account the power consumption and fingerprint recognition accuracy, and even taking into account the security protection capability. The technical solution provided by the present application selects a high-precision fingerprint recognition mode when the power is sufficient; selects a low-precision fingerprint recognition mode when the power is insufficient to support the high-precision fingerprint recognition mode; and ensures the fingerprint recognition accuracy as much as possible.
[0005] In order to achieve the above technical objectives, the embodiments of the present application provide the following technical solutions:
[0006] In the first aspect, an electronic device is provided. The electronic device includes a processor, a memory, a fingerprint artificial intelligence processing circuit, a fingerprint module, a first battery and a second battery; the first battery is used to power the fingerprint artificial intelligence processing circuit, and the second battery is used to power the fingerprint module; the fingerprint module includes a fingerprint sensor and a fingerprint processing chip; the electronic device is in a dormant state; the processor performs the following steps: receiving a wake-up signal, the processor wakes up. After the remaining power of the first battery meets the first condition, the processor wakes up the fingerprint sensor and the fingerprint processing chip; the processor receives the input fingerprint through the fingerprint sensor, and performs fingerprint recognition through the fingerprint processing chip. After the remaining power of the first battery meets the second condition, the processor wakes up the fingerprint sensor and the fingerprint artificial intelligence processing circuit; the processor receives the input fingerprint through the fingerprint sensor, and performs fingerprint recognition through the fingerprint artificial intelligence processing circuit.
[0007] In some embodiments, the electronic device measures whether the first battery can support the fingerprint recognition work of the fingerprint artificial intelligence processing circuit by the remaining power of the first battery. Exemplarily, the battery status information of the first battery includes at least one of the remaining power of the first battery and whether the first battery is connected to the electronic device. Among them, whether the first battery works for the fingerprint artificial intelligence processing circuit can also be measured by the remaining power of the first battery. For example, if the electronic device detects that the remaining power of the first battery is 0, it determines that the first battery cannot work for the fingerprint artificial intelligence processing circuit.
[0008] In this way, the electronic device can call the fingerprint artificial intelligence processing circuit with better processing power to perform fingerprint recognition when the remaining power of the first battery meets the requirements, so as to meet the fingerprint recognition needs in complex scenarios such as unclear fingerprints after wet or dirty hands, unclear fingerprints of the elderly or children due to fading or poor growth and development. In addition, the electronic device can still perform fingerprint recognition through the fingerprint processing chip when the remaining power of the first battery is insufficient, meeting the recognition needs in general scenarios. Then, the electronic device realizes adaptive fingerprint recognition mode switching according to the remaining power of the first battery, realizes high-precision fingerprint recognition, and solves the problem that high-precision fingerprint recognition consumes a large amount of remaining power, resulting in a short working time of the electronic device.
[0009] In this way, the smart door lock can adaptively switch the fingerprint recognition mode according to the battery status, and achieve high-precision fingerprint recognition when the battery status meets the requirements. Fingerprint recognition can also be achieved when the battery status does not meet the requirements. In this way, the smart door lock can take into account both the fingerprint recognition function and the battery power consumption problem, improving the user experience.
[0010] In this way, the smart door lock can be compatible with the chip-side matching (match on chip, MOC) mode and the host-side matching (match on host, MOH) mode, and automatically switch the fingerprint recognition mode according to the battery status, so that the smart door lock can achieve high-precision fingerprint recognition in scenarios such as when the hands are wet or dirty and the fingerprints are unclear, and when the fingerprints of the elderly or children may be unclear due to fading or poor growth and development.
[0011] According to the first aspect, the remaining power of the first battery meets the first condition; including: the remaining power of the first battery is less than the first preset threshold. The remaining power of the first battery meets the second condition; including: the remaining power of the first battery is greater than or equal to the second preset threshold.
[0012] In some embodiments, the first preset threshold is less than the second preset threshold, for example, the first preset threshold is 2% of the total power of the first battery, and the second preset threshold is 5% of the total power of the first battery. The first preset threshold and the second preset threshold can be experimentally obtained, empirical values, or percentages of the total power of the battery determined according to the battery information or specific remaining power values, which are not specifically limited in the embodiments of the present application. Optionally, the first preset threshold and the second preset threshold can be the same, and the electronic device uses a power threshold to determine fingerprint recognition through a fingerprint processing chip or a fingerprint artificial intelligence processing circuit. If the remaining power of the first battery is less than the power threshold, fingerprint recognition is performed through the fingerprint processing chip; when the remaining power of the first battery is greater than or equal to the power threshold, fingerprint recognition is performed through the fingerprint artificial intelligence processing circuit. Optionally, the first preset threshold and the second preset threshold can be different, so that the ping-pong effect can be avoided, that is, the module used for fingerprint recognition can be repeatedly switched.
[0013] In this way, the electronic device determines the module used for fingerprint recognition according to the remaining power of the first battery through a preset threshold, adaptively implements the switching of the fingerprint recognition module, and improves the fingerprint recognition efficiency.
[0014] According to the first aspect, or any implementation of the first aspect above, after the processor of the electronic device wakes up, and before determining whether the remaining power of the first battery satisfies the first condition or satisfies the second condition, the method further includes: the processor obtains a fingerprint recognition mode of the electronic device before the sleep state. After the fingerprint recognition mode is the first mode, the processor determines whether the remaining power of the first battery satisfies the first condition. After the fingerprint recognition mode is the second mode, the processor determines whether the remaining power of the first battery satisfies the second condition.
[0015] In some embodiments, the first mode is the MOH mode and the second mode is the MOC mode. After waking up, the processor of the electronic device first determines the fingerprint recognition mode applied before sleep, and then confirms the remaining power of the current first battery to determine whether the remaining power of the current first battery can support the electronic device to execute the current fingerprint recognition mode.
[0016] In this way, the processor reconfirms the fingerprint recognition mode according to the remaining power of the first battery, thereby avoiding the fingerprint recognition failure exception caused by the remaining power of the first battery and ensuring the fingerprint recognition effect.
[0017] According to the first aspect, or any implementation of the first aspect above, when the fingerprint recognition mode is the first mode and the remaining power of the first battery does not meet the first condition, the processor wakes up the fingerprint sensor and the fingerprint artificial intelligence processing circuit; the processor receives the fingerprint input through the fingerprint sensor, and performs fingerprint recognition through the fingerprint artificial intelligence processing circuit.
[0018] According to the first aspect, or any implementation of the first aspect above, when the fingerprint recognition mode is the first mode and the remaining power of the first battery does not meet the first condition, the processor uses the first mode as the current fingerprint recognition mode.
[0019] In some embodiments, the processor determines that the fingerprint recognition mode is the MOH mode, and the current remaining power of the first battery can support the fingerprint artificial intelligence processing circuit to perform fingerprint recognition, that is, if the remaining power of the first battery does not meet the first condition, the MOH mode is maintained, and fingerprint recognition is performed by the fingerprint artificial intelligence processing circuit. Thus, the electronic device can achieve high-precision fingerprint recognition.
[0020] According to the first aspect, or any implementation of the first aspect above, when the fingerprint recognition mode is the second mode and the remaining power of the first battery does not meet the second condition, the processor wakes up the fingerprint sensor and the fingerprint processing chip; the processor receives the fingerprint input through the fingerprint sensor and performs fingerprint recognition through the fingerprint processing chip.
[0021] According to the first aspect, or any implementation of the first aspect above, when the fingerprint recognition mode is the second mode and the remaining power of the first battery does not meet the second condition, the processor uses the second mode as the current fingerprint recognition mode.
[0022] In some embodiments, the processor determines that the fingerprint recognition mode is the MOC mode, and the current remaining power of the first battery cannot support the fingerprint artificial intelligence processing circuit to perform fingerprint recognition, that is, the remaining power of the first battery does not meet the second condition, then the MOC mode is maintained, and fingerprint recognition is performed through the fingerprint processing chip. Thus, the electronic device can still perform fingerprint recognition when the first battery is insufficient.
[0023] According to the first aspect, or any implementation of the first aspect above, the fingerprint recognition mode of the electronic device before the electronic device is in the sleep state is stored in the electronic device, or in a server connected to the electronic device before the electronic device is in the sleep state.
[0024] In some embodiments, after the electronic device switches the fingerprint recognition mode, it saves the switched fingerprint recognition mode; or, after the electronic device performs the fingerprint recognition operation, it saves the applied fingerprint recognition mode and then goes into sleep mode. In this way, after the subsequent electronic device processor wakes up, it can directly obtain the stored fingerprint recognition mode and perform fingerprint recognition according to the stored fingerprint recognition mode, thereby improving the fingerprint processing efficiency.
[0025] According to the first aspect, or any implementation of the first aspect above, after the remaining power of the first battery does not meet the first condition and does not meet the second condition, the processor obtains the fingerprint recognition mode of the electronic device before the sleep state; according to whether the fingerprint recognition mode is the first mode or the second mode, the fingerprint sensor is awakened, and the fingerprint artificial intelligence processing circuit or the fingerprint processing chip is awakened; the processor receives the input fingerprint through the fingerprint sensor, and performs fingerprint recognition through the fingerprint artificial intelligence processing circuit or the fingerprint processing chip.
[0026] In this way, after waking up, the processor of the electronic device can directly perform the fingerprint verification according to the fingerprint recognition mode stored before sleep, without confirming the remaining power of the first battery, thereby improving the efficiency of fingerprint verification. In addition, the adaptive switching of the fingerprint recognition mode of the electronic device will not cause abnormality in the fingerprint recognition process.
[0027] For example, suppose the fingerprint recognition mode of the electronic device is the MOH mode. The electronic device is awakened after detecting that the first battery is removed, that is, no longer powers the fingerprint artificial intelligence processing circuit, and automatically switches the fingerprint recognition mode to the MOC mode. After recording the switched fingerprint recognition mode in the storage module, it enters the sleep state. Afterwards, the processor of the electronic device detects the wake-up signal, and directly obtains the fingerprint recognition mode stored in the storage module as the MOC mode. It is no longer necessary to confirm whether the first battery can power the fingerprint artificial intelligence processing circuit, and the fingerprint processing chip can be awakened to work.
[0028] According to the first aspect, or any implementation of the first aspect above, the electronic device pre-stores a first template fingerprint and a second template fingerprint; based on the input fingerprint and the first template fingerprint, or based on the input fingerprint and the second template fingerprint, after the fingerprint recognition passes, the electronic device is unlocked; after the fingerprint recognition fails, the electronic device prompts to re-enter the fingerprint; the first template fingerprint is the original fingerprint image collected by the fingerprint sensor, which is obtained after being processed by the fingerprint processing chip; the second template fingerprint is the original fingerprint image collected by the fingerprint sensor, which is obtained after being processed by the fingerprint artificial intelligence processing circuit.
[0029] In some embodiments, the fingerprint processing chip and the fingerprint artificial intelligence processing circuit can both obtain the original fingerprint image, and use their respective algorithms to process the original fingerprint image to obtain their respective template fingerprints for fingerprint verification. In this way, the fingerprint processing chip used to support the fingerprint recognition function in the MOC mode and the fingerprint artificial intelligence processing circuit used to support the fingerprint recognition function in the MOH mode in the smart door lock both store the template fingerprints obtained after their respective processing. Then, after the subsequent electronic device detects the fingerprint input by the user, it can call the fingerprint processing chip or the fingerprint artificial intelligence processing circuit for fingerprint verification, and realize fingerprint recognition compatible with the MOC mode and the MOH mode.
[0030] In some embodiments, if the electronic device determines that the input fingerprint verification is passed, it confirms that the current user is a safe user, drives the motor to open the door lock, and allows the user to enter. Optionally, after the electronic device opens the door lock, it can also prompt the user that the electronic device is turned on through a preset prompt method. Among them, the preset prompt method includes, for example, one or more of a variety of prompt methods such as voice prompts, display information prompts, and indicator light prompts.
[0031] In some embodiments, if the electronic device determines that the fingerprint input verification fails, the user is prompted to input the fingerprint again to avoid the failure of user identity confirmation due to abnormal fingerprint input. Furthermore, the number of recognition failures can be preset. If the number of fingerprint input verification failures of the electronic device reaches the preset number of recognition failures, an alarm message is sent to the associated control device to ensure safety.
[0032] According to the first aspect, or any implementation of the first aspect above, the fingerprint artificial intelligence processing circuit runs a trusted execution environment operating system TEE OS, and the fingerprint artificial intelligence processing circuit is used to perform recognition in the TEE OS based on the second template fingerprint and the input fingerprint.
[0033] In this way, the fingerprint artificial intelligence processing circuit performs fingerprint verification in a trusted execution environment, and sends the fingerprint verification result to the processor based on a secure transmission protocol, which can effectively improve the security of the fingerprint recognition process.
[0034] According to the first aspect, or any implementation of the first aspect above, after the remaining power of the first battery does not meet the first condition, or after the remaining power of the first battery meets the second condition, the first battery is also used to power various circuits included in the electronic device.
[0035] In some implementations, after the remaining power of the first battery meets the requirement for powering the fingerprint artificial intelligence processing circuit, the first battery can power modules including but not limited to: fingerprint artificial intelligence processing circuit, fingerprint module, processor.
[0036] According to the first aspect, or any implementation of the first aspect above, after the remaining power of the first battery meets the first condition, or after the remaining power of the first battery does not meet the second condition, the second battery is also used to power the fingerprint module and the processor.
[0037] In some implementations, after the remaining power of the first battery does not meet the requirements for powering the fingerprint artificial intelligence processing circuit, the electronic device is powered by a second battery, and the second battery can power modules including but not limited to: fingerprint module, processor.
[0038] According to the first aspect, or any implementation of the first aspect, the first battery includes one or more lithium batteries; the second battery includes one or more dry batteries.
[0039] According to the first aspect, or any implementation of the first aspect above, the electronic device includes but is not limited to at least one of the following: a smart home device, a computing device; the smart home device includes but is not limited to a smart door lock.
[0040] According to the first aspect, or any implementation of the first aspect above, receiving the wake-up signal includes: detecting that the user is within a certain distance, then determining that the wake-up signal is received. Or detecting that the user operates the electronic device, then determining that the wake-up signal is received.
[0041] In some embodiments, the wake-up signal may be a command automatically detected by the electronic device, or after the electronic device detects the user's operation on the electronic device, the command corresponding to the operation is used as the wake-up signal. For example, suppose that the electronic device is equipped with a passive infrared sensor. The electronic device detects infrared radiation through a PIR sensor. If the detected infrared radiation is higher than a preset threshold, it is determined that a user is close to the electronic device, and it is determined that the user may need to turn on the electronic device at present, and the processor is automatically woken up. For another example, the electronic device detects the user's operation on a button, and determines that the user may need to operate the electronic device, and then wakes up the processor. Among them, the button can be a mechanical button or a touch button displayed on a display screen.
[0042] In a second aspect, a fingerprint recognition method is provided, which is applied to an electronic device. The electronic device includes a processor, a memory, a fingerprint artificial intelligence processing circuit, a fingerprint module, a first battery and a second battery; the first battery is used to power the fingerprint artificial intelligence processing circuit, and the second battery is used to power the fingerprint module; the fingerprint module includes a fingerprint sensor and a fingerprint processing chip; the electronic device is in a dormant state. The method includes: receiving a wake-up signal, and the processor of the electronic device wakes up. After the remaining power of the first battery meets the first condition, the processor wakes up the fingerprint sensor and the fingerprint processing chip; the processor receives the input fingerprint through the fingerprint sensor, and performs fingerprint recognition through the fingerprint processing chip. After the remaining power of the first battery meets the second condition, the processor wakes up the fingerprint sensor and the fingerprint artificial intelligence processing circuit; the processor receives the input fingerprint through the fingerprint sensor, and performs fingerprint recognition through the fingerprint artificial intelligence processing circuit.
[0043] According to the second aspect, the remaining power of the first battery satisfies the first condition; including: the remaining power of the first battery is less than the first preset threshold. The remaining power of the first battery satisfies the second condition; including: the remaining power of the first battery is greater than or equal to the second preset threshold.
[0044] According to the second aspect, or any implementation of the second aspect above, after the processor of the electronic device wakes up, and before determining whether the remaining power of the first battery satisfies the first condition or the second condition, the processor further executes: obtaining a fingerprint recognition mode of the electronic device before the sleep state. After the fingerprint recognition mode is the first mode, determining whether the remaining power of the first battery satisfies the first condition. After the fingerprint recognition mode is the second mode, determining whether the remaining power of the first battery satisfies the second condition.
[0045] According to the second aspect, or any implementation of the second aspect above, when the fingerprint recognition mode is the first mode and the remaining power of the first battery does not meet the first condition, the processor wakes up the fingerprint sensor and the fingerprint artificial intelligence processing circuit; the processor receives the fingerprint input through the fingerprint sensor, and performs fingerprint recognition through the fingerprint artificial intelligence processing circuit.
[0046] According to the second aspect, or any implementation of the second aspect, when the fingerprint recognition mode is the first mode and the remaining power of the first battery does not meet the first condition, the processor uses the first mode as the current fingerprint recognition mode.
[0047] According to the second aspect, or any implementation of the second aspect above, when the fingerprint recognition mode is the second mode and the remaining power of the first battery does not meet the second condition, the processor wakes up the fingerprint sensor and the fingerprint processing chip; the processor receives the fingerprint input through the fingerprint sensor and performs fingerprint recognition through the fingerprint processing chip.
[0048] According to the second aspect, or any implementation of the second aspect, when the fingerprint recognition mode is the second mode and the remaining power of the first battery does not meet the second condition, the processor uses the second mode as the current fingerprint recognition mode.
[0049] According to the second aspect, or any implementation of the second aspect above, the fingerprint recognition mode of the electronic device before the electronic device is in the sleep state is stored in the electronic device, or in a server connected to the electronic device before the electronic device is in the sleep state.
[0050] According to the second aspect, or any implementation method of the second aspect above, after the remaining power of the first battery does not meet the first condition and does not meet the second condition, the processor obtains the fingerprint recognition mode of the electronic device before the sleep state, wakes up the fingerprint sensor and wakes up the fingerprint artificial intelligence processing circuit or fingerprint processing chip corresponding to the fingerprint recognition mode of the electronic device before the sleep state; the processor receives the input fingerprint through the fingerprint sensor, and performs fingerprint recognition through the fingerprint artificial intelligence processing circuit or fingerprint processing chip.
[0051] According to the second aspect, or any implementation of the second aspect above, the electronic device pre-stores a first template fingerprint and a second template fingerprint; based on the input fingerprint and the first template fingerprint, or based on the input fingerprint and the second template fingerprint, after the fingerprint recognition passes, the electronic device is unlocked; after the fingerprint recognition fails, the electronic device prompts to re-enter the fingerprint; the first template fingerprint is the original fingerprint image collected by the fingerprint sensor, which is obtained after being processed by the fingerprint processing chip; the second template fingerprint is the original fingerprint image collected by the fingerprint sensor, which is obtained after being processed by the fingerprint artificial intelligence processing circuit.
[0052] According to the second aspect, or any implementation of the second aspect above, the fingerprint artificial intelligence processing circuit runs a trusted execution environment operating system TEE OS, and the fingerprint artificial intelligence processing circuit is used to perform identification based on the second template fingerprint and the input fingerprint in the TEE OS.
[0053] According to the second aspect, or any implementation of the second aspect above, after the remaining power of the first battery does not meet the first condition, or after the remaining power of the first battery meets the second condition, the first battery is also used to power various circuits included in the electronic device.
[0054] According to the second aspect, or any implementation of the second aspect above, after the remaining power of the first battery meets the first condition, or after the remaining power of the first battery does not meet the second condition, the second battery is also used to power the fingerprint module and the processor.
[0055] According to the second aspect, or any implementation of the second aspect, the first battery includes one or more lithium batteries; the second battery includes one or more dry batteries.
[0056] According to the second aspect, or any implementation of the second aspect above, the electronic device includes but is not limited to at least one of the following: smart home devices, computing devices; smart home devices include but are not limited to smart door locks.
[0057] The technical effects corresponding to the second aspect and any implementation method of the second aspect can be found in the technical effects corresponding to the above-mentioned first aspect and any implementation method of the first aspect, and will not be repeated here.
[0058] In a third aspect, an embodiment of the present application provides an electronic device having the function of implementing the fingerprint recognition method described in the second aspect and any possible implementation thereof. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0059] The technical effects corresponding to the third aspect and any one of the implementation methods of the third aspect can be found in the technical effects corresponding to the above-mentioned second aspect and any one of the implementation methods of the second aspect, and will not be repeated here.
[0060] In a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program (also referred to as an instruction or code), and when the computer program is executed by an electronic device, the electronic device executes the method of the second aspect or any one of the implementations of the second aspect.
[0061] The technical effects corresponding to the fourth aspect and any one of the implementation methods of the fourth aspect can be found in the technical effects corresponding to the above-mentioned second aspect and any one of the implementation methods of the second aspect, and will not be repeated here.
[0062] In a fifth aspect, a computer program product is provided. When the computer program product is run on an electronic device, the electronic device executes the method in the second aspect or any one of the implementations of the second aspect.
[0063] The technical effects corresponding to the fifth aspect and any one of the implementation methods of the fifth aspect can be found in the technical effects corresponding to the above-mentioned second aspect and any one of the implementation methods of the second aspect, and will not be repeated here.
[0064] In a sixth aspect, a circuit system is provided, wherein the circuit system includes a processing circuit, and the processing circuit is configured to execute the method of the second aspect or any one of the implementations of the second aspect.
[0065] The technical effects corresponding to the sixth aspect and any one of the implementation methods of the sixth aspect can be found in the technical effects corresponding to the above-mentioned second aspect and any one of the implementation methods of the second aspect, and will not be repeated here.
[0066] In a seventh aspect, a chip system is provided. The chip system includes at least one processor and at least one interface circuit, wherein the at least one interface circuit is used to perform a transceiver function and send instructions to the at least one processor; when the at least one processor executes the instruction, the at least one processor executes the method of the second aspect or any one of the implementations of the second aspect.
[0067] The technical effects corresponding to the seventh aspect and any one of the implementation methods of the seventh aspect can be found in the technical effects corresponding to the above-mentioned second aspect and any one of the implementation methods of the second aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] Figure 1 A schematic diagram of the architecture of an electronic device using fingerprint recognition is provided;
[0069] Figure 2 A schematic diagram of a fingerprint recognition method according to an embodiment of the present invention;
[0070] Figure 3A A schematic diagram of a hardware structure of an electronic device provided in an embodiment of the present application;
[0071] Figure 3B A schematic diagram of a software architecture of an electronic device provided in an embodiment of the present application;
[0072] Figure 4 A flow chart of a fingerprint recognition method provided in an embodiment of the present application;
[0073] Figure 5 A specific flow chart of the template fingerprint acquisition step in the fingerprint recognition method provided in the embodiment of the present application;
[0074] Figure 6 A schematic diagram of a signal control principle between an electronic device and a control device in a template fingerprint acquisition step in a fingerprint recognition method provided in an embodiment of the present application;
[0075] Figure 7 A schematic diagram of a user operation interface for the template fingerprint acquisition step in the fingerprint recognition method provided in an embodiment of the present application;
[0076] Figure 8 A schematic diagram of signal control involved in the fingerprint recognition mode switching step in the fingerprint recognition method provided in an embodiment of the present application;
[0077] Fig. 9A specific flow chart of a first implementation of a fingerprint recognition mode switching step in the fingerprint recognition method provided in an embodiment of the present application;
[0078] Fig.10 A schematic diagram of a signal control involved in a fingerprint recognition mode switching step in the fingerprint recognition method provided in an embodiment of the present application;
[0079] Fig.11 Another signal control schematic diagram involved in the fingerprint recognition mode switching step in the fingerprint recognition method provided in the embodiment of the present application;
[0080] Fig.12 A specific flow chart of a second implementation of the fingerprint recognition mode switching step in the fingerprint recognition method provided in an embodiment of the present application;
[0081] Fig.13 A specific flow chart of a third implementation of the fingerprint recognition mode switching step in the fingerprint recognition method provided in an embodiment of the present application;
[0082] Fig.14 A specific flow chart of a fourth implementation of a fingerprint recognition mode switching step in the fingerprint recognition method provided in an embodiment of the present application;
[0083] Fig.15 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0084] The technical solutions in the embodiments of the present application are described below in conjunction with the accompanying drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to include expressions such as "one or more", unless there is a clear indication to the contrary in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two).
[0085] References to "one embodiment" or "some embodiments" etc. described in this specification mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. The term "connection" includes direct connection and indirect connection, unless otherwise specified. "First" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0086] In the embodiments of the present application, the words "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0087] In some scenarios, electronic devices have a fingerprint recognition function. By detecting the fingerprint input by the user and calculating the matching degree between the input fingerprint and the template fingerprint stored in the memory of the electronic device, it can be determined whether the input fingerprint is a legal fingerprint. If it is a legal fingerprint, a certain function is allowed to be executed; if it is not a legal fingerprint, a certain function is not allowed to be executed. Among them, the template fingerprint is the fingerprint of the person who allows fingerprint unlocking that the user has pre-entered into the electronic device. Electronic devices include but are not limited to smart door locks. Any device that determines whether to execute a certain function through fingerprint recognition can be the electronic device here.
[0088] In some embodiments, the electronic device fingerprint recognition mode includes a match on chip (MOC) mode, that is, a fingerprint recognition mode that performs fingerprint recognition inside a fingerprint module.
[0089] For example, Figure 1 The schematic diagram of the structure of the electronic device using fingerprint recognition is provided. Figure 1As shown, the electronic device (for example, a smart door lock) is equipped with a fingerprint module 11. After the fingerprint sensor 111 in the fingerprint module 11 detects the fingerprint input by the user, it sends the input fingerprint to the system on chip (SOC) 112 for processing to determine whether it is a legal fingerprint. If the SOC 112 determines that the input fingerprint is a legal fingerprint, it sends a confirmation signal to the microcontroller unit (MCU) 12. After receiving the confirmation signal, the MCU 12 starts the motor driver 121 to retract the lock tongue to unlock the door.
[0090] It can be seen that in the fingerprint recognition solution of the above MOC mode, the electronic device realizes fingerprint recognition through the computing power of the fingerprint module, but the computing power of the fingerprint module is limited and does not have artificial intelligence (AI) processing capabilities. In some scenarios, such as when the fingerprints are unclear after the hands are wet or dirty, or the fingerprints of the elderly or children may be unclear due to fading or poor growth and development, the fingerprint module cannot accurately recognize the fingerprint input by the user, and the probability of fingerprint recognition failure is relatively high. The user may need to repeatedly input fingerprints, and the door lock cannot be opened quickly, affecting the user experience.
[0091] In some other embodiments, the electronic device fingerprint recognition mode further includes a match on host (MOH) mode, that is, a fingerprint recognition mode in which fingerprint recognition is performed on the main control chip side.
[0092] For example, some electronic devices (such as smartphones) have AI processing capabilities; after the electronic device detects the fingerprint input by the user, it sends the input fingerprint to the main control chip, such as the application processor (AP) for processing. The electronic device uses the higher computing power of the AP to improve the accuracy of fingerprint recognition and realize fingerprint unlocking in complex scenarios (for example, unlocking the screen and displaying the interface before the lock screen).
[0093] Electronic devices such as smart door locks generally use dry batteries to work; the fingerprint unlocking solution in MOH mode requires a higher battery voltage, but the dry battery voltage is not enough to support the fingerprint unlocking solution in MOH mode in electronic devices. In addition, the fingerprint unlocking solution in MOH mode consumes a lot of power, which affects the working time of electronic devices.
[0094] Therefore, an embodiment of the present application provides a fingerprint recognition method, in which a fingerprint AI processing circuit is configured in an electronic device, and a separate power supply module is configured for the fingerprint AI processing circuit to meet the needs of high-precision fingerprint recognition. The fingerprint AI processing circuit includes a fingerprint AI processing chip. In one embodiment, the fingerprint AI processing circuit is a fingerprint AI processing chip. In another embodiment, the fingerprint AI processing circuit may include other circuits in addition to the fingerprint AI processing chip. In addition, when the remaining power of the power supply module is insufficient to support the operation of the fingerprint AI processing circuit, the electronic device can also switch the fingerprint module for fingerprint recognition to ensure the normal operation of the fingerprint recognition function of the electronic device. In other words, the technical solution provided by the present application enables the electronic device to be compatible with MOC mode and MOH mode to meet user needs.
[0095] Figure 2 A schematic diagram of a scenario of a fingerprint recognition method provided in an embodiment of the present application. Specifically, the scenario may include two situations. Figure 2 (a) shows the first case, Figure 2 (b) shows the second situation. Figure 2 As shown in (a), the electronic device 100 includes a fingerprint recognition unit, and the template fingerprint can be acquired by collecting and even processing through the fingerprint recognition unit. For example, the electronic device 100 detects the user's touch operation on the display screen, or detects the user's operation on the button, or detects the user's voice command, starts the fingerprint collection function, and prompts the user to enter the fingerprint in the fingerprint collection area of the electronic device 100. The electronic device 100 processes the collected user fingerprint to obtain the template fingerprint, which is used for the subsequent electronic device 100 to identify the detected user fingerprint and achieve unlocking.
[0096] For example, the electronic device 100 includes, but is not limited to, smart home devices (such as smart door locks, smart TVs, etc.), laptop computers, computing devices, and other electronic devices with fingerprint recognition functions. The electronic device 100 may be installed with an operating system. The operating system installed on the electronic device 100 includes, but is not limited to, Or other operating systems. The electronic device 100 may not be installed with an operating system. The present application does not limit the specific type of the electronic device 100, whether an operating system is installed, or the type of operating system if an operating system is installed.
[0097] In the second case, the electronic device 100 can collect the user's fingerprint and generate a template fingerprint after receiving the fingerprint entry instruction sent by the control device. Figure 2 As shown in (b), a communication connection is established between the control device 200 and the electronic device 100, and the control device 200 controls the electronic device 100 through the communication connection.
[0098] Exemplarily, the electronic device 100 establishes a wireless communication connection with the control device 200. The electronic device 100 can receive a fingerprint entry instruction sent by the control device 200 through the wireless communication connection with the control device 200. In response to the fingerprint collection instruction, the electronic device 100 collects the user's fingerprint and generates a template fingerprint.
[0099] The electronic device 100 can establish a wireless communication connection with the control device 200 through wireless communication technology. The wireless communication technology includes but is not limited to at least one of the following: Bluetooth (BT) (for example, traditional Bluetooth or Bluetooth low energy (BLE)), near field communication (NFC), wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Zigbee, frequency modulation (FM), infrared (IR), etc.
[0100] In some embodiments, both the electronic device 100 and the control device 200 support the proximity discovery function. Exemplarily, after the electronic device 100 approaches the control device 200, the electronic device 100 and the control device 200 can discover each other, and then establish wireless communication connections such as Wi-Fi peer to peer (P2P) connection and Bluetooth connection. Afterwards, the control device 200 sends a fingerprint entry instruction to the electronic device 100 in response to the user command. After the electronic device 100 receives the fingerprint entry instruction, it collects the user's fingerprint, sends the user's fingerprint to the fingerprint AI processing circuit and the fingerprint processing chip in the fingerprint module for processing, and saves the template fingerprint obtained after each processing in the fingerprint AI processing circuit and the fingerprint processing chip. Subsequently, after the electronic device 100 detects the fingerprint input by the user, it sends the detected fingerprint to the fingerprint AI processing circuit or the fingerprint processing chip for verification according to the current fingerprint recognition mode, thereby improving the fingerprint recognition capability of the electronic device 100.
[0101] In some embodiments, the electronic device 100 and the control device 200 establish a wireless communication connection via a local area network. For example, the electronic device 100 and the control device 200 are connected to the same router.
[0102] In some embodiments, the electronic device 100 and the control device 200 establish a wireless communication connection through a cellular network, the Internet, etc. For example, the electronic device 100 accesses the Internet through a router, and the control device 200 accesses the Internet through a cellular network; then, the electronic device 100 and the control device 200 establish a wireless communication connection.
[0103] For example, the control device 200 includes but is not limited to a smart phone, a tablet computer, a wearable device (such as a smart watch, a smart bracelet), a laptop computer (Laptop), a personal digital assistant (PDA), an in-vehicle device, an artificial intelligence (AI) device, etc. The operating system installed on the control device 200 includes but is not limited to Or other operating systems. In some embodiments, the control device 200 can be a fixed device or a portable device. The present application does not limit the specific type of the control device 200 or the installed operating system.
[0104] In other scenarios, a wireless communication connection is established between the electronic device 100 and the control device 200. The control device 200 displays a fingerprint collection interface in response to a user command, collects the user's fingerprint, and sends the collected user's fingerprint to the electronic device 100. After the electronic device 100 receives the user's fingerprint, it sends the user's fingerprint as a template fingerprint to the fingerprint AI processing circuit and the fingerprint processing chip in the fingerprint module for processing, and saves the template fingerprint obtained after each processing in the fingerprint AI processing circuit and the fingerprint processing chip. Subsequently, after the electronic device 100 detects the fingerprint input by the user, it sends the detected fingerprint to the fingerprint AI processing circuit or the fingerprint processing chip for verification according to the current fingerprint recognition mode.
[0105] In some embodiments, the electronic device 100 may operate in Figure 2 (a) and Figure 2 (b) In the two cases, the electronic device 100 can work in Figure 2 In the case shown in (a), it can also work in Figure 2 In the case shown in (b), the electronic device 100 can be switched by a specific switching instruction. The specific switching instruction can be generated based on factors such as time, occasion, and specific conditions.
[0106] For example, Figure 3A 1 shows a schematic diagram of the structure of the electronic device 100. Figure 3AAs shown, the electronic device 100 may, for example, include a microcontroller unit (MCU) 310, a fingerprint module 320, a fingerprint AI processing circuit 330, a universal serial bus (USB) interface 340, a charging management module 350, a power management module 351, a battery 352, a wireless communication module 360, an audio module 370, an indicator 371, a motor 372, a button 373, a memory 380, etc.
[0107] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. For example, the electronic device 100 may also include a display screen, which displays a password input interface, for receiving a door lock password input by a user to implement password unlocking.
[0108] MCU 310 can also be described as a main control MCU, which is used to implement electronic equipment control functions. For example, the main control MCU receives the remaining battery power reported by the power management module, determines whether it is necessary to switch the fingerprint recognition mode according to the remaining battery power, and sends a fingerprint recognition mode switching command to the fingerprint module 320 if necessary to implement the switching control of the fingerprint recognition mode. For another example, the main control MCU can also receive the fingerprint recognition result sent by the fingerprint module 320 or the fingerprint AI processing circuit 330, and determine whether to open the door lock according to the fingerprint recognition result.
[0109] The fingerprint module 320 is used to detect the fingerprint input by the user and identify the input fingerprint. In some embodiments, the fingerprint module 320 includes a fingerprint sensor 3201 and a fingerprint processing chip 3202. Among them, the fingerprint sensor 3201 is used to collect user fingerprints. The fingerprint processing chip 3202 is configured with a fingerprint recognition algorithm, which is used to verify the user fingerprint collected by the fingerprint sensor 3201 in the MOC mode to confirm whether it is a legal fingerprint. In some embodiments, the fingerprint module 320 is in the MOC mode, and receives the fingerprint recognition mode switching command sent by the MCU 310, then the fingerprint recognition mode is switched to the MOH mode, so that the fingerprint processing chip 3202 is in a power-off or sleep state, and the user fingerprint collected by the fingerprint sensor 3201 is sent to the fingerprint AI processing circuit 330 for verification.
[0110] The fingerprint AI processing circuit 330 is configured with a fingerprint recognition algorithm for verifying the received fingerprint and determining whether it is a legitimate fingerprint. The fingerprint AI processing circuit 330 includes a fingerprint AI processing chip. In one embodiment, the fingerprint AI processing circuit is a fingerprint AI processing chip. In some embodiments, the MCU 310 determines that the current battery state can support fingerprint recognition in MOH mode, and then sends a wake-up signal to the fingerprint AI processing circuit 330 to wake up the fingerprint AI processing circuit 330. Afterwards, the fingerprint AI processing circuit 330 receives the user fingerprint collected by the fingerprint module 320, compares and verifies the user fingerprint with the template fingerprint stored securely, and determines whether it is a legitimate fingerprint. Among them, the fingerprint recognition algorithm configured in the fingerprint AI processing circuit 330 can refer to the fingerprint recognition algorithm in the art, and the embodiment of the present application does not specifically limit this. In this way, the electronic device 100 can call a fingerprint AI processing circuit with better processing power for fingerprint recognition when the battery state meets the requirements, so as to meet the fingerprint recognition requirements in complex scenarios.
[0111] Figure 2 The fingerprint recognition unit 110 includes Figure 3A The fingerprint module 320 and the fingerprint AI processing circuit 330.
[0112] The USB interface 340 is an interface that complies with USB standard specifications, and may be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 340 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device.
[0113] The charging management module 350 is used to receive charging input from a charger. In some embodiments, the charging management module 350 can receive charging input from a wired charger through the USB interface 340. While the charging management module 350 is charging the battery 352, it can also power the electronic device 100 through the power management module 351.
[0114] The power management module 351 is used to connect the battery 352, the charging management module 350 and the MCU 310. The power management module 351 receives input from the battery 352 and / or the charging management module 350, and supplies power to the MCU 310, the fingerprint module 320, the fingerprint AI processing circuit 330, the memory 380, and the wireless communication module 360. The power management module 351 can also be used to monitor the capacity of the battery 352, the number of battery cycles, the battery health status (leakage, impedance) and other parameters. Among them, the battery 352 includes a first battery 3521 and a second battery 3522. The number of the first battery is one or more, and the first battery includes, for example, a lithium battery; the number of the second battery is one or more, and the second battery includes, for example, a dry cell. The first battery 3521 can power the fingerprint AI processing circuit 330, the fingerprint module 320, the MCU 310 and other modules included in the electronic device 100, and the second battery 3522 can power the fingerprint module 320, the MCU 310 and other modules included in the electronic device 100.
[0115] In some embodiments, when the fingerprint recognition mode is the MOH mode, the first battery 3521 is used to power the fingerprint AI processing circuit 330 and the fingerprint module 320 for fingerprint detection and verification; when the fingerprint recognition mode is the MOC mode, the fingerprint AI processing circuit 330 is powered off or in sleep mode, and the second battery 3522 is used to power the fingerprint module 320 for fingerprint detection and verification. Alternatively, when the fingerprint recognition mode is the MOH mode, the first battery 3521 is used to power the fingerprint AI processing circuit 330, and the second battery 3522 is used to power the fingerprint module 320 for fingerprint detection and verification; when the fingerprint recognition mode is the MOC mode, the fingerprint AI processing circuit 330 is powered off or in sleep mode, and the second battery 3522 is used to power the fingerprint module 320 for fingerprint detection and verification.
[0116] In some embodiments, assuming that the current fingerprint recognition mode is the MOH mode, the power management module 351 monitors the battery status of the first battery 3521. When the first battery 3521 does not power the fingerprint AI processing circuit 330, or the first battery 3521 powers the fingerprint AI processing circuit 330 but the remaining power of the first battery 3521 is lower than the first preset threshold, the power management module 351 sends a notification to the MCU 310. The MCU 310 determines that the current first battery 3521 is insufficient to support the operation of the fingerprint AI processing circuit 330, and switches the fingerprint recognition mode to the MOC mode, so that the fingerprint AI processing circuit 330 is powered off or hibernated. When the first battery 3521 powers the fingerprint AI processing circuit 330 and the remaining power is higher than the second preset threshold, the power management module 351 sends a high power notification to the MCU 310. The MCU 310 determines that the current remaining power of the first battery 3521 can support the operation of the fingerprint AI processing circuit 330, and switches the fingerprint recognition mode to the MOH mode to wake up the fingerprint AI processing circuit 330.
[0117] In some embodiments, the power management module 351 and the charging management module 350 may also be disposed in the same device.
[0118] The wireless communication module 360 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 360 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via an antenna, modulates and filters the electromagnetic wave signals, and sends the processed signals to the MCU 310. The wireless communication module 360 can also receive the signal to be sent from the MCU 310, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna.
[0119] The audio module 370 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The audio module 370 can also be used to encode and decode audio signals. In some embodiments, the audio module 370 can be arranged in the MCU 310, or some functional modules of the audio module 370 can be arranged in the MCU 310.
[0120] In some embodiments, the audio module 370 may include a speaker, a receiver, a microphone and other modules to implement the voice function of the electronic device 100. For example, after the electronic device 100 detects that the user is approaching, the user is prompted by voice to enter the fingerprint to achieve fingerprint unlocking. For another example, the electronic device 100 determines that the user's fingerprint verification has passed, and after unlocking, the user is prompted by voice that the unlocking has been completed and the user can enter.
[0121] The indicator 371 may be an indicator light, which may be used to indicate the charging status, the change in the remaining battery power, or the unlocking status, etc. When the electronic device is a smart door lock, the indicator 371 may be used to indicate the door opening status, etc.
[0122] The motor 372 is used to retract or extend the lock tongue to achieve locking or unlocking control. In some embodiments, the electronic device 100 drives the motor 372 to unlock. For example, when the electronic device 100 is a smart door lock, the electronic device 100 can drive the motor 372 to unlock.
[0123] The key 373 includes a power key, a volume key, etc. The key 373 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
[0124] The memory 380 can be used to store computer executable program codes, which include instructions. The internal memory 380 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a fingerprint control business function, a door opening and closing business logic function, etc.). The data storage area may store data created during the use of the electronic device 100 (such as template fingerprint data, etc.). In addition, the memory 380 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The MCU 310 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the memory 380 and / or instructions stored in a memory provided in the MCU 310.
[0125] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the layered architecture as an example to exemplify the software structure of the electronic device 100.
[0126] For example, Figure 3B 1 is a software structure diagram of the electronic device 100 of the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the software system is divided into three layers, from top to bottom, namely, the application layer, the business framework layer, and the kernel layer.
[0127] The application layer may include a series of application service packages supported by the electronic device 100. Figure 3B As shown, the application layer may include fingerprint control services, dual-machine communication services, door opening and closing services, etc.
[0128] In some embodiments, the fingerprint control service is used to control the fingerprint recognition service logic of the electronic device 100, including fingerprint entry, deletion, fingerprint recognition mode switching control, etc.
[0129] Dual-machine communication service is used for information transmission between different chips and modules. For example, instruction transmission between MCU and fingerprint AI processing circuit.
[0130] The door opening and closing service is used to control the retraction or extension of the lock tongue according to the fingerprint recognition results to realize the opening and closing of the door lock.
[0131] The business framework layer provides application programming interface (API) and programming framework for the business of the application layer. The business framework layer includes some predefined functions.
[0132] like Figure 3B As shown, the business framework layer may include a security framework, a sensor framework, an interconnection framework, a business subsystem, etc. Among them, the business subsystem may include a fingerprint recognition subsystem, a battery management subsystem, and a door lock control subsystem.
[0133] The security framework is used for encryption and decryption processing, secure storage of fingerprint data, and secure transmission of fingerprint recognition results. The electronic device 100 ensures the security of the fingerprint recognition process through the security framework.
[0134] The sensor framework is used to provide a unified sensor control interface for application layer services. For example, the sensor framework provides a control interface for fingerprint sensors.
[0135] The interconnection framework is used to provide a unified interconnection control interface and processing logic for application layer services. For example, the interconnection framework provides control interfaces and processing logic for services that use BLE, Wi-Fi, NFC and other functions.
[0136] The business subsystem is used to support the electronic device 100 to complete the fingerprint recognition mode switching and door lock control during the fingerprint recognition process. Among them, the fingerprint recognition subsystem is used to manage the fingerprint recognition mode and control the fingerprint recognition data path in different modes. The battery management subsystem is used to perform battery presence detection, battery remaining power detection, and dual battery power supply switching management. The door lock control subsystem is used to control the door lock switch. Among them, the presence detection is used to indicate whether the installation status of the battery is normal, or whether the battery supply voltage is normal. The battery is in place to indicate that the battery can normally supply power to the corresponding module, and the battery is not in place to indicate that the battery cannot normally supply power to the corresponding module.
[0137] The kernel layer is the layer between hardware and software. The kernel layer execution environment includes a rich execution environment (REE) and a trusted execution environment (TEE). Among them, REE is also called a normal execution environment, including a rich execution environment operating system (REE OS) running on a general-purpose processor. TEE is also called a secure execution environment, which can run a trusted execution environment operating system (TEE OS) and provide reliable security services (such as fingerprint matching services, etc.).
[0138] For example, Figure 3B As shown, REE OS supports running fingerprint sensor drivers, Bluetooth drivers, etc. Among them, the fingerprint sensor driver is used to start the fingerprint sensor to collect user fingerprint images. TEE OS is used to provide a secure operating environment for fingerprint verification of the fingerprint AI processing circuit, a secure storage environment for template fingerprints, and a secure transmission environment for input fingerprint images and fingerprint verification results.
[0139] For example, Figure 4 This is a flow chart of the fingerprint recognition method provided in the embodiment of the present application. Figure 4 As shown, the method may include S401-S402:
[0140] S401, template fingerprint acquisition step.
[0141] In some embodiments, if an electronic device (e.g., a smart door lock) needs to implement a fingerprint recognition function, it is necessary to pre-collect and store a template fingerprint for fingerprint verification. Exemplarily, the electronic device obtains the original fingerprint image of the user, and processes the original fingerprint image through a fingerprint AI processing circuit and a fingerprint processing chip in a fingerprint module, and determines the second template fingerprint corresponding to the fingerprint AI processing circuit and the first template fingerprint corresponding to the fingerprint processing chip. Then, the subsequent electronic device can perform fingerprint verification through the fingerprint AI processing circuit when the first battery is sufficiently charged, and can also perform fingerprint verification through the fingerprint processing chip when the first battery is insufficient, thereby realizing the switching of fingerprint recognition modes, taking into account power consumption and fingerprint recognition accuracy. The template fingerprint can be stored locally in the electronic device, or stored on a server (e.g., a cloud server) connected to the electronic device.
[0142] For example, after the smart door lock receives the fingerprint entry command sent by the mobile phone with which it has established a wireless communication connection, it enters the user's original fingerprint image, and obtains the template fingerprint after processing. For another example, after the smart door lock detects the user's template fingerprint entry operation on the smart door lock, it enters the user's original fingerprint image, and obtains the template fingerprint after processing. For another example, the smart door lock receives the template fingerprint sent by the mobile phone with which it has established a wireless communication connection. For another example, the smart door lock receives the user's original fingerprint image sent by the mobile phone with which it has established a wireless communication connection, and obtains the template fingerprint after processing.
[0143] After S401 is executed once, S401 may not be executed again. For example, when user A inputs a fingerprint, S401 only needs to be executed once; after that, user A can directly input a fingerprint next time without having to execute S401 again. In other words, S401 is not a necessary step of the method, but an optional step.
[0144] S402, fingerprint recognition mode switching step.
[0145] In some embodiments, after obtaining the first template fingerprint or the second template fingerprint, the electronic device (e.g., a smart door lock) can verify the collected user fingerprint through the first template fingerprint or the second template fingerprint to determine whether it is a safe fingerprint. Before or during fingerprint verification, it is necessary to confirm whether it is necessary to switch the fingerprint recognition mode.
[0146] For example, the smart door lock responds to the wake-up signal and determines that fingerprint recognition is required, then confirms the current fingerprint recognition mode, and determines whether the current battery status of the first battery can support the smart door lock to execute the current fingerprint recognition mode. If it can, the user's fingerprint is collected and sent to the fingerprint AI processing circuit or fingerprint processing chip corresponding to the current fingerprint recognition mode for verification; if not, the fingerprint recognition mode is switched, and the user's fingerprint is collected and sent to the fingerprint AI processing circuit or fingerprint processing chip corresponding to the switched fingerprint recognition mode for verification. Then determine whether to unlock the door based on the verification result.
[0147] For another example, the smart door lock responds to the wake-up signal and determines that fingerprint recognition is needed. It then determines whether the current battery status of the first battery can support the operation of the fingerprint AI processing circuit. If so, it collects the user's fingerprint, wakes up the fingerprint AI processing circuit to verify the user's fingerprint, and determines whether to unlock the door based on the verification result. If not, it collects the user's fingerprint, wakes up the fingerprint processing chip to verify the user's fingerprint, and determines whether to unlock the door based on the verification result.
[0148] For another example, the smart door lock monitors the battery status of the first battery and automatically switches the fingerprint recognition mode according to the battery status of the first battery. Then, in response to the wake-up signal, after determining that fingerprint recognition is required, the smart door lock directly confirms the fingerprint verification through the fingerprint recognition mode before sleep, wakes up the corresponding fingerprint AI processing circuit or fingerprint processing chip to verify the collected user fingerprint, and determines whether to unlock the door based on the verification result.
[0149] Optionally, the method for the smart door lock to perform fingerprint recognition using the first template fingerprint or the second template fingerprint is described below. Fig. 9 , Fig.12 , Fig.13 as well as Fig.14 The method shown will not be repeated here.
[0150] It should be noted that, for ease of description, the following embodiments are all described by taking the electronic device 100 as a smart door lock and the control device 200 as a mobile phone as an example. Those skilled in the art should understand that, unless otherwise specified, other electronic devices, single electronic devices (without a control device), and other individual forms or combinations of various forms are also within the scope of this application.
[0151] For example, Figure 5 A specific flow chart of the template fingerprint acquisition step in the fingerprint recognition method provided in the embodiment of the present application. Figure 5 As shown, the method may include S501-S511:
[0152] S501. The mobile phone displays a fingerprint entry interface, prompting the user to enter a fingerprint in the fingerprint collection area of the smart door lock.
[0153] In some embodiments, the smart door lock establishes a wireless connection with the mobile phone, and the user can manage and control the smart door lock through the mobile phone, such as managing the fingerprints entered into the smart door lock, recording the unlocking records of the smart door lock, etc.
[0154] For example, Figure 6 As shown, the smart door lock 61 establishes a wireless connection with the mobile phone 62, and the mobile phone 62 is installed with a smart door lock management application 621 that can be used to manage the smart door lock, wherein the smart door lock management application 621 includes, for example, smart home applications such as smart life. Figure 7 In the interface 701 shown in (a), the mobile phone starts the smart door lock management application. After the mobile phone detects that the user clicks the control 71 corresponding to the smart door lock of the master bedroom door, the following is displayed: Figure 7 The interface 702 shown in (b) receives the user's operation on the smart door lock of the master bedroom door. After the mobile phone detects that the user clicks the user management control 72, it displays the following Figure 7 Interface 703 shown in (c) receives the user's management operation on the smart door lock template fingerprint. After detecting that the user clicks the add control 73, it is determined that the user needs to enter a new template fingerprint in the smart door lock, and then a prompt box 74 is displayed to prompt the user to enter the user name corresponding to the currently entered template fingerprint, so that the subsequent smart door lock can record the unlocking record and manage the template fingerprint. For example, the template fingerprint that currently needs to be entered in the smart door lock is the template fingerprint of user A. After that, the mobile phone displays the following Figure 7 Interface 704 shown in (d) prompts the user to enter fingerprint data. It is understandable that the mobile phone can also prompt the user to enter the user name corresponding to the template fingerprint in other ways, such as receiving the template fingerprint user name entered by the user through a prompt box or a user name editing interface after the template fingerprint is entered, and this embodiment of the application does not make specific restrictions on this.
[0155] S502: The mobile phone sends a fingerprint entry instruction to the smart door lock.
[0156] In some embodiments, when the mobile phone determines that the user needs to add or update a template fingerprint, it sends a fingerprint entry instruction to the corresponding smart door lock to start the fingerprint entry function of the smart door lock.
[0157] For example, in Figure 7 In the scenario shown, the phone displays Figure 7 Interface 704 shown in (d) and sending a fingerprint entry instruction to the smart door lock.
[0158] S503, MCU starts the fingerprint module and fingerprint AI processing circuit.
[0159] For example, Figure 6As shown, after receiving the fingerprint entry instruction, the smart door lock 61 wakes up the MCU 611. The processing module 6111 in the MCU 611 sends a wake-up instruction to the fingerprint module 612 and the fingerprint AI processing circuit 613 according to the fingerprint entry instruction to start the fingerprint module 612 and the fingerprint AI processing circuit 613.
[0160] Optionally, the MCU 611 and the fingerprint module 612 communicate via a serial peripheral interface (SPI), the MCU 611 and the fingerprint AI processing circuit 613 communicate via an inter-integrated circuit (I2C) interface, and the fingerprint sensor 6121 and the fingerprint processing chip 6122 in the fingerprint module 612 communicate via the SPI interface. It is understandable that Figure 6 The communication interface between the modules shown may also be other interfaces, such as a universal asynchronous receiver / transmitter (UART) interface.
[0161] S504: The fingerprint module collects the original fingerprint image, generates a first template fingerprint and saves it.
[0162] Optionally, the template fingerprint can be stored in a fingerprint module (eg, a fingerprint processing chip) or in a server (eg, a cloud server) connected to the smart door lock.
[0163] For example, Figure 6 As shown, after the fingerprint module 612 is started, the fingerprint sensor 6121 is called to collect the user's fingerprint data and generate an original fingerprint image. Figure 7 The interface 704 shown in (d) can also display dynamic feedback on fingerprint entry through the interface 704 on the mobile phone. For example, the change of the image indicated by the mark 75 can prompt the user of the fingerprint entry status, which is convenient for the user's fingerprint entry operation.
[0164] Afterwards, if Figure 6 As shown, after completing the acquisition of the original fingerprint image, the fingerprint sensor 6121 sends the original fingerprint image to the fingerprint processing chip 6122 for processing. Among them, the fingerprint processing chip 6122 is a SOC built into the fingerprint module. After receiving the original fingerprint image, the fingerprint processing chip 6122 uses the built-in algorithm to extract the fingerprint features and generate a first template fingerprint. The first template fingerprint can be stored on the fingerprint processing chip or on a server connected to the fingerprint module. After receiving the fingerprint input by the user, the fingerprint module verifies the fingerprint input by the user through the first template fingerprint.
[0165] In some embodiments, the smart door lock can also use its own audio module to voice prompt the user to enter the fingerprint to avoid user misoperation. And / or, the smart door lock can also display a prompt message on its own display screen to prompt the user to enter the fingerprint.
[0166] S505: The fingerprint module sends the fingerprint processing result to the MCU.
[0167] For example, Figure 6 As shown, after the fingerprint processing chip 6122 completes processing of the original fingerprint image, the fingerprint module sends a fingerprint processing result to the MCU 611, and the fingerprint processing result is used to indicate whether the fingerprint processing chip 6122 completes processing of the first template fingerprint and whether the first template fingerprint is saved.
[0168] S506: The fingerprint module sends the original fingerprint image to the fingerprint AI processing circuit.
[0169] For example, Figure 6 As shown, after completing the acquisition of the original fingerprint image, the fingerprint sensor 6121 needs to send the original fingerprint image to the fingerprint AI processing circuit 613 for processing.
[0170] Optionally, the fingerprint module can send the original fingerprint image to the fingerprint AI processing circuit via the SPI interface.
[0171] It should be noted that the embodiments of the present application do not limit the execution order of S505 and S506. For example, after the fingerprint module sends the fingerprint processing result to the MCU, it sends the original fingerprint image to the fingerprint AI processing circuit. For another example, after the fingerprint module collects the original fingerprint image, it processes the original fingerprint image and sends the original fingerprint image to the fingerprint AI processing circuit. After that, after the original fingerprint image is processed, the fingerprint processing result is sent to the MCU.
[0172] S507: The fingerprint AI processing circuit generates a second template fingerprint based on the original fingerprint image and saves it.
[0173] For example, Figure 6 As shown, the TEE OS runs in the fingerprint AI processing circuit 613. After the fingerprint AI processing circuit 613 receives the original fingerprint image, it uses the built-in algorithm in the trusted execution environment to extract the fingerprint features and generate a second template fingerprint. The second template fingerprint can be stored on the fingerprint AI processing circuit or on a server (e.g., a cloud server) connected to the fingerprint AI processing circuit. The fingerprint AI processing circuit saves the second template fingerprint in a secure storage environment, and subsequently uses the second template fingerprint to verify the fingerprint input by the user after receiving the fingerprint input by the user.
[0174] S508. The fingerprint AI processing circuit sends the fingerprint processing result to the MCU.
[0175] For example, Figure 6 As shown, after the original fingerprint image processing is completed, the fingerprint AI processing circuit 613 sends the fingerprint processing result to the MCU 611, and the fingerprint processing result is used to indicate whether the fingerprint AI processing circuit 613 has completed the processing of the second template fingerprint and whether the second template fingerprint has been saved.
[0176] S509. The MCU determines the fingerprint entry result according to the fingerprint processing result of the fingerprint processing chip and the fingerprint AI processing circuit.
[0177] In some embodiments, after receiving the fingerprint processing results sent by the fingerprint module and the fingerprint AI processing circuit, the MCU determines whether the fingerprint processing chip and the fingerprint AI processing circuit have successfully saved their respective template fingerprints to be applied. If the MCU determines that the fingerprint processing chip and the fingerprint AI processing circuit have successfully saved their respective template fingerprints for fingerprint verification, it is determined that the fingerprint entry is successful. If the MCU determines that the fingerprint processing chip and / or the fingerprint AI processing circuit failed to save the template fingerprint, it is determined that the fingerprint entry failed.
[0178] S510. The smart door lock sends the fingerprint entry result to the mobile phone.
[0179] In some embodiments, after the smart door lock confirms the fingerprint entry result through the MCU, it sends the fingerprint entry result to the mobile phone to notify the user whether the fingerprint needs to be re-entered.
[0180] In some embodiments, after the smart door lock confirms the fingerprint entry result through the MCU, it can also use its own audio module to voice prompt the user whether the fingerprint entry is successful or failed. And / or, the smart door lock can also display a prompt message on its own display screen to prompt the user whether the fingerprint entry is successful or failed.
[0181] S511. The mobile phone displays a fingerprint entry result interface, prompting the user with the fingerprint result.
[0182] In some embodiments, after receiving the fingerprint entry result, the mobile phone determines whether the fingerprint entry is successful. If the fingerprint entry is successful, it displays "Fingerprint entry is successful" and displays a prompt message to prompt the user that the current fingerprint has been entered and the fingerprint has been added. If the fingerprint entry fails, it displays "Fingerprint entry failed" to prompt the user to re-enter the fingerprint and repeat S501-S511.
[0183] In this way, the fingerprint processing chip used to support the fingerprint recognition function in MOC mode and the fingerprint AI processing circuit used to support the fingerprint recognition function in MOH mode in the smart door lock both store the template fingerprint obtained after processing. Then, after the subsequent smart door lock detects the fingerprint input by the user, it can call the fingerprint processing chip or fingerprint AI processing circuit to perform fingerprint verification, thus realizing fingerprint recognition compatible with MOC mode and MOH mode.
[0184] Based on this, the smart door lock completes the storage of the template fingerprint through the above S501-S511. Subsequently, the smart door lock can use the first template fingerprint or the second template fingerprint through the following method to verify the detected user fingerprint and confirm whether to unlock.
[0185] In some scenarios, after the smart door lock completes the fingerprint template acquisition step, it can perform fingerprint recognition on the detected user fingerprint to realize the fingerprint unlocking function. During the fingerprint recognition process, the smart door lock needs to determine which fingerprint recognition mode to apply to the detected user fingerprint.
[0186] In some embodiments, the smart door lock is configured with at least two types of batteries, a first battery (e.g., a lithium battery) and a second battery (e.g., a dry cell). The first battery can power the fingerprint AI processing circuit to implement the fingerprint verification function of the fingerprint AI processing circuit. The smart door lock monitors the battery status of the first battery to determine whether the current battery status can support the fingerprint AI processing circuit to implement the fingerprint recognition function of the MOH mode. The number of the first battery or the second battery is one or more.
[0187] For example, a remaining power threshold is set. When it is determined that the first battery does not power the fingerprint AI processing circuit, or the first battery powers the fingerprint AI processing circuit but the remaining power of the first battery is less than the first preset threshold, the fingerprint recognition mode is switched to the MOC mode, the fingerprint AI processing circuit is powered off or put into sleep mode, and the SOC in the fingerprint module is used for fingerprint verification; when the first battery powers the fingerprint AI processing circuit and the remaining power of the first battery is greater than or equal to the second preset threshold, the fingerprint recognition mode is switched to the MOH mode, the SOC in the fingerprint module is powered off or put into sleep mode, and the fingerprint AI processing circuit is used for fingerprint verification.
[0188] Among them, the first preset threshold is less than the second preset threshold, for example, the first preset threshold is 2% of the total power of the first battery, and the second preset threshold is 5% of the total power of the first battery. The first preset threshold and the second preset threshold can be experimentally obtained, empirical values, or percentages of the total battery power or specific remaining power values determined according to battery information, and the embodiments of the present application do not specifically limit this. Optionally, the first preset threshold and the second preset threshold can be the same, and the smart door lock uses a power threshold to determine which fingerprint recognition mode to apply. If the remaining power of the first battery is less than the power threshold, the MOC mode is applied; when the remaining power of the first battery is greater than or equal to the power threshold, the MOH mode is applied. Preferably, the first preset threshold and the second preset threshold can be different, so that the ping-pong effect can be avoided, that is, the smart door lock is prevented from repeatedly switching between the MOC mode and the MOH mode.
[0189] Furthermore, the first preset threshold and the second preset threshold are pre-configured in the smart door lock. When monitoring the battery status, the smart door lock can directly call the first preset threshold and the second preset threshold to determine whether it is necessary to switch the fingerprint recognition mode.
[0190] For example, corresponding to Figure 6 ,like Figure 8As shown, the MCU 611 in the smart door lock 61 uses the processing module 6111 to perform battery monitoring on the power management module 6112 to obtain the battery status information of the first battery. The battery status information of the first battery includes at least one of the remaining power of the first battery and whether the first battery is connected to the electronic device. Among them, whether the first battery is connected to the electronic device can also be measured by the remaining power of the first battery. For example, if the smart door lock detects that the remaining power of the first battery is 0, it is determined that the first battery cannot work for the fingerprint AI processing circuit. For example, when it is determined that fingerprint unlocking is required, the processing module 6111 obtains the battery status information of the first battery through the power management module 6112; or, the processing module 6111 periodically obtains the battery status information of the first battery; or, when the battery status of the first battery meets the preset conditions, the power management module 6112 sends the battery status information of the first battery to the processing module 6111. For example, the processing module receives the battery status information of the first battery according to the preset period to determine whether the fingerprint recognition mode needs to be switched. Alternatively, during the charging and discharging process of the first battery, if the power management module determines that the remaining power of the first battery is less than a first preset threshold, the battery status information of the first battery is reported to the processing module; alternatively, during the charging process of the first battery, if the power management module determines that the remaining power of the first battery is greater than or equal to a second preset threshold, the battery status information of the first battery is reported to the processing module; alternatively, if the power management module determines that the first battery is abnormal (such as being removed, the supply voltage is abnormal, etc.), the battery status information of the first battery is reported to the processing module.
[0191] Assume that the current smart door lock is in MOH mode, such as Figure 8As shown, when the processing module 6111 determines that the power of the lithium battery is less than the first preset threshold or the lithium battery is not in place, the processing module obtains the fingerprint recognition mode information stored in the MCU memory, determines that the current fingerprint recognition module is in MOH mode, and then determines that the fingerprint recognition mode needs to be switched, and sends a fingerprint recognition mode switching command to the fingerprint module 612 to instruct the fingerprint module 612 to switch the fingerprint recognition mode. After receiving the fingerprint recognition switching command, the fingerprint module 612 switches the working mode, that is, switches the fingerprint recognition mode to MOC mode, and records the current MOC mode for subsequent fingerprint recognition processes or fingerprint recognition mode switching processes. For example, after switching the fingerprint recognition mode, the fingerprint module records the switched fingerprint recognition mode in the storage module, or records the module for fingerprint verification corresponding to the switched fingerprint recognition mode (such as a fingerprint AI processing circuit or a fingerprint processing chip). In addition, a fingerprint recognition mode switching response is sent to the processing module 6111. According to the fingerprint recognition mode switching response, the processing module 6111 determines that the fingerprint module has switched the fingerprint recognition mode to MOC mode, and then records the fingerprint recognition mode of the current smart door lock as MOC mode. For example, after determining that the fingerprint recognition mode switch is completed, the MCU records the switched fingerprint recognition mode in the storage module, or records the module for fingerprint verification corresponding to the switched fingerprint recognition mode (such as a fingerprint AI processing circuit or a fingerprint processing chip).
[0192] Subsequently, if the processing module 6111 determines that the lithium battery is in place and the lithium battery power is greater than the second preset threshold value during the process of monitoring the lithium battery power, the processing module 6111 obtains the fingerprint recognition mode information stored in the MCU memory, determines the current fingerprint recognition module, and sends a fingerprint recognition mode switching command to the fingerprint module 612 to instruct the fingerprint module 612 to switch the fingerprint recognition mode. After receiving the fingerprint recognition switching command, the fingerprint module 612 determines that the fingerprint recognition mode needs to be switched from the MOC mode to the MOH mode, and then completes the switching of the fingerprint recognition mode. For example, after switching the fingerprint recognition mode, the fingerprint module records the switched fingerprint recognition mode in the storage module, or records the module for fingerprint verification corresponding to the switched fingerprint recognition mode (such as a fingerprint AI processing circuit or a fingerprint processing chip). In addition, a fingerprint recognition mode switching response is sent to the processing module 6111. According to the fingerprint recognition mode switching response, the processing module 6111 determines that the fingerprint module has switched the fingerprint recognition mode to the MOH mode, and then records the fingerprint recognition mode of the current smart door lock as the MOH mode.
[0193] In this way, the smart door lock can adaptively switch the fingerprint recognition mode according to the battery status, and achieve high-precision fingerprint recognition when the battery status meets the requirements. Fingerprint recognition can also be achieved when the battery status does not meet the requirements. Therefore, the smart door lock can take into account both the fingerprint recognition function and the battery power consumption problem to improve the user experience. For example, after the MCU determines that the fingerprint recognition mode has been switched, it records the switched fingerprint recognition mode in the storage module, or records the module for fingerprint verification corresponding to the switched fingerprint recognition mode (such as a fingerprint AI processing circuit or a fingerprint processing chip). Furthermore, within the preset time after the fingerprint recognition mode is switched, if the MCU and the fingerprint module do not detect a user command, they enter a sleep state.
[0194] Based on this, the smart door lock completes the storage of template fingerprints through the above S501-S511, and Figure 8 The method shown realizes adaptive switching of fingerprint recognition mode. The subsequent smart door lock can verify the detected user fingerprint through the first template fingerprint or the second template fingerprint through the following method to confirm whether to unlock.
[0195] For example, Fig. 9 The specific flow chart of the first implementation of the fingerprint recognition mode switching step in the fingerprint recognition method provided in the embodiment of the present application is applied to electronic devices (such as smart door locks). Fig. 9 As shown, the method may include S901-S916:
[0196] S901. In response to a wake-up signal, wake up the MCU.
[0197] In some embodiments, if the smart door lock does not detect the user's operation within a preset time period, it can enter a dormant state, and the modules in the smart door lock are powered off or dormant. After detecting the wake-up signal, the smart door lock exits the dormant state and wakes up the MCU to perform the unlocking task.
[0198] In some embodiments, the wake-up signal may be a command automatically detected by the smart door lock, or after the smart door lock detects the user's operation on the smart door lock, the command corresponding to the operation is used as the wake-up signal. For example, assume that the smart door lock is equipped with a passive infrared reaction (PIR) sensor. The smart door lock detects infrared radiation through the PIR sensor. If the detected infrared radiation is higher than a preset threshold, it is determined that a user is approaching the smart door lock, and it is determined that the user may need to open the door lock at present, and the MCU is automatically woken up. For another example, the smart door lock detects the user's operation on a button, and determines that the user may need to operate the door lock (such as opening the door lock), and then wakes up the MCU. Among them, the button can be a mechanical button or a touch button displayed on the display screen.
[0199] In some embodiments, after receiving the wake-up signal, the smart door lock can also prompt the user to open the smart door lock by inputting a fingerprint in a preset manner. The preset manner includes, for example, one or more of a voice prompt, a display screen displaying prompt information, an indicator light prompt, and the like.
[0200] In some embodiments, the smart door lock may mistakenly detect the wake-up signal and wake up the MCU, so the fingerprint input by the user cannot be detected in S906. If the fingerprint input by the user is not detected within the preset detection time, it can enter the sleep state again and wait for the next wake-up. For example, if the user passes by the door lock and the distance between the user and the door lock is close, the door lock detects infrared radiation higher than the preset threshold, and then determines to wake up the MCU. At this time, it is obvious that the door lock will not detect the fingerprint input by the user, and it will automatically enter the sleep state after the preset time.
[0201] S902: Determine whether the fingerprint recognition mode is the MOH mode or the MOC mode. If the fingerprint recognition mode is determined to be the MOH mode, execute S903; if the fingerprint recognition mode is determined to be the MOC mode, execute S910.
[0202] In some embodiments, after the smart door lock wakes up from sleep mode and wakes up the MCU, it is necessary to determine the fingerprint recognition mode applied by the smart door lock before sleep mode, and determine whether the current battery status can support the application of the fingerprint recognition mode for fingerprint verification.
[0203] For example, corresponding to Figure 6 and Figure 8 ,like Fig.10 As shown, after the smart door lock determines that the wake-up signal is received and wakes up the MCU 611, the MCU 611 wakes up the processing module 6111 to determine whether the fingerprint recognition mode applied by the smart door lock before sleep is the MOC mode or the MOH mode. Optionally, the MCU will record the fingerprint recognition mode of the wake-up application before sleep, so that after being awakened again, it can obtain the fingerprint recognition mode of the application before sleep recorded in the storage module, so as to determine whether the fingerprint recognition mode is the MOH mode.
[0204] S903: The battery state of the first battery satisfies the first condition. If yes, execute S904; if no, execute S913.
[0205] In some embodiments, the first condition includes, for example, that the first battery does not power the fingerprint AI processing circuit, or that the first battery powers the fingerprint AI processing circuit, but the remaining power of the first battery is less than a first preset threshold. Among them, after determining the current fingerprint recognition mode, the smart door lock can confirm whether the current battery status of the first battery supports the application of the current fingerprint recognition mode to avoid fingerprint recognition anomalies caused by battery status problems of the first battery. Alternatively, after determining the current fingerprint recognition mode, the smart door lock directly calls the fingerprint AI processing circuit or fingerprint recognition chip for fingerprint verification corresponding to the current fingerprint recognition mode for fingerprint verification. The solution of directly calling the corresponding module for fingerprint verification according to the current fingerprint recognition mode is detailed below Fig.12 The method shown will not be repeated here.
[0206] In some embodiments, the smart door lock determines that the fingerprint recognition mode before sleep is the MOH mode, that is, it is necessary to call the fingerprint AI processing circuit to perform fingerprint verification. At this time, the smart door lock needs to determine whether the first battery is powered by the fingerprint AI processing circuit, and determine whether the remaining power of the first battery can support the operation of the fingerprint AI processing circuit.
[0207] For example, Fig.10 As shown, the MCU 611 calls the processing module 6111 to obtain the battery information reported by the power management module 6112, and determines whether the current first battery is powering the fingerprint AI processing circuit and the remaining power information.
[0208] S904: Switch the fingerprint recognition mode to the MOC mode.
[0209] In some embodiments, based on S902 and S903, the smart door lock determines that the current fingerprint recognition mode is the MOH mode, and the first battery does not power the fingerprint AI processing circuit, or the first battery powers the fingerprint AI processing circuit but the remaining power is less than the first preset threshold, then it is determined that the current battery status is insufficient to support the operation of the fingerprint AI processing circuit, and the fingerprint recognition mode needs to be changed from MOH fingerprint recognition to MOC mode to keep the fingerprint AI processing circuit powered off or in sleep state.
[0210] For example, Figure 8 As shown, the processing module 6111 in the MCU 611 determines that the fingerprint recognition mode needs to be switched, and sends a fingerprint recognition mode switching command to the fingerprint module 612, instructing the fingerprint module 612 to switch the fingerprint recognition mode, and records that the fingerprint recognition mode applied in this fingerprint recognition process is the MOC mode.
[0211] S905, wake up the fingerprint sensor and fingerprint processing chip.
[0212] In some embodiments, after the smart door lock determines that the fingerprint recognition mode is the MOC mode, it determines that the fingerprint module needs to be awakened for fingerprint detection and verification.
[0213] For example, Figure 8 As shown, after receiving the fingerprint recognition mode switching command, the fingerprint module 612 changes the fingerprint recognition mode from MOH fingerprint recognition to MOC mode, and records the fingerprint recognition mode applied in this fingerprint recognition process as MOC mode. Fig.10 As shown, the fingerprint module 612 executes step 1. Specifically, the fingerprint module 612 wakes up the fingerprint sensor 6121 to detect the input fingerprint input by the user; and wakes up the fingerprint processing chip 6122 for subsequent fingerprint verification of the input fingerprint.
[0214] S906. Receive the fingerprint input by the user through the fingerprint sensor, and verify the input fingerprint through the fingerprint processing chip or the fingerprint AI processing circuit.
[0215] In some embodiments, the smart door lock wakes up the fingerprint sensor, detects the fingerprint input by the user, and wakes up the corresponding fingerprint processing chip or fingerprint AI processing circuit to verify the input fingerprint according to the current fingerprint recognition mode.
[0216] For example, Fig.10 As shown, corresponding to the above S905, the fingerprint module 612 executes step 2, uses the fingerprint sensor 6121 to detect the input fingerprint input by the user, and sends the detected input fingerprint to the fingerprint processing chip 6122 for processing. After receiving the input fingerprint, the fingerprint processing chip 6122 obtains the first template fingerprint stored in advance, verifies whether the input fingerprint is safe based on the first template fingerprint using the built-in algorithm, and determines whether the input fingerprint is a legal fingerprint. After that, the fingerprint processing chip 6122 sends the fingerprint recognition result to the MCU 611. Furthermore, the MCU 611 can use the secure element (SE) 6113 to receive the fingerprint verification result. The secure chip 6113 can ensure the security of the transmission of the fingerprint verification result based on the secure transmission protocol.
[0217] In some embodiments, a fingerprint detection time is preset. If the fingerprint sensor does not receive the fingerprint input by the user within the preset fingerprint detection time, it is confirmed that the fingerprint recognition process is a false wake-up process, and the smart door lock re-enters the sleep state and waits for the next wake-up.
[0218] S907: Input fingerprint and verify it. If yes, execute S908; if no, execute S909.
[0219] S908. Unlock.
[0220] Exemplarily, unlocking includes opening a door lock.
[0221] In some embodiments, in the above S907 and S908, if the smart door lock determines that the input fingerprint verification is successful, it confirms that the current user is a safe user, drives the motor to open the door lock, and allows the user to enter.
[0222] For example, Fig.10 As shown, the fingerprint processing chip 6122 in the fingerprint module 612 executes step 3 and sends the fingerprint verification result to the MCU 611. The processing module 6111 in the MCU 611 obtains the fingerprint verification result, determines that the current input fingerprint is a legal fingerprint, and sends a confirmation unlocking signal to the switch control module 6114. After receiving the confirmation unlocking signal, the switch control module 6114 drives the motor to execute the unlocking instruction.
[0223] In some embodiments, after the smart door lock is unlocked, the user can be prompted by a preset prompt method that the door lock has been unlocked. The preset prompt method includes, for example, one or more of a variety of prompt methods such as voice prompt, display information prompt, indicator light prompt, etc.
[0224] S909: Prompt the user to re-enter fingerprint.
[0225] In some embodiments, in the above S907 and S909, if the smart door lock determines that the input fingerprint verification fails, the user is prompted to input the fingerprint again to avoid the user identity confirmation failure caused by abnormal fingerprint input. Furthermore, the number of recognition failures can be preset. If the number of fingerprint input failures in S907 reaches the preset number of recognition failures, an alarm message is sent to the associated mobile phone to ensure safety.
[0226] For example, Fig.10 As shown, the processing module 6111 in the MCU 611 obtains the fingerprint verification result, determines that the current input fingerprint is not a legal fingerprint, and then sends an instruction signal to the fingerprint module 612 to instruct the fingerprint module to collect and verify the user input fingerprint again.
[0227] In some embodiments, after determining that the fingerprint verification fails, the smart door lock can also prompt the user to re-enter the fingerprint to unlock the smart door lock in a preset manner. The preset manner includes, for example, one or more of a variety of prompting methods such as voice prompts, display prompts, and indicator light prompts.
[0228] In some embodiments, after determining that the fingerprint recognition has failed, the smart door lock can also re-determine the current battery status to determine whether the fingerprint recognition mode needs to be switched for the next fingerprint recognition process, and then prompt the user to re-enter the fingerprint in a preset manner.
[0229] The above S909 is an optional step. After determining that the fingerprint verification fails, the smart door lock will not open the door lock. There is no need to prompt the user to re-enter the fingerprint, but directly wait for the user's next operation.
[0230] S910: The battery state of the first battery satisfies the second condition. If yes, execute S911; if no, execute S914.
[0231] In some embodiments, the second condition includes, for example, that the first battery supplies power to the fingerprint AI processing circuit and the remaining power is greater than or equal to a second preset threshold, wherein the first preset threshold is the same as or different from the second preset threshold.
[0232] In some embodiments, as described in S902 above, if the smart door lock determines that the fingerprint recognition mode applied before sleep is the MOC mode (i.e., not the MOH mode), it is necessary to confirm whether the current battery status can support the smart door lock to switch to the MOH mode with higher recognition accuracy to provide users with a better fingerprint recognition experience. For example, before the smart door lock performs the fingerprint recognition task this time, the user charges or replaces the first battery for the smart door lock. The first battery can now power the fingerprint AI processing circuit and the remaining power is greater than or equal to the second preset threshold, which can support the fingerprint AI processing circuit to work. The smart door lock can switch the fingerprint recognition mode to the MOH mode. If the smart door lock determines that the first battery does not power the fingerprint AI processing circuit, or the first battery powers the fingerprint AI processing circuit but the remaining power is less than or equal to the second preset threshold, it is necessary to continue to apply the MOC mode to perform the fingerprint recognition task.
[0233] For example, Fig.10 or Fig.11 As shown, the MCU 611 calls the processing module 6111 to obtain the battery information reported by the power management module 6112, and determines whether the current first battery is powering the fingerprint AI processing circuit and the remaining power information.
[0234] S911. Switch the fingerprint recognition mode to MOH mode.
[0235] In some embodiments, the smart door lock determines that the current fingerprint recognition mode is the MOC mode, the first battery powers the fingerprint AI processing circuit and the remaining power is greater than or equal to the second preset threshold, then it is determined that the current battery status can support the operation of the fingerprint AI processing circuit, and the fingerprint recognition mode needs to be switched from MOC fingerprint to MOH mode to wake up the fingerprint AI processing circuit for input fingerprint verification.
[0236] For example, Figure 8As shown, the processing module 6111 in the MCU 611 determines that the fingerprint recognition mode needs to be switched, and then sends a fingerprint recognition mode switching command to the fingerprint module 612, instructing the fingerprint module 612 to switch the fingerprint recognition mode, and records that the fingerprint recognition mode applied in this fingerprint recognition process is the MOH mode.
[0237] S912, wake up the fingerprint sensor and fingerprint AI processing circuit.
[0238] In some embodiments, the fingerprint recognition mode of the smart door lock is switched to the MOH mode, and it is determined that the fingerprint sensor needs to be woken up for fingerprint detection, and the fingerprint AI processing circuit needs to be woken up for fingerprint verification.
[0239] For example, based on S910 and S911, Figure 8 As shown, after receiving the fingerprint recognition mode switching command, the fingerprint module 612 switches the fingerprint recognition mode to the MOH mode, and records that the fingerprint recognition mode applied in this fingerprint recognition process is the MOH mode.
[0240] like Fig.11 As shown, the fingerprint module 612 wakes up the fingerprint sensor 6121 based on the fingerprint recognition mode switching command to detect the input fingerprint input by the user. In addition, the processing module 6111 in the MCU 611 executes step 1.1 to send a wake-up signal to the fingerprint AI processing circuit 613 to wake up the fingerprint AI processing circuit 613 to perform fingerprint verification of the input fingerprint.
[0241] Afterwards, as described in S906 above, Fig.11 As shown, the fingerprint module 612 executes step 2 and sends the input fingerprint detected by the fingerprint sensor 6121 to the fingerprint AI processing circuit 613 for processing. After receiving the input fingerprint, the fingerprint AI processing circuit 613 obtains the pre-stored second template fingerprint, and uses the built-in algorithm in the TEE OS to verify whether the input fingerprint is safe based on the second template fingerprint, and determines whether the input fingerprint is a legal fingerprint. Afterwards, the fingerprint AI processing circuit 613 sends the fingerprint recognition result to the security chip 6113 in the MCU 611. The security chip 6113 is based on a secure transmission protocol and can ensure the security of the transmission of fingerprint verification results. Afterwards, the smart door lock executes S907, S908 and S909, which will not be repeated here. For example, Fig.11 As shown, the fingerprint AI processing circuit 613 executes step 3 and sends the fingerprint verification result to the MCU 611. The processing module 6111 in the MCU 611 obtains the fingerprint verification result, determines that the current input fingerprint is a legal fingerprint, and sends a confirmation unlocking signal to the switch control module 6114. After receiving the confirmation unlocking signal, the switch control module 6114 drives the motor to execute the unlocking instruction.
[0242] In some embodiments, the fingerprint sensor needs to be awakened in both S905 and S912 to receive the fingerprint input by the user, that is, the fingerprint sensor needs to be awakened in different fingerprint recognition modes. Therefore, in S901, after the smart door lock receives the wake-up signal, it can also directly wake up the fingerprint sensor in response to the wake-up signal, and then identify the current fingerprint recognition mode (i.e., execute S902).
[0243] S913. Keep the fingerprint recognition mode as MOH mode.
[0244] In some embodiments, based on S903, in S913, the smart door lock determines that the current fingerprint recognition mode is the MOH mode, the first battery powers the fingerprint AI processing circuit and the remaining power is greater than or equal to the first preset threshold, then it is determined that the current battery status can support the operation of the fingerprint AI processing circuit, and the fingerprint recognition mode is kept in the MOH mode.
[0245] For example, Fig.11 As shown, the processing module 6111 determines to keep the fingerprint recognition mode as the MOH mode, then determines that the fingerprint module 612 has not received the fingerprint recognition mode switching command and is in a dormant state, and executes step 1.2 to send a wake-up signal to the fingerprint module 612 to wake up the fingerprint module 612 for fingerprint detection. Correspondingly, after receiving the wake-up signal, the fingerprint module 612 obtains the fingerprint recognition mode applied before the sleep state, and determines that the fingerprint recognition mode before the sleep state is the MOH mode, then wakes up the fingerprint sensor 6121 for detecting the input fingerprint, and maintains the dormant state of the fingerprint processing chip 6122. Among them, the embodiment of the present application does not specifically limit the order in which the processing module 6111 executes step 1.1 and executes step 1.2. For example, the processing module 6111 can send a wake-up signal to the fingerprint AI processing circuit 613 and the fingerprint module 612 at the same time, or send the wake-up signal separately.
[0246] S914. Keep the fingerprint recognition mode as the MOC mode.
[0247] In some embodiments, based on S910, in S914, the smart door lock determines that the current fingerprint recognition mode is the MOC mode, the first battery does not power the fingerprint AI processing circuit, or the first battery powers the fingerprint AI processing circuit but the remaining power is less than a second preset threshold, then it is determined that the current battery status cannot support the operation of the fingerprint AI processing circuit, and the fingerprint recognition mode needs to be maintained in the MOC mode.
[0248] For example, Fig.10As shown, the processing module 6111 determines to keep the fingerprint recognition mode as the MOC mode, determines that the fingerprint module 612 has not received the fingerprint recognition mode switching command and is in a dormant state, and sends a wake-up signal to the fingerprint module 612 to wake up the fingerprint module 612 for fingerprint detection. Correspondingly, after receiving the wake-up signal, the fingerprint module 612 obtains the fingerprint recognition mode applied before the dormancy, determines that the fingerprint recognition mode before the dormancy is the MOC mode, then wakes up the fingerprint sensor 6121 for detecting the input fingerprint, and wakes up the fingerprint processing chip 6122 for verifying the input fingerprint.
[0249] Optionally, S904, S911, S913, and S914 are optional steps and not required steps.
[0250] In this way, the smart door lock can be compatible with MOC mode and MOH mode, and automatically switch the fingerprint recognition mode according to the battery status, so that the smart door lock can achieve high-precision fingerprint recognition in scenarios such as wet or dirty hands where fingerprints are unclear, and fingerprints of the elderly or children may be unclear due to fading or poor growth and development. In addition, the fingerprint recognition mode can be switched when the remaining power is insufficient so that fingerprint recognition can still be performed, solving the problem that high-precision fingerprint recognition consumes a large amount of remaining power, resulting in a short working time of the smart door lock.
[0251] In addition, the fingerprint AI processing circuit performs fingerprint verification in a trusted execution environment and sends the fingerprint verification result to the MCU based on a secure transmission protocol, which can effectively improve the security of the fingerprint recognition process.
[0252] In some scenarios, after the smart door lock is unlocked, if it detects the user's door closing action, it will automatically close the door lock. In addition, the user's fingerprint can continue to be detected for verification within a preset time after the door lock is unlocked. If the user's fingerprint is not detected within the preset time, it will enter the sleep mode.
[0253] Exemplarily, after the above S908, S915-S916 may also be included.
[0254] S915: No user operation is detected within the preset time. If yes, execute S916; if no, execute S906.
[0255] S916. Entering sleep mode.
[0256] In some embodiments, in S915 and S916, after the smart door lock opens the door, it starts timing. If no user operation is detected within the preset time, it automatically enters the sleep state, controls the MCU, fingerprint processing chip and fingerprint AI processing circuit to power off or sleep, and waits for the next wake-up.
[0257] In some embodiments, after the smart door lock is unlocked, if the fingerprint input by the user is detected again within a preset time, the above S906-S909 will be looped, and the fingerprint input by the user will be verified through the fingerprint processing chip or fingerprint AI processing circuit used in the previous fingerprint verification. And, after the door lock is unlocked again, the timing will be restarted, waiting for the next user to input fingerprint or enter sleep mode. Furthermore, after the smart door lock detects the fingerprint input by the user again, the battery status of the first battery can be confirmed again to confirm whether the fingerprint recognition mode needs to be switched.
[0258] In this way, after completing the user's fingerprint verification, the smart door lock can automatically enter sleep mode to save battery power and extend working time.
[0259] In some scenarios, smart door locks can Figure 8 The method described above can realize adaptive fingerprint recognition mode switching. Then, after detecting the wake-up signal, the smart door lock can directly apply the currently recognized fingerprint recognition mode for fingerprint verification without having to confirm the fingerprint recognition mode, thereby improving the fingerprint failure efficiency.
[0260] For example, Fig.12 The specific flow chart of the second implementation of the fingerprint recognition mode switching step in the fingerprint recognition method provided in the embodiment of the present application is applied to electronic devices (such as smart door locks). Fig.12 As shown, the method may include S1201-S1208:
[0261] S1201. In response to a wake-up signal, wake up the MCU.
[0262] Among them, S1201 can refer to the relevant description of S901 above, which will not be repeated here.
[0263] S1202: Determine whether the fingerprint recognition mode is the MOH mode or the MOC mode. If the fingerprint recognition mode is determined to be the MOC mode, execute S1203; if the fingerprint recognition mode is determined to be the MOH mode, execute S1204.
[0264] S1203. Wake up the fingerprint sensor and fingerprint processing chip.
[0265] S1204, wake up the fingerprint sensor and the fingerprint AI processing circuit.
[0266] In some embodiments, in S1202-S1204, after the smart door lock is released from the sleep state and wakes up the MCU, the MCU determines the fingerprint recognition mode of the smart door lock application before sleep stored in the storage module. If it is determined that the fingerprint recognition mode before sleep is the MOC mode, the fingerprint sensor in the fingerprint module is awakened to detect the fingerprint input by the user, and the fingerprint processing chip in the fingerprint module is awakened to verify the fingerprint input by the user; if it is determined that the fingerprint recognition mode before sleep is the MOH mode, the fingerprint sensor in the fingerprint module is awakened to detect the fingerprint input by the user, and the fingerprint AI processing circuit is awakened to verify the fingerprint input by the user.
[0267] In this way, after being awakened, the smart door lock can directly perform the fingerprint verification according to the fingerprint recognition mode stored before sleep, without having to confirm the battery status of the first battery, thereby improving the fingerprint verification efficiency. In addition, the smart door lock can adaptively switch the fingerprint recognition mode, which will not cause abnormalities in the fingerprint recognition process.
[0268] For example, suppose the fingerprint recognition mode of the smart door lock is MOH mode. The smart door lock is awakened after detecting that the first battery is taken out, that is, no longer powers the fingerprint AI processing circuit, and automatically switches the fingerprint recognition mode to MOC mode. After recording the switched fingerprint recognition mode in the storage module, it enters a dormant state. Afterwards, as in S1201 above, the smart door lock detects a wake-up signal. At this time, the fingerprint recognition mode stored in the storage module is directly obtained as MOC mode. There is no need to confirm whether the first battery can power the fingerprint AI processing circuit, and the fingerprint processing chip can be awakened to work.
[0269] S1205. Receive the fingerprint input by the user through the fingerprint sensor, and verify the input fingerprint through the fingerprint processing chip or the fingerprint AI processing circuit.
[0270] S1206: Input fingerprint and verify it. If yes, execute S1207; if no, execute S1208.
[0271] S1207. Unlock.
[0272] Exemplarily, unlocking includes opening a door lock.
[0273] S1208: Prompt the user to re-enter fingerprint.
[0274] Among them, S1205-S1208 can refer to the relevant description of S906-S909 above, which will not be repeated here.
[0275] In addition, in some embodiments, the above S915 and S916 may be executed after S1208. For related contents, reference may be made to the related descriptions of the above S915 and S916, which will not be repeated here.
[0276] In some scenarios, after detecting the wake-up signal, the smart door lock can use the MCU to directly determine the battery status of the first battery and wake up the corresponding fingerprint verification module without confirming the fingerprint recognition mode. For example, the MCU determines whether the first battery can support the fingerprint AI processing circuit through the first preset threshold and the second preset threshold.
[0277] For example, Fig.13 The specific flow chart of the third implementation method of the fingerprint recognition mode switching step in the fingerprint recognition method provided in the embodiment of the present application is applied to electronic devices (such as smart door locks). Fig.13 As shown, the method may include S1301-S1311:
[0278] S1301. In response to a wake-up signal, wake up the MCU.
[0279] Among them, S1301 can refer to the relevant description of S901 above, which will not be repeated here.
[0280] S1302: Whether the battery state of the first battery meets the preset condition. If the battery state of the first battery meets the first condition, execute S1303; if the battery state of the first battery meets the second condition, execute S1305; if the battery state of the first battery does not meet the first condition and does not meet the second condition, execute S1307.
[0281] Among them, "if the battery state of the first battery does not satisfy the first condition and does not satisfy the second condition, execute S1307" is an optional step, not a required step.
[0282] In some embodiments, the preset condition includes a first condition and a second condition. The first condition includes, for example, that the first battery does not power the fingerprint AI processing circuit, or that the first battery powers the fingerprint AI processing circuit, but the remaining power of the first battery is less than a first preset threshold. The second condition includes, for example, that the first battery powers the fingerprint AI processing circuit and the remaining power is greater than or equal to a second preset threshold. The first preset threshold is the same as or different from the second preset threshold.
[0283] In some embodiments, after the smart door lock is released from the dormant state and wakes up the MCU, the MCU determines whether the current battery status of the first battery can support the power supply of the fingerprint AI processing circuit. Therefore, the fingerprint verification module to be awakened is determined to be the fingerprint AI processing circuit or the fingerprint processing chip directly according to the battery status of the first battery, and the fingerprint recognition mode does not need to be determined, thereby improving the efficiency of fingerprint verification.
[0284] The rest of the contents of S1302 may refer to the related descriptions of S903 and S910 above, and will not be repeated here.
[0285] S1303. Wake up the fingerprint sensor and fingerprint processing chip.
[0286] S1304: Receive the fingerprint input by the user through the fingerprint sensor, and verify the input fingerprint through the fingerprint processing chip.
[0287] S1305, wake up the fingerprint sensor and the fingerprint AI processing circuit.
[0288] S1306: Receive the fingerprint input by the user through the fingerprint sensor, and verify the input fingerprint through the fingerprint AI processing circuit.
[0289] S1307, wake up the fingerprint sensor and the fingerprint processing chip or fingerprint AI processing circuit that was working before sleep.
[0290] In some embodiments, before the MCU and fingerprint module in the smart door lock go into sleep mode, they will save the fingerprint verification module (such as fingerprint processing chip or fingerprint AI processing circuit) that can work this time or after switching the fingerprint recognition mode in the storage module, such as identifying the fingerprint verification module that worked before sleep mode through the identification bit. Then, later, when the MCU determines that the battery status of the first battery does not meet the first condition and does not meet the second condition, it determines that it is necessary to keep calling the fingerprint verification module used last to perform this fingerprint verification process, and can obtain the identification of the fingerprint verification module used in the previous fingerprint recognition process recorded in the storage module, and determine to wake up the fingerprint processing chip or fingerprint AI processing circuit.
[0291] S1308. Receive the fingerprint input by the user through the fingerprint sensor, and verify the input fingerprint through the fingerprint processing chip or the fingerprint AI processing circuit.
[0292] Among them, the rest of the content of S1303-S1308 can refer to the relevant descriptions of the above S905, S906, and S912, and will not be repeated here.
[0293] Optionally, S1307-S1308 are optional steps and not required steps.
[0294] S1309: Input fingerprint and verify it. If yes, execute S1310; if no, execute S1311.
[0295] S1310. Unlock.
[0296] Exemplarily, unlocking includes opening a door lock.
[0297] S1311. Prompt the user to re-enter fingerprint.
[0298] Among them, S1309-S1311 can refer to the relevant description of S907-S909 above, which will not be repeated here.
[0299] In addition, in some embodiments, the above S915 and S916 may be executed after S1311. For related contents, reference may be made to the related descriptions of the above S915 and S916, which will not be repeated here.
[0300] In some scenarios, the smart door lock may not save the fingerprint recognition mode or fingerprint verification module applied before sleep, but directly determine the supported fingerprint verification module according to the battery status of the first battery, and directly wake up the corresponding fingerprint verification module. The fingerprint verification module includes a fingerprint AI processing circuit and a fingerprint processing chip.
[0301] For example, Fig.14 The fourth embodiment of the fingerprint recognition method provided in the present application embodiment is a specific flow chart of the fingerprint recognition mode switching step, which is applied to electronic devices (such as smart door locks). Fig.14 As shown, the method may include S1401-S1409:
[0302] S1401. In response to a wake-up signal, wake up the MCU.
[0303] Among them, S1401 can refer to the relevant description of S901 above, which will not be repeated here.
[0304] S1402: The battery state of the first battery satisfies the third condition. If yes, execute S1403; if no, execute S1405.
[0305] In some implementations, the third condition includes, for example, that the first battery does not power the fingerprint AI processing circuit, or that the first battery powers the fingerprint AI processing circuit but the remaining power of the first battery is less than a third preset threshold. The third preset threshold may be the same as the first preset threshold or the second preset threshold.
[0306] In some embodiments, after the smart door lock is released from the sleep state and wakes up the MCU, the MCU determines whether the current battery status of the first battery can support the power supply of the fingerprint AI processing circuit. Therefore, the fingerprint verification module that needs to be awakened is determined to be the fingerprint AI processing circuit or the fingerprint processing chip directly according to the battery status of the first battery, and there is no need to determine the fingerprint recognition mode, thereby improving the efficiency of fingerprint verification. In addition, a power threshold is used to judge the battery status of the first battery, so that there is no need to save the fingerprint recognition mode or the fingerprint verification module identifier of this fingerprint recognition application before entering the sleep state, saving storage space.
[0307] Exemplarily, assuming that the third preset threshold is 2% of the total power of the first battery. After being awakened, the MCU determines that the current first battery is not working for the fingerprint AI processing circuit, or the first battery is working for the fingerprint AI processing circuit, but the remaining power of the first battery is less than 2%, then wake up the fingerprint processing chip for fingerprint verification. Alternatively, after being awakened, the MCU determines that the current first battery is working for the fingerprint AI processing circuit and the remaining power of the first battery is greater than or equal to 2%, then wake up the fingerprint AI processing circuit for fingerprint verification.
[0308] S1403. Wake up the fingerprint sensor and fingerprint processing chip.
[0309] S1404: Receive the fingerprint input by the user through the fingerprint sensor, and verify the input fingerprint through the fingerprint processing chip.
[0310] S1405, wake up the fingerprint sensor and fingerprint AI processing circuit.
[0311] S1406. Receive the fingerprint input by the user through the fingerprint sensor, and verify the input fingerprint through the fingerprint AI processing circuit.
[0312] S1407: Input fingerprint and verify it. If it is, execute S1408; if not, execute S1409.
[0313] S1408. Unlock.
[0314] Exemplarily, unlocking includes opening a door lock.
[0315] S1409: Prompt the user to re-enter fingerprint.
[0316] Among them, S1403-S1409 can refer to the above-mentioned S905-S909, and the relevant description of S912, which will not be repeated here.
[0317] In addition, in some embodiments, the above S915 and S916 may be executed after S1409. For related contents, reference may be made to the related descriptions of the above S915 and S916, which will not be repeated here.
[0318] Combination of the above Figure 4-Figure 14 The fingerprint recognition method provided by the embodiment of the present application is described in detail. Fig.15 The fingerprint recognition device provided in the embodiment of the present application is described in detail.
[0319] It should be noted that all or part of any features of the above embodiments of the present application can be freely combined, and the combined technical solutions are also within the scope of the present application.
[0320] In one possible design, Fig.15This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.15 As shown, the electronic device 1500 may include: a transceiver unit 1501 and a processing unit 1502. The electronic device 1500 may be used to implement the functions of the electronic device (eg, smart door lock) involved in the above method embodiment.
[0321] Optionally, the transceiver unit 1501 is used to support the electronic device 1500 to execute Fig. 9 S901 and S906 in; and / or, supporting the electronic device 1500 to execute Fig.12 S1201 and S1205 in; and / or, supporting the electronic device 1500 to execute Fig.13 S1301, S1304, S1306 and S1308 in; and / or, supporting the electronic device 1500 to execute Fig.14 S1401, S1404 and S1406 in it.
[0322] Optionally, the processing unit 1502 is used to support the electronic device 1500 to execute Fig. 9 S902-S905, S907-S914 in; and / or, supporting the electronic device 1500 to execute Fig.12 S1202-S1204, S1206-S1208 in; and / or, supporting the electronic device 1500 to execute Fig.13 S1302, S1303, S1305, S1307, S1309-S1311 in; and / or, supporting the electronic device 1500 to execute Fig.14 S1402, S1403, S1405, S1407-S1408.
[0323] Among them, the transceiver unit may include a receiving unit and a sending unit, and may be implemented by a transceiver or a transceiver-related circuit component, and may be a transceiver or a transceiver module. The operations and / or functions of each unit in the electronic device 1500 are respectively to implement the corresponding process of the fingerprint recognition method described in the above method embodiment. All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional unit, and for the sake of brevity, they will not be repeated here.
[0324] Optionally, Fig.15 The electronic device 1500 shown may also include a storage unit ( Fig.15 (not shown), the storage unit stores a program or instruction. When the transceiver unit 1501 and the processing unit 1502 execute the program or instruction, Fig.15 The electronic device 1500 shown can execute the fingerprint recognition method described in the above method embodiment.
[0325] Fig.15The technical effects of the electronic device 1500 shown can refer to the technical effects of the fingerprint recognition method described in the above method embodiment, which will not be repeated here.
[0326] In addition to being in the form of electronic device 1500, the technical solution provided by the present application may also be a functional unit or chip in the electronic device, or a device used in conjunction with the electronic device.
[0327] An embodiment of the present application also provides a chip system, including: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip system implements the method in any of the above method embodiments.
[0328] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.
[0329] Optionally, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be separately arranged with the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be arranged on different chips respectively. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.
[0330] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.
[0331] It should be understood that each step in the above method embodiment can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.
[0332] The embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is run on a computer, the computer executes the above-mentioned related steps to implement the fingerprint recognition method in the above-mentioned embodiment.
[0333] The embodiment of the present application further provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement the fingerprint recognition method in the above-mentioned embodiment.
[0334] In addition, an embodiment of the present application further provides a device. The device may be a component or a module, and the device may include one or more processors and a memory connected to each other. The memory is used to store a computer program. When the computer program is executed by one or more processors, the device performs the fingerprint recognition method in the above-mentioned method embodiments.
[0335] Among them, the device, computer-readable storage medium, computer program product or chip provided in the embodiments of the present application are used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0336] The steps of the method or algorithm described in conjunction with the disclosure of the embodiments of the present application can be implemented in hardware or by executing software instructions by a processor. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, read only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC).
[0337] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed; that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0338] In the several embodiments provided in the present application, it should be understood that the disclosed method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of modules or units, which can be electrical, mechanical or other forms.
[0339] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0340] Computer-readable storage media include, but are not limited to, any of the following: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and other media that can store program codes.
[0341] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An electronic device, characterized in that: The electronic device comprises a processor, a memory, a fingerprint artificial intelligence processing circuit, a fingerprint module, a first battery and a second battery; the first battery is used to power the fingerprint artificial intelligence processing circuit, and the second battery is used to power the fingerprint module; the fingerprint module comprises a fingerprint sensor and a fingerprint processing chip; the electronic device is in a dormant state; the processor performs the following steps: Upon receiving a wake-up signal, the processor wakes up; After the remaining power of the first battery meets a first condition, the processor wakes up the fingerprint sensor and the fingerprint processing chip; The processor receives an input fingerprint through the fingerprint sensor and performs fingerprint recognition through the fingerprint processing chip; After the remaining power of the first battery meets a second condition, the processor wakes up the fingerprint sensor and the fingerprint artificial intelligence processing circuit; The processor receives an input fingerprint through the fingerprint sensor and performs fingerprint recognition through the fingerprint artificial intelligence processing circuit; in, The remaining power of the first battery satisfies a first condition; including: the remaining power of the first battery is less than a first preset threshold; The remaining power of the first battery satisfies a second condition; including: the remaining power of the first battery is greater than or equal to a second preset threshold.
2. The electronic device according to claim 1, characterized in that: After the processor of the electronic device wakes up and before determining whether the remaining power of the first battery satisfies the first condition or satisfies the second condition, the processor further executes: Acquire a fingerprint recognition mode of the electronic device before the dormant state; After the fingerprint recognition mode is the first mode, determining whether the remaining power of the first battery meets the first condition; After the fingerprint recognition mode is changed to the second mode, it is determined whether the remaining power of the first battery meets the second condition.
3. The electronic device according to claim 2, characterized in that: When the fingerprint recognition mode is the first mode and the remaining power of the first battery does not meet the first condition, the processor wakes up the fingerprint sensor and the fingerprint artificial intelligence processing circuit; the processor receives fingerprint input through the fingerprint sensor and performs fingerprint recognition through the fingerprint artificial intelligence processing circuit.
4. The electronic device according to claim 3, characterized in that: When the fingerprint recognition mode is the first mode and the remaining power of the first battery does not meet the first condition, the processor uses the first mode as the current fingerprint recognition mode.
5. The electronic device according to claim 2, characterized in that: When the fingerprint recognition mode is the second mode and the remaining power of the first battery does not meet the second condition, the processor wakes up the fingerprint sensor and the fingerprint processing chip; the processor receives fingerprint input through the fingerprint sensor and performs fingerprint recognition through the fingerprint processing chip.
6. The electronic device according to claim 5, characterized in that: When the fingerprint recognition mode is the second mode and the remaining power of the first battery does not meet the second condition, the processor uses the second mode as the current fingerprint recognition mode.
7. The electronic device according to any one of claims 2 to 6, characterized in that: The fingerprint recognition mode of the electronic device before the sleep state is stored in the electronic device or in a server connected to the electronic device before the electronic device is in the sleep state.
8. The electronic device according to claim 7, characterized in that: After the remaining power of the first battery does not meet the first condition and does not meet the second condition, the processor obtains the fingerprint recognition mode of the electronic device before the sleep state; wakes up the fingerprint sensor and the fingerprint artificial intelligence processing circuit or the fingerprint processing chip according to whether the fingerprint recognition mode is the first mode or the second mode; the processor receives the input fingerprint through the fingerprint sensor, and performs fingerprint recognition through the fingerprint artificial intelligence processing circuit or the fingerprint processing chip.
9. The electronic device according to any one of claims 1 to 6 and 8, characterized in that: The electronic device pre-stores a first template fingerprint and a second template fingerprint; based on the input fingerprint and the first template fingerprint, or based on the input fingerprint and the second template fingerprint, after the fingerprint recognition passes, the electronic device is unlocked; after the fingerprint recognition fails, the electronic device prompts to re-enter the fingerprint; The first template fingerprint is an original fingerprint image collected by the fingerprint sensor and obtained after being processed by the fingerprint processing chip; The second template fingerprint is an original fingerprint image collected by the fingerprint sensor, obtained after being processed by the fingerprint artificial intelligence processing circuit; The fingerprint artificial intelligence processing circuit runs a trusted execution environment operating system TEE OS, and the fingerprint artificial intelligence processing circuit is used to perform recognition based on the second template fingerprint and the input fingerprint in the TEE OS; After the remaining power of the first battery does not meet the first condition, or after the remaining power of the first battery meets the second condition, the first battery is further used to power various circuits included in the electronic device; After the remaining power of the first battery meets the first condition, or after the remaining power of the first battery does not meet the second condition, the second battery is also used to power the fingerprint module and the processor; The first mode is a master end matching mode, and the second mode is a chip end matching mode; The first battery includes one or more lithium batteries; the second battery includes one or more dry cells; The electronic device includes but is not limited to at least one of the following: a smart home device and a computing device; the smart home device includes but is not limited to a smart door lock.
10. The electronic device according to claim 7, characterized in that: The electronic device pre-stores a first template fingerprint and a second template fingerprint; based on the input fingerprint and the first template fingerprint, or based on the input fingerprint and the second template fingerprint, after the fingerprint recognition passes, the electronic device is unlocked; after the fingerprint recognition fails, the electronic device prompts to re-enter the fingerprint; The first template fingerprint is an original fingerprint image collected by the fingerprint sensor and obtained after being processed by the fingerprint processing chip; The second template fingerprint is an original fingerprint image collected by the fingerprint sensor, obtained after being processed by the fingerprint artificial intelligence processing circuit; The fingerprint artificial intelligence processing circuit runs a trusted execution environment operating system TEE OS, and the fingerprint artificial intelligence processing circuit is used to perform recognition based on the second template fingerprint and the input fingerprint in the TEE OS; After the remaining power of the first battery does not meet the first condition, or after the remaining power of the first battery meets the second condition, the first battery is further used to power various circuits included in the electronic device; After the remaining power of the first battery meets the first condition, or after the remaining power of the first battery does not meet the second condition, the second battery is also used to power the fingerprint module and the processor; The first mode is a master end matching mode, and the second mode is a chip end matching mode; The first battery includes one or more lithium batteries; the second battery includes one or more dry cells; The electronic device includes but is not limited to at least one of the following: a smart home device and a computing device; the smart home device includes but is not limited to a smart door lock.
11. A fingerprint recognition method, characterized in that: Applicable to electronic equipment; the electronic equipment comprises a processor, a memory, a fingerprint artificial intelligence processing circuit, a fingerprint module, a first battery and a second battery; the first battery is used to power the fingerprint artificial intelligence processing circuit, and the second battery is used to power the fingerprint module; The fingerprint module includes a fingerprint sensor and a fingerprint processing chip; The electronic device is in a dormant state; the method comprises: Upon receiving a wake-up signal, the processor of the electronic device wakes up; After the remaining power of the first battery meets a first condition, the processor wakes up the fingerprint sensor and the fingerprint processing chip; the processor receives an input fingerprint through the fingerprint sensor, and performs fingerprint recognition through the fingerprint processing chip; After the remaining power of the first battery meets the second condition, the processor wakes up the fingerprint sensor and the fingerprint artificial intelligence processing circuit; the processor receives an input fingerprint through the fingerprint sensor, and performs fingerprint recognition through the fingerprint artificial intelligence processing circuit; in, The remaining power of the first battery satisfies a first condition; including: the remaining power of the first battery is less than a first preset threshold; The remaining power of the first battery satisfies a second condition; including: the remaining power of the first battery is greater than or equal to a second preset threshold.
12. The method according to claim 11, characterized in that After the processor of the electronic device wakes up and before determining whether the remaining power of the first battery satisfies the first condition or satisfies the second condition, the method further includes: The processor obtains a fingerprint recognition mode of the electronic device before the dormant state; After the fingerprint recognition mode is the first mode, the processor determines whether the remaining power of the first battery meets the first condition; After the fingerprint recognition mode is changed to the second mode, the processor determines whether the remaining power of the first battery meets the second condition.
13. The method according to claim 12, characterized in that When the fingerprint recognition mode is the first mode and the remaining power of the first battery does not meet the first condition, the processor wakes up the fingerprint sensor and the fingerprint artificial intelligence processing circuit; the processor receives fingerprint input through the fingerprint sensor and performs fingerprint recognition through the fingerprint artificial intelligence processing circuit.
14. The method according to claim 13, characterized in that When the fingerprint recognition mode is the first mode and the remaining power of the first battery does not meet the first condition, the processor uses the first mode as the current fingerprint recognition mode.
15. The method according to claim 12, characterized in that When the fingerprint recognition mode is the second mode and the remaining power of the first battery does not meet the second condition, the processor wakes up the fingerprint sensor and the fingerprint processing chip; the processor receives fingerprint input through the fingerprint sensor and performs fingerprint recognition through the fingerprint processing chip.
16. The method according to claim 15, characterized in that When the fingerprint recognition mode is the second mode and the remaining power of the first battery does not meet the second condition, the processor uses the second mode as the current fingerprint recognition mode.
17. The method according to any one of claims 12 to 16, characterized in that: The fingerprint recognition mode of the electronic device before the sleep state is stored in the electronic device or in a server connected to the electronic device before the electronic device is in the sleep state.
18. The method according to claim 17, characterized in that After the remaining power of the first battery does not meet the first condition and does not meet the second condition, the processor obtains the fingerprint recognition mode of the electronic device before the sleep state; wakes up the fingerprint sensor and the fingerprint artificial intelligence processing circuit or the fingerprint processing chip according to whether the fingerprint recognition mode is the first mode or the second mode; the processor receives the input fingerprint through the fingerprint sensor, and performs fingerprint recognition through the fingerprint artificial intelligence processing circuit or the fingerprint processing chip.
19. The method according to any one of claims 11 to 16 and 18, characterized in that: The electronic device pre-stores a first template fingerprint and a second template fingerprint; based on the input fingerprint and the first template fingerprint, or based on the input fingerprint and the second template fingerprint, after the fingerprint recognition passes, the electronic device is unlocked; after the fingerprint recognition fails, the electronic device prompts to re-enter the fingerprint; The first template fingerprint is an original fingerprint image collected by the fingerprint sensor and obtained after being processed by the fingerprint processing chip; The second template fingerprint is an original fingerprint image collected by the fingerprint sensor, obtained after being processed by the fingerprint artificial intelligence processing circuit; The fingerprint artificial intelligence processing circuit runs a trusted execution environment operating system TEE OS, and the fingerprint artificial intelligence processing circuit is used to perform recognition based on the second template fingerprint and the input fingerprint in the TEE OS; After the remaining power of the first battery does not meet the first condition, or after the remaining power of the first battery meets the second condition, the first battery is further used to power various circuits included in the electronic device; After the remaining power of the first battery meets the first condition, or after the remaining power of the first battery does not meet the second condition, the second battery is also used to power the fingerprint module and the processor; The first mode is a master end matching mode, and the second mode is a chip end matching mode; The first battery includes one or more lithium batteries; the second battery includes one or more dry cells; The electronic device includes but is not limited to at least one of the following: a smart home device and a computing device; the smart home device includes but is not limited to a smart door lock.
20. The method according to claim 17, characterized in that The electronic device pre-stores a first template fingerprint and a second template fingerprint; based on the input fingerprint and the first template fingerprint, or based on the input fingerprint and the second template fingerprint, after the fingerprint recognition passes, the electronic device is unlocked; after the fingerprint recognition fails, the electronic device prompts to re-enter the fingerprint; The first template fingerprint is an original fingerprint image collected by the fingerprint sensor and obtained after being processed by the fingerprint processing chip; The second template fingerprint is an original fingerprint image collected by the fingerprint sensor, obtained after being processed by the fingerprint artificial intelligence processing circuit; The fingerprint artificial intelligence processing circuit runs a trusted execution environment operating system TEE OS, and the fingerprint artificial intelligence processing circuit is used to perform recognition based on the second template fingerprint and the input fingerprint in the TEE OS; After the remaining power of the first battery does not meet the first condition, or after the remaining power of the first battery meets the second condition, the first battery is further used to power various circuits included in the electronic device; After the remaining power of the first battery meets the first condition, or after the remaining power of the first battery does not meet the second condition, the second battery is also used to power the fingerprint module and the processor; The first mode is a master end matching mode, and the second mode is a chip end matching mode; The first battery includes one or more lithium batteries; the second battery includes one or more dry cells; The electronic device includes but is not limited to at least one of the following: a smart home device and a computing device; the smart home device includes but is not limited to a smart door lock.
21. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises a computer program, and when the computer program is executed on an electronic device, the electronic device is enabled to execute the method according to any one of claims 11 to 20.
22. A computer program product, characterized in that When the computer program product runs on an electronic device, the electronic device is enabled to execute the method according to any one of claims 11 to 20.
Citation Information
Patent Citations
Electronic device and control method of fingerprint recognition apparatus
CN105320924A
MUT fingerprint ID system
CN105378756A
Screen-off display method and electronic equipment
CN112235452A
Controlling access to a physical space using a fingerprint sensor
WO2018060201A1
Fingerprint acquisition method and related products
WO2021012993A1
