Brightness adjustment method, display device and computer readable storage medium
By adjusting the brightness to the inflection point value after the OLED display panel enters the local high-brightness mode, and then using the calibration value for dynamic compensation, the problem of unstable brightness is solved and the display effect is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HEFEI VISIONOX TECH CO LTD
- Filing Date
- 2025-01-23
- Publication Date
- 2026-05-26
AI Technical Summary
In existing technologies, the brightness adjustment of OLED display products is unstable after entering the fingerprint recognition interface, resulting in poor display performance.
A brightness adjustment method is provided, which first adjusts the brightness of the second area to the inflection point brightness value after the display panel enters the local high brightness mode, and then uses the first calibration value and the second calibration value to dynamically compensate the brightness to ensure the stability of the brightness at the target value.
The issue of instantaneous brightness changes in the display panel during localized high-brightness mode has been improved, reducing flickering and enhancing the display effect.
Smart Images

Figure CN119626160B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of displays, and in particular to a brightness adjustment method, a display device, and a computer-readable storage medium. Background Technology
[0002] Organic light-emitting diodes (OLEDs) and flat panel displays based on light-emitting diodes (LEDs) are widely used in various consumer electronics products such as mobile phones, televisions, laptops, and desktop computers due to their advantages such as high image quality, energy saving, thin body and wide range of applications, becoming the mainstream of display devices.
[0003] In order to improve the accuracy of fingerprint recognition, current OLED display products usually adjust the fingerprint recognition area to a high-brightness mode after entering the fingerprint recognition interface, while the brightness of other areas outside the fingerprint recognition area remains unchanged. However, the existing brightness adjustment method has an unstable problem, resulting in poor display effect. Summary of the Invention
[0004] The main technical problem addressed by this application is to provide a brightness adjustment method, a display device, and a computer-readable storage medium that can improve the problem of unstable display brightness after the display panel enters a local high-brightness mode.
[0005] To solve the above-mentioned technical problems, this application adopts a technical solution as follows: providing a brightness adjustment method, the method comprising: after receiving a target instruction instructing the display panel to enter a local high-brightness mode, controlling the display panel to enter the local high-brightness mode, wherein the display panel includes a first area for fingerprint unlocking and a second area located outside the first area, the local high-brightness mode including the brightness of the first area being higher than the brightness of the second area; after the display panel enters the local high-brightness mode, if the target brightness value of the second area in the displayed image is less than a preset inflection point brightness value, then first adjusting the brightness value of the second area in the display panel to the inflection point brightness value using a brightness level, then adjusting the brightness of the second area in the first image using a first calibration value, and adjusting the brightness of the second area in the second image to the target brightness value using a second calibration value; wherein the first image and the second image are both displayed images after the display panel enters the local high-brightness mode, and the first image is located before the second image.
[0006] Preferably, the first frame is the first frame after the display panel enters the local highlight mode.
[0007] Preferably, the second frame is the second frame after the display panel enters the local highlight mode and the frame after the second frame.
[0008] Preferably, before adjusting the brightness of the second area in the first image using the first calibration value and adjusting the brightness of the second area in the second image using the second calibration value, the method further includes: determining the corresponding first calibration value and second calibration value based on the target brightness value.
[0009] Preferably, the step of determining the corresponding first calibration value and second calibration value based on the target brightness value includes: determining the first calibration value and second calibration value corresponding to the target brightness value based on a pre-saved correspondence relationship matching the display panel, wherein the correspondence relationship includes at least one bound point brightness value and the first calibration value and second calibration value corresponding to each bound point brightness value.
[0010] Preferably, the step of determining the first calibration value and the second calibration value corresponding to the target brightness value according to a pre-saved correspondence relationship matching the display panel includes: in response to the existence of the target brightness value in the bound point brightness values of the correspondence relationship, directly searching for and determining the first calibration value corresponding to the target brightness value; otherwise, searching for a first bound point brightness value adjacent to the target brightness value in the correspondence relationship, and determining the first calibration value corresponding to the target brightness value according to the first calibration value corresponding to the first bound point brightness value in the correspondence relationship.
[0011] Preferably, the method further includes: setting the brightness of the second region in at least one sample panel to the bound point brightness value, wherein the type of each sample panel matches the type of the display panel; for each sample panel, adjusting the brightness of the second region using multiple sample calibration values respectively, and obtaining the brightness change value of the sample panel after each adjustment; for each sample panel, finding the minimum brightness change value corresponding to the sample panel, and determining the sample calibration value corresponding to the minimum brightness change value as the target calibration value corresponding to the sample panel; determining the first calibration value corresponding to the bound point brightness value according to the target calibration value corresponding to each sample panel, and storing the bound point brightness value and the corresponding first calibration value in the correspondence.
[0012] Preferably, the step of determining the first calibration value corresponding to the bound point brightness value based on the target calibration value corresponding to each of the sample panels includes: determining the average value of the target calibration value based on the target calibration value corresponding to each of the sample panels; and determining the average value of the target calibration value as the first calibration value corresponding to the bound point brightness value.
[0013] Preferably, the method further includes: pre-saving the correspondence relationship matching the display panel according to the type of the display panel; wherein, in response to the type of the display panel being a first type, in the correspondence relationship corresponding to the display panel, the first calibration value corresponding to the bound point brightness value is less than the second calibration value corresponding to the bound point brightness value; in response to the type of the display panel being a second type, in the correspondence relationship corresponding to the display panel, the first calibration value corresponding to the bound point brightness value is greater than the second calibration value corresponding to the bound point brightness value; wherein, the display panel of the first type flashes after entering the local high brightness mode, and the display panel of the second type dims after entering the local high brightness mode.
[0014] To solve the above-mentioned technical problems, another technical solution adopted in this application is: to provide a display device, the display device including a processor, a memory and a communication circuit, the processor being coupled to the memory and the communication circuit respectively, the memory storing program data, and the processor executing the program data in the memory to implement the steps in the method of any embodiment.
[0015] To solve the above-mentioned technical problems, another technical solution adopted in this application is to provide a computer-readable storage medium storing a computer program that can be executed by a processor to implement the steps in the method of any embodiment.
[0016] The beneficial effects of this application are as follows: Unlike existing technologies, the brightness adjustment method of this application, after the display panel enters the local high-brightness mode, if the target brightness value of the second area in the display screen is less than the preset inflection point brightness value, adjusts the brightness value of the second area in the display panel to the inflection point brightness value, first adjusting the brightness calibration value to the first calibration value, then adjusting it to the second calibration value and maintaining it at the second calibration value, dynamically compensating for the brightness calibration value immediately after entering the local high-brightness mode. Here, the first calibration value corresponds to the transient brightness, and the second calibration value corresponds to the steady-state brightness. This adjustment method ensures that the brightness value of the second area remains unchanged before and after entering the local high-brightness mode, while reducing the difference between the brightness value of the second area in the first screen corresponding to the first calibration value and the brightness value of the second area in the second screen corresponding to the second calibration value. This improves the problem of instantaneous brightness changes after entering the local high-brightness mode, thereby reducing flickering. Attached Figure Description
[0017] Figure 1 This is a schematic diagram of the structure of one embodiment of the display panel of this application;
[0018] Figure 2 This is a flowchart illustrating one embodiment of the brightness adjustment method of this application;
[0019] Figure 3 This is a flowchart illustrating an embodiment of step S220 in the method of this application;
[0020] Figure 4 This is a flowchart illustrating another embodiment of the brightness adjustment method of this application;
[0021] Figure 5 yes Figure 4 A flowchart illustrating an implementation method for step S340;
[0022] Figure 6 This is a schematic diagram of the framework of an embodiment of the display device of this application;
[0023] Figure 7 This is a schematic diagram of a framework of one embodiment of the computer-readable storage medium of this application. Detailed Implementation
[0024] To make the objectives, technical solutions, and effects of this application clearer and more explicit, the following detailed description is provided with reference to the accompanying drawings and embodiments. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0025] like Figure 1As shown, when a display device of the related technology enters the fingerprint recognition interface, in order to improve the accuracy of fingerprint recognition, the display panel 10 usually needs to enter the Local High Brightness Mode (LHBM). In this mode, the first area 101 of the display panel 10 used for fingerprint recognition is in high brightness mode. At this time, the brightness of the first area 101 reaches its peak. In order to ensure the display effect, the brightness value of the second area 102 located outside the first area 101, which serves as the background area for fingerprint recognition, remains unchanged. After entering the local high brightness mode, the brightness of the first area 101 is higher than that of the second area 102.
[0026] The inventors discovered that after the display panel 10 of the related technology enters the local high-brightness mode, when the brightness value of the second area 102 is less than the preset inflection point brightness value, the display panel 10 is prone to flickering, which affects the display effect.
[0027] In view of this, this application provides a brightness adjustment method to improve the above-mentioned problems. This method is executed by the display panel's driver chip (DDIC, Display Driver Integrated Circuit). See also... Figure 2 and combined Figure 1 The method includes the following steps:
[0028] Step S110: After receiving the target instruction to instruct the display panel to enter the local highlight mode, control the display panel to enter the local highlight mode.
[0029] Specifically, the target command to enter the local highlight mode is issued by the main control chip, and the driver chip controls the display panel to enter the local highlight mode in the next frame after receiving the command.
[0030] Step S120: After the display panel enters the local high-brightness mode, if the target brightness value of the second area in the display screen is less than the preset inflection point brightness value, the brightness value of the second area in the display panel is first adjusted to the inflection point brightness value, and then the brightness of the second area in the first screen is adjusted using the first calibration value, and the brightness of the second area in the second screen is adjusted to the target brightness value using the second calibration value; wherein, the first screen and the second screen are both display screens after the display panel enters the local high-brightness mode, and the first screen is located before the second screen.
[0031] Specifically, in some application scenarios, when the display panel enters local highlight mode, the driver chip determines whether the brightness value of the second area is greater than the inflection point brightness value, which is usually a preset value stored in a register. When the brightness value of the second area is greater than the preset inflection point brightness value, the brightness level (DBV value) of the last frame before entering local highlight mode is used, ensuring that the brightness value of the second area remains unchanged after entering local highlight mode. When the brightness value of the second area is less than the preset inflection point brightness value, the DBV value of the second area is first adjusted to the DBV value corresponding to the inflection point brightness value, and then the brightness value of the second area is adjusted through the brightness calibration value (alpha value) to ensure that the brightness value of the second area remains unchanged. It should be noted that the DBV value is used to characterize the display brightness level; when the grayscale value of the pixel remains constant, the DBV value is positively correlated with the brightness value. The alpha value is used to calibrate the brightness value below the inflection point brightness value; when the refresh rate of the display panel remains constant, the alpha value is positively correlated with the brightness value. To avoid flickering issues when the display device enters local highlight mode, the solution in this application first adjusts the alpha value to a first calibration value, then adjusts it to a second calibration value and maintains it at the second calibration value. This dynamically compensates for the alpha value of the display panel immediately upon entering local highlight mode. The first calibration value corresponds to transient brightness, and the second calibration value corresponds to steady-state brightness. This adjustment method ensures that the brightness value of the second area remains constant before and after entering local highlight mode, while reducing the difference between the brightness value of the second area in the first image corresponding to the first calibration value and the brightness value of the second area in the second image corresponding to the second calibration value. This improves the problem of instantaneous brightness changes after entering local highlight mode.
[0032] Optionally, the first image is the first frame after the display panel enters the partial brightness mode; optionally, the second image is the second frame after the display panel enters the partial brightness mode, plus several frames after the second frame. Since the flickering problem of the display panel usually occurs in the first frame after entering the partial brightness mode, the alpha value corresponding to the first frame of the display panel entering the partial brightness mode can be adjusted to a first calibration value, and the second frame of the display panel entering the partial brightness mode, as well as several frames after the second frame, can be adjusted to a second calibration value. In other embodiments, the alpha value can also be adjusted to the first calibration value in the first and second frames of entering the partial brightness mode, and the alpha value can be adjusted to the second calibration value in several frames after the third frame; or the alpha value can be adjusted to the first calibration value in the first frame of entering the partial brightness mode, the alpha value can be adjusted to the second calibration value in several frames after the third frame, and the alpha value in the second frame can be adjusted to another brightness calibration value between the first and second calibration values.
[0033] Optionally, before step S120, the following steps are also included:
[0034] Step S220: Determine the corresponding first calibration value and second calibration value based on the target brightness value. With the refresh rate remaining constant, the alpha value is positively correlated with the brightness value; therefore, the corresponding first calibration value and second calibration value can be determined based on the target brightness value of the second region. The second calibration value can be calculated using the following formula:
[0035] Alpha B = (L / L) FPS ) 1 / 2.2 *4095;
[0036] Among them, Alpha B L is the second calibration value, and L is the target brightness value of the second region. FPS This refers to the inflection point brightness value. For example, when the target brightness value is 30 nits and the inflection point brightness value is preset to 75 nits, the second calibration value corresponding to 30 nits is approximately 2700.
[0037] Similarly, the first calibration value can also be determined based on the target brightness value.
[0038] Step S220 specifically involves determining a first calibration value and a second calibration value corresponding to the target brightness value based on a pre-saved correspondence with the display panel. The correspondence includes at least one bound point brightness value and its corresponding first and second calibration values. Specifically, the correspondence includes bound point brightness values pre-stored in memory, and the first and second calibration values corresponding to each bound point brightness value. Based on this correspondence, the driver chip can retrieve the corresponding first and second calibration values according to the target brightness value. Bound point brightness values are at least one brightness value selected within the brightness range, pre-stored in memory, and can be multiple, corresponding to brightness values less than the inflection point brightness value. The more bound point brightness values there are, the more accurate the first and second calibration values will be.
[0039] Optionally, see Figure 3 Step S220 may also include:
[0040] Step S221: In response to the existence of a target brightness value among the corresponding binding point brightness values, the first calibration value corresponding to the target brightness value is directly searched and determined.
[0041] Specifically, when the target brightness value is the same as the pre-stored binding point brightness value, the driver chip can directly retrieve the first calibration value and the second calibration value corresponding to the binding point brightness value.
[0042] Step S222: Otherwise, find the first binding point brightness value adjacent to the target brightness value in the correspondence relationship, and determine the first calibration value corresponding to the target brightness value based on the first calibration value corresponding to the first binding point brightness value in the correspondence relationship. When the target brightness value is different from all the pre-stored binding point brightness values, first find the first binding point brightness value adjacent to the target brightness value from the binding point brightness values, and then use the first calibration value corresponding to the first binding point brightness value as the first calibration value corresponding to the target brightness value.
[0043] Specifically, the target brightness value can have one adjacent first binding point brightness value, or it can have two. When the target brightness value has two first binding point brightness values, that is, the target brightness value is located between the two first binding point brightness values. When the target brightness value is located between the two first binding point brightness values, the two first calibration values corresponding to the two first binding point brightness values can be obtained first, and then the first calibration value corresponding to the target brightness value located between the two first binding point brightness values can be determined according to the linear relationship between the first binding point brightness values and the target brightness value.
[0044] In a specific example, the pre-stored binding point brightness values in the correspondence are 15 nit, 25 nit, 35 nit, 45 nit, and 65 nit. When the target brightness value is 10 nit, the only adjacent first binding point brightness value is 15 nit. Therefore, the first calibration value corresponding to 15 nit can be used as the first calibration value corresponding to the target brightness value. When the target brightness value is 30 nit, the adjacent first binding point brightness values include 25 nit and 35 nit. The first calibration value corresponding to 25 nit is A1, and the first calibration value corresponding to 35 nit is A2. Therefore, the first calibration value corresponding to 30 nit is (A1+A2) / 2.
[0045] Optionally, see Figure 4 The first calibration value of this application can be obtained by the following method:
[0046] Step S310: Set the brightness of the second region in at least one sample panel to a binding point brightness value, wherein the type of each sample panel matches the type of the display panel.
[0047] Specifically, the display panel and sample panel types include a first type and a second type. The first type of display panel flashes after entering the local high-brightness mode, while the second type of display panel flickers after entering the local high-brightness mode. Flashing can be understood as a sudden increase in brightness of the display panel upon entering the local high-brightness mode, and flickering can be understood as a sudden decrease in brightness of the display panel upon entering the local high-brightness mode. This step can be understood as selecting the corresponding sample panel based on whether the display panel flashes or flickers, and setting the corresponding binding point brightness value. There can be multiple sample panels and multiple binding point brightness values. When there are multiple binding point brightness values, steps S320-S340 are executed for each binding point brightness value.
[0048] Step S320: For each sample panel, adjust the brightness of the second region using multiple sample calibration values, and obtain the brightness change value of the sample panel after each adjustment.
[0049] Specifically, after setting the brightness of the second region in each sample panel to a certain bounding point brightness value, for each sample panel, multiple brightness adjustments are performed using multiple sample calibration values to obtain the brightness change value of each sample display panel under each sample calibration value. This brightness change value can be understood as the difference between the highest and lowest brightness values generated after the sample panel enters the local high-brightness mode, or as the difference between the highest / lowest brightness values generated instantaneously after the sample panel enters the local high-brightness mode and the stable brightness value after the display brightness stabilizes.
[0050] First, assuming the bound point brightness value is 15 nits, the process of adjusting the brightness of the second area of the sample panel using the sample calibration value for each sample calibration value specifically includes: first, setting the sample panel to enter a local bright mode at a brightness of 15 nits; after entering the local bright mode, first adjusting the brightness value of the second area of the sample panel to the inflection point brightness value (e.g., 75 nits); then, adjusting the brightness of the second area using the sample calibration value in the first frame; and then adjusting the brightness value of the second area using the second calibration value corresponding to the bound point brightness value (the second calibration value of 15 nits is approximately 1970) in subsequent frames, thereby obtaining the brightness change value of the sample panel under the sample calibration value.
[0051] Step S330: For each sample panel, find the minimum brightness change value corresponding to the sample panel, and determine the sample calibration value corresponding to the minimum brightness change value as the target calibration value corresponding to the sample panel.
[0052] Specifically, the smaller the brightness change value, the more stable the brightness value of the sample panel after entering the local bright mode, and the lower the flicker. Therefore, the sample calibration value corresponding to the minimum brightness change value, i.e., the target calibration value, has the best calibration effect on brightness and maintains the most stable brightness.
[0053] Step S340: Based on the target calibration value corresponding to each sample panel, determine the first calibration value corresponding to the binding point brightness value, and save the binding point brightness value and the corresponding first calibration value in the correspondence relationship.
[0054] Specifically, after step S330, a corresponding target calibration value can be obtained for each sample panel. That is, the number of target calibration values corresponds to the number of sample panels. Finally, based on the target calibration value of each sample panel under the same bound brightness value, the first calibration value corresponding to the bound point brightness value is obtained. Finally, the bound point brightness value and its corresponding first calibration value are saved in the correspondence relationship.
[0055] Optionally, to improve data accuracy, multiple sample panels can be selected for testing for each type. When there are multiple sample panels, refer to [reference needed]. Figure 5 Step S340 may also include:
[0056] Step S341: Determine the average value of the target calibration value based on the target calibration value corresponding to each sample panel.
[0057] Step S342: Determine the average value of the target calibration value as the first calibration value corresponding to the binding point brightness value.
[0058] Specifically, the average of the target calibration values from multiple sample panels is taken as the first calibration value.
[0059] In other embodiments, the median or mode of the target calibration values from multiple sample panels can be used as the first calibration value. Alternatively, in other embodiments, the number of sample panels can be only one; in this case, the target calibration value corresponding to the brightness of the bound point on that sample panel can be directly determined as the first calibration value.
[0060] Optionally, the method of this application further includes:
[0061] The corresponding relationship between the display panel and the display panel is saved in advance according to the type of the display panel; wherein, in response to the type of the display panel being a first type, the first calibration value corresponding to the point brightness value is less than the second calibration value corresponding to the point brightness value in the corresponding relationship of the display panel; in response to the type of the display panel being a second type, the first calibration value corresponding to the point brightness value is greater than the second calibration value corresponding to the point brightness value in the corresponding relationship of the display panel.
[0062] Specifically, if the second area experiences a flickering problem (sudden increase in brightness) the instant the display panel enters the local high-brightness mode, the first calibration value should be less than the second calibration value to reduce the brightness of the second area after the display panel enters the local high-brightness mode, thus improving the flickering problem. If the second area experiences a dimming problem (sudden decrease in brightness) the instant the display panel enters the local high-brightness mode, the first calibration value should be greater than the second calibration value to increase the brightness of the second area after the display panel enters the local high-brightness mode, thus improving the dimming problem and ensuring the display effect.
[0063] To facilitate further understanding, the following detailed explanation, using examples, illustrates the process of obtaining the correspondence between the dot-bound brightness values and the first calibration value in this application:
[0064] First, determine whether the display panel to be adjusted is flashing or dimming. Taking flashing as an example, select multiple sample panels of the same flashing type. Then, perform brightness adjustment tests on each sample panel at multiple pre-set bound point brightness values (e.g., 15 nit, 25 nit, 35 nit, 45 nit, 65 nit). For example, when the bound point brightness value is 15 nit, first set the sample panel to enter local high-brightness mode at 15 nit brightness. After entering local high-brightness mode, first adjust the brightness value of the second area of the sample panel to the inflection point brightness value (e.g., 75 nit). Then, in the first frame, adjust the brightness value using the sample calibration value (in the flashing case, the sample calibration value should be less than the second calibration value). In subsequent frames, adjust the brightness value using the second calibration value of the corresponding bound point brightness value (the second calibration value for 15 nit is approximately 1970). Record the brightness change over time during the adjustment process.
[0065] The above test was repeated multiple times at 15 nit using multiple sample calibration values, while the second calibration value remained unchanged. Multiple brightness variation values corresponding to the bound point brightness value were obtained. The sample calibration value corresponding to the smallest brightness variation value was selected as the target calibration value for that sample panel at 15 nit. The same test was performed on multiple (e.g., 5) sample panels of the same type, obtaining the target calibration values for 5 sample panels at 15 nit. The average of the 5 target calibration values is the first calibration value corresponding to the flashing type display panel at 15 nit. Finally, the correspondence between the bound point brightness value and the first calibration value obtained after the above test was stored in the display panel's memory for easy retrieval during actual display.
[0066] See Figure 6 , Figure 6This is a schematic diagram of a framework of an embodiment of the electronic device of this application. In this embodiment, the electronic device 110 includes a memory 111, a processor 112, and a communication circuit 113. The processor 112 is coupled to the memory 111 and the communication circuit 113 respectively. The memory 111 stores program data, and the processor 112 implements the brightness adjustment method of this application by executing the program data in the memory.
[0067] Processor 112 can also be referred to as CPU (Central Processing Unit). Processor 112 may be an integrated circuit chip with signal processing capabilities. Processor 112 can also be a general-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component. A general-purpose processor can be a microprocessor, or processor 112 can be any conventional processor 112, etc.
[0068] See Figure 7 , Figure 7 This is a schematic diagram illustrating one embodiment of the computer-readable storage medium of this application. The computer-readable storage medium 120 of this application embodiment stores program instructions 121, which, when executed, implement the brightness adjustment method provided in this application. The program instructions 121 can be formed into a program file and stored in the aforementioned computer-readable storage medium 120 in the form of a software product, so that a computer device (which may be a personal computer, server, or network device, etc.) can execute all or part of the steps of the methods of various embodiments of this application. The aforementioned computer-readable storage medium 120 includes various media capable of storing program code, such as a USB flash drive, portable hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, or terminal devices such as computers, servers, mobile phones, and tablets.
[0069] In some embodiments, the functions or modules of the apparatus provided in this disclosure can be used to perform the methods described in the above method embodiments. The specific implementation can be referred to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.
[0070] The description of the various embodiments above tends to emphasize the differences between the various embodiments. The similarities or similarities between them can be referred to, and for the sake of brevity, they will not be repeated here.
[0071] In the several embodiments provided in this application, it should be understood that the disclosed methods, apparatuses, and systems can be implemented in other ways. For example, the apparatus implementations described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of apparatuses or units may be electrical, mechanical, or other forms.
[0072] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0073] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0074] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, 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. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods of various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0075] The above are merely embodiments of this application and do not limit the scope of this patent application. Any equivalent structural or procedural changes made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of this application.
Claims
1. A brightness adjustment method, characterized in that, The method includes: The corresponding relationship between the display panel and the display panel type is saved in advance; Upon receiving a target instruction to instruct the display panel to enter a local brightening mode, the display panel is controlled to enter the local brightening mode, wherein the display panel includes a first area for fingerprint unlocking and a second area located outside the first area, and the local brightening mode includes the brightness of the first area being higher than the brightness of the second area; After the display panel enters the local high-brightness mode, if the target brightness value of the second area in the display screen is less than the preset inflection point brightness value, the brightness value of the second area in the display panel is first adjusted to the inflection point brightness value using brightness levels. Then, according to the pre-saved correspondence with the display panel, a first calibration value and a second calibration value corresponding to the target brightness value are determined. The correspondence includes at least one bound point brightness value and the first calibration value and the second calibration value corresponding to each bound point brightness value. The brightness calibration value is adjusted to the first calibration value to adjust the brightness of the second area in the first screen, and then adjusted to the second calibration value to adjust the brightness of the second area in the second screen to the target brightness value. The brightness calibration value is the alpha value. Wherein, the first screen and the second screen are both the display screens after the display panel enters the local high brightness mode, and the first screen is located before the second screen; the first calibration value corresponds to the transient brightness, and the second calibration value corresponds to the steady-state brightness; Wherein, in response to the display panel being of the first type, in the correspondence relationship corresponding to the display panel, the first calibration value corresponding to the bound point brightness value is less than the second calibration value corresponding to the bound point brightness value; In response to the fact that the type of the display panel is the second type, in the correspondence relationship corresponding to the display panel, the first calibration value corresponding to the bound point brightness value is greater than the second calibration value corresponding to the bound point brightness value; The first type of display panel flashes after entering the local highlight mode, while the second type of display panel dims after entering the local highlight mode.
2. The method according to claim 1, characterized in that, The first frame is the first frame after the display panel enters the local highlight mode; The second frame is the second frame after the display panel enters the local highlight mode, and the frame after the second frame.
3. The method according to claim 1, characterized in that, The step of determining the first calibration value and the second calibration value corresponding to the target brightness value based on a pre-saved correspondence with the display panel includes: If the target brightness value exists in the bound point brightness values of the corresponding relationship, then the first calibration value corresponding to the target brightness value is directly searched and determined. Otherwise, find the first binding point brightness value adjacent to the target brightness value in the correspondence, and determine the first calibration value corresponding to the target brightness value according to the first calibration value corresponding to the first binding point brightness value in the correspondence.
4. The method according to claim 1, characterized in that, The method further includes: The brightness of the second region in at least one sample panel is set to the binding point brightness value, wherein the type of each sample panel matches the type of the display panel; For each of the sample panels, the brightness of the second region is adjusted using multiple sample calibration values, and the brightness change value of the sample panel is obtained after each adjustment. For each sample panel, find the minimum brightness change value corresponding to the sample panel, and determine the sample calibration value corresponding to the minimum brightness change value as the target calibration value corresponding to the sample panel; Based on the target calibration value corresponding to each sample panel, the first calibration value corresponding to the binding point brightness value is determined, and the binding point brightness value and the first calibration value corresponding to it are stored in the correspondence.
5. The method according to claim 4, characterized in that, The step of determining the first calibration value corresponding to the bound point brightness value based on the target calibration value corresponding to each of the sample panels includes: Based on the target calibration value corresponding to each of the sample panels, determine the average value of the target calibration value; The average value of the target calibration value is determined as the first calibration value corresponding to the binding point brightness value.
6. A display device, characterized in that, The display device includes a processor, a memory, and a communication circuit. The processor is coupled to the memory and the communication circuit. The memory stores program data. The processor executes the program data in the memory to implement the steps of the method as described in any one of claims 1-5.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that can be executed by a processor to implement the steps of the method as described in any one of claims 1-5.