A data processing method, an electronic device, and a computer storage medium

CN108509874BActive Publication Date: 2026-08-18LENOVO (BEIJING) LTD
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN201810219303.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-03-16
Publication Date
2026-08-18
Estimated Expiration
2038-03-16

AI Technical Summary

Benefits of technology

[0027] The computer storage medium provided in this embodiment of the invention stores computer-executable instructions, which, when executed by a processor, implement the above-described data processing method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN108509874B_ABST
    Figure CN108509874B_ABST
Patent Text Reader

Abstract

The application discloses a data processing method and electronic equipment, and a computer storage medium, and the method comprises the steps of collecting fingerprint data in a first time length by a sensor, generating a video file based on the fingerprint data in the first time length, encrypting the video file by a first processor, and sending the encrypted video file to a host driver, obtaining a fingerprint image from the video file by the host driver, and determining whether to take the fingerprint image as a fingerprint template based on the quality of the fingerprint image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of fingerprint processing technology, and in particular to a fingerprint data processing method, electronic device, and computer storage medium. Background Technology

[0002] More and more electronic devices are equipped with fingerprint recognition (FPR) functionality. For personal devices (such as mobile phones), FPR enables security features and a rich user experience, such as phone unlocking and mobile payment. Balancing security features, product performance, and product cost is a key challenge in the FPR design process. Summary of the Invention

[0003] To address the aforementioned technical problems, embodiments of the present invention provide a data processing method, an electronic device, and a computer storage medium.

[0004] The data processing method provided in this embodiment of the invention includes:

[0005] The sensor collects fingerprint data within a first time period, and generates a video file based on the fingerprint data within the first time period;

[0006] The first processor encrypts the video file and sends the encrypted video file to the host driver;

[0007] The host driver obtains a fingerprint image from the video file and determines whether to use the fingerprint image as a fingerprint template based on the quality of the fingerprint image.

[0008] In this embodiment of the invention, the first duration is the duration during which the target object touches the sensor;

[0009] The sensor collects fingerprint data within a first time period, and generates a video file based on the fingerprint data within the first time period, including:

[0010] The sensor collects fingerprint data within a first time period and generates an MPEG file based on the fingerprint data within the first time period.

[0011] In this embodiment of the invention, the method further includes:

[0012] The sensor sends the video file to the first processor, which then stores the video file.

[0013] In this embodiment of the invention, determining whether to use the fingerprint image as a fingerprint template based on the quality of the fingerprint image includes:

[0014] If the quality of the fingerprint image meets the target conditions, the fingerprint image is stored as a fingerprint template in the fingerprint database;

[0015] If the quality of the fingerprint image does not meet the target condition, then the fingerprint image is deleted.

[0016] In this embodiment of the invention, the method further includes:

[0017] If the quality of the fingerprint image does not meet the target condition, the host driver sends a first instruction to the user interface (UI) module, the first instruction being used to instruct the user to re-enter the fingerprint information.

[0018] In this embodiment of the invention, the method further includes:

[0019] The host driver sends a second instruction to the sensor, which instructs the sensor to prepare to collect fingerprint data.

[0020] The electronic device provided in this embodiment of the invention includes: a sensor, a first processor, and a host driver;

[0021] in,

[0022] The sensor is used to collect fingerprint data within a first time period and generate a video file based on the fingerprint data within the first time period;

[0023] The first processor is configured to encrypt the video file and send the encrypted video file to the host driver;

[0024] The host driver is used to acquire a fingerprint image from the video file and determine whether to use the fingerprint image as a fingerprint template based on the quality of the fingerprint image.

[0025] In this embodiment of the invention, the first processor is provided with a storage unit, and the sensor is used to send the video file to the first processor, and the first processor stores the video file in the storage unit.

[0026] In this embodiment of the invention, the host driver is used to determine whether the quality of the fingerprint image meets the target conditions; if the quality of the fingerprint image meets the target conditions, the fingerprint image is stored as a fingerprint template in the fingerprint database; if the quality of the fingerprint image does not meet the target conditions, the fingerprint image is deleted.

