Methods, devices, electronic devices and media for determining the brightness of under-display fingerprint patterns

By determining the initial brightness of the under-display fingerprint pattern and calculating the register value compensation value, the target brightness of the under-display fingerprint pattern is adjusted, which solves the problem of low accuracy and sensitivity of under-display fingerprint recognition and improves the accuracy and consistency of fingerprint recognition.

CN116665253BActive Publication Date: 2026-07-17BEIJING XIAOMI MOBILE SOFTWARE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Filing Date
2022-02-17
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In existing technologies, repeated parameter adjustments to the brightness of the fingerprint unlock pattern on sample screens result in low accuracy and sensitivity of under-display fingerprint recognition, making it unable to adapt to differences between displays.

Method used

By determining the initial brightness of the under-display fingerprint pattern and calculating the register value compensation value for each color channel according to the preset reference brightness and the brightness register value mapping table corresponding to the color channel, the target brightness of the under-display fingerprint pattern is adjusted to improve the consistency of brightness.

Benefits of technology

It improves the accuracy of under-display fingerprint pattern brightness and fingerprint recognition precision, reduces recognition failures, and enhances fingerprint recognition sensitivity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116665253B_ABST
    Figure CN116665253B_ABST
Patent Text Reader

Abstract

This disclosure relates to a method, apparatus, electronic device, and medium for determining the brightness of an under-display fingerprint pattern, comprising: determining an initial brightness of the under-display fingerprint pattern; determining a register value compensation value corresponding to each color channel of the initial brightness from a brightness register value mapping table corresponding to the color channels, based on a preset reference brightness and the initial brightness; and obtaining a target brightness of the under-display fingerprint pattern based on the initial brightness and the register value compensation value. By using a brightness register value mapping table corresponding to the color channels, determining the register value compensation value corresponding to the color channels through the initial brightness and a preset reference brightness, and determining the target brightness based on the initial brightness and the register value compensation value, the convergence of the under-display fingerprint pattern brightness is high, allowing for adaptive adjustment of the under-display fingerprint pattern brightness and improving the consistency between the under-display fingerprint pattern brightness and the display screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of under-display fingerprint recognition technology, and in particular to a method, apparatus, electronic device and medium for determining the brightness of an under-display fingerprint pattern. Background Technology

[0002] OLED (Organic Electroluminescence Display) screens feature a wide color gamut, high contrast, and flexibility. Furthermore, due to their structural characteristics, ambient light and self-emissive light can partially penetrate the OLED screen, making it suitable for under-display fingerprint recognition. The brightness of the fingerprint unlock pattern plays a crucial role in the accuracy of under-display fingerprint recognition.

[0003] In related technologies, the brightness of the fingerprint unlock pattern on a sample screen is repeatedly adjusted and tested to obtain the average value of the fingerprint unlock pattern in the register. This average value is then applied to all OLED screens. However, due to differences between displays, the brightness of the fingerprint unlock pattern also varies. Determining the brightness of the fingerprint unlock pattern by averaging results in low accuracy of the brightness of the light spot area in the fingerprint unlocking region, severely affecting the accuracy and sensitivity of fingerprint recognition. Summary of the Invention

[0004] To overcome the problems existing in related technologies, this disclosure provides a method, apparatus, electronic device and medium for determining the brightness of an under-display fingerprint pattern.

[0005] According to a first aspect of the present disclosure, a method for determining the brightness of an under-display fingerprint pattern is provided, comprising:

[0006] Determine the initial brightness of the in-display fingerprint pattern;

[0007] Based on the preset reference brightness and the initial brightness, the register value compensation value corresponding to each color channel of the initial brightness is determined from the brightness register value mapping table corresponding to the color channel. The brightness register value mapping table stores the mapping relationship between the brightness of the color channel and the register value.

[0008] The target brightness of the under-display fingerprint pattern is obtained based on the initial brightness and the register value compensation value.

[0009] Optionally, determining the register value compensation value corresponding to each color channel of the initial brightness from the brightness register value mapping table corresponding to the color channels based on the preset reference brightness and the initial brightness includes:

[0010] Determine the initial chromaticity corresponding to the initial brightness and the reference chromaticity corresponding to the reference brightness;

[0011] Based on the initial chromaticity, the corresponding initial luminance is decomposed into color channels to obtain the initial color channel luminance corresponding to each color channel of the initial luminance.

[0012] Based on the reference chromaticity, the corresponding reference luminance is decomposed into color channels to obtain the reference color channel luminance corresponding to each color channel of the reference luminance.

[0013] Calculate the color channel brightness difference between the reference color channel brightness and the initial color channel brightness;

[0014] Based on the initial brightness and the corresponding color channel brightness difference, the register value compensation value corresponding to the color channel is determined from the brightness register value mapping table corresponding to the color channel.

[0015] Optionally, determining the register value compensation value corresponding to the color channel from the luminance register value mapping table corresponding to the color channel based on the initial luminance and the corresponding color channel luminance difference includes:

[0016] The register value corresponding to the initial brightness in the brightness register value mapping table of the color channel is used as the spare register value;

[0017] The target brightness is determined based on the initial brightness and the corresponding color channel brightness difference.

[0018] The target brightness is taken as the register value in the brightness register value mapping table;

[0019] Calculate the register value difference between the target register value and the spare register value;

[0020] The difference in the register values ​​is used as the register value compensation value corresponding to that color channel.

[0021] Optionally, obtaining the target brightness of the under-display fingerprint pattern based on the initial brightness and the register value compensation value includes:

[0022] Determine the color channel storage values ​​of each color channel in the register for the initial brightness;

[0023] Based on the color channel storage value and the corresponding register value compensation value, the target color channel storage value corresponding to each color channel is obtained;

[0024] The target color channel storage value corresponding to each color channel is written into the register to obtain the target brightness of the under-display fingerprint pattern.

[0025] Optionally, the color channel storage values ​​in the register for determining the initial brightness of each color channel include:

[0026] The color channel storage values ​​of each color channel of the initial brightness are read back from the register, wherein the color channel storage values ​​are obtained after the display screen is adjusted to a preset grayscale range.

[0027] Optionally, the brightness register value mapping table is established in the following manner:

[0028] Establish a nonlinear relationship between the display screen's image brightness and the input signal voltage;

[0029] After establishing the nonlinear relationship, the display screen is adjusted to high brightness mode;

[0030] When the display screen is in the high-brightness mode, the color intensity of the under-display fingerprint pattern is adjusted to a preset color range;

