WO2020168858A1 - Data self-calibration method and related apparatus - Google Patents
Data self-calibration method and related apparatus Download PDFInfo
- Publication number
- WO2020168858A1 WO2020168858A1 PCT/CN2020/071801 CN2020071801W WO2020168858A1 WO 2020168858 A1 WO2020168858 A1 WO 2020168858A1 CN 2020071801 W CN2020071801 W CN 2020071801W WO 2020168858 A1 WO2020168858 A1 WO 2020168858A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- picture
- preset
- data
- exposure time
- detected
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000012545 processing Methods 0.000 claims description 33
- 238000004891 communication Methods 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 18
- 230000008569 process Effects 0.000 claims description 16
- 238000001514 detection method Methods 0.000 claims description 10
- 238000003860 storage Methods 0.000 claims description 9
- 230000009286 beneficial effect Effects 0.000 description 14
- 230000006870 function Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 6
- 238000004519 manufacturing process Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000032683 aging Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000003909 pattern recognition Methods 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/12—Fingerprints or palmprints
- G06V40/13—Sensors therefor
- G06V40/1318—Sensors therefor using electro-optical elements or layers, e.g. electroluminescent sensing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/042—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
Definitions
- This application relates to the technical field of electronic equipment, and in particular to a data self-calibration method and related devices.
- the parameters such as the exposure time of the fingerprint under the optical screen and the reference image are related to the hardware structure and the aging state of the device. Therefore, if the mobile phone is dropped or the hardware is aging, the calibration data of the electronic device at the factory may be used. Unable to unlock exception.
- the embodiments of the present application provide a data self-calibration method and related devices, in order to improve the convenience and flexibility of data update, and thereby improve the effectiveness of acquiring fingerprint images.
- an embodiment of the present application provides a data self-calibration method, which is applied to an electronic device, the electronic device includes a display screen and an under-screen fingerprint module set relative to a preset area of the display screen, including:
- the currently stored second set of data is updated with the first set of data.
- the second set of data includes a second exposure time and a second reference picture.
- an embodiment of the present application provides a data self-calibration device, which is applied to an electronic device.
- the electronic device includes a display screen and an under-screen fingerprint module set relative to a preset area of the display screen.
- the data The self-calibration device includes a processing unit and a communication unit, wherein,
- the processing unit is configured to collect at least one first picture of the preset area through the communication unit when a user's touch operation event for the preset area is detected; when the touch is detected When the operation event ends, the second picture of the preset area is collected through the communication unit; a first set of data is determined according to the at least one first picture and the second picture, and the first set of data includes the first An exposure time and a first reference picture; the currently stored second set of data is updated with the first set of data, and the second set of data includes a second exposure time and a second reference picture.
- embodiments of the present application provide an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the above
- the above-mentioned program includes instructions for executing the steps in any method of the first aspect of the embodiments of the present application.
- an embodiment of the present application provides a computer-readable storage medium, wherein the foregoing computer-readable storage medium stores a computer program for electronic data exchange, wherein the foregoing computer program enables a computer to execute In one aspect, some or all of the steps described in any method.
- embodiments of the present application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute For example, some or all of the steps described in any method of the first aspect.
- the computer program product may be a software installation package.
- FIG. 1 is a schematic diagram of fingerprint collection by an electronic device according to an embodiment of the present application
- FIG. 2 is a schematic flowchart of a data self-calibration method provided by an embodiment of the present application
- FIG. 3 is a schematic flowchart of another data self-calibration method provided by an embodiment of the present application.
- FIG. 4 is a schematic flowchart of another data self-calibration method provided by an embodiment of the present application.
- FIG. 5 is a schematic structural diagram of yet another electronic device provided by an embodiment of the present application.
- Fig. 6 is a block diagram of functional units of a data self-calibration device provided by an embodiment of the present application.
- the electronic devices involved in the embodiments of the present application may be electronic devices with data transmission capabilities.
- the electronic devices may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, or devices connected to wireless modems.
- Other processing equipment, and various forms of user equipment User Equipment, UE), mobile station (Mobile Station, MS), terminal equipment (terminal device), etc.
- Fingerprint recognition technology associates a person with his fingerprint. By comparing his fingerprint with a pre-saved fingerprint module, and identifying the minutiae feature points of different fingerprints, his true identity can be verified.
- Feature points refer to the breakpoints, bifurcation points and turning points where the fingerprint lines are often interrupted, branched or turned.
- Each person’s fingerprint pattern is unique in pattern, breakpoint, bifurcation and turning point. And its uniqueness is the same throughout life. It is this uniqueness and stability that we can create fingerprint recognition technology.
- Fingerprint recognition technology has the advantages of fast recognition speed, convenient collection and low price, and is widely used in many disciplines such as image processing, pattern recognition, and computer vision. As shown in Figure 1, Figure 1 is a schematic diagram of an electronic device 101 collecting fingerprints.
- the electronic device 101 includes a display screen 102 and an under-screen fingerprint module 104 set relative to a preset area 103 of the display screen 102.
- the lower fingerprint module 104 is the lower fingerprint module of the optical screen, and 105 is the enlarged image of the fingerprint.
- the light emitted by the display screen 102 according to a certain exposure time penetrates the cover to illuminate the fingerprint texture, forming a fingerprint light
- the fingerprint returns the reflected light to the fingerprint module 104 under the screen, and finally forms a fingerprint image.
- FIG. 2 is a schematic flow chart of a data self-calibration method provided by an embodiment of the present application, which is applied to the electronic device as described in FIG. 1, and the electronic device includes a display screen and relative to the display screen.
- the under-screen fingerprint module set in the preset area, as shown in the figure, the data self-calibration method includes:
- the electronic device collects at least one first picture in the preset area when detecting a touch operation event of the user for the preset area.
- the at least one first picture is a screen picture of a preset area including a user's fingerprint image collected from the start of the touch operation event (the user's pressing event against the preset area is detected) to the end, and the electronic device obtains
- the exposure time used for each first picture is different, that is, the electronic device acquires it by continuously modifying the exposure time within the range of the preset exposure time from the beginning to the end of the detection of the touch operation event.
- S202 The electronic device collects a second picture of the preset area when detecting that the touch operation event ends.
- the electronic device may collect a second picture within a preset time period (such as 100 min) after the end of the touch operation event, the second picture being a screen picture,
- the second picture includes screen noise information, such as stains, foreign objects, and so on.
- the electronic device determines a first set of data according to the at least one first picture and the second picture, where the first set of data includes a first exposure time and a first reference picture.
- the specific implementation manners for determining the first set of data according to the at least one first picture and the second picture may be various, for example, may be based on one first group of the at least one first picture.
- the exposure time of the picture determines the first exposure time
- the first reference picture is determined according to the noise information on the second picture and the environmental parameters when the second picture is taken, or it may be that at least one of the first pictures is selected with a higher definition than
- the first picture with a preset resolution is determined, the average exposure time of multiple first pictures is determined as the first exposure time, and the second picture is used as the first reference picture, etc., which are not limited here.
- the electronic device updates the currently stored second set of data with the first set of data, where the second set of data includes a second exposure time and a second reference picture.
- the second exposure time and the second reference picture in the second set of data are the exposure time and reference picture stored in the electronic device before the self-calibration, for example, when the self-calibration is the first self-calibration .
- the second exposure time and the second reference picture are the data stored in the electronic device by the technician when the electronic device leaves the factory, or, when the self-calibration is not the first self-calibration, such as the second or third self-calibration
- the second exposure time and the second reference picture are the data determined and stored by the electronic device during the previous self-calibration of the current self-calibration.
- the specific implementation manners for the electronic device to update the currently stored second set of data with the first set of data may be various, for example, the second exposure time may be replaced by the first exposure time, and the first exposure time may be replaced by the first exposure time.
- the reference picture replaces the second reference picture, or it may be first to detect whether the first exposure time and the second exposure time are the same, or whether the first reference picture and the second reference picture are the same, where, when the first exposure time and the second exposure time When the first reference picture is the same as the second reference picture, the second exposure time can only be replaced by the first exposure time, or when the first exposure time and the second exposure time are the same, and the first reference picture and the second When the reference pictures are different, the second reference picture can only be replaced with the first reference picture, or in this case, multiple pixels with different pixel values in the first reference picture and the second reference picture can be determined, and only The pixel values of the multiple pixels in the first reference picture cover the pixel values of the corresponding pixels in the second reference picture, etc., which are not uniquely
- the electronic device when it detects a user's touch operation event for the preset area, it collects at least one first picture in the preset area, and when the touch is detected When the control operation event ends, a second picture in the preset area is collected, and then a first set of data is determined based on the at least one first picture and the second picture, and the first set of data includes the first exposure Time and the first reference picture, and finally, update the currently stored second set of data with the first set of data, the second set of data including the second exposure time and the second reference picture.
- the electronic device can determine the first set of data to be used according to the first picture and the second picture collected at different time nodes during the user's use at any time, without the need to pass the production line fixture, which is beneficial to improve The convenience and flexibility of data self-calibration, and the second set of currently stored data is updated through the first set of data to improve the effectiveness of subsequent fingerprint images.
- the method when it is detected that the user's touch operation event for the preset area starts, before collecting the first picture of the preset area, the method further includes:
- the preset operation is: when a fingerprint to be unlocked event is detected, the user is collected through the second exposure time And process the first reference fingerprint image through the second reference image to obtain a first target fingerprint image, and detect whether the first target fingerprint image matches a preset fingerprint template, the Detecting that the electronic device fails to perform a preset operation is detecting that the first target fingerprint image does not match the preset fingerprint template;
- the touch operation event of the user for the preset area is detected.
- the preset threshold for the number of times may be, for example, 3 times, 4 times, 5 times, etc., which are not limited here.
- the fingerprint waiting to be unlocked events may be various, for example, it may be a screen waiting to be unlocked event, an application waiting to be unlocked event, a payment waiting to be unlocked event, etc., which are not limited here.
- the specific implementation manner of processing the first reference fingerprint image through the second reference image to obtain the first target fingerprint image is to use the second reference image as a noise reference to remove the noise on the first reference fingerprint image to obtain
- the first target fingerprint picture is to filter out the noise pixel values on the second reference picture on the first reference fingerprint picture to obtain the first target fingerprint picture.
- the preset operation failed due to wet fingers, the preset operation failed due to inaccurate calibration data, or because of ambient light.
- the preset operation fails, etc., wherein the preset type is the preset operation failure caused by inaccurate calibration data.
- the specific implementation of determining the type of the preset operation failure as the preset type may be to detect whether the preset operation failed due to wet fingers through a humidity sensor, and then use a light sensor to detect whether the preset operation fails due to ambient light. Suppose the operation fails, if none of them, it can be confirmed that the type of failure is inaccurate calibration data.
- the electronic device when the electronic device detects the number of failures of the preset operation, it actively detects the touch operation event and performs the self-calibration process, which is beneficial to improve the timeliness of the self-calibration, and when the failure type is judged to be the preset Set the type to perform self-calibration to avoid misoperation of self-calibration.
- the determining the first set of data according to the at least one first picture and the second picture includes:
- the specific implementation manners for determining the first exposure time according to the at least one first picture may be various. For example, it may be to obtain the pixel value of each pixel in each first picture, Determine the first number of pixel points whose pixel value matches the preset pixel value, and determine that the exposure time corresponding to the first picture with the first number and the largest number in at least one first picture is the first time, or it may be determined for each first picture
- the average value of the pixels in any area in, the exposure time corresponding to the first picture whose pixel average value matches the preset average value is determined as the first time, etc., which are not limited here.
- the electronic device determines the first exposure time according to at least one first picture, which is beneficial to improve the accuracy of the exposure time determination, and at the same time, using the second picture as the first reference picture is beneficial to improve the first reference picture , Both the convenience of noise.
- the determining the first exposure time according to the at least one first picture includes:
- the exposure time when acquiring the target picture is the first exposure time.
- the at least one area may be the central area of the first picture, or may be when the first picture is rectangular, at least one area may be four right-angled areas, etc., which is not limited here.
- the average pixel value of the at least one preset area in each of the first pictures is the sum of the pixel values of all the first pixels in the at least one preset area divided by the number of first pixels. The average value.
- the electronic device determines the target picture according to the pixel average value of at least one preset area in each first picture, and then determines the corresponding first exposure time, which is beneficial to improve the accuracy of the first exposure time determination.
- collecting a second picture of the preset area includes:
- the intensity of the ambient light is less than a preset intensity threshold
- the second picture of the preset area is collected.
- the electronic device before the electronic device detects the end of the touch operation event and collects the second picture, it first obtains the intensity of the ambient light.
- the intensity of the ambient light is less than the preset intensity threshold, the collection is performed, which is beneficial to reduce the environment.
- the influence of light on the calibration data improves the accuracy of the noise in the second picture.
- the method also includes:
- the image quality of the processed third picture is greater than the preset quality threshold according to the ratio of the signal amount of the processed third picture to the spatial noise.
- the third picture may be a picture including a fingerprint image collected by the electronic device at any time, and the any time is the time when the user arbitrarily touches the preset area during the operation of the electronic device, and the third picture may be It is obtained by the electronic device without the user's perception in the background, and is not limited here.
- the specific calculation method of the signal amount of the third picture is to determine the first average value of the pixel values of all the convex points in the fingerprint image in the third picture, and the second method to determine the pixel values of all the concave points.
- the average value is obtained by subtracting the first average value and the second average value;
- the specific calculation method of the spatial noise of the third picture is to determine the flatness of the concave point, and determine the spatial noise and flatness according to the flatness The higher the level, the smaller the spatial noise, the lower the flatness, and the greater the spatial noise.
- the electronic device updates the currently stored second set of data in the first set of data to determine whether the calibration result of the first set of data is accurate through the third picture.
- the calibrated image quality is greater than the preset quality threshold, Only update the data, which helps to further ensure the accuracy of self-calibration.
- the method further includes:
- the fingerprint to-be-unlocked event is unlocked through the second target fingerprint image.
- the electronic device uses the first set of data to calibrate the acquired second reference fingerprint image after the fingerprint is to be unlocked, which is beneficial to improve the success rate of the fingerprint unlocking event.
- FIG. 3 is a schematic flowchart of a data self-calibration method provided by an embodiment of the present application, which is applied to the electronic device described in FIG.
- the electronic device includes a display screen and an under-screen fingerprint module set relative to the preset area of the display screen.
- the data self-calibration method includes:
- S301 In a preset time period, the electronic device detects that the number of times the electronic device fails to perform a preset operation is greater than a preset number of times a threshold.
- the preset operation is: when a fingerprint to be unlocked event is detected, collecting a first reference fingerprint image of the user through the second exposure time, and processing the first reference fingerprint image through the second reference image To obtain a first target fingerprint image, and to detect whether the first target fingerprint image matches a preset fingerprint template, the detection that the electronic device fails to perform the preset operation is the detection that the first target fingerprint image and the preset fingerprint image The preset fingerprint template does not match.
- S302 When the electronic device determines that the type of the preset operation failure is the preset type, detect the touch operation event of the user for the preset area.
- the electronic device collects at least one first picture in the preset area when detecting the touch operation event of the user for the preset area.
- S304 The electronic device collects a second picture in the preset area when detecting that the touch operation event ends.
- S305 The electronic device determines a first exposure time according to the at least one first picture.
- the electronic device uses the second picture as a first reference picture.
- S307 The electronic device collects a third picture through the first exposure time.
- the electronic device processes the third picture by using the first reference picture.
- the electronic device detects that the image quality of the processed third picture is greater than a preset quality threshold according to the ratio of the signal amount of the processed third picture to the spatial noise.
- the electronic device updates the second set of data with the first set of data, where the first set of data includes the first exposure time and the first reference picture.
- the electronic device when it detects a user's touch operation event for the preset area, it collects at least one first picture in the preset area, and when the touch is detected When the control operation event ends, a second picture in the preset area is collected, and then a first set of data is determined based on the at least one first picture and the second picture, and the first set of data includes the first exposure Time and the first reference picture, and finally, update the currently stored second set of data with the first set of data, the second set of data including the second exposure time and the second reference picture.
- the electronic device can determine the first set of data to be used according to the first picture and the second picture collected at different time nodes during the user's use at any time, without the need to pass the jig of the production line, which is beneficial to improve The convenience and flexibility of data self-calibration, and the second set of currently stored data is updated through the first set of data to improve the effectiveness of subsequent fingerprint images.
- the electronic device detects the number of failures of the preset operation, it actively detects the touch operation event and performs the self-calibration process, which is beneficial to improve the timeliness of the self-calibration, and it is performed when the failure type is determined to be the preset type. Self-calibration to avoid misoperation of self-calibration.
- the electronic device updates the currently stored second set of data in the first set of data and uses the third picture to determine whether the calibration result of the first set of data is accurate.
- the data update is performed only when the image quality after calibration is greater than the preset quality threshold. , Which helps to further ensure the accuracy of self-calibration.
- FIG. 4 is a schematic flowchart of a data self-calibration method provided by an embodiment of the present application, which is applied to the electronic device described in FIG.
- the electronic device includes an under-screen fingerprint module set relative to the preset area of the display screen.
- the data self-calibration method includes:
- the electronic device collects at least one first picture in the preset area when detecting a touch operation event of the user on the preset area.
- the electronic device acquires the intensity of the ambient light when detecting that the touch operation event ends.
- S403 The electronic device collects a second picture in the preset area when the intensity of the ambient light is less than a preset intensity threshold.
- S404 The electronic device obtains the first pixel value of each first pixel in at least one preset area in each of the first pictures.
- the electronic device determines, according to the first pixel value of each first pixel, an average value of pixels in the at least one preset area in each first picture.
- the electronic device calculates the difference between the pixel average value of each of the first pictures and a preset average value.
- the electronic device determines a target picture in the at least one first picture whose difference value is less than or equal to a preset difference value threshold.
- S408 The electronic device acquires the exposure time when the target picture is collected as the first exposure time.
- S409 The electronic device uses the second picture as a first reference picture.
- the electronic device updates the second set of data with a first set of data, where the first set of data includes the first exposure time and the first reference picture.
- the electronic device when it detects a user's touch operation event for the preset area, it collects at least one first picture in the preset area, and when the touch is detected When the control operation event ends, a second picture in the preset area is collected, and then a first set of data is determined based on the at least one first picture and the second picture, and the first set of data includes the first exposure Time and the first reference picture, and finally, update the currently stored second set of data with the first set of data, the second set of data including the second exposure time and the second reference picture.
- the electronic device can determine the first set of data to be used according to the first picture and the second picture collected at different time nodes during the user's use at any time, without the need to pass the jig of the production line, which is beneficial to improve The convenience and flexibility of data self-calibration, and the second set of currently stored data is updated through the first set of data to improve the effectiveness of subsequent fingerprint images.
- the electronic device determines the target picture according to the pixel average value of at least one preset area in each first picture, and then determines the corresponding first exposure time, which is beneficial to improve the accuracy of the first exposure time determination.
- the electronic device first obtains the intensity of the ambient light before detecting the end of the touch operation event and collects the second picture.
- the intensity of the ambient light is less than the preset intensity threshold, the collection is performed, which is beneficial to reduce the influence of the ambient light on the calibration data. , Improve the accuracy of noise in the second picture.
- FIG. 5 is a schematic structural diagram of an electronic device 500 provided by an embodiment of the present application.
- the electronic device includes a display screen and The under-screen fingerprint module set in the preset area of the display screen, as shown in the figure, the electronic device 500 includes an application processor 510, a memory 520, a communication interface 530, and one or more programs 521, wherein the One or more programs 521 are stored in the foregoing memory 520 and configured to be executed by the foregoing application processor 510, and the one or more programs 521 include instructions for performing the following steps:
- the first set of data including a first exposure time and a first reference picture
- the currently stored second set of data is updated with the first set of data.
- the second set of data includes a second exposure time and a second reference picture.
- the electronic device when it detects a user's touch operation event for the preset area, it collects at least one first picture in the preset area, and when the touch is detected When the control operation event ends, a second picture in the preset area is collected, and then a first set of data is determined based on the at least one first picture and the second picture, and the first set of data includes the first exposure Time and the first reference picture, and finally, update the currently stored second set of data with the first set of data, the second set of data including the second exposure time and the second reference picture.
- the electronic device can determine the first set of data to be used according to the first picture and the second picture collected at different time nodes during the user's use at any time, without the need to pass the jig of the production line, which is beneficial to improve The convenience and flexibility of data self-calibration, and the second set of currently stored data is updated through the first set of data to improve the effectiveness of subsequent fingerprint images.
- the one or more programs 521 further include instructions for executing the following steps: when it is detected that the user's touch operation event for the preset area starts, collecting the preset Before the first picture of the area, within a preset time period, it is detected that the number of times the electronic device has failed to perform a preset operation is greater than a preset number of thresholds, and the preset operation is: when a fingerprint to be unlocked event is detected, pass all
- the second exposure time collects the user's first reference fingerprint image, and processes the first reference fingerprint image through the second reference image to obtain the first target fingerprint image, and detects the first target fingerprint image and the preset Whether the fingerprint template matches, the detection that the electronic device fails to perform the preset operation is the detection that the first target fingerprint image does not match the preset fingerprint template; and it is determined that the type of the preset operation failure is a preset When the type is set, the touch operation event of the user for the preset area is detected.
- the instructions in the program 521 are specifically configured to perform the following operations: A first picture determines the first exposure time; and is used to use the second picture as the first reference picture.
- the instructions in the program 521 are specifically used to perform the following operations: acquiring each first picture The first pixel value of each first pixel in at least one of the preset regions; and used to determine the at least one pixel in each first picture according to the first pixel value of each first pixel A pixel average value of a preset area; and used to calculate the difference between the pixel average value of each of the first pictures and the preset average value; and used to determine that the difference value is less than or equal to the preset difference value A threshold value of the target picture in the at least one first picture; and the exposure time used for acquiring the target picture is the first exposure time.
- the instructions in the program 521 are specifically used to perform the following operations: When the touch operation event ends, the intensity of the ambient light is acquired; and when the intensity of the ambient light is less than a preset intensity threshold, the second picture of the preset area is collected.
- the one or more programs 521 further include instructions for performing the following steps: after the first set of data is determined according to the at least one first picture and the second picture, Said that before updating the currently stored second set of data with the first set of data, a third picture is collected through the first exposure time; and the third picture is processed by the first reference picture; and according to the processed The ratio of the signal amount of the third picture to the spatial noise detects that the processed image quality of the third picture is greater than a preset quality threshold.
- the one or more programs 521 further include instructions for executing the following steps: after updating the currently stored second set of data with the first set of data, when it is detected that the fingerprint is to be unlocked In an event, collect a second reference fingerprint image of the user through the first exposure time; and process the second reference fingerprint image through the first reference picture to obtain a second target fingerprint image; and through the second target The fingerprint image unlocks the fingerprint to be unlocked event.
- the electronic device includes hardware structures and/or software modules corresponding to each function.
- this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
- the embodiment of the present application may divide the electronic device into functional units according to the foregoing method examples.
- each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit.
- the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
- FIG. 6 is a block diagram of the functional units of the data self-calibration device 600 involved in an embodiment of the present application.
- the data self-calibration device 600 is applied to electronic equipment, the electronic equipment includes a display screen and an under-screen fingerprint module set relative to a preset area of the display screen, and the data self-calibration device 600 includes a processing unit 601 and a communication unit 602, of which:
- the processing unit 601 is configured to collect at least one first picture in the preset area through the communication unit 602 when a touch operation event of the user on the preset area is detected; When the touch operation event ends, the second picture in the preset area is collected through the communication unit 602; the first set of data is determined according to the at least one first picture and the second picture, and the first set The data includes a first exposure time and a first reference picture; the currently stored second set of data is updated with the first set of data, and the second set of data includes a second exposure time and a second reference picture.
- the data self-calibration device 600 may further include a storage unit 603 for storing program codes and data of electronic equipment.
- the processing unit 601 may be a processor
- the communication unit 602 may be a touch screen or a transceiver
- the storage unit 603 may be a memory.
- the electronic device when it detects a user's touch operation event for the preset area, it collects at least one first picture in the preset area, and when the touch is detected When the control operation event ends, a second picture in the preset area is collected, and then a first set of data is determined based on the at least one first picture and the second picture, and the first set of data includes the first exposure Time and the first reference picture, and finally, update the currently stored second set of data with the first set of data, the second set of data including the second exposure time and the second reference picture.
- the electronic device can determine the first set of data to be used according to the first picture and the second picture collected at different time nodes during the user's use at any time, without the need to pass the production line fixture, which is beneficial to improve The convenience and flexibility of data self-calibration, and the second set of currently stored data is updated through the first set of data to improve the effectiveness of subsequent fingerprint images.
- the processing unit 601 collects the first picture of the preset area through the communication unit 602 before the detection of the start of the user's touch operation event for the preset area , Is also used to: within a preset time period, it is detected that the number of times the electronic device fails to perform a preset operation is greater than a preset number of thresholds, and the preset operation is: when a fingerprint to be unlocked event is detected, pass the first Second, the exposure time collects the user's first reference fingerprint image, and processes the first reference fingerprint image through the second reference image to obtain a first target fingerprint image, and detects the first target fingerprint image and a preset fingerprint template Whether it matches, the detection that the electronic device fails to perform the preset operation is the detection that the first target fingerprint image does not match the preset fingerprint template; and the type used to determine the failure of the preset operation is the preset When the type is set, the touch operation event of the user for the preset area is detected.
- the processing unit 601 is specifically configured to: according to the at least one first picture Determining the first exposure time; and for using the second picture as the first reference picture.
- the processing unit 601 is specifically configured to: acquire at least one preset in each first picture The first pixel value of each first pixel of the region; and the method used to determine the at least one preset region in each of the first pictures according to the first pixel value of each first pixel Pixel average value; and used to calculate the difference between the pixel average value of each of the first pictures and a preset average value; and the at least one used to determine that the difference value is less than or equal to a preset difference threshold
- a target picture in a first picture; and the exposure time used to obtain the target picture when the target picture is collected is the first exposure time.
- the processing unit 601 is specifically configured to: when the touch operation event is detected At the end, the intensity of the ambient light is acquired; and when the intensity of the ambient light is less than a preset intensity threshold, the second picture of the preset area is collected.
- the processing unit 601 determines the first set of data according to the at least one first picture and the second picture
- the processing unit 601 updates the currently stored data with the first set of data. Before the second set of data, it is also used to: collect a third picture through the communication unit 602 and the first exposure time; and process the third picture through the first reference picture; and according to the processed The ratio of the signal amount of the third picture to the spatial noise detects that the processed image quality of the third picture is greater than the preset quality threshold.
- the processing unit 601 is used to update the currently stored second set of data with the first set of data, it is further configured to: when a fingerprint to be unlocked event is detected, pass the communication unit 602 and the first exposure time to collect a second reference fingerprint image of the user; and process the second reference fingerprint image through the first reference picture to obtain a second target fingerprint image; and through the second target fingerprint image Unlock the fingerprint pending unlock event.
- An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any method as recorded in the above method embodiment ,
- the aforementioned computer includes electronic equipment.
- the embodiments of the present application also provide a computer program product.
- the above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program. Part or all of the steps of the method.
- the computer program product may be a software installation package, and the above-mentioned computer includes electronic equipment.
- the disclosed device may be implemented in other ways.
- the device embodiments described above are only illustrative.
- the division of the above-mentioned units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or integrated. To another system, or some features can be ignored, or not implemented.
- the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
- the units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
- the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
- the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
- the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable memory.
- the technical solution of the present application essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, A number of instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the foregoing methods of the various embodiments of the present application.
- the aforementioned memory includes: U disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
- the program can be stored in a computer-readable memory, and the memory can include: flash disk , Read-Only Memory (ROM), Random Access Memory (RAM), magnetic disk or optical disk, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
- Image Input (AREA)
Abstract
The embodiments of the present application disclose a data self-calibration method and a related apparatus. Said method comprises: when a touch operation event of a user for the preset area is detected, acquiring at least one first picture of the preset area; when it is detected that the touch operation event ends, acquiring a second picture of the preset area; determining a first set of data according to the at least one first picture and the second picture, the first set of data comprising a first exposure time and a first reference picture; and using the first set of data to update a currently stored second set of data, the second set of data comprising a second exposure time and a second reference picture. The embodiments of the present application facilitate improving the convenience and flexibility of data updating, further improving the effectiveness of acquired fingerprint images.
Description
本申请涉及电子设备技术领域,具体涉及一种数据自校准方法及相关装置。This application relates to the technical field of electronic equipment, and in particular to a data self-calibration method and related devices.
随着移动通信技术的发展,电子设备(例如智能手机)的应用越来越广泛,为了保障电子设备中各种数据的安全性,设置了指纹解锁功能,而为了使显示屏的屏幕足够大,光学屏下指纹模组应运而生。With the development of mobile communication technology, electronic devices (such as smart phones) are more and more widely used. In order to ensure the security of various data in electronic devices, fingerprint unlocking functions are set up, and in order to make the screen of the display large enough, The fingerprint module under the optical screen came into being.
目前,光学屏下指纹的曝光时间和基准图片等参数均与硬件结构以及器件的老化状态有关系,因此,在手机跌落或硬件老化的情况下,仍然使用电子设备出厂时的校准数据可能会产生无法解锁的异常。At present, the parameters such as the exposure time of the fingerprint under the optical screen and the reference image are related to the hardware structure and the aging state of the device. Therefore, if the mobile phone is dropped or the hardware is aging, the calibration data of the electronic device at the factory may be used. Unable to unlock exception.
发明内容Summary of the invention
本申请实施例提供了一种数据自校准方法及相关装置,以期提升数据更新的便捷性和灵活性,进而提升获取指纹图像的有效性。The embodiments of the present application provide a data self-calibration method and related devices, in order to improve the convenience and flexibility of data update, and thereby improve the effectiveness of acquiring fingerprint images.
第一方面,本申请实施例提供一种数据自校准方法,应用于电子设备,所述电子设备包括显示屏和相对于所述显示屏的预设区域设置的屏下指纹模组,包括:In the first aspect, an embodiment of the present application provides a data self-calibration method, which is applied to an electronic device, the electronic device includes a display screen and an under-screen fingerprint module set relative to a preset area of the display screen, including:
当检测到用户针对所述预设区域的触控操作事件时,采集所述预设区域的至少一张第一图片;Collecting at least one first picture in the preset area when a touch operation event of the user on the preset area is detected;
当检测到所述触控操作事件结束时,采集所述预设区域的第二图片;When it is detected that the touch operation event ends, collecting a second picture of the preset area;
根据所述至少一张第一图片和所述第二图片确定第一组数据,所述第一组数据包括第一曝光时间和第一基准图片;Determining a first set of data according to the at least one first picture and the second picture, where the first set of data includes a first exposure time and a first reference picture;
以所述第一组数据更新当前存储的第二组数据,所述第二组数据包括第二曝光时间和第二基准图片。The currently stored second set of data is updated with the first set of data. The second set of data includes a second exposure time and a second reference picture.
第二方面,本申请实施例提供一种数据自校准装置,应用于电子设备,所述电子设备包括显示屏和相对于所述显示屏的预设区域设置的屏下指纹模组,所述数据自校准装置包括处理单元和通信单元,其中,In a second aspect, an embodiment of the present application provides a data self-calibration device, which is applied to an electronic device. The electronic device includes a display screen and an under-screen fingerprint module set relative to a preset area of the display screen. The data The self-calibration device includes a processing unit and a communication unit, wherein,
所述处理单元,用于当检测到用户针对所述预设区域的触控操作事件时,通过所述通信单元采集所述预设区域的至少一张第一图片;当检测到所述触控操作事件结束时,通过所述通信单元采集所述预设区域的第二图片;根据所述至少一张第一图片和所述第二图片确定第一组数据,所述第一组数据包括第一曝光时间和第一基准图片;以所述第一组数据更新当前存储的第二组数据,所述第二组数据包括第二曝光时间和第二基准图片。The processing unit is configured to collect at least one first picture of the preset area through the communication unit when a user's touch operation event for the preset area is detected; when the touch is detected When the operation event ends, the second picture of the preset area is collected through the communication unit; a first set of data is determined according to the at least one first picture and the second picture, and the first set of data includes the first An exposure time and a first reference picture; the currently stored second set of data is updated with the first set of data, and the second set of data includes a second exposure time and a second reference picture.
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。In a third aspect, embodiments of the present application provide an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the above The above-mentioned program includes instructions for executing the steps in any method of the first aspect of the embodiments of the present application.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the foregoing computer-readable storage medium stores a computer program for electronic data exchange, wherein the foregoing computer program enables a computer to execute In one aspect, some or all of the steps described in any method.
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机 执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, embodiments of the present application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute For example, some or all of the steps described in any method of the first aspect. The computer program product may be a software installation package.
下面将对本申请实施例所涉及到的附图作简单地介绍。The following will briefly introduce the drawings involved in the embodiments of the present application.
图1是本申请实施例提供的一种电子设备采集指纹的示意图;FIG. 1 is a schematic diagram of fingerprint collection by an electronic device according to an embodiment of the present application;
图2是本申请实施例提供的一种数据自校准方法的流程示意图;2 is a schematic flowchart of a data self-calibration method provided by an embodiment of the present application;
图3是本申请实施例提供的另一种数据自校准方法的流程示意图;3 is a schematic flowchart of another data self-calibration method provided by an embodiment of the present application;
图4是本申请实施例提供的另一种数据自校准方法的流程示意图;4 is a schematic flowchart of another data self-calibration method provided by an embodiment of the present application;
图5是本申请实施例提供的又一种电子设备的结构示意图;FIG. 5 is a schematic structural diagram of yet another electronic device provided by an embodiment of the present application;
图6是本申请实施例提供的一种数据自校准装置的功能单元组成框图。Fig. 6 is a block diagram of functional units of a data self-calibration device provided by an embodiment of the present application.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solution of the application, the technical solutions in the embodiments of the application will be clearly and completely described below in conjunction with the drawings in the embodiments of the application. Obviously, the described embodiments are only It is a part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of this application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific sequence. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes unlisted steps or units, or optionally also includes Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference to "embodiments" herein means that a specific feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art clearly and implicitly understand that the embodiments described herein can be combined with other embodiments.
本申请实施例所涉及到的电子设备可以是具备数据传输能力的电子设备,该电子设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。The electronic devices involved in the embodiments of the present application may be electronic devices with data transmission capabilities. The electronic devices may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, or devices connected to wireless modems. Other processing equipment, and various forms of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal equipment (terminal device), etc.
下面对本申请实施例进行详细介绍。The following describes the embodiments of the present application in detail.
指纹识别技术把一个人同他的指纹对应起来,通过将他的指纹和预先保存的指纹模组进行比较,通过不同指纹的细节特征点来进行鉴别,就可以验证他的真实身份。特征点是指指纹纹路经常出现中断、分叉或转折的断点、分叉点和转折点。每个人的指纹纹路在图案、断点、分叉点和转折点上各不相同,是唯一的。且其唯一性是终生不变的,正是依靠这种唯一性和稳定性,我们才能创造指纹识别技术。指纹识别技术拥有识别速度快、采集方便和价格低廉等优点,被广泛应用于图像处理、模式识别、计算机视觉等众多学科领域。如图1所示,图1为一个电子设备101采集指纹的示意图,该电子设备101包括显示屏102和相对于所述显示屏102的预设区域103设置的屏下指纹模组104,该屏下指纹模组104为光学屏下指纹模组,105为指纹放大图,当用户手指接触屏幕时,显示屏102根据一定的曝光时间发出的光线穿透盖板将指纹纹理照亮,形成指纹光膜,指纹将反射光线回传给屏下指纹模组104,最终形成指纹图像。Fingerprint recognition technology associates a person with his fingerprint. By comparing his fingerprint with a pre-saved fingerprint module, and identifying the minutiae feature points of different fingerprints, his true identity can be verified. Feature points refer to the breakpoints, bifurcation points and turning points where the fingerprint lines are often interrupted, branched or turned. Each person’s fingerprint pattern is unique in pattern, breakpoint, bifurcation and turning point. And its uniqueness is the same throughout life. It is this uniqueness and stability that we can create fingerprint recognition technology. Fingerprint recognition technology has the advantages of fast recognition speed, convenient collection and low price, and is widely used in many disciplines such as image processing, pattern recognition, and computer vision. As shown in Figure 1, Figure 1 is a schematic diagram of an electronic device 101 collecting fingerprints. The electronic device 101 includes a display screen 102 and an under-screen fingerprint module 104 set relative to a preset area 103 of the display screen 102. The lower fingerprint module 104 is the lower fingerprint module of the optical screen, and 105 is the enlarged image of the fingerprint. When the user's finger touches the screen, the light emitted by the display screen 102 according to a certain exposure time penetrates the cover to illuminate the fingerprint texture, forming a fingerprint light The fingerprint returns the reflected light to the fingerprint module 104 under the screen, and finally forms a fingerprint image.
请参阅图2,图2是本申请实施例提供了一种数据自校准方法的流程示意图,应用于如图1中所述的电子设备,所述电子设备包括显示屏和相对于所述显示屏的预设区域设置的屏下指纹模组,如图所示,本数据自校准方法包括:Please refer to FIG. 2. FIG. 2 is a schematic flow chart of a data self-calibration method provided by an embodiment of the present application, which is applied to the electronic device as described in FIG. 1, and the electronic device includes a display screen and relative to the display screen. The under-screen fingerprint module set in the preset area, as shown in the figure, the data self-calibration method includes:
S201,电子设备当检测到用户针对所述预设区域的触控操作事件时,采集所述预设区域的至少一张第一图片。S201: The electronic device collects at least one first picture in the preset area when detecting a touch operation event of the user for the preset area.
其中,所述至少一张第一图片是在触控操作事件开始(检测到用户针对预设区域的按压事件)到结束之前采集的包括用户指纹图像的预设区域的屏幕图片,且电子设备获取每张第一图片时使用的曝光时间不同,也就是说,电子设备从检测到触控操作事件开始到结束之前,在预设的曝光时间的范围内,通过不断修改曝光时间来获取。Wherein, the at least one first picture is a screen picture of a preset area including a user's fingerprint image collected from the start of the touch operation event (the user's pressing event against the preset area is detected) to the end, and the electronic device obtains The exposure time used for each first picture is different, that is, the electronic device acquires it by continuously modifying the exposure time within the range of the preset exposure time from the beginning to the end of the detection of the touch operation event.
其中,所述预设区域在屏下指纹模组的采样端所处平面的投影与所述采样端重合,所述指纹识别区域可以是圆形、方形、不规则形状等,在此不做唯一限定。Wherein, the projection of the preset area on the plane where the sampling end of the fingerprint module under the screen is located coincides with the sampling end, and the fingerprint recognition area may be a circle, a square, an irregular shape, etc., which is not unique here. limited.
S202,所述电子设备当检测到所述触控操作事件结束时,采集所述预设区域的第二图片。S202: The electronic device collects a second picture of the preset area when detecting that the touch operation event ends.
其中,所述触控操作事件结束对应用户手指抬起过程,电子设备可以在触控操作事件结束的预设时段内(如100min)采集第二图片,所述第二图片为屏幕图片,所述第二图片包括屏幕噪声信息,例如,污渍、异物等。Wherein, the end of the touch operation event corresponds to the user's finger lifting process, the electronic device may collect a second picture within a preset time period (such as 100 min) after the end of the touch operation event, the second picture being a screen picture, The second picture includes screen noise information, such as stains, foreign objects, and so on.
S203,所述电子设备根据所述至少一张第一图片和所述第二图片确定第一组数据,所述第一组数据包括第一曝光时间和第一基准图片。S203: The electronic device determines a first set of data according to the at least one first picture and the second picture, where the first set of data includes a first exposure time and a first reference picture.
其中,所述根据所述至少一张第一图片和所述第二图片确定第一组数据的具体实现方式可以是多种多样的,例如可以是根据至少一张第一图片中一张第一图片的曝光时间确定第一曝光时间,根据第二图片上的噪声信息以及第二图片拍摄时的环境参数确定第一基准图片,或者可以是选取至少一张第一图片中多张清晰度高于预设清晰度的第一图片,确定多张第一图片的平均曝光时间为第一曝光时间,并以第二图片作为第一基准图片等,在此不做限定。Wherein, the specific implementation manners for determining the first set of data according to the at least one first picture and the second picture may be various, for example, may be based on one first group of the at least one first picture. The exposure time of the picture determines the first exposure time, and the first reference picture is determined according to the noise information on the second picture and the environmental parameters when the second picture is taken, or it may be that at least one of the first pictures is selected with a higher definition than The first picture with a preset resolution is determined, the average exposure time of multiple first pictures is determined as the first exposure time, and the second picture is used as the first reference picture, etc., which are not limited here.
S204,所述电子设备以所述第一组数据更新当前存储的第二组数据,所述第二组数据包括第二曝光时间和第二基准图片。S204. The electronic device updates the currently stored second set of data with the first set of data, where the second set of data includes a second exposure time and a second reference picture.
其中,所述第二组数据中的第二曝光时间和第二基准图片为本次自校准之前电子设备中存储的曝光时间和基准图片,例如,当本次自校准为首次进行的自校准时,那么第二曝光时间和第二基准图片为电子设备出厂时技术人员存储在电子设备中的数据,或者,当本次自校准为非首次自校准时,例如是第二次或者第三次自校准时,那么第二曝光时间和第二基准图片为电子设备在当前自校准的前一次自校准时确定并存储的数据。Wherein, the second exposure time and the second reference picture in the second set of data are the exposure time and reference picture stored in the electronic device before the self-calibration, for example, when the self-calibration is the first self-calibration , Then the second exposure time and the second reference picture are the data stored in the electronic device by the technician when the electronic device leaves the factory, or, when the self-calibration is not the first self-calibration, such as the second or third self-calibration During calibration, the second exposure time and the second reference picture are the data determined and stored by the electronic device during the previous self-calibration of the current self-calibration.
其中,所述电子设备以所述第一组数据更新当前存储的第二组数据的具体实现方式可以是多种多样的,例如,可以是以第一曝光时间替换第二曝光时间,以第一基准图片替换第二基准图片,或者可以是首先检测第一曝光时间和第二曝光时间是否相同,或者第一基准图片和第二基准图片是否相同,其中,当第一曝光时间和第二曝光时间不同,且第一基准图片与第二基准图片相同时,可以仅仅以第一曝光时间替换第二曝光时间,或者,当第一曝光时间和第二曝光时间相同,且第一基准图片和第二基准图片不同时,可以仅仅以第一基准图片替换第二基准图片,或者在此种情况下,可以确定出第一基准图片与第二基准图片中具有不同像素值的多个像素点,仅以第一基准图片中该多个像素点的像素值覆盖第二基准图片中对应的像素点的像素值等,在此不做唯一限定。Wherein, the specific implementation manners for the electronic device to update the currently stored second set of data with the first set of data may be various, for example, the second exposure time may be replaced by the first exposure time, and the first exposure time may be replaced by the first exposure time. The reference picture replaces the second reference picture, or it may be first to detect whether the first exposure time and the second exposure time are the same, or whether the first reference picture and the second reference picture are the same, where, when the first exposure time and the second exposure time When the first reference picture is the same as the second reference picture, the second exposure time can only be replaced by the first exposure time, or when the first exposure time and the second exposure time are the same, and the first reference picture and the second When the reference pictures are different, the second reference picture can only be replaced with the first reference picture, or in this case, multiple pixels with different pixel values in the first reference picture and the second reference picture can be determined, and only The pixel values of the multiple pixels in the first reference picture cover the pixel values of the corresponding pixels in the second reference picture, etc., which are not uniquely limited herein.
可以看出,本申请实施例中,电子设备当检测到用户针对所述预设区域的触控操作事件时,采集所述预设区域的至少一张第一图片,并当检测到所述触控操作事件结束时,采集所述预设区域的第二图片,然后,根据所述至少一张第一图片和所述第二图片确定第一 组数据,所述第一组数据包括第一曝光时间和第一基准图片,最后,以所述第一组数据更新当前存储的第二组数据,所述第二组数据包括第二曝光时间和第二基准图片。可见,电子设备可以随时在用户使用的过程中,根据不同时间节点采集的第一图片和第二图片,确定出待使用的第一组数据,而不需要通过产线的治具,有利于提升数据自校准的便捷性和灵活性,而且,通过第一组数据更新当前存储的第二组数据,提升后续获取的指纹图像的有效性。It can be seen that, in this embodiment of the application, when the electronic device detects a user's touch operation event for the preset area, it collects at least one first picture in the preset area, and when the touch is detected When the control operation event ends, a second picture in the preset area is collected, and then a first set of data is determined based on the at least one first picture and the second picture, and the first set of data includes the first exposure Time and the first reference picture, and finally, update the currently stored second set of data with the first set of data, the second set of data including the second exposure time and the second reference picture. It can be seen that the electronic device can determine the first set of data to be used according to the first picture and the second picture collected at different time nodes during the user's use at any time, without the need to pass the production line fixture, which is beneficial to improve The convenience and flexibility of data self-calibration, and the second set of currently stored data is updated through the first set of data to improve the effectiveness of subsequent fingerprint images.
在一个可能的示例中,所述当检测到用户针对所述预设区域的触控操作事件开始时,采集所述预设区域的第一图片之前,所述方法还包括:In a possible example, when it is detected that the user's touch operation event for the preset area starts, before collecting the first picture of the preset area, the method further includes:
在预设时段内,检测到所述电子设备执行预设操作失败的次数大于预设次数阈值,所述预设操作为:当检测到指纹待解锁事件时,通过所述第二曝光时间采集用户的第一参考指纹图像,以及通过所述第二基准图片处理所述第一参考指纹图像以获取第一目标指纹图像,以及检测所述第一目标指纹图像与预设指纹模板是否匹配,所述检测到所述电子设备执行预设操作失败为检测到所述第一目标指纹图像与所述预设指纹模板不匹配;Within a preset time period, it is detected that the number of times the electronic device fails to perform a preset operation is greater than a preset number of thresholds, and the preset operation is: when a fingerprint to be unlocked event is detected, the user is collected through the second exposure time And process the first reference fingerprint image through the second reference image to obtain a first target fingerprint image, and detect whether the first target fingerprint image matches a preset fingerprint template, the Detecting that the electronic device fails to perform a preset operation is detecting that the first target fingerprint image does not match the preset fingerprint template;
确定所述预设操作失败的类型为预设类型时,检测用户针对所述预设区域的所述触控操作事件。When it is determined that the type of the preset operation failure is the preset type, the touch operation event of the user for the preset area is detected.
其中,所述预设次数阈值例如可以是3次、4次、5次等,在此不做限定。Wherein, the preset threshold for the number of times may be, for example, 3 times, 4 times, 5 times, etc., which are not limited here.
其中,指纹待解锁事件可以是多种多样的,例如可以是屏幕待解锁事件、应用程序待解锁事件、支付待解锁事件等,在此不做限定。Among them, the fingerprint waiting to be unlocked events may be various, for example, it may be a screen waiting to be unlocked event, an application waiting to be unlocked event, a payment waiting to be unlocked event, etc., which are not limited here.
其中,所述通过所述第二基准图片处理所述第一参考指纹图像以获取第一目标指纹图像的具体实现方式为以第二基准图片为噪声基准去除第一参考指纹图片上的噪声来获取第一目标指纹图片,即在第一参考指纹图片上过滤掉第二基准图片上的噪声像素值获取第一目标指纹图片。Wherein, the specific implementation manner of processing the first reference fingerprint image through the second reference image to obtain the first target fingerprint image is to use the second reference image as a noise reference to remove the noise on the first reference fingerprint image to obtain The first target fingerprint picture is to filter out the noise pixel values on the second reference picture on the first reference fingerprint picture to obtain the first target fingerprint picture.
其中,所述预设操作失败的类型为多种多样的,例如可以是因为湿手指导致的预设操作失败,还可以是因为校准数据不准确导致的预设操作失败,或者是因为环境光线导致预设操作失败等,其中,所述预设类型为所述因为校准数据不准确导致的预设操作失败。There are various types of failures in the preset operation. For example, the preset operation failed due to wet fingers, the preset operation failed due to inaccurate calibration data, or because of ambient light. The preset operation fails, etc., wherein the preset type is the preset operation failure caused by inaccurate calibration data.
其中,所述确定所述预设操作失败的类型为预设类型具体实现方式可以是通过湿度传感器检测是否为因为湿手指导致的预设操作失败,然后通过光感传感器检测是否因为环境光线导致预设操作失败,如果都不是,则可以确认为失败类型为校准数据不准确。Wherein, the specific implementation of determining the type of the preset operation failure as the preset type may be to detect whether the preset operation failed due to wet fingers through a humidity sensor, and then use a light sensor to detect whether the preset operation fails due to ambient light. Suppose the operation fails, if none of them, it can be confirmed that the type of failure is inaccurate calibration data.
可见,本示例中,电子设备在检测到预设操作失败的次数时,主动进行触控操作事件的检测,进行自校准过程,有利于提升自校准的及时性,而且在判断出失败类型为预设类型是进行自校准,避免自校准误操作的情况。It can be seen that, in this example, when the electronic device detects the number of failures of the preset operation, it actively detects the touch operation event and performs the self-calibration process, which is beneficial to improve the timeliness of the self-calibration, and when the failure type is judged to be the preset Set the type to perform self-calibration to avoid misoperation of self-calibration.
在一个可能的示例中,所述根据所述至少一张第一图片和所述第二图片确定第一组数据,包括:In a possible example, the determining the first set of data according to the at least one first picture and the second picture includes:
根据所述至少一张第一图片确定所述第一曝光时间;Determining the first exposure time according to the at least one first picture;
以所述第二图片作为所述第一基准图片。Use the second picture as the first reference picture.
其中,所述根据所述至少一张第一图片确定所述第一曝光时间的具体实现方式可以是多种多样的,例如可以是,获取每张第一图片中每个像素点的像素值,确定像素值与预设像素值匹配的像素点的第一数量,确定至少一张第一图片中第一数量最多第一图片对应的曝光时间为第一时间,或者可以是确定每张第一图片中任意区域的像素平均值,确定像素平均值与预设平均值匹配的第一图片对应的曝光时间为第一时间等,在此不做限定。Wherein, the specific implementation manners for determining the first exposure time according to the at least one first picture may be various. For example, it may be to obtain the pixel value of each pixel in each first picture, Determine the first number of pixel points whose pixel value matches the preset pixel value, and determine that the exposure time corresponding to the first picture with the first number and the largest number in at least one first picture is the first time, or it may be determined for each first picture The average value of the pixels in any area in, the exposure time corresponding to the first picture whose pixel average value matches the preset average value is determined as the first time, etc., which are not limited here.
可见,本示例中,电子设备根据至少一张第一图片确定第一曝光时间,有利于提升曝光时间确定的准确性,同时,以第二图片作为第一基准图片,有利于提升第一基准图片,既噪声的便捷性。It can be seen that, in this example, the electronic device determines the first exposure time according to at least one first picture, which is beneficial to improve the accuracy of the exposure time determination, and at the same time, using the second picture as the first reference picture is beneficial to improve the first reference picture , Both the convenience of noise.
在这个可能的示例中,所述根据所述至少一张第一图片确定所述第一曝光时间,包括:In this possible example, the determining the first exposure time according to the at least one first picture includes:
获取每张所述第一图片中至少一个预设区域的每个第一像素点的第一像素值;Acquiring the first pixel value of each first pixel of at least one preset area in each of the first pictures;
根据所述每个第一像素点的所述第一像素值确定每张所述第一图片中所述至少一个预设区域的像素平均值;Determine, according to the first pixel value of each first pixel, an average value of pixels in the at least one preset area in each first picture;
计算每张所述第一图片的所述像素平均值与预设平均值的差值;Calculating the difference between the pixel average value of each of the first pictures and a preset average value;
确定所述差值小于或者等于预设差值阈值的所述至少一张第一图片中的目标图片;Determine the target picture in the at least one first picture whose difference value is less than or equal to a preset difference value threshold;
获取采集所述目标图片时的曝光时间为所述第一曝光时间。The exposure time when acquiring the target picture is the first exposure time.
其中,所述至少一个区域可以是第一图片的中心区域,或者可以是第一图片为矩形时,至少一个区域可以是四个直角的区域等,在此不做限定。Wherein, the at least one area may be the central area of the first picture, or may be when the first picture is rectangular, at least one area may be four right-angled areas, etc., which is not limited here.
其中,每张所述第一图片中所述至少一个预设区域的像素平均值为至少一个预设区域的所有第一像素点的像素值相加的总和除以第一像素点的个数得出的平均值。Wherein, the average pixel value of the at least one preset area in each of the first pictures is the sum of the pixel values of all the first pixels in the at least one preset area divided by the number of first pixels. The average value.
可见,本示例中,电子设备根据每张第一图片中至少一个预设区域的像素平均值确定目标图片,进而确定对应的第一曝光时间,有利于提升第一曝光时间确定的准确度。It can be seen that, in this example, the electronic device determines the target picture according to the pixel average value of at least one preset area in each first picture, and then determines the corresponding first exposure time, which is beneficial to improve the accuracy of the first exposure time determination.
在一个可能的示例中,当检测到所述触控操作事件结束时,采集所述预设区域的第二图片,包括:In a possible example, when the end of the touch operation event is detected, collecting a second picture of the preset area includes:
当检测到所述触控操作事件结束时,获取环境光的强度;When it is detected that the touch operation event ends, acquiring the intensity of the ambient light;
当所述环境光的强度小于预设强度阈值时,采集所述预设区域的所述第二图片。When the intensity of the ambient light is less than a preset intensity threshold, the second picture of the preset area is collected.
可见,本示例中,电子设备在检测到触控操作事件结束,采集第二图片之前,首先获取环境光的强度,在环境光的强度小于预设强度阈值时,再进行采集,有利于降低环境光对校准数据的影响,提升第二图片中噪声的准确度。It can be seen that in this example, before the electronic device detects the end of the touch operation event and collects the second picture, it first obtains the intensity of the ambient light. When the intensity of the ambient light is less than the preset intensity threshold, the collection is performed, which is beneficial to reduce the environment. The influence of light on the calibration data improves the accuracy of the noise in the second picture.
在一个可能的示例中,所述根据所述至少一张第一图片和所述第二图片确定第一组数据之后,所述以所述第一组数据更新当前存储的第二组数据之前,所述方法还包括:In a possible example, after the first set of data is determined according to the at least one first picture and the second picture, before the first set of data is used to update the currently stored second set of data, The method also includes:
通过所述第一曝光时间采集第三图片;Acquiring a third picture through the first exposure time;
通过所述第一基准图片处理所述第三图片;Processing the third picture by using the first reference picture;
根据处理后的所述第三图片的信号量与空域噪声的比值检测到处理后的所述第三图片的图像质量大于预设质量阈值。It is detected that the image quality of the processed third picture is greater than the preset quality threshold according to the ratio of the signal amount of the processed third picture to the spatial noise.
其中,第三图片可以为电子设备在任意时刻采集的包括指纹图像的图片,所述任意时刻为用户在操作电子设备的过程中任意触控到预设区域的时刻,且所述第三图片可以为电子设备在后台用户无感知的情况下获取的,在此不做限定。Wherein, the third picture may be a picture including a fingerprint image collected by the electronic device at any time, and the any time is the time when the user arbitrarily touches the preset area during the operation of the electronic device, and the third picture may be It is obtained by the electronic device without the user's perception in the background, and is not limited here.
其中,第三图片的信号量的具体计算方法为确定第三图片中指纹图像中所有凸点的像素点的像素值的第一平均值,以及确定所有凹点的像素点的像素值的第二平均值,通过第一平均值与第二平均值相减获得信号量的值;其中,第三图片的空域噪声的具体计算方法为确定凹点的平整度,根据平整度确定空域噪声,平整度越高,空域噪声越小,平整度越低,空域噪声越大。Among them, the specific calculation method of the signal amount of the third picture is to determine the first average value of the pixel values of all the convex points in the fingerprint image in the third picture, and the second method to determine the pixel values of all the concave points. The average value is obtained by subtracting the first average value and the second average value; the specific calculation method of the spatial noise of the third picture is to determine the flatness of the concave point, and determine the spatial noise and flatness according to the flatness The higher the level, the smaller the spatial noise, the lower the flatness, and the greater the spatial noise.
可见,本示例中,电子设备在第一组数据更新当前存储的第二组数据通过第三图片来确定第一组数据的校准结果是否准确,在校准后的图像质量大于预设质量阈值时,才进行数据更新,有利于进一步保障自校准的准确度。It can be seen that in this example, the electronic device updates the currently stored second set of data in the first set of data to determine whether the calibration result of the first set of data is accurate through the third picture. When the calibrated image quality is greater than the preset quality threshold, Only update the data, which helps to further ensure the accuracy of self-calibration.
在一个可能的示例中,所述以所述第一组数据更新当前存储的第二组数据之后,所述方法还包括:In a possible example, after updating the currently stored second set of data with the first set of data, the method further includes:
当检测到指纹待解锁事件时,通过所述第一曝光时间采集用户的第二参考指纹图像;When a fingerprint to be unlocked event is detected, collecting a second reference fingerprint image of the user through the first exposure time;
通过所述第一基准图片处理所述第二参考指纹图像以获取第二目标指纹图像;Processing the second reference fingerprint image by using the first reference picture to obtain a second target fingerprint image;
通过所述第二目标指纹图像解锁所述指纹待解锁事件。The fingerprint to-be-unlocked event is unlocked through the second target fingerprint image.
可见,本示例中,电子设备在更新预存的第二组数据后,在指纹待解锁后,通过第一 组数据来校准获取的第二参考指纹图像,有利于提升指纹解锁事件的成功率。It can be seen that, in this example, after updating the second set of pre-stored data, the electronic device uses the first set of data to calibrate the acquired second reference fingerprint image after the fingerprint is to be unlocked, which is beneficial to improve the success rate of the fingerprint unlocking event.
与上述图2所示的实施例一致的,请参阅图3,图3是本申请实施例提供的一种数据自校准方法的流程示意图,应用于如图1中所述的电子设备,所述电子设备包括显示屏和相对于所述显示屏的预设区域设置的屏下指纹模组,如图所示,本数据自校准方法包括:Consistent with the embodiment shown in FIG. 2 above, please refer to FIG. 3. FIG. 3 is a schematic flowchart of a data self-calibration method provided by an embodiment of the present application, which is applied to the electronic device described in FIG. The electronic device includes a display screen and an under-screen fingerprint module set relative to the preset area of the display screen. As shown in the figure, the data self-calibration method includes:
S301,在预设时段内,电子设备检测到所述电子设备执行预设操作失败的次数大于预设次数阈值。S301: In a preset time period, the electronic device detects that the number of times the electronic device fails to perform a preset operation is greater than a preset number of times a threshold.
其中,所述预设操作为:当检测到指纹待解锁事件时,通过所述第二曝光时间采集用户的第一参考指纹图像,以及通过所述第二基准图片处理所述第一参考指纹图像以获取第一目标指纹图像,以及检测所述第一目标指纹图像与预设指纹模板是否匹配,所述检测到所述电子设备执行预设操作失败为检测到所述第一目标指纹图像与所述预设指纹模板不匹配。Wherein, the preset operation is: when a fingerprint to be unlocked event is detected, collecting a first reference fingerprint image of the user through the second exposure time, and processing the first reference fingerprint image through the second reference image To obtain a first target fingerprint image, and to detect whether the first target fingerprint image matches a preset fingerprint template, the detection that the electronic device fails to perform the preset operation is the detection that the first target fingerprint image and the preset fingerprint image The preset fingerprint template does not match.
S302,所述电子设备确定所述预设操作失败的类型为预设类型时,检测用户针对所述预设区域的所述触控操作事件。S302: When the electronic device determines that the type of the preset operation failure is the preset type, detect the touch operation event of the user for the preset area.
S303,所述电子设备当检测到用户针对所述预设区域的所述触控操作事件时,采集所述预设区域的至少一张第一图片。S303: The electronic device collects at least one first picture in the preset area when detecting the touch operation event of the user for the preset area.
S304,所述电子设备当检测到所述触控操作事件结束时,采集所述预设区域的第二图片。S304: The electronic device collects a second picture in the preset area when detecting that the touch operation event ends.
S305,所述电子设备根据所述至少一张第一图片确定第一曝光时间。S305: The electronic device determines a first exposure time according to the at least one first picture.
S306,所述电子设备以所述第二图片作为第一基准图片。S306. The electronic device uses the second picture as a first reference picture.
S307,所述电子设备通过所述第一曝光时间采集第三图片。S307: The electronic device collects a third picture through the first exposure time.
S308,所述电子设备通过所述第一基准图片处理所述第三图片。S308. The electronic device processes the third picture by using the first reference picture.
S309,所述电子设备根据处理后的所述第三图片的信号量与空域噪声的比值检测到处理后的所述第三图片的图像质量大于预设质量阈值。S309: The electronic device detects that the image quality of the processed third picture is greater than a preset quality threshold according to the ratio of the signal amount of the processed third picture to the spatial noise.
S310,所述电子设备以所述第一组数据更新所述第二组数据,所述第一组数据包括所述第一曝光时间和所述第一基准图片。S310. The electronic device updates the second set of data with the first set of data, where the first set of data includes the first exposure time and the first reference picture.
可以看出,本申请实施例中,电子设备当检测到用户针对所述预设区域的触控操作事件时,采集所述预设区域的至少一张第一图片,并当检测到所述触控操作事件结束时,采集所述预设区域的第二图片,然后,根据所述至少一张第一图片和所述第二图片确定第一组数据,所述第一组数据包括第一曝光时间和第一基准图片,最后,以所述第一组数据更新当前存储的第二组数据,所述第二组数据包括第二曝光时间和第二基准图片。可见,电子设备可以随时在用户使用的过程中,根据不同时间节点采集的第一图片和第二图片,确定出待使用的第一组数据,而不需要通过产线的治具,有利于提升数据自校准的便捷性和灵活性,而且,通过第一组数据更新当前存储的第二组数据,提升后续获取的指纹图像的有效性。It can be seen that, in this embodiment of the application, when the electronic device detects a user's touch operation event for the preset area, it collects at least one first picture in the preset area, and when the touch is detected When the control operation event ends, a second picture in the preset area is collected, and then a first set of data is determined based on the at least one first picture and the second picture, and the first set of data includes the first exposure Time and the first reference picture, and finally, update the currently stored second set of data with the first set of data, the second set of data including the second exposure time and the second reference picture. It can be seen that the electronic device can determine the first set of data to be used according to the first picture and the second picture collected at different time nodes during the user's use at any time, without the need to pass the jig of the production line, which is beneficial to improve The convenience and flexibility of data self-calibration, and the second set of currently stored data is updated through the first set of data to improve the effectiveness of subsequent fingerprint images.
此外,电子设备在检测到预设操作失败的次数时,主动进行触控操作事件的检测,进行自校准过程,有利于提升自校准的及时性,而且在判断出失败类型为预设类型是进行自校准,避免自校准误操作的情况。In addition, when the electronic device detects the number of failures of the preset operation, it actively detects the touch operation event and performs the self-calibration process, which is beneficial to improve the timeliness of the self-calibration, and it is performed when the failure type is determined to be the preset type. Self-calibration to avoid misoperation of self-calibration.
此外,电子设备在第一组数据更新当前存储的第二组数据通过第三图片来确定第一组数据的校准结果是否准确,在校准后的图像质量大于预设质量阈值时,才进行数据更新,有利于进一步保障自校准的准确度。In addition, the electronic device updates the currently stored second set of data in the first set of data and uses the third picture to determine whether the calibration result of the first set of data is accurate. The data update is performed only when the image quality after calibration is greater than the preset quality threshold. , Which helps to further ensure the accuracy of self-calibration.
与上述图2所示的实施例一致的,请参阅图4,图4是本申请实施例提供的一种数据自校 准方法的流程示意图,应用于如图1中所述的电子设备,所述电子设备包括相对于显示屏的预设区域设置的屏下指纹模组,如图所示,本数据自校准方法包括:Consistent with the embodiment shown in FIG. 2 above, please refer to FIG. 4. FIG. 4 is a schematic flowchart of a data self-calibration method provided by an embodiment of the present application, which is applied to the electronic device described in FIG. The electronic device includes an under-screen fingerprint module set relative to the preset area of the display screen. As shown in the figure, the data self-calibration method includes:
S401,电子设备当检测到用户针对所述预设区域的触控操作事件时,采集所述预设区域的至少一张第一图片。S401: The electronic device collects at least one first picture in the preset area when detecting a touch operation event of the user on the preset area.
S402,所述电子设备当检测到所述触控操作事件结束时,获取环境光的强度。S402: The electronic device acquires the intensity of the ambient light when detecting that the touch operation event ends.
S403,所述电子设备当所述环境光的强度小于预设强度阈值时,采集所述预设区域的第二图片。S403: The electronic device collects a second picture in the preset area when the intensity of the ambient light is less than a preset intensity threshold.
S404,所述电子设备获取每张所述第一图片中至少一个预设区域的每个第一像素点的第一像素值。S404: The electronic device obtains the first pixel value of each first pixel in at least one preset area in each of the first pictures.
S405,所述电子设备根据所述每个第一像素点的所述第一像素值确定每张所述第一图片中所述至少一个预设区域的像素平均值。S405. The electronic device determines, according to the first pixel value of each first pixel, an average value of pixels in the at least one preset area in each first picture.
S406,所述电子设备计算每张所述第一图片的所述像素平均值与预设平均值的差值。S406. The electronic device calculates the difference between the pixel average value of each of the first pictures and a preset average value.
S407,所述电子设备确定所述差值小于或者等于预设差值阈值的所述至少一张第一图片中的目标图片。S407: The electronic device determines a target picture in the at least one first picture whose difference value is less than or equal to a preset difference value threshold.
S408,所述电子设备获取采集所述目标图片时的曝光时间为第一曝光时间。S408: The electronic device acquires the exposure time when the target picture is collected as the first exposure time.
S409,所述电子设备以所述第二图片作为第一基准图片。S409: The electronic device uses the second picture as a first reference picture.
S410,所述电子设备以第一组数据更新所述第二组数据,所述第一组数据包括所述第一曝光时间和所述第一基准图片。S410. The electronic device updates the second set of data with a first set of data, where the first set of data includes the first exposure time and the first reference picture.
可以看出,本申请实施例中,电子设备当检测到用户针对所述预设区域的触控操作事件时,采集所述预设区域的至少一张第一图片,并当检测到所述触控操作事件结束时,采集所述预设区域的第二图片,然后,根据所述至少一张第一图片和所述第二图片确定第一组数据,所述第一组数据包括第一曝光时间和第一基准图片,最后,以所述第一组数据更新当前存储的第二组数据,所述第二组数据包括第二曝光时间和第二基准图片。可见,电子设备可以随时在用户使用的过程中,根据不同时间节点采集的第一图片和第二图片,确定出待使用的第一组数据,而不需要通过产线的治具,有利于提升数据自校准的便捷性和灵活性,而且,通过第一组数据更新当前存储的第二组数据,提升后续获取的指纹图像的有效性。It can be seen that, in this embodiment of the application, when the electronic device detects a user's touch operation event for the preset area, it collects at least one first picture in the preset area, and when the touch is detected When the control operation event ends, a second picture in the preset area is collected, and then a first set of data is determined based on the at least one first picture and the second picture, and the first set of data includes the first exposure Time and the first reference picture, and finally, update the currently stored second set of data with the first set of data, the second set of data including the second exposure time and the second reference picture. It can be seen that the electronic device can determine the first set of data to be used according to the first picture and the second picture collected at different time nodes during the user's use at any time, without the need to pass the jig of the production line, which is beneficial to improve The convenience and flexibility of data self-calibration, and the second set of currently stored data is updated through the first set of data to improve the effectiveness of subsequent fingerprint images.
此外,电子设备根据每张第一图片中至少一个预设区域的像素平均值确定目标图片,进而确定对应的第一曝光时间,有利于提升第一曝光时间确定的准确度。In addition, the electronic device determines the target picture according to the pixel average value of at least one preset area in each first picture, and then determines the corresponding first exposure time, which is beneficial to improve the accuracy of the first exposure time determination.
此外,电子设备在检测到触控操作事件结束,采集第二图片之前,首先获取环境光的强度,在环境光的强度小于预设强度阈值时,再进行采集,有利于降低环境光对校准数据的影响,提升第二图片中噪声的准确度。In addition, the electronic device first obtains the intensity of the ambient light before detecting the end of the touch operation event and collects the second picture. When the intensity of the ambient light is less than the preset intensity threshold, the collection is performed, which is beneficial to reduce the influence of the ambient light on the calibration data. , Improve the accuracy of noise in the second picture.
与上述图2、图3、图4所示的实施例一致的,请参阅图5,图5是本申请实施例提供的一种电子设备500的结构示意图,该电子设备包括显示屏和相对于所述显示屏的预设区域设置的屏下指纹模组,如图所示,所述电子设备500包括应用处理器510、存储器520、通信接口530以及一个或多个程序521,其中,所述一个或多个程序521被存储在上述存储器520中,并且被配置由上述应用处理器510执行,所述一个或多个程序521包括用于执行以下步骤的指令:Consistent with the embodiments shown in FIGS. 2, 3, and 4 above, please refer to FIG. 5. FIG. 5 is a schematic structural diagram of an electronic device 500 provided by an embodiment of the present application. The electronic device includes a display screen and The under-screen fingerprint module set in the preset area of the display screen, as shown in the figure, the electronic device 500 includes an application processor 510, a memory 520, a communication interface 530, and one or more programs 521, wherein the One or more programs 521 are stored in the foregoing memory 520 and configured to be executed by the foregoing application processor 510, and the one or more programs 521 include instructions for performing the following steps:
当检测到用户针对所述预设区域的触控操作事件时,采集所述预设区域的至少一张第一图片;Collecting at least one first picture in the preset area when a touch operation event of the user on the preset area is detected;
当检测到所述触控操作事件结束时,采集所述预设区域的第二图片;When it is detected that the touch operation event ends, collecting a second picture of the preset area;
根据所述至少一张第一图片和所述第二图片确定第一组数据,所述第一组数据包括第 一曝光时间和第一基准图片;Determining a first set of data according to the at least one first picture and the second picture, the first set of data including a first exposure time and a first reference picture;
以所述第一组数据更新当前存储的第二组数据,所述第二组数据包括第二曝光时间和第二基准图片。The currently stored second set of data is updated with the first set of data. The second set of data includes a second exposure time and a second reference picture.
可以看出,本申请实施例中,电子设备当检测到用户针对所述预设区域的触控操作事件时,采集所述预设区域的至少一张第一图片,并当检测到所述触控操作事件结束时,采集所述预设区域的第二图片,然后,根据所述至少一张第一图片和所述第二图片确定第一组数据,所述第一组数据包括第一曝光时间和第一基准图片,最后,以所述第一组数据更新当前存储的第二组数据,所述第二组数据包括第二曝光时间和第二基准图片。可见,电子设备可以随时在用户使用的过程中,根据不同时间节点采集的第一图片和第二图片,确定出待使用的第一组数据,而不需要通过产线的治具,有利于提升数据自校准的便捷性和灵活性,而且,通过第一组数据更新当前存储的第二组数据,提升后续获取的指纹图像的有效性。It can be seen that, in this embodiment of the application, when the electronic device detects a user's touch operation event for the preset area, it collects at least one first picture in the preset area, and when the touch is detected When the control operation event ends, a second picture in the preset area is collected, and then a first set of data is determined based on the at least one first picture and the second picture, and the first set of data includes the first exposure Time and the first reference picture, and finally, update the currently stored second set of data with the first set of data, the second set of data including the second exposure time and the second reference picture. It can be seen that the electronic device can determine the first set of data to be used according to the first picture and the second picture collected at different time nodes during the user's use at any time, without the need to pass the jig of the production line, which is beneficial to improve The convenience and flexibility of data self-calibration, and the second set of currently stored data is updated through the first set of data to improve the effectiveness of subsequent fingerprint images.
在一个可能的示例中,所述一个或多个程序521还包括用于执行以下步骤的指令:所述当检测到用户针对所述预设区域的触控操作事件开始时,采集所述预设区域的第一图片之前,在预设时段内,检测到所述电子设备执行预设操作失败的次数大于预设次数阈值,所述预设操作为:当检测到指纹待解锁事件时,通过所述第二曝光时间采集用户的第一参考指纹图像,以及通过所述第二基准图片处理所述第一参考指纹图像以获取第一目标指纹图像,以及检测所述第一目标指纹图像与预设指纹模板是否匹配,所述检测到所述电子设备执行预设操作失败为检测到所述第一目标指纹图像与所述预设指纹模板不匹配;以及确定所述预设操作失败的类型为预设类型时,检测用户针对所述预设区域的所述触控操作事件。In a possible example, the one or more programs 521 further include instructions for executing the following steps: when it is detected that the user's touch operation event for the preset area starts, collecting the preset Before the first picture of the area, within a preset time period, it is detected that the number of times the electronic device has failed to perform a preset operation is greater than a preset number of thresholds, and the preset operation is: when a fingerprint to be unlocked event is detected, pass all The second exposure time collects the user's first reference fingerprint image, and processes the first reference fingerprint image through the second reference image to obtain the first target fingerprint image, and detects the first target fingerprint image and the preset Whether the fingerprint template matches, the detection that the electronic device fails to perform the preset operation is the detection that the first target fingerprint image does not match the preset fingerprint template; and it is determined that the type of the preset operation failure is a preset When the type is set, the touch operation event of the user for the preset area is detected.
在一个可能的示例中,在所述根据所述至少一张第一图片和所述第二图片确定第一组数据方面,所述程序521中的指令具体用于执行以下操作:根据所述至少一张第一图片确定所述第一曝光时间;以及用于以所述第二图片作为所述第一基准图片。In a possible example, in terms of determining the first set of data according to the at least one first picture and the second picture, the instructions in the program 521 are specifically configured to perform the following operations: A first picture determines the first exposure time; and is used to use the second picture as the first reference picture.
在这个可能的示例中,在所述根据所述至少一张第一图片确定所述第一曝光时间方面,所述程序521中的指令具体用于执行以下操作:获取每张所述第一图片中至少一个预设区域的每个第一像素点的第一像素值;以及用于根据所述每个第一像素点的所述第一像素值确定每张所述第一图片中所述至少一个预设区域的像素平均值;以及用于计算每张所述第一图片的所述像素平均值与预设平均值的差值;以及用于确定所述差值小于或者等于预设差值阈值的所述至少一张第一图片中的目标图片;以及用于获取采集所述目标图片时的曝光时间为所述第一曝光时间。In this possible example, in terms of determining the first exposure time according to the at least one first picture, the instructions in the program 521 are specifically used to perform the following operations: acquiring each first picture The first pixel value of each first pixel in at least one of the preset regions; and used to determine the at least one pixel in each first picture according to the first pixel value of each first pixel A pixel average value of a preset area; and used to calculate the difference between the pixel average value of each of the first pictures and the preset average value; and used to determine that the difference value is less than or equal to the preset difference value A threshold value of the target picture in the at least one first picture; and the exposure time used for acquiring the target picture is the first exposure time.
在一个可能的示例中,在所述当检测到所述触控操作事件结束时,采集所述预设区域的第二图片方面,所述程序521中的指令具体用于执行以下操作:当检测到所述触控操作事件结束时,获取环境光的强度;以及用于当所述环境光的强度小于预设强度阈值时,采集所述预设区域的所述第二图片。In a possible example, in the aspect of collecting a second picture of the preset area when the end of the touch operation event is detected, the instructions in the program 521 are specifically used to perform the following operations: When the touch operation event ends, the intensity of the ambient light is acquired; and when the intensity of the ambient light is less than a preset intensity threshold, the second picture of the preset area is collected.
在一个可能的示例中,所述一个或多个程序521还包括用于执行以下步骤的指令:所述根据所述至少一张第一图片和所述第二图片确定第一组数据之后,所述以所述第一组数据更新当前存储的第二组数据之前,通过所述第一曝光时间采集第三图片;以及通过所述第一基准图片处理所述第三图片;以及根据处理后的所述第三图片的信号量与空域噪声的比值检测到处理后的所述第三图片的图像质量大于预设质量阈值。In a possible example, the one or more programs 521 further include instructions for performing the following steps: after the first set of data is determined according to the at least one first picture and the second picture, Said that before updating the currently stored second set of data with the first set of data, a third picture is collected through the first exposure time; and the third picture is processed by the first reference picture; and according to the processed The ratio of the signal amount of the third picture to the spatial noise detects that the processed image quality of the third picture is greater than a preset quality threshold.
在一个可能的示例中,所述一个或多个程序521还包括用于执行以下步骤的指令:所述以所述第一组数据更新当前存储的第二组数据之后,当检测到指纹待解锁事件时,通过所述第一曝光时间采集用户的第二参考指纹图像;以及通过所述第一基准图片处理所述第二参考指纹图像以获取第二目标指纹图像;以及通过所述第二目标指纹图像解锁所述指纹待 解锁事件。In a possible example, the one or more programs 521 further include instructions for executing the following steps: after updating the currently stored second set of data with the first set of data, when it is detected that the fingerprint is to be unlocked In an event, collect a second reference fingerprint image of the user through the first exposure time; and process the second reference fingerprint image through the first reference picture to obtain a second target fingerprint image; and through the second target The fingerprint image unlocks the fingerprint to be unlocked event.
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solution of the embodiment of the present application from the perspective of the execution process on the method side. It can be understood that, in order to implement the above-mentioned functions, the electronic device includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that in combination with the units and algorithm steps of the examples described in the embodiments provided herein, this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the electronic device into functional units according to the foregoing method examples. For example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
图6是本申请实施例中所涉及的数据自校准装置600的功能单元组成框图。该数据自校准装置600应用于电子设备,所述电子设备包括显示屏和相对于所述显示屏的预设区域设置的屏下指纹模组,该数据自校准装置600包括处理单元601和通信单元602,其中:FIG. 6 is a block diagram of the functional units of the data self-calibration device 600 involved in an embodiment of the present application. The data self-calibration device 600 is applied to electronic equipment, the electronic equipment includes a display screen and an under-screen fingerprint module set relative to a preset area of the display screen, and the data self-calibration device 600 includes a processing unit 601 and a communication unit 602, of which:
所述处理单元601,用于当检测到用户针对所述预设区域的触控操作事件时,通过所述通信单元602采集所述预设区域的至少一张第一图片;当检测到所述触控操作事件结束时,通过所述通信单元602采集所述预设区域的第二图片;根据所述至少一张第一图片和所述第二图片确定第一组数据,所述第一组数据包括第一曝光时间和第一基准图片;以所述第一组数据更新当前存储的第二组数据,所述第二组数据包括第二曝光时间和第二基准图片。The processing unit 601 is configured to collect at least one first picture in the preset area through the communication unit 602 when a touch operation event of the user on the preset area is detected; When the touch operation event ends, the second picture in the preset area is collected through the communication unit 602; the first set of data is determined according to the at least one first picture and the second picture, and the first set The data includes a first exposure time and a first reference picture; the currently stored second set of data is updated with the first set of data, and the second set of data includes a second exposure time and a second reference picture.
其中,所述数据自校准装置600还可以包括存储单元603,用于存储电子设备的程序代码和数据。所述处理单元601可以是处理器,所述通信单元602可以是触控显示屏或者收发器,存储单元603可以是存储器。Wherein, the data self-calibration device 600 may further include a storage unit 603 for storing program codes and data of electronic equipment. The processing unit 601 may be a processor, the communication unit 602 may be a touch screen or a transceiver, and the storage unit 603 may be a memory.
可以看出,本申请实施例中,电子设备当检测到用户针对所述预设区域的触控操作事件时,采集所述预设区域的至少一张第一图片,并当检测到所述触控操作事件结束时,采集所述预设区域的第二图片,然后,根据所述至少一张第一图片和所述第二图片确定第一组数据,所述第一组数据包括第一曝光时间和第一基准图片,最后,以所述第一组数据更新当前存储的第二组数据,所述第二组数据包括第二曝光时间和第二基准图片。可见,电子设备可以随时在用户使用的过程中,根据不同时间节点采集的第一图片和第二图片,确定出待使用的第一组数据,而不需要通过产线的治具,有利于提升数据自校准的便捷性和灵活性,而且,通过第一组数据更新当前存储的第二组数据,提升后续获取的指纹图像的有效性。It can be seen that, in this embodiment of the application, when the electronic device detects a user's touch operation event for the preset area, it collects at least one first picture in the preset area, and when the touch is detected When the control operation event ends, a second picture in the preset area is collected, and then a first set of data is determined based on the at least one first picture and the second picture, and the first set of data includes the first exposure Time and the first reference picture, and finally, update the currently stored second set of data with the first set of data, the second set of data including the second exposure time and the second reference picture. It can be seen that the electronic device can determine the first set of data to be used according to the first picture and the second picture collected at different time nodes during the user's use at any time, without the need to pass the production line fixture, which is beneficial to improve The convenience and flexibility of data self-calibration, and the second set of currently stored data is updated through the first set of data to improve the effectiveness of subsequent fingerprint images.
在一个可能的示例中,所述处理单元601在所述当检测到用户针对所述预设区域的触控操作事件开始时,通过所述通信单元602采集所述预设区域的第一图片之前,还用于:在预设时段内,检测到所述电子设备执行预设操作失败的次数大于预设次数阈值,所述预设操作为:当检测到指纹待解锁事件时,通过所述第二曝光时间采集用户的第一参考指纹图像,以及通过所述第二基准图片处理所述第一参考指纹图像以获取第一目标指纹图像,以及检测所述第一目标指纹图像与预设指纹模板是否匹配,所述检测到所述电子设备执行预设操作失败为检测到所述第一目标指纹图像与所述预设指纹模板不匹配;以及用于确定所述预设操作失败的类型为预设类型时,检测用户针对所述预设区域的所述触控操作事件。In a possible example, the processing unit 601 collects the first picture of the preset area through the communication unit 602 before the detection of the start of the user's touch operation event for the preset area , Is also used to: within a preset time period, it is detected that the number of times the electronic device fails to perform a preset operation is greater than a preset number of thresholds, and the preset operation is: when a fingerprint to be unlocked event is detected, pass the first Second, the exposure time collects the user's first reference fingerprint image, and processes the first reference fingerprint image through the second reference image to obtain a first target fingerprint image, and detects the first target fingerprint image and a preset fingerprint template Whether it matches, the detection that the electronic device fails to perform the preset operation is the detection that the first target fingerprint image does not match the preset fingerprint template; and the type used to determine the failure of the preset operation is the preset When the type is set, the touch operation event of the user for the preset area is detected.
在一个可能的示例中,在所述根据所述至少一张第一图片和所述第二图片确定第一组 数据方面,所述处理单元601具体用于:根据所述至少一张第一图片确定所述第一曝光时间;以及用于以所述第二图片作为所述第一基准图片。In a possible example, in the aspect of determining the first set of data according to the at least one first picture and the second picture, the processing unit 601 is specifically configured to: according to the at least one first picture Determining the first exposure time; and for using the second picture as the first reference picture.
在这个可能的示例中,在所述根据所述至少一张第一图片确定所述第一曝光时间方面,所述处理单元601具体用于:获取每张所述第一图片中至少一个预设区域的每个第一像素点的第一像素值;以及用于根据所述每个第一像素点的所述第一像素值确定每张所述第一图片中所述至少一个预设区域的像素平均值;以及用于计算每张所述第一图片的所述像素平均值与预设平均值的差值;以及用于确定所述差值小于或者等于预设差值阈值的所述至少一张第一图片中的目标图片;以及用于获取采集所述目标图片时的曝光时间为所述第一曝光时间。In this possible example, in terms of determining the first exposure time according to the at least one first picture, the processing unit 601 is specifically configured to: acquire at least one preset in each first picture The first pixel value of each first pixel of the region; and the method used to determine the at least one preset region in each of the first pictures according to the first pixel value of each first pixel Pixel average value; and used to calculate the difference between the pixel average value of each of the first pictures and a preset average value; and the at least one used to determine that the difference value is less than or equal to a preset difference threshold A target picture in a first picture; and the exposure time used to obtain the target picture when the target picture is collected is the first exposure time.
在一个可能的示例中,在当检测到所述触控操作事件结束时,采集所述预设区域的第二图片方面,所述处理单元601具体用于:当检测到所述触控操作事件结束时,获取环境光的强度;以及用于当所述环境光的强度小于预设强度阈值时,采集所述预设区域的所述第二图片。In a possible example, in terms of collecting a second picture of the preset area when the end of the touch operation event is detected, the processing unit 601 is specifically configured to: when the touch operation event is detected At the end, the intensity of the ambient light is acquired; and when the intensity of the ambient light is less than a preset intensity threshold, the second picture of the preset area is collected.
在一个可能的示例中,所述处理单元601在所述根据所述至少一张第一图片和所述第二图片确定第一组数据之后,所述以所述第一组数据更新当前存储的第二组数据之前,还用于:通过所述通信单元602和所述第一曝光时间采集第三图片;以及通过所述第一基准图片处理所述第三图片;以及根据处理后的所述第三图片的信号量与空域噪声的比值检测到处理后的所述第三图片的图像质量大于预设质量阈值。In a possible example, after the processing unit 601 determines the first set of data according to the at least one first picture and the second picture, the processing unit 601 updates the currently stored data with the first set of data. Before the second set of data, it is also used to: collect a third picture through the communication unit 602 and the first exposure time; and process the third picture through the first reference picture; and according to the processed The ratio of the signal amount of the third picture to the spatial noise detects that the processed image quality of the third picture is greater than the preset quality threshold.
在一个可能的示例中,所述处理单元601在所述以所述第一组数据更新当前存储的第二组数据之后,还用于:当检测到指纹待解锁事件时,通过所述通信单元602和所述第一曝光时间采集用户的第二参考指纹图像;以及通过所述第一基准图片处理所述第二参考指纹图像以获取第二目标指纹图像;以及通过所述第二目标指纹图像解锁所述指纹待解锁事件。In a possible example, after the processing unit 601 is used to update the currently stored second set of data with the first set of data, it is further configured to: when a fingerprint to be unlocked event is detected, pass the communication unit 602 and the first exposure time to collect a second reference fingerprint image of the user; and process the second reference fingerprint image through the first reference picture to obtain a second target fingerprint image; and through the second target fingerprint image Unlock the fingerprint pending unlock event.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any method as recorded in the above method embodiment , The aforementioned computer includes electronic equipment.
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。The embodiments of the present application also provide a computer program product. The above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program. Part or all of the steps of the method. The computer program product may be a software installation package, and the above-mentioned computer includes electronic equipment.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that this application is not limited by the described sequence of actions. Because according to this application, some steps can be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in an embodiment, reference may be made to related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the above-mentioned units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or integrated. To another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable memory. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, A number of instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the foregoing methods of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing relevant hardware through a program. The program can be stored in a computer-readable memory, and the memory can include: flash disk , Read-Only Memory (ROM), Random Access Memory (RAM), magnetic disk or optical disk, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the application are described in detail above, and specific examples are used in this article to illustrate the principles and implementation of the application. The descriptions of the above examples are only used to help understand the methods and core ideas of the application; A person of ordinary skill in the art, based on the idea of the present application, will have changes in the specific implementation and the scope of application. In summary, the content of this specification should not be construed as a limitation of the present application.
Claims (20)
- 一种数据自校准方法,其特征在于,应用于电子设备,所述电子设备包括显示屏和相对于所述显示屏的预设区域设置的屏下指纹模组,包括:A data self-calibration method, characterized by being applied to an electronic device, the electronic device including a display screen and an under-screen fingerprint module set relative to a preset area of the display screen, including:当检测到用户针对所述预设区域的触控操作事件时,采集所述预设区域的至少一张第一图片;Collecting at least one first picture in the preset area when a touch operation event of the user on the preset area is detected;当检测到所述触控操作事件结束时,采集所述预设区域的第二图片;When it is detected that the touch operation event ends, collecting a second picture of the preset area;根据所述至少一张第一图片和所述第二图片确定第一组数据,所述第一组数据包括第一曝光时间和第一基准图片;Determining a first set of data according to the at least one first picture and the second picture, where the first set of data includes a first exposure time and a first reference picture;以所述第一组数据更新当前存储的第二组数据,所述第二组数据包括第二曝光时间和第二基准图片。The currently stored second set of data is updated with the first set of data. The second set of data includes a second exposure time and a second reference picture.
- 根据权利要求1所述的方法,其特征在于,所述当检测到用户针对所述预设区域的触控操作事件开始时,采集所述预设区域的第一图片之前,所述方法还包括:The method according to claim 1, wherein when it is detected that the user's touch operation event for the preset area starts, before collecting the first picture of the preset area, the method further comprises :在预设时段内,检测到所述电子设备执行预设操作失败的次数大于预设次数阈值,所述预设操作为:当检测到指纹待解锁事件时,通过所述第二曝光时间采集用户的第一参考指纹图像,以及通过所述第二基准图片处理所述第一参考指纹图像以获取第一目标指纹图像,以及检测所述第一目标指纹图像与预设指纹模板是否匹配,所述检测到所述电子设备执行预设操作失败为检测到所述第一目标指纹图像与所述预设指纹模板不匹配;Within a preset time period, it is detected that the number of times the electronic device fails to perform a preset operation is greater than a preset number of thresholds, and the preset operation is: when a fingerprint to be unlocked event is detected, the user is collected through the second exposure time And process the first reference fingerprint image through the second reference image to obtain a first target fingerprint image, and detect whether the first target fingerprint image matches a preset fingerprint template, the Detecting that the electronic device fails to perform a preset operation is detecting that the first target fingerprint image does not match the preset fingerprint template;确定所述预设操作失败的类型为预设类型时,检测用户针对所述预设区域的所述触控操作事件。When it is determined that the type of the preset operation failure is the preset type, the touch operation event of the user for the preset area is detected.
- 根据权利要求1或2所述的方法,其特征在于,所述根据所述至少一张第一图片和所述第二图片确定第一组数据,包括:The method according to claim 1 or 2, wherein the determining the first set of data according to the at least one first picture and the second picture comprises:根据所述至少一张第一图片确定所述第一曝光时间;Determining the first exposure time according to the at least one first picture;以所述第二图片作为所述第一基准图片。Use the second picture as the first reference picture.
- 根据权利要求3所述的方法,其特征在于,所述根据所述至少一张第一图片确定所述第一曝光时间,包括:The method of claim 3, wherein the determining the first exposure time according to the at least one first picture comprises:获取每张所述第一图片中至少一个预设区域的每个第一像素点的第一像素值;Acquiring the first pixel value of each first pixel of at least one preset area in each of the first pictures;根据所述每个第一像素点的所述第一像素值确定每张所述第一图片中所述至少一个预设区域的像素平均值;Determine, according to the first pixel value of each first pixel, an average value of pixels in the at least one preset area in each first picture;计算每张所述第一图片的所述像素平均值与预设平均值的差值;Calculating the difference between the pixel average value of each of the first pictures and a preset average value;确定所述差值小于或者等于预设差值阈值的所述至少一张第一图片中的目标图片;Determine the target picture in the at least one first picture whose difference value is less than or equal to a preset difference value threshold;获取采集所述目标图片时的曝光时间为所述第一曝光时间。The exposure time when acquiring the target picture is the first exposure time.
- 根据权利要求3所述的方法,其特征在于,所述根据所述至少一张第一图片确定所述第一曝光时间,包括:The method of claim 3, wherein the determining the first exposure time according to the at least one first picture comprises:选取所述至少一张第一图片中至少两张参考图片,所述参考图片的清晰度高于预设清晰度;Selecting at least two reference pictures from the at least one first picture, and the definition of the reference pictures is higher than a preset definition;获取采集所述至少两张参考图片时的参考曝光时间;Acquiring the reference exposure time when the at least two reference pictures are collected;确定所述至少两张参考图片的所述参考曝光时间的平均曝光时间为所述第一曝光时间。It is determined that the average exposure time of the reference exposure time of the at least two reference pictures is the first exposure time.
- 根据权利要求3所述的方法,其特征在于,所述当检测到所述触控操作事件结束时,采集所述预设区域的第二图片,包括:The method according to claim 3, wherein the collecting a second picture of the preset area when the end of the touch operation event is detected comprises:当检测到所述触控操作事件结束时,获取环境光的强度;When it is detected that the touch operation event ends, acquiring the intensity of the ambient light;当所述环境光的强度小于预设强度阈值时,采集所述预设区域的所述第二图片。When the intensity of the ambient light is less than a preset intensity threshold, the second picture of the preset area is collected.
- 根据权利要求1-6任一项所述的方法,其特征在于,所述根据所述至少一张第一图 片和所述第二图片确定第一组数据之后,所述以所述第一组数据更新当前存储的第二组数据之前,所述方法还包括:The method according to any one of claims 1-6, wherein after the first set of data is determined according to the at least one first picture and the second picture, the first set of data Before the data updates the currently stored second set of data, the method further includes:通过所述第一曝光时间采集第三图片;Acquiring a third picture through the first exposure time;通过所述第一基准图片处理所述第三图片;Processing the third picture by using the first reference picture;根据处理后的所述第三图片的信号量与空域噪声的比值检测到处理后的所述第三图片的图像质量大于预设质量阈值。It is detected that the image quality of the processed third picture is greater than the preset quality threshold according to the ratio of the signal amount of the processed third picture to the spatial noise.
- 根据权利要求1-7任一项所述的方法,其特征在于,所述以所述第一组数据更新当前存储的第二组数据之后,所述方法还包括:7. The method according to any one of claims 1-7, wherein after said updating the currently stored second set of data with the first set of data, the method further comprises:当检测到指纹待解锁事件时,通过所述第一曝光时间采集用户的第二参考指纹图像;When a fingerprint to be unlocked event is detected, collecting a second reference fingerprint image of the user through the first exposure time;通过所述第一基准图片处理所述第二参考指纹图像以获取第二目标指纹图像;Processing the second reference fingerprint image by using the first reference picture to obtain a second target fingerprint image;通过所述第二目标指纹图像解锁所述指纹待解锁事件。The fingerprint to-be-unlocked event is unlocked through the second target fingerprint image.
- 一种数据自校准装置,其特征在于,应用于电子设备,所述电子设备包括显示屏和相对于所述显示屏的预设区域设置的屏下指纹模组,所述数据自校准装置包括处理单元和通信单元,其中,A data self-calibration device, characterized in that it is applied to electronic equipment, the electronic equipment includes a display screen and an under-screen fingerprint module set relative to a preset area of the display screen, and the data self-calibration device includes processing Unit and communication unit, where,所述处理单元,用于当检测到用户针对所述预设区域的触控操作事件时,通过所述通信单元采集所述预设区域的至少一张第一图片;当检测到所述触控操作事件结束时,通过所述通信单元采集所述预设区域的第二图片;根据所述至少一张第一图片和所述第二图片确定第一组数据,所述第一组数据包括第一曝光时间和第一基准图片;以所述第一组数据更新当前存储的第二组数据,所述第二组数据包括第二曝光时间和第二基准图片。The processing unit is configured to collect at least one first picture of the preset area through the communication unit when a user's touch operation event for the preset area is detected; when the touch is detected When the operation event ends, the second picture of the preset area is collected through the communication unit; a first set of data is determined according to the at least one first picture and the second picture, and the first set of data includes the first An exposure time and a first reference picture; the currently stored second set of data is updated with the first set of data, and the second set of data includes a second exposure time and a second reference picture.
- 根据权利要求9所述的装置,其特征在于,所述处理单元在所述当检测到用户针对所述预设区域的触控操作事件开始时,通过所述通信单元采集所述预设区域的第一图片之前,还用于:在预设时段内,检测到所述电子设备执行预设操作失败的次数大于预设次数阈值,所述预设操作为:当检测到指纹待解锁事件时,通过所述第二曝光时间采集用户的第一参考指纹图像,以及通过所述第二基准图片处理所述第一参考指纹图像以获取第一目标指纹图像,以及检测所述第一目标指纹图像与预设指纹模板是否匹配,所述检测到所述电子设备执行预设操作失败为检测到所述第一目标指纹图像与所述预设指纹模板不匹配;以及用于确定所述预设操作失败的类型为预设类型时,检测用户针对所述预设区域的所述触控操作事件。The device according to claim 9, wherein the processing unit collects the data of the preset area through the communication unit when the start of the touch operation event of the user for the preset area is detected. Before the first picture, it is also used to: within a preset time period, it is detected that the number of times the electronic device has failed to perform a preset operation is greater than a preset number of thresholds, and the preset operation is: when a fingerprint to be unlocked event is detected, Collect the user's first reference fingerprint image through the second exposure time, process the first reference fingerprint image through the second reference picture to obtain a first target fingerprint image, and detect the difference between the first target fingerprint image and the Whether the preset fingerprint template matches, the detection that the electronic device fails to perform the preset operation is the detection that the first target fingerprint image does not match the preset fingerprint template; and is used to determine that the preset operation fails When the type of is a preset type, the touch operation event of the user for the preset area is detected.
- 根据权利要求9或10所述的装置,其特征在于,在所述根据所述至少一张第一图片和所述第二图片确定第一组数据方面,所述处理单元具体用于:根据所述至少一张第一图片确定所述第一曝光时间;以及用于以所述第二图片作为所述第一基准图片。The device according to claim 9 or 10, wherein in the aspect of determining the first set of data according to the at least one first picture and the second picture, the processing unit is specifically configured to: The at least one first picture determines the first exposure time; and is used to use the second picture as the first reference picture.
- 根据权利要求11所述的装置,其特征在于,在所述根据所述至少一张第一图片确定所述第一曝光时间方面,所述处理单元具体用于:获取每张所述第一图片中至少一个预设区域的每个第一像素点的第一像素值;以及用于根据所述每个第一像素点的所述第一像素值确定每张所述第一图片中所述至少一个预设区域的像素平均值;以及用于计算每张所述第一图片的所述像素平均值与预设平均值的差值;以及用于确定所述差值小于或者等于预设差值阈值的所述至少一张第一图片中的目标图片;以及用于获取采集所述目标图片时的曝光时间为所述第一曝光时间。The device according to claim 11, wherein, in the aspect of determining the first exposure time according to the at least one first picture, the processing unit is specifically configured to: obtain each of the first pictures The first pixel value of each first pixel in at least one of the preset regions; and used to determine the at least one pixel in each first picture according to the first pixel value of each first pixel A pixel average value of a preset area; and used to calculate the difference between the pixel average value of each of the first pictures and the preset average value; and used to determine that the difference value is less than or equal to the preset difference value A threshold value of the target picture in the at least one first picture; and the exposure time used for acquiring the target picture is the first exposure time.
- 根据权利要求11所述的装置,其特征在于,在所述根据所述至少一张第一图片确定所述第一曝光时间方面,所述处理单元具体用于:选取所述至少一张第一图片中至少两张参考图片,所述参考图片的清晰度高于预设清晰度;以及用于获取采集所述至少两张参考图片时的参考曝光时间;以及用于确定所述至少两张参考图片的所述参考曝光时间的平 均曝光时间为所述第一曝光时间。The device according to claim 11, wherein, in the aspect of determining the first exposure time according to the at least one first picture, the processing unit is specifically configured to: select the at least one first picture At least two reference pictures in the picture, the definition of the reference picture is higher than the preset definition; and used to obtain the reference exposure time when collecting the at least two reference pictures; and used to determine the at least two reference pictures The average exposure time of the reference exposure time of the picture is the first exposure time.
- 根据权利要求11所述的装置,其特征在于,在当检测到所述触控操作事件结束时,采集所述预设区域的第二图片方面,所述处理单元具体用于:当检测到所述触控操作事件结束时,获取环境光的强度;以及用于当所述环境光的强度小于预设强度阈值时,采集所述预设区域的所述第二图片。The device according to claim 11, wherein, in terms of collecting a second picture of the preset area when the end of the touch operation event is detected, the processing unit is specifically configured to: When the touch operation event ends, the intensity of the ambient light is acquired; and when the intensity of the ambient light is less than a preset intensity threshold, the second picture of the preset area is collected.
- 根据权利要求9-14任一项所述的装置,其特征在于,所述处理单元在所述根据所述至少一张第一图片和所述第二图片确定第一组数据之后,所述以所述第一组数据更新当前存储的第二组数据之前,还用于:通过所述通信单元和所述第一曝光时间采集第三图片;以及通过所述第一基准图片处理所述第三图片;以及根据处理后的所述第三图片的信号量与空域噪声的比值检测到处理后的所述第三图片的图像质量大于预设质量阈值。The apparatus according to any one of claims 9-14, wherein after the processing unit determines the first set of data according to the at least one first picture and the second picture, the processing unit Before updating the currently stored second set of data, the first set of data is also used to: collect a third picture through the communication unit and the first exposure time; and process the third picture through the first reference picture. Picture; and it is detected that the image quality of the processed third picture is greater than the preset quality threshold according to the ratio of the signal amount of the processed third picture to the spatial noise.
- 根据权利要求9-15任一项所述的装置,其特征在于,所述处理单元在所述以所述第一组数据更新当前存储的第二组数据之后,还用于:当检测到指纹待解锁事件时,通过所述通信单元和所述第一曝光时间采集用户的第二参考指纹图像;以及通过所述第一基准图片处理所述第二参考指纹图像以获取第二目标指纹图像;以及通过所述第二目标指纹图像解锁所述指纹待解锁事件。The device according to any one of claims 9-15, wherein the processing unit is further configured to: when a fingerprint is detected, after the second set of currently stored data is updated with the first set of data In an event to be unlocked, collecting a second reference fingerprint image of the user through the communication unit and the first exposure time; and processing the second reference fingerprint image through the first reference picture to obtain a second target fingerprint image; And unlock the fingerprint to-be-unlocked event through the second target fingerprint image.
- 一种芯片,其特征在于,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行如权利要求1-8中任一项所述的方法。A chip, characterized by comprising: a processor, configured to call and run a computer program from a memory, so that a device installed with the chip executes the method according to any one of claims 1-8.
- 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-8任一项所述的方法中的步骤的指令。An electronic device, comprising a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory and configured to be executed by the processor, The program includes instructions for performing the steps in the method according to any one of claims 1-8.
- 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-8任一项所述的方法。A computer-readable storage medium, characterized by storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute the method according to any one of claims 1-8.
- 一种计算机程序产品,其特征在于,当所述计算机程序产品在终端上运行时,权利要求1-8任一项所述的方法得以实现。A computer program product, characterized in that, when the computer program product runs on a terminal, the method according to any one of claims 1-8 is realized.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910126854.7 | 2019-02-20 | ||
CN201910126854.7A CN109901754B (en) | 2019-02-20 | 2019-02-20 | Data self-calibration method and related device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020168858A1 true WO2020168858A1 (en) | 2020-08-27 |
Family
ID=66945018
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/071801 WO2020168858A1 (en) | 2019-02-20 | 2020-01-13 | Data self-calibration method and related apparatus |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109901754B (en) |
WO (1) | WO2020168858A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112215875A (en) * | 2020-09-04 | 2021-01-12 | 北京迈格威科技有限公司 | Image processing method, device and electronic system |
EP4092567A4 (en) * | 2021-04-09 | 2023-05-03 | Shenzhen Goodix Technology Co., Ltd. | Fingerprint recognition method and apparatus, and electronic device |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109901754B (en) * | 2019-02-20 | 2021-04-13 | Oppo广东移动通信有限公司 | Data self-calibration method and related device |
CN111400686B (en) * | 2020-03-05 | 2023-06-09 | Oppo广东移动通信有限公司 | Fingerprint identification method and device, electronic equipment and storage medium |
CN113065487B (en) * | 2021-04-09 | 2023-01-31 | 深圳市汇顶科技股份有限公司 | Fingerprint identification method and device and electronic equipment |
CN116311396B (en) * | 2022-08-18 | 2023-12-12 | 荣耀终端有限公司 | Method and device for fingerprint identification |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104184958A (en) * | 2014-09-17 | 2014-12-03 | 中国科学院光电技术研究所 | Automatic exposure control method and device based on FPGA (field programmable Gate array) and suitable for space detection imaging |
CN105243382A (en) * | 2015-10-19 | 2016-01-13 | 广东欧珀移动通信有限公司 | Fingerprint sensor calibration method and apparatus |
CN106203365A (en) * | 2016-07-14 | 2016-12-07 | 浙江赢视科技有限公司 | The fingerprint imaging method that gain-adjusted processes |
CN106650614A (en) * | 2016-11-07 | 2017-05-10 | 上海与德信息技术有限公司 | Dynamic calibration method and apparatus |
CN107392145A (en) * | 2017-07-20 | 2017-11-24 | 维沃移动通信有限公司 | A kind of fingerprint identification method, terminal and computer-readable recording medium |
CN107636686A (en) * | 2017-07-05 | 2018-01-26 | 深圳市汇顶科技股份有限公司 | Method, apparatus, chip and the terminal device of fingerprint collecting |
CN107690653A (en) * | 2017-08-18 | 2018-02-13 | 深圳市汇顶科技股份有限公司 | Obtain the method, apparatus and terminal device of fingerprint image |
WO2018141119A1 (en) * | 2017-02-03 | 2018-08-09 | 华为技术有限公司 | Fingerprint acquisition method, apparatus, and terminal |
CN109901754A (en) * | 2019-02-20 | 2019-06-18 | Oppo广东移动通信有限公司 | Data method for self-calibrating and relevant apparatus |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4374759B2 (en) * | 2000-10-13 | 2009-12-02 | オムロン株式会社 | Image comparison system and image comparison apparatus |
CN1317671C (en) * | 2003-11-26 | 2007-05-23 | 佳能株式会社 | Signal processor and controlling method |
CN102004903B (en) * | 2010-11-17 | 2013-07-10 | 深圳市中控生物识别技术有限公司 | Anti-counterfeiting fingerprint identification device and fingerprint identification method |
TWI562077B (en) * | 2012-01-04 | 2016-12-11 | Gingy Technology Inc | Method for fingerprint recognition using dual camera and device thereof |
US10282579B2 (en) * | 2016-01-29 | 2019-05-07 | Synaptics Incorporated | Initiating fingerprint capture with a touch screen |
US10417476B2 (en) * | 2016-12-30 | 2019-09-17 | Eosmem Corporation | Exposure time determination method for image sensing operation |
TW201822709A (en) * | 2016-12-30 | 2018-07-01 | 曦威科技股份有限公司 | Real-time heart rate detection method and real-time heart rate detection system therefor |
WO2018191940A1 (en) * | 2017-04-21 | 2018-10-25 | 深圳市汇顶科技股份有限公司 | Method for detecting biological feature data, biological feature recognition apparatus and electronic terminal |
-
2019
- 2019-02-20 CN CN201910126854.7A patent/CN109901754B/en active Active
-
2020
- 2020-01-13 WO PCT/CN2020/071801 patent/WO2020168858A1/en active Application Filing
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104184958A (en) * | 2014-09-17 | 2014-12-03 | 中国科学院光电技术研究所 | Automatic exposure control method and device based on FPGA (field programmable Gate array) and suitable for space detection imaging |
CN105243382A (en) * | 2015-10-19 | 2016-01-13 | 广东欧珀移动通信有限公司 | Fingerprint sensor calibration method and apparatus |
CN106203365A (en) * | 2016-07-14 | 2016-12-07 | 浙江赢视科技有限公司 | The fingerprint imaging method that gain-adjusted processes |
CN106650614A (en) * | 2016-11-07 | 2017-05-10 | 上海与德信息技术有限公司 | Dynamic calibration method and apparatus |
WO2018141119A1 (en) * | 2017-02-03 | 2018-08-09 | 华为技术有限公司 | Fingerprint acquisition method, apparatus, and terminal |
CN107636686A (en) * | 2017-07-05 | 2018-01-26 | 深圳市汇顶科技股份有限公司 | Method, apparatus, chip and the terminal device of fingerprint collecting |
CN107392145A (en) * | 2017-07-20 | 2017-11-24 | 维沃移动通信有限公司 | A kind of fingerprint identification method, terminal and computer-readable recording medium |
CN107690653A (en) * | 2017-08-18 | 2018-02-13 | 深圳市汇顶科技股份有限公司 | Obtain the method, apparatus and terminal device of fingerprint image |
CN109901754A (en) * | 2019-02-20 | 2019-06-18 | Oppo广东移动通信有限公司 | Data method for self-calibrating and relevant apparatus |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112215875A (en) * | 2020-09-04 | 2021-01-12 | 北京迈格威科技有限公司 | Image processing method, device and electronic system |
EP4092567A4 (en) * | 2021-04-09 | 2023-05-03 | Shenzhen Goodix Technology Co., Ltd. | Fingerprint recognition method and apparatus, and electronic device |
US12056953B2 (en) | 2021-04-09 | 2024-08-06 | Shenzhen GOODIX Technology Co., Ltd. | Method and apparatus for fingerprint identification and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN109901754B (en) | 2021-04-13 |
CN109901754A (en) | 2019-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020168858A1 (en) | Data self-calibration method and related apparatus | |
WO2020216091A1 (en) | Image processing method and related apparatus | |
WO2020238656A1 (en) | Calibration method and related device | |
US11386717B2 (en) | Fingerprint inputting method and related device | |
CN108989678B (en) | Image processing method and mobile terminal | |
WO2020156033A1 (en) | Fingerprint verification method and related apparatus | |
CN110189367B (en) | Calibration method and related equipment | |
WO2020192532A1 (en) | Fingerprint image processing method and related apparatus | |
CN108701218B (en) | Fingerprint acquisition method and device and terminal | |
WO2020168861A1 (en) | Method for obtaining fingerprint template and related device | |
CN113280752B (en) | Groove depth measurement method, device and system and laser measurement equipment | |
CN112489140B (en) | Attitude measurement method | |
CN105243662B (en) | Terminal position determining method and terminal equipment | |
CN109146498A (en) | Face method of payment and relevant apparatus | |
CN108509944A (en) | Fingerprint identification method and device | |
CN107832598B (en) | Unlocking control method and related product | |
CN110855897B (en) | Image shooting method and device, electronic equipment and storage medium | |
CN115829929A (en) | Method, device and equipment for detecting defects of product surface image and storage medium | |
CN110427885A (en) | Detection method, device and the computer readable storage medium of nameplate | |
CN107169472B (en) | Fingerprint operation method, mobile terminal and storage medium | |
WO2019011017A1 (en) | Method and device for noise processing | |
CN115793893B (en) | Touch writing handwriting generation method and device, electronic equipment and storage medium | |
CN116993654B (en) | Camera module defect detection method, device, equipment, storage medium and product | |
CN109657562A (en) | Fingerprint input method and relevant device | |
CN107122083B (en) | Touch detection method of projection surface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20758871 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20758871 Country of ref document: EP Kind code of ref document: A1 |