Display panel control method and control device, storage medium and electronic device

By acquiring display information in the local highlighting mode of the display panel and determining the target gamma curve, the problem of the inability to simultaneously achieve voltage drop compensation and local highlighting in the prior art is solved, and the brightness of the local highlighting area is improved.

CN116129806BActive Publication Date: 2025-04-15XIAMEN TIANMA DISPLAY TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211696594.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-28
Publication Date
2025-04-15
Estimated Expiration
2042-12-28

AI Technical Summary

Technical Problem

The existing display panel cannot achieve voltage drop compensation and local highlighting at the same time, resulting in limited brightness of the local highlighting area in the local highlighting mode.

Method used

By acquiring the display information of the display area in the display panel in the local highlight mode, the target gamma curve is determined to adjust the pixel display brightness, independent of the voltage drop characteristics of the display panel.

Benefits of technology

It realizes that while ensuring uniform display of the display panel, the brightness of the local highlighting area in the local highlighting mode is improved, avoiding the limitation of the brightness by the voltage drop characteristic.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116129806B_ABST
    Figure CN116129806B_ABST
Patent Text Reader

Abstract

The present invention provides a control method and control device of a display panel, a storage medium and an electronic device, the control method comprising: in a local highlight display mode, obtaining display information of a display area in a display panel, the display information comprising the grayscale corresponding to each pixel and the number of pixels displaying the corresponding grayscale; determining a target gamma curve based on the display information, the difference between the display brightness corresponding to the grayscale in the target gamma curve and the target display brightness required for the pixel to display the corresponding grayscale in the local highlight display mode being within a predetermined range; controlling the pixels in the display area to display according to the target gamma curve. The control method of the display panel can improve the brightness of the local highlight area in the local highlight display mode while ensuring the uniform display of the display panel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of display technology, and more specifically, to a control method and control device for a display panel, a storage medium and an electronic device. Background Art

[0002] As people pursue the appearance, color and display practicality of displays, displays are constantly updated and developed. The mainstream displays in the current market mainly include liquid crystal displays, plasma displays, organic light-emitting diode displays, light-emitting diode displays, field emission displays, etc. Among them, the display panel of organic light-emitting diode display (OLED) is an important display panel, which has excellent characteristics such as self-luminescence, no need for backlight, wide color gamut, high contrast, thin thickness, wide viewing angle, fast response speed, can be used for flexible panels, wide operating temperature range, simple structure and process, etc.

[0003] However, currently, voltage drop compensation and local highlight display of the display panel cannot be achieved at the same time, and only a compromise operation scheme can be selected during the operation of the display panel. Summary of the invention

[0004] In view of this, in order to solve the above problems, the present invention provides a control method and control device of a display panel, a storage medium and an electronic device, and the technical solution is as follows:

[0005] In a first aspect, the present invention provides a method for controlling a display panel, wherein a display mode of the display panel includes a normal display mode and a local highlight display mode, and the control method includes:

[0006] In the local highlight display mode, obtaining display information of a display area in the display panel, the display information including a grayscale corresponding to each pixel and the number of pixels displaying the corresponding grayscale;

[0007] Determining a target gamma curve based on the display information, wherein a difference between a display brightness corresponding to a grayscale in the target gamma curve and a target display brightness required for a pixel to display a corresponding grayscale in the local highlight display mode is within a predetermined range;

[0008] The pixels in the display area are controlled to display according to the target gamma curve.

[0009] In a second aspect, the present invention provides a control device for a display panel, wherein a display mode of the display panel includes a normal display mode and a local highlight display mode, and the control device includes:

[0010] An acquisition module, configured to acquire display information of a display area in the display panel in the local highlight display mode, wherein the display information includes a grayscale corresponding to each pixel and the number of pixels displaying the corresponding grayscale;

[0011] A determination module, configured to determine a target gamma curve based on the display information, wherein a difference between a display brightness corresponding to a grayscale in the target gamma curve and a target display brightness required for a pixel to display a corresponding grayscale in the local highlight display mode is within a predetermined range;

[0012] A control module is used to control the pixels in the display area to display according to the target gamma curve.

[0013] In a third aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to execute the control method described above.

[0014] In a fourth aspect, the present invention provides an electronic device, the electronic device comprising: at least one processor, and at least one memory and a bus connected to the processor;

[0015] Wherein, the processor and the memory communicate with each other through the bus;

[0016] The processor is used to call the program instructions in the memory to execute the control method described above.

[0017] Compared with the prior art, the present invention has the following beneficial effects:

[0018] A control method for a display panel provided by the present invention determines the target gamma curve to be used based on the display information when the display panel performs local highlight display, and controls the pixels in the display area according to the target gamma curve to adjust the brightness of the display area. Obviously, the method of determining the target gamma curve based on the display information is more flexible, and adjusting the brightness by the target gamma curve does not depend on the voltage drop characteristics of the display panel. In this way, in the local highlight display mode, the brightness of the local highlight area is no longer limited by the voltage drop characteristics of the display panel. Then, when the voltage drop compensation function in the display panel is turned on so that the display panel can perform uniform display, the brightness of the local highlight area will not be reduced, that is, the brightness improvement of the local highlight area in the local highlight display mode is achieved. Therefore, the control method of the display panel can improve the brightness of the local highlight area in the local highlight display mode while ensuring the uniform display of the display panel.

[0019] In addition, the maximum brightness in the local highlight display mode in the prior art is related to the voltage drop of the display panel, and the voltage drop degree of the display panel is limited after the preparation is completed, which will also affect the further improvement of the brightness of the local highlight area. In the control method of the display panel provided in the embodiment of the present invention, the brightness of the local highlight area is determined based on the target gamma curve, and the brightness will no longer be limited by the voltage drop characteristics of the display panel. In this way, when the local highlight area requires a higher brightness, this brightness information can be represented in the display information, and then the target gamma curve determined based on the display information will also correspond to this brightness information, so that the brightness of the local highlight area can be adjusted based on the target gamma curve to achieve a further improvement in the brightness of the local highlight area. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0021] Figure 1 A schematic diagram of a display panel switching from a normal display mode to a local highlight display mode;

[0022] Figure 2 It is a schematic diagram of the display panel after voltage drop compensation in the local highlight display mode;

[0023] Figure 3 A schematic flow chart of a method for controlling a display panel provided by an embodiment of the present invention;

[0024] Figure 4 A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention;

[0025] Figure 5 A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention;

[0026] Figure 6 A schematic diagram of multiple gamma curves provided by an embodiment of the present invention;

[0027] Figure 7 A schematic diagram of display information comparison corresponding to first grayscale weight coefficients in different value ranges provided by an embodiment of the present invention;

[0028] Figure 8 A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention;

[0029] Fig. 9A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention;

[0030] Fig.10 A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention;

[0031] Fig.11 A schematic diagram of a display area on a display panel provided by an embodiment of the present invention;

[0032] Fig.12 A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention;

[0033] Fig.13 A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention;

[0034] Fig.14 A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention;

[0035] Fig.15 A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention;

[0036] Fig.16 A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention;

[0037] Fig.17 A schematic diagram of the principle structure of a control device for a display panel provided by an embodiment of the present invention;

[0038] Fig.18 A schematic diagram of the hardware architecture of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0040] Based on the contents recorded in the background technology, during the invention process of the present invention, the inventors found that the voltage drop compensation and local highlight display of the current display panel cannot be achieved at the same time, and only a compromise operation scheme can be selected during the operation of the display panel.

