Screen brightness compensation method and device, electronic equipment and readable storage medium

By combining the RGB monochrome compensation mode and the white compensation mode, the display driver chip and application processor chip are used to compensate the screen brightness at different stages, solving the problem of unsatisfactory compensation effect in traditional screen brightness, and improving the Mura defect repair effect and the production efficiency of the display panel.

CN120580969APending Publication Date: 2025-09-02GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510814238.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-17
Publication Date
2025-09-02

AI Technical Summary

Technical Problem

In traditional technology, the screen brightness data is collected through industrial cameras and the compensation value is calculated based on the Mura algorithm. The screen brightness compensation effect is not ideal, and the Mura defects in the display panel cannot be effectively repaired.

Method used

The combination of RGB monochrome compensation mode and white compensation mode is adopted to compensate the screen brightness twice by obtaining compensation data in the two modes. The display driver chip and application processor chip are used to compensate before and after the screen assembly to achieve multiple compensation and adapt to various types of Mura defect scenarios.

Benefits of technology

It improves the repair effect of screen Mura defects, takes into account the real-time and accuracy of brightness compensation, adapts to a variety of Mura defect scenarios, and improves the production efficiency and quality of the display panel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120580969A_ABST
    Figure CN120580969A_ABST
Patent Text Reader

Abstract

The invention relates to a screen brightness compensation method and device, electronic equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: acquiring first compensation data corresponding to a first compensation mode; compensating the initial brightness of the screen based on the first compensation data to obtain first brightness; acquiring second compensation data corresponding to the second compensation mode; compensating the first brightness of the screen based on the second compensation data to obtain second brightness; wherein the first compensation mode and the second compensation mode are both one of an RGB monochromatic compensation mode or a white compensation mode; the RGB monochromatic compensation mode is a mode of determining compensation data based on brightness values of pixel points in an RGB monochromatic gray-scale image; the white compensation mode is a mode of determining compensation data based on brightness values of pixel points in a white gray-scale image. By adopting the method, the repairing effect of the Mura defect can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of display panels, and in particular to a screen brightness compensation method, device, electronic device, computer-readable storage medium, and computer program product. Background Art

[0002] With the continuous advancement of information display technology, market demand for display screens such as OLED (Organic Light Emitting Diode) and LCD (Liquid Crystal Display) is also increasing, posing greater production challenges for corresponding panel suppliers. Further optimizing shipment yield has become a top priority. Due to the complex production process of display panels, the occurrence of mura (display unevenness) is unavoidable. Mura defects directly affect the quality and production yield of display panels. Therefore, mura defect repair is an indispensable step in the display panel production process.

[0003] In traditional technology, industrial cameras are used to collect screen brightness data, and compensation values ​​are calculated based on the Mura algorithm. The screen brightness is then compensated based on the compensation values. However, the repair effect on Mura defects is not ideal. Summary of the Invention

[0004] The embodiments of the present application provide a screen brightness compensation method, device, electronic device, and computer-readable storage medium, which can improve the repair effect of Mura defects.

[0005] In a first aspect, the present application provides a screen brightness compensation method, comprising:

[0006] Acquiring first compensation data corresponding to the first compensation mode;

[0007] Compensating the initial brightness of the screen based on the first compensation data to obtain a first brightness;

[0008] Acquiring second compensation data corresponding to the second compensation mode;

[0009] Compensating the first brightness of the screen based on the second compensation data to obtain a second brightness;

[0010] Among them, the first compensation mode and the second compensation mode are both one of the RGB monochrome compensation mode and the white compensation mode; the RGB monochrome compensation mode is a method of determining compensation data based on the brightness value of the pixel point in the RGB monochrome grayscale image; the white compensation mode is a method of determining compensation data based on the brightness value of the pixel point in the white grayscale image.

[0011] In a second aspect, the present application further provides a screen brightness compensation device, comprising:

[0012] A first acquisition module, configured to acquire first compensation data corresponding to a first compensation mode;

[0013] a first compensation module, configured to compensate the initial brightness of the screen based on the first compensation data to obtain a first brightness;

[0014] A second acquisition module, configured to acquire second compensation data corresponding to a second compensation mode;

[0015] A second compensation module is configured to compensate the first brightness of the screen based on the second compensation data to obtain a second brightness; wherein the first compensation mode and the second compensation mode are both one of an RGB monochrome compensation mode and a white compensation mode; the RGB monochrome compensation mode is a method of determining compensation data based on the brightness value of a pixel point in an RGB monochrome grayscale image; and the white compensation mode is a method of determining compensation data based on the brightness value of a pixel point in a white grayscale image.

[0016] In a third aspect, the present application further provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the screen brightness compensation method provided in the first aspect are implemented.

[0017] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the screen brightness compensation method provided in the first aspect.

[0018] In a fifth aspect, the present application also provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the screen brightness compensation method provided in the first aspect.

[0019] The above-mentioned screen brightness compensation method, device, electronic device, computer-readable storage medium and computer program product obtain first compensation data corresponding to the first compensation mode, compensate the initial brightness of the screen based on the first compensation data to obtain the first brightness, obtain second compensation data corresponding to the second compensation mode, compensate the first brightness of the screen based on the second compensation data to obtain the second brightness. Since the first compensation mode and the second compensation mode are both one of the RGB monochrome compensation mode or the white compensation mode, it is possible to achieve two compensations for one of the RGB monochrome compensation mode or the white compensation mode or two compensations for both modes, and both can achieve multiple compensations for the screen brightness. Moreover, compensation can be performed in combination with the RGB monochrome compensation mode and the white compensation mode, and can adapt to various types of Mura defect scenarios, taking into account the advantages of multiple Mura compensation, thereby improving the repair effect of the screen Mura defects. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments of the present application or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying any creative work.

[0021] Figure 1 is a flowchart of a screen brightness compensation method in some embodiments;

[0022] Figure 2 A schematic diagram of a process for obtaining first compensation data corresponding to an RGB single-color compensation mode in some embodiments;

[0023] Figure 3 A schematic diagram of a process for obtaining first compensation data corresponding to a white compensation mode in some embodiments;

[0024] Figure 4 is a flowchart of a screen brightness compensation method in some other embodiments;

[0025] Figure 5 is a structural block diagram of a screen brightness compensation device in some embodiments;

[0026] Figure 6 1 is a diagram of the internal structure of an electronic device in some embodiments. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0028] The screen brightness compensation method provided in the embodiments of the present application can be applied to electronic devices including screens. The electronic devices may include, but are not limited to, various personal computers, laptops, smartphones, tablet computers, aircraft, drones, IoT devices, and portable wearable devices. IoT devices may include smart speakers, smart TVs, smart air conditioners, smart car devices, and projection devices. Portable wearable devices may include smart watches, smart bracelets, head-mounted devices, and the like. Head-mounted devices may include virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, and the like. It is easy to understand that the electronic device may be a terminal or a server.

[0029] In some exemplary embodiments, Figure 1 As shown, a screen brightness compensation method is provided, including the following steps 102 to 108. In which:

[0030] Step 102: Acquire first compensation data corresponding to a first compensation mode.

[0031] The first compensation mode refers to a compensation mode for screen brightness compensation. The first compensation mode can be an RGB monochrome compensation mode or a white compensation mode. The RGB monochrome compensation mode determines compensation data based on the brightness values ​​of pixels in an RGB (red, green, blue) monochrome grayscale image. Specifically, an RGB monochrome image of each grayscale is displayed on the screen, and a monochrome grayscale image corresponding to the corresponding image is captured using an industrial camera. The first compensation data corresponding to the RGB monochrome compensation mode is determined based on the brightness of the monochrome grayscale image and the target brightness. The white compensation mode determines compensation data based on the brightness values ​​of pixels in a white (white, W) grayscale image. Specifically, a white image of each grayscale is displayed on the screen, and a white grayscale image corresponding to the corresponding white image is captured using an industrial camera. The first compensation data corresponding to the white compensation mode is determined based on the brightness of the white grayscale image and the target brightness. The first compensation data represents screen brightness compensation data in the first compensation mode. The first compensation data is brightness compensation data that compensates for the initial brightness of the screen.