[0027] The computer storage medium provided in this embodiment of the invention stores computer-executable instructions, which, when executed by a processor, implement the above-described data processing method.

[0028] In the technical solution of this embodiment of the invention, a sensor collects fingerprint data within a first time period and generates a video file based on the fingerprint data within the first time period; a first processor encrypts the video file and sends the encrypted video file to a host driver; the host driver obtains a fingerprint image from the video file and determines whether to use the fingerprint image as a fingerprint template based on the quality of the fingerprint image. By adopting the technical solution of this embodiment of the invention, 1) different types of fingerprint sensors can use the same encryption scheme, resulting in strong compatibility; 2) the performance of the fingerprint sensor is optimized; 3) the fingerprint sensor has higher security and efficiency; and 4) the cost of the fingerprint sensor is lower. Attached Figure Description

[0029] Figure 1 This is a schematic diagram illustrating the communication between the host and the sensor.

[0030] Figure 2 This is a flowchart illustrating how the MCU processes fingerprint data.

[0031] Figure 3 This is a flowchart illustrating the data processing method according to an embodiment of the present invention;

[0032] Figure 4 This is the process by which the MCU processes fingerprint data in this embodiment of the invention;

[0033] Figure 5 This is a schematic diagram of the structural composition of an electronic device according to an embodiment of the present invention. Detailed Implementation

[0034] To gain a more detailed understanding of the features and technical content of the embodiments of the present invention, the implementation of the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for reference and illustration only and are not intended to limit the embodiments of the present invention.

[0035] Figure 1 This is a schematic diagram illustrating the communication between the host and the sensor, such as... Figure 1 As shown, a microprocessor (MCU, Microcontroller Unit) is set between the sensor and the host. The sensor is specifically an FPR sensor, and the host can be a processing system such as a laptop, mobile phone, or tablet. The FPR sensor is usually an optional device of the host and communicates with the host through the MCU.

[0036] In one example, the process by which the MCU processes fingerprint data is as follows: Figure 2 As shown, it includes the following:

[0037] 1) The user touches the FPR sensor, and the FPR sensor collects the user's raw fingerprint data.

[0038] 2) The MCU encrypts the original fingerprint data.

[0039] Here, the raw fingerprint data is the raw data of a fingerprint image, hereinafter referred to as image data.

[0040] 3) The MCU sends the encrypted image data to the Host driver for processing.

[0041] 4) The Host drive decrypts the encrypted image data to obtain an image data. The image quality of the image data is judged. If the image quality of the image data meets the target conditions, the image data is stored in the fingerprint database as a fingerprint template.

[0042] Here, the fingerprint template is used to match the fingerprints collected later, and then perform corresponding operations based on the matching results.

[0043] 5) If the image quality of the image data does not meet the target conditions, the host drive will delete the image data.

[0044] 6) The Host driver sends a notification message to the UI to instruct the UI to prompt the user to re-enroll their fingerprint.

[0045] 7) The Host driver sends a notification message to the FPR sensor to instruct the FPR sensor to prepare to acquire raw fingerprint data.

[0046] Figure 3 This is a flowchart illustrating the data processing method according to an embodiment of the present invention, such as... Figure 3 As shown, the data processing method includes the following steps:

[0047] Step 301: The sensor collects fingerprint data within a first time period and generates a video file based on the fingerprint data within the first time period.

[0048] In this embodiment of the invention, the sensor is an FPR sensor. According to the sensing principle, namely the fingerprint imaging principle and technology, FPR sensors are divided into optical fingerprint sensors, semiconductor capacitive sensors, semiconductor thermistors, semiconductor pressure sensors, ultrasonic sensors, and radio frequency (RF) sensors, etc.

