Display compensation method, apparatus and electronic device
By performing display compensation based on the original data of the first display area when adjusting the brightness of the display panel, the problem of inconsistent brightness caused by changes in brightness level is solved, the brightness difference is reduced, screen flicker is avoided, 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-22
- Publication Date
- 2026-05-15
AI Technical Summary
When the brightness level of one display area is increased in an existing display panel, it will affect other display areas, resulting in inconsistent brightness and causing flickering.
By responding to the first instruction, the compensated display data is determined based on the original data of the first display area, and the display compensation is performed on the first display area so that the difference between its brightness and the brightness in the initial state is less than a preset difference, thus avoiding brightness differences before and after brightness adjustment.
It effectively avoids screen flickering and improves the brightness consistency and display effect of the display panel.
Smart Images

Figure CN119811250B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display technology, and in particular to a display compensation method, apparatus and electronic device. Background Technology
[0002] With the development of display technology, display panels are being used more and more widely, and correspondingly, the requirements for display panels are becoming higher and higher.
[0003] Existing display panels can include multiple display areas with different brightness levels. However, when the brightness level of one display area is increased, it will affect other display areas, causing inconsistencies in the brightness of other display areas before and after the increase, resulting in flickering. Summary of the Invention
[0004] In view of this, this application provides a display compensation method, apparatus, and electronic device to solve the problems in conventional solutions.
[0005] This application provides a display compensation method applied to a display panel, the display panel including a first display area and a second display area, comprising: responding to a first instruction, determining compensated display data based on original data of the first display area, wherein the first instruction includes increasing the brightness of the second display area, and the increased brightness of the second display area is greater than the brightness of the first display area before responding to the first instruction, and the brightness level of the first display area before responding to the first instruction is less than a first preset brightness level; performing display compensation on the first display area based on the compensated display data, such that the difference between the brightness of the compensated first display area and the brightness of the first display area in a first state is less than a first preset difference, wherein the brightness level of the second display area in the first state is less than a second preset brightness level, and the display data of the first display area is the original data.
[0006] A second aspect of this application provides a display compensation device, comprising: a determining module, configured to determine compensated display data based on original data of a first display area in response to a first instruction, wherein the first instruction includes increasing the brightness of a second display area, and the increased brightness of the second display area is greater than the brightness of the first display area, and the brightness level of the first display area is less than a first preset brightness level; and a compensation module, configured to perform display compensation on the first display area based on the compensated display data, such that the difference between the brightness of the compensated first display area and the brightness of the first display area in a first state is less than a first preset difference, wherein the brightness level of the second display area in the first state is less than a second preset brightness level, and the display data of the first display area is the original data.
[0007] A third aspect of this application provides an electronic device, including: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other via the communication bus; the memory is used to store at least one executable instruction, which causes the processor to perform the operation corresponding to the method described in the first aspect of the embodiment.
[0008] This application, by determining the compensated display data based on the original data of the first display area when increasing the brightness of the second display area in response to a first instruction, and then performing display compensation on the first display area using the compensated display data, can make the brightness difference between the first display area and the second display area before and after brightness adjustment less than a first preset difference value, thereby avoiding screen flicker. Attached Figure Description
[0009] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings.
[0010] Figure 1 This is a flowchart illustrating the steps of a compensation method according to an embodiment of this application;
[0011] Figure 2 This is a schematic diagram of a display panel applicable to embodiments of this application;
[0012] Figure 3 This is a flowchart of the steps of a method for obtaining a first correspondence relationship according to an embodiment of this application;
[0013] Figure 4 This is a schematic diagram of a display compensation device according to an embodiment of this application;
[0014] Figure 5 This is a schematic diagram of an electronic device according to an embodiment of this application. Detailed Implementation
[0015] To enable those skilled in the art to better understand the technical solutions in the embodiments of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art should fall within the protection scope of the embodiments of this application.
[0016] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0017] It should be understood that although the terms first, second, third, etc., may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0018] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. 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. In the absence of conflict, the following embodiments and their technical features can be combined with each other.
[0019] Figure 1 This is a flowchart illustrating the steps of a display compensation method according to an embodiment of this application. Figure 1 As shown, the display compensation method applied to the display panel includes the following steps:
[0020] Step 101: In response to the first instruction, determine the compensated display data based on the original data of the first display area.
[0021] Step 102: Perform display compensation on the first display area based on the compensated display data, so that the difference between the brightness of the compensated first display area and the brightness of the first display area in the first state is less than the first preset difference value.
[0022] The display panel includes a first display area and a second display area. Upon receiving a first command, the brightness of the second display area is increased, making its increased brightness greater than the brightness of the first display area before responding to the first command. Simultaneously, since the display panel does not suffer from low brightness at high brightness levels, the brightness level of the first display area before responding to the first command is lower than a first preset brightness level; at this time, the display data of the first display area is the original data. Due to the increased brightness of the second display area, the screen's display mode changes from PWM dimming to DC dimming. The first display area can no longer use the compensation method of the previous dimming mode, therefore it needs to respond to the first command and obtain compensated display data based on the original data of the first display area. The brightness of the first display area after compensation using the compensated display data is less than the brightness difference of the first display area in the first state, which is less than a first preset difference. It should be noted that in the first state, the brightness level of the second display area is less than the second preset brightness level.
[0023] In this embodiment of the application, by increasing the brightness of the second display area in response to a first instruction, determining the compensated display data based on the original data of the first display area, and then performing display compensation on the first display area using the compensated display data, the brightness difference between the first display area and the second display area before and after brightness adjustment can be made less than a first preset difference value, thereby avoiding screen flicker.
[0024] Figure 2 This is a schematic diagram of a display panel applicable to embodiments of this application, such as... Figure 2As shown, some existing electronic products offer in-display fingerprint unlocking. Therefore, the screen includes a light spot (i.e., the second display area) for fingerprint unlocking. This light spot emits approximately 1200 nits of high brightness during fingerprint unlocking, while the brightness of other parts of the screen (i.e., the first display area) varies according to the product's settings. At the factory, to improve display performance in low-brightness conditions, color coordinates and gamma are adjusted. For example, when the screen displays at a brightness of 2 nits (i.e., in the first state), the brightness of some 32 grayscale pixel units is approximately 0.02 nits. This brightness is too low, resulting in poor display quality. Color coordinate and gamma adjustments are used to compensate for this, reducing the brightness of some 32 grayscale pixel units to approximately 0.03 nits, thus improving the display effect. However, when the fingerprint sensor performs fingerprint unlocking, the screen's display mode changes from PWM dimming to DC dimming. At this time, other parts of the screen need to be suppressed by a certain coefficient, such as 90 nits, to achieve the same brightness as before fingerprint unlocking. It's understandable that because the screen brightness is suppressed by a certain coefficient during fingerprint unlocking, it hasn't undergone color coordinate and gamma adjustments. Therefore, before and after fingerprint unlocking, there will be brightness and color differences in other parts of the screen besides the fingerprint sensor, causing screen flickering. Based on this scenario, the first command is the fingerprint recognition command. The display panel, responding to the first command, enters the fingerprint unlocking state, increasing the brightness of the fingerprint sensor. In the first state, the brightness of the second display area is the brightness before responding to the first command (i.e., entering the fingerprint unlocking state). Specifically, the range of the first preset brightness level can be [11 nit, 20 nits], for example, the first preset brightness level is 11 nit-20 nits, such as 12 nits, 16 nits, 20 nits, etc. As can be seen, the first preset brightness level is relatively low. Therefore, when the brightness level of the first display area is lower than the first preset brightness level (i.e., in the first state), there will be a low-brightness display problem. Consequently, the color coordinate and gamma adjustments described above will be performed, thereby changing the final display level brightness. However, when switching from PWM dimming mode to DC dimming mode, the color coordinate and gamma adjustments cannot be performed in the same way. Therefore, it is necessary to determine the compensated display data based on the original data of the first display area, and then perform display compensation on the first display area based on the compensated display data, so that the difference between the brightness of the compensated first display area and the brightness of the first display area in the first state is less than the first preset difference. Furthermore, the difference between the chromaticity of the compensated first display area and the chromaticity of the first display area in the first state is less than the second preset difference.Ideally, the first preset difference is zero, and the second preset difference is zero. That is, the brightness of the first display area after compensation is the same as the brightness of the first display area in the first state, and the chromaticity of the first display area after compensation is the same as the chromaticity of the first display area in the first state.
[0025] Specifically, the process of determining the compensated display data based on the original compensation data of the first display area may also include:
[0026] The compensated display data is determined based on the first correspondence and the original data of the first display area. The first correspondence includes the correspondence between the original data and the compensated display data or the correspondence between the original data and the compensation value.
[0027] To determine the compensated display data, it can be determined based on the first correspondence and the original data of the first display area. The first correspondence can be the correspondence between the original data and the compensated display data. In this case, the compensated display data can be directly obtained based on the original data. Alternatively, the first correspondence can be the correspondence between the original data and the compensation value. In this case, the compensation value can be obtained based on the original data and the first correspondence. Then, the compensation value is superimposed with the brightness of the first display area when responding to the first command to obtain the compensated display data.
[0028] Specifically, the first display area includes multiple pixels, and the difference between the compensated brightness and the brightness in the first state of these multiple pixels is less than a first preset difference. Furthermore, the difference between the compensated chromaticity and the chromaticity in the first state of these multiple pixels can also be less than the first preset difference. It should be noted that the first preset difference is a pure numerical value; during the comparison, the difference between the compensated brightness and the brightness in the first state of these multiple pixels, or the difference between the compensated chromaticity and the chromaticity in the first state of these multiple pixels, is converted to a pure numerical value.
[0029] Specifically, the display compensation process may also include: in response to the first instruction, increasing the brightness of the second display area to a first preset brightness. Preferably, the range of the first preset brightness is [900 nit, 1300 nit]. For example, the first preset brightness can be 1000 nit, 1100 nit, or 1200 nit. In response to the first instruction, the second display area, i.e. the light spot, will be brightened to the first preset brightness. In order to ensure fingerprint recognition, the brightness of the second display area needs to be high enough. Therefore, the range of the first preset brightness needs to be [900 nit, 1300 nit].
[0030] Figure 3 The flowchart of the method for obtaining the first correspondence is as follows: Figure 3 As shown, the method for obtaining the first correspondence includes the following steps:
[0031] Step 201: Obtain the actual brightness of the first bound point grayscale value at the third brightness level and the second bound point grayscale value at the fourth brightness level for the first display area of the display panel at the third brightness level and the fourth brightness level, respectively.
[0032] Step 202: Take the actual brightness corresponding to the grayscale value of the first binding point in the first display area at the third brightness level as the target brightness.
[0033] Step 203: Adjust the brightness of the second binding point grayscale corresponding to the first display area at the fourth brightness level until the difference between the brightness and the target brightness is less than the first preset difference, and obtain the compensated display data or the compensation value during the adjustment process.
[0034] Step 204: Establish the correspondence between the target brightness and the compensated display data or compensation value.
[0035] Step 205: Adjust the third brightness level and / or the fourth brightness level to obtain the first correspondence.
[0036] To obtain the first correspondence, a third brightness level is first selected. The third brightness level is lower than the first preset brightness level, and the brightness level of the second display area is lower than the second preset brightness level (i.e., the brightness level when not responding to the first command). Preferably, the first brightness level is the same as the second preset brightness level. Generally, EM dimming, i.e. PWM dimming, is used for dimming below the first preset brightness level and below the second preset brightness level. DC dimming is used for dimming below the first preset brightness level, and DC dimming is used above the third preset brightness level. Generally, a display panel has only one dimming mode and only one brightness level, but it can also have multiple dimming modes and multiple brightness levels. Therefore, the actual brightness of the first display area of the display panel at the third brightness level under the first binding point grayscale value is first obtained, and the second binding point grayscale value at the fourth brightness level when the actual brightness is the same is obtained. Preferably, there are multiple third brightness levels. Preferably, the fourth brightness level is greater than or equal to 90 nits. For example, the third brightness level can be 10 nits, 5 nits, 2 nits, etc., and the fourth brightness level can be 90 nits (the brightness level used for pressing in DC dimming mode). Preferably, there are multiple first binding point grayscale values. For example, the first binding point grayscale value can include at least five characteristic grayscale values. For example, the multiple characteristic grayscale values at 10 nits are 0, 32, 48, 115, 255. Correspondingly, in The fourth brightness level, i.e., 90 nits, is compared with the first display area at the third brightness level. The actual brightness of the first display area at the first binding point grayscale value (in PWM dimming mode, the actual brightness at this time is the original brightness plus the compensated brightness corresponding to the first binding point grayscale value at the third brightness level) is 0, 6, 8, 21, 44. Then, the actual brightness of the first display area at the third brightness level is taken as the target brightness. The brightness of the first display area at the fourth brightness level is adjusted to the point where the difference between the first display area and the target brightness is less than the first preset difference. The compensated display data (the original brightness plus the compensated value corresponding to the second binding point grayscale value at the fourth brightness level) or the compensation value during the adjustment process is obtained. The correspondence between the target brightness and the compensated display data or compensation value can be established. Preferably, the fourth brightness level is greater than the third preset brightness level. The third brightness level includes multiple brightness levels (such as 10 nit, 5 nit, 2 nit), and the fourth brightness level also includes multiple brightness levels (such as 90 nit, 100 nit). Each establishment process uses one third brightness level and one fourth brightness level. The establishment process is repeated multiple times. In each establishment process, the third brightness level and / or the fourth brightness level are adjusted. By using interpolation and the correspondence between the target brightness and the compensated display data or compensation value under multiple third brightness levels, the first correspondence can be obtained.
[0037] Specifically, when establishing the correspondence between the target brightness and the compensated display data or compensation value, interpolation methods, such as the direct method, Lagrange interpolation method, or Newton interpolation method, can be used to establish the correspondence.
[0038] Preferably, in the process of adjusting the brightness of the second bound point grayscale corresponding to the first display area at the fourth brightness level to a value less than the target brightness, the brightness of each pixel in the first display area can be adjusted separately so that the brightness of each pixel at the second bound point grayscale corresponding to the fourth brightness level is adjusted to a value less than the target brightness.
[0039] During the adjustment process, the chromaticity value of each pixel at the second binding point grayscale under the fourth brightness level can be adjusted so that the chromaticity difference between the pixel and the chromaticity value of each pixel at the first binding point grayscale under the third brightness level is less than the second preset difference.
[0040] Specifically, the raw data is pixel voltage data, the displayed data is voltage data, the target brightness is determined based on the pixel voltage data, and the compensation value is the voltage compensation value.
[0041] Pixel voltage data includes the display voltages corresponding to the three primary colors of light. The compensation value is the adjustment value (offset) for adjusting the display voltages corresponding to the three primary colors of light, i.e., the bias voltage. When compensating the first display area, the bias voltages of the display voltages corresponding to the three primary colors of light can be obtained through the first correspondence, and the original data used for display by the pixels included in the first display area can be directly compensated.
[0042] It should be noted that the brightness difference can be adjusted by adjusting the display voltage of green light (G) in the three primary colors of light, and the chromaticity difference can be adjusted by adjusting the display voltage of red light (R) and blue light (B) in the three primary colors of light.
[0043] Figure 4 This is a schematic diagram of a display compensation device according to an embodiment of this application, as shown below. Figure 4 As shown. The display compensation device 400 includes: a determination module 401 and a compensation module 402.
[0044] The determining module 401 is used to determine the compensated display data based on the original data of the first display area in response to the first instruction. The first instruction includes increasing the brightness of the second display area, and the increased brightness of the second display area is greater than the brightness of the first display area before responding to the first instruction. The brightness level of the first display area before responding to the first instruction is less than the first preset brightness level.
[0045] The compensation module 402 is used to perform display compensation on the first display area according to the compensated display data, so that the difference between the brightness of the compensated first display area and the brightness of the first display area in the first state is less than a first preset difference value, wherein the brightness level of the second display area in the first state is less than a second preset brightness level, and the display data of the first display area is the original data.
[0046] The display panel includes a first display area and a second display area. Upon receiving a first command, the brightness of the second display area is increased, making its increased brightness greater than the brightness of the first display area before responding to the first command. Simultaneously, since the display panel does not suffer from low brightness at high brightness levels, the brightness level of the first display area before responding to the first command is lower than a first preset brightness level; at this time, the display data of the first display area is the original data. Due to the increased brightness of the second display area, the screen's display mode changes from PWM dimming to DC dimming. The first display area can no longer use the compensation method of the previous dimming mode, therefore it needs to respond to the first command and obtain compensated display data based on the original data of the first display area. The brightness of the first display area after compensation using the compensated display data is less than the brightness difference of the first display area in the first state, which is less than a first preset difference. It should be noted that in the first state, the brightness level of the second display area is less than the second preset brightness level.
[0047] In this embodiment of the application, by increasing the brightness of the second display area in response to a first instruction, determining the compensated display data based on the original data of the first display area, and then performing display compensation on the first display area using the compensated display data, the brightness difference between the first display area and the second display area before and after brightness adjustment can be made less than a first preset difference value, thereby avoiding screen flicker.
[0048] In this embodiment, an electronic device 500 is provided, such as... Figure 5 As shown, the electronic device 500 may include: a processor 501, a communications interface 502, a memory 503, and a communications bus 504. Wherein:
[0049] The processor 501, communication interface 502, and memory 503 communicate with each other through the communication bus 504.
[0050] Communication interface 502 is used for communication with other electronic devices or servers.
[0051] The processor 501 is used to execute program 505, which can specifically execute the relevant steps in the aforementioned display compensation method embodiment.
[0052] Specifically, program 505 may include program code that includes computer operation instructions.
[0053] Processor 501 may be a CPU, an Application Specific Integrated Circuit (ASIC), or configured as one or more integrated circuits. A smart device may include one or more processors, which can be of the same type, such as one or more CPUs; or they may be of different types, such as one or more CPUs and one or more ASICs.
[0054] Memory 503 is used to store program 505. Memory 503 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0055] Specifically, program 505 can be used to cause processor 501 to execute the display compensation method in the foregoing embodiments.
[0056] The specific implementation of each step in program 505 can be found in the corresponding steps and units described in the foregoing display compensation method embodiments, and will not be repeated here. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the devices and modules described above can be referred to the corresponding process descriptions in the foregoing method embodiments, and will not be repeated here.
[0057] The electronic device 500 of this application embodiment, by increasing the brightness of the second display area in response to a first instruction, determines the compensated display data based on the original data of the first display area, and then performs display compensation on the first display area using the compensated display data, can make the brightness difference between the first display area and the second display area before and after brightness adjustment less than a first preset difference value, thereby avoiding screen flicker.
[0058] In this embodiment, a computer-readable storage medium is provided, storing instructions for causing a machine to perform the display compensation method as described herein. Specifically, a system or apparatus equipped with a storage medium storing software program code that implements the functions of any of the embodiments described above, and enabling the computer (or CPU or MPU) of the system or apparatus to read and execute the program code stored in the storage medium.
[0059] In this case, the program code read from the storage medium can itself implement the functions described in the above method embodiments, so the program code and the storage medium storing the program code constitute a part of this application.
[0060] Examples of storage media used to provide program code include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), magnetic tapes, non-volatile memory cards, and ROMs. Alternatively, program code can be downloaded from a server computer via a communication network.
[0061] In this embodiment, a computer program product is provided, including computer instructions that instruct a computing device to perform the operations corresponding to the above-described method embodiments.
[0062] It should be noted that, depending on the implementation needs, the various components / steps described in the embodiments of this application can be broken down into more components / steps, or two or more components / steps or parts of the operation of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of this application.
[0063] The methods described above according to embodiments of this application can be implemented in hardware, firmware, or implemented as software or computer code that can be stored in a recording medium (such as CD ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or implemented as computer code originally stored in a remote recording medium or a non-transitory machine-readable medium and to be stored in a local recording medium after being downloaded via a network. Thus, the methods described herein can be processed by software stored on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware (such as an ASIC or FPGA). It is understood that the computer, processor, microprocessor controller, or programmable hardware includes storage components (e.g., RAM, ROM, flash memory, etc.) capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods described herein. Furthermore, when a general-purpose computer accesses code used to implement the methods shown herein, the execution of the code transforms the general-purpose computer into a dedicated computer for performing the methods shown herein. Although this application has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art based on a reading and understanding of this specification and the accompanying drawings. This application includes all such modifications and variations and is limited only by the scope of the appended claims. In particular, with respect to the various functions performed by the aforementioned components, the terminology used to describe such components is intended to correspond to any component (unless otherwise indicated) that performs the specified function of said component (e.g., is functionally equivalent to it), even if it is not structurally equivalent to the disclosed structure that performs the functions in the exemplary implementations of this specification shown herein.
[0064] That is, the above description is only an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural changes made using the content of this application’s specification and drawings, such as the combination of technical features between different embodiments, or direct or indirect application in other related technical fields, are similarly included within the patent protection scope of this application.
[0065] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined as "first" or "second" may explicitly or implicitly include one or more features. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0066] The above description is provided to enable any person skilled in the art to implement and use this application. Various details are set forth in the above description for purposes of explanation. It should be understood that those skilled in the art will recognize that this application can be implemented without using these specific details. In other embodiments, well-known processes will not be described in detail to avoid obscuring the description of this application with unnecessary detail. Therefore, this application is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed herein.
[0067] It should be noted that, without conflict, the various embodiments and / or technical features described in this application can be arbitrarily combined with each other, and the resulting technical solutions should also fall within the protection scope of this application.
[0068] It should be understood that the specific examples in the embodiments of this application are only for the purpose of helping those skilled in the art to better understand the embodiments of this application, and are not intended to limit the scope of the embodiments of this application. Those skilled in the art can make various improvements and modifications based on the above embodiments, and all such improvements or modifications fall within the protection scope of this application. The above descriptions are merely specific implementations of this application, but the protection scope of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the protection scope of this application. Therefore, the protection scope of this application should be determined by the protection scope of the claims.
Claims
1. A display compensation method, characterized in that, Applied to a display panel, the display panel including a first display area and a second display area, including: In response to a first instruction, a first correspondence is obtained corresponding to the brightness mapping relationship established when the display panel is at the third and fourth brightness levels. Based on the first correspondence and the original data of the first display area, the compensated display data is determined. The first instruction includes increasing the brightness of the second display area. The increase in the brightness of the second display area switches the display mode of the display panel from PWM dimming mode to DC dimming mode. The increased brightness of the second display area is greater than the brightness of the first display area before responding to the first instruction. The brightness level of the first display area before responding to the first instruction is less than a first preset brightness level. Below the first preset brightness level, the display panel uses the PWM dimming method for dimming. The third brightness level is less than the first preset brightness level, and the fourth brightness level is greater than or equal to 90 nits. The display voltage of the green light corresponding to each pixel in the first display area is compensated according to the compensated display data, so that the brightness difference between the compensated first display area and the first display area in the first state is less than or equal to a first preset difference. The display voltage of the red and blue light corresponding to each pixel in the first display area is compensated, so that the chromaticity difference between the compensated first display area and the first display area in the first state is less than or equal to a second preset difference. In the first state, the brightness level of the second display area is less than the second preset brightness level. The display data of the first display area is the original data. The first state is used to indicate that the brightness level of the first display area is less than the first preset brightness level by 11 nits-20 nits. The brightness and chromaticity of the compensated first display area are the same as those of the first display area in the first state.
2. The method according to claim 1, characterized in that, The first instruction is a fingerprint recognition instruction.
3. The method according to claim 1, characterized in that, The first preset difference is zero.
4. The method according to claim 1, characterized in that, The second preset difference is zero.
5. The method according to claim 1, characterized in that, The first display area includes multiple pixels, and the difference between the brightness of the multiple pixels after compensation and the brightness in the first state is less than or equal to a first preset difference.
6. The method according to claim 5, characterized in that, The difference between the chromaticity of the multiple pixels after compensation and the chromaticity in the first state is less than or equal to the second preset difference value.
7. The method according to claim 1, characterized in that, The method further includes: In response to the first instruction, the brightness of the second display area is increased to a first preset brightness.
8. The method according to claim 7, characterized in that, The first preset brightness is 900 nits-1300 nits.
9. The method according to claim 1, characterized in that, The method for obtaining the first correspondence includes: The actual brightness of the first bound point grayscale value of the first bound point grayscale value at the third brightness level and the fourth brightness level of the first display area of the display panel are respectively obtained, and the second bound point grayscale value at the fourth brightness level corresponds to the actual brightness of the first bound point grayscale value at the third brightness level. The actual brightness corresponding to the grayscale value of the first binding point in the first display area at the third brightness level is taken as the target brightness. Adjust the brightness of the second binding point grayscale corresponding to the first display area at the fourth brightness level to a value less than or equal to the target brightness, and obtain the compensated display data or the compensation value during the adjustment process. Establish a correspondence between the target brightness and the compensated display data or the compensation value; Adjust the third brightness level and / or the fourth brightness level to obtain the first correspondence.
10. The method according to claim 9, characterized in that, The fourth brightness level is greater than the third preset brightness level.
11. The method according to claim 9, characterized in that, The number of gray levels of the first binding point is multiple.
12. The method according to claim 9, characterized in that, The third brightness level is multiple, and correspondingly, obtaining the first correspondence includes: The first correspondence is obtained by using interpolation and the correspondence between the target brightness and the compensated display data or the compensation value under multiple third brightness levels.
13. The method according to claim 9, characterized in that, The first preset brightness level is the same as the second preset brightness level.
14. The method according to claim 9, characterized in that, Establishing the correspondence between the target brightness and the compensated display data or the compensation value includes: An interpolation method is used to establish the correspondence between the target brightness and the compensated display data or the compensation value.
15. The method according to claim 14, characterized in that, The step of adjusting the brightness of the second grayscale corresponding to the second binding point in the first display area at the fourth brightness level to a value less than or equal to the target brightness includes: Adjust the brightness of each pixel at the second binding point grayscale under the fourth brightness level so that the difference between it and the target brightness is less than or equal to the first preset difference.
16. The method according to claim 14, characterized in that, The method further includes: adjusting the chromaticity value of each pixel at the second binding point grayscale at the fourth brightness level to a chromaticity difference less than or equal to the chromaticity value of each pixel at the first binding point grayscale at the third brightness level.
17. The method according to claim 14, characterized in that, The original data is pixel voltage data, the display data is voltage data, the target brightness is determined based on the pixel voltage data, and the compensation value is a voltage compensation value.
18. A display compensation device, characterized in that, include: The determining module is configured to respond to a first instruction, acquire a first correspondence relationship corresponding to the brightness mapping relationship established when the display panel is at the third brightness level and the fourth brightness level, and determine the compensated display data based on the first correspondence relationship and the original data of the first display area. The first instruction includes increasing the brightness of the second display area, which switches the display mode of the display panel from PWM dimming mode to DC dimming mode. The increased brightness of the second display area is greater than the brightness of the first display area, the brightness level of the first display area is less than the first preset brightness level, and the display panel uses the PWM dimming method to dim below the first preset brightness level. The third brightness level is less than the first preset brightness level, and the fourth brightness level is greater than or equal to 90 nits. The compensation module is used to compensate the display voltage of the green light corresponding to each pixel in the first display area according to the compensated display data, so that the brightness difference between the compensated first display area and the first display area in the first state is less than or equal to a first preset difference value. It also compensates the display voltage of the red and blue light corresponding to each pixel in the first display area, so that the chromaticity difference between the compensated first display area and the first display area in the first state is less than or equal to a second preset difference value. In the first state, the brightness level of the second display area is less than the second preset brightness level. The display data of the first display area is the original data. The first state indicates that the brightness level of the first display area is less than the first preset brightness level by 11 nits-20 nits. The brightness and chromaticity of the compensated first display area are the same as those of the first display area in the first state.
19. An electronic device, characterized in that, include: The processor, communication interface, memory, and communication bus communicate with each other through the communication bus. The memory is used to store at least one executable instruction that causes the processor to perform the operation corresponding to the method as described in any one of claims 1-17.