[0032] It's easy to understand that different first compensation modes correspond to different first compensation data. If the first compensation mode is an RGB monochrome compensation mode, the corresponding first compensation data is compensation data determined based on the brightness values ​​of the pixels in the RGB monochrome grayscale image. If the first compensation mode is a white compensation mode, the corresponding first compensation data is compensation data determined based on the brightness values ​​of the pixels in the white grayscale image. In other words, different first compensation modes correspond to different methods of determining the first compensation data.

[0033] In an exemplary embodiment, the first compensation mode can be determined by user selection, thereby obtaining first compensation data corresponding to the first compensation mode. For example, when preparing to perform screen brightness compensation, the electronic device presents multiple candidate compensation modes to the user through a pop-up window or voice prompt. Based on the user selection result, the electronic device determines the first compensation mode from the multiple candidate compensation modes, indicating that the screen brightness is compensated using the first compensation mode, and obtains the first compensation data corresponding to the first compensation mode.

[0034] In an exemplary embodiment, a first compensation mode may be determined based on the type of display unevenness corresponding to the display unevenness phenomenon (Mura) on the electronic device screen. The types of display unevenness corresponding to the display unevenness phenomenon on the electronic device screen include, for example, particle type and color cast type. Different types of display unevenness may be compensated for brightness using different compensation modes.

[0035] In an exemplary embodiment, first compensation data corresponding to the first compensation mode can be obtained based on a display driver chip (Display Driver Integrated Circuit, DDIC) of the screen or an application processor chip (Application Processor Chip, AP) of the electronic device, and the initial brightness of the screen can be compensated based on the first compensation data.

[0036] Step 104 : Compensate the initial brightness of the screen based on the first compensation data to obtain a first brightness.

[0037] The initial brightness represents the original brightness of the screen, i.e., the brightness of the screen before brightness compensation. As can be easily understood, the initial brightness includes the original brightness of each pixel on the screen. The first brightness represents the screen brightness after the initial brightness of the screen is compensated using the first compensation data.

[0038] Exemplarily, for each pixel in the screen, the first compensation data corresponding to the pixel may be added to the initial brightness to obtain the first brightness of the corresponding pixel.

[0039] Step 106: Acquire second compensation data corresponding to the second compensation mode.

[0040] The second compensation mode also refers to a compensation mode for performing screen brightness compensation. The second compensation mode can also be an RGB monochrome compensation mode or a white compensation mode. The second compensation mode can be the same as or different from the first compensation mode. For example, the first compensation mode is an RGB monochrome compensation mode, and the second compensation mode is also an RGB monochrome compensation mode; or, the first compensation mode is a white compensation mode, and the second compensation mode is also a white compensation mode; or, the first compensation mode is an RGB monochrome compensation mode, and the second compensation mode is a white compensation mode; or, the first compensation mode is a white compensation mode, and the second compensation mode is an RGB monochrome compensation mode. The second compensation data is used to represent the screen brightness compensation data in the second compensation mode. The second compensation data is brightness compensation data for compensating for the first brightness of the screen.

[0041] It is easy to understand that the second compensation mode can be determined by referring to the determination method of the first compensation mode. In other words, the second compensation mode can also be determined according to the method selected by the user or the display unevenness type corresponding to the display unevenness phenomenon on the electronic device screen.

[0042] In an exemplary embodiment, the second compensation data corresponding to the second compensation mode can be obtained based on the display driver chip of the screen or the application processor chip of the electronic device, and the first brightness of the screen can be compensated based on the second compensation mode.

[0043] Step 108, compensating the first brightness of the screen based on the second compensation data to obtain a second brightness; wherein the first compensation mode and the second compensation mode are both one of the RGB monochrome compensation mode and the white compensation mode; the RGB monochrome compensation mode is a method of determining compensation data based on the brightness value of the pixel point in the RGB monochrome grayscale image; the white compensation mode is a method of determining compensation data based on the brightness value of the pixel point in the white grayscale image.

[0044] The second brightness represents the screen brightness after compensating the first screen brightness using the second compensation data. For example, for each pixel on the screen, the second compensation data corresponding to the pixel can be added to the first brightness to obtain the second brightness of the corresponding pixel, thereby obtaining the second brightness of each pixel.

[0045] In one exemplary embodiment, before the screen is assembled into a complete device, the display driver IC (DDIC) of the screen can obtain first compensation data corresponding to a first compensation mode. Based on the first compensation data, the initial brightness of the screen is compensated to obtain a first brightness. After the screen is assembled into the complete device, the display driver IC can obtain second compensation data corresponding to a second compensation mode. Based on the second compensation data, the first brightness of the screen is compensated to obtain a second brightness. By compensating the screen brightness based on the DDIC before and after the screen is assembled into the complete device, the real-time performance of brightness compensation can be maximized, improving both the efficiency of brightness compensation and the efficiency of equipment production.

[0046] In another exemplary embodiment, before the screen is assembled into a complete device, the electronic device's application processor (AP) chip can obtain first compensation data corresponding to a first compensation mode. Based on the first compensation data, the initial brightness of the screen is compensated to obtain a first brightness. After the screen is assembled into the complete device, the application processor chip can obtain second compensation data corresponding to a second compensation mode. Based on the second compensation data, the first brightness of the screen is compensated to obtain a second brightness. By compensating the screen brightness based on the AP before and after the screen is assembled into the complete device, the accuracy of the brightness compensation can be maximized, enhancing the brightness compensation effect.

[0047] In another exemplary embodiment, before the screen is assembled into the complete device, the display driver chip of the screen can obtain first compensation data corresponding to a first compensation mode. Based on the first compensation data, the initial brightness of the screen is compensated to obtain a first brightness. After the screen is assembled into the complete device, the application processor chip of the electronic device can obtain second compensation data corresponding to a second compensation mode. Based on the second compensation data, the first brightness of the screen is compensated to obtain a second brightness. By compensating the screen brightness based on the DDIC and the AP before and after the screen is assembled into the complete device, both real-time brightness compensation and brightness compensation effectiveness can be achieved.

[0048] In another exemplary embodiment, before the screen is assembled into a complete device, the application processor chip of the electronic device can obtain first compensation data corresponding to a first compensation mode. Based on the first compensation data, the initial brightness of the screen is compensated to obtain a first brightness. After the screen is assembled into the complete device, the display driver chip of the screen can obtain second compensation data corresponding to a second compensation mode. Based on the second compensation data, the first brightness of the screen is compensated to obtain a second brightness. By compensating the screen brightness based on both the AP and the DDIC before and after the screen is assembled into the complete device, both real-time brightness compensation and brightness compensation effectiveness can be achieved.

[0049] In the above-mentioned screen brightness compensation method, the initial brightness of the screen is compensated by the first compensation data corresponding to the first compensation mode to obtain the first brightness, and the first brightness of the screen is compensated based on the second compensation data corresponding to the second compensation mode to obtain the second brightness. Since the first compensation mode and the second compensation mode are both one of the RGB monochrome compensation mode or the white compensation mode, the screen can be compensated twice in one of the RGB monochrome compensation mode or the white compensation mode, or twice in both modes. Both can achieve multiple compensations for the screen brightness, and can be compensated in combination with the RGB monochrome compensation mode and the white compensation mode. It can adapt to various types of Mura defect scenarios, taking into account the advantages of multiple Mura compensation, thereby improving the repair effect of the screen Mura defects.

[0050] In some embodiments, if the first compensation mode is an RGB single-color compensation mode, step 102 of obtaining first compensation data corresponding to the first compensation mode includes:

[0051] The control screen sequentially displays an RGB monochrome picture of a preset grayscale, and obtains a monochrome grayscale image corresponding to the RGB monochrome picture of the preset grayscale; determines first initial brightness data of the monochrome grayscale image, and determines first compensation data corresponding to the RGB monochrome compensation mode based on the first initial brightness data and the first target brightness data.

[0052] Among them, grayscale refers to the number of gray levels represented by each pixel in the image. In digital image processing, grayscale levels are usually divided into 256 levels, from 0 representing the darkest black to 255 representing the brightest white, and the values ​​between 0 and 255 represent different levels of grayscale values ​​between black and white. Preset grayscale refers to a pre-set grayscale, and there are usually multiple preset grayscales. For example, the preset grayscale is the grayscale corresponding to 16 to 64, or the preset grayscale is the grayscale corresponding to 8 to 200, etc. A monochrome grayscale image refers to an image corresponding to the RGB monochrome screen of the corresponding grayscale. The first brightness may include a first target brightness or a second target brightness. The monochrome grayscale image may be image data in RAW (raw image data) format.

[0053] The screen is controlled to sequentially display RGB monochrome images of preset grayscales, including sequentially displaying the R, G, and B monochrome images for each preset grayscale. For example, if the preset grayscales are 16 and 32, the screen is controlled to sequentially display the R, G, and B monochrome images corresponding to grayscale 16, and the R, G, and B monochrome images corresponding to grayscale 32. The RGB monochrome images displayed on the screen can be captured using a black-and-white industrial camera to obtain a corresponding monochrome grayscale image. The black-and-white camera used for capturing images must meet preset CMOS (Complementary Metal Oxide Semiconductor) sensitivity and pixel defect rate requirements and must be brightness calibrated. The preset CMOS sensitivity and pixel defect rate requirements can be set based on the actual application scenario. As can be readily understood, the better the CMOS sensitivity of the black-and-white camera, the lower the pixel defect rate, and the higher the accuracy of the corresponding captured monochrome grayscale image. The pixel value of each pixel in the monochrome grayscale image can be obtained and used as the brightness value of the corresponding pixel. The brightness values ​​of each pixel form the first initial brightness data of the monochrome grayscale image. That is, the first initial brightness data includes the brightness value of each pixel in the monochrome grayscale image. The first target brightness data is brightness data of the desired brightness. Based on the first initial brightness data and the first target brightness data, the first compensation data corresponding to the RGB monochrome compensation mode can be obtained. In other words, the screen can be compensated from the initial brightness to the first brightness using the first compensation data.

[0054] In one example, a flowchart of obtaining the first compensation data corresponding to the RGB monochrome compensation mode is shown as follows: Figure 2As shown. Obtain the R / G / B subpixel positioning map in the display panel and determine the image coordinates Rx(x,y), Ry(x,y), Gx(x,y), Gy(x,y), Bx(x,y), By(x,y) of each R / G / B subpixel in the subpixel positioning map. The R / G / B subpixel position on the screen is used to describe the geometric arrangement of subpixels on the display panel or the signal control parameters in the drive circuit. A subpixel is the smallest light-emitting unit of a display panel, and a complete pixel is composed of three subpixels: red (R), green (G), and blue (B). For example, Rx represents the physical position of the red subpixel on the display panel or the horizontal component of the drive signal. Ry represents the vertical component of the red subpixel. Taking the standard RGB stripe arrangement as an example, in the pixel in row n and column m (m and n are positive integers), the coordinates of the R subpixel can be expressed as Rx = 3m, Ry = n; the coordinates of the G subpixel can be expressed as Gx = 3m + 1, Gy = n; and the coordinates of the B subpixel can be expressed as Bx = 3m + 2, By = n. It should be noted that the correspondence between the coordinates of each subpixel may vary depending on the arrangement or spacing of the subpixels. The subpixels in the display panel have corresponding subpixel image coordinates in the subpixel location map.

[0055] The display panel of the control screen sequentially displays RGB monochrome images of preset grayscales, such as R16, G16, B16, R32, G32, B32, etc. Among them, R16 represents (16,0,0), that is, the red channel sub-pixel value of the pixel is 16, and the sub-pixel values ​​of the green channel and the blue channel are both 0; G16 represents (0,16,0), that is, the green channel sub-pixel value of the pixel is 16, and the sub-pixel values ​​of the red channel and the blue channel are both 0; B16 represents (0,0,16), that is, the blue channel sub-pixel value of the pixel is 16, and the sub-pixel values ​​of the red channel and the green channel are both 0, and the corresponding meanings of R32, G32, and B32 are similar.

[0056] A monochrome grayscale image corresponding to the preset grayscale RGB monochrome image is captured sequentially by a black and white camera. The brightness value of each RGB sub-pixel is obtained from the monochrome grayscale image. The brightness value of each pixel in the monochrome grayscale image is obtained based on the image coordinates of each RGB sub-pixel in the sub-pixel positioning map. The first initial brightness data of the monochrome grayscale image is obtained based on the brightness values ​​LR0(x,y), LG0(x,y), LB0(x,y), etc. of each pixel in the monochrome grayscale image. The brightness value of each pixel in the monochrome grayscale image is obtained based on the image coordinates of each RGB sub-pixel in the sub-pixel positioning map. The brightness value of the pixel at the target coordinate in the monochrome grayscale image can be determined based on the brightness values ​​of the sub-pixel at the target coordinate in the R monochrome grayscale image, the G monochrome grayscale image, and the B monochrome grayscale image. The sub-pixel at the target coordinate can be any sub-pixel in the sub-pixel positioning map.

[0057] Based on the first initial brightness data and the first target brightness data, first compensation data corresponding to the RGB monochrome compensation mode is obtained. The first target brightness data includes the target brightness value for each pixel of the display panel. The difference between the first initial brightness data and the first target brightness data for the corresponding pixel can be used as the first compensation data corresponding to the pixel, thereby obtaining the first compensation data (i.e., DeMura compensation value) R_offset(x,y), G_offset(x,y), and B_offset(x,y) corresponding to the pixel at each position. The first compensation data corresponding to the pixel at each position can be compressed into a binary file (BIN) in a format compatible with DDIC or AP. In some application scenarios, the compressed binary file can be written to the DDIC's Flash (non-volatile memory) using a fixture.

[0058] In this embodiment, by controlling the screen to sequentially display RGB monochrome images of preset grayscales, and obtaining a monochrome grayscale image corresponding to the corresponding monochrome image, and determining the first compensation data corresponding to the RGB monochrome compensation mode based on the brightness data of the monochrome grayscale image and the target brightness data, the first compensation data corresponding to each pixel in the screen can be accurately obtained, laying a solid foundation for improving the compensation effect of uneven screen display defects.

[0059] In some embodiments, before controlling the screen to sequentially display the RGB monochrome images of the preset grayscale and obtaining the monochrome grayscale image corresponding to the RGB monochrome images of the preset grayscale, the method further includes:

[0060] Light up the screen using the screen fixture and turn off the sub-pixel rendering function.

[0061] Among them, the dot screen jig is a special device or tool used to test and calibrate display panels. The dot screen jig can drive the screen to display a specific image, such as a solid color, grayscale, or checkerboard pattern. The dot screen jig can include a signal generator or a motherboard. In other words, the screen can be lit up by the signal generator or the motherboard. In some application scenarios, the signal generator can simulate host signals (such as MIPI (Mobile Industry Processor Interface), LVDS (Low-Voltage Differential Signaling), eDP (Embedded Display Port) interfaces) to send image data to the screen, such as simulating standardized images such as solid color, grayscale, or checkerboard. The motherboard is the motherboard of the electronic device. Lighting up the screen through the motherboard can simulate real application scenarios.