[0049] In this embodiment of the invention, the sensor collects fingerprint data for a certain duration, which actually includes multiple fingerprint images. The sensor converts the fingerprint data collected within the first duration into a video file.

[0050] In one embodiment, the first duration is the duration for which the target object touches the sensor. Specifically, when the user's finger touches the sensor, the sensor begins to continuously collect fingerprint data, and when the user's finger leaves the sensor, the sensor stops collecting fingerprint data. The collected fingerprint data is a series of fingerprint images that change over time. These fingerprint images vary depending on the pressure applied by the user, the angle of inclination during pressure, and even the movement of the user's finger.

[0051] In one embodiment, the sensor collects fingerprint data within a first time period and generates an MPEG file based on the fingerprint data within the first time period.

[0052] like Figure 4 As shown, the format of an MPEG file includes: I-frame, B-frame, and P-frame. Among them, I-frame is an intra-coded frame, P-frame is a forward predictive coded frame, and B-frame is a bidirectional predictive interpolation coded frame.

[0053] Step 302: The first processor encrypts the video file and sends the encrypted video file to the host driver.

[0054] In this embodiment of the invention, the first processor can be an MCU. After the sensor collects fingerprint data, it sends the MPEG file to the MCU. The MCU encrypts the MPEG file. Here, regardless of the type of fingerprint sensor that collects the fingerprint data, the sensor converts it into an MPEG file. Therefore, the MCU can be compatible with different types of sensors and use the same encryption algorithm to encrypt the MPEG file.

[0055] In this embodiment of the invention, the MCU and the Host driver transmit encrypted MPEG files, which ensures the security of fingerprint data. Moreover, this encryption method does not require additional costs and is very practical.

[0056] In one embodiment, the sensor sends the video file to the first processor, which then stores the video file. Here, the MCU determines whether a certain number of video files have been stored. If a certain number have been stored, the MCU encrypts all stored video files and sends them to the host drive for processing, effectively caching the video files.

[0057] Step 303: The host driver obtains a fingerprint image from the video file and determines whether to use the fingerprint image as a fingerprint template based on the quality of the fingerprint image.

[0058] In this embodiment of the invention, the Host driver receives an encrypted MPEG file from the MCU. The MPEG file needs to be decrypted. After successful decryption, the image data of each fingerprint frame is obtained from the MPEG file. Since the MPEG file contains multiple frames of fingerprint image data, the image quality of each frame needs to be evaluated. After determining the frame with the highest quality, the image quality of that frame is then judged. If the image quality of that frame meets the target conditions, the fingerprint image is stored in the fingerprint database as a fingerprint template.

[0059] In the above solution, multiple fingerprint images can be collected in a single collection process, which improves the success rate of fingerprint template collection, avoids users having to enter their fingerprints multiple times, and enhances the user experience of using the fingerprint function.

[0060] In one example, image quality assessment can be performed, but is not limited to, the following methods: First, the fingerprint image is divided into 32×32 sub-blocks. A Fast Fourier Transform (FFT) is performed on each sub-block to calculate the minimum moment of inertia and eccentricity of the block's spectral distribution map. Local analysis results of block quality are obtained from these parameters. Then, the relationship between the frequency domain feature parameters (direction, frequency, etc.) of each image block and the corresponding parameters of its 8 neighboring blocks is examined. From a global perspective of ridge flow potential, clustering is used to form the clear and blurred areas of the image. Finally, the results of local and global analysis are combined to give a quality evaluation of the fingerprint image.

[0061] The following combination Figure 4 The process of the MCU processing fingerprint data in this embodiment of the invention is described below:

[0062] 1) When a user touches the FPR sensor, the FPR sensor collects the user's raw fingerprint data over a period of time and generates an MPEG file based on the raw fingerprint data.

[0063] 2) The MCU encrypts the MPEG file.

[0064] Here, the MCU mainly includes three modules: storage module, encryption module, and communication module. The storage module is used to cache the MPEG file sent by the FPR sensor, the encryption module is used to encrypt the MPEG file, and the communication module sends the encrypted MPEG file to the Host driver.