[0041] refer to Figure 1 , Figure 1The figure is a schematic diagram of the display panel switching from the normal display mode to the local highlight display mode. After the display panel switches from the normal display mode to the local highlight display mode, due to the voltage drop characteristics of the display panel itself, the display brightness of the local highlight area is greater than the display brightness of other areas of the display panel, that is, the display brightness of the local highlight area is proportional to the voltage drop of the display panel, that is, if the highlight display of the local highlight area needs to be realized, it needs to be based on a larger voltage drop.

[0042] refer to Figure 2 , Figure 2 The schematic diagram of the display panel after voltage drop compensation in the local highlight display mode. Since there is a voltage drop in the display panel, and the voltage drop will affect the display uniformity of the display panel, the prior art usually uses a voltage drop compensation function to reduce the voltage drop as much as possible to ensure the uniform display of the display panel. The voltage drop compensation function will reduce the brightness of the local highlight area when reducing the voltage drop.

[0043] That is to say, in the prior art, the voltage drop compensation function is used to reduce the impact of the voltage drop on the display panel, while in the local highlight display mode, a large voltage drop is required to achieve local highlight display. Obviously, the two mechanisms are mutually exclusive and cannot be achieved at the same time. Therefore, in the prior art, only one of the schemes can be selected or a compromise operation scheme can be selected during the operation of the display panel.

[0044] Based on this, a control method and control device of a display panel, a storage medium and an electronic device are provided in an embodiment of the present invention. The control method of the display panel can improve the brightness of the local highlight area under the local highlight display of the display panel while ensuring good display uniformity of the display panel.

[0045] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0046] In the embodiment of the present invention, the display panel includes a normal display mode and a local highlight display mode. Figure 3 , Figure 3 A flow chart of a method for controlling a display panel provided by an embodiment of the present invention, the method for controlling a display panel comprising:

[0047] S101: In a local highlight display mode, obtaining display information of a display area in a display panel, the display information including a grayscale corresponding to each pixel and the number of pixels displaying the corresponding grayscale.

[0048] S102: determining a target gamma curve based on display information, wherein a difference between a display brightness corresponding to a grayscale in the target gamma curve and a target display brightness required for a pixel to display a corresponding grayscale in a local highlight display mode is within a predetermined range.

[0049] S103: Controlling the pixels in the display area to display according to the target gamma curve.

[0050] Specifically, in an embodiment of the present invention, before controlling the display panel to display the next frame, the IC (Integrated Circuit, a driving chip used to control the display panel to display) in the display panel first obtains the display information of the entire display area in the next frame of the display panel, that is, obtains the grayscale corresponding to each pixel in the entire display panel in the next frame, and the number of pixels displaying the corresponding grayscale; based on the obtained display information, the display area and display brightness of the display panel in the next frame are determined.

[0051] Based on the determined display area and display brightness of the next frame of the display panel, the target gamma curve corresponding to the display panel when displaying the next frame is determined, and the pixels in the display panel are controlled to display based on the target gamma curve, wherein the difference between the display brightness corresponding to the grayscale in the target gamma curve and the target display brightness required for the pixel to display the corresponding grayscale in the local highlight display mode is within a predetermined range, and ideally, the display brightness corresponding to the grayscale in the target gamma curve is equal to the target display brightness required for the pixel to display the corresponding grayscale in the local highlight display mode. For example, if the target display brightness required for the pixel to display 255 grayscale in the local highlight display mode is 800nit, then the gamma curve corresponding to 800nit of 255 grayscale is determined as the target gamma curve; or if the target display brightness required for the pixel to display 255 grayscale in the local highlight display mode is 1000nit, then the gamma curve corresponding to 1000nit of 255 grayscale is determined as the target gamma curve.

[0052] In order to facilitate understanding of the control method of the display panel provided by the embodiment of the present invention, the control method of the display panel is described in detail below with examples.

[0053] In the prior art, Figure 1 As shown, when the first frame is displayed, the brightness of the pixel displaying 255 grayscale is 500nit. Due to the voltage drop of the display panel, when the second frame is displayed, the brightness of the pixel displaying 255 grayscale in the local highlight area is 600nit. In order to ensure the uniform display of the display panel, a voltage drop compensation operation is required. At this time, when the second frame is displayed, the brightness of the pixel displaying 255 grayscale in the local highlight area will be reduced, for example, reduced to 550nit.

[0054] Obviously, after the voltage drop compensation operation is completed, the maximum brightness of the local highlight display becomes 550nit. Therefore, the voltage drop compensation scheme and the local highlight display scheme of the display panel in the current prior art are mutually exclusive and cannot be achieved at the same time. Therefore, in the prior art, only one of the schemes can be selected or a compromise operation scheme can be selected during the operation of the display panel, such as either ensuring the uniform display of the display panel, or performing local highlight display, or reducing the degree of voltage drop compensation. For example, when displaying the second frame, the 600nit brightness of the pixels displaying 255 gray levels in the local highlight area is adjusted to 580nit.

[0055] In the control method of the display panel provided in the embodiment of the present invention, the gamma curve of 255 grayscale corresponding to 500nit can still be used in the normal display mode. After switching from the normal display mode to the local highlight display mode, 255 grayscale corresponds to 600nit in the target gamma curve determined based on the display information. Then, when the display panel is displayed based on the target gamma curve, the brightness of the local highlight area showing 255 grayscale is 600nit. Since the method of improving the brightness of the local highlight area in the technical solution of the present invention is no longer based on the voltage drop, but the brightness is adjusted based on the selected target gamma curve, then when the voltage drop is compensated, the display brightness of the local highlight area can be maintained at 600nit without decreasing, and the brightness is effectively increased by 50nit compared with the prior art.

[0056] It can be known from the above description that in the control scheme for the display panel provided by the embodiment of the present invention, when the display panel performs local highlight display, the target gamma curve to be used is determined based on the display information, and the pixels in the display area are controlled according to the target gamma curve to adjust the brightness of the display area. Obviously, the method of determining the target gamma curve based on the display information is more flexible, and adjusting the brightness by the target gamma curve does not depend on the voltage drop characteristics of the display panel. In this way, in the local highlight display mode, the brightness of the local highlight area is no longer limited by the voltage drop characteristics of the display panel. Then, when the voltage drop compensation function in the display panel is turned on so that the display panel can perform uniform display, the brightness of the local highlight area will not be reduced, that is, the brightness improvement of the local highlight area in the local highlight display mode is achieved. Therefore, the control method of the display panel can improve the brightness of the local highlight area in the local highlight display mode while ensuring the uniform display of the display panel.

[0057] In addition, the maximum brightness in the local highlight display mode in the prior art is related to the voltage drop of the display panel, and the voltage drop degree of the display panel is limited after the preparation is completed, which will also affect the further improvement of the brightness of the local highlight area. In the control method of the display panel provided in the embodiment of the present invention, the brightness of the local highlight area is determined based on the target gamma curve, and the brightness will no longer be limited by the voltage drop characteristics of the display panel. In this way, when the local highlight area requires a higher brightness, this brightness information can be represented in the display information, and then the target gamma curve determined based on the display information will also correspond to this brightness information, so that the brightness of the local highlight area can be adjusted based on the target gamma curve to achieve a further improvement in the brightness of the local highlight area.