[0031] When the chroma is adjusted to the preset color range, the brightness of each color channel is measured and the register value of the corresponding color channel in the register is determined.

[0032] A brightness register value mapping table is established based on the mapping relationship between the register value and the brightness of the color channel.

[0033] Optionally, the initial brightness is determined in the following manner:

[0034] When the display screen is in high brightness mode, adjust the white grayscale of the display screen to a preset white grayscale range;

[0035] When the white-grayscale is adjusted to the preset white-grayscale range, the initial brightness of the under-display fingerprint pattern and the initial chromaticity corresponding to the initial brightness are measured.

[0036] The initial brightness is stored based on the initial chromaticity to obtain the initial brightness of the under-display fingerprint pattern.

[0037] Optionally, storing the initial brightness based on the initial chromaticity to obtain the initial brightness of the under-display fingerprint pattern includes:

[0038] Obtain the reference brightness value and reference chromaticity value of each reference pixel in the under-display fingerprint pattern;

[0039] Based on the reference luminance value and the initial luminance, the luminance reconstruction value of each pixel is determined, and based on the reference chrominance value and the initial chrominance, the chrominance reconstruction value of each pixel is determined.

[0040] The initial brightness of each pixel in the under-display fingerprint pattern is encoded according to the brightness reconstruction value, and the initial chromaticity of each pixel in the under-display fingerprint pattern is encoded according to the chromaticity reconstruction value.

[0041] The encoded initial chroma and initial luminance are stored in a register.

[0042] Optionally, determining the initial brightness of the under-display fingerprint pattern includes:

[0043] Read the brightness reconstruction value and the chromaticity reconstruction value of each pixel of the under-display fingerprint pattern from the register.

[0044] The initial brightness of each pixel of the under-display fingerprint pattern is decoded according to the brightness reconstruction value, and the initial chromaticity of each pixel of the under-display fingerprint pattern is decoded according to the chromaticity reconstruction value.

[0045] The initial brightness of the under-display fingerprint pattern is obtained by locating each pixel of the pattern based on the decoded initial chromaticity and initial brightness.

[0046] According to a second aspect of the present disclosure, an under-display fingerprint pattern brightness determination device is provided, comprising:

[0047] The first determining module is configured to determine the initial brightness of the under-display fingerprint pattern;

[0048] The second determining module is configured to determine the register value compensation value corresponding to each color channel of the initial brightness from the brightness register value mapping table corresponding to the color channel, based on the preset reference brightness and the initial brightness. The brightness register value mapping table stores the mapping relationship between the brightness of the color channel and the register value.

[0049] The third determining module is configured to obtain the target brightness of the under-display fingerprint pattern based on the initial brightness and the register value compensation value.

[0050] Optionally, the second determining module includes:

[0051] The chromaticity determination submodule is configured to determine the initial chromaticity corresponding to the initial brightness and the reference chromaticity corresponding to the reference brightness;

[0052] The first determining submodule is configured to perform color channel decomposition on the corresponding initial brightness according to the initial chromaticity to obtain the initial color channel brightness corresponding to each color channel of the initial brightness.

[0053] The second determining submodule is configured to perform color channel decomposition on the corresponding reference brightness according to the reference chromaticity to obtain the reference color channel brightness corresponding to each color channel of the reference brightness.

[0054] The calculation submodule is configured to calculate the color channel brightness difference between the reference color channel brightness and the initial color channel brightness;

[0055] The third determining submodule is configured to determine the register value compensation value corresponding to the color channel from the brightness register value mapping table corresponding to the color channel based on the initial brightness and the corresponding color channel brightness difference.

[0056] Optionally, the third determining submodule is configured as follows:

[0057] The register value corresponding to the initial brightness in the brightness register value mapping table of the color channel is used as the spare register value;

[0058] The target brightness is determined based on the initial brightness and the corresponding color channel brightness difference.

[0059] The target brightness is taken as the register value in the brightness register value mapping table;

[0060] Calculate the register value difference between the target register value and the spare register value;

[0061] The difference in the register values ​​is used as the register value compensation value corresponding to that color channel.

[0062] Optionally, the third determining module includes:

[0063] The fourth determining submodule is configured to determine the color channel storage values ​​of each color channel of the initial brightness in the register;

[0064] The fifth determining submodule is configured to obtain the target color channel storage value corresponding to each color channel based on the color channel storage value and the corresponding register value compensation value;

[0065] The sixth determining submodule is configured to write the target color channel storage value corresponding to each color channel into the register to obtain the target brightness of the under-display fingerprint pattern.

[0066] Optionally, the fourth determining submodule is configured as follows:

[0067] The color channel storage values ​​of each color channel of the initial brightness are read back from the register, wherein the color channel storage values ​​are obtained after the display screen is adjusted to a preset grayscale range.

[0068] Optionally, the second determining module is configured to establish a brightness register value mapping table in the following manner:

[0069] Establish a nonlinear relationship between the display screen's image brightness and the input signal voltage;

[0070] After establishing the nonlinear relationship, the display screen is adjusted to high brightness mode;

[0071] When the display screen is in the high-brightness mode, the color intensity of the under-display fingerprint pattern is adjusted to a preset color range;

[0072] When the chroma is adjusted to the preset color range, the brightness of each color channel is measured and the register value of the corresponding color channel in the register is determined.

[0073] A brightness register value mapping table is established based on the mapping relationship between the register value and the brightness of the color channel.

[0074] Optionally, the second determining module is configured to determine the initial brightness in the following manner:

[0075] When the display screen is in high brightness mode, adjust the white grayscale of the display screen to a preset white grayscale range;

[0076] When the white-grayscale is adjusted to the preset white-grayscale range, the initial brightness of the under-display fingerprint pattern and the initial chromaticity corresponding to the initial brightness are measured.

[0077] The initial brightness is stored based on the initial chromaticity to obtain the initial brightness of the under-display fingerprint pattern.

[0078] Optionally, the second determining module is configured to:

[0079] Obtain the reference brightness value and reference chromaticity value of each reference pixel in the under-display fingerprint pattern;

[0080] Based on the reference luminance value and the initial luminance, the luminance reconstruction value of each pixel is determined, and based on the reference chrominance value and the initial chrominance, the chrominance reconstruction value of each pixel is determined.

[0081] The initial brightness of each pixel in the under-display fingerprint pattern is encoded according to the brightness reconstruction value, and the initial chromaticity of each pixel in the under-display fingerprint pattern is encoded according to the chromaticity reconstruction value.