[0065] In one implementation, the MCU will clean up the content stored in the storage module. For example, when the storage module is full, it will delete some or all of the stored MPEG files; or, for example, when the storage time of a certain part of the content in the storage module exceeds a threshold, it will delete that part of the content.

[0066] 3) The MCU sends the encrypted MPEG file to the Host drive for processing.

[0067] 4) The Host drive decrypts the encrypted MPEG file to obtain multiple image data, evaluates the image quality of the multiple image data, and determines the fingerprint image with the highest image quality; then, if the quality of the fingerprint image meets the target conditions, the fingerprint image is stored as a fingerprint template in the fingerprint database.

[0068] If the image quality of the image data meets the target conditions, the image data will be stored in the fingerprint database and used as a fingerprint template.

[0069] Here, the fingerprint template is used to match the fingerprints collected later, and then perform corresponding operations based on the matching results.

[0070] 5) If the quality of the fingerprint image does not meet the target condition, the Host driver deletes the fingerprint image.

[0071] 6) If the quality of the fingerprint image does not meet the target condition, the Host driver sends a first instruction message to the UI module, the first instruction message being used to instruct the user to re-enter the fingerprint information.

[0072] 7) The Host driver sends a second indication message to the sensor, the second indication message being used to instruct the sensor to prepare to collect fingerprint data.

[0073] Figure 5 This is a schematic diagram of the structural composition of an electronic device according to an embodiment of the present invention, such as... Figure 5 As shown, the electronic device includes: a sensor 501, a first processor 502, and a host driver 503;

[0074] in,

[0075] The sensor 501 is used to collect fingerprint data within a first time period and generate a video file based on the fingerprint data within the first time period;

[0076] The first processor 502 is used to encrypt the video file and send the encrypted video file to the host driver 503;

[0077] The host driver 503 is used to acquire a fingerprint image from the video file and determine whether to use the fingerprint image as a fingerprint template based on the quality of the fingerprint image.

[0078] In one embodiment, the first duration is the duration during which the target object touches the sensor 501; the sensor 501 is used to collect fingerprint data within the first duration and generate an MPEG file based on the fingerprint data within the first duration.

[0079] In one embodiment, the first processor 502 is provided with a storage unit, and the sensor 501 is used to send the video file to the first processor 502, and the first processor 502 stores the video file in the storage unit.

[0080] In one embodiment, the host driver 503 is used to determine whether the quality of the fingerprint image meets the target conditions; if the quality of the fingerprint image meets the target conditions, the fingerprint image is stored as a fingerprint template in the fingerprint database; if the quality of the fingerprint image does not meet the target conditions, the fingerprint image is deleted.

[0081] In one embodiment, if the quality of the fingerprint image does not meet the target condition, the host driver 503 is further configured to send a first instruction message to the user interface (UI) module, the first instruction message being used to instruct the user to re-enter the fingerprint information.

[0082] In one embodiment, the host driver 503 is further configured to send a second indication message to the sensor 501, the second indication message being used to instruct the sensor 501 to prepare to collect fingerprint data.

[0083] Those skilled in the art should understand that Figure 5 The functions of each module in the electronic device shown can be understood by referring to the relevant description of the data processing method mentioned above. Figure 5 The functions of each unit in the electronic device shown can be implemented by a program running on a processor or by specific logic circuits.

[0084] If the resource indication device described in the embodiments of the present invention is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of the present invention are not limited to any specific hardware and software combination.

[0085] Accordingly, embodiments of the present invention also provide a computer storage medium storing computer-executable instructions, which, when executed by a processor, implement the resource indication method described above in the embodiments of the present invention.

[0086] The technical solutions described in the embodiments of the present invention can be combined arbitrarily without conflict.

[0087] In the several embodiments provided by this invention, it should be understood that the disclosed methods and smart devices can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