[0058] It should be noted that after the voltage drop compensation function is turned on, the display uniformity of the above-mentioned display panel refers to the display uniformity of other areas in the display panel except the local highlight area, or when there are multiple local highlight areas with the same brightness in the display panel, the display uniformity between each local highlight area.

[0059] Optionally, in another embodiment of the present invention, refer to Figure 4 , Figure 4 A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention.

[0060] A specific implementation of "determining the target gamma curve based on the display information" in step S102 is:

[0061] S201: Calculate a first grayscale weight coefficient based on display information; wherein the first grayscale weight coefficient is i represents grayscale, k i Represents the grayscale coefficient of grayscale, N i Indicates the number of pixels displaying gray level i in the display area.

[0062] S202: Determine a target gamma curve based on the first grayscale weight coefficient.

[0063] Specifically, in the embodiment of the present invention, 0<k i ≤1, k1<k2<k3...<k 255Before controlling the display panel to display the next frame, the IC in the display panel first obtains the display information of the entire display area in the next frame display panel, that is, obtains the grayscale corresponding to each pixel in the entire display panel in the next frame, and the number of pixels displaying the corresponding grayscale, and calculates the first grayscale weight coefficient based on the importance of pixels displaying different grayscales and the number of pixels corresponding to the grayscale relative to the entire display area. In other words, the calculated first grayscale weight coefficients of different values ​​represent display areas and display brightness of different areas, and then characterize and judge the display area and display brightness of the next frame of the display panel. Therefore, the method of determining the target gamma curve based on the first grayscale weight coefficient is more accurate, and the method of calculating the first grayscale weight coefficient is also relatively simple, which will not bring a calculation burden to the IC in the display panel.

[0064] It can be understood that when calculating the first grayscale weight coefficient, if the number of pixels Ni corresponding to a certain grayscale is 0, that is, no pixel on the panel is displayed with this grayscale, then substituting Ni=0 into the calculation will cause this item to be infinite. Therefore, a threshold value can be set in advance. When calculating, the IC can discard items greater than this threshold value and not include them in the final summation operation to ensure the rationality of the calculation result. Here, the threshold value can be set according to actual needs. For example, the threshold value can be set to 1, so when calculating, the IC can discard items greater than 1.

[0065] Optionally, in another embodiment of the present invention, refer to Figure 5 , Figure 5 A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention.

[0066] A specific implementation of "determining the target gamma curve based on the first grayscale weight coefficient" in step S1022 is:

[0067] S301: Pre-store multiple gamma curves in the display panel, the multiple gamma curves include M highlight gamma curves and a basic gamma curve corresponding to a local highlight display mode; the display brightness corresponding to the first grayscale in any one of the M highlight gamma curves is greater than the display brightness corresponding to the first grayscale in the basic gamma curve, and the display brightness corresponding to the first grayscale in any two of the M highlight gamma curves is different, and M is a positive integer greater than or equal to 1.

[0068] S302: multiple value ranges are set based on multiple stored gamma curves, the number of the value ranges is K, K=M+1, and one value range corresponds to one gamma curve among the multiple gamma curves.

[0069] S303: Based on the value range of the first grayscale weight coefficient, taking the gamma curve corresponding to the data range as the target gamma curve.

[0070] Specifically, in the embodiments of the present invention, refer to Figure 6 , Figure 6 A schematic diagram of multiple gamma curves provided by an embodiment of the present invention, Figure 6 Four gamma curves are used as examples to illustrate. Figure 6 The horizontal axis represents the grayscale i, and the vertical axis represents the brightness L; the two gamma curves are highlight gamma curves (G3 curve and G4 curve), that is, M=2, and the brightness corresponding to the 255 grayscale in the two highlight gamma curves is 1000nit and 1200nit respectively, and the brightness corresponding to the 255 grayscale in the basic gamma curve (G2 curve) corresponding to the local highlight display mode is 800nit; it should be noted that the brightness corresponding to the grayscale in multiple gamma curves can be determined according to actual conditions, and is only used as an example in the embodiments of the present invention.

[0071] It should be further explained that the display panel also stores a gamma curve (G1 curve) corresponding to the normal display mode, wherein the brightness corresponding to the 255 grayscale in the gamma curve corresponding to the normal display mode is 500 nit.

[0072] refer to Figure 7 , Figure 7 A schematic diagram of display information comparison corresponding to first grayscale weight coefficients of different value ranges provided in an embodiment of the present invention. It can be seen from the above description that the calculated first grayscale weight coefficients of different values ​​represent display areas and display brightness of different areas. Based on this, in an embodiment of the present invention, multiple value ranges are set based on multiple stored gamma curves, and one value range corresponds to one gamma curve in multiple gamma curves, such as Figure 7 The example shown sets three value ranges, the example is 0≤G APL ≤0.3, 0.3<G APL ≤0.6 and 0.6<G APL ≤1.0; when the calculated first grayscale weight coefficient is between 0≤G APL ≤0.3, the area of ​​the corresponding first display area is A, and the display brightness is a; when the calculated first grayscale weight coefficient is within the range of 0.3<G APL ≤0.6, the area of ​​the corresponding first display area is B, and the display brightness is b; when the calculated first grayscale weight coefficient is within the range of 0.6<G APL When the value is within the range of ≤1.0, the area of ​​the corresponding first display region is C, and the display brightness is c; wherein A>B>C, and a<b<c.

[0073] When the calculated first grayscale weight coefficient is between 0≤G APLWhen the value is within the range of ≤0.3, the area of ​​the first display area of ​​the display panel during the partial display of the next frame is relatively large, but it is also a partial display compared to the display. However, when the local display area is relatively large, a better display can be achieved without a particularly high brightness. Therefore, it is only necessary to call the high-brightness gamma curve with a grayscale of 255 and a brightness of 800nit to control the pixels in the display area for display.

[0074] When the calculated first grayscale weight coefficient is within 0.3<G APL When the value is within the range of ≤0.6, the area of ​​the first display area of ​​the display panel during the partial display of the next frame is moderate, that is, the area of ​​the local display is further reduced. Then, at this time, when the display area is relatively moderate, it is necessary to appropriately increase the display brightness. Therefore, the high-brightness gamma curve with a grayscale of 255 corresponding to a brightness of 1000nit can be called to control the pixels in the display area for display.

[0075] When the calculated first grayscale weight coefficient is between 0.6 and G APL When the value is within the range of ≤1.0, the first display area of ​​the display panel during the next frame of partial display is relatively small, that is, the area of ​​the local display is further reduced. In order to ensure a good display, it is necessary to greatly increase the display brightness when the display area is relatively small. Therefore, it is necessary to call the high-brightness gamma curve with a grayscale of 255 corresponding to a brightness of 1200nit to control the pixels in the display area for display and realize high-brightness display in a smaller area.

[0076] In the control method of the display panel provided by the embodiment of the present invention, a plurality of highlight gamma curves and a basic gamma curve required for use in the local highlight display mode can be pre-stored in the display panel, and a plurality of numerical ranges can be set according to these pre-stored gamma curves, and the numerical ranges correspond one to one with the pre-stored gamma curves. In this way, after calculating the first grayscale weight coefficient, it can be determined to which numerical range the first grayscale weight coefficient belongs, so as to determine a corresponding gamma curve as the target gamma curve. In other words, the control method in the embodiment of the present invention can accurately determine the target gamma curve from a plurality of gamma curves according to the numerical range of the first grayscale weight coefficient, and, compared with the case where only one gamma curve can be used for adjustment, the above control method can also realize diversified adjustment of the brightness of the display panel, which is beneficial to further improve the display brightness of the local highlight area in the local highlight display mode.