[0062] Subpixel rendering (SPR) is a technology that uses the R / G / B sub-pixel arrangement characteristics of the display panel to enhance the visual clarity of images. Sub-pixel rendering can achieve higher effective resolution and sharpness than "whole-pixel rendering" by independently controlling the brightness of each sub-pixel. Among them, whole-pixel rendering treats each logical pixel (composed of RGB sub-pixels) as a whole unit, and all sub-pixels are controlled uniformly. For example, when displaying a black pixel, the R, G, and B sub-pixels are directly turned off. Sub-pixel rendering treats each sub-pixel as an independent light-emitting unit, and uses an algorithm to fine-tune the brightness of adjacent sub-pixels. It takes advantage of the human eye's spatial mixing effect of color (such as chromatic adaptation) to visually create smoother edges or smaller details.

[0063] In actual application scenarios, sub-pixel rendering is typically implemented within the integrated circuit (IC) of an electronic device. To implement screen brightness compensation, the screen is illuminated using a touchscreen fixture while the sub-pixel rendering function of the display panel is disabled. The screen is then controlled to sequentially display a preset grayscale RGB monochrome image. A monochrome grayscale image corresponding to the preset grayscale RGB monochrome image is obtained. First initial brightness data for the monochrome grayscale image is then determined. Based on this first initial brightness data and the first target brightness data, first compensation data corresponding to the RGB monochrome compensation mode is determined.

[0064] In this embodiment, in the process of obtaining the first compensation data corresponding to the first compensation mode, after turning off the sub-pixel rendering function of the screen, the screen is controlled to display the RGB monochrome picture of the preset grayscale in sequence, and the monochrome grayscale image corresponding to the RGB monochrome picture of the preset grayscale is obtained. This can avoid the situation where the screen displays an incorrect picture due to the influence of the sub-pixel rendering function, ensure the normal operation of sub-pixel positioning, and improve the accuracy of the RGB monochrome picture display.

[0065] In some embodiments, if the first compensation mode is a white compensation mode, step 102 of obtaining first compensation data corresponding to the first compensation mode includes:

[0066] The control screen sequentially displays a white screen of a preset grayscale, and obtains a white grayscale image corresponding to the white screen of the preset grayscale; determines the second initial brightness data of the white grayscale image, and determines the first compensation data corresponding to the white compensation mode based on the second initial brightness data and the second target brightness data.

[0067] The white image is the image displayed by lighting up the white sub-pixel. The screen can be controlled to sequentially display white images at a preset grayscale, and a white grayscale image corresponding to the white image at the preset grayscale is acquired by a color camera. The second initial brightness data includes the brightness value of each pixel in the white grayscale image. The second target brightness data includes the target brightness value of each pixel in the white grayscale image. The second target brightness data can be the same as or different from the first target brightness data, and can be set according to the actual application scenario.

[0068] For example, the flowchart of obtaining the first compensation data corresponding to the white compensation mode is as follows: Figure 3 As shown. Obtain the R / G / B sub-pixel positioning map in the display panel, and determine the image coordinates Rx(x,y), Ry(x,y), Gx(x,y), Gy(x,y), Bx(x,y), By(x,y) of each R / G / B sub-pixel in the sub-pixel positioning map. This is the same as obtaining the first compensation data corresponding to the RGB monochrome compensation mode. Light up the screen with a dot screen fixture, and control the screen to display white images of preset grayscales, such as W16, W32, etc. in sequence. It is easy to understand that when the R, G, and B components are equal, a white image is displayed, where W16 (16,16,16) represents a white image with a preset grayscale of 16, and W32 (32,32,32) represents a white image with a preset grayscale of 32. Use a color camera to sequentially shoot white images of preset grayscales to obtain corresponding white W grayscale images. The W luminance of each pixel in the white grayscale image is obtained, then converted to R / G / B luminance. Based on the R / G / B luminance, the luminance value of each pixel in the white grayscale image is determined. Based on the luminance values ​​LR0(x,y), LG0(x,y), LB0(x,y), etc. of each pixel in the white grayscale image, the first compensation data R_offset(x,y), G_offset(x,y), and B_offset(x,y) corresponding to the white compensation mode are obtained. The first compensation data corresponding to each pixel at each position can be compressed into a binary file (BIN) in a format compatible with the DDIC or AP. In some application scenarios, the compressed binary file can be written to the DDIC's Flash memory using a fixture.

[0069] In this embodiment, by controlling the screen to sequentially display white images of preset grayscale, determining the second brightness data of the white grayscale image corresponding to the white images of preset grayscale, and determining the second compensation data corresponding to the white compensation mode based on the second brightness data and the target brightness data, the first compensation data corresponding to each pixel in the screen can be accurately obtained, laying a solid foundation for improving the compensation effect of uneven screen display defects.

[0070] In some embodiments, before controlling the screen to sequentially display white images of preset grayscales and obtaining the white grayscale image corresponding to the white images of preset grayscales, the screen is lit by a screen dot fixture and the sub-pixel rendering function is turned off, which can improve the display accuracy of the white images of the corresponding grayscales.

[0071] In some embodiments, the electronic device includes a display driver processor and an application processor; and step 104 of compensating the initial brightness of the screen based on the first compensation data to obtain the first brightness includes:

[0072] Compensating the initial brightness of the screen based on the first compensation data by one of the display driver processor or the application processor to obtain a first brightness;

[0073] The step 108 of compensating the first brightness of the screen based on the second compensation data to obtain the second brightness includes:

[0074] The other one of the display driver processor and the application processor compensates the first brightness of the screen based on the second compensation data to obtain the second brightness.

[0075] The display driver integrated circuit (DDIC) converts digital image signals into electrical signals that the screen can interpret, directly controlling the brightness or color of each pixel through voltage or current. The application processor (AP) runs the device's operating system and applications, serving as the "brain" of the electronic device. The display driver integrated circuit (DDIC) can promptly respond to compensation data for brightness compensation, while the AP supports higher-precision brightness compensation.

[0076] In one exemplary embodiment, the display driver processor can compensate the initial brightness of the screen based on first compensation data to obtain a first brightness, and the application processor can compensate the first brightness of the screen based on second compensation data to obtain a second brightness. This allows for rapid and timely compensation of screen brightness by the display driver processor, while also enabling high-precision compensation of screen brightness by the application processor, thereby achieving both timely and accurate compensation.

[0077] In one exemplary embodiment, the application processor can compensate the initial brightness of the screen based on first compensation data to obtain a first brightness, and the display driver processor can compensate the first brightness of the screen based on second compensation data to obtain a second brightness. This allows for high-precision compensation of screen brightness by the application processor, while rapid and timely compensation by the display driver processor achieves both timely and accurate compensation.

[0078] In this embodiment, the initial brightness of the screen is compensated for by one of the display driver processors or the application processor based on the first compensation data to obtain the first brightness, and the first brightness of the screen is compensated by the other of the display driver processors or the application processor based on the second compensation data to obtain the second brightness, thereby achieving both the timeliness and accuracy of compensation of the screen brightness.

[0079] In some embodiments, the second compensation data includes first sub-compensation data and second sub-compensation data, the first sub-compensation data being greater than the second sub-compensation data; and compensating the first brightness of the screen based on the second compensation data by the application processor to obtain the second brightness, including:

[0080] If the first brightness of the screen is in the first brightness range, the first brightness of the screen is compensated by the first sub-compensation data to obtain the second brightness; if the first brightness of the screen is in the second brightness range, the first brightness of the screen is compensated by the second sub-compensation data to obtain the second brightness; the minimum brightness of the second brightness range is greater than the maximum brightness of the first brightness range.

[0081] The first sub-compensation data and the second sub-compensation data are different second compensation data. The first sub-compensation data is greater than the second sub-compensation data, which means that the first sub-compensation value in the first sub-compensation data corresponding to the same pixel is greater than the second sub-compensation value in the second sub-compensation data.