[0082] The encoded initial chroma and initial luminance are stored in a register.

[0083] Optionally, the second determining module is configured to:

[0084] Read the luminance reconstruction value and chrominance reconstruction value of each pixel of the under-display fingerprint pattern from the register;

[0085] The initial brightness of each pixel of the under-display fingerprint pattern is decoded according to the brightness reconstruction value, and the initial chromaticity of each pixel of the under-display fingerprint pattern is decoded according to the chromaticity reconstruction value.

[0086] The initial brightness of the under-display fingerprint pattern is obtained by locating each pixel of the pattern based on the decoded initial chromaticity and initial brightness.

[0087] According to a third aspect of the present disclosure, an electronic device is provided, comprising:

[0088] processor;

[0089] Memory used to store processor-executable instructions;

[0090] The processor is configured as follows:

[0091] Determine the initial brightness of the in-display fingerprint pattern;

[0092] Based on the preset reference brightness and the initial brightness, the register value compensation value corresponding to the color channel of the initial brightness is determined from the brightness register value mapping table corresponding to the color channel. The brightness register value mapping table stores the mapping relationship between the brightness of the color channel and the register value.

[0093] The target brightness of the under-display fingerprint pattern is obtained based on the initial brightness and the register value compensation value.

[0094] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided that stores computer program instructions thereon, which, when executed by a processor, implement the steps of the method described in any one of the first aspects.

[0095] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:

[0096] By determining the initial brightness of the under-display fingerprint pattern, and based on a preset reference brightness and the initial brightness, the register value compensation value corresponding to each color channel is determined from the brightness register value mapping table corresponding to the color channel. The target brightness of the under-display fingerprint pattern is then obtained based on the initial brightness and the register value compensation value. This method, based on the brightness register value mapping table corresponding to the color channel, determines the register value compensation value corresponding to the color channel through the initial brightness and the preset reference brightness, and then determines the target brightness based on the initial brightness and the register value compensation value. The convergence of the under-display fingerprint pattern brightness is high, allowing for adaptive adjustments to the under-display fingerprint pattern brightness and improving the consistency between the under-display fingerprint pattern brightness and the display screen. This also improves the accuracy of the under-display fingerprint pattern brightness, enhances the precision and sensitivity of fingerprint recognition, and reduces device rejections due to fingerprint recognition failure.

[0097] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0098] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0099] Figure 1 This is a flowchart illustrating a method for determining the brightness of an under-display fingerprint pattern according to an exemplary embodiment.

[0100] Figure 2 This is an implementation illustrated according to an exemplary embodiment. Figure 1 The flowchart for step S12.

[0101] Figure 3 This is an implementation illustrated according to an exemplary embodiment. Figure 2 The flowchart for step S124.

[0102] Figure 4 This is an implementation illustrated according to an exemplary embodiment. Figure 1 The flowchart for step S13.

[0103] Figure 5 This is a flowchart illustrating the creation of a brightness register value mapping table according to an exemplary embodiment.

[0104] Figure 6 This is a schematic diagram illustrating a red brightness register value mapping table according to an exemplary embodiment.

[0105] Figure 7 This is a schematic diagram of a green brightness register value mapping table according to an exemplary embodiment.

[0106] Figure 8This is a schematic diagram of a blue brightness register value mapping table according to an exemplary embodiment.

[0107] Figure 9 This is a block diagram illustrating an under-display fingerprint pattern brightness determination device according to an exemplary embodiment.

[0108] Figure 10 This is a block diagram illustrating a device for determining the brightness of an under-display fingerprint image according to an exemplary embodiment. Detailed Implementation

[0109] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0110] Figure 1 This is a flowchart illustrating a method for determining the brightness of an under-display fingerprint pattern according to an exemplary embodiment, such as... Figure 1 As shown, the method includes the following steps.

[0111] In step S11, the initial brightness of the under-display fingerprint pattern is determined.

[0112] The initial brightness is specific to each display screen. In other words, after each display screen is manufactured at the screen factory, the initial brightness can be determined by, for example, by performing Gamma programming at the Gamma programming point. Here, Gamma represents the difference between the human eye's sensitivity to brightness and the display screen's sensitivity to voltage, and the Gamma value indicates the degree of difference between the two.

[0113] Among them, Gamma programming is for the brightness of each pixel in the display screen. This disclosure determines the initial brightness of each pixel in the under-display fingerprint pattern after Gamma programming.

[0114] For example, after Gamma programming is completed, the display is adjusted to LHBM mode (Local High Brightness Mode). In LHBM mode, the white grayscale is 255. The initial brightness, initial chromaticity CIE_x and CIE_y of the under-display fingerprint pattern are tested and obtained. At the same time, the register values ​​of the R, G and B color channels of the under-display fingerprint pattern in the register are recorded.

[0115] In step S12, based on the preset reference brightness and the initial brightness, the register value compensation value corresponding to each color channel of the initial brightness is determined from the brightness register value mapping table corresponding to the color channel.

[0116] The brightness register value mapping table stores the mapping relationship between the brightness of the color channels and the register values.

[0117] It can be explained that the brightness register value mapping table stores the mapping relationship between the brightness of each color channel and the register value after the grayscale of the display screen reaches the preset grayscale range, while the initial brightness is the brightness of the display screen in color mode.

[0118] In an embodiment of this step, see [link to example]. Figure 2 As shown, in step S12, determining the register value compensation value corresponding to each color channel of the initial brightness from the brightness register value mapping table corresponding to the color channel based on the preset reference brightness and the initial brightness includes:

[0119] In step S121, the initial chromaticity corresponding to the initial luminance and the reference chromaticity corresponding to the reference luminance are determined.

[0120] The chromaticity includes CIE_x and CIE_y, that is, the initial chromaticity includes CIE_x1 and CIE_y1 for each pixel of the under-display fingerprint pattern, and the reference chromaticity includes CIE_x2 and CIE_y2 for each pixel of the under-display fingerprint pattern.

[0121] The initial chromaticity can be measured when the white-grayscale of the display reaches a preset white-grayscale range. For example, when the white-grayscale of the display reaches 255, the initial chromaticity of each pixel of the under-display fingerprint pattern is measured. The reference chromaticity can be preset for the under-display fingerprint pattern of each terminal.

[0122] In step S122, the initial brightness is decomposed into color channels according to the initial chromaticity to obtain the initial color channel brightness corresponding to each color channel of the initial brightness.