[0077] It should be noted that, in the embodiment of the present invention, only three numerical ranges are used as examples for description, and in other embodiments, numerical ranges may be optionally increased or decreased according to actual conditions.

[0078] Optionally, in another embodiment of the present invention, refer to Figure 8 , Figure 8 A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention.

[0079] Another specific implementation of "determining the target gamma curve based on the first grayscale weight coefficient" in step S1022 is:

[0080] S401: pre-storing a basic gamma curve corresponding to a local highlight display mode in a display panel.

[0081] S402: Determine a target gamma curve based on the first grayscale weight coefficient and the basic gamma curve.

[0082] Specifically, in the embodiment of the present invention, taking into account the consideration of the IC storage cost in the display panel, in the embodiment of the present invention, there is no need to pre-store multiple highlight gamma curves required for the local highlight display mode in the IC of the display panel. It is only necessary to store a basic gamma curve corresponding to the local highlight display mode and a gamma curve corresponding to the normal display mode.

[0083] Therefore, the calculated first grayscale weight coefficient is used as the gain value, and the data corresponding to the target gamma curve is determined based on the basic gamma curve. Optionally, in an embodiment of the present invention, one implementation method for determining the target gamma curve based on the first grayscale weight coefficient and the basic gamma curve is: multiplying the brightness value corresponding to each grayscale on the basic gamma curve by the first grayscale weight coefficient to obtain the target gamma curve. Then, different first grayscale weight coefficients are combined with the pre-stored basic gamma curve to obtain different target gamma curve data corresponding to different first grayscale weight coefficients, and the pixels in the display area are controlled for display based on the obtained target gamma curve data.

[0084] That is to say, in the embodiment of the present invention, while the brightness of the local highlight display mode can be dynamically adjusted, the IC storage cost can be reduced and the IC operation rate can be improved. By using the first grayscale weight coefficient as the gain value, different gain values ​​can obtain target gamma curves of different data, which is equivalent to being able to infinitely divide the numerical range, making the determined target gamma curve more accurate.

[0085] Optionally, in another embodiment of the present invention, refer to Fig. 9 , Fig. 9 A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention.

[0086] A specific implementation of "determining the target gamma curve based on the display information" in step S102 is:

[0087] S501: pre-store a first gamma curve and a second gamma curve in a display panel; a display brightness corresponding to a first grayscale in the first gamma curve is greater than a display brightness corresponding to the first grayscale in the second gamma curve.

[0088] S502: Obtain the number of pixels in the display area whose grayscale displayed by the pixels is greater than a preset grayscale.

[0089] S503: Determine whether the number of pixels is less than a first set threshold.

[0090] S504: If yes, select the first gamma curve as the target gamma curve.

[0091] S505: If not, selecting the second gamma curve as the target gamma curve.

[0092] Specifically, in the embodiment of the present invention, only two gamma curves need to be pre-stored in the IC of the display panel, namely the first gamma curve and the second gamma curve. The display brightness corresponding to the first grayscale in the first gamma curve is greater than the display brightness corresponding to the first grayscale in the second gamma curve. For example, the display brightness corresponding to the 255 grayscale in the first gamma curve is 1000nit, and the display brightness corresponding to the 255 grayscale in the second gamma curve is 500nit.

[0093] It should be noted that, in the embodiment of the present invention, the preset gray scale is 180 gray scales and the display panel has 10,000 pixels, and the first set threshold is 5,000.

[0094] Then, the number of pixels in the display area whose grayscale displayed by the pixels is greater than the preset grayscale is obtained, for example, the number of pixels in the display area whose grayscale displayed by the pixels is greater than 180 grayscales is obtained. When the number of pixels obtained is less than 5000, it is directly considered that the display panel will enter the local highlight display mode for local highlight display. At this time, the first gamma curve is directly called as the target gamma curve to control the pixels in the display area for display, so as to improve the brightness in the local highlight display mode; conversely, when the number of pixels obtained is greater than or equal to 5000, it is considered that the display panel does not need to enter the local highlight display mode for local highlight display, and the second gamma curve is called as the target gamma curve to control the pixels in the display area for normal display.

[0095] That is to say, in the embodiment of the present invention, there is no need to calculate the first grayscale weight coefficient of the pixel. It is only necessary to generally count the number of pixels whose grayscale displayed by the pixel is greater than the preset grayscale, and determine whether the display panel needs to enter the local highlight display mode for local highlight display based on the set first set threshold. If it is necessary to enter the local highlight display mode for local highlight display, the highlight target gamma curve is selected to control the display of the pixel. This solution is relatively simple and easy to implement.

[0096] Optionally, in another embodiment of the present invention, refer to Fig.10 , Fig.10 A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention.

[0097] Another specific implementation of "determining the target gamma curve based on the display information" in step S102 is:

[0098] S601: Determine Y first display areas of the display panel, the display brightness of the Y first display areas is greater than the display brightness of the second display area, the second display area is the other display area in the display area except the first display area, and the grayscale displayed by the pixels in the Y first display areas is the same, which is the second grayscale.

[0099] S602: Determine two first display areas from the Y first display areas, where a distance between the two determined first display areas is greater than a second set threshold.

[0100] S603: Selecting any one of the two determined first display areas as a target display area.

[0101] S604: Calculate a first grayscale weight coefficient based on the display information; wherein the first grayscale weight coefficient is i represents grayscale, k i Represents the grayscale coefficient of the grayscale. When i is not the second grayscale, N i Indicates the number of pixels in the display area that display grayscale i; when i is the second grayscale, N i Indicates the number of pixels displaying gray level i in the target display area.

[0102] S605: Determine a target gamma curve based on the first grayscale weight coefficient.

[0103] Specifically, in the embodiments of the present invention, refer to Fig.11 , Fig.11 A schematic diagram of a display area on a display panel provided by an embodiment of the present invention, Fig.11 In the description, two first display areas are taken as an example, that is, Y=2 is taken as an example, and the other display areas except the first display area in the display area are defined as the second display area. Since the display brightness of the first display area is greater than the display brightness of the second display area, the first display area can be understood as a local highlight area in the local highlight display mode, and the grayscale displayed by the pixels in the Y first display areas is the same, which is the second grayscale, that is, the brightness displayed by the Y first display areas is the same, which is Y color blocks of the same brightness.

[0104] Considering the viewing angle of the user, when the distance between the two first display areas on the display panel is relatively far, for example, Fig.11 As shown, one of the first display areas is located in the upper left corner of the display panel, and the other first display area is located in the lower right corner of the display panel. In this distribution situation, the user cannot actually take into account the two first display areas at the same time when observing, that is to say, the user can actually only use one of the first display areas as the target display area to read information; obviously, the area of ​​the actual effective local highlight area in the local highlight display mode is only the area of ​​one of the two first display areas.

[0105] If the sum of the two first display areas is taken as the actual effective local highlight area in the local highlight display mode, it is obvious that when calculating the first grayscale weight coefficient, when counting the number of pixels displaying the second grayscale, what is counted is the sum of the number of pixels displaying the second grayscale in the two first display areas. Compared with only counting the number of pixels displaying the second grayscale in one of the first display areas, the number of pixels displaying the second grayscale is larger. Based on the formula of the first grayscale weight coefficient, it can be seen that the obtained first grayscale weight coefficient will become smaller, and the area of ​​the local highlight area represented by the first grayscale weight coefficient is the sum of the areas of the two first display areas. Obviously, the brightness corresponding to the 255 grayscale in the selected target gamma curve is also low. For example, the brightness corresponding to the 255 grayscale in the selected target gamma curve is 800nit, which does not meet the actual application needs of users.