[0082] In an exemplary embodiment, the second compensation data also includes third sub-compensation data. The third sub-compensation data is smaller than the second sub-compensation data, i.e., the third sub-compensation value in the third sub-compensation data corresponding to the same pixel is smaller than the second sub-compensation value in the second sub-compensation data. If the first brightness of the screen is within the third brightness range, the first brightness of the screen is compensated using the third sub-compensation data to obtain the second brightness. The minimum brightness of the third brightness range is greater than the maximum brightness of the second brightness range. It will be readily understood that the second compensation data may include multiple sub-compensation data, such as two, three, four, or more sub-compensation data. The corresponding execution process can be analogized accordingly.

[0083] It's easy to understand that, generally speaking, the display unevenness compensation (Demura) module of an application processor has stronger compensation capabilities than the display unevenness compensation (Demura) module of a driver display processor. For example, the application processor's Demura module can support 1*1 pixel brightness compensation and has greater storage capacity. Therefore, the application processor's Demura module can support storing multiple binary files of sub-compensation data. Based on the brightness range of the screen's first brightness, the corresponding binary file can be selected to perform brightness compensation on the screen's first brightness. For example, if the screen's first brightness is detected to be in the first brightness range (100 nits to 200 nits), compensation is performed using binary file 1 corresponding to the first sub-compensation data to obtain the second brightness. If the screen's first brightness is detected to be in the second brightness range (0 nits to 100 nits), compensation is performed using binary file 2 corresponding to the second sub-compensation data to obtain the second brightness.

[0084] In this embodiment, during the process of compensating the first brightness of the screen based on the second compensation data through the application processor, the corresponding sub-compensation data can be determined based on the brightness range in which the first brightness is located to compensate for the first brightness of the screen and obtain the second brightness. This can achieve fine compensation of multiple brightness segments, match more brightness compensation scenarios, and improve the application scenario range of brightness compensation.

[0085] In some embodiments, obtaining second compensation data corresponding to the second compensation mode includes:

[0086] According to the identification on the screen, the second compensation data corresponding to the second compensation mode is downloaded from the server; or the second compensation data corresponding to the second compensation mode is acquired from the memory.

[0087] The server stores the correspondence between the screen identifier and the second compensation data, and the second compensation data corresponding to the screen identifier can be downloaded from the server according to the screen identifier. The memory can be a memory located on the electronic device or a memory not belonging to the electronic device, such as a USB flash drive.

[0088] For example, after obtaining the second compensation data corresponding to the second compensation mode, the second compensation data can be bound to the screen identifier and uploaded to the server for storage. When the electronic device triggers screen brightness compensation based on the second compensation data, for example, after compensating the initial brightness of the screen based on the first compensation data to obtain the first brightness, or after assembling the screen into the whole device, the electronic device can send a compensation data acquisition request to the server. The compensation data acquisition request can include the screen identifier. After receiving the compensation data acquisition request sent by the electronic device, the server searches for the second compensation data corresponding to the received screen identifier from the corresponding relationship between the screen identifier and the second compensation data based on the screen identifier in the compensation data acquisition request, and sends the found second compensation data to the electronic device, so that the electronic device obtains the second compensation data corresponding to the second compensation mode.

[0089] In an exemplary embodiment, the second compensation data stored in the memory can be transmitted via a USB (Universal Serial Bus) or sent to a display driver chip (DDIC) or an application processor (AP) of an electronic device via a Wi-Fi or cellular network, so that the first brightness of the screen is compensated based on the second compensation data by a DeMura module in the display driver chip or the application processor to obtain a second brightness.

[0090] In one exemplary embodiment, after obtaining the second compensation data, the second compensation data is uploaded to a server for storage and simultaneously stored in a memory. When screen brightness compensation based on the second compensation data is triggered, the current network status is identified. If the current network status is good, the second compensation data corresponding to the second compensation mode is downloaded from the server based on the screen identification. If the current network status is poor, the second compensation data corresponding to the second compensation mode is retrieved from the memory. This improves both the convenience and stability of obtaining the second compensation data.

[0091] In this embodiment, by downloading the second compensation data corresponding to the second compensation mode from a server based on the screen identifier, the second compensation data can be downloaded in real time via the network when compensation is needed, without geographical or time restrictions, thereby improving the convenience and efficiency of obtaining the second compensation data. By obtaining the second compensation data corresponding to the second compensation mode from a memory, the second compensation data corresponding to the second compensation mode can be accurately obtained even in poor network communication conditions, thereby improving the stability and robustness of second compensation data acquisition.

[0092] In some embodiments, the above method further comprises:

[0093] When the display unevenness type of the screen is a grainy type, the target compensation mode is determined to be an RGB single-color compensation mode; the target compensation mode includes a first compensation mode or a second compensation mode.

[0094] Mura refers to the phenomenon of uneven local brightness or color on the screen display. Mura can manifest as cloud-like, streaky, or spot-like display anomalies. Types of mura can include brightness unevenness, color unevenness, and dot / line unevenness. Brightness unevenness manifests as localized brightness or darkness on the screen, such as "clouds" or "gradient shadows." Chromatic unevenness manifests as localized color shifts, such as yellowing, reddishness, or greenish tints. Dot / line unevenness manifests as tiny bright spots, dark spots, or thin lines. Dot / line unevenness can also include granularity, which can manifest as subtle unevenness resembling "grains of sand" or "frosted glass."

[0095] Examples of particle types include Sandy Mura (sand-like display unevenness) and high-frequency Mura. Sandy Mura visually appears as "gritty" or "foggy," with Sandy Mura tending towards more subtle granular unevenness. High-frequency Mura refers to rapid fluctuations in brightness / chromaticity within a small area (such as at the pixel or sub-pixel level). The RGB monochrome compensation mode determines compensation data based on the brightness values ​​of pixels in an RGB monochrome grayscale image. By accurately capturing microscopic brightness data and dynamically adjusting the drive, it can directly target the root causes of high-frequency Mura (such as inter-pixel fluctuations). When the display unevenness type is granular, compensating for screen brightness through the RGB monochrome compensation mode can better correct the display unevenness and enhance the repair effect of uneven display defects.

[0096] In some embodiments, the above method further comprises:

[0097] In a case where the display unevenness type of the screen is a color cast type, the target compensation mode is determined to be a white compensation mode; the target compensation mode includes a first compensation mode or a second compensation mode.

[0098] Color cast is a type of chromatic unevenness. It manifests as a localized color shift, such as yellowing, reddishness, or greenish tints. If the screen's display unevenness is color cast, using the white compensation mode to compensate for the screen's brightness can better correct the uneven display and improve the repair effect.

[0099] In an exemplary embodiment, if the display unevenness type of the screen is a grainy type, the first compensation mode is determined to be an RGB single-color compensation mode, first compensation data corresponding to the RGB single-color compensation mode is obtained, and the initial brightness of the screen is compensated based on the first compensation data to obtain a first brightness. If the display unevenness type corresponding to the first brightness displayed by the screen is still a grainy type, the second compensation mode is determined to be an RGB single-color compensation mode, second compensation data corresponding to the RGB single-color compensation mode is obtained, and the first brightness of the screen is compensated based on the second compensation data to obtain a second brightness.

[0100] In one exemplary embodiment, if the display unevenness type of the screen is a grainy type, the first compensation mode is determined to be an RGB single-color compensation mode, first compensation data corresponding to the RGB single-color compensation mode is obtained, and the initial brightness of the screen is compensated based on the first compensation data to obtain a first brightness. If the display unevenness type corresponding to the first brightness displayed by the screen is a color cast type, the second compensation mode is determined to be a white compensation mode, second compensation data corresponding to the white compensation mode is obtained, and the first brightness of the screen is compensated based on the second compensation data to obtain a second brightness.