[0123] In step S123, the corresponding reference luminance is decomposed into color channels according to the reference chromaticity to obtain the reference color channel luminance corresponding to each color channel of the reference luminance.

[0124] In this embodiment of the disclosure, luminance is decomposed based on chromaticity and a set of chromaticity stimulus values ​​representing color channels in the corresponding 2D-LUT to obtain the luminance of each color channel. The color channel includes three channels: red (R), green (G), and blue (B).

[0125] For example, the brightness of a color channel can be obtained by decomposing it using the following formula:

[0126]

[0127] L = L R +L G +L B

[0128]

[0129] Where L represents luminance, and x and y are the chromaticity corresponding to luminance, respectively. R and y R x is a set of chromaticity stimulus values ​​representing red in a 2D-LUT. G and y G x is a set of chromaticity stimulus values ​​representing green in a 2D-LUT. B and y B L is a set of chromaticity stimulus values ​​representing blue in a 2D-LUT. R L represents the red luminance after luminance decomposition. G L represents the green luminance after luminance decomposition. B The value is the blue brightness after brightness decomposition.

[0130] For example, when calculating the initial color channel brightness corresponding to each color channel of the initial brightness, L is the initial brightness, and x and y are the chromaticity corresponding to the initial brightness, respectively. R and y R L is a set of chromaticity stimulus values ​​representing red in a 2D-LUT with initial luminance. R This represents the red brightness after the initial brightness decomposition. The same principle applies to the reference brightness, so it will not be elaborated further here.

[0131] It can be explained that the same brightness can be decomposed into different chromaticity values ​​and different chromaticity stimulus values, resulting in different values ​​for the brightness of the same color channel.

[0132] In step S124, the color channel brightness difference between the reference color channel brightness and the initial color channel brightness is calculated.

[0133] In this embodiment of the disclosure, the brightness difference of the color channel corresponding to the red color channel, the brightness difference of the color channel corresponding to the green color channel, and the brightness difference of the color channel corresponding to the blue color channel are calculated.

[0134] For example, subtracting the initial red channel brightness from the reference red channel brightness in the initial color channel brightness yields the brightness difference for the color channel corresponding to red. The same logic applies to green and blue, and will not be elaborated further here.

[0135] Understandably, if the brightness difference of each color channel is 0, it means that the brightness of the under-display fingerprint pattern is appropriate and no adjustment is needed.

[0136] In step S125, the register value compensation value corresponding to the color channel is determined from the brightness register value mapping table corresponding to the color channel based on the initial brightness and the corresponding color channel brightness difference.

[0137] In an embodiment of this step, see [link to example]. Figure 3 As shown, in step S124, determining the register value compensation value corresponding to the color channel from the luminance register value mapping table corresponding to the color channel based on the initial luminance and the corresponding color channel luminance difference includes:

[0138] In step S1251, the register value corresponding to the initial brightness in the brightness register value mapping table of the color channel is used as the spare register value.

[0139] In this embodiment, the spare register value is the spare register value corresponding to each color channel. Taking an initial brightness of 1100 nits as an example, the register value 2100 corresponding to a brightness of 1100 nits is used as the spare register value in the brightness register value mapping table for red. The spare register values ​​corresponding to the green and blue color channels are similar and will not be described again here.

[0140] In step S1252, the target brightness is determined based on the initial brightness and the corresponding color channel brightness difference.

[0141] For example, the target brightness is obtained by summing the differences between the initial brightness and the corresponding color channel brightness. For instance, if the initial brightness is 1100 nits, after color channel decomposition, the brightness of the R, G, and B color channels is 220, 770, and 110, respectively. If the reference brightness for the same pixel is 1200 nits, after color channel decomposition, the brightness of the R, G, and B color channels is 230, 830, and 140, respectively. Therefore, the calculated brightness difference for the red channel (R) is 10 nits, the brightness difference for the green channel (G) is 60 nits, and the brightness difference for the blue channel (B) is 30 nits.

[0142] Furthermore, the target brightness corresponding to the R color channel is 1100nit + 10nit = 1110nit, the target brightness corresponding to the G color channel is 1100nit + 60nit = 1160nit, and the target brightness corresponding to the B color channel is 1100nit + 30nit = 1130nit.

[0143] In step S1253, the target brightness is taken from the register value in the brightness register value mapping table as the target register value.

[0144] Following the example described above, the register value corresponding to 1110 nit in the R luminance register value mapping table is used as the target register value for the R color channel, the register value corresponding to 1160 nit in the G luminance register value mapping table is used as the target register value for the G color channel, and the register value corresponding to 1130 nit in the B luminance register value mapping table is used as the target register value for the B color channel.

[0145] In step S1254, the register value difference between the target register value and the spare register value is calculated.

[0146] For example, if the spare register value of the R color channel is 1050, then the register value difference of the R color channel is 1120-1050=70.

[0147] In step S1255, the difference in register values ​​is used as the register value compensation value corresponding to the color channel.

[0148] The above technical solution can calculate the register value compensation value for each color channel, and each initial brightness corresponds to the display screen, which can improve the accuracy of determining the register value compensation value.

[0149] In step S13, the target brightness of the under-display fingerprint pattern is obtained based on the initial brightness and the register value compensation value.

[0150] In an embodiment of this step, see [link to example]. Figure 4 As shown, in step S13, obtaining the target brightness of the under-display fingerprint pattern based on the initial brightness and the register value compensation value includes:

[0151] In step S131, the color channel storage values ​​of each color channel of the initial brightness are determined in the register.

[0152] For example, the color channel storage values ​​of each color channel of the initial brightness are determined in the register from the brightness register value mapping table corresponding to the initial brightness.

[0153] In step S132, the target color channel storage value corresponding to each color channel is obtained based on the color channel storage value and the corresponding register value compensation value.

[0154] For example, if the initial brightness R color channel has a color channel storage value of 135 in the register and the R color channel register value compensation value is 70, then the sum of the color channel storage value and the corresponding register value compensation value is 205.

[0155] In step S133, the target color channel storage value corresponding to each color channel is written into the register to obtain the target brightness of the under-display fingerprint pattern.

[0156] For example, the target brightness of the under-display fingerprint pattern is determined by querying the brightness register value mapping table corresponding to the initial brightness based on the target color channel storage value.

[0157] In one embodiment, step S131, determining the color channel storage values ​​of each color channel in the register for the initial brightness, includes:

[0158] The color channel storage values ​​of each color channel of the initial brightness are read back from the register, wherein the color channel storage values ​​are obtained after the display screen is adjusted to a preset grayscale range.

[0159] For example, after adjusting the display screen to a white-grayscale of 255, the color channel storage values ​​of each color channel in the display screen register can be read and stored in the register corresponding to the under-display fingerprint pattern. Then, the color channel storage values ​​of each color channel at the initial brightness can be read back from the register corresponding to the under-display fingerprint pattern.

[0160] The above technical solution determines the initial brightness of the under-display fingerprint pattern; based on a preset reference brightness and the initial brightness, it determines the register value compensation value corresponding to each color channel of the initial brightness from the brightness register value mapping table corresponding to the color channel; and based on the initial brightness and the register value compensation value, it obtains the target brightness of the under-display fingerprint pattern. By using the brightness register value mapping table corresponding to the color channel, determining the register value compensation value corresponding to the color channel through the initial brightness and the preset reference brightness, and determining the target brightness based on the initial brightness and the register value compensation value, the convergence of the under-display fingerprint pattern brightness is high, allowing for adaptive adjustment of the under-display fingerprint pattern brightness and improving the consistency between the under-display fingerprint pattern brightness and the display screen. This improves the accuracy of the under-display fingerprint pattern brightness, enhances the precision and sensitivity of fingerprint recognition, and reduces the number of device rejections due to fingerprint recognition failure.

[0161] Based on the above embodiments, Figure 5 This is a flowchart illustrating the creation of a brightness register value mapping table according to an exemplary embodiment, such as... Figure 5 As shown, the method includes the following steps:

[0162] In step S51, a nonlinear relationship between the image brightness of the display screen and the input signal voltage is established.

[0163] Among them, the nonlinear relationship between image brightness and input signal voltage is a parameter reflecting the image brightness of the cathode ray tube and the input signal voltage of the electron gun.

[0164] In this embodiment of the disclosure, the image brightness corresponding to the display screen is obtained according to a preset initial input signal voltage, and the initial input signal voltage is adjusted according to the difference between the human eye's sensitivity to brightness and the display screen's sensitivity to voltage. Finally, when the difference is less than a preset threshold, a nonlinear relationship between the image brightness and the input signal voltage is obtained.

[0165] In step S52, after establishing the nonlinear relationship, the display screen is adjusted to high brightness mode.

[0166] High brightness mode refers to the display screen's brightness being within a preset brightness range, such as a brightness of 700 nits or higher.

[0167] In this embodiment of the disclosure, when the display screen is not displaying a screen image, the brightness of the display screen backlight module is increased, so that the display screen is adjusted to a high brightness mode.

[0168] In step S53, when the display screen is in high brightness mode, the color intensity of the under-display fingerprint pattern is adjusted to a preset color range.

[0169] For example, when the display screen is not showing any content and the brightness is greater than or equal to 700 nits, the color saturation of the under-display fingerprint pattern is adjusted to full saturation for each pixel in the under-display fingerprint pattern.

[0170] In step S54, with the chroma adjusted to a preset color range, the brightness of each color channel is measured and the register value of the corresponding color channel in the register is determined.

[0171] For example, when the color saturation of the under-display fingerprint pattern is adjusted to full saturation, it indicates that the register value corresponding to the register can make the color saturation of the under-display fingerprint pattern full saturation. The register value of each color channel in the register is recorded, and the brightness of each color channel is measured by the corresponding device.

[0172] In step S55, a brightness register value mapping table is established based on the mapping relationship between register values ​​and color channel brightness.

[0173] For example, a luminance register value mapping table is established with the horizontal axis representing the register value and the vertical axis representing the color channel luminance, resulting in the following: Figure 6-8 The diagram shows the brightness-register values.

[0174] It's worth noting that the brightness of each color channel in the under-display fingerprint pattern here refers to the brightness in color mode, while the initial brightness of each color channel in the initial brightness is the brightness when the white-to-grayscale level reaches a preset grayscale range. See also... Figure 6-8 The diagram shows the brightness-register values.

[0175] In one embodiment, the initial brightness is determined as follows:

[0176] When the display screen is in high brightness mode, adjust the white grayscale of the display screen to a preset white grayscale range.

[0177] For example, when the display is not showing any images and the brightness is greater than or equal to 700 nits, adjust the white grayscale of the display to 255.

[0178] When the white-grayscale is adjusted to the preset white-grayscale range, the initial brightness of the under-display fingerprint pattern and the initial chromaticity corresponding to the initial brightness are measured.

[0179] Each pixel in the under-display fingerprint pattern corresponds to an initial brightness. Since the initial brightness of pixels may be the same, initial chromaticity is needed to locate each initial brightness. That is, each initial brightness is located according to CIE_x1 and CIE_y1 corresponding to the initial brightness to avoid the initial brightness being disordered.

[0180] Understandably, the chromaticity stimulus values ​​of each color channel in the initial luminance 2D-LUT can be measured simultaneously.

[0181] The initial brightness is stored based on the initial chromaticity to obtain the initial brightness of the under-display fingerprint pattern.

[0182] In one embodiment, the method stores the initial brightness in the following manner:

[0183] Obtain the reference brightness value and reference chromaticity value of each reference pixel in the under-display fingerprint pattern;

[0184] In this context, the reference pixel for each pixel is the previous encoded pixel. For example, if the encoding is performed in the order of coordinates from left to right and from top to bottom, then the top left pixel is the initial encoded pixel, and this pixel takes any pixel on the display screen other than the pixels of the under-display fingerprint image as the reference pixel.

[0185] Furthermore, the reference brightness and reference chromaticity values ​​of the reference pixel of the initial encoded pixel are obtained, and for the pixel following the initial encoded pixel, the initial encoded pixel is used as the reference pixel.

[0186] Based on the reference luminance value and the initial luminance, the luminance reconstruction value of each pixel is determined, and based on the reference chrominance value and the initial chrominance, the chrominance reconstruction value of each pixel is determined.

[0187] It is understandable that the difference between the reference luminance value and the initial luminance value is used as the luminance reconstruction value, and the difference between the reference chrominance value and the initial chrominance value is used as the chrominance reconstruction value.

[0188] The initial brightness of each pixel in the under-display fingerprint pattern is encoded according to the brightness reconstruction value, and the initial chromaticity of each pixel in the under-display fingerprint pattern is encoded according to the chromaticity reconstruction value.