[0106] Therefore, in an embodiment of the present invention, when there are multiple first display areas that serve as local highlight areas, the distance between any two first display areas is determined. When the distance between the two first display areas is greater than a second set threshold, it indicates that the user cannot simultaneously consider the two first display areas at the same time when observing. In other words, the user can actually only use one of the first display areas as the target display area to read information. At this time, any one of the two first display areas for comparison is selected as the target display area.

[0107] Then, when calculating the first grayscale weight coefficient and counting the number of pixels displaying the second grayscale, it counts the number of pixels displaying the second grayscale in one of the first display areas, that is, it counts the number of pixels displaying the second grayscale in the target display area. Compared with counting the sum of the number of pixels displaying the second grayscale in the two first display areas, the number of pixels displaying the second grayscale decreases. Based on the formula of the first grayscale weight coefficient, it can be seen that the obtained first grayscale weight coefficient will become larger, and the area of ​​the local highlight area represented by the first grayscale weight coefficient is the area of ​​the target display area. Obviously, the brightness corresponding to the 255 grayscale in the selected target gamma curve will also increase. For example, the brightness corresponding to the 255 grayscale in the selected target gamma curve is 1000nit. The display can meet the actual application needs of the user at this time and realize the highlight display of the effective small area, that is, the highlight display is satisfied when observing any first display area.

[0108] That is to say, in the embodiment of the present invention, the actual situation of the user's observation angle is taken into account to more reasonably determine the target gamma curve that is closer to the actual needs, and the pixels of the display area are controlled for display based on the target gamma curve to improve the display effect in the local highlight display mode.

[0109] Optionally, in another embodiment of the present invention, refer to Fig.12 , Fig.12 A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention.

[0110] Another specific implementation of "determining the target gamma curve based on the display information" in step S102 is:

[0111] S701: Determine Y first display areas of the display panel, the display brightness of the Y first display areas is greater than the display brightness of the second display areas, the second display areas are other display areas in the display area except the first display area, and the grayscales displayed by pixels in the Y first display areas are different.

[0112] S702: Determine two first display areas from the Y first display areas, where a distance between the two determined first display areas is greater than a second set threshold.

[0113] S703: Selecting any one of the two determined first display areas as a target display area.

[0114] S704: Determine that the grayscale displayed by the pixels in the target display area is the third grayscale.

[0115] S705: Calculate a first grayscale weight coefficient based on the display information; wherein the first grayscale weight coefficient is i represents grayscale, k iRepresents the grayscale coefficient of the grayscale. When i is not the third grayscale, N i Indicates the number of pixels in the display area that display grayscale i; when i is the third grayscale, N i Indicates the number of pixels displaying gray level i in the target display area.

[0116] S706: Determine a target gamma curve based on the first grayscale weight coefficient.

[0117] Specifically, in the embodiments of the present invention, Fig.11 As shown, two first display areas are used as an example for explanation, that is, Y=2 is used as an example for explanation, and the other display areas in the display area except the first display area are defined as the second display area. Since the display brightness of the first display area is greater than the display brightness of the second display area, the first display area can be understood as a local highlight area in the local highlight display mode, wherein the grayscales displayed by the pixels in the Y first display areas are different, for example, the grayscale displayed by the pixels in one of the first display areas is 120 grayscales, and the grayscale displayed by the pixels in the other first display area is 210 grayscales, that is, the brightness displayed by the Y first display areas is different, which are Y color blocks of different brightness.

[0118] Considering the viewing angle of the user, when the distance between the two first display areas on the display panel is relatively far, for example, Fig.11 As shown, one of the first display areas is located in the upper left corner of the display panel, and the other first display area is located in the lower right corner of the display panel. In this distribution situation, the user cannot actually take into account the two first display areas at the same time when observing, that is to say, the user can actually only use one of the first display areas as the target display area to read information; obviously, the area of ​​the actual effective local highlight area in the local highlight display mode is only the area of ​​one of the two first display areas.

[0119] Therefore, in an embodiment of the present invention, when there are multiple first display areas that serve as local highlight areas, the distance between any two first display areas is determined. When the distance between the two first display areas is greater than a second set threshold, it indicates that the user cannot simultaneously consider the two first display areas at the same time when observing. In other words, the user can actually only use one of the first display areas as the target display area to read information. At this time, any one of the two first display areas for comparison is selected as the target display area.

[0120] Then, when calculating the first grayscale weight coefficient and counting the number of pixels displaying the third grayscale, only the number of pixels displaying the third grayscale in the target display area is counted. At this time, the area of ​​the local highlight area represented by the calculated first grayscale weight coefficient is the area of ​​the target display area. Obviously, the determined target gamma curve is relatively consistent with the actual observation of the user, indicating that the actual application needs of the user can be met at this time, and the highlight display of an effective small area can be achieved.

[0121] After the target gamma curve is determined, the brightness of different first display areas can be adjusted based on the target gamma curve. For example, if the grayscale displayed by the pixels in one first display area is 120 grayscale, then the brightness of the first display area is set to the brightness corresponding to 120 grayscale on the target gamma curve; if the grayscale displayed by the pixels in another first display area is 210 grayscale, then the brightness of the first display area is set to the brightness corresponding to 210 grayscale on the target gamma curve.

[0122] That is to say, in the embodiment of the present invention, the actual situation of the user's observation angle is taken into account to more reasonably determine the target gamma curve that is closer to the actual needs, and the pixels of the display area are controlled for display based on the target gamma curve to improve the display effect in the local highlight display mode.

[0123] Optionally, in another embodiment of the present invention, refer to Fig.13 , Fig.13 A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention.

[0124] Another specific implementation of "determining the target gamma curve based on the display information" in step S102 is:

[0125] S801: Determine H first display areas of the display panel, the display brightness of the H first display areas is greater than the display brightness of the second display areas, the second display areas are other display areas in the display area except the first display area, and the grayscale displayed by the pixels in the H first display areas is the same, which is the fourth grayscale.

[0126] S802: Calculate the first grayscale weight coefficient corresponding to each first display area respectively to obtain H first grayscale weight coefficients i represents grayscale, k i Represents the grayscale coefficient of the grayscale. When i is not the fourth grayscale, N i Indicates the number of pixels displaying gray level i in the display area; when i is the fourth gray level, N i Indicates the number of pixels displaying gray level i in the corresponding first display area.

[0127] S803: Determine a first grayscale weight coefficient from the H first grayscale weight coefficients as a final first grayscale weight coefficient.

[0128] S804: Determine a target gamma curve based on the final first grayscale weight coefficient.

[0129] Specifically, in the embodiments of the present invention, Fig.11 The two first display areas are used as an example for explanation, that is, H=2 is used as an example for explanation, and the other display areas in the display area except the first display area are defined as the second display area. Since the display brightness of the first display area is greater than the display brightness of the second display area, the first display area can be understood as a local highlight area in the local highlight display mode, and the gray scale displayed by the pixels in the H first display areas is the same, which is the fourth gray scale, that is, the brightness displayed by the H first display areas is the same, which is H color blocks with the same brightness.

