Fingerprint-based shortcut operation method, controller, chip, device and medium
Patent Information
- Application Number
- CN202510517765.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-23
- Publication Date
- 2026-10-23
AI Technical Summary
[0003]本发明实施例提供一种基于指纹的快捷操作方法、控制器、芯片、设备及介质,以基于采集到的指纹数据,实现目标操作的快捷控制,从而解决计算机设备的特定功能或特定操作存在的效率低的问题
[0021]上述基于指纹的快捷操作方法、控制器、芯片、设备及介质中,根据第一指纹数据,确定其对应的第一快捷键;在第一快捷键为导航需求键时,可对第二指纹数据进行指纹导航,以便根据其确定的第一位移信息,快速执行与第一位移信息相对应的目标操作,从而实现利用指纹导航技术进行特定功能的快捷控制;在第二快捷键为非导航需求键时,可直接执行与第一快捷键对应的目标操作,保障目标操作的执行效率,有助于提高用户体验。
Smart Images

Figure CN122963679A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of fingerprint recognition technology, and in particular to a fingerprint-based quick operation method, controller, chip, device, and medium. Background Technology
[0002] Fingerprint recognition technology is a biometric technology based on human fingerprint characteristics. When integrated into computer devices, fingerprint recognition technology is generally used for identity verification and identification. When other functions or operations are required, additional human-computer interaction devices (such as mice and keyboards) are also needed. Based on the instructions output by the human-computer interaction devices, specific functions or operations are controlled, which makes the efficiency of specific functions or operations in computer devices low and affects the user experience. Summary of the Invention
[0003] This invention provides a fingerprint-based quick operation method, controller, chip, device, and medium to achieve quick control of target operations based on collected fingerprint data, thereby solving the problem of low efficiency in specific functions or operations of computer devices.
[0004] A fingerprint-based shortcut operation method includes: Acquire the first fingerprint data collected by the fingerprint recognition module; Based on the first fingerprint data, determine the first shortcut key corresponding to the first fingerprint data; When the first shortcut key is a navigation request key, fingerprint navigation is performed on the second fingerprint data collected by the fingerprint recognition module to determine the first displacement information and execute the target operation corresponding to the first displacement information. The navigation request key refers to the shortcut key that needs to trigger the fingerprint navigation function. When the first shortcut key is a non-navigation required key, the target operation corresponding to the first shortcut key is executed. The non-navigation required key refers to a shortcut key that does not require triggering the fingerprint navigation function.
[0005] Preferably, the first fingerprint data includes multiple frames of fingerprint images acquired within a first time period; The step of determining the first shortcut key corresponding to the first fingerprint data based on the first fingerprint data includes: Target action detection is performed on multiple frames of fingerprint images collected within the first time period to determine the number of first actions corresponding to the target actions. Based on the first number of actions and the first mapping relationship corresponding to the target action, the first shortcut key corresponding to the first fingerprint data is determined. The first mapping relationship is used to characterize the mapping relationship between different number of actions and their corresponding function shortcut keys.
[0006] Preferably, the first time period is determined based on the start time and a preset duration; The starting time is the moment when two adjacent frames of the preceding fingerprint image meet the evaluation conditions corresponding to the pressing action, and the preceding fingerprint image is the fingerprint image acquired before the acquisition of the first fingerprint data; The evaluation condition corresponding to the pressing action is that in two adjacent fingerprint images, the previous fingerprint image is a fingerprint-free image and the next fingerprint image is a fingerprint-containing image.
[0007] Preferably, the step of performing target action detection on multiple frames of fingerprint images acquired within the first time period and determining the number of first actions corresponding to the target action includes: Detect any two adjacent frames of fingerprint images collected within the first time period; When any two adjacent fingerprint images meet the evaluation conditions corresponding to the target action, the sum of the current action count corresponding to the target action and 1 is determined as the first action count corresponding to the target action.
[0008] Preferably, the target action is a pressing action or a lifting action; The evaluation condition corresponding to the pressing action is that in two adjacent fingerprint images, the previous fingerprint image is a fingerprint-free image and the next fingerprint image is a fingerprint-containing image. The evaluation condition corresponding to the hand-raising action is that in two adjacent fingerprint images, the previous fingerprint image is a fingerprint image and the next fingerprint image is a fingerprint image without fingerprints.
[0009] Preferably, the target action is a hand-raising action; When any two adjacent fingerprint images satisfy the evaluation conditions corresponding to the target action, the sum of the current action count corresponding to the target action and 1 is determined as the first action count corresponding to the target action, including: When any two adjacent fingerprint images meet the evaluation conditions corresponding to the hand-raising action, slide detection is performed on multiple fingerprint images corresponding to the current pressing cycle to determine the slide detection result; wherein, the current pressing cycle is determined based on the hand-raising time corresponding to the currently detected hand-raising action and the pressing time of the most recent detected pressing action; If the sliding detection result indicates that a fingerprint sliding exists, then the current number of actions corresponding to the hand-raising action is determined as the first number of actions corresponding to the hand-raising action; If the sliding detection result is that there is no fingerprint sliding, then the sum of the current action count corresponding to the hand-raising action and 1 is determined as the first action count corresponding to the hand-raising action.
[0010] Preferably, the step of performing slide detection on multiple fingerprint images corresponding to the current pressing cycle and determining the slide detection result includes: Fingerprint navigation is performed on multiple fingerprint images corresponding to the current pressing cycle to determine the second displacement information; If the second displacement information satisfies the fingerprint sliding condition, then the sliding detection result is determined to indicate that fingerprint sliding exists; If the second displacement information does not meet the fingerprint sliding condition, then the sliding detection result is determined to be that no fingerprint sliding exists.
[0011] Preferably, the second displacement information includes the first fingerprint displacement and the second fingerprint displacement; The first fingerprint displacement is the sum of all lateral fingerprint displacements within the current pressing cycle, and the lateral fingerprint displacement is determined based on the abscissa of feature points in any two adjacent frames of the fingerprint image. The second fingerprint displacement is the sum of all vertical fingerprint displacements within the current pressing cycle, and the vertical fingerprint displacement is determined based on the ordinate of feature points in any two adjacent frames of the fingerprint image; The fingerprint sliding condition is that at least one of the first fingerprint displacement and the second fingerprint displacement is greater than a preset fingerprint displacement.
[0012] Preferably, determining the first shortcut key corresponding to the first fingerprint data based on the number of first actions and the first mapping relationship corresponding to the target action includes: If the number of times the first action corresponding to the target action is 0, then the pre-set navigation requirement key will be determined as the first shortcut key corresponding to the first fingerprint data; If the number of first actions corresponding to the target action is not 0, then based on the number of first actions corresponding to the target action and the first mapping relationship, the first shortcut key corresponding to the first fingerprint data is determined, and the function shortcut key in the first mapping relationship is a non-navigation requirement key.
[0013] Preferably, the step of performing fingerprint navigation on the second fingerprint data collected by the fingerprint recognition module to determine first displacement information and execute the target operation corresponding to the first displacement information includes: When the navigation key is a mouse movement key, the fingerprint navigation is performed on the second fingerprint data collected by the fingerprint recognition module to calculate the displacement and determine the first displacement information, which includes the fingerprint movement direction and the fingerprint movement distance. Based on the fingerprint movement distance and the second mapping relationship, the mouse movement distance is determined, wherein the second mapping relationship is used to characterize the mapping relationship between the fingerprint movement distance and the corresponding mouse movement distance; Based on the fingerprint movement direction and the mouse movement distance, control the movement of the mouse cursor on the current interface.
[0014] Preferably, the step of performing fingerprint navigation on the second fingerprint data collected by the fingerprint recognition module to determine first displacement information and execute the target operation corresponding to the first displacement information includes: When the navigation request key is an application shortcut key, determine the target interface corresponding to the application shortcut key, display the target interface, and determine the interface size of the target interface; The fingerprint recognition module performs fingerprint navigation to calculate displacement and determine the fingerprint movement direction and distance by collecting the second fingerprint data. The interface movement distance is determined based on the module size of the fingerprint recognition module, the interface size of the target interface, and the fingerprint movement distance. Based on the fingerprint movement direction and the interface movement distance, a target application is selected from at least one candidate application on the target interface.
[0015] Preferably, when the navigation request key is an application shortcut key, determining the target interface corresponding to the application shortcut key includes: When the navigation request key is an application shortcut key, fingerprint recognition is performed on the real-time fingerprint image and at least one registered fingerprint image collected by the fingerprint recognition module; If the real-time fingerprint image fails to match all the registered fingerprint images, the general interface will be determined as the target interface corresponding to the application shortcut key. If the real-time fingerprint image matches any of the registered fingerprint images, the dedicated interface corresponding to the successfully matched registered fingerprint image will be determined as the target interface corresponding to the application shortcut key.
[0016] Preferably, after selecting a target application from at least one candidate application on the target interface based on the fingerprint movement direction and the interface movement distance, the fingerprint-based quick operation method further includes: Acquire third fingerprint data collected by the fingerprint recognition module, the third fingerprint data including multiple frames of fingerprint images collected within the second time period; Target action detection is performed on multiple frames of fingerprint images acquired during the second time period to determine the number of second actions corresponding to the target action; Based on the second number of actions corresponding to the target action and the third mapping relationship, the second shortcut key corresponding to the third fingerprint data is determined. The third mapping relationship is used to characterize the mapping relationship between different number of actions and their corresponding application operation keys. For the target application, perform the target operation corresponding to the second shortcut key.
[0017] A controller includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the aforementioned fingerprint-based shortcut operation method.
[0018] A fingerprint recognition chip includes a fingerprint recognition module and the aforementioned controller, wherein the controller is connected to the fingerprint recognition module.
[0019] A computer device includes the controller described above, or includes the fingerprint recognition chip described above.
[0020] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described fingerprint-based shortcut operation method.
[0021] In the aforementioned fingerprint-based shortcut operation method, controller, chip, device, and medium, a first shortcut key is determined based on the first fingerprint data. When the first shortcut key is a navigation request key, fingerprint navigation can be performed on the second fingerprint data to quickly execute the target operation corresponding to the first displacement information based on the determined first displacement information, thereby realizing the quick control of specific functions using fingerprint navigation technology. When the second shortcut key is not a navigation request key, the target operation corresponding to the first shortcut key can be directly executed, ensuring the execution efficiency of the target operation and helping to improve the user experience. Attached Figure Description
[0022] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a flowchart of a fingerprint-based quick operation method according to an embodiment of the present invention; Figure 2 yes Figure 1 A detailed flowchart of step S102; Figure 3 yes Figure 2 A detailed flowchart of step S201; Figure 4 yes Figure 3 A detailed flowchart of step S302; Figure 5 yes Figure 4 A detailed flowchart of step S401; Figure 6 yes Figure 2A detailed flowchart of step S202; Figure 7 yes Figure 1 A detailed flowchart of step S103; Figure 8 yes Figure 1 Another specific flowchart of step S103; Figure 9 yes Figure 8 A detailed flowchart of step S801; Figure 10 yes Figure 8 A detailed flowchart following step S804. Detailed Implementation
[0024] To make the technical problems solved, the technical solutions, and the beneficial effects of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0025] This invention provides a fingerprint-based quick operation method applicable to a controller connected to a fingerprint recognition module. The fingerprint recognition module collects fingerprint data and sends it to the controller. The controller processes the fingerprint data to enable quick operation of user-defined specific functions, improving the efficiency of these functions and enhancing the user experience. The controller may be, but is not limited to, a microcontroller unit.
[0026] In this example, the controller and fingerprint recognition module can be integrated into the fingerprint recognition chip, which can be installed in the computer device; alternatively, the controller can be directly installed inside the computer device, and the controller is connected to the fingerprint recognition module outside the computer device via a connecting cable. The computer device here can be, but is not limited to, a desktop computer, laptop computer, mini-laptop, tablet computer, or ultrabook, or other devices.
[0027] In one embodiment, a fingerprint-based shortcut operation method is provided. The application of this fingerprint-based shortcut operation method in a controller is illustrated as an example. Figure 1 As shown, fingerprint-based shortcut methods include: S101: Acquire the first fingerprint data collected by the fingerprint recognition module; S102: Based on the first fingerprint data, determine the first shortcut key corresponding to the first fingerprint data; S103: When the first shortcut key is the navigation demand key, perform fingerprint navigation on the second fingerprint data collected by the fingerprint recognition module, determine the first displacement information, and execute the target operation corresponding to the first displacement information. The navigation demand key refers to the shortcut key that needs to trigger the fingerprint navigation function. S104: When the first shortcut key is a non-navigation requirement key, execute the target operation corresponding to the first shortcut key. A non-navigation requirement key refers to a shortcut key that does not require triggering the fingerprint navigation function.
[0028] The first fingerprint data is the fingerprint data used to determine the first shortcut key, and the fingerprint data includes multiple frames of fingerprint images. The first shortcut key refers to the function shortcut key determined based on the first fingerprint data, which is used to access a specific function.
[0029] As an example, in step S101, the controller can acquire the first fingerprint data collected by the fingerprint recognition module connected to it. The first fingerprint data includes multiple frames of fingerprint images collected by the fingerprint recognition module in real time, or multiple frames of fingerprint images collected by the fingerprint recognition module after detecting that the measured data meets the preset trigger conditions. The controller can determine the data autonomously according to the actual situation.
[0030] As an example, in step S102, the controller receives pre-set configuration information from the user and stores it in the memory before the current moment. This configuration information reflects the mapping relationship between different fingerprint data and their corresponding function shortcut keys. After receiving the first fingerprint data, the controller can query the pre-stored configuration information in the memory based on the first fingerprint data to quickly determine the first shortcut key corresponding to the first fingerprint data. In this example, the first shortcut key can be either a navigation request key or a non-navigation request key. A navigation request key is a shortcut key that requires triggering the fingerprint navigation function, specifically a shortcut key that requires further fingerprint navigation processing of the fingerprint data. A non-navigation request key is a shortcut key that does not require triggering the fingerprint navigation function, specifically a shortcut key that can be executed directly without further detection of fingerprint data. The fingerprint navigation function refers to the function of manipulating the device to complete a predefined task based on the movement of the finger.
[0031] The second fingerprint data is used for fingerprint navigation processing to determine the corresponding target operation, and includes multiple fingerprint images. The first displacement information is fingerprint displacement information determined based on the multiple fingerprint images in the second fingerprint data.
[0032] As an example, in step S103, when the controller determines that the first shortcut key corresponding to the first fingerprint data is a navigation request key, it determines that the fingerprint navigation function needs to be triggered. At this time, a control signal needs to be sent to the fingerprint recognition module so that the fingerprint recognition module can collect the second fingerprint data and send the second fingerprint data to the controller. After acquiring the second fingerprint data collected by the fingerprint recognition module, the controller can call a pre-set navigation algorithm to process multiple frames of fingerprint images in the second fingerprint data to calculate the first displacement information of the finger; then, based on the first displacement information, it determines the target operation corresponding to the first displacement information and executes the target operation. In this example, after calculating the first displacement information of the finger, the controller can call a pre-set filtering algorithm to filter the first displacement information, determine the filtered first displacement information, and then query a pre-set mapping relationship between the displacement information and the corresponding preset operation based on the filtered first displacement information. The preset operation corresponding to the first displacement information is determined as the target operation, and then the target operation is executed.
[0033] As an example, in step S104, when the controller determines that the first shortcut key corresponding to the first fingerprint data is a non-navigation required key, it determines that there is no need to trigger the fingerprint navigation function. At this time, the target operation corresponding to the first shortcut key is directly executed to achieve fast execution of the target operation corresponding to the first shortcut key based on the first fingerprint data, ensuring the execution efficiency of the target operation and helping to improve the user experience. For example, the first shortcut key can be, but is not limited to, a shortcut key corresponding to a specific function that can be directly executed, such as locking the screen, turning the microphone on / off, or increasing / decreasing the volume.
[0034] In this embodiment, a first shortcut key is determined based on the first fingerprint data. When the first shortcut key is a navigation requirement key, fingerprint navigation can be performed on the second fingerprint data so that the target operation corresponding to the first displacement information can be quickly executed based on the determined first displacement information, thereby realizing quick control of specific functions using fingerprint navigation technology. When the first shortcut key is not a navigation requirement key, the target operation corresponding to the first shortcut key can be executed directly, ensuring the execution efficiency of the target operation and helping to improve the user experience.
[0035] In one embodiment, the first fingerprint data includes multiple frames of fingerprint images acquired within a first time period; like Figure 2 As shown, step S102, which is to determine the first shortcut key corresponding to the first fingerprint data based on the first fingerprint data, includes: S201: Detect target action on multiple frames of fingerprint images acquired within the first time period, and determine the number of first actions corresponding to the target action; S202: Based on the first number of actions corresponding to the target action and the first mapping relationship, determine the first shortcut key corresponding to the first fingerprint data. The first mapping relationship is used to characterize the mapping relationship between different number of actions and their corresponding function shortcut keys.
[0036] The first time period is used to define the time period for collecting the first fingerprint data. As an example, the first time period can be a pre-set time period or a time period dynamically determined according to the actual situation.
[0037] As an example, in step S201, the controller can identify multiple frames of fingerprint images collected within the first time period, determine the number of times the user performs the target action within the first time period, and determine this number as the first action count corresponding to the target action. Here, the target action is the action that needs to be monitored. The target action can be a pressing action or a lifting action, which can be determined by the user according to the actual situation. For example, the controller has a built-in detection algorithm for detecting pressing actions, which can be called to detect pressing actions in the multiple frames of fingerprint images collected within the first time period, and count the number of first actions corresponding to the pressing actions detected within the first time period. Alternatively, the controller has a built-in detection algorithm for detecting lifting actions, which can be called to detect lifting actions in the multiple frames of fingerprint images collected within the first time period, and determine the number of first actions corresponding to the lifting actions.
[0038] As an example, in step S202, the controller can query a pre-set first mapping relationship based on the number of first actions corresponding to the target action, and determine the function shortcut key (the shortcut key here can be a navigation requirement key or a non-navigation requirement key) that matches the number of first actions corresponding to the target action in the first mapping relationship as the first shortcut key corresponding to the first fingerprint data, which can ensure the efficiency of determining the first shortcut key.
[0039] In one embodiment, the first time period is determined based on a start time and a preset duration; The starting time is the moment when the evaluation conditions corresponding to the pressing action are met in two adjacent frames of the earlier fingerprint image. The earlier fingerprint image is the fingerprint image acquired before the acquisition of the first fingerprint data. The evaluation condition corresponding to the pressing action is that in two adjacent fingerprint images, the previous fingerprint image is a fingerprint-free image, and the next fingerprint image is a fingerprint-containing image.
[0040] As an example, before acquiring the first fingerprint data, the fingerprint recognition module acquires multiple frames of preceding fingerprint images in real time. It then identifies any two adjacent frames. When two adjacent frames meet the pre-set evaluation conditions corresponding to a pressing action, the acquisition time corresponding to these two frames is determined as the start time t1. Based on the start time t1 and a preset duration ΔT, the end time t2 is determined, where t2 = t1 + ΔT. The corresponding first time period is then determined based on the start time t1 and the end time t2. The fingerprint recognition module acquires multiple frames of fingerprint images within this first time period, identifies these frames as the first fingerprint data, and sends it to the controller. The controller then performs target action detection on the acquired frames within the first time period, determining the number of first actions corresponding to the target action. The preset duration ΔT is a pre-set duration that can be determined based on actual conditions; for example, it can be set to 400ms or other values.
[0041] In this example, before acquiring the first fingerprint data, the fingerprint recognition module acquires multiple frames of prior fingerprint images in real time. It identifies any two adjacent prior fingerprint images. If, in two adjacent prior fingerprint images, the previous frame is a fingerprint-free image and the next frame is a fingerprint-containing image, it is determined that the evaluation conditions corresponding to the pressing action are met, that is, the fingerprint recognition module is determined to have detected the user's pressing action. At this time, the acquisition time corresponding to the next frame fingerprint image is determined as the start time t1. At this time, a separate timing thread can be started to determine the corresponding first time period based on the start time t1 and the preset duration ΔT. Multiple frames of fingerprint images within the first time period are acquired and determined as the first fingerprint data. The first fingerprint data is sent to the controller so that the target action detection is performed on the multiple frames of fingerprint images acquired within the first time period to determine the number of first actions corresponding to the target action.
[0042] In this example, before collecting the first fingerprint data, the fingerprint recognition module first identifies any two adjacent frames of previously collected fingerprint images. When any two adjacent frames of previously collected fingerprint images meet the evaluation conditions corresponding to the pressing action, it is determined that the user's pressing action has been detected. At this time, the first time period is determined, and the multiple frames of fingerprint images collected within the first time period are sent to the controller as the first fingerprint data so that the controller can perform subsequent recognition. This avoids sending the first fingerprint data to the controller when no user pressing action is detected, which would cause the controller to perform invalid operations, thereby wasting computing resources and improving the efficiency of the controller in performing other tasks.
[0043] In one embodiment, such as Figure 3 As shown, step S201, which involves detecting target actions on multiple frames of fingerprint images acquired within the first time period and determining the number of first actions corresponding to the target actions, includes: S301: Detect any two adjacent frames of fingerprint images acquired within the first time period; S302: When any two adjacent fingerprint images meet the evaluation conditions corresponding to the target action, the sum of the current action count corresponding to the target action and 1 is determined as the first action count corresponding to the target action.
[0044] As an example, after acquiring multiple frames of fingerprint images collected within the first time period, the controller can detect any two adjacent frames to evaluate whether they meet the evaluation conditions corresponding to the target action. If any two adjacent frames meet the evaluation conditions, it is determined that the user has performed the target action. At this point, the sum of the current action count and 1 is used to determine the first action count corresponding to the target action, and the current action count is updated using the first action count. Here, the current action count refers to the number of times the target action is detected before any two adjacent frames meet the evaluation conditions; the first action count refers to the number of times the target action is updated after the evaluation conditions are met in any two adjacent frames.
[0045] In this example, the multiple fingerprint images collected within the first time period are T1, T2, T3...Tn. T1 and T2 can be detected. When T1 and T2 meet the evaluation conditions corresponding to the target action, it is determined that the user performed the target action at the collection time corresponding to T2. At this time, the sum of the current action count and 1 corresponding to the target action is determined as the first action count corresponding to the target action, and the current action count is updated using the first action count. Next, T2 and T3 are detected. When T2 and T3 meet the evaluation conditions corresponding to the target action, the sum of the current action count and 1 corresponding to the target action is determined as the first action count corresponding to the target action, and the current action count is updated using the first action count; and so on, to determine the first action count corresponding to the target action within the first time period.
[0046] In one embodiment, the target action is a pressing action or a lifting action; The evaluation condition corresponding to the pressing action is that in two adjacent fingerprint images, the previous fingerprint image is a fingerprint-free image and the next fingerprint image is a fingerprint-containing image. The evaluation condition corresponding to the hand-raising action is that in two adjacent fingerprint images, the previous fingerprint image is a fingerprint image and the next fingerprint image is a fingerprint image without fingerprints.
[0047] As an example, the target action can be a pressing action or a lifting action. Here, the pressing action refers to the user's finger pressing on the fingerprint recognition module; the lifting action refers to the user's finger leaving the fingerprint recognition module.
[0048] As an example, after acquiring multiple frames of fingerprint images collected within the first time period, the controller can perform fingerprint recognition on any two frames of fingerprint images, and detect the previous frame of fingerprint image. The image is without fingerprints; the next frame will show the fingerprint image. If a fingerprint image is available, it is determined that at the acquisition time of the next frame of fingerprint image Ti, the user's finger presses the fingerprint recognition module, that is, the user's pressing action is detected. At this time, the sum of the current action count corresponding to the pressing action and 1 is determined as the first action count corresponding to the pressing action.
[0049] As another example, after acquiring multiple frames of fingerprint images collected within the first time period, the controller can perform fingerprint recognition on any two frames of fingerprint images, and detect the previous frame of fingerprint image. Fingerprint image available, next frame fingerprint image For images without fingerprints, it is determined that at the time of acquisition of the next fingerprint image Ti, the user's finger leaves the fingerprint recognition module, that is, the user's hand-raising action is detected. At this time, the sum of the current action count corresponding to the hand-raising action and 1 is determined as the first action count corresponding to the hand-raising action.
[0050] In one example, the first time period is determined based on a start time and a preset duration. Specifically, the start time is the moment when two adjacent fingerprint images satisfy the evaluation conditions corresponding to the pressing action. In this case, the first fingerprint data can be determined as fingerprint data collected after a pressing action is detected. In one possible implementation, if the target action is a pressing action, the first action count corresponding to the pressing action can be understood as the number of pressing actions detected within the first time period. In this case, a first action count of 0 indicates that no pressing action was detected again within the first time period. This could be a continuous pressing action or a situation where the hand was released without pressing again. The corresponding first shortcut key needs to be further determined based on the actual situation (e.g., whether a hand-raising action was detected within the first time period). In another possible implementation, if the target action is a hand-raising action, the first action count corresponding to the hand-raising action can be understood as the number of hand-raising actions detected within the first time period. If the first action count is 1, it indicates that one hand-raising action was detected within the first time period, and the corresponding first shortcut key can be determined based on this single hand-raising action.
[0051] In one embodiment, the target action is a hand-raising action; such as Figure 4As shown, step S302, which is to determine the first action count corresponding to the target action as the sum of the current action count and 1 when any two adjacent fingerprint images meet the evaluation conditions corresponding to the target action, includes: S401: When any two adjacent fingerprint images meet the evaluation conditions corresponding to the hand-raising action, perform sliding detection on multiple fingerprint images corresponding to the current pressing cycle to determine the sliding detection result; wherein, the current pressing cycle is determined based on the hand-raising time corresponding to the currently detected hand-raising action and the pressing time of the most recent detected pressing action; S402: If the swipe detection result indicates that a fingerprint swipe exists, then the current action count corresponding to the hand-raising action is determined as the first action count corresponding to the hand-raising action; S403: If the swipe detection result is that there is no fingerprint swipe, then the sum of the current action count corresponding to the hand-raising action and 1 is determined as the first action count corresponding to the hand-raising action.
[0052] As an example, in step S401, when the target action is a hand-raising action, the controller determines that when any two adjacent fingerprint images meet the evaluation conditions corresponding to the hand-raising action, the user's finger is detected leaving the fingerprint recognition module at the time of acquisition of the next fingerprint image in any two adjacent fingerprint images, i.e., the user's hand-raising action is detected. The acquisition time corresponding to the next fingerprint image can be determined as the hand-raising time t4. Further, the pressing time t3 corresponding to this hand-raising action is determined. Here, pressing time t3 can be understood as the time when the pressing action was most recently detected before hand-raising time t4, specifically the acquisition time of the next fingerprint image when any two adjacent fingerprint images meet the evaluation conditions corresponding to the pressing action. Then, the time period between pressing time t3 and hand-raising time t4 is determined as the current pressing cycle. Finally, a slide detection is performed on all fingerprint images within the current pressing cycle, specifically to detect whether the fingerprint in the fingerprint image has slid, to determine the corresponding slide detection result.
[0053] As an example, in step S402, when the sliding detection result indicates that there is a fingerprint sliding, the controller determines that the user's finger slides on the fingerprint recognition module within the current pressing cycle. At this time, the lifting action is deemed invalid, and the current action count corresponding to the lifting action can be determined as the first action count corresponding to the lifting action, so as to quickly determine the first shortcut key corresponding to the first action count based on the first action count corresponding to the lifting action.
[0054] As an example, in step S403, when the sliding detection result is that there is no fingerprint sliding, the controller determines that the user's finger did not slide on the fingerprint recognition module during the current pressing cycle. That is, the user's finger only performs pressing and lifting actions on the fingerprint recognition module, without fingerprint sliding in between. At this time, the lifting action is deemed valid, and the sum of the current number of lifting actions and 1 can be determined as the first number of actions corresponding to the lifting action, so as to quickly determine the first shortcut key corresponding to the first number of actions based on the first number of actions corresponding to the lifting action.
[0055] In one embodiment, such as Figure 5 As shown, step S401, which involves performing sliding detection on multiple fingerprint images corresponding to the current pressing cycle and determining the sliding detection result, includes: S501: Perform fingerprint navigation on multiple fingerprint images corresponding to the current pressing cycle to determine the second displacement information; S502: If the second displacement information satisfies the fingerprint sliding condition, then the sliding detection result is determined to be that fingerprint sliding exists; S502: If the second displacement information does not meet the fingerprint sliding condition, then the sliding detection result is determined to be that there is no fingerprint sliding.
[0056] The second displacement information is fingerprint displacement information determined based on multiple frames of fingerprint images within the current pressing cycle. The fingerprint slip condition is a pre-set condition used to assess whether fingerprint slippage has occurred.
[0057] As an example, the controller can select M fingerprint images for sliding detection from multiple frames of fingerprint images within the current pressing cycle based on preset filtering rules. It then performs fingerprint navigation on the selected M fingerprint images to determine their corresponding second displacement information. For instance, when M=2, the controller can perform fingerprint navigation on the first and last fingerprint images, and determine the calculated fingerprint displacement information as the second displacement information. When M>2, any two fingerprint images are grouped into a fingerprint image group, the fingerprint displacement information corresponding to each fingerprint image group is calculated, and then the fingerprint displacement information corresponding to all fingerprint image groups is superimposed to determine the second displacement information.
[0058] In this example, after determining the second displacement information, the controller compares it with pre-set fingerprint sliding conditions. If the second displacement information meets the fingerprint sliding conditions, it is determined that the user's finger slides on the fingerprint recognition module during the current pressing cycle, and therefore, the sliding detection result is determined to be that fingerprint sliding exists. Conversely, if the second displacement information does not meet the fingerprint sliding conditions, it is determined that the user's finger does not slide on the fingerprint recognition module during the current pressing cycle, and therefore, the sliding detection result is determined to be that fingerprint sliding does not exist. Understandably, based on the comparison result between the second displacement information and the pre-set fingerprint sliding conditions, the corresponding sliding detection result can be quickly determined. The calculation process is simple and does not require additional hardware equipment for collecting sliding detection-related data, thus helping to save costs.
[0059] In one embodiment, the second displacement information includes the first fingerprint displacement and the second fingerprint displacement; The first fingerprint displacement is the sum of all lateral fingerprint displacements within the current pressing cycle. The lateral fingerprint displacement is determined based on the abscissa of feature points in any two adjacent fingerprint images. The second fingerprint displacement is the sum of all longitudinal fingerprint displacements within the current pressing cycle. The longitudinal fingerprint displacement is determined based on the ordinate of feature points in any two adjacent fingerprint images. The fingerprint sliding condition is that at least one of the first fingerprint displacement and the second fingerprint displacement is greater than the preset fingerprint displacement.
[0060] Among them, the preset fingerprint displacement is the fingerprint displacement information that is set in advance. This preset fingerprint displacement is used to evaluate whether the fingerprint displacement has reached a threshold of a larger standard.
[0061] As an example, the controller acquires multiple frames of fingerprint images within the current pressing cycle. Based on the coordinate information corresponding to the same feature point in any two adjacent fingerprint images, it determines the fingerprint displacement corresponding to any two adjacent fingerprint images. The fingerprint displacement includes lateral fingerprint displacement and vertical fingerprint displacement. Then, it superimposes the fingerprint displacements corresponding to all two adjacent fingerprint images within the current pressing cycle, determining the sum of all lateral fingerprint displacements within the current pressing cycle as the first fingerprint displacement, and the sum of all vertical fingerprint displacements within the current pressing cycle as the second fingerprint displacement. Next, it compares the first and second fingerprint displacements with a preset fingerprint displacement. If at least one of the first and second fingerprint displacements is greater than the preset fingerprint displacement, it is determined that the user's finger has slid significantly laterally and / or vertically on the fingerprint recognition module, thus confirming that the user's finger has slid on the fingerprint recognition module and satisfying the fingerprint sliding condition.
[0062] For example, in the multiple fingerprint images acquired by the fingerprint recognition module, the coordinate information of the fingerprint center, a feature point, in each fingerprint image is as follows: ( , ), ( , ... ( , ... ( , ), The x-coordinate of the feature point The ordinate of the feature point is used; based on the coordinate information of the same feature point in any two adjacent fingerprint images, the fingerprint displacement corresponding to any two adjacent fingerprint images is determined, that is, the fingerprint displacement corresponding to the i-th fingerprint image and the (i+1)-th fingerprint image is... ( , ), , , 1≤i≤N-1; then, based on the fingerprint displacements corresponding to any two adjacent fingerprint images, the corresponding first fingerprint displacement Second fingerprint displacement , , Next, the first fingerprint is displaced. Second fingerprint displacement With preset fingerprint displacement If a comparison is made, , and / or If the fingerprint is detected, it is determined that the user's finger has slid on the fingerprint recognition module, thus satisfying the fingerprint sliding condition.
[0063] In one embodiment, such as Figure 6 As shown, step S202, which is to determine the first shortcut key corresponding to the first fingerprint data based on the number of first actions and the first mapping relationship corresponding to the target action, includes: S601: If the number of times the first action corresponding to the target action is 0, then the pre-set navigation requirement key will be determined as the first shortcut key corresponding to the first fingerprint data; S602: If the number of first actions corresponding to the target action is not 0, then based on the number of first actions corresponding to the target action and the first mapping relationship, determine the first shortcut key corresponding to the first fingerprint data. The function shortcut key in the first mapping relationship is a non-navigation requirement key.
[0064] As an example, after determining the number of first actions corresponding to the target action, the controller checks whether the number of first actions is 0. If the number of first actions is 0, it is determined that no target action (such as raising the hand) was detected in the first time period after the first press action was detected. It can be assumed that the user's finger has performed a long press operation on the fingerprint recognition module, and there is a high probability that the fingerprint navigation function will be triggered on the fingerprint recognition module. Therefore, the pre-set navigation demand key is determined as the first shortcut key corresponding to the first fingerprint data. If the number of first actions is not 0, for example, the number of first actions is 1, 2 or 3, it is determined that a target action (raising the hand) corresponding to the number of first actions was detected in the first time period after the first press action was detected. At this time, the controller can query the pre-set first mapping relationship based on the number of first actions corresponding to the target action, and determine the non-navigation demand key that matches the number of first actions in the first mapping relationship as the first shortcut key corresponding to the first fingerprint data, thereby ensuring the rapid determination of the first shortcut key.
[0065] For example, if the first action count for a target action (such as raising a hand) is 0, it can be determined that the user's finger is pressing and holding on the fingerprint recognition module, thus identifying it as a navigation key. This navigation key could be a mouse movement key or an application shortcut. If the first action count for a target action (such as raising a hand) is 1, it can be determined as a single-click action. If the first action count for a target action (such as raising a hand) is 2, it can be determined as a double-click action. Single-click and double-click actions correspond to non-navigation key actions such as locking the screen or turning the microphone on / off, respectively.
[0066] In one embodiment, such as Figure 7 As shown, step S103, which involves fingerprint navigation of the second fingerprint data collected by the fingerprint recognition module, determining the first displacement information, and executing the target operation corresponding to the first displacement information, includes: S701: When the navigation request key is the mouse movement key, perform fingerprint navigation displacement calculation on the second fingerprint data collected by the fingerprint recognition module to determine the first displacement information, which includes the fingerprint movement direction and fingerprint movement distance. S702: Determine the mouse movement distance based on the fingerprint movement distance and the second mapping relationship. The second mapping relationship is used to characterize the mapping relationship between the fingerprint movement distance and the corresponding mouse movement distance. S703: Controls the movement of the mouse cursor on the current screen based on the fingerprint movement direction and the mouse movement distance.
[0067] As an example, in step S701, when the navigation request key is a mouse movement key, the controller can perform fingerprint navigation on the second fingerprint data collected by the fingerprint recognition module to determine the corresponding fingerprint movement direction and distance. Specifically, the controller calculates the difference between the coordinates of the same feature point in any two adjacent fingerprint images to determine the fingerprint movement direction and distance between the acquisition times of any two adjacent fingerprint images. For example, the coordinates of the fingerprint center feature point in each of the multiple fingerprint images collected by the fingerprint recognition module are as follows: ( , ), ( , ... ( , ... ( , ), The x-coordinate of the feature point The ordinate of the feature point is used; based on the coordinate information of the same feature point in any two adjacent fingerprint images, the fingerprint displacement corresponding to any two adjacent fingerprint images is determined, that is, the fingerprint displacement corresponding to the i-th fingerprint image and the (i+1)-th fingerprint image is... ( , ), , 1≤i≤N-1, where N is the number of fingerprint images; in this example, it can be determined according to... and The sign of the value determines the corresponding fingerprint movement direction. and The absolute value of the value is used to determine the corresponding fingerprint movement distance.
[0068] As an example, in step S702, after determining the fingerprint movement distance corresponding to any two adjacent fingerprint images, the controller can query a pre-set second mapping relationship based on the fingerprint movement distance to determine the corresponding mouse movement distance. For example, this second mapping relationship can be pre-determined based on the module size of the fingerprint recognition module and the screen size of the display screen connected to the controller. If the screen size of the display screen is K1 times the module size of the fingerprint recognition module, K1 times can be determined as the mapping relationship between the fingerprint movement distance and the corresponding mouse movement distance. After determining the fingerprint movement distance, it can be magnified by K1 times to determine its corresponding mouse movement distance.
[0069] As an example, in step S703, the controller can control the movement of the mouse cursor on the current screen based on the determined fingerprint movement direction and mouse movement distance. Specifically, the fingerprint movement direction is determined as the mouse cursor movement direction, and the mouse cursor is moved from its current position by the determined movement distance until it reaches the target position. This achieves quick control of the mouse cursor movement based on the second fingerprint data collected by the fingerprint recognition module. Here, "current screen" refers to the screen currently displayed.
[0070] In one embodiment, such as Figure 8 As shown, step S103, which involves fingerprint navigation of the second fingerprint data collected by the fingerprint recognition module, determining the first displacement information, and executing the target operation corresponding to the first displacement information, includes: S801: When the navigation request key is an application shortcut key, determine the target interface corresponding to the application shortcut key, display the target interface, and determine the interface size of the target interface; S802: Perform fingerprint navigation on the second fingerprint data collected by the fingerprint recognition module to calculate the displacement and determine the fingerprint movement direction and distance. S803: Determine the interface movement distance based on the module size of the fingerprint recognition module, the interface size of the target interface, and the fingerprint movement distance; S804: Select the target application from at least one candidate application on the target interface based on the fingerprint movement direction and the interface movement distance.
[0071] As an example, in step S801, when the navigation request key is an application shortcut key, the controller can determine the target interface corresponding to the application shortcut key, and then control the display screen to display the target interface. When the target interface is displayed, the interface size of the target interface is obtained, which can be dynamically determined based on the coordinates of the target interface on the display screen. The target interface contains at least one candidate application, allowing the user to select the target application to open from at least one candidate application displayed on the target interface. In this example, the target interface can be a pre-set interface associated with the application shortcut key, or it can be a pre-set interface determined by further filtering multiple pre-set interfaces associated with the application shortcut key. Here, the target interface refers to the interface that the display screen needs to access. The target application refers to the application that needs to be operated.
[0072] As an example, in step S802, the controller can perform fingerprint navigation on the second fingerprint data collected by the fingerprint recognition module to determine the corresponding fingerprint movement direction and distance. Specifically, the controller calculates the difference between the coordinates of the same feature point in any two adjacent fingerprint images to determine the fingerprint movement direction and distance between the acquisition times of any two adjacent fingerprint images. For example, the coordinates of the fingerprint center feature point in each of the multiple fingerprint images collected by the fingerprint recognition module are as follows: ( , ), ( , ... ( , ... ( , ), The x-coordinate of the feature point The ordinate of the feature point is used; based on the coordinate information of the same feature point in any two adjacent fingerprint images, the fingerprint displacement corresponding to any two adjacent fingerprint images is determined, that is, the fingerprint displacement corresponding to the i-th fingerprint image and the (i+1)-th fingerprint image is... ( , ), , In this example, it can be based on and The sign of the value determines the corresponding fingerprint movement direction. and The absolute value of the value is used to determine the corresponding fingerprint movement distance.
[0073] As an example, in step S803, after obtaining the interface size corresponding to the target interface, the controller can determine the distance mapping relationship based on the pre-obtained module size of the fingerprint recognition module and the interface size corresponding to the target interface. That is, the distance mapping relationship is determined based on the module size of the fingerprint recognition module and the interface size of the target interface. Then, based on the fingerprint movement distance and the distance mapping relationship, the interface movement distance corresponding to the fingerprint movement distance is determined. For example, if the interface size of the target interface is K2 times the module size of the fingerprint recognition module, then the distance mapping relationship is K2. After determining the fingerprint movement distance, it is magnified by K2 times to determine the interface movement distance corresponding to the fingerprint movement distance.
[0074] As an example, in step S804, the controller can control the movement of the mouse cursor or pointer on the target interface according to the determined fingerprint movement direction and interface movement distance, so that it can move to the application position corresponding to the target application, and select the target application from at least one candidate application on the target interface, so as to perform quick operation on the target application.
[0075] In one embodiment, such as Figure 9 As shown, step S801, which is to determine the target interface corresponding to the application shortcut key when the navigation demand key is an application shortcut key, includes: S901: When the navigation request key is an application shortcut key, perform fingerprint recognition on the real-time fingerprint image collected by the fingerprint recognition module and at least one registered fingerprint image; S902: If the real-time fingerprint image fails to match all registered fingerprint images, the general interface will be determined as the target interface corresponding to the application shortcut key. S903: If the real-time fingerprint image matches any registered fingerprint image, the dedicated interface corresponding to the successfully matched registered fingerprint image will be determined as the target interface corresponding to the application shortcut key.
[0076] The registered fingerprint image is a pre-set fingerprint image corresponding to a registered user, specifically a fingerprint image pre-stored in a memory connected to the controller. In this example, the user can store the registered fingerprint image corresponding to one finger in the memory, or they can store the registered fingerprint images corresponding to at least two fingers in the memory. Furthermore, when storing the registered fingerprint image, a dedicated interface corresponding to the registered fingerprint image can also be stored in association.
[0077] As an example, in step S901, when the navigation request key is an application shortcut key, the controller can acquire the real-time fingerprint image collected by the fingerprint recognition module, perform fingerprint recognition between the real-time fingerprint image and at least one registered fingerprint image, and determine the fingerprint recognition result. For example, the controller can perform a similarity judgment on the real-time fingerprint image and each registered fingerprint image to determine the fingerprint similarity between the two. If the fingerprint similarity is greater than a preset similarity, it is determined that the real-time fingerprint image and the registered fingerprint image have successfully matched; otherwise, if the fingerprint similarity is not greater than the preset similarity, it is determined that the real-time fingerprint image and the registered fingerprint image have failed to match.
[0078] As an example, in step S902, when the controller determines that the fingerprint recognition results corresponding to the real-time fingerprint image and all registered fingerprint images are all unmatched, it can be determined that the user corresponding to the real-time fingerprint image is not the registered user corresponding to the registered fingerprint image. At this time, the general interface corresponding to the navigation requirement key can be determined as the target interface, so that the unregistered user can switch to the general interface through the fingerprint data collected by the fingerprint recognition module, so as to further select the target application from at least one candidate application in the general interface.
[0079] As an example, in step S903, when the controller determines that the fingerprint recognition result corresponding to any registered fingerprint image is a successful match, it can determine the dedicated interface corresponding to the successfully matched registered fingerprint image as the target interface, so that the registered user can switch to the dedicated interface corresponding to a specific finger through the fingerprint data collected by the fingerprint recognition module, so as to further select the target application from at least one candidate application in the dedicated interface.
[0080] For example, registered fingerprint images corresponding to L fingers of a registered user can be pre-collected. Each registered fingerprint image corresponds to a dedicated interface, and the L registered fingerprint images and their corresponding dedicated interfaces are associated and stored in memory, along with a general interface. After determining the real-time fingerprint image, the controller can perform fingerprint recognition between the real-time fingerprint image and the L registered fingerprint images. If the real-time fingerprint image fails to match any of the L registered fingerprint images, the general interface can be directly designated as the target interface. If the real-time fingerprint image successfully matches one of the registered fingerprint images, the dedicated interface corresponding to that successfully matched registered fingerprint image is designated as the target interface, enabling users to quickly open the corresponding dedicated interface using different fingers and select and operate on the available applications within the dedicated interface.
[0081] In one embodiment, such as Figure 10 As shown, after step S804, that is, after selecting the target application from at least one candidate application on the target interface based on the fingerprint movement direction and the interface movement distance, the fingerprint-based quick operation method further includes: S1001: Acquire the third fingerprint data collected by the fingerprint recognition module. The third fingerprint data includes multiple frames of fingerprint images collected within the second time period. S1002: Detect target action on multiple frames of fingerprint images acquired during the second time period, and determine the number of second actions corresponding to the target action; S1003: Based on the second action count and the third mapping relationship corresponding to the target action, determine the second shortcut key corresponding to the third fingerprint data. The third mapping relationship is used to characterize the mapping relationship between different action counts and their corresponding application operation keys. S1004: Apply to the target and execute the target operation corresponding to the second shortcut key.
[0082] The third fingerprint data is the fingerprint data collected after selecting the target application; specifically, it is the fingerprint data used to determine the second shortcut key. The second shortcut key refers to the application operation key determined based on the third fingerprint data, which is a shortcut key used to perform a specific operation on the target application.
[0083] The second time period is used to define the time period for collecting the third fingerprint data. As an example, the second time period can be a pre-set time period or a time period dynamically determined based on the actual situation.
[0084] As an example, in step S1001, after the controller selects a target application from at least one candidate application on the target interface, it can obtain third fingerprint data collected by the fingerprint recognition module connected to it. The third fingerprint data includes multiple frames of fingerprint images collected by the fingerprint recognition module.
[0085] As an example, in step S1002, after the controller obtains the third fingerprint data, it can perform target action detection on the multiple frames of fingerprint images collected in the second time period, determine the number of times the user performs the target action in the second time period, and determine the number of times the target action is determined as the number of times the target action is performed. The target action here is the action that needs to be monitored. The target action can be a pressing action or a lifting action. Its determination process is similar to the number of times the target action is determined in step S201. To avoid repetition, it will not be described in detail here.
[0086] As an example, in step S1003, after determining the number of second actions corresponding to the target action, the controller can query a pre-set third mapping relationship based on the number of second actions. The application operation key matching the number of second actions corresponding to the target action in the third mapping relationship is then determined as the second shortcut key corresponding to the third fingerprint data. For example, if the pre-set third mapping relationship assigns the application operation key for an action count of 1 as the "open application" key and the application operation key for an action count of 2 as the "close application" key, then when the number of second actions corresponding to the target action determined based on the third fingerprint data is 1, the corresponding second shortcut key is determined to be the "open application" key; conversely, when the number of second actions is 2, the corresponding second shortcut key is determined to be the "close application" key.
[0087] As an example, in step S1004, after determining the second shortcut key, the controller can perform the target operation corresponding to the second shortcut key on the target application. That is, when the second shortcut key is the open application key, the target application can be opened; conversely, when the second shortcut key is the close application key, the target application can be closed. This enables the target application to perform corresponding operations quickly based on the third fingerprint data collected by the fingerprint recognition module, thereby improving its operating efficiency and enhancing the user experience.
[0088] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0089] In one embodiment, a controller is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the fingerprint-based shortcut operation method described in the above embodiments, for example... Figure 1 As shown in S101-S104, or Figures 2 to 10 As shown in the figure, to avoid repetition, it will not be repeated here.
[0090] In one embodiment, a fingerprint recognition chip is provided, including a fingerprint recognition module and a controller as described in the above embodiments. The controller is connected to the fingerprint recognition module to implement the fingerprint-based quick operation method described in the above embodiments, for example... Figure 1 As shown in S101-S104, or Figures 2 to 10 As shown in the figure, to avoid repetition, it will not be repeated here.
[0091] In one embodiment, a computer device is provided, which includes the controller in the above embodiments, or the fingerprint recognition module in the above embodiments.
[0092] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When executed by a processor, the computer program implements the fingerprint-based shortcut operation method described in the above embodiment, for example... Figure 1 As shown in S101-S104, or Figures 2 to 10 As shown in the figure, to avoid repetition, it will not be repeated here.
[0093] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. A fingerprint-based quick operation method, characterized in that, include: Acquire the first fingerprint data collected by the fingerprint recognition module; Based on the first fingerprint data, determine the first shortcut key corresponding to the first fingerprint data; When the first shortcut key is a navigation request key, fingerprint navigation is performed on the second fingerprint data collected by the fingerprint recognition module to determine the first displacement information and execute the target operation corresponding to the first displacement information. The navigation request key refers to the shortcut key that needs to trigger the fingerprint navigation function. When the first shortcut key is a non-navigation required key, the target operation corresponding to the first shortcut key is executed. The non-navigation required key refers to a shortcut key that does not require triggering the fingerprint navigation function.
2. The fingerprint-based quick operation method according to claim 1, characterized in that, The first fingerprint data includes multiple frames of fingerprint images collected within a first time period; The step of determining the first shortcut key corresponding to the first fingerprint data based on the first fingerprint data includes: Target action detection is performed on multiple frames of fingerprint images collected within the first time period to determine the number of first actions corresponding to the target actions. Based on the first number of actions and the first mapping relationship corresponding to the target action, the first shortcut key corresponding to the first fingerprint data is determined. The first mapping relationship is used to characterize the mapping relationship between different number of actions and their corresponding function shortcut keys.
3. The fingerprint-based quick operation method according to claim 2, characterized in that, The first time period is determined based on the start time and a preset duration; The starting time is the moment when two adjacent frames of the preceding fingerprint image meet the evaluation conditions corresponding to the pressing action, and the preceding fingerprint image is the fingerprint image acquired before the acquisition of the first fingerprint data; The evaluation condition corresponding to the pressing action is that in two adjacent fingerprint images, the previous fingerprint image is a fingerprint-free image and the next fingerprint image is a fingerprint-containing image.
4. The fingerprint-based quick operation method according to claim 2, characterized in that, The step of detecting target actions in multiple frames of fingerprint images acquired within the first time period and determining the number of first actions corresponding to the target actions includes: Detect any two adjacent frames of fingerprint images collected within the first time period; When any two adjacent fingerprint images meet the evaluation conditions corresponding to the target action, the sum of the current action count corresponding to the target action and 1 is determined as the first action count corresponding to the target action.
5. The fingerprint-based quick operation method according to claim 4, characterized in that, The target action is a pressing action or a lifting action; The evaluation condition corresponding to the pressing action is that in two adjacent fingerprint images, the previous fingerprint image is a fingerprint-free image and the next fingerprint image is a fingerprint-containing image. The evaluation condition corresponding to the hand-raising action is that in two adjacent fingerprint images, the previous fingerprint image is a fingerprint image and the next fingerprint image is a fingerprint image without fingerprints.
6. The fingerprint-based quick operation method according to claim 4, characterized in that, The target action is a hand-raising action; When any two adjacent fingerprint images satisfy the evaluation conditions corresponding to the target action, the sum of the current action count corresponding to the target action and 1 is determined as the first action count corresponding to the target action, including: When any two adjacent fingerprint images meet the evaluation conditions corresponding to the hand-raising action, slide detection is performed on multiple fingerprint images corresponding to the current pressing cycle to determine the slide detection result; wherein, the current pressing cycle is determined based on the hand-raising time corresponding to the currently detected hand-raising action and the pressing time of the most recent detected pressing action; If the sliding detection result indicates that a fingerprint sliding exists, then the current number of actions corresponding to the hand-raising action is determined as the first number of actions corresponding to the hand-raising action; If the sliding detection result is that there is no fingerprint sliding, then the sum of the current action count corresponding to the hand-raising action and 1 is determined as the first action count corresponding to the hand-raising action.
7. The fingerprint-based quick operation method according to claim 6, characterized in that, The step of performing slide detection on multiple fingerprint images corresponding to the current pressing cycle and determining the slide detection result includes: Fingerprint navigation is performed on multiple fingerprint images corresponding to the current pressing cycle to determine the second displacement information; If the second displacement information satisfies the fingerprint sliding condition, then the sliding detection result is determined to indicate that fingerprint sliding exists; If the second displacement information does not meet the fingerprint sliding condition, then the sliding detection result is determined to be that no fingerprint sliding exists.
8. The fingerprint-based quick operation method according to claim 7, characterized in that, The second displacement information includes the first fingerprint displacement and the second fingerprint displacement; The first fingerprint displacement is the sum of all lateral fingerprint displacements within the current pressing cycle, and the lateral fingerprint displacement is determined based on the abscissa of feature points in any two adjacent frames of the fingerprint image. The second fingerprint displacement is the sum of all vertical fingerprint displacements within the current pressing cycle, and the vertical fingerprint displacement is determined based on the ordinate of feature points in any two adjacent frames of the fingerprint image; The fingerprint sliding condition is that at least one of the first fingerprint displacement and the second fingerprint displacement is greater than a preset fingerprint displacement.
9. The fingerprint-based quick operation method according to claim 2, characterized in that, The step of determining the first shortcut key corresponding to the first fingerprint data based on the number of first actions and the first mapping relationship corresponding to the target action includes: If the number of times the first action corresponding to the target action is 0, then the pre-set navigation requirement key will be determined as the first shortcut key corresponding to the first fingerprint data; If the number of first actions corresponding to the target action is not 0, then based on the number of first actions corresponding to the target action and the first mapping relationship, the first shortcut key corresponding to the first fingerprint data is determined, and the function shortcut key in the first mapping relationship is a non-navigation requirement key.
10. The fingerprint-based quick operation method according to claim 1, characterized in that, The step of performing fingerprint navigation on the second fingerprint data collected by the fingerprint recognition module, determining first displacement information, and executing the target operation corresponding to the first displacement information includes: When the navigation key is a mouse movement key, the fingerprint navigation is performed on the second fingerprint data collected by the fingerprint recognition module to calculate the displacement and determine the first displacement information, which includes the fingerprint movement direction and the fingerprint movement distance. Based on the fingerprint movement distance and the second mapping relationship, the mouse movement distance is determined, wherein the second mapping relationship is used to characterize the mapping relationship between the fingerprint movement distance and the corresponding mouse movement distance; Based on the fingerprint movement direction and the mouse movement distance, control the movement of the mouse cursor on the current interface.
11. The fingerprint-based quick operation method according to claim 1, characterized in that, The step of performing fingerprint navigation on the second fingerprint data collected by the fingerprint recognition module, determining first displacement information, and executing the target operation corresponding to the first displacement information includes: When the navigation request key is an application shortcut key, determine the target interface corresponding to the application shortcut key, display the target interface, and determine the interface size of the target interface; The fingerprint recognition module performs fingerprint navigation to calculate displacement and determine the fingerprint movement direction and distance by collecting the second fingerprint data. The interface movement distance is determined based on the module size of the fingerprint recognition module, the interface size of the target interface, and the fingerprint movement distance. Based on the fingerprint movement direction and the interface movement distance, a target application is selected from at least one candidate application on the target interface.
12. The fingerprint-based quick operation method according to claim 11, characterized in that, When the navigation request key is an application shortcut key, determining the target interface corresponding to the application shortcut key includes: When the navigation request key is an application shortcut key, fingerprint recognition is performed on the real-time fingerprint image and at least one registered fingerprint image collected by the fingerprint recognition module; If the real-time fingerprint image fails to match all the registered fingerprint images, the general interface will be determined as the target interface corresponding to the application shortcut key. If the real-time fingerprint image matches any of the registered fingerprint images, the dedicated interface corresponding to the successfully matched registered fingerprint image will be determined as the target interface corresponding to the application shortcut key.
13. The fingerprint-based quick operation method according to claim 11, characterized in that, After selecting a target application from at least one candidate application on the target interface based on the fingerprint movement direction and the interface movement distance, the fingerprint-based shortcut operation method further includes: Acquire third fingerprint data collected by the fingerprint recognition module, the third fingerprint data including multiple frames of fingerprint images collected within the second time period; Target action detection is performed on multiple frames of fingerprint images acquired during the second time period to determine the number of second actions corresponding to the target action; Based on the second number of actions corresponding to the target action and the third mapping relationship, the second shortcut key corresponding to the third fingerprint data is determined. The third mapping relationship is used to characterize the mapping relationship between different number of actions and their corresponding application operation keys. For the target application, perform the target operation corresponding to the second shortcut key.
14. A controller comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the fingerprint-based shortcut operation method according to any one of claims 1 to 13.
15. A fingerprint recognition chip, characterized in that, It includes a fingerprint recognition module and a controller as described in claim 14, wherein the controller is connected to the fingerprint recognition module.
16. A computer device, characterized in that, It includes the controller of claim 14, or the fingerprint recognition chip of claim 15.
17. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the fingerprint-based shortcut operation method according to any one of claims 1 to 13.