[0189] For example, the initial brightness and initial chromaticity can be encoded according to preset encoding rules, such as the encoding rules for the white point of the display screen.

[0190] The encoded initial chroma and initial luminance are stored in a register.

[0191] For example, based on the correspondence between the initial luminance and the initial chrominance, the initial chrominance and the initial luminance are stored in the same register. It can be explained that a register can be specified to store the encoded initial chrominance and initial luminance, so that the encoded initial chrominance and initial luminance can be read from the specified register during decoding.

[0192] In one embodiment, determining the initial brightness of the under-display fingerprint pattern includes:

[0193] Read the luminance reconstruction value and chrominance reconstruction value of each pixel of the under-display fingerprint pattern from the register;

[0194] For example, the luminance reconstruction value and the chrominance reconstruction value of each pixel of the under-display fingerprint pattern are read from a specified register.

[0195] The initial brightness of each pixel of the under-display fingerprint pattern is decoded according to the brightness reconstruction value, and the initial chromaticity of each pixel of the under-display fingerprint pattern is decoded according to the chromaticity reconstruction value.

[0196] It is understandable that decoding should be performed in the order of encoding. For example, if encoding is performed from left to right and from top to bottom, decoding should also be performed from left to right and from top to bottom.

[0197] The initial brightness of the under-display fingerprint pattern is obtained by locating each pixel of the pattern based on the decoded initial chromaticity and initial brightness.

[0198] For example, firstly, the pixels of the initial brightness are located based on the decoded initial chromaticity to determine the position of the pixel in the under-display fingerprint pattern. Then, the decoded initial brightness is matched one-to-one with the pixels after the position is determined to avoid matching other initial brightness to the wrong pixels.

[0199] Based on the same concept, this disclosure also provides an under-display fingerprint pattern brightness determination device for performing the steps of the under-display fingerprint pattern brightness determination method provided in the above method embodiments. The device 900 can implement the under-display fingerprint pattern brightness determination method in software, hardware or a combination of both. Figure 9 This is a block diagram of an under-display fingerprint pattern brightness determination device according to an exemplary embodiment. As shown in Figure 9, the device 900 includes: a first determination module 910, a second determination module 920, and a third determination module 930.

[0200] The first determining module 910 is configured to determine the initial brightness of the under-display fingerprint pattern;

[0201] The second determining module 920 is configured to determine the register value compensation value corresponding to each color channel of the initial brightness from the brightness register value mapping table corresponding to the color channel, based on the preset reference brightness and the initial brightness. The brightness register value mapping table stores the mapping relationship between the brightness of the color channel and the register value.

[0202] The third determining module 930 is configured to obtain the target brightness of the under-display fingerprint pattern based on the initial brightness and the register value compensation value.

[0203] The aforementioned device, based on a brightness register value mapping table corresponding to color channels, determines the register value compensation value corresponding to the color channel by comparing the initial brightness with a preset reference brightness. It then determines the target brightness based on the initial brightness and the register value compensation value. This results in high convergence of the under-display fingerprint pattern brightness, allowing for adaptive adjustments and improving the consistency between the under-display fingerprint pattern brightness and the display screen. Furthermore, it enhances the accuracy of the under-display fingerprint pattern brightness, improves the precision and sensitivity of fingerprint recognition, and reduces device rejections due to fingerprint recognition failures.

[0204] Optionally, the second determining module 920 includes:

[0205] The chromaticity determination submodule is configured to determine the initial chromaticity corresponding to the initial brightness and the reference chromaticity corresponding to the reference brightness;

[0206] The first determining submodule is configured to perform color channel decomposition on the corresponding initial brightness according to the initial chromaticity to obtain the initial color channel brightness corresponding to each color channel of the initial brightness.

[0207] The second determining submodule is configured to perform color channel decomposition on the corresponding reference brightness according to the reference chromaticity to obtain the reference color channel brightness corresponding to each color channel of the reference brightness.

[0208] The calculation submodule is configured to calculate the color channel brightness difference between the reference color channel brightness and the initial color channel brightness;

[0209] The third determining submodule is configured to determine the register value compensation value corresponding to the color channel from the brightness register value mapping table corresponding to the color channel based on the initial brightness and the corresponding color channel brightness difference.

[0210] Optionally, the third determining submodule is configured as follows:

[0211] The register value corresponding to the initial brightness in the brightness register value mapping table of the color channel is used as the spare register value;

[0212] The target brightness is determined based on the initial brightness and the corresponding color channel brightness difference.

[0213] The target brightness is taken as the register value in the brightness register value mapping table;

[0214] Calculate the register value difference between the target register value and the spare register value;

[0215] The difference in the register values ​​is used as the register value compensation value corresponding to that color channel.

[0216] Optionally, the third determining module 930 includes:

[0217] The fourth determining submodule is configured to determine the color channel storage values ​​of each color channel of the initial brightness in the register;

[0218] The fifth determining submodule is configured to obtain the target color channel storage value corresponding to each color channel based on the color channel storage value and the corresponding register value compensation value;

[0219] The sixth determining submodule is configured to write the target color channel storage value corresponding to each color channel into the register to obtain the target brightness of the under-display fingerprint pattern.

[0220] Optionally, the fourth determining submodule is configured as follows:

[0221] The color channel storage values ​​of each color channel of the initial brightness are read back from the register, wherein the color channel storage values ​​are obtained after the display screen is adjusted to a preset grayscale range.

[0222] Optionally, the second determining module 920 is configured to establish a brightness register value mapping table in the following manner:

[0223] Establish a nonlinear relationship between the display screen's image brightness and the input signal voltage;

[0224] After establishing the nonlinear relationship, the display screen is adjusted to high brightness mode;

[0225] When the display screen is in the high-brightness mode, the color intensity of the under-display fingerprint pattern is adjusted to a preset color range;

[0226] When the chroma is adjusted to the preset color range, the brightness of each color channel is measured and the register value of the corresponding color channel in the register is determined.

[0227] A brightness register value mapping table is established based on the mapping relationship between the register value and the brightness of the color channel.

[0228] Optionally, the second determining module 920 is configured to determine the initial brightness in the following manner:

[0229] When the display screen is in high brightness mode, adjust the white grayscale of the display screen to a preset white grayscale range;

[0230] When the white-grayscale is adjusted to the preset white-grayscale range, the initial brightness of the under-display fingerprint pattern and the initial chromaticity corresponding to the initial brightness are measured.

[0231] The initial brightness is stored based on the initial chromaticity to obtain the initial brightness of the under-display fingerprint pattern.