[0130] Then, the first grayscale weight coefficient corresponding to each first display area is calculated. For example, when calculating the first grayscale weight coefficient of the first first display area, when counting the number of pixels displaying the fourth grayscale, only the number of pixels displaying the fourth grayscale in the first first display area is counted. When counting the number of pixels displaying other grayscales, normal statistics based on the display area can be used.

[0131] In this way, H first grayscale weight coefficients will be obtained. Based on the H first grayscale weight coefficients, a first grayscale weight coefficient is determined as the final first grayscale weight coefficient by processing methods such as averaging, selecting the mode or selecting the maximum value. Based on the final first grayscale weight coefficient, the target gamma curve is determined. Based on the target gamma curve, the pixels in the display area are controlled for display. In this way, it can avoid the situation that some smaller first display areas are too bright and some larger first display areas are too dark, so that the brightness of the H first display areas is balanced, thereby improving the display effect of the display panel in the local highlight display mode.

[0132] Optionally, in another embodiment of the present invention, refer to Fig.14 , Fig.14 A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention.

[0133] Another specific implementation of "determining the target gamma curve based on the display information" in step S102 is:

[0134] S901: Determine H first display areas of the display panel, the display brightness of the H first display areas is greater than the display brightness of the second display areas, the second display areas are other display areas in the display area except the first display area, and the grayscales displayed by pixels in the H first display areas are different.

[0135] S902: Calculate the first grayscale weight coefficient corresponding to each first display area respectively to obtain H first grayscale weight coefficients i represents grayscale, k i Represents the grayscale coefficient of the grayscale. When i is not the grayscale displayed by the pixel in the first display area currently calculated, N i represents the number of pixels displaying grayscale i in the display area; when i is the grayscale displayed by the pixels in the first display area currently calculated, N i Indicates the number of pixels displaying gray level i in the first display area currently being calculated.

[0136] S903: Determine a first grayscale weight coefficient from the H first grayscale weight coefficients as a final first grayscale weight coefficient.

[0137] S904: Determine a target gamma curve based on the final first grayscale weight coefficient.

[0138] Specifically, in the embodiments of the present invention, Fig.11 As shown, two first display areas are used as an example for explanation, that is, H=2 is used as an example for explanation, and the other display areas in the display area except the first display area are defined as the second display area. Since the display brightness of the first display area is greater than the display brightness of the second display area, the first display area can be understood as a local highlight area in the local highlight display mode, wherein the gray scales displayed by the pixels in the H first display areas are different, for example, the gray scale displayed by the pixels in one of the first display areas is 120 gray scales, and the gray scale displayed by the pixels in the other first display area is 210 gray scales, that is, the brightness displayed by the H first display areas is different, which is Y color blocks of different brightness.

[0139] Then, the first grayscale weight coefficient corresponding to each first display area is calculated. When counting the number of pixels displaying grayscale, and the grayscale is the grayscale displayed by the pixels in the first display area currently being calculated, only the number of pixels displaying grayscale in the first display area currently being calculated is counted. When counting the number of pixels displaying other grayscales, normal statistics based on the display area can be used.

[0140] In this way, H first grayscale weight coefficients will be obtained. Based on the H first grayscale weight coefficients, a first grayscale weight coefficient is determined as the final first grayscale weight coefficient by processing methods such as averaging, selecting the mode or selecting the maximum value. Based on the final first grayscale weight coefficient, the target gamma curve is determined. Based on the target gamma curve, the pixels in the display area are controlled for display. In this way, it can avoid the situation that some smaller first display areas are too bright and some larger first display areas are too dark, so that the brightness of the H first display areas is balanced, thereby improving the display effect of the display panel in the local highlight display mode.

[0141] Optionally, in another embodiment of the present invention, refer to Fig.15 , Fig.15 A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention.

[0142] A specific implementation of "controlling the pixels in the display area to display according to the target gamma curve" in step S103 is:

[0143] S1031: When the pixels in the display area are controlled to display according to the target gamma curve, the voltage drop compensation function of the display panel is stopped.

[0144] Specifically, in the control scheme for the display panel in the embodiment of the present invention, for example, in the target gamma curve determined based on the display information, 255 grayscale corresponds to 800nit, so when the display panel is displayed based on the target gamma curve, the brightness of the pixel displaying 255 grayscale is 800nit. If it is switched to display only the local highlight area, based on the characteristics of the display panel, the brightness of the pixel displaying 255 grayscale in the local highlight area will also be automatically increased, for example, automatically increased to 1000nit; if the voltage drop compensation operation is not performed at this time, then 1000nit is the maximum brightness of the local highlight area in the local highlight display mode in the technical solution. Obviously, compared with 600nit in the prior art, the brightness of the local highlight area in the local highlight display mode is improved.

[0145] If the voltage drop compensation operation is performed at the same time, then after the voltage drop compensation operation is completed, the maximum brightness of the local highlight area in the local highlight display mode becomes 800nit. At this time, 800nit is the maximum brightness of the local highlight area in the local highlight display mode in this technical solution.

[0146] Therefore, in the embodiment of the present invention, when the pixels in the display area are controlled to display according to the target gamma curve, stopping the voltage drop compensation function of the display panel can further improve the brightness of the display panel in the local highlight display mode.

[0147] Optionally, in another embodiment of the present invention, refer to Fig.16 , Fig.16 A schematic flow chart of another method for controlling a display panel provided by an embodiment of the present invention.

[0148] After controlling the pixels in the display area to display according to the target gamma curve, the control method further includes:

[0149] S104: adjusting the brightness of the display area according to the target gamma curve.

[0150] Specifically, in the embodiment of the present invention, due to the existence of voltage drop on the display panel, the brightness of pixels located in different areas will be different even when they display the same gray scale at the same time. Therefore, in the embodiment of the present invention, the brightness of the pixels in the display area can be adjusted based on the determined target gamma curve to ensure the display effect of the display panel and ensure that the brightness of pixels displaying the same gray scale is the same.

[0151] Based on the same inventive concept, another embodiment of the present invention further provides a control device for a display panel, which is used to implement the control method for a display panel in some of the above embodiments. Fig.17 , Fig.17 A schematic diagram of the principle structure of a control device for a display panel provided in an embodiment of the present invention; the display mode of the display panel includes a normal display mode and a local highlight display mode, and the control device includes:

[0152] The acquisition module 11 is used to acquire display information of a display area in a display panel in a local highlight display mode, wherein the display information includes a grayscale corresponding to each pixel and the number of pixels displaying the corresponding grayscale.

[0153] The determination module 12 is used to determine a target gamma curve based on the display information, wherein the difference between the display brightness corresponding to the grayscale in the target gamma curve and the target display brightness required for the pixel to display the corresponding grayscale in the local highlight display mode is within a predetermined range.

[0154] The control module 13 is used to control the pixels in the display area to display according to the target gamma curve.

[0155] Specifically, in the embodiment of the present invention, in the local highlight display mode, the display information of the display area in the display panel is obtained, the display information includes the grayscale corresponding to each pixel and the number of pixels displaying the corresponding grayscale; the target gamma curve is determined based on the display information, and the difference between the display brightness corresponding to the grayscale in the target gamma curve and the target display brightness required for the pixel to display the corresponding grayscale in the local highlight display mode is within a predetermined range; the pixels in the display area are controlled to display according to the target gamma curve. The control device of the display panel can ensure the uniform display of the display panel while also improving the brightness of the local highlight area in the local highlight display mode.

