Information processing method, electronic equipment, readable storage medium and chip
By generating an interrupt command directly during the fingerprint unlocking process and illuminating the backlight when the touch area reaches a threshold, the problem of low fingerprint unlocking efficiency caused by LCD screen initialization is solved, achieving more efficient fingerprint unlocking and power saving.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2022-07-29
- Publication Date
- 2026-05-12
AI Technical Summary
In existing technologies, the initialization process of the LCD screen during fingerprint unlocking results in low fingerprint unlocking efficiency and significant power waste.
By generating an interrupt command directly when a touch operation is detected, the touch screen is controlled to initialize, and the backlight is turned on when the touch area reaches a threshold, thus shortening the initialization time and selectively turning on the backlight to improve efficiency.
It shortens the fingerprint unlocking time, saves power, improves fingerprint unlocking efficiency and reliability, and enhances the accuracy of fingerprint recognition.
Smart Images

Figure CN122018715A_ABST
Abstract
Description
[0001] This application is a divisional application. The original application has the application number 202210908805.0 and the original application date is July 29, 2022. The entire contents of the original application are incorporated herein by reference. Technical Field
[0002] This application relates to the field of terminal technology, and in particular to an information processing method, electronic device, readable storage medium and chip. Background Technology
[0003] As people become increasingly reliant on electronic devices, these devices record more and more user information. This information relates to users' assets, privacy, and other sensitive matters, leading to higher demands for the security of electronic devices. To ensure the security of electronic devices, various unlocking verification methods are typically implemented, such as fingerprint unlocking.
[0004] During fingerprint unlocking, electronic devices need to illuminate the liquid crystal display (LCD) screen, collect fingerprint information from the fingerprint recognition area, perform fingerprint verification based on the fingerprint information, and unlock the device after successful fingerprint verification. Improving the efficiency of fingerprint unlocking is a pressing issue that needs to be addressed. Summary of the Invention
[0005] This application provides a fingerprint unlocking method, an electronic device, a readable storage medium, and a chip, which can solve the problem of how to improve fingerprint unlocking efficiency in related technologies. The technical solution is as follows: Firstly, a fingerprint unlocking method is provided for use in electronic devices, the method comprising: In response to a touch operation on the fingerprint recognition area of the touchscreen of the electronic device, an interrupt command is generated and the touch area of the touch operation is detected; In response to the interrupt command, the touchscreen is controlled to perform an initialization operation; When the touchscreen initialization is complete and the touch area is greater than or equal to the area threshold, the backlight of the electronic device is turned on. With the backlight on, the electronic device is controlled to perform a fingerprint unlocking operation.
[0006] In this way, during the fingerprint unlocking process, when a touch operation is detected, an interrupt command can be directly responded to control the touch screen to perform initialization operations. This allows the touch screen initialization operation and the touch area detection operation to be performed simultaneously, thereby shortening the fingerprint unlocking time and improving the fingerprint unlocking efficiency.
[0007] As an example of this application, the step of illuminating the backlight of the electronic device when the touchscreen initialization is completed and the touch area is greater than or equal to an area threshold includes: When the touchscreen initialization is complete and the touch area is greater than or equal to the area threshold, the backlight in a preset area is turned on. The preset area is at least one of the fingerprint recognition area and the frame area of the electronic device.
[0008] In this way, by selectively illuminating the backlights of electronic devices, the versatility of backlight functions is increased, and since there is no need to illuminate the screen of the electronic device, power consumption is saved.
[0009] As an example of this application, the electronic device includes a touch screen module and a touch screen controller; The step of generating an interrupt command and detecting the touch area of the touch operation in response to a touch operation on the fingerprint recognition area of the touchscreen of the electronic device includes: In response to a touch operation on the fingerprint recognition area in the touch screen, the touch screen module generates the interrupt command and detects the touch area of the touch operation; The touch module sends the interrupt command to the touch controller. In this way, the touch module can send an interrupt command to the touch controller as soon as it detects a touch operation, thus advancing the timing of sending the interrupt command and speeding up the unlocking process.
[0010] As an example of this application, the step of controlling the touchscreen to perform initialization operations in response to the interrupt instruction includes: Upon receiving the interrupt command, the touchscreen controller performs an initialization operation on the touchscreen in response to the interrupt command.
[0011] In this way, while the touch module is detecting whether the touch area is greater than or equal to the area threshold, the touch controller can simultaneously perform touch screen initialization operations, thereby shortening the waiting time for touch screen initialization operations and speeding up fingerprint unlocking.
[0012] As an example of this application, after generating an interrupt command and detecting the touch area of the touch operation in response to a touch operation on the fingerprint recognition area of the touchscreen of the electronic device, the method further includes: If the touch area is less than the area threshold, the touch module sends a touch failure message to the touch controller. If the touchscreen controller receives the touch failure message and the initialization operation of the touchscreen has not been completed, it shall stop the initialization operation of the touchscreen.
[0013] In this way, by sending a touch failure message to the touchscreen controller, fingerprint recognition is avoided in the event of accidental touch by the user, thus improving the reliability of fingerprint recognition.
[0014] As an example of this application, the electronic device also includes a fingerprint module and a display module; The step of illuminating the backlight of the electronic device when the touchscreen initialization is complete and the touch area is greater than or equal to an area threshold includes: Upon completion of touchscreen initialization, the touchscreen controller sends an initialization completion message to the display module. When the touch area is greater than or equal to the area threshold, the touch screen module sends a touch completion message to the display module through the fingerprint module; Upon receiving the initialization completion message and the touch completion message, the display module illuminates the backlight.
[0015] In this way, by responding to the initialization completion message and the touch completion message to light up the backlight, it is ensured that the backlight is lit only when the touch operation is not a misoperation and the touch screen meets the fingerprint recognition conditions, thereby improving the reliability of fingerprint recognition.
[0016] As an example of this application, after generating an interrupt command and detecting the touch area of the touch operation in response to a touch operation on the fingerprint recognition area of the touchscreen of the electronic device, the method further includes: If the touch area is less than the area threshold, the touch module sends a touch failure message to the touch controller and the fingerprint module respectively. If the touch screen controller receives the touch failure message and the initialization operation of the touch screen has not been completed, it shall stop the initialization operation of the touch screen. The fingerprint module does not respond when it receives the touch failure message.
[0017] In this way, by sending touch failure messages to the touchscreen controller and the fingerprint module respectively, fingerprint recognition can be avoided in the event of accidental touch by the user, thus improving the reliability of preventing fingerprint misidentification.
[0018] As an example of this application, controlling the electronic device to perform a fingerprint unlocking operation when the backlight is on includes: With the backlight on, fingerprint information is collected within the fingerprint recognition area; Fingerprint verification is performed based on the fingerprint information; If fingerprint verification is successful, the electronic device is controlled to perform the operation corresponding to the fingerprint unlocking function based on the current state of the electronic device.
[0019] In this way, by controlling the electronic device to perform different operations when the electronic device is in different states, the application scope and richness of fingerprint unlocking are improved.
[0020] As an example of this application, before collecting fingerprint information within the fingerprint recognition area when the backlight is turned on, the method further includes: Identify the type of the touch operation; When the type of touch operation is a touch operation for fingerprint recognition, the operation of collecting fingerprint information in the fingerprint recognition area when the backlight is turned on is performed.
[0021] In this way, by determining whether a touch operation is for fingerprint recognition, erroneous fingerprint recognition operations are avoided, thus improving the reliability of fingerprint recognition.
[0022] As an example of this application, the step of performing the operation corresponding to the fingerprint unlocking function according to the current state of the electronic device when fingerprint verification is successful includes: If the fingerprint verification is successful, and the electronic device is currently in a screen unlocking state, then the screen of the electronic device will be unlocked. If the fingerprint verification is successful, and the electronic device is currently in a resource payment pending state, then the resource payment operation will be performed. If the fingerprint verification is successful, and the electronic device is currently in an account login pending state, then an account login operation will be performed. If the fingerprint verification is successful, and the electronic device is currently in an application lock pending unlock state, the application lock of the target application is unlocked to display the application interface of the target application. The target application is any application installed on the electronic device. The target application has the application lock set and is currently in a pending launch state. The application lock is used to encrypt the launch of the target application.
[0023] In this way, fingerprint unlocking can enable electronic devices to unlock screens, make payments, log in to accounts, and lock applications, thereby increasing the scope and richness of its applications.
[0024] As an example of this application, detecting the touch area of the touch operation includes: The number of touch sensors touched by the touch operation in the fingerprint recognition area is detected; If the number of touch sensors is greater than or equal to a number threshold, the touch area of the touch operation is determined to be greater than or equal to the area threshold.
[0025] In this way, by detecting the number of touch sensors triggered in the fingerprint recognition area, it can be determined whether the touch area is greater than or equal to the area threshold, thereby reducing the complexity of detecting the touch area and improving the detection efficiency.
[0026] In a second aspect, an electronic device is provided, comprising a processor and a memory. The memory stores a program that supports the electronic device in executing the fingerprint unlocking method provided in the first aspect, and stores data related to implementing the fingerprint unlocking method described in the first aspect. The processor is configured to execute the program stored in the memory. The electronic device may further include a communication bus for establishing a connection between the processor and the memory. The processor is configured to: In response to a touch operation on the fingerprint recognition area of the touchscreen of the electronic device, an interrupt command is generated and the touch area of the touch operation is detected; In response to the interrupt command, the touchscreen is controlled to perform an initialization operation; When the touchscreen initialization is complete and the touch area is greater than or equal to the area threshold, the backlight of the electronic device is turned on. With the backlight on, the electronic device is controlled to perform a fingerprint unlocking operation.
[0027] As an example of this application, the processor is also configured to: When the touchscreen initialization is complete and the touch area is greater than or equal to the area threshold, the backlight in a preset area is turned on. The preset area is at least one of the fingerprint recognition area and the frame area of the electronic device.
[0028] As an example of this application, the electronic device includes a touchscreen module and a touchscreen controller; the processor is further configured to: In response to a touch operation on the fingerprint recognition area in the touch screen, the touch screen module generates the interrupt command and detects the touch area of the touch operation; The touch module sends the interrupt command to the touch controller. As an example of this application, the processor is also configured to: Upon receiving the interrupt command, the touchscreen controller performs an initialization operation on the touchscreen in response to the interrupt command.
[0029] As an example of this application, the processor is also configured to: If the touch area is less than the area threshold, the touch module sends a touch failure message to the touch controller. If the touchscreen controller receives the touch failure message and the initialization operation of the touchscreen has not been completed, it shall stop the initialization operation of the touchscreen.
[0030] As an example of this application, the electronic device also includes a fingerprint module and a display module; The processor is also configured to: Upon completion of touchscreen initialization, the touchscreen controller sends an initialization completion message to the display module. When the touch area is greater than or equal to the area threshold, the touch screen module sends a touch completion message to the display module through the fingerprint module; Upon receiving the initialization completion message and the touch completion message, the display module illuminates the backlight.
[0031] As an example of this application, the processor is also configured to: If the touch area is less than the area threshold, the touch module sends a touch failure message to the touch controller and the fingerprint module respectively. If the touch screen controller receives the touch failure message and the initialization operation of the touch screen has not been completed, it shall stop the initialization operation of the touch screen. The fingerprint module does not respond when it receives the touch failure message.
[0032] As an example of this application, the processor is also configured to: With the backlight on, fingerprint information is collected within the fingerprint recognition area; Fingerprint verification is performed based on the fingerprint information; If fingerprint verification is successful, the electronic device is controlled to perform the operation corresponding to the fingerprint unlocking function based on the current state of the electronic device.
[0033] As an example of this application, the processor is also configured to: Identify the type of the touch operation; When the type of touch operation is a touch operation for fingerprint recognition, the operation of collecting fingerprint information in the fingerprint recognition area when the backlight is turned on is performed.
[0034] As an example of this application, the processor is also configured to: If the fingerprint verification is successful, and the electronic device is currently in a screen unlocking state, then the screen of the electronic device will be unlocked. If the fingerprint verification is successful, and the electronic device is currently in a resource payment pending state, then the resource payment operation will be performed. If the fingerprint verification is successful, and the electronic device is currently in an account login pending state, then an account login operation will be performed. If the fingerprint verification is successful, and the electronic device is currently in an application lock pending unlock state, the application lock of the target application is unlocked to display the application interface of the target application. The target application is any application installed on the electronic device. The target application has the application lock set and is currently in a pending launch state. The application lock is used to encrypt the launch of the target application.
[0035] As an example of this application, the processor is also configured to: The number of touch sensors touched by the touch operation in the fingerprint recognition area is detected; If the number of touch sensors is greater than or equal to a number threshold, the touch area of the touch operation is determined to be greater than or equal to the area threshold.
[0036] Thirdly, a computer-readable storage medium is provided, wherein instructions are stored therein, which, when executed on a computer, cause the computer to perform the fingerprint unlocking method described in the first aspect.
[0037] Fourthly, a chip is provided, the chip including a processor, the processor being configured to invoke a computer program in a memory to execute the fingerprint unlocking method described in the first aspect.
[0038] Fifthly, a computer program product containing instructions is provided, which, when run on a computer, causes the computer to perform the fingerprint unlocking method described in the first aspect.
[0039] The technical effects achieved by the second, third, fourth, and fifth aspects mentioned above are similar to those achieved by the corresponding technical means in the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0040] Figure 1This is a schematic diagram illustrating an application scenario provided in an embodiment of this application; Figure 2 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application; Figure 3 This is a schematic diagram of the software framework of an electronic device according to an exemplary embodiment; Figure 4 This is a schematic diagram illustrating a fingerprint unlocking application scenario according to an exemplary embodiment; Figure 5 This is a schematic diagram illustrating a fingerprint unlocking application scenario according to another exemplary embodiment; Figure 6 This is a schematic diagram illustrating a fingerprint unlocking application scenario according to another exemplary embodiment; Figure 7 This is a schematic diagram illustrating a fingerprint unlocking application scenario according to another exemplary embodiment; Figure 8 This is a flowchart illustrating a fingerprint unlocking method according to an exemplary embodiment; Figure 9 This is a flowchart illustrating a fingerprint unlocking method according to another exemplary embodiment; Figure 10 This is a flowchart illustrating a fingerprint unlocking method according to another exemplary embodiment; Figure 11 This is a flowchart illustrating a fingerprint unlocking method according to another exemplary embodiment; Figure 12 This is a flowchart illustrating a fingerprint unlocking method according to another exemplary embodiment; Figure 13 This is a schematic diagram of the structure of an electronic device according to another exemplary embodiment.
[0041] Figure label: 1: Fingerprint recognition area; 2: Lock screen interface; 3: Phone desktop; 4: Payment verification interface; 5: Payment completion interface; 6: Fingerprint login interface; 7: Video application interface; 8: Application unlock interface; 9: Social application interface; 11: TP touch module; 12: Fingerprint module; 13: LCD controller; 14: Display module; 15: Unlock module; 16: Payment module; 17: Login module; 18: Application lock module. Detailed Implementation
[0042] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0043] It should be understood that "multiple" as mentioned in this application refers to two or more. In the description of this application, unless otherwise stated, " / " indicates "or," for example, A / B can mean A or B; "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist, for example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, to facilitate a clear description of the technical solutions of this application, the terms "first," "second," etc., are used to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the terms "first," "second," etc., do not limit the quantity or execution order, and that "first," "second," etc., do not necessarily imply differences.
[0044] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0045] With the development of terminal technology, in order to better protect user privacy and the security of electronic devices, users often set up fingerprint unlocking when using electronic devices. For example, users can set up fingerprint unlocking on their mobile phones. See also Figure 1When the phone screen is off, the user can touch the fingerprint recognition area 1 to unlock the phone. The touchpad (TP) module 11 in the phone responds to the touch operation of the finger on the fingerprint recognition area 1, determines whether the touch area is greater than the area threshold, and sends a fingerprint acquisition message to the fingerprint module if the touch area is greater than the area threshold. Upon receiving the fingerprint acquisition message, the fingerprint module 12 acquires fingerprint information, recognizes the acquired fingerprint information, and sends an LCD interrupt command to the LCD controller 13 after successful fingerprint verification. Upon receiving the LCD interrupt command, the LCD controller 13 initializes the LCD screen and sends an initialization completion message to the display module 14 after initialization is complete. Upon receiving the initialization completion message, the display module 14 lights up the LCD screen and sends the LCD screen lighting message to the unlock module 15. After the LCD screen is lit up, the lock screen interface 2 is displayed, which shows the fingerprint recognition area. When the unlock module 15 receives the power-on message, it unlocks the phone screen and displays the startup screen, which is the screen that was displayed before the last time the screen was locked, such as displaying the phone desktop 3.
[0046] However, if the fingerprint recognition operation is performed only after the contact area between the finger and the fingerprint recognition area is greater than or equal to the area threshold, and an LCD interrupt command is only sent to the LCD controller after the fingerprint verification is successful, the LCD screen will only be able to perform LCD screen initialization operations after receiving the interrupt command. This will result in a longer LCD screen initialization time and a lower final fingerprint unlocking efficiency.
[0047] To shorten fingerprint unlocking time and improve its efficiency, this application provides a fingerprint unlocking method. This method can directly report an LCD interrupt command to the LCD controller when the electronic device detects a touch operation via the TP touch module. This allows the LCD controller to first initialize the LCD screen. Simultaneously, the TP touch module can detect whether the touch area is greater than or equal to an area threshold. If the touch area is greater than or equal to the area threshold and the LCD initialization is complete, fingerprint recognition is performed via the fingerprint module. The area threshold is a pre-set threshold. If the touch area is greater than or equal to the area threshold, it indicates that the touch operation is valid and not a mis-touch of the fingerprint recognition area. Therefore, fingerprint recognition can be performed via the fingerprint module after the touch area is greater than or equal to the area threshold. By performing the LCD screen initialization and touch area detection simultaneously, the fingerprint unlocking time is shortened, and the fingerprint unlocking efficiency is improved. The specific implementation is described below.
[0048] Before providing a detailed explanation of the fingerprint unlocking method provided in the embodiments of this application, the electronic device involved in the embodiments of this application will be described first.
[0049] The method provided in this application embodiment can be executed by an electronic device that supports fingerprint unlocking. Furthermore, the electronic device can be equipped with applications such as video, navigation, e-books, music, shopping, and games. These applications can support functions such as payment via fingerprint unlocking, and / or account login via fingerprint unlocking, and / or application launch via fingerprint unlocking, etc. As an example and not a limitation, the electronic device can be, but is not limited to, a GoPro action camera, digital camera, tablet computer, desktop, laptop, handheld computer, notebook computer, in-vehicle device, ultra-mobile personal computer (UMPC), netbook, cellular phone, personal digital assistant (PDA), augmented reality (AR) / virtual reality (VR) device, mobile phone, door lock, smart appliance, etc., and this application embodiment does not limit this.
[0050] Figure 2 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. See also... Figure 2 The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0051] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0052] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0053] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.
[0054] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from this memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0055] In some embodiments, the processor 110 may include one or more interfaces, such as an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0056] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0057] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0058] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is an integer greater than 1.
[0059] Internal memory 121 can be used to store computer-executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created by electronic device 100 during use (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0060] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be disposed on display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the touch operation intensity based on pressure sensor 180A. Electronic device 100 can also calculate the touch position based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example, when a touch operation with an intensity less than the pressure threshold is applied to the SMS application icon, a command to view an SMS message is executed. When a touch operation with an intensity greater than or equal to the pressure threshold is applied to the SMS application icon, a command to create a new SMS message is executed.
[0061] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can utilize the characteristics of the collected fingerprints to achieve fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering calls with fingerprints, etc.
[0062] Touch sensor 180K, also known as a "touch panel," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touch display." Touch sensor 180K detects touch operations applied to or near it. Touch sensor 180K can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of electronic device 100, in a different position than display screen 194.
[0063] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch buttons. Electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of electronic device 100.
[0064] The software system of electronic device 100 will be described next.
[0065] The software system of electronic device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses the layered architecture Android system as an example to illustrate the software system of electronic device 100.
[0066] Figure 3 This is a block diagram of a software system for an electronic device 100 provided in an embodiment of this application. See also... Figure 3 A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the hardware abstraction layer (HAL), and the kernel layer.
[0067] The application layer can include a series of application packages. For example... Figure 3 As shown, the application package can include applications such as shopping, video, social networking, camera, calendar, and maps.
[0068] As an example of this application, the application layer also includes an unlocking module for unlocking the screen of an electronic device upon receiving a fingerprint verification pass message sent by the HAL layer.
[0069] As an example of this application, the application layer also includes a payment module for performing resource payment operations upon receiving a fingerprint verification pass message from the HAL layer.
[0070] As an example of this application, the application layer also includes a login module, which is used to perform account login operations upon receiving a fingerprint verification success message sent by the HAL layer.
[0071] As an example of this application, the application layer also includes an application lock module. This module unlocks the application corresponding to it upon receiving a fingerprint verification success message from the HAL layer, thereby displaying the application's interface. The corresponding application refers to the application that has an application lock set and is currently being launched. Setting an application lock encrypts the application's launch; that is, when launching the application, it must be unlocked before its interface can be displayed.
[0072] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions. For example... Figure 2As shown, the application framework layer can include a window manager, content providers, a view system, a phone manager, a resource manager, and a notification manager. The window manager manages window programs. It can obtain the screen size, determine if a status bar is present, lock the screen, and capture the screen. The content provider stores and retrieves data, making this data accessible to the application. This data can include videos, images, audio, made and received phone calls, browsing history and bookmarks, and phone books. The view system includes visual controls, such as controls for displaying text and controls for displaying images. The view system can be used to build the application's display interface, which can consist of one or more views, such as a view displaying SMS notification icons, a view displaying text, and a view displaying images. The phone manager provides communication functions for the electronic device 100, such as managing call status (including connection and disconnection). The resource manager provides the application with various resources, such as localized strings, icons, images, layout files, and video files. The notification manager allows the application to display notification information in the status bar, which can be used to convey informational messages and can disappear automatically after a short pause without user interaction. For example, the notification manager is used to notify users of download completions and message alerts. The notification manager can also display notifications as icons or scrolling text in the system's top status bar, such as notifications from background applications. Furthermore, the notification manager can appear as dialog boxes on the screen, such as displaying text messages in the status bar, emitting sounds, causing electronic devices to vibrate, or flashing indicator lights.
[0073] As an example of this application, the HAL layer includes at least a fingerprint (FP) module. Upon receiving a touch completion message from the kernel layer, the fingerprint module identifies whether the touch operation is for fingerprint recognition based on the touch data carried in the touch completion message. Simultaneously, it sends the touch completion message to the kernel layer, causing the kernel layer to illuminate the backlight based on the touch completion message. The type of touch operation identified can refer to whether the touch operation is for fingerprint recognition. Furthermore, when the fingerprint module identifies the touch operation as a fingerprint recognition operation and receives a backlight illumination message from the kernel layer, it can collect fingerprint information and perform recognition on the collected fingerprint information. The backlight illumination message is sent by the kernel layer after receiving the touch completion message and illuminating the backlight. If the fingerprint module determines that fingerprint verification is successful based on the collected fingerprint information, it can send a fingerprint verification successful message to the module corresponding to the current fingerprint unlocking scenario. For example, in a screen unlock scenario, the fingerprint module can send a fingerprint verification successful message to the unlock module; in a resource payment scenario, the fingerprint module can send a fingerprint verification successful message to the payment module; in an account login scenario, the fingerprint module can send a fingerprint verification successful message to the login module; and in a scenario where an application is launched and the application has an application lock set, the fingerprint module sends a fingerprint verification successful message to the application lock module.
[0074] It should be noted that this fingerprint module may include a fingerprint acquisition module and a fingerprint recognition module. The fingerprint acquisition module is used to acquire fingerprint information and send the acquired fingerprint information to the fingerprint recognition module; the fingerprint recognition module is used to receive the fingerprint information sent by the fingerprint acquisition module, perform fingerprint recognition based on the fingerprint information, and send a fingerprint verification success message to the module corresponding to the current fingerprint unlocking scenario after successful fingerprint verification.
[0075] The kernel layer is the layer between hardware and software. The kernel layer includes at least the TP touch module, LCD controller, display module, display driver, camera driver, audio driver, and sensor driver.
[0076] As an example, the TP touch module is used to detect touch operations on the screen of an electronic device. Upon detecting a touch operation, it triggers an LCD interrupt to send an LCD interrupt command to the LCD controller and determines whether the touch area is greater than or equal to an area threshold. If the TP touch module detects that the touch area is greater than or equal to the area threshold, it indicates that the touch operation is not a user error, and therefore, a touch completion message can be sent to the fingerprint module. If the TP touch module detects that the touch area is less than the area threshold, it indicates that the touch operation is a user error, and therefore, a touch failure message can be sent to the LCD controller and / or the fingerprint module, or no message can be sent.
[0077] As an example of this application, the TP touch module may include a touch sensor and a touch processor. The touch sensor is used to detect touch operations on the screen of the electronic device; the touch processor is used to trigger an LCD interrupt to send an LCD interrupt command to the LCD controller, and at the same time, detect whether the touch area of the touch operation is greater than or equal to an area threshold.
[0078] As an example, this LCD controller is used to initialize the LCD screen upon receiving an LCD interrupt command, and then send an initialization completion message to the display module after initialization is complete. Additionally, if the LCD controller receives a touch failure message and the current initialization operation for the LCD screen is not yet complete, it will not perform any further initialization operations.
[0079] As an example, the display module is used to turn on the backlight of the electronic device screen upon receiving an initialization complete message and a touch complete message, and to send a backlight-on message to the fingerprint module.
[0080] It should be noted that the display module may include a high brightness monitor (HBM).
[0081] The following example, using a scene of capturing a photograph, illustrates the workflow of the software and hardware of the electronic device 100.
[0082] When touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, touch operation timestamp, etc.). The raw input event is stored in the kernel layer. The application framework layer retrieves the raw input event from the kernel layer and identifies the control corresponding to the raw input event. Taking a single-click operation as an example, where the corresponding control is the camera application icon, the camera application calls the interface of the application framework layer to launch the camera application, and then calls the kernel layer to launch the camera driver, capturing still images or videos through camera 193.
[0083] To facilitate understanding, before providing a detailed description of the methods provided in the embodiments of this application, based on the execution subject provided in the above embodiments, the application scenarios involved in the embodiments of this application will be introduced next using a mobile phone as an example of an electronic device.
[0084] Please refer to Figure 4 , Figure 4 This is a schematic diagram illustrating an application scenario according to an exemplary embodiment. In one possible scenario, to prevent the leakage of mobile phone privacy, users typically set a lock screen password for their phones, such as a fingerprint password. See also Figure 4 When the phone is locked and a fingerprint password is set, if the user needs to unlock the phone, the user can touch the fingerprint recognition area 1 of the phone. The TP touch module 11 in the phone responds to the touch operation on the fingerprint recognition area 1, triggers the LCD interrupt, and sends an LCD interrupt command to the LCD controller 13. At the same time, the TP touch module 11 determines whether the touch area of the touch operation is greater than or equal to the area threshold, and if the touch area is greater than or equal to the area threshold, it sends a touch completion message to the fingerprint module 12. When the fingerprint module 12 receives a touch completion message, it identifies whether the touch operation is for fingerprint recognition and sends the touch completion message to the display module 14. When the LCD controller 13 receives an LCD interrupt command, it performs LCD screen initialization and sends an initialization completion message to the display module 14. When the display module 14 receives the initialization completion message and the touch completion message, it turns on the backlight of the LCD screen and sends a backlight turn-on message to the fingerprint module 12. When the fingerprint module 12 identifies the touch operation as for fingerprint recognition and receives the backlight turn-on message, it collects fingerprint information at the fingerprint recognition area and sends a fingerprint verification success message to the unlock module 15 when the fingerprint verification is successful. The mobile phone unlocks the LCD screen through the unlock module 15 and displays the unlocked mobile phone interface, such as the mobile phone desktop 3.
[0085] It should be noted that when the display module 14 illuminates the backlight, it can illuminate all the backlights or only some areas of the backlights, such as illuminating the backlights on the phone frame or the backlights in the fingerprint recognition area. The accompanying drawings of this application embodiment use the illumination of the backlight in the fingerprint recognition area as an example for illustration, and the illustrations of this application embodiment use background filling of the fingerprint recognition area to represent the illumination of the backlight in the fingerprint recognition area.
[0086] As an example of this application, when using a mobile phone, a user may make resource payments through the phone's payment application. Before making the payment, security verification is usually required for asset protection. For example, see... Figure 5When making resource payments, a payment verification interface 4 is displayed, which shows a fingerprint recognition area 1. The user can touch the fingerprint recognition area 1. The TP touch module 11 in the mobile phone responds to the touch operation on the fingerprint recognition area 1, triggers an LCD interrupt, and sends an LCD interrupt command to the LCD controller 13. At the same time, the TP touch module 11 determines whether the touch area of the touch operation is greater than or equal to the area threshold, and if the touch area is greater than or equal to the area threshold, sends a touch completion message to the fingerprint module 12. When the fingerprint module 12 receives a touch completion message, it identifies whether the touch operation is for fingerprint recognition and sends the touch completion message to the display module 14. Upon receiving an LCD interrupt command, the LCD controller 13 performs LCD screen initialization and sends an initialization completion message to the display module 14 upon completion. Upon receiving both the initialization completion message and the touch completion message, the display module 14 illuminates the LCD screen backlight and sends a backlight illumination message to the fingerprint module 12. Since the fingerprint recognition operation is performed while the phone displays the payment verification interface, the phone screen is already illuminated. Therefore, in response to illuminating the LCD screen backlight, the phone can continue displaying the payment verification interface. After recognizing the touch operation as a fingerprint recognition operation and receiving the backlight illumination message, the fingerprint module 12 collects fingerprint information from the fingerprint recognition area and sends a fingerprint verification success message to the payment module 16 upon successful fingerprint verification. The phone completes the payment through the payment module 16 and displays the payment completion interface 5 upon completion.
[0087] As an example of this application, when using a mobile phone, some applications require account login to function, while others, such as video applications, banking applications, and payment applications, offer additional functionality after account login. However, when logging in by entering an account and password, errors may occur. In such cases, to reduce the login error rate, fingerprint verification is often used for account login. See [link to relevant documentation] Figure 6When logging into a video application via fingerprint verification, the user can touch the fingerprint recognition area 1 on the fingerprint login interface 6 of the video application. The TP touch module 11 in the phone responds to the touch operation on the fingerprint recognition area 1 by triggering an LCD interrupt to send an LCD interrupt command to the LCD controller 13. Simultaneously, the TP touch module 11 determines whether the touch area of the touch operation is greater than or equal to an area threshold. If the touch area is greater than or equal to the area threshold, it sends a touch completion message to the fingerprint module 12. Upon receiving the touch completion message, the fingerprint module 12 identifies whether the type of touch operation is fingerprint recognition. The touch operation is initiated, and a touch completion message is sent to the display module 14. Upon receiving an LCD interrupt command, the LCD controller 13 initializes the LCD screen and sends an initialization completion message to the display module 14. Upon receiving both the initialization completion message and the touch completion message, the display module 14 illuminates the LCD screen backlight and sends a backlight illumination message to the fingerprint module 12. Since the fingerprint recognition operation is performed while the phone displays the fingerprint login interface, the phone screen is already illuminated. Therefore, in response to the backlight illumination operation, the phone can continue to display the fingerprint login interface. After recognizing the touch operation as a fingerprint recognition operation and receiving the backlight illumination message, the fingerprint module 12 collects fingerprint information from the fingerprint recognition area and sends a fingerprint verification success message to the login module 17 upon successful fingerprint verification. The phone completes account login through the login module 17 and displays the video application interface 7.
[0088] As an example of this application, a user may set an app lock for some applications while using a mobile phone. For example, setting an app lock for a social application, and the user clicks the app icon of the social application; in response to the click operation on the app icon of the social application, see [link to relevant documentation]. Figure 7The phone displays an application unlock screen 8, where the user can touch the fingerprint recognition area 1. The TP touch module 11 in the phone responds to the touch operation on the fingerprint recognition area 1 by triggering an LCD interrupt to send an LCD interrupt command to the LCD controller 13. Simultaneously, the TP touch module 11 determines whether the touch area of the touch operation is greater than or equal to an area threshold. If the touch area is greater than or equal to the area threshold, it sends a touch completion message to the fingerprint module 12. Upon receiving the touch completion message, the fingerprint module 12 identifies whether the touch operation is for fingerprint recognition and simultaneously completes the touch operation. The initialization message is sent to the display module 14. Upon receiving the LCD interrupt command, the LCD controller 13 performs LCD screen initialization and sends an initialization completion message to the display module 14. Upon receiving both the initialization completion message and the touch completion message, the display module 14 illuminates the LCD screen backlight and sends a backlight illumination message to the fingerprint module 12. Since the fingerprint recognition operation is performed while the phone is displaying the application unlock interface, the phone screen is already illuminated. Therefore, in response to illuminating the LCD screen backlight, the phone can still display the application unlock interface. After recognizing the touch operation as a fingerprint recognition operation and receiving the backlight illumination message, the fingerprint module 12 collects fingerprint information from the fingerprint recognition area and sends a fingerprint verification success message to the application lock module 18 upon successful fingerprint verification. The phone then no longer displays the application unlock interface 8 via the application lock module 18; that is, the phone unlocks the application lock set for the social application via the application lock module, and then displays the application interface 9 of the social application.
[0089] It should be noted that the embodiments of this application are based on the above. Figures 4-7 The application scenario shown is used as an example for illustration. Other scenarios that require fingerprint unlocking can also be applied to the method described in the embodiments of this application.
[0090] Based on the execution subject and application scenarios provided in the above embodiments, the fingerprint unlocking method provided in this application will be described below. Please refer to... Figure 8 , Figure 8 This is a schematic flowchart illustrating a fingerprint unlocking method according to an exemplary embodiment, and Figure 8 This example uses unlocking a mobile phone screen as an illustration. As an example, not a limitation, this method is applied to a phone equipped with fingerprint unlocking functionality. Figure 3 The following example illustrates the implementation of multiple module interactions. This method may include some or all of the following: Step A1: In the locked screen state, the TP touch module responds to the touch operation on the fingerprint recognition area, triggers the LCD interrupt, sends the LCD interrupt command to the LCD controller, and detects whether the touch area of the touch operation is greater than or equal to the area threshold.
[0091] If a user needs to use their phone but it's locked, they must unlock it first. If the phone supports fingerprint unlocking and this function is pre-configured, the user can touch the fingerprint recognition area. The TP touch module, responding to the touch on the fingerprint recognition area, can directly trigger an LCD interrupt, sending an LCD interrupt command to the LCD controller and detecting whether the touch area is greater than or equal to an area threshold.
[0092] It should be noted that the touch area of touch operation refers to the contact area between the user's finger and the phone screen when the user's finger is placed on the fingerprint recognition area.
[0093] As can be seen from the above, the TP touch module can include a touch sensor and a touch processor. Therefore, as an example, the TP touch module can detect the user's touch operation through the touch sensor, and when the user's touch operation is detected, the touch processor triggers an LCD interrupt to send an LCD interrupt command to the LCD controller, and detects whether the touch area of the touch operation is greater than or equal to the area threshold.
[0094] It should be noted that the area threshold is a threshold set in advance according to the requirements, and the minimum value of the set area threshold is the area required to realize the fingerprint recognition function.
[0095] In some embodiments, the operation of the TP touch module to detect whether the touch area of the touch operation is greater than or equal to the area threshold includes: detecting the number of touch sensors touched by the touch operation in the fingerprint recognition area, and determining that the touch area of the touch operation is greater than or equal to the area threshold if the number of touch sensors is greater than or equal to the number threshold.
[0096] It should be noted that the operation of the TP touch module to detect whether the touch area of the touch operation is greater than or equal to the area threshold can include not only the above-mentioned methods, but also other methods. Other methods can be referred to in related technologies, and will not be described in detail in this application embodiment.
[0097] Step A2: Upon receiving an LCD interrupt command, the LCD controller performs initialization operations on the LCD screen.
[0098] It is worth noting that, since the TP touch module can send an LCD interrupt command to the LCD controller when it detects a touch operation, the LCD controller can simultaneously perform LCD screen initialization operations while the TP touch module is detecting whether the touch area is greater than or equal to the area threshold. This shortens the waiting time for LCD initialization operations and speeds up fingerprint unlocking.
[0099] It should be noted that the LCD controller's initialization operations for the LCD screen can refer to relevant technologies. For example, the LCD controller's initialization operations for the LCD screen include clearing the LCD screen, setting the LCD screen's functions, controlling the display's on / off state, and setting the LCD screen's input mode. This application's embodiments will not elaborate on these details further.
[0100] Step A3: Once the LCD screen initialization is complete, the LCD controller sends an initialization completion message to the display module.
[0101] Since the backlight usually needs to be turned on during the fingerprint unlocking process, and the backlight can only be turned on after the LCD initialization is completed, the LCD controller can send an initialization completion message to the display module after the LCD screen initialization is completed.
[0102] Step A4: When the TP touch module detects that the touch area is greater than or equal to the area threshold, it sends a touch completion message to the fingerprint module.
[0103] Since fingerprint recognition requires that the touch area of the finger within the fingerprint recognition area meets the requirements, and the minimum area threshold is the area required to realize the fingerprint recognition function, a touch completion message can be sent to the fingerprint module when the touch area is greater than or equal to the area threshold.
[0104] In some embodiments, if the TP touch module detects that the touch area is less than a threshold area, it indicates that the user may have accidentally touched the fingerprint recognition area and was not attempting to unlock the phone. Therefore, the TP touch module can send a touch failure message to the LCD controller. Upon receiving the touch failure message, if the LCD controller has not yet completed the initialization operation for the LCD screen, it will not perform the initialization operation again. Simultaneously, the TP touch module will not send any messages to the fingerprint module.
[0105] In some embodiments, if the TP touch module detects that the touch area is less than the area threshold, the TP touch module can also send a touch failure message to both the LCD controller and the fingerprint module simultaneously. If the initialization operation of the LCD screen is not yet completed, the initialization operation will not be performed again. Meanwhile, the fingerprint module does not perform any operation upon receiving the touch failure message.
[0106] In some embodiments, the TP touch module does not send a touch failure message to any module if it detects that the touch area is less than the area threshold.
[0107] Step A5: Upon receiving a touch completion message, the fingerprint module forwards the touch completion message to the display module.
[0108] Since the touch area is greater than or equal to the area threshold, it means that the touch operation is not a misoperation of the phone screen by the user, but requires fingerprint unlocking. During the fingerprint unlocking process, in order to indicate to the user that the touch operation is valid, the backlight can be turned on. Therefore, when the fingerprint module receives the touch completion message, it can forward the touch completion message to the display module.
[0109] In some embodiments, when the fingerprint module receives a touch completion message, it can not only forward the touch completion message to the display module, but also identify whether the touch operation is a touch operation for fingerprint recognition based on the touch data carried in the touch completion message.
[0110] Since fingerprint recognition requires the user's finger to remain in the fingerprint recognition area for a certain duration, otherwise fingerprint recognition may fail, the touch data may include the duration of the touch operation in the fingerprint recognition area.
[0111] It should be noted that the fingerprint module can identify the type of touch operation based on touch data using relevant technologies. For example, if the touch data includes touch duration, and the touch duration is detected to be greater than or equal to a duration threshold, then the touch operation is determined to be a touch operation for fingerprint recognition. Alternatively, the touch data may also include the capacitance value on the screen after the touch operation, the pressure value generated on the screen by the touch operation, and the acceleration value generated by the touch operation on the phone. If the fingerprint module detects that the capacitance value is within a preset capacitance range, the pressure value is within a preset pressure range, and the acceleration value is within a preset acceleration range, then the touch operation is determined to be a touch operation for fingerprint recognition. The preset capacitance range, preset pressure range, and preset acceleration range are all obtained based on machine learning algorithms. For example, multiple touch tests can be conducted on the phone screen beforehand, using knuckles, fingernails, fingertips, and styluses, recording the touch data for each touch. Then, the touch data generated by touch operations using the fingertip and those using non-fingertips are statistically analyzed and differentiated to determine the range of touch data corresponding to each type of touch operation. This application's embodiments will not elaborate further on these details.
[0112] It should also be noted that, when the LCD screen initialization is complete, the TP touch module may have already sent a touch completion message to the fingerprint module; or, when the TP touch module detects that the touch area is greater than or equal to the area threshold, the LCD controller may have already sent an initialization completion message to the display module; or, when the TP touch module detects that the touch area is greater than or equal to the area threshold, the LCD controller has also just completed the LCD screen initialization operation. Therefore, while the LCD controller is sending an initialization completion message to the display module, the TP touch module is also sending a touch completion message to the fingerprint module. Therefore, in this embodiment, the execution order of steps A3 and A4 is not limited.
[0113] Step A6: Upon receiving the touch completion message and initialization completion message, the display module turns on the backlight of the LCD screen and sends a fingerprint acquisition message to the fingerprint module.
[0114] It should be noted that the backlight of the LCD screen illuminated by the display module can be all the backlights installed in the mobile phone, or it can be the backlight of a specific area, such as the backlight of the fingerprint recognition area or the backlight of the mobile phone frame. This application embodiment does not impose specific limitations in this regard.
[0115] Step A7: When the fingerprint module recognizes that the touch operation is a touch operation for fingerprint recognition and receives the fingerprint acquisition message, it acquires fingerprint information in the fingerprint recognition area.
[0116] As can be seen from the above, the fingerprint module includes a fingerprint acquisition module. Therefore, when the fingerprint module recognizes that the touch operation is a touch operation for fingerprint recognition and receives the fingerprint acquisition message, it can acquire fingerprint information in the fingerprint recognition area through the fingerprint acquisition module.
[0117] As an example, the fingerprint acquisition module may include a fingerprint sensor, so that fingerprint information in the fingerprint recognition area can be acquired by the fingerprint sensor.
[0118] Step A8: The fingerprint module performs fingerprint verification based on the fingerprint information.
[0119] As can be seen from the above, the fingerprint module includes a fingerprint recognition module. Therefore, after the fingerprint acquisition module acquires fingerprint information, it can send the fingerprint information to the fingerprint recognition module. After receiving the fingerprint information, the fingerprint recognition module performs fingerprint verification based on the fingerprint information.
[0120] As an example, the fingerprint recognition module performs fingerprint verification based on fingerprint information by comparing the collected fingerprint information with the stored fingerprint information. If the target fingerprint information exists in the stored fingerprint information, the fingerprint verification is determined to be successful. The target fingerprint information is the fingerprint information whose similarity to the collected fingerprint information is greater than or equal to a similarity threshold.
[0121] In some embodiments, the stored fingerprint information refers to the fingerprint information that the user has pre-registered on the phone. For example, in response to a fingerprint unlock setup operation, the phone can display a fingerprint registration interface. The user can then repeatedly touch the fingerprint registration area on this interface using the pad of the same finger. The phone will then store the fingerprint information of that finger in response to these multiple touches. Of course, the user can repeat the above operation to store fingerprint information from different fingers.
[0122] It should be noted that the similarity threshold can be set in advance according to the needs. For example, the similarity threshold can be 99%, 96%, 90%, etc.
[0123] Step A9: If the fingerprint verification is successful, the fingerprint module sends a fingerprint verification success message to the unlocking module.
[0124] Since the unlocking module can unlock the phone, the fingerprint module sends a fingerprint verification successful message to the unlocking module when the fingerprint verification is successful.
[0125] Step A10: Upon receiving a fingerprint verification success message, the unlocking module unlocks the phone screen.
[0126] It should be noted that the unlocking module's operation of unlocking the phone screen can refer to relevant technologies. For example, the unlocking module can create a wake lock corresponding to the screen and activate the wake lock, thereby unlocking the phone screen. This application's embodiments will not elaborate on these details further.
[0127] In some embodiments, since users can perform various functions through the phone after it is successfully unlocked, and different touch operations can trigger different functions, in order to avoid functional confusion, the phone no longer displays the fingerprint recognition area after the unlocking module unlocks the phone screen.
[0128] In some embodiments, after the phone is successfully unlocked, the unlocking module can also send an unlock success message to the display module, and the display module will turn on the phone screen upon receiving the unlock success message.
[0129] It should be noted that the operation of the display module to light up the mobile phone screen can refer to relevant technologies, and this application embodiment will not elaborate on them one by one.
[0130] In this embodiment of the application, during the fingerprint unlocking process, since an LCD interrupt command can be sent directly to the LCD controller when a touch operation is detected, the LCD screen initialization operation and the touch area detection operation are performed simultaneously, thereby shortening the fingerprint unlocking time and improving the fingerprint unlocking efficiency.
[0131] Please refer to Figure 9 , Figure 9 This is a schematic diagram of a fingerprint unlocking method according to another exemplary embodiment, and Figure 9 This example illustrates payment via fingerprint recognition. As an example, and not a limitation, this method is applied to a mobile phone equipped with fingerprint unlocking functionality. Figure 3 The following example illustrates the implementation of multiple module interactions. This method may include some or all of the following: Step B1: In response to the triggering of the payment confirmation option, the shopping application displays the payment verification interface.
[0132] For payment security, users may sometimes set up fingerprint unlocking during the payment process, which verifies fingerprint information to ensure payment security. Therefore, in response to the triggering of the payment confirmation option, the shopping application can display a payment verification interface with a fingerprint recognition area.
[0133] It should be noted that this application embodiment only uses a shopping application as an example for illustration; the operations provided in this application embodiment are also applicable to other applications with payment functions. This application embodiment will not elaborate further on these points.
[0134] Step B2: In response to a touch operation on the fingerprint recognition area of the payment verification interface, the TP touch module triggers an LCD interrupt to send an LCD interrupt command to the LCD controller and detects whether the touch area of the touch operation is greater than or equal to the area threshold.
[0135] Step B3: Upon receiving an LCD interrupt command, the LCD controller performs initialization operations on the LCD screen.
[0136] It should be noted that since the fingerprint recognition operation is performed while the payment verification interface is displayed, that is, when the display screen is bright, the LCD screen is already in the initialization completed state. Therefore, when the LCD controller receives the LCD interrupt command, if it detects the initialization completed flag, it can directly execute the operation of step B4 below.
[0137] It should be noted that the initialization completion flag is used to uniquely identify the completion of the LCD screen initialization operation.
[0138] Step B4: Once the LCD screen initialization is complete, the LCD controller sends an initialization completion message to the display module.
[0139] Step B5: When the TP touch module detects that the touch area is greater than or equal to the area threshold, it sends a touch completion message to the fingerprint module.
[0140] Step B6: Upon receiving a touch completion message, the fingerprint module forwards the touch completion message to the display module.
[0141] Step B7: Upon receiving the touch completion message and initialization completion message, the display module turns on the backlight of the LCD screen and sends a fingerprint acquisition message to the fingerprint module.
[0142] Since the LCD screen's backlight is already on in the current scenario, the display module can directly send a fingerprint acquisition message to the fingerprint module if it detects the on indicator after receiving the touch completion message and initialization completion message.
[0143] It should be noted that the illuminated indicator is used to uniquely identify that the backlight of the LCD screen is lit.
[0144] Step B8: When the fingerprint module recognizes that the touch operation is a touch operation for fingerprint recognition and receives the fingerprint collection message, it collects fingerprint information in the fingerprint recognition area.
[0145] Step B9: The fingerprint module performs fingerprint verification based on the fingerprint information.
[0146] It should be noted that the operations of steps B2-B9 can be referred to the operations of steps A1-A8 above, and will not be described in detail in this embodiment.
[0147] Step B10: If the fingerprint verification is successful, the fingerprint module sends a fingerprint verification success message to the payment module.
[0148] Since the payment module is capable of making resource payments, the fingerprint module sends a fingerprint verification successful message to the payment module when the fingerprint verification is successful.
[0149] Step B11: Upon receiving the fingerprint verification success message, the payment module performs the resource payment operation.
[0150] In this embodiment of the application, during the fingerprint unlocking process, since an LCD interrupt command can be sent directly to the LCD controller when a touch operation is detected, the LCD screen initialization operation and the touch area detection operation are performed simultaneously, thereby shortening the fingerprint unlocking time and improving the fingerprint unlocking efficiency.
[0151] Please refer to Figure 10 , Figure 10 This is a schematic diagram of a fingerprint unlocking method according to another exemplary embodiment, and Figure 10 This example uses fingerprint recognition for account login. As an example, and not a limitation, this method is applied to a phone equipped with fingerprint unlocking. Figure 3 The following example illustrates the implementation of multiple module interactions. This method may include some or all of the following: Step C1: In response to the triggering of the login option, the video application displays the fingerprint login interface.
[0152] Sometimes, for the sake of convenience and efficiency, users may log in to their accounts using fingerprints. Therefore, in response to the triggering of the payment confirmation option, the video application can display a fingerprint login interface with a fingerprint recognition area.
[0153] It should be noted that this application embodiment only uses a video application as an example for illustration. Other applications with account login functions are also applicable to the operations provided in this application embodiment, and this application embodiment will not elaborate on them one by one.
[0154] Step C2: In response to a touch operation on the fingerprint recognition area of the fingerprint login interface, the TP touch module triggers an LCD interrupt to send an LCD interrupt command to the LCD controller and detects whether the touch area of the touch operation is greater than or equal to the area threshold.
[0155] Step C3: Upon receiving an LCD interrupt command, the LCD controller performs initialization operations on the LCD screen.
[0156] It should be noted that since the fingerprint recognition operation is performed while the fingerprint login interface is displayed, that is, the fingerprint recognition operation is performed when the screen is bright. In this case, since the LCD screen is already in the initialization completed state, the LCD controller can directly execute the following step C4 operation when it receives the LCD interrupt command and detects the initialization completed flag.
[0157] It should be noted that the initialization completion flag is used to uniquely identify the completion of the LCD screen initialization operation.
[0158] Step C4: Once the LCD screen initialization is complete, the LCD controller sends an initialization completion message to the display module.
[0159] Step C5: When the TP touch module detects that the touch area is greater than or equal to the area threshold, it sends a touch completion message to the fingerprint module.
[0160] Step C6: Upon receiving a touch completion message, the fingerprint module forwards the touch completion message to the display module.
[0161] Step C7: Upon receiving the touch completion message and initialization completion message, the display module turns on the backlight of the LCD screen and sends a fingerprint acquisition message to the fingerprint module.
[0162] Since the LCD screen's backlight is already on in the current scenario, the display module can directly send a fingerprint acquisition message to the fingerprint module if it detects the on indicator after receiving the touch completion message and initialization completion message.
[0163] It should be noted that the illuminated indicator is used to uniquely identify that the backlight of the LCD screen is lit.
[0164] Step C8: When the fingerprint module recognizes that the touch operation is a touch operation for fingerprint recognition and receives the fingerprint collection message, it collects fingerprint information in the fingerprint recognition area.
[0165] Step C9: The fingerprint module performs fingerprint verification based on the fingerprint information.
[0166] It should be noted that the operations of steps C2-C9 can refer to the operations of steps A1-A8 above, and will not be described in detail in this embodiment.
[0167] Step C10: If the fingerprint verification is successful, the fingerprint module sends a fingerprint verification success message to the login module.
[0168] Since the login module can enable account login, the fingerprint module can send a fingerprint verification successful message to the login module when fingerprint recognition is successful.
[0169] Step C11: Upon receiving a fingerprint verification success message, the login module performs an account login operation.
[0170] In this embodiment of the application, during the fingerprint unlocking process, since an LCD interrupt command can be sent directly to the LCD controller when a touch operation is detected, the LCD screen initialization operation and the touch area detection operation are performed simultaneously, thereby shortening the fingerprint unlocking time and improving the fingerprint unlocking efficiency.
[0171] Please refer to Figure 11 , Figure 11 A schematic diagram of a fingerprint unlocking method is shown according to another exemplary embodiment, and Figure 11 This example illustrates launching an application via fingerprint recognition. As an example, and not a limitation, this method is applied to a phone equipped with fingerprint unlocking. Figure 3 The following example illustrates the implementation of multiple module interactions. This method may include some or all of the following: Step D1: In response to the launch operation of the social application, the application lock module displays the application unlock interface.
[0172] For security reasons, applications can sometimes be locked. For example, to prevent chat log leaks, users can set an app lock for social media applications. When launching a social media application, if an app lock is enabled, the user needs to unlock it. Upon successful unlocking, the phone displays the social media application's interface. Therefore, in response to launching a social media application, the app lock module can display the app unlock screen, which may include a fingerprint recognition area.
[0173] In some embodiments, in response to the launch operation of the social application, the operation of the application lock module to display the application unlock interface includes: in response to the launch operation of the social application, the application lock module may interrupt the display of the application interface of the social application and display the application unlock interface.
[0174] As an example, the operations by which the app lock module interrupts the display of a social application's interface include: the app lock module overlaying the app unlock screen onto the social application's interface; or, the app lock module interrupting the social application's startup process.
[0175] It should be noted that this application embodiment only uses a social application as an example for illustration. Other applications with application locks are also applicable to the operations described in this application embodiment, and this application embodiment will not elaborate on them one by one.
[0176] Step D2: In response to a touch operation on the fingerprint recognition area in the application unlock interface, the TP touch module triggers an LCD interrupt to send an LCD interrupt command to the LCD controller and detects whether the touch area of the touch operation is greater than or equal to the area threshold.
[0177] Step D3: Upon receiving an LCD interrupt command, the LCD controller performs initialization operations on the LCD screen.
[0178] It should be noted that since the fingerprint recognition operation is performed while the application unlock interface is displayed, that is, the fingerprint recognition operation is performed when the screen is bright. In this case, since the LCD screen is already in the initialization completed state, the LCD controller can directly execute the following step D4 operation when it receives the LCD interrupt command and detects the initialization completed flag.
[0179] It should be noted that the initialization completion flag is used to uniquely identify the completion of the LCD screen initialization operation.
[0180] Step D4: Once the LCD screen initialization is complete, the LCD controller sends an initialization completion message to the display module.
[0181] Step D5: When the TP touch module detects that the touch area is greater than or equal to the area threshold, it sends a touch completion message to the fingerprint module.
[0182] Step D6: Upon receiving a touch completion message, the fingerprint module forwards the touch completion message to the display module.
[0183] Step D7: Upon receiving the touch completion message and initialization completion message, the display module turns on the backlight of the LCD screen and sends a fingerprint acquisition message to the fingerprint module.
[0184] Since the LCD screen's backlight is already on in the current scenario, the display module can directly send a fingerprint acquisition message to the fingerprint module if it detects the on indicator after receiving the touch completion message and initialization completion message.
[0185] It should be noted that the illuminated indicator is used to uniquely identify that the backlight of the LCD screen is lit.
[0186] Step D8: When the fingerprint module recognizes that the touch operation is a touch operation for fingerprint recognition and receives the fingerprint acquisition message, it acquires fingerprint information in the fingerprint recognition area.
[0187] Step D9: The fingerprint module performs fingerprint verification based on the fingerprint information.
[0188] It should be noted that the operations of steps D2-D9 can be referred to the operations of steps A1-A8 above, and will not be described in detail in this embodiment.
[0189] Step D10: If the fingerprint verification is successful, the fingerprint module sends a fingerprint verification success message to the application lock module.
[0190] Since the app lock module can lock and unlock social applications, in order to unlock social applications, the fingerprint module can send a fingerprint verification successful message to the app lock module if the fingerprint verification is successful.
[0191] Step D11: Upon receiving a fingerprint verification success message, the application lock module displays the application interface of the social application.
[0192] As can be seen from the above, the application lock module can lock social applications in different ways, that is, the application lock module can interrupt the display of the application interface of social applications in different ways, and correspondingly, the application lock module can display the application interface of social applications in different ways.
[0193] As an example, if the application lock module locks the social application by overlaying the fingerprint recognition interface on the application interface of the social application, and the application lock module receives a fingerprint verification success message, then the application lock module will no longer display the fingerprint recognition interface, so as to realize the display of the application interface of the social application.
[0194] As an example, if the application lock module locks the social application by interrupting its startup process, and then receives a fingerprint verification success message, the application lock module will release the interruption of the social application's startup process, allowing the social application to continue its startup process and display its application interface.
[0195] In this embodiment of the application, during the fingerprint unlocking process, since an LCD interrupt command can be sent directly to the LCD controller when a touch operation is detected, the LCD screen initialization operation and the touch area detection operation are performed simultaneously, thereby shortening the fingerprint unlocking time and improving the fingerprint unlocking efficiency.
[0196] Please refer to Figure 12 , Figure 12 A schematic flowchart of a fingerprint unlocking method is shown according to another exemplary embodiment. This is an example and not a limitation, but is applied to an electronic device. The method may include some or all of the following: Step 1201: In response to a touch operation on the fingerprint recognition area of the touch screen of the electronic device, generate an interrupt command and detect the touch area of the touch operation.
[0197] During the use of electronic devices, there may be scenarios that require fingerprint recognition. These include unlocking the screen, making payments, logging into accounts, and launching applications. In these scenarios, users can touch the fingerprint recognition area on the touchscreen of the electronic device. The system then responds to this touch by generating an interrupt command and detecting the area touched.
[0198] As described above, an electronic device may include a touchscreen module and a touchscreen controller. Therefore, as an example, the operation of generating an interrupt command and detecting the touch area of the touch operation in response to a touch operation on the fingerprint recognition area of the touchscreen of the electronic device includes: in response to a touch operation on the fingerprint recognition area of the touchscreen, the touchscreen module generates an interrupt command and detects the touch area of the touch operation; the touchscreen module sends an interrupt command to the touchscreen controller. Thus, since the touch module can send an interrupt command to the touch controller as soon as it detects a touch operation, the timing of sending the interrupt command is advanced, thereby speeding up the unlocking process.
[0199] It should be noted that the touch screen module can be the TP touch module described above, the touch screen controller can be the LCD controller described above, and the interrupt instruction can be the LCD interrupt instruction described above. This application embodiment does not specifically limit these aspects.
[0200] It should also be noted that the touch area of a touch operation refers to the contact area between the user's finger and the touch screen of the electronic device when the user's finger is placed on the fingerprint recognition area.
[0201] As an example, the electronic device detects the touch area of a touch operation in order to determine whether the touch area is greater than or equal to an area threshold. Therefore, the operation of the electronic device to detect the touch area of a touch operation includes: detecting the number of touch sensors touched by the touch operation in the fingerprint recognition area; and determining that the touch area of the touch operation is greater than or equal to the area threshold if the number of touch sensors is greater than or equal to the number threshold.
[0202] It should be noted that this number threshold can be preset according to requirements. For example, the minimum value of this number threshold can be the number of fingerprints required to implement the fingerprint recognition function. Similarly, this area threshold can also be preset according to requirements, and the minimum value of the set area threshold is the area required to implement the fingerprint recognition function.
[0203] It should also be noted that the operation of the electronic device to detect the touch area of the touch operation can include not only the above-mentioned methods, but also other methods. Other methods can be referred to in related technologies, and will not be described in detail in this application embodiment.
[0204] It is worth noting that since the complexity of detecting the touch area is reduced and the detection efficiency is improved by detecting the number of touch sensors triggered in the fingerprint recognition area, it is possible to determine whether the touch area is greater than or equal to the area threshold.
[0205] Step 1202: In response to the interrupt instruction, control the touch screen to perform initialization operations.
[0206] As can be seen from the above, the touch module sends an interrupt command to the touch controller. Therefore, the touch controller can perform an initialization operation on the touch screen in response to the interrupt command.
[0207] Thus, when the touch module detects a touch operation, it can send an interrupt command to the touch controller. This allows the touch controller to perform touch initialization operations simultaneously while the touch module is detecting whether the touch area is greater than or equal to the area threshold. This reduces the waiting time for touch initialization and speeds up fingerprint unlocking.
[0208] It should be noted that the initialization operation of the touch screen is not necessarily the same as the steps for initializing the LCD screen using the LCD controller described above. This application embodiment will not repeat these steps in detail.
[0209] Step 1203: After the touch screen initialization is complete and the touch area is greater than or equal to the area threshold, turn on the backlight of the electronic device.
[0210] In some embodiments, after the touchscreen initialization is complete and the touch area is greater than or equal to an area threshold, the electronic device can illuminate all installed backlights, and may illuminate backlights in specific areas, such as a preset area. This preset area may be at least one of the fingerprint recognition area and the frame area of the electronic device. The preset area may also be the designated area described above; this application embodiment does not specifically limit this.
[0211] It is worth noting that the ability to selectively illuminate the backlight of electronic devices increases the versatility of backlight functions, and the elimination of the need to illuminate the screen of electronic devices saves on power consumption.
[0212] As described above, the electronic device also includes a fingerprint module and a display module. Therefore, as an example, when the touchscreen initialization is complete and the touch area is greater than or equal to the area threshold, the operation of turning on the backlight of the electronic device includes: when the touchscreen initialization is complete, the touchscreen controller sends an initialization completion message to the display module; when the touch area is greater than or equal to the area threshold, the touchscreen module sends a touch completion message to the display module through the fingerprint module; and the display module turns on the backlight upon receiving the initialization completion message and the touch completion message.
[0213] Since fingerprint recognition requires a certain touch area within the fingerprint recognition area, and the minimum area threshold is the area needed to achieve fingerprint recognition, the touchscreen module can send a touch completion message to the fingerprint module when the touch area is greater than or equal to the area threshold. Furthermore, since a touch area greater than or equal to the area threshold indicates that the touch operation was not a mistake on the TV screen but a fingerprint unlocking operation, and a backlight can be illuminated during the unlocking process to confirm the validity of the touch operation, the fingerprint module, upon receiving the touch completion message, can forward it to the display module.
[0214] Since the backlight can only be turned on after the touchscreen initialization is complete, the touchscreen controller can send an initialization completion message to the display module after the touchscreen initialization is complete.
[0215] In one possible implementation, the touch module may detect that the touch area is less than an area threshold. In this case, the touch module can send a touch failure message to the touch controller. If the touch controller has not completed the touch initialization operation after receiving the touch failure message, it will stop the touch initialization operation.
[0216] Since the touch module detects that the touch area is less than the area threshold, it means that the user may have accidentally touched the fingerprint recognition area and did not intend to unlock the electronic device. Therefore, the touch module can send a touch failure message to the touch controller.
[0217] It is worth noting that by sending a touch failure message to the touch screen controller, the initialization operation of the touch screen can be interrupted, thereby avoiding fingerprint recognition in the event of accidental touch by the user and improving the reliability of fingerprint recognition.
[0218] In another possible implementation, if the touch module detects that the touch area is less than the area threshold, it can send a touch failure message not only to the touch controller but also to the fingerprint module. If the touch controller has not completed the touch initialization operation upon receiving the touch failure message, it will stop the touch initialization operation. The fingerprint module may not respond to the touch failure message.
[0219] In another possible implementation, if the touch module detects that the touch area is less than the area threshold, it may not send a touch failure message to any module.
[0220] Step 1204: With the backlight on, control the electronic device to perform fingerprint unlocking.
[0221] In some embodiments, when the backlight is on, fingerprint information is collected in the fingerprint recognition area; fingerprint verification is performed based on the fingerprint information; and if the fingerprint verification is successful, the electronic device is controlled to perform the operation corresponding to the fingerprint unlocking function according to the current state of the electronic device.
[0222] As described above, an electronic device may include a display module and a fingerprint module. The display module can turn on a backlight. Therefore, when the backlight is on, the display module can send a fingerprint acquisition message to the fingerprint module. Upon receiving the fingerprint acquisition message, the fingerprint module can acquire fingerprint information within the fingerprint recognition area and perform fingerprint verification based on the fingerprint information.
[0223] In some embodiments, since not all types of touch operations can be fingerprinted, the electronic device can identify the type of touch operation before collecting fingerprint information in the fingerprint recognition area when the backlight is on; if the type of touch operation is a touch operation for fingerprint recognition, the operation of step 1204 is performed.
[0224] It should be noted that electronic devices can use a fingerprint module to identify whether a touch operation is a touch operation for fingerprint recognition.
[0225] In some embodiments, the fingerprint module can identify whether the touch operation is a touch operation for fingerprint recognition based on the touch data carried in the touch completion message upon receiving the touch completion message.
[0226] Since fingerprint recognition requires the user's finger to remain in the fingerprint recognition area for a certain duration, otherwise fingerprint recognition may fail, the touch data may include the duration of the touch operation in the fingerprint recognition area.
[0227] It should be noted that the fingerprint module can identify the type of touch operation based on the touch data in the manner described in step A5 above, and this embodiment will not be described in detail here.
[0228] It is worth noting that by determining whether a touch operation is for fingerprint recognition, erroneous fingerprint recognition operations are avoided, thus improving the reliability of fingerprint recognition.
[0229] In some embodiments, when fingerprint verification is successful, the electronic device performs the fingerprint unlocking operation according to its current state, including: if the electronic device is currently in a screen-to-unlock state, the screen of the electronic device is unlocked; if the electronic device is currently in a resource-to-pay state, a resource payment operation is performed; if the electronic device is currently in an account-to-login state, an account login operation is performed; if the electronic device is currently in an application lock-to-unlock state, the application lock of the target application is unlocked to display the application interface of the target application, wherein the target application is any application installed on the electronic device, the target application has an application lock set and is currently in a pending launch state, and the application lock is used to encrypt the launch of the target application.
[0230] Since fingerprint unlocking can be applied to a wide variety of scenarios, the operation performed by the electronic device will vary depending on the state of the electronic device after successful fingerprint verification. Therefore, the electronic device needs to perform the corresponding operation of fingerprint unlocking based on the current state of the electronic device after successful fingerprint verification.
[0231] It is worth noting that by controlling the electronic device to perform different operations under different states, the application scope and richness of fingerprint unlocking are improved.
[0232] In this embodiment of the application, during the fingerprint unlocking process, since an interrupt command can be sent directly to the touch screen controller when a touch operation is detected, the touch screen initialization operation and the touch area detection operation are performed simultaneously, thereby shortening the fingerprint unlocking time and improving the fingerprint unlocking efficiency.
[0233] Figure 13 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device can be... Figure 2 The electronic device shown. See also Figure 13The electronic device includes a processor 1310 and a memory 1320. The number of processors 1310 can be one or more. The memory 1310 stores programs that support the electronic device in executing the fingerprint unlocking methods provided in the above embodiments, and stores data related to implementing the fingerprint unlocking methods described in the above embodiments. The electronic device may also include a communication bus 1330, which is used to establish a connection between the processor 1310 and the memory 1320. The processor 1310 is configured to: In response to a touch operation on the fingerprint recognition area of the touchscreen of the electronic device, an interrupt command is generated and the touch area of the touch operation is detected; In response to the interrupt command, the touchscreen is controlled to perform an initialization operation; When the touchscreen initialization is complete and the touch area is greater than or equal to the area threshold, the backlight of the electronic device is turned on. With the backlight on, the electronic device is controlled to perform a fingerprint unlocking operation.
[0234] As an example of this application, the processor 1310 is also configured to: When the touchscreen initialization is complete and the touch area is greater than or equal to the area threshold, the backlight in a preset area is turned on. The preset area is at least one of the fingerprint recognition area and the frame area of the electronic device.
[0235] As an example of this application, the electronic device includes a touchscreen module and a touchscreen controller; the processor 1310 is further configured to: In response to a touch operation on the fingerprint recognition area in the touch screen, the touch screen module generates the interrupt command and detects the touch area of the touch operation; The touch module sends the interrupt command to the touch controller. As an example of this application, the processor 1310 is also configured to: Upon receiving the interrupt command, the touchscreen controller performs an initialization operation on the touchscreen in response to the interrupt command.
[0236] As an example of this application, the processor 1310 is also configured to: If the touch area is less than the area threshold, the touch module sends a touch failure message to the touch controller. If the touchscreen controller receives the touch failure message and the initialization operation of the touchscreen has not been completed, it shall stop the initialization operation of the touchscreen.
[0237] As an example of this application, the electronic device also includes a fingerprint module and a display module; The processor 1310 is also configured to: Upon completion of touchscreen initialization, the touchscreen controller sends an initialization completion message to the display module. When the touch area is greater than or equal to the area threshold, the touch screen module sends a touch completion message to the display module through the fingerprint module; Upon receiving the initialization completion message and the touch completion message, the display module illuminates the backlight.
[0238] As an example of this application, the processor 1310 is also configured to: If the touch area is less than the area threshold, the touch module sends a touch failure message to the touch controller and the fingerprint module respectively. If the touch screen controller receives the touch failure message and the initialization operation of the touch screen has not been completed, it shall stop the initialization operation of the touch screen. The fingerprint module does not respond when it receives the touch failure message.
[0239] As an example of this application, the processor 1310 is also configured to: With the backlight on, fingerprint information is collected within the fingerprint recognition area; Fingerprint verification is performed based on the fingerprint information; If fingerprint verification is successful, the electronic device is controlled to perform the operation corresponding to the fingerprint unlocking function based on the current state of the electronic device.
[0240] As an example of this application, the processor 1310 is also configured to: Identify the type of the touch operation; When the type of touch operation is a touch operation for fingerprint recognition, the operation of collecting fingerprint information in the fingerprint recognition area when the backlight is turned on is performed.
[0241] As an example of this application, the processor 1310 is also configured to: If the fingerprint verification is successful, and the electronic device is currently in a screen unlocking state, then the screen of the electronic device will be unlocked. If the fingerprint verification is successful, and the electronic device is currently in a resource payment pending state, then the resource payment operation will be performed. If the fingerprint verification is successful, and the electronic device is currently in an account login pending state, then an account login operation will be performed. If the fingerprint verification is successful, and the electronic device is currently in an application lock pending unlock state, the application lock of the target application is unlocked to display the application interface of the target application. The target application is any application installed on the electronic device. The target application has the application lock set and is currently in a pending launch state. The application lock is used to encrypt the launch of the target application.
[0242] As an example of this application, the processor 1310 is also configured to: The number of touch sensors touched by the touch operation in the fingerprint recognition area is detected; If the number of touch sensors is greater than or equal to a number threshold, the touch area of the touch operation is determined to be greater than or equal to the area threshold.
[0243] In this embodiment of the application, during the fingerprint unlocking process, since an interrupt command can be sent directly to the touch screen controller when a touch operation is detected, the touch screen initialization operation and the touch area detection operation are performed simultaneously, thereby shortening the fingerprint unlocking time and improving the fingerprint unlocking efficiency.
[0244] It should be noted that the above embodiments of the electronic device are only illustrated by the division of the above functional modules when performing fingerprint unlocking. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0245] The functional units and modules in the above embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of the embodiments of this application.
[0246] The electronic devices and fingerprint unlocking method embodiments provided above belong to the same concept. The specific working process and technical effects of the units and modules in the above embodiments can be found in the method embodiment section, and will not be repeated here.
[0247] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially as a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line, DSL) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access, or a data storage device such as a server or data center that integrates one or more available media. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., Digital Versatile Discs (DVDs)), or semiconductor media (e.g., Solid State Disks (SSDs)).
[0248] The above-described embodiments are optional embodiments provided by this application and are not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the technical scope disclosed in this application should be included within the protection scope of this application.
Claims
1. An information processing method, the method being performed by an electronic device, the electronic device comprising a display screen, a software system of the electronic device comprising a kernel layer, characterized in that, The method comprises: In the case that a touch operation on the fingerprint identification area of the display screen is received, an interrupt instruction is generated in the kernel layer and the touch area of the touch operation is determined, the touch area of the touch operation being greater than or equal to an area threshold; According to the interrupt instruction, the initialization of the display screen is controlled in the kernel layer, wherein the interrupt instruction is transmitted in the kernel layer and is not transmitted to a hardware abstraction layer, and the initialization of the display screen comprises setting the function of the display screen; After the initialization of the display screen is completed, the display screen is lighted to collect the fingerprint information of the fingerprint identification area.
2. The method of claim 1, wherein, The interrupt instruction is a hardware interrupt.
3. The method of claim 1 or 2, wherein, The display screen comprises a display panel, and the display panel is any one of a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), and a quantum dot light-emitting diode (QLED).
4. The method of any one of claims 1-3, wherein, The display screen is lighted, comprising: The fingerprint identification area of the display screen is lighted.
5. The method of any one of claims 1-4, wherein, The method further comprises: Fingerprint verification is performed according to the fingerprint information; In the case that the fingerprint verification is passed, a fingerprint-unlocking corresponding operation is performed.
6. The method of claim 5, wherein, The fingerprint-unlocking corresponding operation comprises: Displaying an interface after unlocking.
7. The method of claim 5, wherein, Before the touch operation, the method further comprises: Displaying a payment verification interface, and a display area of the payment verification interface comprises the fingerprint identification area; The fingerprint-unlocking corresponding operation comprises: performing a payment operation.
8. The method of claim 5, wherein The fingerprint-unlocking corresponding operation comprises: performing an account login operation of a target application program; After the account login operation of the target application program is completed, an application interface of the target application program is displayed.
9. The method of claim 5, wherein, Before the touch operation, the method further comprises: Displaying an application unlocking interface of a target application program; The fingerprint-unlocking corresponding operation comprises: displaying an application interface of the target application program.
10. An electronic device, comprising: The electronic device comprises a processor configured to invoke a computer program in a memory to perform the method of any one of claims 1-9.
11. A computer readable storage medium, characterized in that, The computer readable storage medium stores computer instructions, when the computer instructions run on the electronic device, the electronic device performs the method of any one of claims 1-5.
12. A chip, characterized by The chip comprises a processor configured to invoke a computer program in a memory of an electronic device, so that the electronic device performs the method of any one of claims 1-5.