[0101] In one exemplary embodiment, if the display unevenness type of the screen is a color cast type, the first compensation mode is determined to be a white compensation mode, first compensation data corresponding to the white compensation mode is obtained, and the initial brightness of the screen is compensated based on the first compensation data to obtain a first brightness. If the display unevenness type corresponding to the first brightness displayed by the screen is still a color cast type, the second compensation mode is determined to be a white compensation mode, second compensation data corresponding to the white compensation mode is obtained, and the first brightness of the screen is compensated based on the second compensation data to obtain a second brightness.

[0102] In an exemplary embodiment, if the display unevenness type of the screen is color cast, the first compensation mode is determined to be the white compensation mode, first compensation data corresponding to the white compensation mode is obtained, and the initial brightness of the screen is compensated based on the first compensation data to obtain a first brightness. If the display unevenness type corresponding to the first brightness displayed by the screen is grainy, the second compensation mode is determined to be the RGB single-color compensation mode, second compensation data corresponding to the RGB single-color compensation mode is obtained, and the first brightness of the screen is compensated based on the second compensation data to obtain a second brightness.

[0103] In actual application scenarios, the electronic device can determine whether the first compensation mode is the RGB monochrome compensation mode or the white compensation mode based on the type of display unevenness present when the screen displays the initial brightness, obtain first compensation data corresponding to the first compensation mode, and compensate the initial brightness of the screen based on the first compensation data to obtain the first brightness. Based on the type of display unevenness present when the screen displays the first brightness, the electronic device can determine a second compensation mode, obtain second compensation data corresponding to the second compensation mode, and compensate the first brightness of the screen based on the second compensation data to obtain the second brightness.

[0104] In this embodiment, when the display unevenness type of the screen is a particle type, the first compensation mode or the second compensation mode is determined to be an RGB monochrome compensation mode; when the display unevenness type of the screen is a color cast type, the first compensation mode or the second compensation mode is determined to be a white compensation mode. This enables matching repair of the corresponding types of display unevenness, thereby better improving the display unevenness repair effect.

[0105] In some embodiments, step 102 of obtaining first compensation data corresponding to the first compensation mode includes:

[0106] Before assembling the screen into the whole machine, obtaining first compensation data corresponding to the first compensation mode;

[0107] Step 106 of obtaining second compensation data corresponding to the second compensation mode includes:

[0108] After the screen is assembled into the entire device, second compensation data corresponding to the second compensation mode is obtained.

[0109] In actual electronic equipment production application scenarios, after the production of a component is completed, the component will usually be subjected to functional calibration and quality inspection. After each component meets the corresponding qualified rate requirements, the components are assembled into a complete machine. After being assembled into a complete machine, the complete machine is subjected to parameter calibration and quality inspection. The screen in this embodiment can be regarded as a component in an electronic device. Before the screen is assembled into the complete machine, the quality of the screen needs to be calibrated and inspected separately, especially the display effect of the screen needs to be paid special attention. Therefore, before the screen is assembled into the complete machine, a first compensation mode can be determined according to the type of uneven display on the screen, and the first compensation data corresponding to the first compensation mode is obtained to compensate for the initial brightness of the screen to obtain the first brightness. After the screen is assembled into the complete machine, the screen display situation may change. A second compensation mode is determined according to the type of uneven display on the screen, and the second compensation data corresponding to the second compensation mode is obtained to compensate for the brightness of the screen to obtain the second brightness.

[0110] In an exemplary embodiment, before the screen is assembled into the complete machine, the screen is the only component. The display driver chip determines a first compensation mode based on the type of uneven display of the screen, and obtains first compensation data corresponding to the first compensation mode to compensate for the initial brightness of the screen, thereby obtaining a first brightness. In other words, after compensation using the first compensation mode, the brightness displayed on the screen changes from the initial brightness to the first brightness. After the screen is assembled into the complete machine, the application processor chip can determine a second compensation mode based on the type of uneven display of the screen, and obtain second compensation data corresponding to the second compensation mode to compensate for the first brightness of the screen, thereby obtaining a second brightness. In other words, after compensation using the second compensation mode, the brightness displayed on the screen changes from the first brightness to the second brightness.

[0111] In this embodiment, before the screen is assembled to the whole machine, the first compensation data corresponding to the first compensation mode is obtained to compensate for the initial brightness of the screen to obtain the first brightness. After the screen is assembled to the whole machine, the second compensation data corresponding to the second compensation mode is obtained to compensate for the first brightness of the screen to obtain the second brightness. That is, the brightness compensation of the corresponding compensation mode is performed before and after the screen is assembled to the whole machine, respectively. This can achieve compensation for the screen at different production stages, further improving the effect of repairing uneven display of the screen in the whole device.

[0112] In some practical applications, display unevenness (Mura) is unavoidable due to the complex production process of display panels. However, Mura directly impacts the quality and production yield of display panels, making mura repair an essential step in the production process. Display unevenness repair (DeMura) solutions are designed to eliminate display unevenness (Mura). DeMura solutions are primarily used by display panel manufacturers. Typically, brightness compensation data is stored in the flash memory of the display driver integrated circuit (DDIC) for integrated back-end use in the industry, known as DDIC DeMura. The DeMura solution used by some manufacturers involves capturing an OLED display using a monochrome or color industrial camera to obtain a corresponding display image. Luminance data for the RGB pixels in the display image is extracted, converted into compensation data using a DeMura algorithm, and then written to the DDIC's flash memory for use by the DDIC's DeMura module. However, mura repair achieved solely through DDIC DeMura remains poor. Furthermore, DDIC DeMura is limited by the capacity of Flash and SRAM (Static Random Access Memory), resulting in a limited amount of compensation data storage. This makes it unable to cover compensation for multiple brightness ranges and cannot accommodate diverse user scenarios. Furthermore, DDIC DeMura only supports either monochrome or color industrial cameras. While monochrome cameras are better at compensating high-frequency mura, color cameras are better at compensating color shift mura. DDIC DeMura cannot accommodate multiple types of mura defects.

[0113] In view of the above-mentioned problem of DDIC DeMura, the embodiment of the present application provides a screen brightness compensation method, such as Figure 4 As shown, a new DeMura module, called AP DeMura, can be introduced into the application processor chip (AP) within the entire display panel. This allows for the combined use of monochrome and color industrial cameras, as well as DDIC DeMura and AP DeMura, to address the aforementioned DDIC DeMura issues and improve the effectiveness of screen mura repair. The screen brightness compensation process is as follows:

[0114] (a1) Before assembling the screen into the complete machine, select a camera solution (determine the first compensation mode). Determining the first compensation mode means deciding whether to use the compensation method corresponding to a black and white industrial camera or a color industrial camera. The compensation method corresponding to a black and white industrial camera is the RGB monochrome compensation mode, and the compensation method corresponding to a color industrial camera is the white compensation mode. If the display unevenness type of the screen is Sandy Mura or high-frequency Mura, select the compensation method corresponding to the black and white industrial camera; if the display unevenness type of the screen is color shift Mura, select the compensation method corresponding to the color industrial camera. After obtaining the compensation data corresponding to the black and white industrial camera or the color industrial camera in this step, the compensation data can be written to the Flash of the DDIC through the fixture.

[0115] The process of obtaining corresponding compensation data using a black and white industrial camera or a color industrial camera is described in detail later.

[0116] (a2) Obtaining first compensation data corresponding to the determined first compensation mode, and compensating the initial brightness of the screen based on the first compensation data by DDIC to obtain a first brightness, that is, enabling the DDIC DeMura function to take effect and start the first DeMura compensation.

[0117] (a3) Select a camera solution (determine the second compensation mode). The method for determining the second compensation mode can be found in the method for determining the first compensation mode described above. It should be noted that the process for obtaining corresponding compensation data from the industrial camera is based on the screen assembled into the complete device. After obtaining the compensation data corresponding to the monochrome or color industrial camera in this step, the compensation data can be uploaded to the server.