[0156] Optionally, in another embodiment of the present invention, the determining module 12 includes:

[0157] A calculation unit, configured to calculate a first grayscale weight coefficient based on the display information; wherein the first grayscale weight coefficient is i represents grayscale, k i Represents the grayscale coefficient of grayscale, N iRepresents the number of pixels displaying gray level i in the display area.

[0158] A determining unit is used to determine the target gamma curve based on the first grayscale weight coefficient.

[0159] The determining unit is specifically used for:

[0160] Pre-store a plurality of gamma curves in the display panel, the plurality of gamma curves including M highlight gamma curves and a basic gamma curve corresponding to the local highlight display mode; a display brightness corresponding to a first grayscale in any one of the M highlight gamma curves is greater than a display brightness corresponding to a first grayscale in the basic gamma curve, and a display brightness corresponding to a first grayscale in any two of the M highlight gamma curves is different, and M is a positive integer greater than or equal to 1;

[0161] Setting a plurality of value ranges based on the stored plurality of gamma curves, the number of the value ranges being K, K=M+1, and one value range corresponding to one gamma curve among the plurality of gamma curves;

[0162] Based on the value range of the first grayscale weight coefficient, a gamma curve corresponding to the data range is used as the target gamma curve.

[0163] Or, the determining unit is specifically used for:

[0164] A basic gamma curve corresponding to the local highlight display mode is pre-stored in the display panel.

[0165] The target gamma curve is determined based on the first grayscale weight coefficient and the basic gamma curve.

[0166] It should be noted that the principle of the control device provided in the embodiment of the present invention is the same as the principle of the control method provided in the above embodiment of the present invention, and will not be repeated here.

[0167] In another embodiment of the present invention, a computer-readable storage medium is provided, in which computer-executable instructions are stored. The computer-executable instructions are used to execute the control method of the display panel described in the above embodiment.

[0168] In another embodiment of the present invention, an electronic device is provided. Fig.18 , Fig.18 A schematic diagram of the hardware architecture of an electronic device provided by an embodiment of the present invention.

[0169] The electronic device includes: at least one processor 21 , and at least one memory 22 and a bus 23 connected to the processor 21 .

[0170] The processor 21 and the memory 22 communicate with each other via the bus 23 .

[0171] The processor 21 is used to call the program instructions in the memory 22 to execute the display panel control method described in the above embodiment.

[0172] The control method and control device of a display panel, a storage medium and an electronic device provided by the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principle and implementation mode of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

[0173] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0174] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device that includes a series of elements is inherent to the elements, or also includes elements inherent to these processes, methods, articles or devices. In the absence of further restrictions, the elements defined by the sentence "including a..." do not exclude the presence of other identical elements in the process, method, article or device that includes the elements.

[0175] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for controlling a display panel, characterized in that: The display mode of the display panel includes a normal display mode and a local highlight display mode, and the control method includes: In the local highlight display mode, obtaining display information of a display area in the display panel, the display information including a grayscale corresponding to each pixel and the number of pixels displaying the corresponding grayscale; Determining a target gamma curve based on the display information, wherein a difference between a display brightness corresponding to a grayscale in the target gamma curve and a target display brightness required for a pixel to display a corresponding grayscale in the local highlight display mode is within a predetermined range; Controlling pixels in the display area to display according to the target gamma curve; The determining a target gamma curve based on the display information comprises: Calculate the first grayscale weight coefficient based on the display information; wherein the first grayscale weight coefficient is G APL , i represents grayscale, k i Represents the grayscale coefficient of grayscale, N i represents the number of pixels displaying gray level i in the display area; The target gamma curve is determined based on the first grayscale weight coefficient.

2. The control method according to claim 1, characterized in that: The determining the target gamma curve based on the first grayscale weight coefficient includes: Pre-store a plurality of gamma curves in the display panel, the plurality of gamma curves including M highlight gamma curves and a basic gamma curve corresponding to the local highlight display mode; a display brightness corresponding to a first grayscale in any one of the M highlight gamma curves is greater than a display brightness corresponding to a first grayscale in the basic gamma curve, and a display brightness corresponding to a first grayscale in any two of the M highlight gamma curves is different, and M is a positive integer greater than or equal to 1; Setting a plurality of value ranges based on the stored plurality of gamma curves, the number of the value ranges being K, K=M+1, and one value range corresponding to one gamma curve among the plurality of gamma curves; Based on the value range of the first grayscale weight coefficient, a gamma curve corresponding to the value range is used as the target gamma curve.

3. The control method according to claim 1, characterized in that: The determining the target gamma curve based on the first grayscale weight coefficient includes: Pre-storing a basic gamma curve corresponding to the local highlight display mode in the display panel; The target gamma curve is determined based on the first grayscale weight coefficient and the basic gamma curve.

4. The control method according to claim 3, characterized in that: The determining the target gamma curve based on the first grayscale weight coefficient and the basic gamma curve includes: The target gamma curve is obtained by multiplying the brightness value corresponding to each grayscale on the basic gamma curve by the first grayscale weight coefficient.

5. A method for controlling a display panel, characterized in that: The display mode of the display panel includes a normal display mode and a local highlight display mode, and the control method includes: In the local highlight display mode, obtaining display information of a display area in the display panel, the display information including a grayscale corresponding to each pixel and the number of pixels displaying the corresponding grayscale; Determining a target gamma curve based on the display information, wherein a difference between a display brightness corresponding to a grayscale in the target gamma curve and a target display brightness required for a pixel to display a corresponding grayscale in the local highlight display mode is within a predetermined range; Controlling pixels in the display area to display according to the target gamma curve; The determining a target gamma curve based on the display information comprises: A first gamma curve and a second gamma curve are pre-stored in the display panel; a display brightness corresponding to a first grayscale in the first gamma curve is greater than a display brightness corresponding to the first grayscale in the second gamma curve; Obtaining the number of pixels in the display area whose grayscale displayed by the pixels is greater than a preset grayscale; Determining whether the number of pixels is less than a first set threshold; If yes, selecting the first gamma curve as the target gamma curve; If not, the second gamma curve is selected as the target gamma curve.

6. A method for controlling a display panel, characterized in that: The display mode of the display panel includes a normal display mode and a local highlight display mode, and the control method includes: In the local highlight display mode, obtaining display information of a display area in the display panel, the display information including a grayscale corresponding to each pixel and the number of pixels displaying the corresponding grayscale; Determining a target gamma curve based on the display information, wherein a difference between a display brightness corresponding to a grayscale in the target gamma curve and a target display brightness required for a pixel to display a corresponding grayscale in the local highlight display mode is within a predetermined range; Controlling pixels in the display area to display according to the target gamma curve; The determining a target gamma curve based on the display information comprises: Determine Y first display areas of the display panel, the display brightness of the Y first display areas is greater than the display brightness of the second display area, the second display area is other display areas of the display area except the first display area, and the grayscales displayed by the pixels in the Y first display areas are the same, which is the second grayscale; Determine two first display areas from the Y first display areas, where a distance between the two determined first display areas is greater than a second set threshold; Selecting any one of the two determined first display areas as a target display area; Calculate the first grayscale weight coefficient based on the display information; wherein the first grayscale weight coefficient is G APL , i represents grayscale, k i represents the grayscale coefficient of the grayscale. When i is not the second grayscale, N i represents the number of pixels in the display area that display grayscale i; when i is the second grayscale, N i represents the number of pixels displaying gray level i in the target display area; The target gamma curve is determined based on the first grayscale weight coefficient.

