Fingerprint identification method, device, electronic device and readable storage medium
By using the first screen to obtain fingerprint information in a multi-screen electronic device and extracting the pre-stored fingerprint template of the second screen, the problem of high redundancy in fingerprint recognition operation in a multi-screen device is solved, and the recognition efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202110692667.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-22
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2041-06-22
AI Technical Summary
In multi-screen electronic devices, users need to repeatedly obtain fingerprint information through different screens to achieve fingerprint recognition, resulting in high operational redundancy.
The fingerprint information is obtained through the first screen and the fingerprint feature is extracted based on the fingerprint recognition method of the second screen as the pre-stored fingerprint template of the second screen, reducing the number of operations of the user in the fingerprint recognition process of the multi-screen electronic device.
It reduces the redundancy of user operations, improves the efficiency and accuracy of fingerprint recognition, and reduces the need to obtain fingerprint information separately for each screen.
Smart Images

Figure CN113486738B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic devices, and specifically relates to a fingerprint recognition method, device, electronic device and readable storage medium. Background Art
[0002] Generally, multi-screen electronic devices are equipped with multiple screens (such as folding screens, double-sided screens, and triple-sided screens) to enable users to play games, send messages, watch videos, and other operations at the same time to meet the diverse needs of users. For multi-screen electronic devices, different screens are usually equipped with different fingerprint recognition modules, such as optical fingerprint modules, semiconductor fingerprint modules, radio frequency fingerprint modules, and so on.
[0003] For multi-screen electronic devices, fingerprint information needs to be obtained through all screens in order to extract and generate pre-stored fingerprint feature information corresponding to each screen. In other words, for multi-screen electronic devices, fingerprint information needs to be repeatedly obtained through different screens in order to achieve fingerprint recognition, resulting in high redundancy of user operations. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a fingerprint recognition method, device, electronic device and readable storage medium, which can solve the problem of high redundancy of user operations during the fingerprint recognition process of a multi-screen electronic device.
[0005] In a first aspect, an embodiment of the present application provides a fingerprint recognition method, which is applied to an electronic device including a first screen and a second screen, and the method includes:
[0006] Acquire first fingerprint information through the first screen;
[0007] Based on the fingerprint recognition method corresponding to the second screen, extracting a first fingerprint feature from the first fingerprint information as a first pre-stored fingerprint template corresponding to the second screen;
[0008] Obtaining second fingerprint information through the second screen;
[0009] A second fingerprint feature is extracted from the second fingerprint information, and it is determined whether the second fingerprint feature matches the first pre-stored fingerprint template.
[0010] In a second aspect, an embodiment of the present application provides a fingerprint recognition device, which is applied to an electronic device including a first screen and a second screen, and the device includes: an acquisition module, an extraction module and a judgment module;
[0011] The acquisition module is used to acquire the first fingerprint information through the first screen;
[0012] The extraction module is used to extract the first fingerprint feature from the first fingerprint information as the first pre-stored fingerprint template corresponding to the second screen based on the fingerprint recognition method corresponding to the second screen;
[0013] The acquisition module is further used to acquire the second fingerprint information through the second screen;
[0014] The judgment module is used to extract a second fingerprint feature from the second fingerprint information, and judge whether the second fingerprint feature matches the first pre-stored fingerprint template extracted by the extraction module.
[0015] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0016] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0017] In a fifth aspect, an embodiment of the present application provides a chip, the chip comprising a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method described in the first aspect.
[0018] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a non-volatile storage medium and is executed by at least one processor to implement the method provided in the first aspect.
[0019] In the embodiment of the present application, when the electronic device includes a first screen and a second screen, the first fingerprint information obtained by the user through the first screen is first obtained, and then based on the fingerprint recognition method corresponding to the second screen, the first fingerprint feature is extracted from the first fingerprint information as the first pre-stored fingerprint template corresponding to the second screen, and then the second fingerprint information is obtained through the second screen, and finally the second fingerprint feature is extracted from the second fingerprint information, and it is determined whether the second fingerprint feature matches the first fingerprint template. In this way, by obtaining the first fingerprint information to extract the first pre-stored fingerprint template corresponding to the second screen, the number of operations of the user in the fingerprint recognition process of the multi-screen electronic device is reduced, and the redundancy of the user's operation is reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 This is one of the schematic diagrams of a fingerprint recognition method provided in an embodiment of the present application;
[0021] Figure 2This is the second schematic diagram of a fingerprint recognition method provided in an embodiment of the present application;
[0022] Figure 3 This is the third schematic diagram of a fingerprint recognition method provided in an embodiment of the present application;
[0023] Figure 4 This is a fourth schematic diagram of a fingerprint recognition method provided in an embodiment of the present application;
[0024] Figure 5 This is the fifth schematic diagram of a fingerprint recognition method provided in an embodiment of the present application;
[0025] Figure 6 This is one of the structural schematic diagrams of the fingerprint recognition device provided in the embodiment of the present application;
[0026] Figure 7 It is one of the hardware schematic diagrams of the electronic device provided in the embodiment of the present application;
[0027] Figure 8 This is the second hardware schematic diagram of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0029] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0030] The fingerprint recognition method provided in the embodiment of the present application is described in detail below through specific embodiments in conjunction with the accompanying drawings.
[0031] Since the fingerprint recognition modules corresponding to each screen of a multi-screen electronic device operate independently, for the same screen, only by obtaining fingerprint information through the screen can the corresponding pre-stored fingerprint feature information be generated. For multi-screen electronic devices, fingerprint information needs to be obtained through all screens in order to extract and generate the pre-stored fingerprint feature information corresponding to the screens.
[0032] In the embodiment of the present application, when the electronic device includes a first screen and a second screen, the first fingerprint information obtained by the user through the first screen is first obtained, and then based on the fingerprint recognition method corresponding to the second screen, the first fingerprint feature is extracted from the first fingerprint information as the first pre-stored fingerprint template corresponding to the second screen, and then the second fingerprint information is obtained through the second screen, and finally the second fingerprint feature is extracted from the second fingerprint information, and it is determined whether the second fingerprint feature matches the first fingerprint template. In this way, by obtaining the first fingerprint information to extract the first pre-stored fingerprint template corresponding to the second screen, the number of operations of the user in the fingerprint recognition process of the multi-screen electronic device is reduced, and the redundancy of the user's operation is reduced.
[0033] The technical solution provided in the embodiment of the present application is applied to an electronic device including a first screen and a second screen.
[0034] In an embodiment of the present application, the electronic device includes N display screens, where N is a positive integer not less than 2. The first screen refers to any screen among the N display screens, and the second screen refers to any screen among the N display screens except the first screen. It should be noted that the types of display screens may include at least one of the following: OLED screen, LCD screen, UFB screen, TFD screen, TFT screen, STN screen, and AMOLED screen.
[0035] like Figure 1 As shown, the embodiment of the present application provides a fingerprint recognition method. The method may include the following steps 101 to 104.
[0036] Step 101: Obtain first fingerprint information through the first screen.
[0037] In an embodiment of the present application, the first fingerprint information of the user obtained through the first screen is obtained through the fingerprint recognition method corresponding to the first screen, wherein the fingerprint recognition method can be at least one of the following: an under-screen optical fingerprint recognition method, an under-screen ultrasonic fingerprint recognition method, and a capacitive fingerprint recognition method.
[0038] It is understandable that if the first fingerprint information includes valid fingerprint information of multiple fingers, then before obtaining the first fingerprint information, the number of fingers corresponding to the first fingerprint information may be limited.
[0039] In an example, in the process of acquiring the first fingerprint information, in the case of multiple fingers, the fingerprint information of one finger may be acquired each time, and the first fingerprint information may be acquired in a manner of multiple acquisitions.
[0040] In another example, in the process of acquiring the first fingerprint information, in the case of multiple fingers, the fingerprint information of the multiple fingers may be acquired each time, and the first fingerprint information may be acquired in a one-time acquisition manner.
[0041] Optionally, in the embodiment of the present application, the first fingerprint information can also be obtained through an independent fingerprint acquisition module corresponding to the first screen. The fingerprint recognition mode corresponding to the fingerprint acquisition module can be at least one of the following: optical fingerprint mode, thermal fingerprint mode and bio-radio frequency fingerprint mode.
[0042] Step 102: Based on the fingerprint recognition method corresponding to the second screen, a first fingerprint feature is extracted from the first fingerprint information as a first pre-stored fingerprint template corresponding to the second screen.
[0043] In the embodiment of the present application, the first fingerprint information is obtained through the first screen, and then the first fingerprint feature is extracted from the first fingerprint information according to the fingerprint recognition method corresponding to the second screen, and the first fingerprint feature is used as the first pre-stored fingerprint template. The key point is that the first pre-stored fingerprint template corresponding to the second screen can be determined through the first fingerprint information obtained on the first screen.
[0044] It can be understood that by obtaining the first fingerprint information through the first screen and then determining the first pre-stored fingerprint template corresponding to the second screen different from the first screen, it is not necessary to obtain fingerprint information from each screen of the electronic device separately to determine the pre-stored fingerprint template corresponding to each screen during the recognition process of the electronic device.
[0045] In the embodiment of the present application, the first pre-stored fingerprint template is the basis for judging whether the second fingerprint information obtained through the second screen again passes the verification. That is, the other fingerprint information obtained through the second screen is matched with the first pre-stored fingerprint template. If they can match, the other fingerprint information passes the fingerprint verification of the second screen. If they cannot match, the other fingerprint information fails to pass the fingerprint verification of the second screen, and the screen unlocking, payment, application login and other operations cannot be performed.
[0046] Optionally, in an embodiment of the present application, the first pre-stored fingerprint template may include fingerprint features of one or more fingers. If the first fingerprint information includes valid fingerprint information of multiple fingers, the pre-stored fingerprint template corresponding to the first fingerprint information includes fingerprint features extracted from the valid fingerprint information of each finger.
[0047] Optionally, in the embodiment of the present application, the first fingerprint information may be preprocessed before the first fingerprint feature is extracted, wherein the preprocessing method used in the preprocessing process includes at least one of the following: removing background information, normalizing, extracting effective images, Gabor filtering, directional enhancement, binarization, and dilation corrosion.
[0048] In the embodiment of the present application, according to the fingerprint recognition method corresponding to the second screen, it can be known that the first fingerprint feature includes at least one of the following: outer contour, texture pattern, core point, triangle point, style line, node type, node direction, node curvature and node position.
[0049] It is understandable that, since different fingerprint recognition methods can identify fingerprint features with different accuracy and difficulty, the first fingerprint feature extracted according to the fingerprint recognition method corresponding to the second screen can better highlight the fingerprint feature and improve the accuracy and speed of subsequent fingerprint recognition.
[0050] Exemplarily, it is assumed that the fingerprint recognition method corresponding to the second screen is an under-screen optical fingerprint recognition method. Since the under-screen optical fingerprint recognition method mainly relies on optical reflection to detect fingerprint patterns, it is sensitive to the luminous brightness of the fingerprint collection area. Before extracting the first fingerprint feature, the first fingerprint information is segmented into a fingerprint information image containing fingerprint information, and then the fingerprint information image is fingerprint enhanced to reduce the influence of the luminous brightness on the first fingerprint feature. The fingerprint information image is then binarized to compress the data volume, and finally the binary image is refined, the edge pixels are deleted, and the fingerprint matching speed is improved. Extracting the first fingerprint feature, that is, extracting the first fingerprint feature according to the refined image. Extracting the first fingerprint feature specifically includes: extracting at least one of the following according to the preset pixel block: core point, triangulation point, node type, node direction, node curvature and node position.
[0051] Step 103: Obtain second fingerprint information through the second screen.
[0052] In the embodiment of the present application, the second fingerprint information is obtained through any screen (i.e., the second screen) in the electronic device except the first screen, wherein the second fingerprint information can be used to unlock the second screen.
[0053] Step 104: extracting a second fingerprint feature from the second fingerprint information, and determining whether the second fingerprint feature matches the first pre-stored fingerprint template.
[0054] In the embodiment of the present application, the second fingerprint feature is extracted from the second fingerprint information according to the fingerprint recognition method corresponding to the second screen.
[0055] In the embodiment of the present application, the second fingerprint features include core points, triangulation points, grain numbers, and their corresponding directions, curvatures, and node positions.
[0056] In an embodiment of the present application, based on the first fingerprint information obtained through the first screen, the first pre-stored fingerprint template is extracted to determine whether the second fingerprint information obtained through the second screen matches the first pre-stored fingerprint module, that is, the acquisition screen of the fingerprint information corresponding to the pre-stored fingerprint template and the recognition screen of the fingerprint information corresponding to the pre-stored fingerprint template are different screens.
[0057] In the fingerprint recognition method provided in the embodiment of the present application, when the electronic device includes a first screen and a second screen, the first fingerprint information obtained by the user through the first screen is first obtained, and then based on the fingerprint recognition method corresponding to the second screen, the first fingerprint feature is extracted from the first fingerprint information as the first pre-stored fingerprint template corresponding to the second screen, and then the second fingerprint information is obtained through the second screen, and finally the second fingerprint feature is extracted from the second fingerprint information, and it is determined whether the second fingerprint feature matches the first fingerprint template. In this way, by obtaining the first fingerprint information to extract the first pre-stored fingerprint template corresponding to the second screen, the number of operations of the user in the fingerprint recognition process of the multi-screen electronic device is reduced, and the redundancy of the user's operation is reduced.
[0058] Optionally, in the embodiment of the present application, after step 102, step 102a and step 102b may also be included.
[0059] Step 102a: When the fingerprint recognition method corresponding to the first screen is the same as the fingerprint recognition method corresponding to the second screen, the first pre-stored fingerprint template is determined as the second pre-stored fingerprint template corresponding to the first screen.
[0060] Step 102b: When the fingerprint recognition method corresponding to the first screen is different from the fingerprint recognition method corresponding to the second screen, based on the fingerprint recognition method corresponding to the first screen, a third fingerprint feature is extracted from the first fingerprint information as a second pre-stored fingerprint template corresponding to the first screen.
[0061] In the embodiment of the present application, the first fingerprint information can be used as a basis for extracting the first pre-stored fingerprint template corresponding to the second screen. Similarly, the first fingerprint information can also be used as a basis for extracting the second pre-stored fingerprint module corresponding to the first screen.
[0062] In the embodiment of the present application, if the fingerprint recognition methods corresponding to the first screen and the second screen are the same, then the first screen and the second screen can share the "first pre-stored fingerprint template" and determine the first pre-stored fingerprint template as the second pre-stored fingerprint template corresponding to the first screen.
[0063] In the embodiment of the present application, if the fingerprint recognition methods corresponding to the first screen and the second screen are different, then the third fingerprint feature is extracted from the first fingerprint information according to the fingerprint recognition method corresponding to the first screen as the second pre-stored fingerprint template corresponding to the first screen. It should be noted that although the third fingerprint feature and the first fingerprint feature are both extracted according to the first fingerprint information, the fingerprint recognition method corresponding to the first screen is different from the fingerprint recognition method corresponding to the second screen, resulting in the third fingerprint feature being different from the first fingerprint feature, that is, the third fingerprint feature is extracted according to the fingerprint recognition method corresponding to the first screen.
[0064] In the embodiment of the present application, after extracting or determining the second pre-stored fingerprint template corresponding to the first screen, the fingerprint information obtained through the first screen can be identified according to the second pre-stored fingerprint template.
[0065] Thus, if the fingerprint recognition methods corresponding to the first screen and the second screen are the same, the above steps can save the calculation time for extracting the first fingerprint feature for determining the second pre-stored fingerprint template, save the consumption of system resources, and improve the calculation efficiency.
[0066] Alternatively, if Figure 2 As shown, in the embodiment of the present application, after step 101 acquires the first fingerprint information, the fingerprint recognition method provided in the embodiment of the present application may further include steps 201 and 202.
[0067] Step 201: Calculate the fingerprint coverage of the first fingerprint information.
[0068] Step 202: If the fingerprint coverage is less than the preset coverage, a prompt message is displayed.
[0069] In the embodiment of the present application, the fingerprint coverage refers to the proportion of the first fingerprint information in all fingerprints of a single finger.
[0070] Further optionally, in the embodiment of the present application, the prompt information is used to prompt the user to enter the fingerprint information again. It should be noted that after the prompt information is displayed, the current interface can be frozen, and a function key for selecting the next operation can be provided to the user, and the function key can include at least one of the following: abandoning storage of the pre-stored fingerprint template, continuing to obtain the first fingerprint information, and continuing to store, so that the user can independently choose whether to obtain the first fingerprint feature according to the current first fingerprint information.
[0071] Exemplarily, the triggering method of the above-mentioned function keys may include at least one of the following screen operations: clicking, double-clicking, long pressing, specific gestures, mechanical button operations, and camera capturing specific images.
[0072] Optionally, in the embodiment of the present application, after the prompt information is displayed in step 202, in order to obtain complete fingerprint information, the third fingerprint information obtained through the first screen may be re-acquired to replace the original first fingerprint information.
[0073] Optionally, in the embodiment of the present application, Figure 3 As shown, after the prompt information is displayed in step 202, in order to obtain complete fingerprint information, steps 301 to 302 may also be included.
[0074] Step 301: Obtain third fingerprint information through the first screen.
[0075] Step 302: Update the first fingerprint information according to the third fingerprint information.
[0076] In the embodiment of the present application, the third fingerprint information and the first fingerprint information are fingerprints of the same finger of the user.
[0077] In an embodiment of the present application, the first fingerprint information is updated according to the third fingerprint information by replacing the fingerprint data in the first fingerprint information with fingerprint data obtained by merging the fingerprint data in the first fingerprint information and the fingerprint data in the third fingerprint information, that is, superimposing the fingerprint information of the same finger obtained multiple times through the first screen.
[0078] In the embodiment of the present application, after the first fingerprint information is updated, step 201 and step 202 are performed to determine whether to display the prompt information.
[0079] In this way, updating the first fingerprint information can avoid the user from repeatedly acquiring fingerprint information because the fingerprint information acquired once is not easy to meet the coverage requirement, thereby making the pre-stored fingerprint template include enough fingerprint features to improve the speed and efficiency of subsequent fingerprint recognition in the fingerprint verification process.
[0080] Alternatively, if Figure 4 As shown, in the embodiment of the present application, after step 104, the fingerprint recognition method provided in the embodiment of the present application may further include steps 401 and 402.
[0081] Step 401: When the second fingerprint feature matches the first pre-stored fingerprint template, a distinguishing fingerprint feature is extracted.
[0082] Step 402: Add the distinguishing fingerprint feature to the first pre-stored fingerprint template.
[0083] In the embodiment of the present application, the distinguishing fingerprint feature is the different fingerprint feature between the second fingerprint feature and the first pre-stored fingerprint template.
[0084] In the embodiment of the present application, since the first fingerprint information obtained through the first screen may not include all fingerprint features, the second fingerprint information and the first fingerprint information can also be used as the basis for extracting the first pre-stored fingerprint template. As more and more second fingerprint information is obtained and successfully identified through the second screen, the basis for extracting the first pre-stored fingerprint template tends to include all fingerprint features, and the accuracy of fingerprint identification through the second screen is getting higher and higher.
[0085] In the embodiment of the present application, since the second fingerprint feature extracted from the second fingerprint information (obtained through the second screen) is extracted based on the fingerprint recognition method corresponding to the second screen, compared with the first fingerprint feature extracted from the first fingerprint information, the second fingerprint feature and the first pre-stored fingerprint template can be directly used as the basis for updating the first pre-stored fingerprint template.
[0086] Thus, according to the second fingerprint information obtained and successfully recognized through the second screen, an update learning mechanism for the first pre-stored fingerprint template is set to continuously improve the first pre-stored fingerprint template and improve the accuracy of fingerprint recognition through the second screen.
[0087] Optionally, similar to the above-mentioned first pre-stored fingerprint template, for the second pre-stored fingerprint template corresponding to the first screen, the update learning mechanism of the first pre-stored fingerprint template can also be adopted. According to the fingerprint features corresponding to the fingerprint information obtained and successfully identified through the first screen and the second pre-stored fingerprint template, the update learning mechanism of the second pre-stored fingerprint template is set to improve the second pre-stored fingerprint template.
[0088] Alternatively, if Figure 5 As shown, in the embodiment of the present application, before the first fingerprint information is passed, the fingerprint recognition method provided by the embodiment of the present application may further include step 501 and step 502.
[0089] Step 501: Acquire the first background image of the first screen and the second background image of the second screen.
[0090] Step 502: Merge the first background image and the second background image to generate a common background image.
[0091] In the embodiment of the present application, the fingerprint information obtained through the first screen or the second screen includes not only the collected fingerprint image but also background information, wherein the background information refers to invalid signals caused by the screen or fingerprint recognition sensor.
[0092] In the embodiment of the present application, the common background image may be obtained by averaging the pixel values of the first background image and the second background image.
[0093] Further optionally, in the embodiment of the present application, after the above step 101, the fingerprint recognition method provided in the embodiment of the present application further includes step 503.
[0094] Step 503: According to the common background image, the first fingerprint information is subjected to denoising processing, and the first fingerprint information is updated.
[0095] Further optionally, in the embodiment of the present application, after the above step 103, the fingerprint recognition method provided in the embodiment of the present application further includes step 504.
[0096] Step 504: performing denoising processing on the second fingerprint information according to the common background image, and updating the second fingerprint information.
[0097] It should be noted that after the common background image is generated, each time the fingerprint information is obtained through the first screen or the second screen, the common background image can be used for denoising and updating.
[0098] In this way, by denoising the first fingerprint information or the second fingerprint information through a common background image, on the one hand, the interference information in the fingerprint recognition process can be reduced; on the other hand, replacing the first background image and the second background image with a common background image can reduce the required data storage space, thereby reducing the waste of system resources.
[0099] like Figure 6 As shown, a fingerprint recognition device provided in an embodiment of the present application is applied to an electronic device including a first screen and a second screen, and the device includes: an acquisition module 61, an extraction module 62 and a judgment module 63;
[0100] The acquisition module 61 is used to acquire the first fingerprint information through the first screen;
[0101] The extraction module 62 is used to extract the first fingerprint feature from the first fingerprint information as the first pre-stored fingerprint template corresponding to the second screen based on the fingerprint recognition method corresponding to the second screen;
[0102] The acquisition module 61 is further used to acquire the second fingerprint information through the second screen;
[0103] The judgment module 63 is used to extract the second fingerprint feature from the second fingerprint information and judge whether the second fingerprint feature matches the first pre-stored fingerprint template.
[0104] Optionally, the above device further includes a determination module;
[0105] The determination module is used to determine the first pre-stored fingerprint template as the second pre-stored fingerprint template corresponding to the first screen when the fingerprint recognition mode corresponding to the first screen is the same as the fingerprint recognition mode corresponding to the second screen;
[0106] The extraction module 62 is also used to extract a third fingerprint feature from the first fingerprint information as a second pre-stored fingerprint template corresponding to the first screen based on the fingerprint recognition method corresponding to the first screen when the fingerprint recognition method corresponding to the first screen is different from the fingerprint recognition method corresponding to the second screen.
[0107] Optionally, the above device further includes: a generating module and an updating module;
[0108] The acquisition module 61 is further used to acquire the first background image of the first screen and the second background image of the second screen;
[0109] The generating module is used to merge the first background image and the second background image to generate a common background image;
[0110] The updating module is used to perform denoising processing on the first fingerprint information according to the common background image, and update the first fingerprint information.
[0111] Optionally, the above device further includes an adding module;
[0112] The extraction module 62 is further configured to extract a distinguishing fingerprint feature when the second fingerprint feature matches the first pre-stored fingerprint template, wherein the distinguishing fingerprint feature is a different biometric feature between the second fingerprint feature and the first pre-stored fingerprint template;
[0113] The adding module is used to add the distinguishing fingerprint feature to the first pre-stored fingerprint template.
[0114] Optionally, the above-mentioned fingerprint recognition method includes at least one of the following: an under-screen optical fingerprint recognition method, an under-screen ultrasonic fingerprint recognition method, and a capacitive fingerprint recognition method.
[0115] In the fingerprint recognition device provided in the embodiment of the present application, when the electronic device includes a first screen and a second screen, the first fingerprint information obtained by the user through the first screen is first obtained, and then based on the fingerprint recognition method corresponding to the second screen, the first fingerprint feature is extracted from the first fingerprint information as the first pre-stored fingerprint template corresponding to the second screen, and then the second fingerprint information is obtained through the second screen, and finally the second fingerprint feature is extracted from the second fingerprint information, and it is determined whether the second fingerprint feature matches the first fingerprint template. In this way, by obtaining the first fingerprint information to extract the first pre-stored fingerprint template corresponding to the second screen, the number of operations of the user in the fingerprint recognition process of the multi-screen electronic device is reduced, and the redundancy of the user's operation is reduced.
[0116] The fingerprint recognition device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0117] The fingerprint recognition device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0118] The fingerprint recognition device provided in the embodiment of the present application can achieve Figures 1 to 5 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0119] The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, they will not be described again here.
[0120] Alternatively, if Figure 7As shown, the embodiment of the present application also provides an electronic device 700, including a processor 701, a memory 702, and a program or instruction stored in the memory 702 and executable on the processor 701. When the program or instruction is executed by the processor 701, each process of the above-mentioned fingerprint recognition method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0121] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0122] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0123] The electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processing unit 810.
[0124] Those skilled in the art will appreciate that the electronic device 800 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 810 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0125] Among them, the processor 810 is used to obtain the first fingerprint information through the above-mentioned first screen; based on the fingerprint recognition method corresponding to the above-mentioned second screen, extract the first fingerprint feature from the above-mentioned first fingerprint information as the first pre-stored fingerprint template corresponding to the above-mentioned second screen; obtain the second fingerprint information through the above-mentioned second screen; extract the second fingerprint feature from the above-mentioned second fingerprint information, and determine whether the above-mentioned second fingerprint feature matches the above-mentioned first pre-stored fingerprint template.
[0126] Optionally, the processor 810 is also used for, after extracting the first fingerprint feature from the first fingerprint information as the first pre-stored fingerprint template based on the fingerprint recognition method corresponding to the second screen, when the fingerprint recognition method corresponding to the first screen is the same as the fingerprint recognition method corresponding to the second screen, determining the first pre-stored fingerprint template as the second pre-stored fingerprint template corresponding to the first screen; when the fingerprint recognition method corresponding to the first screen is different from the fingerprint recognition method corresponding to the second screen, extracting the third fingerprint feature from the first fingerprint information as the second pre-stored fingerprint template corresponding to the first screen based on the fingerprint recognition method corresponding to the first screen.
[0127] Optionally, the processor 810 is further configured to obtain a first background image of the first screen and a second background image of the second screen before obtaining the first fingerprint information through the first screen; merge the first background image and the second background image to generate a common background image;
[0128] The processor 810 is further configured to, after acquiring the first fingerprint information through the first screen, perform denoising processing on the first fingerprint information according to the common background image, and update the first fingerprint information.
[0129] Optionally, the processor 810 is also used to extract the second fingerprint feature from the second fingerprint information, and after determining whether the second fingerprint feature matches the first pre-stored fingerprint template, extract a distinguishing fingerprint feature when the second fingerprint feature matches the first pre-stored fingerprint template, where the distinguishing fingerprint feature is a different biometric feature between the second fingerprint feature and the first pre-stored fingerprint template; and add the distinguishing fingerprint feature to the first pre-stored fingerprint template.
[0130] Optionally, the above-mentioned fingerprint recognition method includes at least one of the following: an under-screen optical fingerprint recognition method, an under-screen ultrasonic fingerprint recognition method, and a capacitive fingerprint recognition method.
[0131] In the electronic device provided in the embodiment of the present application, when the electronic device includes a first screen and a second screen, firstly, the user obtains the first fingerprint information through the first screen, then based on the fingerprint recognition method corresponding to the second screen, the first fingerprint feature is extracted from the first fingerprint information as the first pre-stored fingerprint template corresponding to the second screen, and then the second fingerprint information is obtained through the second screen, and finally the second fingerprint feature is extracted from the second fingerprint information, and it is determined whether the second fingerprint feature matches the first fingerprint template. In this way, by obtaining the first fingerprint information to extract the first pre-stored fingerprint template corresponding to the second screen, the number of operations of the user in the fingerprint recognition process of the multi-screen electronic device is reduced, and the redundancy of the user's operation is reduced.
[0132] The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, they will not be described again here.
[0133] It should be understood that in the embodiment of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include but are not limited to a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 809 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 810 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, the user interface, and the application program, etc., and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 810.
[0134] The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned fingerprint recognition method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0135] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0136] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned fingerprint recognition method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0137] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0138] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0139] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0140] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A fingerprint recognition method, applied to an electronic device comprising a first screen and a second screen, characterized in that: The method comprises: Acquire first fingerprint information through the first screen; Based on the fingerprint recognition method corresponding to the second screen, extracting a first fingerprint feature from the first fingerprint information as a first pre-stored fingerprint template corresponding to the second screen; Acquire second fingerprint information through the second screen; Extracting a second fingerprint feature from the second fingerprint information, and determining whether the second fingerprint feature matches the first pre-stored fingerprint template; After extracting the first fingerprint feature from the first fingerprint information as the first pre-stored fingerprint template based on the fingerprint recognition mode corresponding to the second screen, the method further includes: When the fingerprint recognition mode corresponding to the first screen is the same as the fingerprint recognition mode corresponding to the second screen, the first pre-stored fingerprint template is determined as the second pre-stored fingerprint template corresponding to the first screen; When the fingerprint recognition method corresponding to the first screen is different from the fingerprint recognition method corresponding to the second screen, based on the fingerprint recognition method corresponding to the first screen, a third fingerprint feature is extracted from the first fingerprint information as a second pre-stored fingerprint template corresponding to the first screen.
2. The method according to claim 1, characterized in that Before acquiring the first fingerprint information through the first screen, the method further includes: Acquire a first background image of the first screen and a second background image of the second screen; Merging the first background image and the second background image to generate a common background image; After acquiring the first fingerprint information through the first screen, the method further includes: According to the common background image, the first fingerprint information is denoised and the first fingerprint information is updated.
3. The method according to claim 1, characterized in that After extracting the second fingerprint feature from the second fingerprint information and determining whether the second fingerprint feature matches the first pre-stored fingerprint template, the method further includes: In the case where the second fingerprint feature matches the first pre-stored fingerprint template, extracting a distinguishing fingerprint feature, the distinguishing fingerprint feature being a different biometric feature between the second fingerprint feature and the first pre-stored fingerprint template; The distinguishing fingerprint feature is added to the first pre-stored fingerprint template.
4. The method according to any one of claims 1 to 3, characterized in that: The fingerprint recognition method includes at least one of the following: an under-screen optical fingerprint recognition method, an under-screen ultrasonic fingerprint recognition method, and a capacitive fingerprint recognition method.
5. A fingerprint recognition device, applied to an electronic device comprising a first screen and a second screen, characterized in that: The device comprises: an acquisition module, an extraction module and a judgment module; The acquisition module is used to acquire the first fingerprint information through the first screen; The extraction module is used to extract the first fingerprint feature from the first fingerprint information as the first pre-stored fingerprint template corresponding to the second screen based on the fingerprint recognition method corresponding to the second screen; The acquisition module is further used to acquire second fingerprint information through the second screen; The judgment module is used to extract a second fingerprint feature from the second fingerprint information and judge whether the second fingerprint feature matches the first pre-stored fingerprint template; The device also includes a determination module; The determining module is used to determine the first pre-stored fingerprint template as the second pre-stored fingerprint template corresponding to the first screen when the fingerprint recognition mode corresponding to the first screen is the same as the fingerprint recognition mode corresponding to the second screen; The extraction module is further used to extract a third fingerprint feature from the first fingerprint information as a second pre-stored fingerprint template corresponding to the first screen based on the fingerprint recognition method corresponding to the first screen when the fingerprint recognition method corresponding to the first screen is different from the fingerprint recognition method corresponding to the second screen.
6. The device according to claim 5, characterized in that The device also includes: a generating module and an updating module; The acquisition module is further used to acquire a first background image of the first screen and a second background image of the second screen; The generating module is used to merge the first background image and the second background image to generate a common background image; The updating module is used to perform denoising processing on the first fingerprint information according to the common background image, and update the first fingerprint information.
7. The device according to claim 5, characterized in that The device also includes an adding module; The extraction module is further configured to extract a distinguishing fingerprint feature when the second fingerprint feature matches the first pre-stored fingerprint template, wherein the distinguishing fingerprint feature is a different biometric feature between the second fingerprint feature and the first pre-stored fingerprint template; The adding module is used to add the distinguishing fingerprint feature to the first pre-stored fingerprint template.
8. The device according to any one of claims 5 to 7, characterized in that: The fingerprint recognition method includes at least one of the following: an under-screen optical fingerprint recognition method, an under-screen ultrasonic fingerprint recognition method, and a capacitive fingerprint recognition method.
9. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the fingerprint recognition method according to any one of claims 1 to 4.
10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the fingerprint recognition method according to any one of claims 1 to 4 are implemented.