[0088] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.

[0089] In addition, in the various embodiments of the present invention, each functional unit can be integrated into a second processing unit, or each unit can be a separate unit, or two or more units can be integrated into a unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0090] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.

Claims

1. A data processing method applied to an electronic device, the electronic device including at least a first processor and a host driver, the method comprising: The sensor collects fingerprint data within a first time period and generates a video file based on the fingerprint data within the first time period; wherein, the first time period is the duration during which the target object's finger continuously touches the sensor until the target object's finger leaves the sensor; the fingerprint data within the first time period includes multiple fingerprint images; the multiple fingerprint images represent one or more differences in the user's pressure, pressure angle, or movement position. The sensor sends the video file to the first processor; The first processor encrypts the video file and sends the encrypted video file to the host driver; The host driver acquires a fingerprint image from the video file and determines whether to use the fingerprint image as a fingerprint template based on the quality of the fingerprint image; the quality is at least used to characterize the clarity of the fingerprint image. The step of determining whether to use the fingerprint image as a fingerprint template based on the quality of the fingerprint image includes: If the quality of the highest quality frame in the fingerprint image meets the target condition, then the fingerprint image is stored as the fingerprint template in the fingerprint database.

2. The method according to claim 1, characterized in that, The sensor collects fingerprint data within a first time period, and generates a video file based on the fingerprint data within the first time period, including: The sensor collects fingerprint data within a first time period and generates an MPEG file based on the fingerprint data within the first time period.

3. The method according to claim 1, characterized in that, The method further includes: The first processor stores the video file.

4. The method according to claim 1, characterized in that, The step of determining whether to use the fingerprint image as a fingerprint template based on the quality of the fingerprint image further includes: If the quality of the fingerprint image does not meet the target condition, then the fingerprint image is deleted.

5. The method according to claim 4, characterized in that, The method further includes: If the quality of the fingerprint image does not meet the target condition, the host driver sends a first instruction to the user interface (UI) module, which instructs the user to re-enter the fingerprint information.

6. The method according to claim 5, characterized in that, The method further includes: The host driver sends a second instruction to the sensor, which instructs the sensor to prepare to collect fingerprint data.

7. An electronic device, the electronic device comprising: Sensors, first processor, host driver; in, The sensor is used to collect fingerprint data within a first time period and generate a video file based on the fingerprint data within the first time period; wherein, the first time period is the duration during which the target object's finger continuously touches the sensor until the target object's finger leaves the sensor; the fingerprint data within the first time period includes multiple fingerprint images; the multiple fingerprint images represent one or more different aspects of the user's pressure, pressure angle, or movement position. The sensor is also used to send the video file to the first processor; The first processor is configured to encrypt the video file and send the encrypted video file to the host driver; The host driver is configured to acquire a fingerprint image from the video file and determine whether to use the fingerprint image as a fingerprint template based on the quality of the fingerprint image; the quality is at least used to characterize the clarity of the fingerprint image. The host driver is used to determine whether the quality of the fingerprint image meets the target conditions; if the quality of the fingerprint image meets the target conditions, the fingerprint image is stored as a fingerprint template in the fingerprint database.

8. The electronic device according to claim 7, characterized in that, The first processor is equipped with a storage unit, and the sensor is used to send the video file to the first processor, and the first processor stores the video file in the storage unit.

9. The electronic device according to claim 7, characterized in that, The host driver is further configured to delete the fingerprint image if the quality of the fingerprint image does not meet the target condition.

10. A computer storage medium having stored thereon computer-executable instructions which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Identity recognition method and device based on trusted platform module

    CN101470783A

  • Fingerprint unlocking method and system and electronic device provided with system

    CN105095719A

  • Fingerprint registration method, fingerprint registration device and terminal equipment

    CN105389565A

  • Identity authentication method, identity authentication system, terminal and server

    CN105635099A

  • Fingerprint image acquisition method and terminal

    CN106203290A