[0118] (a4) After the screen is assembled into the device, the electronic device can download the second compensation data corresponding to the determined second compensation mode from the server, and use the AP to compensate the first brightness of the screen based on the second compensation data to obtain a second brightness. This enables the AP DeMura function to take effect, and initiates the second DeMura compensation.

[0119] The process of obtaining corresponding compensation data through black and white industrial cameras and color industrial cameras is as follows:

[0120] (b1) Acquisition process for black and white industrial cameras

[0121] (b11) Use a signal generator or a dot-screen fixture to illuminate the display panel and disable the sub-pixel rendering (SPR) function. Control the display panel to display the R / G / B alignment image. Use a black-and-white industrial camera to capture the R / G / B alignment image and obtain an R / G / B sub-pixel alignment map. Based on the R / G / B sub-pixel alignment map, calculate the coordinates of each R / G / B sub-pixel: Rx(x,y), Ry(x,y), Gx(x,y), Gy(x,y), Bx(x,y), By(x,y).

[0122] (b12) The display panel of the control screen sequentially displays the RGB monochrome images of the preset grayscales R16, G16, B16, R32, G32, B32, etc. The R / G / B monochrome grayscale images corresponding to the RGB monochrome images of the preset grayscales are obtained by a black and white industrial camera.

[0123] (b13) Calculate the brightness value LR0(x,y), LG0(x,y), LB0(x,y), etc. of each pixel in the R / G / B monochrome grayscale image. Based on the brightness value of each pixel, the first initial brightness data LR16, LG16, LB16, LR32, LG32, LB32, etc. of the R / G / B monochrome grayscale image can be obtained.

[0124] (b14) Determine the first compensation data (R_offset_16, Goffset_16, B_offset_16, R_offset_32, Goffset_32, B_offset_32), and other corresponding data for the black-and-white industrial camera (i.e., RGB monochrome compensation mode) based on the first initial brightness data and the first target brightness data. Compress the first compensation data according to the format required by DDIC DeMura or AP DeMura to obtain a corresponding binary file (BIN).

[0125] (b2) Color industrial camera corresponding acquisition process

[0126] (b21) Use a signal generator or a dot-screen fixture to illuminate the display panel and disable the sub-pixel rendering (SPR) function. Control the display panel to display the R / G / B alignment image. Use a color industrial camera to capture the R / G / B alignment image and obtain an R / G / B sub-pixel alignment map. Based on the R / G / B sub-pixel alignment map, calculate the coordinates of each R / G / B sub-pixel: Rx(x,y), Ry(x,y), Gx(x,y), Gy(x,y), Bx(x,y), By(x,y).

[0127] (b22) The display panel of the control screen sequentially displays W white images W16, W32, etc. of the preset grayscale. A white grayscale image corresponding to the W white image of the preset grayscale is obtained by a color industrial camera.

[0128] (b23) Obtain the W brightness value of each pixel in the white grayscale image, convert the W brightness value into an R / G / B brightness value, thereby obtaining the R / G / B brightness value LR0(x,y), LG0(x,y), LB0(x,y), etc. of each pixel, and obtain the first initial brightness data LR16, LG16, LB16, LR32, LG32, LB32, etc. of the R / G / B monochrome grayscale image according to the R / G / B brightness value of each pixel.

[0129] (b24) Determine the second compensation data (R_offset_16, Goffset_16, B_offset_16, R_offset_32, Goffset_32, B_offset_32), etc., corresponding to the color industrial camera (i.e., white compensation mode) based on the first initial brightness data and the first target brightness data. Compress the first compensation data according to the format required by DDIC DeMura or AP DeMura to obtain a corresponding binary file (BIN).

[0130] In the above embodiment, the design of DDIC DeMura and AP DeMura can combine the compensation advantages of black and white industrial cameras and color industrial cameras, taking into account multiple types of mura defects and achieving repair of more types of mura defects. Secondly, based on the computing and storage advantages of AP, it is possible to achieve stronger compensation performance, support fine compensation of multiple brightness segments, match more application scenarios, and broaden the scope of application scenarios. In addition, the combination of DDIC DeMura and AP DeMura can achieve better mura defect repair effects than the DeMura of a single module, thereby improving the mura defect repair effect and improving product yield.

[0131] When brightness compensation is actually performed on the screens of a batch of electronic devices, the screens of each electronic device need to be compensated separately. The same industrial camera can be used to photograph each electronic device in turn to obtain the corresponding monochrome grayscale image or white grayscale image. After the screen shooting is completed, the screen exits the device, and the corresponding compensation data BIN file is generated outside the device. For example, after the industrial camera takes a picture of the screen of electronic device 1, it takes a picture of the screen of electronic device 2. At the same time, the screen of electronic device 1 exits the device, a BIN file corresponding to the compensation data is generated, and the generated compensation data BIN file is uploaded to the server. Similarly, take a picture of electronic device 3, the screen of electronic device 2 exits the device, a BIN file corresponding to the compensation data is generated and uploaded to the server, etc. It is possible to achieve parallel photography and compensation data calculation, thereby shortening the compensation time of a single device screen and improving the efficiency of screen brightness compensation.

[0132] It should be understood that, although the steps in the flowcharts of the above embodiments are shown in sequence as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the flowcharts of the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily to be performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0133] Based on the same inventive concept, embodiments of the present application also provide a screen brightness compensation device for implementing the aforementioned screen brightness compensation method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations in one or more embodiments of the screen brightness compensation device provided below can be found in the above-described limitations on the screen brightness compensation method and will not be further elaborated here.

[0134] In some exemplary embodiments, Figure 5 As shown, a screen brightness compensation device 500 is provided, comprising: a first acquisition module 502, a first compensation module 504, a second acquisition module 506 and a second compensation module 508, wherein:

[0135] A first acquisition module 502 is configured to acquire first compensation data corresponding to a first compensation mode;

[0136] A first compensation module 504 is configured to compensate the initial brightness of the screen based on the first compensation data to obtain a first brightness;

[0137] A second acquisition module 506 is configured to acquire second compensation data corresponding to a second compensation mode;

[0138] The second compensation module 508 is used to compensate the first brightness of the screen based on the second compensation data to obtain a second brightness; wherein the first compensation mode and the second compensation mode are both one of an RGB monochrome compensation mode and a white compensation mode; the RGB monochrome compensation mode is a method of determining compensation data based on the brightness value of the pixel point in the RGB monochrome grayscale image; the white compensation mode is a method of determining compensation data based on the brightness value of the pixel point in the white grayscale image.

[0139] In some embodiments, if the first compensation mode is an RGB monochrome compensation mode; the first acquisition module 502 is further used to control the screen to sequentially display an RGB monochrome picture of a preset grayscale, and obtain a monochrome grayscale image corresponding to the RGB monochrome picture of the preset grayscale; determine the first initial brightness data of the monochrome grayscale image, and determine the first compensation data corresponding to the RGB monochrome compensation mode based on the first initial brightness data and the first target brightness data.

[0140] In some embodiments, the above-mentioned device also includes a screen lighting module, which is used to light up the screen through a screen fixture and turn off the sub-pixel rendering function before controlling the screen to display the RGB monochrome picture of the preset grayscale in sequence and obtaining the monochrome grayscale image corresponding to the RGB monochrome picture of the preset grayscale.

[0141] In some embodiments, if the first compensation mode is a white compensation mode; the first acquisition module 502 is also used to control the screen to display a white picture of a preset gray scale in sequence, and obtain a white grayscale image corresponding to the white picture of the preset gray scale; determine the second initial brightness data of the white grayscale image, and determine the first compensation data corresponding to the white compensation mode based on the second initial brightness data and the second target brightness data.

[0142] In some embodiments, the electronic device includes a display driver processor and an application processor; the first compensation module 504 is further configured to compensate the initial brightness of the screen based on the first compensation data by one of the display driver processor or the application processor to obtain the first brightness;