7. A method for controlling a display panel, characterized in that: The display mode of the display panel includes a normal display mode and a local highlight display mode, and the control method includes: In the local highlight display mode, obtaining display information of a display area in the display panel, the display information including a grayscale corresponding to each pixel and the number of pixels displaying the corresponding grayscale; Determining a target gamma curve based on the display information, wherein a difference between a display brightness corresponding to a grayscale in the target gamma curve and a target display brightness required for a pixel to display a corresponding grayscale in the local highlight display mode is within a predetermined range; Controlling pixels in the display area to display according to the target gamma curve; The determining a target gamma curve based on the display information comprises: Determine Y first display areas of the display panel, the display brightness of the Y first display areas is greater than the display brightness of the second display area, the second display area is other display areas of the display area except the first display area, and the grayscales displayed by pixels in the Y first display areas are different; Determine two first display areas from the Y first display areas, where a distance between the two determined first display areas is greater than a second set threshold; Selecting any one of the two determined first display areas as a target display area; Determine that the grayscale displayed by the pixels in the target display area is a third grayscale; Calculate the first grayscale weight coefficient based on the display information; wherein the first grayscale weight coefficient is G APL , i represents grayscale, k i represents the grayscale coefficient of the grayscale. When i is not the third grayscale, N i represents the number of pixels in the display area that display grayscale i; when i is the third grayscale, N i represents the number of pixels displaying gray level i in the target display area; The target gamma curve is determined based on the first grayscale weight coefficient.

8. A method for controlling a display panel, characterized in that: The display mode of the display panel includes a normal display mode and a local highlight display mode, and the control method includes: In the local highlight display mode, obtaining display information of a display area in the display panel, the display information including a grayscale corresponding to each pixel and the number of pixels displaying the corresponding grayscale; Determining a target gamma curve based on the display information, wherein a difference between a display brightness corresponding to a grayscale in the target gamma curve and a target display brightness required for a pixel to display a corresponding grayscale in the local highlight display mode is within a predetermined range; Controlling pixels in the display area to display according to the target gamma curve; The determining a target gamma curve based on the display information comprises: Determine H first display areas of the display panel, the display brightness of the H first display areas is greater than the display brightness of the second display areas, the second display areas are other display areas of the display area except the first display area, and the grayscales displayed by the pixels in the H first display areas are the same, which is the fourth grayscale; Calculate the first grayscale weight coefficient corresponding to each of the first display areas respectively to obtain H first grayscale weight coefficients G APL , i represents grayscale, k i represents the grayscale coefficient of the grayscale. When i is not the fourth grayscale, N i represents the number of pixels in the display area displaying grayscale i; when i is the fourth grayscale, N i represents the number of pixels displaying gray level i in the first display area; Determine a first grayscale weight coefficient from the H first grayscale weight coefficients as a final first grayscale weight coefficient; The target gamma curve is determined based on the final first grayscale weight coefficient.

9. A method for controlling a display panel, characterized in that: The display mode of the display panel includes a normal display mode and a local highlight display mode, and the control method includes: In the local highlight display mode, obtaining display information of a display area in the display panel, the display information including a grayscale corresponding to each pixel and the number of pixels displaying the corresponding grayscale; Determining a target gamma curve based on the display information, wherein a difference between a display brightness corresponding to a grayscale in the target gamma curve and a target display brightness required for a pixel to display a corresponding grayscale in the local highlight display mode is within a predetermined range; Controlling pixels in the display area to display according to the target gamma curve; The determining a target gamma curve based on the display information comprises: Determine H first display areas of the display panel, the display brightness of the H first display areas is greater than the display brightness of the second display area, the second display area is other display areas of the display area except the first display area, and the grayscales displayed by pixels in the H first display areas are different; Calculate the first grayscale weight coefficient corresponding to each of the first display areas respectively to obtain H first grayscale weight coefficients G APL , i represents grayscale, k i Represents the grayscale coefficient of the grayscale. When i is not the grayscale displayed by the pixel in the first display area currently calculated, N i represents the number of pixels displaying grayscale i in the display area; when i is the grayscale displayed by the pixels in the first display area currently calculated, N i represents the number of pixels displaying gray level i in the first display area currently calculated; Determine a first grayscale weight coefficient from the H first grayscale weight coefficients as a final first grayscale weight coefficient; The target gamma curve is determined based on the final first grayscale weight coefficient.

10. The control method according to claim 1, characterized in that: When controlling the pixels in the display area to display according to the target gamma curve, the control method further includes: The voltage drop compensation function of the display panel is stopped.

11. The control method according to claim 1, characterized in that: After controlling the pixels in the display area to display according to the target gamma curve, the control method further includes: The brightness of the display area is adjusted according to the target gamma curve.

12. A control device for a display panel, characterized in that: The display mode of the display panel includes a normal display mode and a local highlight display mode, and the control device includes: An acquisition module, configured to acquire display information of a display area in the display panel in the local highlight display mode, wherein the display information includes a grayscale corresponding to each pixel and the number of pixels displaying the corresponding grayscale; A determination module, configured to determine a target gamma curve based on the display information, wherein a difference between a display brightness corresponding to a grayscale in the target gamma curve and a target display brightness required for a pixel to display a corresponding grayscale in the local highlight display mode is within a predetermined range; A control module, used for controlling the pixels in the display area to display according to the target gamma curve; The determination module comprises: A calculation unit is used to calculate a first grayscale weight coefficient based on the display information; wherein the first grayscale weight coefficient is G APL , i represents grayscale, k i Represents the grayscale coefficient of grayscale, N i represents the number of pixels displaying gray level i in the display area; A determining unit is used to determine the target gamma curve based on the first grayscale weight coefficient.

13. The control device according to claim 12, characterized in that: The determining unit is specifically used for: Pre-store a plurality of gamma curves in the display panel, the plurality of gamma curves including M highlight gamma curves and a basic gamma curve corresponding to the local highlight display mode; a display brightness corresponding to a first grayscale in any one of the M highlight gamma curves is greater than a display brightness corresponding to a first grayscale in the basic gamma curve, and a display brightness corresponding to a first grayscale in any two of the M highlight gamma curves is different, and M is a positive integer greater than or equal to 1; Setting a plurality of value ranges based on the stored plurality of gamma curves, the number of the value ranges being K, K=M+1, and one value range corresponding to one gamma curve among the plurality of gamma curves; Based on the value range of the first grayscale weight coefficient, a gamma curve corresponding to the value range is used as the target gamma curve.

14. The control device according to claim 12, characterized in that: The determining unit is specifically used for: Pre-storing a basic gamma curve corresponding to the local highlight display mode in the display panel; The target gamma curve is determined based on the first grayscale weight coefficient and the basic gamma curve.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to execute the control method described in any one of claims 1-11.

16. An electronic device, characterized in that: The electronic device comprises: at least one processor, and at least one memory and a bus connected to the processor; Wherein, the processor and the memory communicate with each other through the bus; The processor is used to call the program instructions in the memory to execute the control method described in any one of claims 1-11.

Citation Information

Patent Citations

  • Image processing method and device, computer readable medium and terminal equipment

    CN111770282A

  • Display screen optical external compensation method and device and storage medium

    CN112562576A