[0232] Optionally, the second determining module 920 is configured to:

[0233] Obtain the reference brightness value and reference chromaticity value of each reference pixel in the under-display fingerprint pattern;

[0234] Based on the reference luminance value and the initial luminance, the luminance reconstruction value of each pixel is determined, and based on the reference chrominance value and the initial chrominance, the chrominance reconstruction value of each pixel is determined.

[0235] The initial brightness of each pixel in the under-display fingerprint pattern is encoded according to the brightness reconstruction value, and the initial chromaticity of each pixel in the under-display fingerprint pattern is encoded according to the chromaticity reconstruction value.

[0236] The encoded initial chroma and initial luminance are stored in a register.

[0237] Optionally, the second determining module 920 is configured to:

[0238] Read the luminance reconstruction value and chrominance reconstruction value of each pixel of the under-display fingerprint pattern from the register;

[0239] The initial brightness of each pixel of the under-display fingerprint pattern is decoded according to the brightness reconstruction value, and the initial chromaticity of each pixel of the under-display fingerprint pattern is decoded according to the chromaticity reconstruction value.

[0240] The initial brightness of the under-display fingerprint pattern is obtained by locating each pixel of the pattern based on the decoded initial chromaticity and initial brightness.

[0241] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0242] Furthermore, it is worth noting that, for the sake of convenience and brevity, the embodiments described in the specification are all preferred embodiments, and the parts involved are not necessarily essential to the present invention. For example, the first determining module 910 and the second determining module 920 can be independent devices or the same device in specific implementations, and this disclosure does not limit them.

[0243] This disclosure also provides an electronic device, including:

[0244] processor;

[0245] Memory used to store processor-executable instructions;

[0246] The processor is configured as follows:

[0247] Determine the initial brightness of the in-display fingerprint pattern;

[0248] Based on the preset reference brightness and the initial brightness, the register value compensation value corresponding to each color channel of the initial brightness is determined from the brightness register value mapping table corresponding to the color channel. The brightness register value mapping table stores the mapping relationship between the brightness of the color channel and the register value.

[0249] The target brightness of the under-display fingerprint pattern is obtained based on the initial brightness and the register value compensation value.

[0250] This disclosure also provides a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the steps of any of the methods described above.

[0251] Figure 10 This is a block diagram illustrating a device 1000 for determining the brightness of an under-display fingerprint image according to an exemplary embodiment. The electronic device 1000 can be configured as a device with an OLED display, such as a mobile phone, tablet, computer, game console, wearable device, personal digital assistant, etc.

[0252] Reference Figure 10 The device 1000 may include one or more of the following components: a processing component 1002, a memory 1004, a power component 1006, a multimedia component 1008, an audio component 1010, an input / output (I / O) interface 1012, a sensor component 1014, and a communication component 1016.

[0253] Processing component 1002 typically controls the overall operation of electronic device 1000, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 1002 may include one or more processors 1020 to execute instructions to complete all or part of the steps of the aforementioned under-display fingerprint pattern brightness determination method. Furthermore, processing component 1002 may include one or more modules to facilitate interaction between processing component 1002 and other components. For example, processing component 1002 may include a multimedia module to facilitate interaction between multimedia component 1008 and processing component 1002.

[0254] Memory 1004 is configured to store various types of data to support the operation of electronic device 1000. Examples of this data include instructions for any application or method operating on electronic device 1000, contact data, phonebook data, messages, pictures, videos, etc. Memory 1004 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0255] Power component 1006 provides power to various components of electronic device 1000. Power component 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 1000.

[0256] Multimedia component 1008 includes a screen that provides an output interface between the electronic device 1000 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation.

[0257] Audio component 1010 is configured to output and / or input audio signals. For example, audio component 1010 includes a microphone array (MIC array) configured to receive external audio signals, such as ambient sound signals, when electronic device 1000 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1004 or transmitted via communication component 1016. In some embodiments, audio component 1010 also includes a speaker for playing a target sound signal.

[0258] I / O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0259] Sensor assembly 1014 includes one or more sensors for providing state assessments of various aspects of electronic device 1000. For example, sensor assembly 1014 may detect the on / off state of electronic device 1000, the relative positioning of components such as the display and keypad of electronic device 1000, changes in position of electronic device 1000 or a component of electronic device 1000, the presence or absence of user contact with electronic device 1000, the orientation or acceleration / deceleration of electronic device 1000, and temperature changes of electronic device 1000. Sensor assembly 1014 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 1014 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0260] Communication component 1016 is configured to facilitate wired or wireless communication between electronic device 1000 and other devices. Electronic device 1000 can access wireless networks based on communication standards, such as WiFi, 4G, or 5G, or combinations thereof. In one exemplary embodiment, communication component 1016 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1016 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0261] In an exemplary embodiment, the electronic device 1000 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described under-display fingerprint pattern brightness determination method.

[0262] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1004 including instructions, which can be executed by a processor 1020 of an electronic device 1000 to complete the above-described under-display fingerprint pattern brightness determination method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0263] In another exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program executable by a programmable device, the computer program having a code portion for performing the above-described under-display fingerprint pattern brightness determination method when executed by the programmable device.

[0264] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of this disclosure. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0265] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A method for determining the brightness of an under-display fingerprint pattern, characterized in that, include: Determine the initial brightness of the in-display fingerprint pattern; Based on the preset reference brightness and the initial brightness, the register value compensation value corresponding to each color channel of the initial brightness is determined from the brightness register value mapping table corresponding to the color channel. The brightness register value mapping table stores the mapping relationship between the brightness of the color channel and the register value. The target brightness of the under-display fingerprint pattern is obtained based on the initial brightness and the register value compensation value. The step of determining the register value compensation value corresponding to each color channel of the initial brightness from the brightness register value mapping table corresponding to the color channel based on the preset reference brightness and the initial brightness includes: Determine the initial chromaticity corresponding to the initial brightness and the reference chromaticity corresponding to the reference brightness; Based on the initial chromaticity, the corresponding initial luminance is decomposed into color channels to obtain the initial color channel luminance corresponding to each color channel of the initial luminance; Based on the reference chromaticity, the corresponding reference luminance is decomposed into color channels to obtain the reference color channel luminance corresponding to each color channel of the reference luminance. Calculate the color channel brightness difference between the reference color channel brightness and the initial color channel brightness; Based on the initial brightness and the corresponding color channel brightness difference, the register value compensation value corresponding to the color channel is determined from the brightness register value mapping table corresponding to the color channel.