[0143] The second compensation module 508 is further configured to compensate the first brightness of the screen based on the second compensation data through the other one of the display driver processor and the application processor to obtain a second brightness.

[0144] In some embodiments, the second compensation data includes first sub-compensation data and second sub-compensation data, and the first sub-compensation data is greater than the second sub-compensation data; the second compensation module 508 is also used to compensate the first brightness of the screen by the first sub-compensation data to obtain the second brightness if the first brightness of the screen is in the first brightness range; if the first brightness of the screen is in the second brightness range, the first brightness of the screen is compensated by the second sub-compensation data to obtain the second brightness; the minimum brightness of the second brightness range is greater than the maximum brightness of the first brightness range.

[0145] In some embodiments, the second acquisition module 506 is further configured to download the second compensation data corresponding to the second compensation mode from the server according to the identification on the screen; or to acquire the second compensation data corresponding to the second compensation mode from the memory.

[0146] In some embodiments, the above-mentioned device also includes a compensation mode determination module, which is used to determine that the target compensation mode is an RGB monochrome compensation mode when the display unevenness type of the screen is a particle type; the target compensation mode includes a first compensation mode or a second compensation mode.

[0147] In some embodiments, the compensation mode determination module is further configured to determine the target compensation mode as the white compensation mode when the display unevenness type of the screen is a color cast type; the target compensation mode includes the first compensation mode or the second compensation mode.

[0148] In some embodiments, the first acquisition module 502 is further configured to acquire first compensation data corresponding to the first compensation mode before assembling the screen into the entire device;

[0149] The first acquisition module 506 is further configured to acquire second compensation data corresponding to the second compensation mode after the screen is assembled into the entire device.

[0150] Each module in the above-mentioned screen brightness compensation device can be implemented in whole or in part through software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the electronic device in hardware form, or can be stored in the memory of the electronic device in software form, so that the processor can call and execute the corresponding operations of each of the above modules.

[0151] In an exemplary embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 6As shown. The electronic device includes a processor, memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are connected to the system bus via the input / output interface. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and an external device. The communication interface of the electronic device is used to communicate with an external terminal via wired or wireless communication, and the wireless communication can be achieved via Wi-Fi, a mobile cellular network, near field communication (NFC), or other technologies. When executed by the processor, the computer program implements a screen brightness compensation method. The display unit of the electronic device is used to form a visually visible image, and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the electronic device casing, or an external keyboard, touchpad or mouse.

[0152] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0153] In some exemplary embodiments, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of the screen brightness compensation method in the above embodiments are implemented.

[0154] In some embodiments, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the screen brightness compensation method in the above embodiments are implemented.

[0155] In some embodiments, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps of the screen brightness compensation method in the above embodiments.

[0156] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0157] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. In particular, any reference to memory, database, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), data processing logic devices based on quantum computing, artificial intelligence (AI) processors, and the like.

[0158] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0159] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A screen brightness compensation method, characterized in that: The method comprises: Acquiring first compensation data corresponding to the first compensation mode; Compensating the initial brightness of the screen based on the first compensation data to obtain a first brightness; Acquiring second compensation data corresponding to the second compensation mode; Compensating the first brightness of the screen based on the second compensation data to obtain a second brightness; Among them, the first compensation mode and the second compensation mode are both one of the RGB monochrome compensation mode and the white compensation mode; the RGB monochrome compensation mode is a method of determining compensation data based on the brightness value of the pixel point in the RGB monochrome grayscale image; the white compensation mode is a method of determining compensation data based on the brightness value of the pixel point in the white grayscale image.

2. The method according to claim 1, characterized in that If the first compensation mode is an RGB single-color compensation mode, obtaining first compensation data corresponding to the first compensation mode includes: Controlling the screen to sequentially display a preset grayscale RGB monochrome image, and obtaining a monochrome grayscale image corresponding to the preset grayscale RGB monochrome image; First initial brightness data of the monochrome grayscale image is determined, and first compensation data corresponding to the RGB monochrome compensation mode is determined based on the first initial brightness data and first target brightness data.

3. The method according to claim 2, characterized in that Before the control screen sequentially displays the RGB monochrome images of the preset grayscale and obtains the monochrome grayscale image corresponding to the RGB monochrome images of the preset grayscale, the method further includes: The screen is lit using a screen fixture, and the sub-pixel rendering function is turned off.

4. The method according to claim 1, wherein If the first compensation mode is the white compensation mode, obtaining first compensation data corresponding to the first compensation mode includes: Controlling the screen to sequentially display white images of a preset grayscale, and obtaining a white grayscale image corresponding to the white images of the preset grayscale; Second initial brightness data of the white grayscale image is determined, and first compensation data corresponding to the white compensation mode is determined based on the second initial brightness data and second target brightness data.

5. The method according to claim 1, characterized in that The electronic device includes a display driver processor and an application processor; the compensating the initial brightness of the screen based on the first compensation data to obtain the first brightness includes: compensating the initial brightness of the screen based on the first compensation data by one of the display driver processor or the application processor to obtain a first brightness; The compensating the first brightness of the screen based on the second compensation data to obtain a second brightness includes: The other one of the display driver processor and the application processor compensates the first brightness of the screen based on the second compensation data to obtain a second brightness.

6. The method according to claim 5, characterized in that The second compensation data includes first sub-compensation data and second sub-compensation data, and the first sub-compensation data is greater than the second sub-compensation data; Compensating, by the application processor, the first brightness of the screen based on the second compensation data to obtain a second brightness, comprising: If the first brightness of the screen is within the first brightness range, compensating the first brightness of the screen using the first sub-compensation data to obtain a second brightness; If the first brightness of the screen is in a second brightness range, the first brightness of the screen is compensated using the second sub-compensation data to obtain a second brightness; the minimum brightness of the second brightness range is greater than the maximum brightness of the first brightness range.

7. The method according to claim 1, characterized in that The acquiring second compensation data corresponding to the second compensation mode includes: According to the identification of the screen, the second compensation data corresponding to the second compensation mode is downloaded from the server; or the second compensation data corresponding to the second compensation mode is acquired from the memory.

8. The method according to any one of claims 1 to 7, characterized in that The method further comprises: In a case where the display unevenness type of the screen is a grainy type, a target compensation mode is determined to be an RGB single-color compensation mode; the target compensation mode includes a first compensation mode or a second compensation mode.

9. The method according to any one of claims 1 to 7, characterized in that The method further comprises: In a case where the display unevenness type of the screen is a color cast type, a target compensation mode is determined to be a white compensation mode; the target compensation mode includes a first compensation mode or a second compensation mode.

10. The method according to any one of claims 1 to 7, characterized in that The obtaining of first compensation data corresponding to the first compensation mode includes: Before assembling the screen into the whole machine, obtaining first compensation data corresponding to the first compensation mode; The acquiring the second compensation data corresponding to the second compensation mode includes: After the screen is assembled into the entire device, second compensation data corresponding to the second compensation mode is obtained.

11. A screen brightness compensation device, characterized in that: The device comprises: A first acquisition module, configured to acquire first compensation data corresponding to a first compensation mode; a first compensation module, configured to compensate the initial brightness of the screen based on the first compensation data to obtain a first brightness; A second acquisition module, configured to acquire second compensation data corresponding to a second compensation mode; A second compensation module is configured to compensate the first brightness of the screen based on the second compensation data to obtain a second brightness; wherein the first compensation mode and the second compensation mode are both one of an RGB monochrome compensation mode and a white compensation mode; the RGB monochrome compensation mode is a method of determining compensation data based on the brightness value of a pixel point in an RGB monochrome grayscale image; and the white compensation mode is a method of determining compensation data based on the brightness value of a pixel point in a white grayscale image.

12. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 10 are implemented.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.

14. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.