Method for quickly launching application, and electronic device
By collecting and verifying fingerprint gestures through a fingerprint recognition device, applications can be launched quickly, solving the problems of complex operation and security risks of electronic devices, and achieving simplified, flexible and secure application launch.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2025-11-05
- Publication Date
- 2026-05-21
AI Technical Summary
In existing technologies, the application startup operation of electronic devices is complex, not simple enough, not flexible enough, and poses information security risks.
The system detects the user's touch operations using a fingerprint recognition device, continuously collects fingerprint images for identity verification, and quickly launches applications based on fingerprint gestures, simplifying the operation process.
It improves the security, accuracy, and speed of application launch, reduces the probability of accidental touches, and enhances the user experience.
Smart Images

Figure CN2025132667_21052026_PF_FP_ABST
Abstract
Description
A method and electronic device for quickly launching applications
[0001] This application claims priority to Chinese Patent Application No. 202411632703.6, filed on November 14, 2024, entitled "A Method for Quickly Launching an Application and an Electronic Device", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of electronic technology, and in particular to a method and electronic device for quickly launching an application. Background Technology
[0003] As electronic devices become increasingly intelligent, their functions are becoming more diverse and complex. However, this also makes the operation of these functions more complicated for users. For example, if a user's electronic device has a large number of applications pre-installed, and they want to open a specific application and use its specific function, they need to unlock the device, find the desired application icon in the application list, open the application, and then select the corresponding function, which takes a lot of time.
[0004] To simplify complex operations, many different types of quick interaction methods have been developed in existing technologies. However, these methods still have problems such as insufficient simplification, lack of flexibility, and potential information security risks. How to achieve simpler, more flexible, and more secure quick operations has become an urgent problem to be solved. Summary of the Invention
[0005] The method and electronic device for quickly launching applications provided in this application enable quick application launch via fingerprint gestures, displaying the application interface and improving the security, accuracy, and speed of application launch, thereby enhancing the user experience.
[0006] To simplify the process of opening the application, this application proposes the following technical solution.
[0007] Firstly, this application provides a method for quickly launching an application, applied to an electronic device including a fingerprint recognition device. The method includes: the electronic device detecting a user's touch operation and continuously acquiring the user's fingerprint image; the electronic device authenticating the user's identity based on the continuously acquired fingerprint image and determining the user's fingerprint gesture; and the electronic device launching a first application corresponding to the fingerprint gesture based on the fingerprint gesture. This approach ensures the security of opening the application through fingerprint verification and effectively reduces the probability of accidental touches by identifying whether the fingerprint gesture is a preset gesture. It allows users to open the corresponding application using their fingerprint gesture, achieving one-click fingerprint authentication and application opening, thus simplifying the operation process.
[0008] In one possible implementation, the fingerprint image includes a first fingerprint image and a second fingerprint image. The electronic device authenticates the user and determines the user's fingerprint gesture based on the continuously collected fingerprint images, including: the electronic device authenticates the user based on the first fingerprint image, and determines the fingerprint gesture as a two-touch gesture based on the first fingerprint image and the second fingerprint image.
[0009] In one possible implementation, the first fingerprint image includes a first frame image, and the electronic device authenticates the user based on the first fingerprint image by: the electronic device authenticates the user based on the first frame image.
[0010] In one possible implementation, during the user authentication process based on the first fingerprint image, the electronic device continuously acquires the first fingerprint image and the second fingerprint image. This improves the efficiency of opening applications via fingerprint gestures, reduces lag when users utilize shortcuts for opening applications with fingerprint gestures, and enhances the user experience.
[0011] In one possible implementation, the electronic device authenticates the user based on the first frame of the fingerprint image after determining the user's fingerprint gesture.
[0012] In one possible implementation, the electronic device determines the fingerprint gesture as a two-touch gesture based on the first fingerprint image and the second fingerprint image by: the electronic device determining the fingerprint gesture as a two-touch gesture based on the duration of the first fingerprint image and the duration of the second fingerprint image, as well as the time interval between the first fingerprint image and the second fingerprint image.
[0013] In one possible implementation, the electronic device determines that the fingerprint gesture is a two-touch gesture based on the duration of the first fingerprint image and the duration of the second fingerprint image, as well as the time interval between the first fingerprint image and the second fingerprint image, by: determining that the fingerprint gesture is a two-touch gesture based on the fact that the duration of the first fingerprint image and the duration of the second fingerprint image are both less than a first preset duration, and the time interval between the first fingerprint image and the second fingerprint image is less than a second preset duration.
[0014] In one possible implementation, the fingerprint gesture includes any one of the following: a two-touch gesture, a swipe gesture, or a long press gesture.
[0015] In one possible implementation, when the screen is locked, the electronic device performs authentication based on the first fingerprint image and then unlocks the screen.
[0016] In one possible implementation, the fingerprint recognition device is disposed on the side of the electronic device.
[0017] In one possible implementation, the method further includes: the electronic device receiving a first operation from the user and activating the fingerprint gesture function based on the first operation.
[0018] In one possible implementation, the method further includes: a second operation by the user of the electronic device, based on the second operation, disabling the fingerprint gesture function.
[0019] In one possible implementation, the method further includes: the electronic device displaying the fingerprint gesture function setting interface, the fingerprint gesture function setting interface including an application list, receiving a third operation from the user on the application list to select the first application, and determining the first application corresponding to the fingerprint gesture from the application list in response to the user's third operation.
[0020] In one possible implementation, the first application includes any one of the following applications: WeChat, WeChat payment code, WeChat ride code, Alipay, Alipay payment code, Alipay ride code, Xiaoyi Vision, Xiaoyi Screen Recognition, flashlight, camera, sound mode, recorder, super privacy, Douyin, Dianping, Bilibili, QQ, DingTalk, DingTalk check-in function, WeChat Work, WeChat Work check-in function.
[0021] In a second aspect, this application provides an electronic device, including: one or more processors and one or more memories; the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, the computer program code including computer instructions, which, when the one or more processors execute the computer instructions, cause the electronic device to perform a method for quickly launching an application in any possible implementation of any of the above aspects.
[0022] Thirdly, embodiments of this application provide a computer storage medium storing instructions that, when executed on an electronic device, cause the electronic device to perform a method for quickly launching an application as described in any of the possible implementations of any of the above aspects.
[0023] Fourthly, embodiments of this application provide a computer program product containing instructions that, when the computer program product is run on an electronic device, cause the electronic device to perform a method for quickly launching an application as described in any of the possible implementations of any of the above aspects.
[0024] This application embodiment uses fingerprints to authenticate users and determines the fingerprint gesture based on the user's touch operation, quickly launching the application corresponding to the fingerprint gesture. This ensures the security and speed of quickly launching the application, effectively reduces the probability of accidental touches, improves the accuracy of user operations, and allows users to open the corresponding application through fingerprint gestures. It realizes one-click fingerprint authentication and application launch, simplifies the operation process, and improves the user experience. Attached Figure Description
[0025] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0026] Figure 1 is a schematic diagram of the structure of an electronic device 100 according to an embodiment of this application;
[0027] Figure 2 is a software structure block diagram of an electronic device 100 according to an embodiment of this application;
[0028] Figure 3A is a schematic diagram of a fingerprint gesture setting interface for a quick application launch function provided in an embodiment of this application;
[0029] Figure 3B is a schematic diagram of a fingerprint gesture setting interface provided in an embodiment of this application;
[0030] Figure 3C is a schematic diagram of a fingerprint setting interface for a quick application launch function provided in an embodiment of this application.
[0031] Figure 3D is a schematic diagram of the settings interface of a fingerprint-corresponding application provided in another embodiment of this application;
[0032] Figures 4A-4B are schematic diagrams illustrating the touch operation process of a fingerprint sensor according to an embodiment of this application;
[0033] Figure 5 illustrates a method for quickly launching an application according to an embodiment of this application;
[0034] Figure 6 illustrates a method for quickly launching an application according to another embodiment of this application;
[0035] Figures 7A-7D are schematic diagrams of the display interface of the electronic device when quickly launching the application according to an embodiment of this application;
[0036] Figures 8A-8J are schematic diagrams of the display interface of the electronic device according to an embodiment of this application;
[0037] Figures 9A-9D are schematic diagrams of the settings interface according to embodiments of this application;
[0038] Figure 10 is a schematic diagram of the fingerprint key shortcut function setting prompt interface according to an embodiment of this application;
[0039] Figure 11 is a front view and a side view of an electronic device according to an embodiment of this application. Detailed Implementation
[0040] Various exemplary embodiments of this application will now be described in detail with reference to the accompanying drawings. The descriptions of the exemplary embodiments are merely illustrative and are in no way intended to limit the scope of this application or its application or use. This application may be implemented in many different forms and is not limited to the embodiments described herein. These embodiments are provided to make the application thorough and complete, and to fully express the scope of the application to those skilled in the art. It should be noted that, unless otherwise specifically stated, the relative arrangement of components and steps, the composition of materials, numerical expressions, and values set forth in these embodiments should be interpreted as merely exemplary and not as limiting.
[0041] The terms "first," "second," and similar words used in this application do not indicate any order, quantity, or importance, but are merely used to distinguish different parts. Words such as "including" or "contains" mean that the element preceding the word encompasses the element listed after it, and do not exclude the possibility of encompassing other elements as well. Terms such as "above" and "below" are used only to indicate relative positional relationships; when the absolute position of the described object changes, this relative positional relationship may also change accordingly.
[0042] In this application, "at least one" and "one or more" can be considered to have the same meaning.
[0043] In this application, when a specific component is described as being located between a first component and a second component, an intermediary component may or may not be present between the specific component and the first or second component. When a specific component is described as connecting to other components, the specific component may be directly connected to the other components without an intermediary component, or it may not be directly connected to the other components but may have an intermediary component.
[0044] All terms used in this application (including technical or scientific terms) have the same meaning as understood by one of ordinary skill in the art to which this application pertains, unless otherwise specifically defined. It should also be understood that terms defined in general dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art, and not as having an idealized or highly formalized meaning, unless expressly defined herein.
[0045] This application provides a method for opening an application via fingerprint gesture, which can be applied to electronic devices, including fingerprint recognition devices. An electronic device according to this application will be described below with reference to Figure 1.
[0046] Figure 1 is a schematic diagram of the structure of an electronic device 100 according to an embodiment of this application.
[0047] In some embodiments, as shown in FIG1, the electronic device 100 may include at least one of the following: mobile phone, foldable electronic device, tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, super mobile personal computer, netbook, cellular phone, PDA, AR device, VR device, artificial intelligence device, wearable device, in-vehicle device, smart home device, and smart city device. This application embodiment does not impose any special limitations on the type of electronic device 100.
[0048] Electronic device 100 may include a processor 110, a memory 120, a power supply 130, a communication module 140, an audio module 150, a sensor module 160, buttons 170, a camera module 180, a display screen 190, and an input / output module 111, etc. The sensor module 160 may include a pressure sensor 160A, a proximity sensor 160B, a fingerprint sensor 160C, a touch sensor 160D, an ambient light sensor 160E, a bone conduction sensor 160F, etc.
[0049] The structures illustrated in the embodiments of this application do not constitute a limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0050] Processor 110 may include one or more processing units, such as application processors, modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.
[0051] The processor 110 can generate operation control signals based on the instruction opcode and timing signals to control the instruction fetching and execution.
[0052] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 101 may be a cache memory. This memory can store instructions or data that have been used or are frequently used by the processor 110.
[0053] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include integrated circuit I2C interfaces, I2S interfaces, PCM interfaces, UART interfaces, MIPI interfaces, GPIO interfaces, SIM interfaces, and / or USB interfaces, etc. The processor 110 can connect to modules such as sensor module 160, audio module 150, communication module 140, display screen 190, or camera module 180 through at least one of these interfaces.
[0054] 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 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.
[0055] Power supply 130 is used to supply power to processor 110, memory 120, display screen 190, camera module 180, etc.
[0056] Electronic device 100 can achieve wired or wireless communication functions through communication module 140. For example, communication module 140 can provide a wireless communication solution including at least one of 2G, 3G, 4G, 5G, or 6G for use on electronic device 100. Communication module 140 can also provide modules for use on electronic device 100, including wireless LAN module, Bluetooth module, BLE module, ultra-wideband (UWB) module, global navigation satellite system (GNSS) module, FM module, near field communication (NFC) module, or infrared module, etc.
[0057] Electronic device 100 can implement display functions through a GPU, display screen 190, and application processor. The GPU is a microprocessor for image processing, connected to the display screen 190 and the application processor. The GPU is used to perform mathematical and geometric calculations and graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0058] Display screen 190 is used to display images, videos, etc. In some embodiments, electronic device 100 may include one or more display screens 190. Display screen 190 may be at least one of LCD, OLED, AMOLED, FLED, Miniled, MicroLED, Micro-OLED, quantum dot light-emitting diode (QLED) displays, etc.
[0059] Electronic device 100 can realize camera function through camera module 180, ISP, video codec, GPU, display screen 190, application processor AP, neural network processor NPU, etc.
[0060] The camera module 180 can be used to acquire color image data and depth data of the subject. The image ISP can be used to process the color image data acquired by the camera module 180. For example, when taking a picture, the shutter is opened, light passes through the lens to the camera's photosensitive element, the light signal is converted into an electrical signal, and the photosensitive element transmits this electrical signal to the ISP for processing, converting it into a visible image. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set within the camera module 180.
[0061] In some embodiments, the camera module 180 may consist of a color camera module and a 3D sensing module.
[0062] In some embodiments, the photosensitive element of the camera in a color camera module may include a CCD or a CMOS phototransistor. The photosensitive element converts light signals into electrical signals, which are then transmitted to the ISP for conversion into digital image signals. The ISP outputs the digital image signals to the DSP for processing.
[0063] In some embodiments, the 3D sensing module may be a structured light 3D sensing module. The structured light 3D sensing module may include an infrared emitter, an infrared camera module, etc. The structured light 3D sensing module first emits a light spot of a specific pattern onto the object being photographed, then receives the encoded pattern of the light spot on the object's surface, and compares it with the original projected light spot to determine the object's three-dimensional coordinates. These three-dimensional coordinates may include the distance between the electronic device 100 and the object being photographed. The 3D sensing module can obtain the distance (i.e., depth) between itself and the object being photographed by measuring the infrared reflection time, thus obtaining a 3D depth map.
[0064] Structured light 3D sensing modules can also be applied to fields such as facial recognition, motion-sensing game consoles, and industrial machine vision inspection. 3D sensing modules can also be applied to game consoles, AR, and VR.
[0065] In other embodiments, the camera module 180 may also consist of two or more cameras. These two or more cameras may include a color camera, which can be used to acquire color image data of the object being photographed. These two or more cameras may employ stereoscopic vision technology to acquire depth data of the object being photographed.
[0066] In some embodiments, the electronic device 100 may include one or more camera modules 180. The electronic device 100 may include a front-facing camera module and a rear-facing camera module. The front-facing camera module can be used to acquire color image data and depth data of the photographer, while the rear-facing camera module can be used to acquire color image data and depth data of the subject (such as a person, landscape, etc.) in front of the photographer.
[0067] In some embodiments, the electronic device 100 can identify whether the image captured by the front-facing camera module includes a user's facial image, and further determine whether the user is looking at the display screen of the electronic device 100 based on the captured image.
[0068] In some embodiments, the CPU, GPU, or NPU in the processor 110 can process the color image data and depth data acquired by the camera module 180. In some embodiments, the NPU can identify the color image data acquired by the camera module 180 using neural network algorithms based on skeletal point recognition technology, such as convolutional neural network algorithms (CNN), to determine the skeletal points of the person being photographed. The CPU or GPU can also be used to run neural network algorithms to determine the skeletal points of the person being photographed based on the color image data. In some embodiments, the CPU, GPU, or NPU can also be used to confirm the body shape of the person being photographed (such as body proportions, the degree of fatness or thinness of body parts between skeletal points) based on the depth data acquired by the camera module 180 (which may be a 3D sensing module) and the identified skeletal points, and can further determine the beautification parameters for the person being photographed, and finally process the captured image of the person being photographed based on the body beautification parameters so that the body shape of the person being photographed in the captured image is beautified.
[0069] The memory 120 can be used to store computer executable program code, including instructions. The memory 120 may include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, phonebook, etc.). Furthermore, the memory 120 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. The processor 110 executes various functional methods or data processing of the electronic device 100 by running instructions stored in the memory 120 and / or instructions stored in memory disposed in the processor.
[0070] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170 and application processor.
[0071] Pressure sensor 160A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 160A may be disposed on display screen 190; in other embodiments, pressure sensor 160A may be detachably disposed outside display screen 1290. Pressure sensor 160A can be of many types, such as resistive pressure sensor, inductive pressure sensor, capacitive pressure sensor, etc. Capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 160A, 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 190, electronic device 100 detects the intensity of the touch operation based on pressure sensor 160A. Electronic device 100 may also calculate the touch position based on the detection signal from pressure sensor 160A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities may correspond to different operation commands. For example, when a touch operation with a touch operation intensity less than a first pressure threshold is applied to the SMS application icon, a command to view SMS messages is executed. When a touch operation with a strength greater than or equal to the first pressure threshold is applied to the SMS application icon, the instruction to create a new SMS message is executed.
[0072] The proximity sensor 160B may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The LED may be an infrared LED. The electronic device 100 emits infrared light outward through the LED. The electronic device 100 uses the photodiode to detect infrared reflected light from nearby objects. When the intensity of the detected reflected light is greater than a threshold, it can be determined that an object is approaching the electronic device 100. When the intensity of the detected reflected light is less than the threshold, the electronic device 100 can determine that no object is approaching the electronic device 100. The electronic device 100 may use the proximity sensor 160B to detect when a user holds the electronic device 100 close to their ear for a phone call, so as to automatically turn off the screen to save power. The proximity sensor 160B can also be used in holster mode and pocket mode for automatic unlocking and locking of the screen.
[0073] The fingerprint sensor 160C is used to collect fingerprints, and the collected fingerprint image includes fingerprint feature information. For example, the fingerprint image includes ridges (lines with a certain width and direction in the fingerprint image) and valleys (recessed parts between the lines) on the fingerprint surface. Fingerprint images from different fingers of different users are different. The fingerprint image is used to achieve fingerprint recognition, fingerprint gesture recognition, etc. In some implementations of this application, the fingerprint image is a multi-grayscale image where the ridges are black and the valleys are white, which can be processed by the fingerprint recognition algorithm of the electronic device. The electronic device 100 can utilize the characteristics of the collected fingerprint to achieve fingerprint unlocking, accessing application locks, fingerprint photography, fingerprint answering of calls, etc. The electronic device 100 can have a fingerprint recognition function, which can identify whether the collected image is a fingerprint image and can also identify the user's identity based on the fingerprint image. The electronic device 100 can also have a fingerprint gesture recognition function. The fingerprint sensor 160C can be located on the back of the phone (e.g., below the rear camera, in the lower middle part of the electronic device, etc.), the front (e.g., below the display screen 190), or the side. For example, the fingerprint sensor 160C can be disposed in the display screen 190 and integrated with the display screen 190 to realize the fingerprint recognition function of the mobile phone 100. In this case, the fingerprint sensor 160C is configured as part of the display screen 190, or it can be disposed in the display screen 190 in other ways. The fingerprint sensor 160C in the embodiments of this application can adopt any type of sensing technology, including but not limited to optical, capacitive, piezoelectric or ultrasonic sensing technologies.
[0074] The fingerprint sensor 160C can be an optical sensor. Optical sensors utilize the principles of light refraction and reflection to detect the refracted and reflected light from an object touching the fingerprint sensor. The angles and brightness of light refracted and reflected on the uneven surface of the object vary. The optical sensor projects the received light onto its image acquisition device through an optical structure, forming a touch image. The electronic device then uses this touch image for fingerprint recognition, detecting whether the touch image is a fingerprint image. Here, the fingerprint image is a touch image that includes the fingerprint itself.
[0075] The fingerprint sensor 160C may also include a capacitive sensor. A capacitive sensor detects changes in capacitance between the surface of an object touching the fingerprint sensor and the sensor electrodes. When the object touches the surface of the capacitive sensor, the sensor detects the electrical signal generated by the capacitance change. Based on the electric field distribution of the electrical signal, it converts the signal into a digital signal, thus forming a touch image.
[0076] The fingerprint sensor 160C may also include an ultrasonic sensor that detects ultrasonic pulses reflected and scattered by an object touching the fingerprint device, thereby determining the distance difference between the unevenness of the object's surface based on the difference in the ultrasonic pulse signals, and forming a touch image based on the distance difference.
[0077] The fingerprint sensor 160C can also use sensors based on other principles to acquire touch images, and this application does not impose any restrictions on this.
[0078] Touch sensor 160D, also known as a "touch device," can be disposed on display screen 190. The touch sensor 160D and display screen 190 together form a touchscreen, also known as a "touch panel." Touch sensor 160D detects touch operations applied to or near it, generating a touch (TP) signal. Touch sensor 160D 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 190. In other embodiments, touch sensor 160D may also be disposed on the surface of electronic device 100, in a different location than display screen 190.
[0079] Button 170 may include a power button, volume buttons, etc. Button 170 may be a mechanical button or a touch button. Electronic device 100 can receive button input and generate button signals related to user settings and function control of electronic device 100. Fingerprint sensor 160C may be disposed on button 170, and the fingerprint sensor 160C and button 170 together form a button with fingerprint acquisition function. Fingerprint sensor 160C detects touch operation on button 170 and acquires the fingerprint of the finger touching button 170.
[0080] The electronic device 100 provided in this application embodiment can run an operating system (OS). This operating system can be various operating systems currently used in the industry, such as an operating system based on OpenHarmony, such as HarmonyOS; or other operating systems such as Android. TM An operating system can refer to the iOS mobile operating system; it can also refer to various open-source operating systems or their derivatives, such as Linux OS and other embedded operating systems; or it can refer to future new operating systems, such as AI operating systems based on artificial intelligence. An operating system is a set of interconnected system software programs that manage and control the operation of electronic devices, utilize and run hardware and software resources, and provide public services to organize user interactions. In electronic devices, the operating system occupies a pivotal position, connecting to the physical hardware layer below and providing a runtime environment for application software above.
[0081] An operating system typically includes a kernel layer, a middleware layer, and an application layer. The application layer includes applications, which can include system applications and third-party applications. The middleware layer is a set of software, or frameworks, that provides various services to application developers, such as databases, multimedia, and graphics, or capabilities like distributed scheduling and system expansion. For example, the middleware layer can also be broadly divided into a framework layer and / or a system service layer. The framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The system service layer includes the core capabilities of the system, providing services to applications through the framework layer. The kernel layer is the layer between hardware and software. The kernel layer can include hardware drivers and the operating system kernel. In addition to providing hardware drivers, the kernel layer also supports functions such as memory management and system process management.
[0082] The electronic devices we use in our daily lives come in various types and forms, and the application scenarios of electronic device 100 are also very wide. Therefore, based on the different forms and functions of electronic devices 100, different application scenarios, and different user needs, the operating systems used in electronic devices 100 may also be different. These operating systems have commonalities as well as their own characteristics, and different operating systems affect user experience, application ecosystem, and system performance. The basic functions implemented by the electronic device 100 provided in this application can be implemented through a general-purpose operating system or through a dedicated operating system. To more clearly illustrate the implementation of the embodiments of this application under a specific operating system, the following shows an operating system architecture. Those skilled in the art can deduce the implementation of the embodiments of this application under other specific operating systems, such as HarmonyOS or Android. TMImplementation under the operating system.
[0083] 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 a layered operating system as an example to exemplify the software structure of electronic device 100.
[0084] Figure 2 is a software structure block diagram of an electronic device 100 according to an embodiment of this application.
[0085] 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 operating system includes an application layer.
[0086] The application layer can include a series of application packages.
[0087] As shown in Figure 2, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.
[0088] With the increasing intelligence of electronic devices, their functions are becoming more diverse and complex, but the operation of these functions by users is also becoming more complicated. To simplify these complex operations, many different types of quick interaction methods have been developed in the existing technology.
[0089] For example, in standby mode, the system recognizes the user's touch gestures and opens the corresponding application. If the opened application requires security verification, the user then unlocks it by entering a password. Another example is embedding fingerprint recognition devices in the buttons of electronic devices. By setting a mapping between fingerprints and applications, users can open different applications by pressing buttons with different fingers. However, these methods still have problems such as being insufficiently simplified, inflexible, and posing information security risks.
[0090] This application provides a method for quickly launching an application, applied to an electronic device, which includes a fingerprint recognition device. In some embodiments, the electronic device may be an electronic device 100 as shown in FIG1, and the fingerprint recognition device may be a fingerprint sensor 160C.
[0091] The processing procedure for quickly launching an application in an electronic device according to an embodiment of this application is described with reference to Figure 1. The electronic device detects the user's touch operation, continuously collects the user's fingerprint image, determines the user's fingerprint gesture based on the continuously collected fingerprint image, and quickly launches the first application corresponding to the fingerprint gesture.
[0092] In some embodiments of this application, a preset application corresponding to a fingerprint gesture can be set. When the electronic device determines that the user's fingerprint gesture matches the preset fingerprint gesture, it quickly launches the application corresponding to the preset fingerprint gesture. For example, the user can also set multiple preset fingerprint gestures. For instance, preset fingerprint gesture 1 corresponds to application 1, preset fingerprint gesture 2 corresponds to application 2, and so on.
[0093] In some embodiments of this application, users can set the correspondence between preset fingerprint gestures and applications through a fingerprint gesture setting interface for quickly launching applications. Figure 3A is a schematic diagram of a fingerprint gesture setting interface for quickly launching applications provided in an embodiment of this application. As shown in Figure 3A, for example, users can set preset fingerprint gesture 1 to correspond to application 1, preset fingerprint gesture 2 to correspond to application 2, preset fingerprint gesture 3 to correspond to application 3, and preset fingerprint gesture 4 to correspond to application 4. For example, preset fingerprint gesture 1 can be a two-touch gesture, preset fingerprint gesture 2 can be an up swipe gesture, preset fingerprint gesture 3 can be a down swipe gesture, and preset fingerprint gesture 4 can be a long press gesture. Application 1 can be a call application, application 2 can be a messaging application, application 3 can be a camera application, and application 4 can be a microphone. By setting different fingerprint gestures to correspond to different applications, electronic devices can respond to different fingerprint gestures from the user and quickly launch the applications corresponding to different fingerprint gestures.
[0094] In some embodiments of this application, when a user wants to change the correspondence between a preset fingerprint gesture and an application, they can click on the area where the preset fingerprint gesture is located to make the setting. For example, a user can set the preset fingerprint gesture 1 to a two-touch gesture and set the correspondence between the two-touch gesture and application 1. If it is necessary to change the correspondence between the two-touch gesture and application 1, the user can click on the arrow to the right of application 1 at the position indicated by the finger in Figure 3A. The electronic device responds to the user's click on the arrow and displays the display interface shown in Figure 3B. Figure 3B is a schematic diagram of the application list of the fingerprint gesture setting interface provided in an embodiment of this application. The user can select a candidate application from the application list 302 displayed in the display interface as the application corresponding to the two-touch gesture according to their needs. For example, if the user selects application 5, when the user successfully selects application 5, the two-touch gesture in Figure 3A changes to the corresponding application 5. The icons of each application in Figure 3B are only exemplary icons and do not limit the type or function of the application. In some embodiments of this application, the electronic device can authenticate the user based on the collected fingerprint image. After successful authentication, the fingerprint gesture is determined based on the continuously collected fingerprint image, and the application corresponding to the fingerprint gesture is opened. If authentication fails, fingerprint collection will stop.
[0095] In some embodiments of this application, users can set different fingerprints to correspond to different applications. For example, fingerprint 1 corresponds to application 1, fingerprint 2 corresponds to application 2, etc.
[0096] Figure 3C is a schematic diagram of a fingerprint setting interface for a quick application launch function provided in an embodiment of this application. In some embodiments of this application, users can set the correspondence between fingerprints and applications through the fingerprint setting interface for the quick application launch function as shown in Figure 3C. For example, the user sets fingerprint 1 to application 1, fingerprint 2 to application 2, fingerprint 3 to application 3, and fingerprint 4 to application 4. Users can open different applications by setting different fingerprints. When the electronic device is used by multiple users, different users' fingerprints can open different applications. For example, application 1 can be a call application, application 2 can be a messaging application, application 3 can be a camera application, and application 4 can be a microphone application.
[0097] In some embodiments of this application, when a user wants to change the association between a fingerprint and an application, they can click on the area where the fingerprint is located to make the setting. For example, if a user wants to change the association between fingerprint 1 and application 1, they can click the arrow to the right of application 1. The electronic device responds to the user's click on the arrow and displays the application list shown in Figure 3D. Figure 3D shows the application list of the fingerprint-corresponding application settings interface, and the user can select an application from the list according to their needs. For example, if the user selects application 5, when the user successfully selects the application, fingerprint 1 in Figure 3D changes to the corresponding application 5. The icons of each application in Figure 3D are merely illustrative icons and do not limit the types or functions of the applications. By setting different fingerprints to correspond to different applications, users can set different fingerprints to correspond to different applications. Alternatively, in shared electronic devices, users can also set different users' fingerprints to quickly open different applications. For example, in home electronic devices, users can set different family members' fingerprints to correspond to different applications, allowing different family members to quickly open the corresponding applications using their own fingerprints, providing a shortcut function while ensuring security and privacy.
[0098] This application embodiment uses fingerprints to authenticate users and determines the fingerprint gesture based on the user's touch operation, quickly launching the application corresponding to the fingerprint gesture. This achieves one-click fingerprint authentication and application launch, simplifying the operation process and improving the user experience.
[0099] In some embodiments of this application, the fingerprint image may include a first fingerprint image and a second fingerprint image. During the continuous acquisition of fingerprint images by the fingerprint sensor, the electronic device can authenticate the user based on the acquired first fingerprint image and determine the fingerprint gesture based on the continuously acquired first and second fingerprint images. When a non-fingerprint image appears between the continuously acquired first and second fingerprint images, it can be determined that the user's finger has left the fingerprint sensor and then been placed back on it, thus indicating a double-touch gesture. The first fingerprint image includes the user's first fingerprint image, which the electronic device can use to authenticate the user. After acquiring the first fingerprint image, the electronic device continuously acquires the first fingerprint image and can determine it as a single click or touch operation based on the duration of the first fingerprint image. When a non-fingerprint image appears between the first and second fingerprint images, and the durations of the first and second fingerprint images can be determined as two clicks or touch operations respectively, the fingerprint gesture can be determined as a double-touch gesture. In some embodiments, the user's click on the fingerprint sensor can also be determined by the durations of two consecutive fingerprint images acquired. In the embodiments of this application, double-touch can also be referred to as a double-touch.
[0100] In some embodiments, the user's action of clicking the fingerprint sensor can also be determined by the duration of the two consecutive fingerprint images and the time interval between the two consecutive fingerprint images.
[0101] In some embodiments, when the duration of both the first fingerprint image and the second fingerprint image is less than a first preset duration and the duration of the non-fingerprint image appearing between the first fingerprint image and the second fingerprint image is less than a second preset duration, the fingerprint gesture is determined to be a double-tap or double-touch.
[0102] In some embodiments, the fingerprint image includes a first fingerprint image, i.e., the user's finger remains on the fingerprint sensor. When the user's finger remains on the fingerprint sensor, the fingerprint gesture can be determined by the duration of the first fingerprint image or changes in the fingerprint image. In some embodiments, the first fingerprint image may include the first frame of fingerprint image acquired by the fingerprint sensor, and the user is authenticated based on the first frame of fingerprint image.
[0103] In some embodiments, the electronic device can determine that the fingerprint gesture is a swipe when it determines, based on the continuously acquired first fingerprint image, that the distance the user's finger moves on the fingerprint sensor is greater than or equal to a first preset distance. Furthermore, the electronic device can also determine whether the fingerprint gesture is an upward swipe, a downward swipe, a leftward swipe, or a rightward swipe based on the direction of the user's finger's movement on the fingerprint sensor.
[0104] In other embodiments, when the continuously acquired first fingerprint image determines that the distance the user's finger moves on the fingerprint sensor is less than a second preset distance, and the duration of the first fingerprint image is greater than a third preset duration, the fingerprint gesture can be determined to be a long press gesture.
[0105] In some embodiments of this application, when the fingerprint sensor detects a user's touch operation, it acquires a first fingerprint image of the user and authenticates the user based on the first fingerprint image. The fingerprint sensor continuously acquires the user's fingerprint image. When the user lifts their finger away from the fingerprint sensor and then touches the fingerprint sensor again, the fingerprint sensor continuously acquires a second fingerprint image of the user. Based on the first and second fingerprint images, it is determined that the user's finger has clicked or touched the fingerprint sensor twice, and it can be determined that the fingerprint gesture corresponding to the user's touch operation is a double touch.
[0106] Figure 4A illustrates a schematic diagram of a fingerprint sensor processing a touch operation according to an embodiment of this application. Figure 4A starts timing from the moment the user's finger first touches the fingerprint sensor. Each time the user's finger leaves or touches the fingerprint sensor again, the time point is recorded, along with the start and stop times of image acquisition by the fingerprint sensor. Specifically, the first touch operation (first click) occurs from the moment the user's finger first touches the fingerprint sensor until it first leaves, lasting for a first duration, during which a first fingerprint image is acquired. The second touch operation (second click) occurs from the moment the user's finger second touches the fingerprint sensor until it second leaves, lasting for a second duration, during which a second fingerprint image is acquired. From the moment the user's finger first leaves the fingerprint sensor until it touches it again, the fingerprint sensor acquires a non-fingerprint image, the duration of which is the time interval between the first and second fingerprint images.
[0107] In some embodiments of this application, as shown in Figure 4A, when the fingerprint sensor detects the user's first touch operation, it starts acquiring a first fingerprint image from point O and performs authentication based on the first frame of the first fingerprint image. Authentication is successful at point A as shown in Figure 4A, and an unlock event is issued. At point B1 as shown in Figure 4A, the electronic device successfully unlocks. During the authentication process, the fingerprint sensor continuously acquires the user's first fingerprint image. When the user lifts their finger from the fingerprint sensor and then touches it again, the fingerprint sensor continuously acquires the user's second fingerprint image. At point C as shown in Figure 4A, the user lifts their finger from the fingerprint sensor again, and the second fingerprint image acquisition is complete. The electronic device determines whether the user's touch operation corresponds to a double-tap or double-touch gesture based on the first and second fingerprint images. Since the electronic device has already successfully unlocked at point B1, after determining at point C that the fingerprint gesture corresponding to the user's touch operation is a double-touch gesture, the electronic device can open the application corresponding to the double-touch gesture. If the electronic device successfully unlocks at point B2 as shown in Figure 4A, and point B2 is after point C, the electronic device needs to wait until after point B2 to open the application corresponding to the double-touch gesture. Electronic devices can continuously capture the user's first fingerprint image during the fingerprint sensor authentication process and detect whether the user's finger leaves or touches the fingerprint sensor. This allows for parallel authentication and fingerprint acquisition, enabling more accurate and faster recognition of fingerprint gestures and quicker user access.
[0108] In some embodiments, when the duration of both the first fingerprint image and the second fingerprint image is less than a first preset duration and the duration of the time interval between the first fingerprint image and the second fingerprint image is less than a second preset duration, the fingerprint gesture is determined to be a double-tap or double-touch.
[0109] In some embodiments of this application, for example, the first preset duration can be set to 150ms (milliseconds), and the second preset duration can be set to 300ms.
[0110] For example, as shown in Figure 4A, the first duration is 120ms, and the second duration is 130ms. The duration of both clicks is less than the first preset duration of 150ms, and the time interval between the first and second fingerprint images is 93ms, which is less than the second preset duration of 300ms. Based on the above data, it can be determined that the fingerprint gesture corresponding to the user's touch operation is a two-touch operation.
[0111] In some embodiments of this application, Figure 4B is a schematic diagram of a fingerprint sensor processing a touch operation according to an embodiment of this application. Figure 4B starts timing from the point when the user's finger first touches the fingerprint sensor. Whenever the user's finger leaves the fingerprint sensor or touches it again, the time point is recorded, as well as the start and stop times of image acquisition by the fingerprint sensor. Specifically, the first touch operation (first click) occurs from the first touch to the first removal of the user's finger, lasting for a first duration, during which a first fingerprint image is acquired. The second touch operation (second click) occurs from the second touch to the second removal of the user's finger, lasting for a second duration, during which a second fingerprint image is acquired. From the first removal of the user's finger to the second touch, the fingerprint sensor acquires a non-fingerprint image, the duration of which is the time interval between the first and second fingerprint images.
[0112] As shown in Figure 4B, when the fingerprint sensor detects the user's first touch operation, it starts acquiring the first fingerprint image from point O. The fingerprint sensor continuously acquires the user's first fingerprint image. When the user lifts their finger from the fingerprint sensor and then touches it again, the fingerprint sensor continuously acquires the user's second fingerprint image. At point D, as shown in Figure 4B, the user lifts their finger from the fingerprint sensor for the second time. The electronic device determines that the user's touch operation corresponds to a two-touch gesture based on the first and second fingerprint images and begins authentication based on the first fingerprint image. Authentication is successful at point E, and an unlock event is sent. The electronic device unlocks successfully at point F. Prior to point F, at point D, it was determined that the user's touch operation corresponded to a double-touch or two-touch gesture. After the electronic device successfully unlocks at point F, it can open the application corresponding to the two-touch gesture.
[0113] In some embodiments, when the duration of both the first fingerprint image and the second fingerprint image is less than a first preset duration and the duration of the time interval between the first fingerprint image and the second fingerprint image is less than a second preset duration, the fingerprint gesture is determined to be a two-touch gesture.
[0114] In some embodiments of this application, for example, the first preset duration can be set to 150ms (milliseconds), and the second preset duration can be set to 300ms.
[0115] For example, as shown in Figure 4B, the first duration is 110ms, and the second duration is 120ms. The duration of both clicks is less than the first preset duration of 150ms, and the time interval between the first and second fingerprint images is 110ms, which is less than the second preset duration of 300ms. Based on the above data, it can be determined that the fingerprint gesture corresponding to the user's touch operation is a two-touch operation.
[0116] Figure 5 illustrates a method for quickly launching an application according to an embodiment of this application. This method allows for quick application launch via fingerprint gestures.
[0117] S501: The electronic device detects the user's touch operation and collects the user's fingerprint image.
[0118] S502. The electronic device authenticates the user based on the fingerprint image, determines the fingerprint gesture based on the fingerprint image, and activates the first application corresponding to the fingerprint gesture.
[0119] In this application, fingerprint verification using fingerprint images ensures the security of the application launch process, and by recognizing whether the fingerprint gesture is a preset gesture, the probability of accidental touches is effectively reduced. In actual operation, users can open the corresponding first application simply by using a fingerprint gesture, achieving one-click fingerprint authentication and application launch, simplifying the operation process. Users no longer need to unlock with their fingerprint, search for the corresponding application, and then click to open it step by step.
[0120] Figure 6 illustrates another embodiment of a method for quickly launching an application. The method for quickly launching an application may include the following steps:
[0121] S601, the fingerprint recognition device detects the first touch operation. From the moment the first touch operation is detected, the fingerprint recognition device continuously acquires a first fingerprint image and a second fingerprint image. This allows the electronic device to verify the user's identity based on the first fingerprint image and to recognize fingerprint gestures based on the first and second fingerprint images.
[0122] S602, the electronic device verifies the user's fingerprint based on the first fingerprint image. If the verification is successful, the electronic device sends an unlock event to start unlocking and jumps to step S604; if the verification fails, it jumps to step S606, ends the process, stops verifying the user's fingerprint, and stops acquiring fingerprint images.
[0123] In some embodiments, the first fingerprint image includes a first frame fingerprint image. The electronic device acquires the first frame fingerprint image as soon as the fingerprint acquisition device acquires it and begins to verify the user's fingerprint based on the first frame fingerprint image, without waiting for the complete acquisition of the first fingerprint image.
[0124] In some embodiments, optionally, if the user's fingerprint cannot be verified based on the first fingerprint image, then the second fingerprint image is obtained from the first fingerprint image, and the user's fingerprint is verified based on the second fingerprint image. If the user's fingerprint still cannot be verified based on the second fingerprint image, then the third fingerprint image is obtained from the first fingerprint image, and so on, until the user's fingerprint verification is successful; or, if the time consumed to verify the user's fingerprint image is greater than a fourth preset time, it is determined that the user's fingerprint verification is unsuccessful, and then the process jumps to the end node.
[0125] S603, if the electronic device determines that the fingerprint gesture corresponding to the user's touch operation meets the preset fingerprint gesture based on the first fingerprint image and the second fingerprint image, then jump to S604; if the electronic device determines that the fingerprint gesture corresponding to the user's touch operation does not meet the preset fingerprint gesture, then jump to S607, end the process, and stop collecting fingerprint images.
[0126] In some embodiments, if the user's finger never leaves the surface of the fingerprint sensor during the fingerprint image acquisition process, then step S603 includes recognizing the fingerprint gesture corresponding to the user's touch operation based on the first fingerprint image.
[0127] S604, if the electronic device confirms that the unlocking was successful and the fingerprint gesture corresponding to the user's touch operation meets the preset fingerprint gesture, then proceed to step S605.
[0128] S605, launch the application corresponding to the preset fingerprint gesture.
[0129] Figures 7A-7D are schematic diagrams of the electronic device display interface when quickly launching the application according to embodiments of this application.
[0130] In some embodiments, as shown in FIG7A, when the electronic device 100 is in a locked state, for example, when the electronic device 100 is in a black screen state, when the user touches the fingerprint recognition device 710 of the electronic device 100 for the first time, the electronic device 100 starts to continuously collect a first fingerprint image and a second fingerprint image; the electronic device 100 verifies the user's identity based on the first fingerprint image, sends an unlock event, and unlocks successfully; the electronic device 100 determines that the fingerprint gesture corresponding to the user's touch operation meets the two-touch gesture based on the first fingerprint image and the second fingerprint image; the electronic device 100 determines that the user's identity verification is successful and the fingerprint gesture corresponding to the user's touch operation meets the two-touch gesture, and then launches the application 1 corresponding to the two-touch gesture. After launching application 1, the display interface of the electronic device 100 can display the interface of application 1 as shown in FIG7D.
[0131] During the above process, the unlocking process of electronic device 100 is not displayed on the display interface of electronic device 100. The user unlocks electronic device 100 and launches application 1 simultaneously through fingerprint gesture. During use, the display interface of electronic device 100 jumps directly from the black screen state shown in Figure 7A to the state of displaying the home page of application 1 as shown in Figure 7D.
[0132] In some embodiments, as shown in FIG7B, when the electronic device 100 is in an unlocked state, for example, when the electronic device 100 is displaying the home page, when the user touches the fingerprint recognition device 710 of the electronic device 100, the electronic device 100 determines that the fingerprint gesture corresponding to the user's touch operation is a two-touch gesture based on the first fingerprint image and the second fingerprint image, and opens the application 1 corresponding to the two-touch gesture. Then the display interface of the electronic device 100 is shown in FIG7D, displaying the home page of application 1.
[0133] In some embodiments, as shown in FIG7C, when the electronic device 100 is in an unlocked state, it may also be displaying other applications. For example, if a user is browsing application 2 through the electronic device 100 and needs to launch application 1, the user can quickly switch the display interface of the electronic device 100 from displaying application 2 to displaying application 1 by touching the fingerprint recognition device 710 of the electronic device 100 according to the preset fingerprint gesture. The display interface of the electronic device 100 is shown in FIG7D, which displays the home page of application 1.
[0134] In some embodiments of this application, when the electronic device is in a locked or unlocked state, fingerprint gestures can be used to quickly unlock the electronic device and launch the application.
[0135] In some embodiments of this application, if fingerprint verification fails and / or the fingerprint gesture does not meet the preset gesture, the electronic device will not launch the application corresponding to the preset fingerprint gesture. Fingerprint verification failure indicates that the user is not the owner of the electronic device, and launching the second application could lead to security risks such as information leakage. The fingerprint gesture not meeting the preset gesture indicates that the user may have accidentally touched the fingerprint device. When either of these two situations occurs or occurs simultaneously, the electronic device will launch the first application corresponding to the preset gesture. This ensures security while preventing accidental touches, thus improving the user experience.
[0136] In this application, verifying a user's fingerprint involves comparing a first fingerprint image with a fingerprint image of the device owner pre-stored in the electronic device. If the first fingerprint image matches the fingerprint image of the device owner, the verification is successful; otherwise, the verification fails.
[0137] In some embodiments of this application, the electronic device includes a switching device. When the switching device is turned on, the electronic device executes the quick-launch application method of any embodiment of this application. The switching device can be operated by the user to switch between on and off states. When the switching device is turned off, the electronic device does not execute the quick-launch application method of any embodiment of this application. In this way, the user can flexibly choose to turn the quick-launch application function on or off through the switching device.
[0138] For example, the electronic device receives a first operation from the user and activates the fingerprint gesture function accordingly. The electronic device receives a second operation from the user and deactivates the fingerprint gesture function accordingly. When the fingerprint gesture function is activated, the electronic device executes the quick application launch method of any embodiment of this application. When the fingerprint gesture function is deactivated, the electronic device does not execute the quick application launch method of any embodiment of this application.
[0139] Fingerprint gesture functionality can also be referred to as quick app launch functionality; in this application, the two can be considered equivalent.
[0140] The switching device can be a physical switch or a virtual switch. When the switching device is a physical switch, the user can control it through physical operation. When the switching device is a virtual switch, the user can control it through interactive operation with the touchscreen of the electronic device, such as a touchscreen consisting of a display 190 and a touch sensor 160D.
[0141] In some implementations of this application, when the switching device is a virtual switch, the virtual switch may include an icon displayed on the touch screen of the electronic device, and the user can switch between the on and off states by clicking the icon.
[0142] Figures 8A-8J are schematic diagrams of the display interface of the electronic device according to an embodiment of this application.
[0143] For example, as shown in Figure 8A, the switching device may include an icon 801A displayed on the touchscreen interface. In some embodiments, icon 801A may include a name for a function. For example, the name of a function that allows quick launch of an application via fingerprint gestures could be "Quick Launch Application" function, in which case the name of the function displayed in icon 801A would be "Quick Launch Application". The name of the function is used to indicate to the user whether to switch the state on or off at icon 801A.
[0144] In some embodiments of this application, icon 801A may include button 8011, which displays whether the current function is on or off in response to the user's selection.
[0145] For example, when the circular joystick in button 8011 is in the left position as shown in FIG. 8A, it indicates that the current quick launch application function is off. In response to the user clicking on icon 801A, such as clicking on the finger indication position as shown in FIG. 8A, the circular joystick of button 8011 slides to the right position as shown in FIG. 8B, thus enabling the function of quickly launching applications via fingerprint gesture, and the electronic device 100 executes the quick launch application method of any embodiment of this application.
[0146] In some embodiments of this application, the color change of icon 801A or button 8011 can further indicate whether the function is in an on or off state. For example, when the function is in an off state, the area of button 8011 other than the circular joystick is a first color, such as white; when the function is in an on state, the area of button 8011 other than the circular joystick changes to a second color, such as green.
[0147] In some embodiments, the electronic device may display a fingerprint gesture function setting interface, which includes an application list. The electronic device receives a third operation from the user on the application list to select a first application, and in response to the user's third operation, determines the first application corresponding to the fingerprint gesture from the application list.
[0148] In some embodiments of this application, the electronic device 100 further includes an application list 802, as shown in FIG8B. The application list 802 can be displayed on the display interface of the electronic device 100. The application list 802 includes one or more candidate applications for the user to select. The candidate applications can be displayed in whole or in part on the display interface. In response to the user's operation, the electronic device 100 determines a candidate application selected by the user from the application list 802 as the application corresponding to the preset fingerprint gesture. In this way, the user can flexibly select the first application to launch quickly according to their needs.
[0149] In some implementations of this application, when the quick launch application function is disabled, as shown in Figure 8A, the application list 802 is collapsed and not displayed on the screen. When the quick launch application function is enabled, as shown in Figure 8B, the application list 802 is expanded and displayed on the screen. When the application list 802 is displayed on the screen, the user can select the application they want to quickly launch by clicking on the area where any candidate application is located.
[0150] For example, as shown in Figure 8B, the application list 802 displays candidate applications 1 to 7. In some embodiments of this application, the application list 802 may display the name and / or icon of each candidate application, as well as the selection box corresponding to each candidate application. For example, the area circled in dashed in Figure 8B represents the icon, name, and selection box of application 1. The icons of each application in Figure 8B are merely exemplary icons and do not limit the types or functions of the applications.
[0151] In some embodiments of this application, when a user wants to launch application 5 using the quick launch application function, they can click on the row containing application 5 in the application list 802 (for example, click on the position indicated by the finger in Figure 8B) to select application 5 in the corresponding selection box. A checkmark will appear in the selection box for application 5 if it is successfully selected. The user can then quickly launch application 5 using fingerprint gestures.
[0152] For example, the icon for the switch device could also be as shown in icon 801B in Figure 8C. Icon 801B uses "none" to indicate that the user does not select any candidate application as the application corresponding to the preset gesture, that is, the user does not want to open any application through fingerprint gesture, and the user wants to disable the quick launch application function. Icon 801B may include a selection box 8012, which responds to the user's selection to display whether the current function is on or off.
[0153] For example, when a checkmark as shown in Figure 8C is displayed in selection box 8012, it indicates that "None" in icon 801B is selected, and the quick launch application function is turned off. With the quick launch application function turned off, none of the applications in application list 802 are selected by the user.
[0154] In some embodiments, when a user needs to open the quick launch application function, they can directly select the application to be opened from the application list 802 (for example, application 5 as shown in Figure 8D) to open the function and set the candidate application as the application corresponding to the preset fingerprint gesture.
[0155] In some embodiments, when the user enables the quick launch application function, as shown in Figure 8D, the selection box 8012 of icon 801B is blank, while the selection box of the application corresponding to the preset fingerprint gesture is checked.
[0156] In some embodiments, when a user needs to disable the quick launch application function, they can click on icon 801B (for example, click on the location indicated by the finger in Figure 8D) to make the checkbox 8012 of icon 801B display the checkmark as shown in Figure 8C again.
[0157] In some embodiments, the color change of the selection box 8012 can further indicate whether the corresponding icon is selected. For example, when selected, the selection box 8012 displays a third color, such as blue; when not selected, the selection box 8012 displays a fourth color, such as gray.
[0158] In some embodiments of this application, as shown in FIG8E, the candidate applications in application list 802 can also be grouped by type to facilitate user identification and selection. For example, as shown in FIG8E, applications 1 to 7 in application list 802 are exemplary divided into three groups, including a first group, a second group, and a third group. Each group of applications is displayed in a different area of the display interface. For example, the first group of candidate applications is displayed in area 8021, the second group of candidate applications is displayed in area 8022, and the third group of candidate applications is displayed in area 8023.
[0159] In some embodiments of this application, candidate applications in application list 802 can be grouped according to their functional type. For example, the first group may be communication applications, the second group may be utility applications, and the third group may be payment applications. Of course, candidate applications can also be categorized according to other types, such as their source or importance. This application does not limit the number of groups, the number of applications in each group, or the basis for grouping. Grouping applications makes it easier for users to set and select applications. It also facilitates users in changing settings for similar applications.
[0160] In some embodiments of this application, as shown in FIG8F, the display interface may include a search bar 803. Users can search for relevant applications by entering keywords in the search bar 803.
[0161] In some embodiments of this application, the search bar 803 may include an icon 8031, which is used to prompt the user that a search operation can be performed at the location of the search bar 803. For example, the icon 8031 may be a magnifying glass icon as shown in FIG8F.
[0162] In some embodiments of this application, the search bar 803 can also prompt the user to search in the search bar 803 with text, such as the text prompt "Search applications and services" shown in Figure 8F.
[0163] In some embodiments of this application, as shown in FIG8G, the application list 802 may only display some applications on the display interface and hide other applications.
[0164] Users can swipe up or down in the application list 802 area. In response to this swipe, the electronic device 100 displays other hidden candidate applications in the application list 802. The electronic device can also hide the currently displayed candidate applications in the application list 802. For example, as shown in Figures 8G and 8H, by swiping up in the area of the application list 802 in Figure 8G in the direction indicated by the gesture, hidden applications 8 and 9 are displayed in the display interface shown in Figure 8H, while applications 1 and 2 in the application list 802 in Figure 8G are hidden.
[0165] In some embodiments of this application, as shown in FIG8I, the user can also search for candidate applications in the search bar 803. In response to the user's search operation, the electronic device 100 displays one or more candidate applications that match the user's search criteria in the application list 802 for the user to select. If no candidate application matches the user's search criteria, the application list 802 displays a blank list. For example, as shown in FIG8I, if the user enters the keyword "payment" in the search bar 803, the application list 802 displays applications 9, 12, and 14 that have payment functions. The user can select from applications 9, 12, and 14 according to their needs.
[0166] In some embodiments, candidate applications include application functions. Users can select application functions from the application list 802 as the application corresponding to the preset fingerprint gesture. For example, as shown in FIG8J, in addition to applications 1 to 6, application list 802 also displays function 1 of application 6, and users can choose to directly launch function 1 of application 6 through fingerprint gesture.
[0167] In some embodiments, candidate applications may include: WeChat, WeChat Pay Code, WeChat Ride Code, Alipay, Alipay Pay Code, Alipay Ride Code, Xiaoyi Vision, Xiaoyi Screen Recognition, flashlight, camera, sound mode, recorder, Super Privacy, Douyin, Dianping, Bilibili, QQ, DingTalk, DingTalk check-in function, WeChat Work, WeChat Work check-in function, etc. Any native application of an electronic device or a third-party application or application function can be considered as a candidate application. Users can select a candidate application as their first application from the application list.
[0168] Figures 9A-9D are schematic diagrams of the settings interface in embodiments of this application.
[0169] In some embodiments, the user can select Accessibility in the settings interface 901 shown in Figure 9A to enter the Accessibility Settings interface 902 shown in Figure 9B. In the drop-down menu of Accessibility Settings interface 902, the user can select Quick Launch and Gesture Functions to enter the Quick Launch and Gesture Functions Settings interface 903 shown in Figure 9C. The fingerprint shortcut function can be found in the Quick Launch and Gesture Functions Settings interface 903.
[0170] In other embodiments, the user can select "System" in the settings interface 901 shown in FIG9A to enter the system settings interface 904 shown in FIG9D. In the system settings interface 904, the user can select "Quick Start and Gesture Functions" to open the Quick Start and Gesture Functions settings interface 903 shown in FIG9C. The fingerprint key shortcut function can be found in the Quick Start and Gesture Functions settings interface 903.
[0171] In some embodiments, the quick launch and gesture function settings interface 903 also displays the status of the quick launch application function in the row where the fingerprint key shortcut function is located. For example, as shown in Figure 9C, the quick launch application function is currently enabled.
[0172] In some embodiments, when a user selects the fingerprint key shortcut function, the fingerprint gesture settings interface shown in Figure 3A or the fingerprint settings interface shown in Figure 3C can be brought up. The user can set the correspondence between preset fingerprint gestures and applications or the correspondence between fingerprints and applications through the fingerprint gesture settings interface or the fingerprint settings interface.
[0173] In some embodiments, when a user selects the fingerprint key shortcut function, a display interface as shown in Figure 8B or Figure 8C can be brought up. The user can turn the quick launch application function on or off using the switch device shown in Figure 8B or Figure 8C. When the user turns on the quick launch application function, the user can select the application corresponding to the preset fingerprint gesture from the candidate applications based on the application list 802.
[0174] In some embodiments, the electronic device 100 also includes a fingerprint key shortcut function setting prompt interface 1010 as shown in FIG10. Users can view relevant prompts for quickly launching application functions via fingerprint gestures through the fingerprint key shortcut function setting prompt interface 1010, and set the function according to the prompts.
[0175] In some embodiments, when a user performs initial setup on an electronic device 100, a fingerprint shortcut function setting prompt interface 1010 pops up.
[0176] In some embodiments, the fingerprint key shortcut function setting prompt interface 1010 may include an image display area 1001, which may be used to display the position of the fingerprint recognition device on the electronic device 100.
[0177] In some embodiments, the image display area 1001 is also used to display a magnified view of the electronic device 100, which magnifies the fingerprint recognition device of the electronic device 100 so that the user can locate the fingerprint recognition device at the corresponding location on the electronic device 100.
[0178] In some embodiments, the fingerprint shortcut function setting prompt interface 1010 may further include a text prompt area 1002, which is used to display the shortcut function name and / or function description. For example, the function of quickly launching an application via fingerprint gesture can be called "fingerprint shortcut function," and this name can be displayed in the shortcut function setting interface. As another example, the text prompt area 1002 may display a function description such as "Double touch / swipe / long press and other quick operations open the specified application."
[0179] In some embodiments, the fingerprint shortcut function setting prompt interface 1010 further includes a first button and a second button. The first button is a "Set Now" button, which allows the user to set the fingerprint shortcut function. The second button is a "Don't Set Yet" button, which exits the fingerprint shortcut function setting interface when clicked by the user.
[0180] In some embodiments, when a user clicks the "Set Now" button, the fingerprint gesture settings interface shown in Figure 3A or the fingerprint settings interface shown in Figure 3C can be brought up, allowing the user to set the correspondence between preset fingerprint gestures and applications, or the correspondence between fingerprints and applications. In some embodiments, when a user clicks the "Set Now" button, the display interface shown in Figure 8B or Figure 8C can also be brought up. The user can turn the quick launch application function on or off using the switch device shown in Figure 8B or Figure 8C. When the user turns on the quick launch application function, the user can select the application corresponding to the preset fingerprint gesture from the candidate applications based on the application list 802.
[0181] Figure 11 is a front view and a side view of an electronic device 100 according to an embodiment of this application.
[0182] In some embodiments of this application, as shown in FIG11, the fingerprint recognition device 1101 may be disposed on the side of the electronic device 100. Disposing the fingerprint recognition device 1101 on the side helps the user to launch the application using fingerprint gestures with one hand. The fingerprint recognition device 1101 in this application may also be disposed on the front or back of the electronic device 100, etc., and this application does not impose specific limitations on this.
[0183] In some embodiments of this application, the fingerprint recognition device 1101 can be integrated onto a button, forming a button with fingerprint acquisition function. The fingerprint recognition device 1101 detects the user's touch on the button and acquires the fingerprint image of the finger touching the button. In some implementations, the button integrated with the fingerprint recognition device 1101 can be a power button.
[0184] This application embodiment uses fingerprints to authenticate users and determines the fingerprint gesture based on the user's touch operation, quickly launching the application corresponding to the fingerprint gesture. This ensures the security and speed of quickly launching the application, effectively reduces the probability of accidental touches, improves the accuracy of user operations, and allows users to open the corresponding application through fingerprint gestures. It realizes one-click fingerprint authentication and application launch, simplifies the operation process, and improves the user experience.
[0185] Based on the above embodiments, taking opening the payment code of a payment application as an example, this article introduces how users can quickly activate the payment code of a payment application using fingerprint gestures, making it convenient and quick for users to access the payment code. If a user wants to set the payment code of a payment application to be opened via a two-touch gesture, they can do so in the settings interface of their electronic device, select Accessibility to bring up the Accessibility settings interface, and then select Quick Launch and Gestures to enter the Quick Launch and Gestures settings interface. In the Quick Launch and Gestures settings interface, the fingerprint shortcut function can be found and selected. After selecting the fingerprint shortcut function, the fingerprint gesture settings interface, as shown in Figure 3A, may appear. In this fingerprint gesture settings interface, select "Two-touch gestures" to set the application corresponding to the two-touch gesture. For example, if fingerprint gesture 1 as shown in Figure 3A is a two-touch gesture, then click the arrow to the right of application 1 to set the application launched by the two-touch gesture. If application 1 is the payment code of the payment application at this time, the user does not need to change the current correspondence to launch the payment code of the payment application via two-touch gestures. If application 1 is not the payment code of the payment application at this time, the user can click the arrow to bring up the application list as shown in Figure 8F. In some embodiments, if the electronic device has a preset fingerprint gesture, which is a two-touch gesture, the electronic device can directly display the application list after selecting the fingerprint key shortcut function.
[0186] Users can swipe up or down to find and select payment application payment codes in the application list. Alternatively, they can search for "payment application payment code," "payment code," "payment application," or "payment" in the search bar to filter candidate applications. After filtering, users can select payment application payment codes from the candidate applications displayed in the application list to make the corresponding selection box for payment application payment codes appear checked.
[0187] Through the above process, the user has set the payment application's payment code as the first application that can be quickly launched via a two-touch fingerprint gesture.
[0188] When a user needs to open a payment application's payment code, they touch the fingerprint recognition device twice. The device detects the touch and continuously captures a first and a second fingerprint image. Once the first fingerprint image is captured, the electronic device authenticates the user. If authentication is successful, the device sends an unlock timer and begins unlocking. The electronic device determines that the user's touch gesture is a two-touch gesture based on the fact that the duration of the first and second fingerprint images is less than a first preset duration of 150ms, and the time interval between the first and second fingerprint images is less than a second preset duration of 300ms. If the device successfully unlocks and the user's touch gesture is confirmed as a two-touch gesture, the payment application's payment code is opened. Thus, the user quickly opens the payment application's payment code using a two-touch gesture.
[0189] By enabling quick app launch via dual-touch fingerprint gestures, users can flexibly utilize fingerprint recognition devices. By double-touching the fingerprint sensor, they can quickly launch the necessary applications during identity verification, ensuring both security and convenience. This fingerprint gesture app launch feature is suitable for high-security applications, such as payment functions in payment apps.
[0190] In some embodiments of this application, determining a fingerprint gesture based on a user's touch operation may further include determining whether the proportion of the area of the fingerprint region in the fingerprint image of the user's touch operation to the total area of the fingerprint image is greater than a first threshold. If the proportion of the fingerprint region to the total area of the fingerprint image is greater than the first threshold, the fingerprint gesture corresponding to the touch operation is determined based on the fingerprint image. The fingerprint region is the area where the user's finger contacts the surface of the fingerprint recognition device when the user touches the fingerprint recognition device, and this fingerprint region includes the user's fingerprint. If the area of the fingerprint region is too small, the user may accidentally touch the fingerprint recognition device. The above method can reduce the probability of accidental touches and improve the accuracy of fingerprint gesture determination.
[0191] In some embodiments of this application, user identity can be verified based on the fingerprint region of a fingerprint image, for example, based on the fingerprint region of the first frame of the fingerprint image. In the non-fingerprint region of the fingerprint image, the user's finger does not contact the fingerprint recognition device, and therefore cannot provide user-related information, and may even introduce irrelevant information. Verifying user identity based on the fingerprint region can avoid introducing irrelevant information and improve the accuracy of verification.
[0192] In some embodiments of this application, the electronic device may also determine that the fingerprint gesture is a two-touch gesture based on the fact that the moving distance of the user's touch operation on the fingerprint recognition device is less than a second threshold, and based on the fact that the duration of the first fingerprint image and the duration of the second fingerprint image are less than a first preset duration, and the time interval between the first fingerprint image and the second fingerprint image is less than a second preset duration.
[0193] In some implementations of this application, the distance the user's touch operation moves on the fingerprint recognition device can be determined based on the movement of the fingerprint region in the first fingerprint image and the second fingerprint image.
[0194] In some embodiments of this application, the electronic device may also determine that the fingerprint gesture corresponding to the user's touch operation is not a two-touch gesture or that the user's touch operation is a misoperation based on the fact that the movement distance of the user's touch operation on the fingerprint recognition device is greater than or equal to a second threshold.
[0195] If an electronic device only has a preset two-touch fingerprint gesture, then if the fingerprint gesture corresponding to the user's touch operation is not a two-touch fingerprint gesture, it must be a misoperation. The distance the touch operation moves on the fingerprint recognition device can quickly filter out misoperations.
[0196] When an electronic device has multiple preset fingerprint gestures, including two-touch fingerprint gestures, the distance the user's touch operation moves on the fingerprint recognition device can distinguish between two-touch fingerprint gestures and other fingerprint gestures. For example, if the preset fingerprint gestures include two-touch fingerprint gestures and swipe fingerprint gestures, and the distance the user's touch operation moves on the fingerprint recognition device is greater than or equal to a second threshold, then the fingerprint gesture corresponding to the user's touch operation is not a two-touch fingerprint gesture, but may be a swipe fingerprint gesture.
[0197] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in 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) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0198] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
[0199] In summary, the above description is merely an embodiment of the technical solution of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made according to the disclosure of the present invention should be included within the scope of protection of the present invention.
Claims
1. An electronic device, comprising: include: A fingerprint recognition device, one or more processors, and one or more memories; the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, the computer program code including computer instructions, which, when the one or more processors execute the computer instructions, cause the electronic device to detect the user's touch operation and continuously acquire the user's fingerprint image; Authentication is performed based on continuously collected fingerprint images, and the user's fingerprint gestures are determined. The first application corresponding to the fingerprint gesture is launched based on the fingerprint gesture.
2. The electronic device of claim 1, wherein, The fingerprint image includes a first fingerprint image and a second fingerprint image. The electronic device authenticates the user's identity and determines the user's fingerprint gesture based on the continuously collected fingerprint images, including: the electronic device authenticates the user based on the first fingerprint image, and determines the fingerprint gesture as a two-touch gesture based on the first fingerprint image and the second fingerprint image.
3. The electronic device of claim 2, wherein, The first fingerprint image includes a first frame fingerprint image, and the electronic device authenticates the user based on the first fingerprint image by: the electronic device authenticates the user based on the first frame fingerprint image.
4. The electronic device of claim 3, wherein, When the one or more processors execute the computer instructions, causing the electronic device to continuously acquire the first fingerprint image and the second fingerprint image during the process of authenticating the user based on the first fingerprint image, the electronic device continuously acquires the first fingerprint image and the second fingerprint image.
5. The electronic device of claim 3, wherein, When the one or more processors execute the computer instructions, the electronic device authenticates the user based on the first frame fingerprint image after determining the user's fingerprint gesture.
6. The electronic device of claim 2, wherein, The electronic device determines the fingerprint gesture as a two-touch gesture based on the first fingerprint image and the second fingerprint image by: the electronic device determining the fingerprint gesture as a two-touch gesture based on the duration of the first fingerprint image and the duration of the second fingerprint image, as well as the time interval between the first fingerprint image and the second fingerprint image.
7. The electronic device of claim 6, wherein, The electronic device determines that the fingerprint gesture is a two-touch gesture based on the duration of the first fingerprint image and the duration of the second fingerprint image, as well as the time interval between the first fingerprint image and the second fingerprint image, by: determining that the fingerprint gesture is a two-touch gesture based on the fact that the duration of the first fingerprint image and the duration of the second fingerprint image are both less than a first preset duration, and the time interval between the first fingerprint image and the second fingerprint image is less than a second preset duration.
8. The electronic device of claim 1, wherein, The fingerprint gestures include any one of the following: double-touch gesture, swipe gesture, and long-press gesture.
9. The electronic device of any of claims 1-8, wherein, When the one or more processors execute the computer instructions, the screen of the electronic device is unlocked after the electronic device has successfully authenticated itself based on the first fingerprint image.
10. The electronic device of any of claims 1-9, wherein, The fingerprint recognition device is located on the side of the electronic device.
11. The electronic device of any of claims 1-10, wherein, When the one or more processors execute the computer instructions, the electronic device receives a first operation from the user and activates the fingerprint gesture function based on the first operation.
12. The electronic device of claim 11, wherein, When the one or more processors execute the computer instructions, the electronic device receives a second operation from the user, and disables the fingerprint gesture function according to the second operation.
13. The electronic device of claim 11, wherein, When the one or more processors execute the computer instructions, the electronic device displays the fingerprint gesture function setting interface, which includes an application list, receives a third operation from the user on the application list to select the first application, and determines the first application corresponding to the fingerprint gesture in response to the user's third operation.
14. A method of quickly starting an application, characterized by, Applied to an electronic device, the electronic device including a fingerprint recognition device, the method includes: The fingerprint recognition device detects the user's touch operation and continuously collects the user's fingerprint image; The electronic device authenticates the user's identity and determines the user's fingerprint gesture based on continuously collected fingerprint images; The electronic device launches the first application corresponding to the fingerprint gesture based on the fingerprint gesture.
15. The method of claim 14, wherein, The fingerprint image includes a first fingerprint image and a second fingerprint image. The electronic device authenticates the user's identity and determines the user's fingerprint gesture based on the continuously collected fingerprint images, including: the electronic device authenticates the user based on the first fingerprint image, and determines the fingerprint gesture as a two-touch gesture based on the first fingerprint image and the second fingerprint image.
16. The method of claim 15, wherein, The first fingerprint image includes a first frame image, and the electronic device authenticates the user based on the first fingerprint image by: the electronic device authenticates the user based on the first frame image.
17. The method of claim 16, wherein, During the process of the electronic device authenticating the user based on the first fingerprint image, the electronic device continuously acquires the first fingerprint image and the second fingerprint image.
18. The method of claim 16, wherein, After determining the user's fingerprint gesture, the electronic device authenticates the user based on the first frame of the fingerprint image.
19. The method of claim 15, wherein, The electronic device determines the fingerprint gesture as a two-touch gesture based on the first fingerprint image and the second fingerprint image by: the electronic device determining the fingerprint gesture as a two-touch gesture based on the duration of the first fingerprint image and the duration of the second fingerprint image, as well as the time interval between the first fingerprint image and the second fingerprint image.
20. The method of claim 19, wherein, The electronic device determines that the fingerprint gesture is a two-touch gesture based on the duration of the first fingerprint image and the duration of the second fingerprint image, as well as the time interval between the first fingerprint image and the second fingerprint image, by: determining that the fingerprint gesture is a two-touch gesture based on the fact that the duration of the first fingerprint image and the duration of the second fingerprint image are both less than a first preset duration, and the time interval between the first fingerprint image and the second fingerprint image is less than a second preset duration.
21. The method of claim 14, wherein, The fingerprint gestures include any one of the following: double-touch gesture, swipe gesture, and long-press gesture.
22. The method according to any one of claims 14-21, characterized by, The method further includes: After the electronic device successfully authenticates itself based on the first fingerprint image, the screen of the electronic device is unlocked.
23. The method according to any one of claims 14-22, characterized by, The fingerprint recognition device is located on the side of the electronic device.
24. The method according to any one of claims 14-23, characterized by, The method further includes: The electronic device receives a first operation from the user and activates the fingerprint gesture function based on the first operation.
25. The method of claim 24, wherein, The method further includes: The electronic device receives a second operation from the user and disables the fingerprint gesture function based on the second operation.
26. The method of claim 24, wherein, The method further includes: The electronic device displays the fingerprint gesture function settings interface, which includes an application list. The electronic device receives a third operation from the user on the application list to select the first application, and determines the first application corresponding to the fingerprint gesture in response to the user's third operation.
27. A computer storage medium, comprising: The computer storage medium stores instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 14-26.
28. A computer program product comprising instructions, wherein: When the computer program product is run on an electronic device, it causes the electronic device to perform the method as described in any one of claims 14-26.