2. The method according to claim 1, characterized in that, The step of determining the register value compensation value corresponding to the color channel from the luminance register value mapping table corresponding to the color channel based on the initial luminance and the corresponding color channel luminance difference includes: The register value corresponding to the initial brightness in the brightness register value mapping table of the color channel is used as the spare register value; The target brightness is determined based on the initial brightness and the corresponding color channel brightness difference. The target brightness is taken as the register value in the brightness register value mapping table; Calculate the register value difference between the target register value and the spare register value; The difference in the register values ​​is used as the register value compensation value corresponding to that color channel.

3. The method according to claim 1, characterized in that, The step of obtaining the target brightness of the under-display fingerprint pattern based on the initial brightness and the register value compensation value includes: Determine the color channel storage values ​​of each color channel in the register for the initial brightness; Based on the color channel storage value and the corresponding register value compensation value, the target color channel storage value corresponding to each color channel is obtained; The target color channel storage value corresponding to each color channel is written into the register to obtain the target brightness of the under-display fingerprint pattern.

4. The method according to claim 3, characterized in that, The color channel storage values ​​in the register for determining the initial brightness of each color channel include: The color channel storage values ​​of each color channel of the initial brightness are read back from the register, wherein the color channel storage values ​​are obtained after the display screen is adjusted to a preset grayscale range.

5. The method according to any one of claims 1-4, characterized in that, The brightness register value mapping table is established in the following way: Establish a nonlinear relationship between the display screen's image brightness and the input signal voltage; After establishing the nonlinear relationship, the display screen is adjusted to high brightness mode; When the display screen is in the high-brightness mode, the color intensity of the under-display fingerprint pattern is adjusted to a preset color range; When the chroma is adjusted to the preset color range, the brightness of each color channel is measured and the register value of the corresponding color channel in the register is determined. A brightness register value mapping table is established based on the mapping relationship between the register value and the brightness of the color channel.

6. The method according to claim 5, characterized in that, The initial brightness was determined in the following manner: When the display screen is in high brightness mode, adjust the white grayscale of the display screen to a preset white grayscale range; When the white-grayscale is adjusted to the preset white-grayscale range, the initial brightness of the under-display fingerprint pattern and the initial chromaticity corresponding to the initial brightness are measured. The initial brightness is stored based on the initial chromaticity to obtain the initial brightness of the under-display fingerprint pattern.

7. The method according to claim 6, characterized in that, The step of storing the initial brightness based on the initial chromaticity to obtain the initial brightness of the under-display fingerprint pattern includes: Obtain the reference brightness value and reference chromaticity value of each reference pixel in the under-display fingerprint pattern; Based on the reference luminance value, the reference chrominance value, the initial luminance, and the initial chrominance, determine the luminance reconstruction value and chrominance reconstruction value of each pixel; The initial brightness of each pixel in the under-display fingerprint pattern is encoded according to the brightness reconstruction value, and the initial chromaticity of each pixel in the under-display fingerprint pattern is encoded according to the chromaticity reconstruction value. The encoded initial chroma and initial luminance are stored in a register.

8. The method according to claim 7, characterized in that, Determining the initial brightness of the under-display fingerprint pattern includes: Read the luminance reconstruction value and chrominance reconstruction value of each pixel of the under-display fingerprint pattern from the register; The initial brightness of each pixel of the under-display fingerprint pattern is decoded based on the brightness reconstruction value, and the initial chromaticity of each pixel of the under-display fingerprint pattern is decoded based on the chromaticity reconstruction value. The initial brightness of the under-display fingerprint pattern is obtained by locating each pixel of the pattern based on the decoded initial chromaticity and initial brightness.

9. A device for determining the brightness of an under-display fingerprint pattern, characterized in that, include: The first determining module is configured to determine the initial brightness of the under-display fingerprint pattern; The second determining module is configured to determine the register value compensation value corresponding to each color channel of the initial brightness from the brightness register value mapping table corresponding to the color channel, based on the preset reference brightness and the initial brightness. The brightness register value mapping table stores the mapping relationship between the brightness of the color channel and the register value. The third determining module is configured to obtain the target brightness of the under-display fingerprint pattern based on the initial brightness and the register value compensation value. The second determining module includes: The chromaticity determination submodule is configured to determine the initial chromaticity corresponding to the initial brightness and the reference chromaticity corresponding to the reference brightness; The first determining submodule is configured to perform color channel decomposition on the corresponding initial brightness according to the initial chromaticity to obtain the initial color channel brightness corresponding to each color channel of the initial brightness. The second determining submodule is configured to perform color channel decomposition on the corresponding reference brightness according to the reference chromaticity to obtain the reference color channel brightness corresponding to each color channel of the reference brightness. The calculation submodule is configured to calculate the color channel brightness difference between the reference color channel brightness and the initial color channel brightness; The third determining submodule is configured to determine the register value compensation value corresponding to the color channel from the brightness register value mapping table corresponding to the color channel based on the initial brightness and the corresponding color channel brightness difference.

10. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured as follows: Determine the initial brightness of the in-display fingerprint pattern; Based on the preset reference brightness and the initial brightness, the register value compensation value corresponding to each color channel of the initial brightness is determined from the brightness register value mapping table corresponding to the color channel. The brightness register value mapping table stores the mapping relationship between the brightness of the color channel and the register value. The target brightness of the under-display fingerprint pattern is obtained based on the initial brightness and the register value compensation value. The step of determining the register value compensation value corresponding to each color channel of the initial brightness from the brightness register value mapping table corresponding to the color channel based on the preset reference brightness and the initial brightness includes: Determine the initial chromaticity corresponding to the initial brightness and the reference chromaticity corresponding to the reference brightness; Based on the initial chromaticity, the corresponding initial luminance is decomposed into color channels to obtain the initial color channel luminance corresponding to each color channel of the initial luminance; Based on the reference chromaticity, the corresponding reference luminance is decomposed into color channels to obtain the reference color channel luminance corresponding to each color channel of the reference luminance. Calculate the color channel brightness difference between the reference color channel brightness and the initial color channel brightness; Based on the initial brightness and the corresponding color channel brightness difference, the register value compensation value corresponding to the color channel is determined from the brightness register value mapping table corresponding to the color channel.

11. A computer-readable storage medium storing computer program instructions thereon, characterized in that, When executed by a processor, the program instructions implement the steps of the method described in any one of claims 1-8.