Control Method, Device and Electronic Device of Display Panel
By dividing the display panel into multiple blocks in staggered distribution and determining the decay factor of large blocks based on the decay factor of small-size blocks, the problem of improving the fineness of the display panel compensation while saving storage space is achieved, reducing costs and improving user experience.
Patent Information
- Application Number
- CN202211468123.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-22
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2042-11-22
AI Technical Summary
While improving the fineness of the display panel compensation, the prior art is difficult to save memory storage space, resulting in increased costs and poor user experience.
By dividing the display panel into a plurality of first-class blocks and a plurality of second-class blocks in an interlaced distribution, each block includes a plurality of pixels, and the size of the first-class block is smaller than the size of the second-class block, the decay factor of each first-class block is calculated and the decay factor of the second-class block is determined based on this, and finally the brightness compensation is performed based on the compensation brightness of the block.
While saving memory storage space, improve the precision of compensation, reduce costs and obtain a good user experience.
Smart Images

Figure CN115775531B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of display panels, and in particular, to a control method, device, and electronic device for a display panel. Background Art
[0002] An electronic device may include a display with a display screen. When the display shows the screen for a long time, it may cause degradation, such as a burn-in phenomenon. The processor can compensate for the degradation of the display through a set algorithm. According to the set algorithm, some pixels in the display panel can be regarded as a block, and the decay factor is accumulated with the block as the calculation unit, and the display panel is compensated based on the accumulated decay factor. Generally, no special processing is performed on the data storage part, and only the accumulated decay factor (Acc.Decay Factor) is simply stored in the storage space of the memory, such as RAM (Random Access Memory, random access memory). Since the size of the storage space is limited, in order to save the storage space of the memory, it is necessary to increase the size of 1 block as much as possible. For example: 8 × 8 pixels are used as 1 block.
[0003] With the popularization of OLED (Organic Light-Emitting Diode) panels, people are increasingly pursuing the fine quality of the display to make differences and gain the favor of consumers. However, the above method of increasing the size of 1 block as much as possible to save the storage space of the memory will reduce the fineness of the display.
[0004] However, if the size of 1 block is reduced, it is necessary to increase the storage space of the memory, which will increase the cost of the driver chip (Driver IC). Summary of the Invention
[0005] In view of this, the purpose of the present invention is to provide a control method, device, and electronic device for a display panel, so as to improve the fineness of compensation while saving the storage space of the memory, thereby reducing costs and obtaining a good user experience.
[0006] In a first aspect, an embodiment of the present invention provides a method for controlling a display panel. The method includes: dividing the display panel into a plurality of first-type blocks and a plurality of second-type blocks that are alternately distributed based on the pixels of the display panel; wherein each first-type block and second-type block includes a plurality of pixels; the size of the first-type block is smaller than the size of the second-type block; calculating the decay factor of each first-type block, and determining the decay factor of the second-type block based on the decay factor of the first-type block; determining the compensation brightness of each block based on the decay factor of the first-type block and the decay factor of the second-type block, and performing brightness compensation on the display panel based on the compensation brightness of each block.
[0007] In an optional embodiment of the present application, the step of determining the decay factor of the second-type block based on the decay factor of the first-type block includes: determining a first block group and a second block group from the first-type blocks; wherein there are no first-type blocks between the first block group and the second block group; determining the decay factor of at least one target second-type block based on the decay factor of the first block group and the decay factor of the second block group; wherein the target second-type blocks are all second-type blocks included between the first block group and the second block group.
[0008] In an optional embodiment of the present application, the step of determining the decay factor of at least one target second-type block based on the decay factor of the first block group and the decay factor of the second block group includes: determining the pixel distribution of at least one target second-type block based on the decay factor of the first block group and the decay factor of the second block group; determining the decay factor of at least one target second-type block based on the pixel distribution.
[0009] In an optional embodiment of the present application, the step of determining the decay factor of at least one target second-type block based on the pixel distribution includes: if the pixel distribution indicates that there is no boundary in the target second-type block, determining the decay factor of at least one target second-type block based on the decay factor of the first block group and the decay factor of the second block group; if the pixel distribution indicates that there is a boundary in the target second-type block, dividing each target second-type block into a plurality of third-type blocks based on the boundary, and determining the decay factor of the plurality of third-type blocks based on the decay factor of the first block group and the decay factor of the second block group.
[0010] In an optional embodiment of the present application, the number of second-type blocks included between the first block group and the second block group is less than or equal to a preset number threshold.
[0011] In an alternative embodiment of the present application, the step of determining the compensation luminance of each block based on the decay factor of the first type of block and the decay factor of the second type of block includes: storing the decay factor of the first type of block and the decay factor of the second type of block in a memory; determining an accumulated decay factor based on the decay factor of the first type of block and the decay factor of the second type of block stored in the memory; and determining the compensation luminance of each block based on the accumulated decay factor.
[0012] In an alternative embodiment of the present application, the step of performing luminance compensation on the display panel based on the compensation luminance of each block includes: obtaining the luminance values of each pixel of the display panel; taking the sum of the luminance value of each pixel and the compensation luminance of the block to which the pixel belongs as the display luminance value of the pixel; and the display panel performing a display operation based on the display luminance values of each pixel.
[0013] In a second aspect, an embodiment of the present invention further provides a control device for a display panel. The device includes: a block division module configured to divide the display panel into a plurality of first type of blocks and a plurality of second type of blocks that are alternately distributed based on the pixels of the display panel; wherein each first type of block and second type of block includes a plurality of pixels; the size of the first type of block is smaller than the size of the second type of block; a decay factor determination module configured to calculate the decay factor of each first type of block and determine the decay factor of the second type of block based on the decay factor of the first type of block; and a luminance compensation module configured to determine the compensation luminance of each block based on the decay factor of the first type of block and the decay factor of the second type of block, and perform luminance compensation on the display panel based on the compensation luminance of each block.
[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory. The memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the above-mentioned control method for the display panel.
[0015] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to implement the above-mentioned control method for the display panel.
[0016] The embodiments of the present invention bring the following beneficial effects:
[0017] A control method, device and electronic device for a display panel provided by an embodiment of the present invention can divide a display panel into a plurality of first-type blocks and a plurality of second-type blocks that are staggered, determine the decay factor of the second-type blocks based on the decay factor of the first-type blocks, determine the compensation brightness of each block, and perform brightness compensation on the display panel based on the compensation brightness of each block. Compared with the traditional method of using all small-sized first-type blocks, the method of determining the decay factor of the large-sized second-type blocks based on the decay factor of the small-sized first-type blocks in this method can save the storage space of the memory while maintaining the fineness of the compensation, thereby reducing costs and obtaining a good user experience.
[0018] Other features and advantages of the present disclosure will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by implementing the above-mentioned technology of the present disclosure.
[0019] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 A flow chart of a method for controlling a display panel provided by an embodiment of the present invention;
[0022] Figure 2 A schematic diagram of a block division provided by an embodiment of the present invention;
[0023] Figure 3 A flowchart of another display panel control method provided by an embodiment of the present invention;
[0024] Figure 4 A schematic diagram of another block division provided by an embodiment of the present invention;
[0025] Figure 5 A schematic diagram of a decay factor estimation provided by an embodiment of the present invention;
[0026] Figure 6 A schematic diagram of another decay factor estimation method provided by an embodiment of the present invention;
[0027] Figure 7Schematic diagram of a compensation algorithm provided by an embodiment of the present invention;
[0028] Figure 8 Schematic structural diagram of a control device for a display panel provided by an embodiment of the present invention;
[0029] Figure 9 Schematic structural diagram of an electronic device provided by an embodiment of the present invention. Detailed implementation manners
[0030] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0031] An electronic device may include a display for a display screen. When the display shows the screen for a long time, it may cause degradation, such as a burn-in phenomenon. The processor can compensate for the degradation of the display through a set algorithm. According to the set algorithm, some pixels in the display panel can be regarded as a block, and the decay factor is accumulated with the block as the calculation unit, and the display panel is compensated based on the accumulated decay factor. Generally, no special processing is performed on the data storage part, and only the accumulated decay factor (Acc.Decay Factor) is simply stored in the storage space of the memory, such as RAM. Since the size of the storage space is limited, in order to save the storage space of the memory, it is necessary to increase the size of 1 block as much as possible. For example: 8 × 8 pixels are used as 1 block.
[0032] Currently, with the popularization of OLED panels, people are increasingly pursuing fine display quality to make differences and gain the favor of consumers. However, the above method of increasing the size of 1 block as much as possible to save the storage space of the memory will reduce the display fineness. However, if the size of 1 block is reduced, the storage space of the memory needs to be increased, which will increase the cost of the driver IC. Therefore, how to improve the compensation fineness while saving the storage space of the memory has become an important research topic.
[0033] However, in traditional compression methods, the compensation algorithms (DBI algorithm, De-Burn-In algorithm) cannot be effectively compressed. For example, the compression ratio of the RLE algorithm is 1.899, the compression ratio of the LZ77 algorithm is 1.805, the compression ratio of the Huffman algorithm is 1, the compression ratio of the Deflate algorithm is 1.473, and the compression ratio of the Arithmetic coding algorithm is 1.004.
[0034] Since there is no significant benefit in the form of data compression, this embodiment can perform compression at the structural level. Based on this, a control method, device, and electronic device for a display panel provided by an embodiment of the present invention can save the storage space of the memory while improving the compensation fineness, thereby reducing costs and obtaining a good user experience.
[0035] To facilitate the understanding of this embodiment, a control method for a display panel disclosed in an embodiment of the present invention will be introduced in detail first.
[0036] Embodiment 1:
[0037] An embodiment of the present invention provides a control method for a display panel. Refer to Figure 1 the flowchart of a control method for a display panel shown. The control method for the display panel includes the following steps:
[0038] Step S102, based on the pixels of the display panel, divide the display panel into a plurality of first-type blocks and a plurality of second-type blocks that are alternately distributed; wherein, each first-type block and second-type block includes a plurality of pixels; the size of the first-type block is smaller than the size of the second-type block.
[0039] The display panel in this embodiment can be a panel made of OLED material. A panel can include a plurality of pixels. In this embodiment, some pixels can be combined into one block. For example, 2×2 pixels can be combined into 1 block. When performing compensation calculation, each block can be used as 1 calculation unit to calculate the decay factor of each block, thereby reducing the calculation amount and storage space.
[0040] Specifically, in this embodiment, 2 types of blocks can be synthesized, namely the first-type block and the second-type block. The size of the first-type block is smaller than the size of the second-type block. The first-type block is a small-sized block, and the second-type block is a large-sized block. For example, 2×2 pixels can be combined into 1 first-type block, and 4×4 pixels can be combined into 1 second-type block.
[0041] In the display panel, the first type of blocks and the second type of blocks are staggered, wherein the distribution mode may be 1 first type of block, 1 second type of block, 1 first type of block, 1 second type of block, etc., or other distribution modes, that is, two blocks of the same type may include 1 block of another type, or may include multiple blocks of other types, which is not limited in this embodiment. Figure 2 A schematic diagram of a block division is shown, in which the sizes of four small-sized first-type blocks and one large-sized second-type block are comparable.
[0042] Step S104, calculating the decay factor of each first-category block, and determining the decay factor of the second-category block based on the decay factors of the first-category blocks.
[0043] When calculating the decay factor, the method adopted in this embodiment is: firstly calculate the decay factor of the first type of small-sized block, and then infer the decay factor of the second type of large-sized block according to the decay factor of the first type of small-sized block. In the above method, storage space can be saved (it is not necessary to use all the first type of small-sized blocks, and the amount of calculation and data are relatively small), and a certain compensation precision can be maintained (the decay factor of the second type of block is inferred by the decay factor of the first type of block).
[0044] Step S106 , determining the compensation brightness of each block based on the decay factors of the first type of blocks and the decay factors of the second type of blocks, and performing brightness compensation on the display panel based on the compensation brightness of each block.
[0045] In this embodiment, the decay factor of each block can be stored in RAM. Since the first type of small-sized blocks and the second type of large-sized blocks are staggered, the storage space of RAM can be saved. In addition, in this embodiment, the distribution of the second type of blocks can be estimated by the decay factor of the first type of blocks, so as to determine the decay factor of the second type of blocks, so as to maintain a certain compensation precision.
[0046] A control method for a display panel provided by an embodiment of the present invention can divide the display panel into a plurality of first-type blocks and a plurality of second-type blocks that are staggered, determine the decay factor of the second-type blocks based on the decay factor of the first-type blocks, determine the compensation brightness of each block, and perform brightness compensation on the display panel based on the compensation brightness of each block. Compared with the traditional method of using all small-sized first-type blocks, the method of determining the decay factor of the large-sized second-type blocks based on the decay factor of the small-sized first-type blocks in this method can save the storage space of the memory while maintaining the fineness of the compensation, thereby reducing costs and obtaining a good user experience.
[0047] Embodiment 2:
[0048] This embodiment provides another control method for a display panel, which is implemented on the basis of the above embodiment. Refer to Figure 3 the flowchart of another control method for a display panel shown in
[0049] Step S302: Based on the pixels of the display panel, divide the display panel into a plurality of first-type blocks and a plurality of second-type blocks that are alternately distributed; wherein, each first-type block and second-type block includes a plurality of pixels; the size of the first-type block is smaller than the size of the second-type block.
[0050] The purpose of the DBI algorithm is to solve the problem of uneven panel brightness caused by long-term use, and the panel brightness can be compensated through the DBI algorithm. Taking the OLED display panel as an example, the aging areas of the OLED display panel usually have the characteristics of continuity and clustering. Therefore, the display panel can be divided into a plurality of first-type blocks and a plurality of second-type blocks that are alternately distributed, and the decay factor of the large-size second-type block can be estimated through the decay factor of the small-size first-type block.
[0051] Among them, the method provided in this embodiment can be applied to various scenarios of mixing blocks of different sizes. For example, the size of the first-type block is 2×4, and the size of the second-type block is 4×8. For the alternating arrangement method of the first-type block and the second-type block, it is not limited to Figure 2 the square arrangement shown in Figure 4 as long as the first-type block and the second-type block are staggered to a certain extent, and reference can be made to
[0052] Step S304: Calculate the decay factor of each first-type block, and determine a first block group and a second block group from the first-type blocks; determine the decay factor of at least one target second-type block based on the decay factor of the first block group and the decay factor of the second block group.
[0053] Among them, there are no first-type blocks between the first block group and the second block group; the target second-type blocks are all second-type blocks included between the first block group and the second block group. The first block group and the second block group are both small-size first-type blocks, and there are no other small-size first-type blocks between the first block group and the second block group, only second-type blocks, which are called target second-type blocks. Therefore, the decay factor of the target second-type block can be estimated through the decay factor of the first block group and the decay factor of the second block group.
[0054] Among them, in order to ensure the estimation effect, the number of target second-type blocks existing between the first block group and the second block group should not be too large, that is, the number of second-type blocks included between the first block group and the second block group is less than or equal to a preset quantity threshold, which can ensure a better estimation effect of the decay factor of the target second-type blocks.
[0055] Specifically, in this embodiment, the pixel distribution of at least one target second-type block can be determined based on the decay factor of the first block group and the decay factor of the second block group; the decay factor of at least one target second-type block is determined based on the pixel distribution. Since the aging area of the display panel usually has the characteristics of continuity and clustering, therefore, whether there is a boundary of the target second-type block can be characterized by the pixel distribution, and there can be the following two cases:
[0056] (1) If the pixel distribution indicates that there is no boundary for the target second-type block, determine the decay factor of at least one target second-type block based on the decay factor of the first block group and the decay factor of the second block group.
[0057] Taking the example that there is one target second-type block included between the first block group and the second block group, refer to Figure 5 As shown in a schematic diagram of decay factor estimation, if the pixel distribution indicates that there is no boundary for the target second-type block, then the target second-type block can be used as a calculation unit, and then the decay factor of the target second-type block is determined according to the decay factor of the first block group and the decay factor of the second block group.
[0058] (2) If the pixel distribution indicates that there is a boundary for the target second-type block, divide each target second-type block into multiple third-type blocks based on the boundary, and determine the decay factors of the multiple third-type blocks based on the decay factor of the first block group and the decay factor of the second block group.
[0059] Continuing to take the example that there is one target second-type block included between the first block group and the second block group, refer to Figure 6 As shown in another schematic diagram of decay factor estimation, if the pixel distribution indicates that there is a boundary for the target second-type block, then according to this boundary, the second-type block can be divided into multiple third-type blocks, and the third-type block is used as a calculation unit, and then the decay factor of the third-type block is determined according to the decay factor of the first block group and the decay factor of the second block group.
[0060] In summary, in this embodiment, the decay factor of the large-size second-type block can be deduced using the decay factor of the small-size first-type block, thereby improving the compensation fineness to obtain a compensation effect similar to that of all using small-size first-type blocks, and the compensation accuracy can be maintained to a certain extent.
[0061] It should be noted here that the block size during storage in this embodiment (i.e., the size of the second type of block) is not equal to the block size during compensation (i.e., the size of the second type of block or the size of the third type of block). During compensation, in this embodiment, an algorithm module can be set to use the trend of the small-sized first type of blocks in the vicinity as a reference, and adjust the content of the large-sized second type of blocks or third type of blocks into multiple small-sized first type of blocks to improve the fineness of compensation.
[0062] Step S306: Determine the compensation brightness of each block based on the decay factor of the first type of block and the decay factor of the second type of block, and perform brightness compensation on the display panel based on the compensation brightness of each block.
[0063] Specifically, in this embodiment, the decay factor of the first type of block and the decay factor of the second type of block can be stored in a memory; determine the cumulative decay factor based on the decay factor of the first type of block and the decay factor of the second type of block stored in the memory; determine the compensation brightness of each block based on the cumulative decay factor. Refer to Figure 7 As shown in the schematic diagram of a compensation algorithm, the decay factor can be stored in a memory, and the cumulative decay factor can be determined based on the stored decay factor.
[0064] Specifically, in this embodiment, the brightness value of each pixel of the display panel can be obtained; the sum of the brightness value of each pixel and the compensation brightness of the block to which the pixel belongs is used as the display brightness value of the pixel; the display panel performs a display operation based on the display brightness value of each pixel.
[0065] As Figure 7 shown, after storing the decay factor in a memory and determining the cumulative decay factor of each block, the compensation brightness of each block can be determined based on the cumulative decay factor of each block. For all pixels within this block, compensation can be performed based on the above compensation brightness, that is, the sum of the brightness value of each pixel within this block and the compensation brightness of this block is used as the display brightness value for display.
[0066] Embodiment Three:
[0067] Corresponding to the above method embodiment, an embodiment of the present invention provides a control device for a display panel. Refer to Figure 8 As shown in the structural schematic diagram of a control device for a display panel, the control device for the display panel includes:
[0068] A block division module 81, configured to divide the display panel into a plurality of first type of blocks and a plurality of second type of blocks that are alternately distributed based on the pixels of the display panel; wherein, each first type of block and second type of block includes a plurality of pixels; the size of the first type of block is smaller than the size of the second type of block;
[0069] A decay factor determination module 82, configured to calculate a decay factor of each first-category block, and determine a decay factor of a second-category block based on the decay factors of the first-category blocks;
[0070] The brightness compensation module 83 is used to determine the compensation brightness of each block based on the decay factor of the first type of block and the decay factor of the second type of block, and perform brightness compensation on the display panel based on the compensation brightness of each block.
[0071] A control device for a display panel provided by an embodiment of the present invention can divide a display panel into a plurality of first-type blocks and a plurality of second-type blocks that are staggered, determine the decay factor of the second-type blocks based on the decay factor of the first-type blocks, determine the compensation brightness of each block, and perform brightness compensation on the display panel based on the compensation brightness of each block. Compared with the traditional method of using all small-sized first-type blocks, the method of determining the decay factor of the large-sized second-type blocks based on the decay factor of the small-sized first-type blocks in this method can save the storage space of the memory while maintaining the fineness of the compensation, thereby reducing costs and obtaining a good user experience.
[0072] The above-mentioned decay factor determination module is used to determine the first block group and the second block group from the first type of blocks; wherein the first type of blocks are not included between the first block group and the second block group; based on the decay factor of the first block group and the decay factor of the second block group, determine the decay factor of at least one target second type of block; wherein the target second type of blocks are all second type of blocks included between the first block group and the second block group.
[0073] The decay factor determination module is used to determine the pixel distribution of at least one target second-type block based on the decay factors of the first block group and the decay factors of the second block group; and determine the decay factor of at least one target second-type block based on the pixel distribution.
[0074] The above-mentioned decay factor determination module is used to determine the decay factor of at least one target second-category block based on the decay factor of the first block group and the decay factor of the second block group if the pixel distribution indicates that the target second-category block does not have a boundary; if the pixel distribution indicates that the target second-category block has a boundary, divide each target second-category block into multiple third-category blocks based on the boundary, and determine the decay factors of multiple third-category blocks based on the decay factor of the first block group and the decay factor of the second block group.
[0075] The number of the second type of blocks included between the first block group and the second block group is less than or equal to a preset number threshold.
[0076] The above-mentioned brightness compensation module is used to store the decay factors of the first type of blocks and the decay factors of the second type of blocks in a memory; determine an accumulated decay factor based on the decay factors of the first type of blocks and the decay factors of the second type of blocks stored in the memory; and determine the compensated brightness of each block based on the accumulated decay factor.
[0077] The above-mentioned brightness compensation module is used to obtain the brightness values of the respective pixels of the display panel; use the sum of the brightness value of each pixel and the compensated brightness of the block to which the pixel belongs as the display brightness value of the pixel; and the display panel performs a display operation based on the display brightness values of the respective pixels.
[0078] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described control device of the display panel can refer to the corresponding process in the embodiments of the above-described control method of the display panel, and will not be elaborated herein.
[0079] Embodiment 4:
[0080] The embodiment of the present invention further provides an electronic device for running the above-described control method of the display panel; refer to Figure 9 the structural schematic diagram of an electronic device shown. The electronic device includes a memory 100 and a processor 101. Among them, the memory 100 is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor 101 to implement the above-described control method of the display panel.
[0081] Furthermore, Figure 9 the electronic device shown further includes a bus 102 and a communication interface 103, and the processor 101, the communication interface 103, and the memory 100 are connected through the bus 102.
[0082] Among them, the memory 100 may include a high-speed random access memory (RAM, Random Access Memory), and may also include a non-volatile memory, such as at least one disk memory. Through at least one communication interface 103 (which can be wired or wireless), a communication connection is realized between this system network element and at least one other network element, and the Internet, a wide area network, a local area network, a metropolitan area network, etc. can be used. The bus 102 may be an ISA bus, a PCI bus, an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, Figure 9 only a bidirectional arrow is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0083] The processor 101 may be an integrated circuit chip with the ability to process signals. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in the processor 101 or the instructions in the form of software. The above-mentioned processor 101 may be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it may also be a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field-programmable gate array (FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present invention can be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory 100, and the processor 101 reads the information in the memory 100 and combines its hardware to complete the steps of the method in the foregoing embodiments.
[0084] Embodiments of the present invention also provide a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to implement the above control method for the display panel. For the specific implementation, reference may be made to the method embodiments, and details are not described herein again.
[0085] The computer program product of the control method, device and electronic device for the display panel provided by the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods in the foregoing method embodiments. For the specific implementation, reference may be made to the method embodiments, and details are not described herein again.
[0086] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described system and / or device can refer to the corresponding processes in the foregoing method embodiments, and details are not described herein again.
[0087] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "coupled" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the communication inside two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0088] If the above-mentioned functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs.
[0089] In the description of the present invention, it should be noted that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation to the present invention. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0090] Finally, it should be noted that the above-described embodiments are only specific embodiments of the present invention, used to illustrate the technical solutions of the present invention, rather than limiting it. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any person skilled in the art within the technical scope disclosed by the present invention can still modify the technical solutions recorded in the foregoing embodiments or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. A method for controlling a display panel, It is characterized in that The method comprises: Based on the pixels of the display panel, the display panel is divided into a plurality of first-type blocks and a plurality of second-type blocks that are staggered; wherein each of the first-type blocks and the second-type blocks includes a plurality of pixels; and the size of the first-type blocks is smaller than the size of the second-type blocks; Calculating the decay factor of each of the first-type blocks, and determining the decay factor of the second-type blocks based on the decay factors of the first-type blocks; Determining the compensation brightness of each of the blocks based on the decay factors of the first-type blocks and the decay factors of the second-type blocks, and performing brightness compensation on the display panel based on the compensation brightness of each of the blocks; The step of determining the decay factor of the second type of blocks based on the decay factor of the first type of blocks includes: determining a first block group and a second block group from the first type of blocks; wherein the first type of blocks are not included between the first block group and the second block group; and determining the decay factor of at least one target second type of block based on the decay factor of the first block group and the decay factor of the second block group; wherein the target second type of blocks are all second type of blocks included between the first block group and the second block group.
2. The method according to claim 1, It is characterized in that The step of determining a decay factor of at least one target second-type block based on the decay factor of the first block group and the decay factor of the second block group comprises: Determine pixel distribution of at least one target second-type block based on the decay factor of the first block group and the decay factor of the second block group; A decay factor of at least one of the target second-category blocks is determined based on the pixel distribution.
3. The method according to claim 2, It is characterized in that The step of determining a decay factor of at least one of the target second-category blocks based on the pixel distribution comprises: If the pixel distribution indicates that the target second-type block does not have a boundary, determine a decay factor of at least one target second-type block based on the decay factor of the first block group and the decay factor of the second block group; If the pixel distribution indicates that the target second-category block has a boundary, each of the target second-category blocks is divided into a plurality of third-category blocks based on the boundary, and the decay factors of the plurality of third-category blocks are determined based on the decay factor of the first block group and the decay factor of the second block group.
4. The method according to claim 1, It is characterized in that The number of the second type of blocks included between the first block group and the second block group is less than or equal to a preset number threshold.
5. The method according to claim 1, It is characterized in that The step of determining the compensation brightness of each of the blocks based on the decay factors of the first-type blocks and the decay factors of the second-type blocks comprises: Storing the decay factors of the first type of blocks and the decay factors of the second type of blocks in a memory; Determine a cumulative decay factor based on the decay factors of the first type of blocks and the decay factors of the second type of blocks stored in the memory; The compensated brightness of each of the blocks is determined based on the accumulated decay factor.
6. The method according to claim 1, It is characterized in that The step of performing brightness compensation on the display panel based on the compensated brightness of each of the blocks comprises: Acquire the brightness value of each pixel of the display panel; Taking the sum of the brightness value of each pixel and the compensated brightness of the block to which the pixel belongs as the display brightness value of the pixel; The display panel performs a display operation based on display brightness values of the respective pixels.
7. A control device for a display panel, It is characterized in that The device comprises: A block division module, configured to divide the display panel into a plurality of first-type blocks and a plurality of second-type blocks that are staggered based on the pixels of the display panel; wherein each of the first-type blocks and the second-type blocks includes a plurality of pixels; and the size of the first-type blocks is smaller than the size of the second-type blocks; A decay factor determination module, configured to calculate a decay factor of each of the first-category blocks, and determine a decay factor of the second-category blocks based on the decay factors of the first-category blocks; a brightness compensation module, configured to determine a compensation brightness of each of the blocks based on the decay factors of the first-type blocks and the decay factors of the second-type blocks, and perform brightness compensation on the display panel based on the compensation brightness of each of the blocks; The decay factor determination module is used to determine a first block group and a second block group from the first block group; wherein the first block group and the second block group do not include first block groups; and determine a decay factor of at least one target second block group based on the decay factor of the first block group and the decay factor of the second block group; wherein the target second block groups are all second block groups included between the first block group and the second block group.
8. An electronic device, It is characterized in that The invention comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the steps of the display panel control method according to any one of claims 1 to 6.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the steps of the display panel control method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Brightness compensation method and device, electronic equipment and computer readable storage medium
CN113470571A
Brightness compensation method and device, brightness compensation system, panel display equipment and storage medium
CN114582277A