Display driving method, device, equipment and computer-readable storage medium
By selecting the target gamma curve display screen in the display panel, the problem that the display panel cannot accurately restore the image in high-brightness scenarios is solved, and the brightness is improved without increasing the power supply driving capacity, saving costs.
Patent Information
- Application Number
- CN202210938551.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-05
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2042-08-05
AI Technical Summary
The display panel cannot accurately restore images in high-brightness scenarios, and the prior art needs to improve driving capabilities, resulting in increased costs and waste of resources.
By acquiring the current display mode of the display panel, selecting the target gamma curve or the first gamma curve display screen, the brightness corresponding to the target gamma curve is greater than the first gamma curve, and the peak brightness is increased without increasing the driving capacity of the power supply.
Under the same grayscale, the target gamma curve display screen increases the peak brightness of the display panel, avoiding the need to increase the driving capacity of the power supply and saving costs.
Smart Images

Figure CN115311973B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display, and in particular to a display driving method, apparatus, device, and computer-readable storage medium. Background Art
[0002] With the rapid development of display technology, consumers' requirements for display quality are getting higher and higher.
[0003] The function of a display panel is to reproduce the captured scene as realistically as possible, but due to various limitations, the actual scene it can display is far less than the expected effect. For example, in some scenes, the peak brightness of the display panel is lower than its maximum display value, resulting in the display panel being unable to accurately reproduce the highlights of the image. Summary of the Invention
[0004] The present application provides a display driving method, apparatus, device, and computer-readable storage medium to improve the problem that a display panel cannot accurately restore the highlight portion of an image.
[0005] In a first aspect, an embodiment of the present application provides a display driving method, which includes: obtaining a current display mode of a display panel; if the current display mode is a target display mode, causing the display panel to display a picture based on a target gamma curve; if the current display mode is not the target display mode, causing the display panel to display a picture based on a first gamma curve; wherein, at the same grayscale, the brightness corresponding to the target gamma curve is greater than the brightness corresponding to the first gamma curve.
[0006] In some embodiments, if the current display mode is the target display mode, before causing the display panel to display the picture based on the target gamma curve, the display driving method also includes: obtaining the current average grayscale of the display panel, wherein the current average grayscale is determined based on the average grayscale of each pixel of the display panel; selecting a second gamma curve from a plurality of preset second gamma curves as the target gamma curve, wherein the average grayscales corresponding to the plurality of preset second gamma curves are different, the second average grayscale corresponding to the selected second gamma curve is less than or equal to the current average grayscale, and the maximum driving current corresponding to each second gamma curve is less than or equal to the maximum power supply current of the power supply of the display panel.
[0007] In some embodiments, before the step of selecting a second gamma curve from a plurality of preset second gamma curves as a target gamma curve, the method further includes: obtaining a current driving current of the display panel; selecting a second gamma curve from a plurality of preset second gamma curves as the target gamma curve includes: a difference between a maximum driving current corresponding to the selected second gamma curve and the current driving current is greater than or equal to a first threshold range.
[0008] In some embodiments, a second gamma curve is selected from a plurality of preset second gamma curves as a target gamma curve, including: comparing the maximum driving current and the current driving current corresponding to the second gamma curve in the direction from small to large of the second average grayscale, and selecting a second gamma curve with the smallest second average grayscale from a plurality of preset second gamma curves as the target gamma curve.
[0009] In some embodiments, before obtaining the current display mode of the display panel, for any second gamma curve, the display driving method further includes: setting the average grayscale corresponding to the second gamma curve and the initial peak brightness corresponding to the maximum grayscale of the display panel in the second gamma curve, wherein the initial peak brightness is greater than the brightness corresponding to the maximum grayscale in the first gamma curve; if based on the initial peak brightness, the maximum driving current corresponding to the second gamma curve is greater than the maximum power supply current of the power supply of the display panel, adjusting the initial peak brightness until the maximum driving current corresponding to the second gamma curve is less than the maximum power supply current of the power supply of the display panel based on the adjusted initial peak brightness; and using the adjusted initial peak brightness as the brightness corresponding to the maximum grayscale in the second gamma curve.
[0010] In some embodiments, the current average grayscale of the display panel is obtained at intervals of a first preset time duration.
[0011] In some embodiments, the first preset time length h satisfies: 0.5s≤h≤5s.
[0012] In a second aspect, an embodiment of the present application provides a display driving device, comprising an acquisition module and a display driving module; the acquisition module is used to acquire the current display mode of the display panel; the display driving module is used to enable the display panel to display the picture based on the target gamma curve if the current display mode is the target display mode; if the current display mode is not the target display mode, enable the display panel to display the picture based on the first gamma curve, wherein, at the same grayscale, the brightness corresponding to the target gamma curve is greater than the brightness corresponding to the first gamma curve.
[0013] In a third aspect, an embodiment of the present application provides a display driver device, which includes a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, it implements the display driver method provided in any of the above embodiments.
[0014] The display driving method, apparatus, device, and computer-readable storage medium provided by the embodiments of the present application enable the display panel to display an image based on a target gamma curve when the display panel is in a target display mode, wherein the target average grayscale is less than the maximum average grayscale corresponding to the first gamma curve, and at the same grayscale, the brightness corresponding to the target gamma curve is greater than the brightness corresponding to the first gamma curve. In this way, when the display panel is operating in the target display mode, by enabling the display panel to display an image based on the target gamma curve, the peak brightness of the image displayed by the display panel can be effectively increased without increasing the driving capability of the power supply. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The following describes the features, advantages, and technical effects of the exemplary embodiments of the present application with reference to the accompanying drawings. In the accompanying drawings, the same reference numerals are used for the same components. The accompanying drawings are not drawn to scale.
[0016] Figure 1 A schematic flow chart of a display driving method provided in one embodiment of the present application;
[0017] Figure 2 A schematic flow chart of a display driving method provided in another embodiment of the present application;
[0018] Figure 3 Gamma curves at different average grayscales in the display driving method provided in an embodiment of the present application, wherein the horizontal axis represents grayscale and the vertical axis represents brightness;
[0019] Figure 4 A schematic flow chart of a display driving method provided in yet another embodiment of the present application;
[0020] Figure 5 A schematic structural diagram of a display panel driven by a display driving method provided according to an embodiment of the present application;
[0021] Figure 6 A schematic flow chart of a display driving method provided in another embodiment of the present application;
[0022] Figure 7 A schematic structural diagram of a display driving device provided in an embodiment of the present application;
[0023] Figure 8 A schematic diagram of the structure of a display driver device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In the detailed description below, many specific details are set forth in order to provide a comprehensive understanding of the present application. However, it will be apparent to those skilled in the art that the present application can be implemented without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present application by illustrating examples of the present application. In the accompanying drawings and the following description, at least some of the well-known structures and technologies are not shown in order to avoid unnecessary ambiguity in the present application; and, for clarity, the sizes of some structures may be exaggerated. In addition, the features, structures, or characteristics described below may be combined in any suitable manner in one or more embodiments.
[0025] In addition, for the sake of understanding and ease of description, the size and thickness of each configuration shown in the figures are arbitrarily shown, but the concept of the present application is not limited thereto. In the figures, the thickness of layers, films, panels, and regions, etc., are exaggerated for clarity. In the figures, the thickness of some layers and regions is exaggerated for better understanding and ease of description.
[0026] It will be understood that when an element such as a layer, film, region, or substrate is described as being “on” another element, the element may be directly on the other element or intervening elements may be present. In contrast, when an element is described as being “directly on” another element, no intervening elements are present. Furthermore, throughout this specification, the term “on” a target element indicates positioning above or below the target element and does not necessarily indicate positioning “at the upper side” based on the direction of gravity.
[0027] In addition, unless explicitly described to the contrary, the word “comprise” will be understood to imply the inclusion of stated elements but not the exclusion of any other elements.
[0028] Before describing the technical solutions provided by the embodiments of the present application, in order to facilitate understanding of the embodiments of the present application, the present application first specifically describes the problems existing in the related art:
[0029] When displaying images on electronic devices such as mobile phones and tablets, the display panel is subject to a limit on the driving current of each pixel of the display panel due to the power supply specifications of the display panel. Consequently, the maximum display brightness of the display panel at each grayscale is also limited. In related technologies, to increase the brightness of the display panel, it is usually necessary to increase the driving capability of the display panel. This will increase the cost of the display panel. In most application scenarios, a higher driving capability is not required, which also results in a certain amount of resource waste.
[0030] After a series of systematic analysis and research, the inventors found that the display panel in the relevant technology usually includes a gamma curve, and in order to ensure that the display panel can display the image normally at the maximum average grayscale, the gamma curve is usually debugged at the maximum average grayscale. In this way, when the display panel displays an image with a lower average grayscale, even if the driving capability of the driving power supply of the display panel still has room for improvement, that is, the driving current of each pixel of the display panel can be further improved to increase the display brightness of each pixel, but due to the limitation of the maximum driving current of the gamma curve, the driving current of each pixel of the display panel cannot be further increased, thus limiting the improvement of the brightness of the display panel at low average grayscale.
[0031] Embodiments of the present application provide a display driving method, apparatus, device, and computer-readable storage medium. The following describes various embodiments of the display driving method, apparatus, device, and computer-readable storage medium in conjunction with the accompanying drawings.
[0032] like Figure 1 As shown, the display driving method provided according to the embodiment of the present application includes steps S10 and S20:
[0033] S10, obtaining the current display mode of the display panel;
[0034] S20, if the current display mode is the target display mode, causing the display panel to display the image based on the target gamma curve;
[0035] S70: If the current display mode is not the target display mode, causing the display panel to display the image based on the first gamma curve;
[0036] Wherein, at the same gray scale, the brightness corresponding to the target gamma curve is greater than the brightness corresponding to the first gamma curve.
[0037] Specifically, the target gamma curve is determined based on the target average grayscale. The first gamma curve is determined based on the maximum average grayscale. The target average grayscale and the maximum average grayscale are determined based on the average grayscale of each pixel. The target average grayscale is less than the maximum average grayscale. The maximum driving current corresponding to the target gamma curve is less than or equal to the power supply current of the power supply of the display panel.
[0038] The specific implementation of the above S10, S20 and S70 will be introduced below.
[0039] The display driving method provided in an embodiment of the present application causes the display panel to display images based on a target gamma curve when the display panel is in a target display mode. At the same grayscale, the brightness corresponding to the target gamma curve is greater than the brightness corresponding to the first gamma curve. Thus, when the display panel is operating in the target display mode, by causing the display panel to display images based on the target gamma curve, the peak brightness of the image displayed by the display panel can be effectively increased without increasing the driving capability of the power supply.
[0040] Exemplarily, the display mode of the display panel may include a conventional display mode or a target display mode. Optionally, the conventional display mode may be an application scenario with lower requirements on the brightness of the screen, such as browsing web pages, displaying images or chat interfaces, while the target display mode may be an HDR (High Dynamic Range) display mode, such as application scenarios such as video playback.
[0041] When operating in the normal display mode, the display panel may operate based on the first gamma curve, and when the current display mode is the target display mode, the display panel starts to display images using the target gamma curve.
[0042] The average grayscale (Average Pixel Luminance, APL) described in this application is determined based on the grayscale value of each pixel of the image displayed by the display panel. For example, the display panel is an 8-bit display panel, that is, the display panel has 256 grayscale levels from 0 to 255, and the calculation formula for the average grayscale can be APL=g / 255, where g is the average grayscale value of each pixel of the image displayed by the display panel. In this way, the average grayscale of any image of the display panel is a value between 0 and 1. When the average grayscale of the display panel is 1, each sub-pixel of the display panel displays 255 grayscales.
[0043] Specifically, during gamma debugging to obtain the target gamma curve, the brightness of the display panel at the maximum grayscale can be set based on the maximum brightness corresponding to the first gamma curve. This brightness is greater than the maximum brightness corresponding to the first gamma curve and does not exceed the maximum supply current of the power supply. Then, the brightness corresponding to any other grayscale is calculated according to the following formula:
[0044]
[0045] Among them, L gray Indicates the brightness when the target grayscale is Gray, L w Indicates the brightness when the grayscale is maximum, max indicates the maximum grayscale of the display panel, γ indicates the index corresponding to the gamma curve of the display panel, and Gray indicates the target grayscale.
[0046] For example, the maximum grayscale of the display panel may be 255, and the exponent corresponding to the gamma curve of the display panel may be 2.2.
[0047] Because the target average grayscale corresponding to the target gamma curve is lower than the maximum average grayscale corresponding to the first gamma curve, under the same grayscale and power supply conditions, the allowable driving current for each sub-pixel when the display panel is based on the target gamma curve can be greater than the allowable driving current for each sub-pixel when the display panel is based on the first gamma curve. In this way, when the display panel is based on the target gamma curve, the peak brightness of each sub-pixel can be increased, thereby increasing the peak brightness of the display panel.
[0048] When the display panel displays images based on the target gamma curve, in order to make it operate within the driving capability of the power supply, the maximum driving current corresponding to the target gamma curve can be set to be less than or equal to the maximum supply current of the power supply of the display panel.
[0049] Optionally, the memory corresponding to the display panel may store a preset gamma curve with an average grayscale less than the maximum average grayscale, and the maximum driving current corresponding to the preset gamma curve is less than or equal to the maximum power supply current of the display panel's power supply. In this way, when the display panel is in the target display mode, the preset gamma curve may be directly used as the target gamma curve. Of course, the memory corresponding to the display panel may store multiple preset gamma curves with an average grayscale less than the maximum average grayscale, and the maximum driving current corresponding to each preset gamma curve is less than or equal to the maximum power supply current of the display panel's power supply. In this way, when the display panel is in the target display mode, one of these preset gamma curves may be selected as the target gamma curve.
[0050] When the current display mode of the display panel is not the target display mode, since the user's demand for the brightness of the display panel is not that high, in order to ensure that the display panel can display the picture normally under all average grayscales, the display panel is set to display the picture based on the gamma curve corresponding to the maximum average grayscale, that is, to display the picture based on the first gamma curve.
[0051] With such an arrangement, the display panel can display images normally without exceeding the power supply capacity of the display panel.
[0052] In some embodiments, as Figure 2 As shown, if the current display mode is the target display mode, before the display panel is caused to display the picture based on the target gamma curve, the display driving method further includes steps S30 and S40.
[0053] S30 . Obtain a current average grayscale of the display panel, wherein the current average grayscale is determined according to an average grayscale of each pixel of the display panel.
[0054] S40. Select a second gamma curve from a plurality of preset second gamma curves as a target gamma curve, wherein the second average grayscales corresponding to the plurality of preset second gamma curves are different, the second average grayscale corresponding to the selected second gamma curve is less than or equal to the current average grayscale, and the maximum driving current corresponding to each second gamma curve is less than or equal to the maximum power supply current of the power supply of the display panel.
[0055] Specifically, the current average grayscale is calculated according to the grayscale of each pixel of the image currently displayed on the display panel.
[0056] When the display panel is in the target display mode, one of the multiple second gamma curves is selected as the target gamma curve based on the current average grayscale, and the second average grayscale corresponding to the selected second gamma curve is less than or equal to the current average grayscale. Since the second average grayscale is less than or equal to the current average grayscale, when the display panel displays images based on the second gamma curve, the peak brightness of the display panel is further improved.
[0057] The plurality of second gamma curves may be a set of discrete values between 0 and 1, and the corresponding average grayscales may be 0.1, 0.15, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7 and 0.8. Figure 3 The gamma curves of the display panel with average grayscales of 1, 0.8, 0.5 and 0.15 are shown. Figure 3 It can be seen that at the same grayscale, the smaller the average grayscale corresponding to the second gamma curve is, the greater the brightness is. Figure 3 In the figure, the horizontal axis represents the grayscale and the vertical axis represents the brightness value. For example, the brightness unit represented by the vertical axis may be nit. In addition, in the embodiment of the present application, the exponents corresponding to the various gamma curves may be the same. For example, the exponents corresponding to the first gamma curve and the second gamma curve may both be 2.2.
[0058] Optionally, there may be one or more second gamma curves whose second average grayscale is less than or equal to the current average grayscale. In an embodiment where there are multiple second gamma curves whose second average grayscale is less than or equal to the current average grayscale, any one of the second gamma curves may be selected as the target gamma curve.
[0059] For example, the plurality of second gamma curves may be stored in a memory of the display panel and may be directly used when in use.
[0060] In some embodiments, as Figure 4 As shown, before S40, the display driving method may further include S50.
[0061] S50: Acquire the current driving current of the display panel.
[0062] Correspondingly, S40 may specifically include: a difference between the maximum driving current corresponding to the selected second gamma curve and the current driving current is greater than or equal to a first threshold range.
[0063] For example, Figure 5 As shown, the display panel 500 may include a display module 501, a power supply 502, a driver chip 503, and a current sensor 504. The driver chip 503 may be used to drive each sub-pixel of the display module 501 to emit light. The power supply 502 and the driver chip 503 may transmit signals to each other to control the normal operation of the driver chip 503. The current sensor 504 may be used to obtain the current driving current of the driver chip 503, thereby obtaining the current driving current of the display panel 500.
[0064] When the display panel operates in the target display mode, before selecting the target gamma curve, for example, the current driving current of the display panel may be obtained through the current sensor 504 .
[0065] Optionally, in the process of selecting the current target gamma curve, in some optional embodiments, the current driving current can be compared one by one with the maximum driving currents of multiple second gamma curves. If the difference between the maximum driving current of the compared second gamma curve and the current driving current is greater than or equal to the first threshold range, then the second gamma curve can be used as the target gamma curve. Otherwise, continue to compare the maximum driving currents corresponding to other second gamma curves with the current driving current, and repeat this cycle until the difference between the maximum driving current corresponding to the compared second gamma curve and the current driving current is greater than or equal to the first threshold range, then the second gamma curve is the target gamma curve.
[0066] During the comparison process, the comparison can be made in the order of the second average grayscale corresponding to the second gamma curve from low to high, or in the order of the second average grayscale corresponding to the second gamma curve from high to low, or in any order, which can be selected according to needs, and there is no restriction here.
[0067] In other embodiments, after completing the comparison of the current driving current with the maximum driving current of all second gamma curves, multiple second gamma curves whose corresponding maximum driving current and the current driving current have a difference greater than or equal to the first threshold range can be obtained, and a second gamma curve can be selected from the multiple second gamma curves that meet the conditions as the target gamma curve, wherein the selected second gamma curve can be the second gamma curve with the smallest corresponding second average grayscale, or can be the second gamma curve with the largest corresponding second average grayscale.
[0068] In some embodiments, S40, a second gamma curve is selected from a plurality of preset second gamma curves as a target gamma curve, including: comparing the maximum driving current and the current driving current corresponding to the second gamma curve in the direction from small to large of the second average grayscale, and selecting a second gamma curve with the smallest second average grayscale from a plurality of preset second gamma curves as the target gamma curve.
[0069] That is, when comparing the maximum driving current corresponding to the second gamma curve with the current driving current, the comparisons are performed one by one, starting from the second gamma curve corresponding to the smaller second average grayscale, until a second gamma curve meeting the preset condition is found.
[0070] In this way, while satisfying the driving capability of the display panel's power supply, selecting the second gamma curve with the smallest corresponding second average grayscale as the target gamma curve facilitates further improving the display brightness of the display panel in the target display mode. Furthermore, by comparing the second average grayscales from smallest to largest, the display panel's processor does not need to perform as many comparisons, which helps improve calculation speed and rapidly increase the brightness of the display panel in the target display mode.
[0071] In some embodiments, as Figure 6 As shown, before S10, obtaining the current display mode of the display panel, for any second gamma curve, the display driving method further includes:
[0072] S61, setting a second average grayscale corresponding to the second gamma curve and an initial peak brightness corresponding to the maximum grayscale of the display panel on the second gamma curve, wherein the initial peak brightness is greater than the brightness corresponding to the maximum grayscale on the first gamma curve;
[0073] S62. If, based on the initial peak brightness, the maximum driving current corresponding to the second gamma curve is greater than the maximum supply current of the power supply of the display panel, adjust the initial peak brightness until, based on the adjusted initial peak brightness, the maximum driving current corresponding to the second gamma curve is less than the maximum supply current of the power supply of the display panel.
[0074] S63 , using the adjusted initial peak brightness as the brightness corresponding to the second gamma curve at the maximum grayscale.
[0075] It is understandable that after determining the brightness of the second gamma curve at the maximum grayscale, the brightness of the second gamma curve at other grayscales can be calculated according to the formula introduced above, so that a complete second gamma curve can be obtained.
[0076] Optionally, there may be one or more second gamma curves. In an embodiment where there is only one second gamma curve, the brightness of the maximum grayscale corresponding to the second gamma curve is greater than the brightness corresponding to the first gamma curve.
[0077] In embodiments where there are multiple second gamma curves, the brightness corresponding to the maximum grayscale of the second gamma curve increases as the second average grayscale corresponding to the second gamma curve decreases. When determining the second gamma curve, the process can be performed from large to small according to the second average grayscale corresponding to the second gamma curve. After determining the brightness corresponding to a second gamma curve corresponding to a maximum grayscale, the initial peak brightness of the next second gamma curve corresponding to the maximum grayscale is greater than the brightness of the previously determined second gamma curve.
[0078] During the process of adjusting the initial peak brightness, if, based on the initial peak brightness, the maximum driving current corresponding to the second gamma curve is greater than the maximum supply current of the power supply of the display panel, the adjusted new initial peak brightness is less than the original initial peak brightness, and the difference between the two can be determined based on actual conditions. If, based on the adjusted initial peak brightness, the maximum driving current corresponding to the second gamma curve is less than the supply current of the display panel, the adjusted initial peak brightness can be used as the brightness corresponding to the maximum grayscale on the second gamma curve.
[0079] Alternatively, the initial peak brightness can be further adjusted according to the principle of least squares method so that it is between the previous two initial peak brightnesses until the maximum brightness corresponding to the maximum power supply current is found, where the maximum driving current is less than the power supply current of the display panel. This can further improve the brightness corresponding to the second gamma curve at each grayscale.
[0080] Optionally, after the target gamma curve is selected, when the display panel is in the target display mode, the display panel can always display the picture based on the same gamma curve, or it can constantly redefine the target gamma curve as the display picture of the display panel changes and the current average grayscale changes. Of course, the target gamma curve can also be redetermined after a period of time.
[0081] In some embodiments, the current average grayscale of the display panel is obtained at intervals of a first preset time duration.
[0082] Optionally, the first preset duration may be any desired duration, and a specific value of the first preset duration may be set according to parameters such as a refresh rate of the display panel.
[0083] In this way, the display panel calculates the current average grayscale every first preset time interval and reselects the target gamma curve based on the current average grayscale value, so as to further improve the display brightness of the display panel in the target display mode while meeting the driving capability of the power supply of the display panel.
[0084] In some embodiments, the first preset time length h satisfies: 0.5s≤h≤5s.
[0085] Optionally, h can be 0.5s, 1s, 1.5s, 2s, 3s, 4s or 5s, etc.
[0086] Setting the first preset duration to satisfy the above relationship is conducive to adjusting the corresponding gamma curve in real time according to the average grayscale of the picture displayed by the display panel, so as to maximize the peak brightness under the driving capability of the display panel.
[0087] like Figure 7 As shown, an embodiment of the present application further provides a display driver device 800, which includes an acquisition module 801 and a display driver module 802. The acquisition module 801 is used to obtain the current display mode of the display panel. The display driver module 802 is used to cause the display panel to display an image based on a target gamma curve if the current display mode is the target display mode, and to cause the display panel to display an image based on a first gamma curve if the current display mode is not the target display mode. In this case, at the same grayscale, the brightness corresponding to the target gamma curve is greater than the brightness corresponding to the first gamma curve.
[0088] The target gamma curve is determined based on a target average grayscale, and the first gamma curve is determined based on a maximum average grayscale. The target average grayscale and the maximum average grayscale are determined based on the average grayscale of each pixel, the target average grayscale is less than the maximum average grayscale, and the maximum drive current corresponding to the target gamma curve is less than or equal to the maximum supply current of the power supply of the display panel.
[0089] In the display driver device provided by an embodiment of the present application, when an acquisition module determines that the current operating mode of the display panel is the target display mode, the display driver module causes the display panel to display an image based on a target gamma curve, with the target average grayscale being less than the maximum average grayscale corresponding to the first gamma curve, and at the same grayscale, the brightness corresponding to the target gamma curve being greater than the brightness corresponding to the first gamma curve. Thus, when the display panel operates in the target display mode, by causing the display panel to display an image based on the target gamma curve, the peak brightness of the image displayed by the display panel can be effectively increased without increasing the driving capability of the power supply.
[0090] In some optional embodiments, the acquisition module 801 is further configured to: acquire a current average grayscale of the display panel, wherein the current average grayscale is determined based on the average grayscale of each pixel of the display panel. The display driving module 802 is further configured to: select a second gamma curve from a plurality of preset second gamma curves as a target gamma curve, wherein the second average grayscale corresponding to the selected second gamma curve is less than or equal to the current average grayscale, and the maximum driving current corresponding to each second gamma curve is less than or equal to the maximum supply current of the power supply of the display panel.
[0091] In some optional embodiments, the acquisition module 801 is specifically configured to: acquire a current driving current of the display panel. The display driving module 802 is further configured to select a second gamma curve from a plurality of preset second gamma curves as a target gamma curve, wherein the difference between the maximum driving current corresponding to the selected second gamma curve and the current driving current is greater than or equal to a first threshold range.
[0092] In some optional embodiments, the display driving module 802 is specifically used to: compare the maximum driving current and the current driving current corresponding to the second gamma curve according to the direction from small to large of the second average grayscale, and select a second gamma curve with the smallest second average grayscale from multiple preset second gamma curves as the target gamma curve.
[0093] In some optional embodiments, the display driver module 802 is further configured to set a second average grayscale corresponding to the second gamma curve and an initial peak brightness corresponding to the maximum grayscale of the display panel on the second gamma curve, wherein the initial peak brightness is greater than the brightness corresponding to the maximum grayscale on the first gamma curve. If, based on the initial peak brightness, the maximum driving current corresponding to the second gamma curve is greater than the maximum power supply current of the power supply of the display panel, the display driver module 802 is further configured to adjust the initial peak brightness until, based on the adjusted initial peak brightness, the maximum driving current corresponding to the second gamma curve is less than the maximum power supply current of the power supply of the display panel. The display driver module 802 is further configured to use the adjusted initial peak brightness as the brightness corresponding to the maximum grayscale on the second gamma curve.
[0094] In some optional embodiments, the acquisition module 801 is specifically configured to acquire the current average grayscale of the display panel at intervals of a first preset time duration.
[0095] In some optional embodiments, if the current display mode is not the target display mode, the display driving module 802 is further configured to: enable the display panel to display images based on the first gamma curve.
[0096] like Figure 8 A schematic diagram of the hardware structure of a display driver device provided in an embodiment of the present application is shown.
[0097] The display driver device provided according to an embodiment of the present application may include a processor 901 and a memory 902 storing computer program instructions.
[0098] Specifically, the processor 901 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.
[0099] The memory 902 may include a large-capacity memory for data or instructions. By way of example and not limitation, the memory 902 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 902 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 902 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 902 is a non-volatile solid-state memory. In a specific embodiment, the memory 902 includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these. Exemplarily, the memory may include a non-volatile transient memory.
[0100] The processor 901 reads and executes computer program instructions stored in the memory 902 to implement any one of the display driving methods in the above embodiments.
[0101] In one example, the display driver device may further include a communication interface 903 and a bus 910. Figure 8 As shown, the processor 901 , the memory 902 , and the communication interface 903 are connected via a bus 910 and communicate with each other.
[0102] The communication interface 903 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiment of the present invention.
[0103] Bus 910 comprises hardware, software or both, and the parts of compensation voltage determination device are coupled together.For example, and not limitation, bus can comprise accelerated graphics port (AGP) or other graphics bus, enhanced industry standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industry standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more above these combination.In suitable case, bus 910 can comprise one or more buses.Although the embodiment of the present invention describes and shows specific bus, the present invention considers any suitable bus or interconnection.
[0104] The display driving device can execute the display driving method in the embodiment of the present application, thereby realizing the combination Figure 1 and Figure 7 The display driving method and display driving device are described.
[0105] The present application also provides a computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program can implement the display driving method of the above-mentioned embodiment and achieve the same technical effect. To avoid repetition, the above-mentioned computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc., and is not limited here.
[0106] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link via a data signal carried in a carrier wave. "Computer-readable medium" can include any medium capable of storing or transmitting information. Examples of computer-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memories, erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0107] According to an embodiment of the present application, the computer-readable storage medium may be a non-transitory computer-readable storage medium.
[0108] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps. In other words, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0109] Aspects of the present application have been described above with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed via the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. This processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit. It is also understood that each box in the block diagram and / or the flowchart and the combination of the boxes in the block diagram and / or the flowchart can also be implemented by the dedicated hardware that performs the specified function or action, or can be implemented by the combination of dedicated hardware and computer instructions.
[0110] While the embodiments described above are not exhaustive, they do not limit the present application to the specific embodiments described. Clearly, numerous modifications and variations are possible based on the above description. These embodiments are selected and described in detail in this specification to better explain the principles and practical applications of the present application, thereby enabling those skilled in the art to better utilize the present application and its modifications. The present application is limited only by the claims and their full scope and equivalents.
[0111] Although the present application has been described with reference to preferred embodiments, various modifications may be made thereto and components may be substituted with equivalents without departing from the scope of the present application. In particular, the various technical features described in the various embodiments may be combined in any manner as long as there are no structural conflicts. The present application is not limited to the specific embodiments disclosed herein, but encompasses all technical solutions within the scope of the claims.
Claims
1. A display driving method, characterized in that: include: Get the current display mode of the display panel; If the current display mode is the target display mode, causing the display panel to display an image based on a target gamma curve; If the current display mode is not the target display mode, causing the display panel to display an image based on a first gamma curve; Wherein, at the same grayscale, the brightness corresponding to the target gamma curve is greater than the brightness corresponding to the first gamma curve; If the current display mode is the target display mode, before causing the display panel to display an image based on the target gamma curve, the method further includes: Acquiring a current average grayscale of the display panel, wherein the current average grayscale is determined according to the grayscale of each pixel of the display panel; Selecting a second gamma curve from a plurality of preset second gamma curves as the target gamma curve; wherein, the second average grayscales corresponding to the plurality of preset second gamma curves are different, the second average grayscale corresponding to the selected second gamma curve is less than or equal to the current average grayscale, and the maximum driving current corresponding to each second gamma curve is less than or equal to the maximum supply current of the power supply of the display panel; Before selecting a second gamma curve from a plurality of preset second gamma curves as the target gamma curve, the method further includes: Acquiring a current driving current of the display panel; The selecting a second gamma curve from a plurality of preset second gamma curves as the target gamma curve comprises: A difference between the maximum driving current corresponding to the selected second gamma curve and the current driving current is greater than or equal to a first threshold range.
2. The display driving method according to claim 1, wherein: The selecting a second gamma curve from a plurality of preset second gamma curves as the target gamma curve includes: According to the direction of the second average grayscale from small to large, the maximum driving current corresponding to the second gamma curve and the current driving current are compared, and a second gamma curve with the minimum second average grayscale is selected from multiple preset second gamma curves as the target gamma curve.
3. The display driving method according to claim 1, wherein: Before acquiring the current display mode of the display panel, for any second gamma curve, the method further includes: Setting a second average grayscale corresponding to the second gamma curve and an initial peak brightness corresponding to the maximum grayscale of the display panel on the second gamma curve, wherein the initial peak brightness is greater than the peak brightness corresponding to the maximum grayscale on the first gamma curve; If, based on the initial peak brightness, the maximum driving current corresponding to the second gamma curve is greater than the maximum supply current of the power supply of the display panel, adjusting the initial peak brightness until, based on the adjusted initial peak brightness, the maximum driving current corresponding to the second gamma curve is less than the maximum supply current of the power supply of the display panel; The adjusted initial peak brightness is used as the peak brightness corresponding to the maximum grayscale on the second gamma curve.
4. The display driving method according to claim 1, wherein: The current average grayscale of the display panel is obtained at intervals of a first preset time length.
5. The display driving method according to claim 4, wherein: The first preset time length h satisfies: 0.5s≤h≤5s.
6. A display driving device, characterized in that: include: An acquisition module, used to obtain the current display mode of the display panel; a display driver module configured to cause the display panel to display an image based on a target gamma curve if the current display mode is a target display mode, and to cause the display panel to display an image based on a first gamma curve if the current display mode is not the target display mode; wherein, at the same grayscale, the brightness corresponding to the target gamma curve is greater than the brightness corresponding to the first gamma curve; The acquisition module is specifically used to: acquire a current average grayscale of the display panel, wherein the current average grayscale is determined according to the average grayscale of each pixel of the display panel; The display driving module is specifically configured to: select a second gamma curve from a plurality of preset second gamma curves as a target gamma curve, wherein a second average grayscale corresponding to the selected second gamma curve is less than or equal to a current average grayscale, and a maximum driving current corresponding to each second gamma curve is less than or equal to a maximum supply current of a power supply of the display panel; The acquisition module is specifically used to: obtain the current driving current of the display panel; The display driving module is specifically configured to select a second gamma curve from a plurality of preset second gamma curves as a target gamma curve, and the difference between the maximum driving current corresponding to the selected second gamma curve and the current driving current is greater than or equal to a first threshold range.
7. A display driver device, characterized in that: The device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the display driving method according to any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the display driving method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Organic light-emitting diode display and method for driving the same
CN104134422A