Backlight module control method and apparatus, and display module and storage medium

The method addresses the inefficiencies in MiniLED backlight module development by determining pixel partitions and backlight data in real-time, adapting to different specifications, thus reducing costs and enabling efficient product upgrades.

GB2644988APending Publication Date: 2026-07-08BOE TECHNOLOGY GROUP CO LTD +1

Patent Information

Authority / Receiving Office
GB · GB
Patent Type
Applications
Current Assignee / Owner
BOE TECHNOLOGY GROUP CO LTD
Filing Date
2024-05-27
Publication Date
2026-07-08

AI Technical Summary

Technical Problem

The development of MiniLED backlight modules with various specifications leads to increased development cycles and costs due to the need for separate dimming methods for each specification, resulting in incompatibility and inefficiencies in product upgrades.

Method used

A method and apparatus for controlling backlight modules by determining pixel partitions and backlight data based on the number of image pixels, scanning channels, and backlight partitions, using rounding functions and quantization parameters to adapt to different specifications without changing system software, ensuring real-time compatibility and reducing development costs.

Benefits of technology

This approach allows for rapid iterative product upgrades and reduces development costs by enabling real-time adaptation to various backlight partition specifications, ensuring accurate and synchronous backlight control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
  • Figure 00000000_0001_ABST
    Figure 00000000_0001_ABST
Patent Text Reader

Abstract

A backlight module control method and apparatus, and a display module and a storage medium, which relate to the field of display. The method comprises: under the condition of not changing system softw
Need to check novelty before this filing date? Find Prior Art

Description

Cross-Reference to Related Application

[01] This patent application claims priority to Chinese patent application No. 2023106466305 filed on June 1, 2023 and entitled "Backlight Module Control Method and Apparatus, Display Module and Storage Medium ", the full text of which is incorporated herein by reference. Technical Field

[02] The present invention relates to the field of display, in particular to a method and apparatus for controlling a backlight module, a display' module and a storage medium. Background

[03] In a display module with a Mini Light Emitting Diode (MiniLED) as the backlight module, in order to achieve excellent display effect in contrast, High Dynamic Range Imaging (HDR), color and other display indicators, the backlight module can be divided into multiple backlight partitions, and each backlight partition can be controlled to light up through the backlight partition dimming method.

[04] However, product differentiation leads to the emergence of various specifications of backlight partition modules, so it is needed to develop a dimming method for each specification of backlight modules separately, which leads to an increase in the development cycle and development costs of product development. Summary

[05] The present invention provides a method and apparatus for controlling a backlight module, a display module and a storage medium, so as to solve the shortcomings in the related 1 art.

[06] According to a first aspect of an embodiment of the present invention, there is provided a method for controlling a backlight module, wherein the backlight module includes a plurality of backlight partitions, the method including: acquiring a number of horizontal image pixels and a number of vertical image pixels of an image to be displayed, a number of parallel scanning channels, and a number of horizontal backlight partitions and a number of vertical backlight partitions of the backlight module; determining a pixel partition corresponding to each backlight partition in the image to be displayed according to the number of horizontal image pixels, the number of vertical image pixels, the number of parallel scanning channels, and a quantitative relationship between the number of horizontal backlight partitions and the number of vertical backlight partitions; and determining backlight data of a backlight partition corresponding to the pixel partition according to pixel values of various pixels in the pixel partition. 1071 In some embodiments, the pixel partition is determined according to a horizontal pixel partition and a vertical pixel partition. Said determining the pixel partition corresponding to each backlight partition in the image to be displayed according to the number of horizontal image pixels, the number of vertical image pixels, the number of parallel scanning channels, and the quantity relationship betw een the number of horizontal backlight partitions and the number of vertical backlight partitions, includes: determining a width of the horizontal pixel partition according to a multiple relationship between the number of horizontal image pixels as well as the number of parallel scanning channels and the number of horizontal backlight partitions, and determining a width of the vertical pixel partition according to a multiple relationship between the number of vertical image pixels and the number of vertical backlight partitions; determining an arrangement number of horizontal pixel partitions with different widths in a pixel row according to the number of horizontal image pixels, the number of parallel scanning channels, and the number of horizontal backlight partitions, and determining an arrangement number of vertical pixel partitions with different widths in a pixel column according to the number of vertical image pixels and the number of vertical backlight partitions; determining a horizontal arrangement sequence of the horizontal pixel partitions with different widths and a vertical arrangement sequence of the vertical pixel partitions with different widths; and determining the pixel partition corresponding to each backlight partition in the image to be displayed according to the horizontal arrangement sequence and the vertical arrangement sequence.

[08] In some embodiments, said determining the width of the horizontal pixel partition according to the multiple relationship between the number of horizontal image pixels as well as the number of parallel scanning channels and the number of horizontal backlight partitions, and determining the w idth of the vertical pixel partition according to the multiple relationship between the number of vertical image pixels and the number of vertical backlight partitions, includes: if there is a non-integer multiple between the number of horizontal image pixels as well as the number of parallel scanning channels and the number of horizontal backlight partitions, determining a first horizontal width and a second horizontal width of the horizontal pixel partition using a rounding function according to the number of horizontal image pixels, the number of parallel scanning channels and the number of horizontal backlight partitions, w herein the first horizontal width and the second horizontal width are an integer number of clock cycles, and a difference betw een the first horizontal width and the second horizontal width is one clock cycle; if there is an integer multiple between the number of horizontal image pixels as well as the number of parallel scanning channels and the number of horizontal backlight partitions, determining a third horizontal width of the horizontal pixel partition according to the number of horizontal image pixels, the number of parallel scanning channels, and the number of horizontal backlight partitions, wherein the third horizontal width is an integer number of clock cycles; if there is a non-integer multiple between the number of vertical image pixels and the number of vertical backlight partitions, determining a first vertical width and a second vertical width of the vertical pixel partition using the rounding function according to the number of vertical image pixels and the number of vertical backlight partitions; if there is an integer multiple between the number of vertical image pixels and the number of vertical backlight partitions, determining a third vertical width of the vertical pixel partition according to the number of vertical image pixels and the number of vertical backlight partitions. 109]In some embodiments, said determining the first horizontal width and the second horizontal width of the horizontal pixel partition using the rounding function according to the number of horizontal image pixels, the number of parallel scanning channels, and the number of horizontal backlight partitions, includes: determining a number of scanning times in a horizontal image direction according to the multiple relationship between the number of horizontal image pixels and the number of parallel scanning channels; determining the first horizontal width of the horizontal pixel partition using a downward rounding function according to the number of scanning times in the horizontal image direction and the number of horizontal backlight partitions; and determining the second horizontal width of the horizontal pixel partition using an upward rounding function according to the number of scanning tunes in the horizontal image direction and the number of horizontal backlight partitions. Said determining the first vertical width and the second vertical width of the vertical pixel partition using the rounding function according to the number of vertical image pixels and the number of vertical backlight partitions, includes: determining the first vertical width of the vertical pixel partition using the downward rounding function according to the number of vertical image pixels and the number of vertical backlight partitions; and determining the second vertical width of the vertical pixel partition using the upward rounding function according to the number of vertical image pixels and the number of vertical backlight partitions.

[10] In some embodiments, the horizontal pixel partition includes a first horizontal pixel partition and a second horizontal pixel partition, a width of the first horizontal pixel partition is a first horizontal width, and a width of the second horizontal pixel partition is a second horizontal width. Said determining the arrangement number of the horizontal pixel partitions with different widths in the pixel row according to the number of horizontal image pixels, the number of parallel scanning channels and the number of horizontal backlight partitions, includes: detennining a difference between the number of scanning times in the horizontal image direction and a product of the second horizontal width and the number of horizontal backlight partitions as an arrangement number of the first horizontal pixel partition in the pixel row, wherein the number of scanning times in the horizontal image direction is determined according to the number of horizontal image pixels and the number of parallel scanning channels; and determining a difference between the number of horizontal backlight partitions and a product of the number of scanning times in the horizontal image direction and the first horizontal width as an arrangement number of the second horizontal pixel partition in the pixel row. [ll]In some embodiments, the vertical pixel partition includes a first vertical pixel partition and a second vertical pixel partition, the first vertical pixel partition is a first vertical width and the second vertical pixel partition is a second vertical width. Said determining the arrangement number of the vertical pixel partitions with different widths in the pixel column according to the number of vertical image pixels and the number of vertical backlight partitions, includes: determining a difference between the number of vertical image pixels and a product of the second vertical width and the number of vertical backlight partitions as an arrangement number of the first vertical pixel partition in the pixel column; and determining a difference between the number of vertical image pixels and a product of the first vertical width and the number of vertical backlight partitions as an arrangement number of the second vertical pixel partition in the pixel column.

[12] In some embodiments, the horizontal pixel partition includes a first horizontal pixel partition and a second horizontal pixel partition, the first horizontal pixel partition and the second horizontal pixel partition having different widths. Said determining the horizontal arrangement sequence of the horizontal pixel partitions with different widths, includes: determining an arrangement ratio according to a ratio of the arrangement number of the first horizontal pixel partition in the pixel row and the arrangement number of the second horizontal pixel partition in the pixel row; rounding down the arrangement ratio and then adding to a unit clock cycle to obtain an arrangement period; if the arrangement period is not equal to a set period, rounding down half of the arrangement ratio and then adding it to the unit clock cycle to obtain an arrangement half period, and if the arrangement period is equal to the set period, determining the unit clock cycle as the arrangement half period; utilizing the arrangement number of the first horizontal pixel partition in the pixel row to subtract a product of the arrangement ratio rounded down and the arrangement number of the second horizontal pixel partition in the pixel row to obtain an arrangement remainder; for each horizontal pixel partition, determining a position where a sequence number of a current horizontal pixel partition is located to arrange the first horizontal pixel partition or the second horizontal pixel partition according to a relationship between a sequence number of the horizontal pixel partition as well as a remainder of the arrangement period and the arrangement half period, and when a set condition is satisfied, arranging the first horizontal pixel partition at a position where a sequence number of a next horizontal pixel partition is located, wherein the set condition includes that the sequence number of the horizontal pixel partition and the remainder of the arrangement period are zero, and the sum of the arrangement remainder is greater than the arrangement number of the second horizontal pixel partition in the pixel row.

[13] In some embodiments, said determining the position where the sequence number of the current horizontal pixel partition is located to arrange the first horizontal pixel partition or the second horizontal pixel partition according to the relationship between the sequence number of the horizontal pixel partition as well as the remainder of the arrangement period and the arrangement half period, includes: if the sequence number of the horizontal pixel partition and the remainder of the arrangement period are equal to the arrangement half period, determining the position where the horizontal pixel partition is located to arrange the second horizontal pixel partition; and if the sequence number of the horizontal pixel partition and the remainder of the arrangement period are not equal to the arrangement half period, determining the position where the horizontal pixel partition is located to arrange the first horizontal pixel partition.

[14] In some embodiments, 0 is used to identify the first horizontal pixel partition and 1 is used to identify the second horizontal pixel partition in the horizontal arrangement sequence, and the method further includes: initializing a sequence with a set length and the sequence number of the horizontal pixel partition; if the sequence number of the horizontal pixel partition and the remainder of the arrangement period are equal to the arrangement half period, and the sequence is not padded for the first time, padding 1 at the highest bit of the sequence after the padded sequence is moved to a lower bit by a unit length; if the sequence number of the horizontal pixel partition and the remainder of the arrangement period are not equal to the arrangement half period, and the sequence is not padded for the first time, padding 0 at the highest bit of the sequence after the padded sequence is moved to the lower bit by the unit length; if the sequence number of the horizontal pixel partition and the remainder of the arrangement period are 0, and the sum of the arrangement remainder is greater than the arrangement number of the second horizontal pixel partition in the pixel row, padding 0 at the highest bit of the sequence, and updating the number of horizontal backlight partitions after the padded sequence is moved to the lower bit by the unit length; if the sequence number of the horizontal pixel partition is equal to an updated number of horizontal backlight partitions, shifting the padded valid bit to the lowest bit of the sequence to obtain the horizontal arrangement sequence.

[15] In some embodiments, said determining the backlight data of the backlight partition corresponding to the pixel partition according to the pixel values of various pixels in the pixel partition, includes: obtaining a maximum pixel value and a pixel sum in the pixel partition according to the pixel values of various pixels in the pixel partition; determining a pixel average value according to a division quantization parameter of the pixel partition and the pixel sum; determining basic backlight data of the backlight partition corresponding to the pixel partition according to the maximum pixel value and the pixel average value and respective weights; filtering basic backlight data corresponding to all backlight partitions to obtain target backlight data of each backlight partition. 116 |In some embodiments, the division quantization parameter is determined by: acquiring a maximum pixel number of the pixel partition in a horizontal direction and a maximum pixel number of the pixel partition in a vertical direction, wherein the maximum pixel number in the horizontal direction is determined according to a width of the pixel partition in the horizontal direction and the number of parallel scanning channels; determining a quantization bit according to the maximum pixel number in the horizontal direction and the maximum pixel number in the vertical direction; determining a division quantization parameter corresponding to the pixel partition according to the pixel number in the pixel partition and the quantization bit.

[17] In some embodiments, the pixel partition includes different types of pixel partitions, wherein a first type of pixel partitions has a first horizontal width and a first vertical width, a second type of pixel partitions has a first horizontal width and a second vertical width, a third type of pixel partitions has a second horizontal width and a first vertical width, and a fourth type of pixel partitions has a second horizontal width and a second vertical width; if the type of die pixel partition is the first type, determining a first pixel number in the first type of pixel partitions according to the first horizontal width and the first vertical width, and determining a first division quantization parameter corresponding to the first type of pixel partitions according to the first pixel number and the quantization bit; if the type of the pixel partition is the second type, determining a second pixel number in the second type of pixel partitions according to the first horizontal width and the second vertical width, and determining a second division quantization parameter corresponding to the second type of pixel partitions according to the second pixel number and the quantization bit; if the type of the pixel partition is the third type, determining a third pixel number in the third type of pixel partitions according to the second horizontal width and the first vertical width, and determining a third division quantization parameter corresponding to the third type of pixel partitions according to the third pixel number and the quantization bit; if the type of the pixel partition is the fourth type, determining a fourth pixel number in the fourth type of pixel partitions according to the second horizontal width and the second vertical width, and determining a fourth division quantization parameter corresponding to the fourth ty pe of pixel partitions according to the fourth pixel number and the quantization bit. [ 18]In some embodiments, each pixel in the pixel partition corresponds to a plurality of counters, the counters including: a clock number counter in the horizontal pixel partition, a pixel row number counter in the vertical pixel partition, a horizontal pixel partition number counter, and a vertical pixel partition number counter. The method further includes: updating the clock number counter in the horizontal pixel partition when a data enable signal is received, and resetting the clock number counter in the horizontal pixel partition when a value corresponding to the clock number counter in the horizontal pixel partition is equal to the width of the horizontal pixel partition; updating the horizontal pixel partition number counter when the clock number counter in the horizontal pixel partition is reset, and resetting the horizontal pixel partition number counter when a value corresponding to the horizontal pixel partition number counter is equal to the number of horizontal backlight partitions; updating the pixel row number counter in the vertical pixel partition when the horizontal pixel partition number counter is reset, and resetting the pixel row number counter in the vertical pixel partition when a value corresponding to the pixel row number counter in the vertical pixel partition is equal to a pixel row number in the vertical pixel partition; updating the vertical pixel partition number counter when the pixel row number counter in the vertical pixel partition is rest, and resetting the vertical pixel partition number counter when a value corresponding to the vertical pixel partition number counter is equal to the number of vertical backlight partitions.

[19] In some embodiments, the width of the horizontal pixel partition is determined by: obtaining the lowest bit of a horizontal arrangement sequence; if a value corresponding to the lowest bit is 0, the width of the horizontal pixel partition is a first horizontal width; if the value corresponding to the lowest bit is 1, the width of the horizontal pixel partition is a second horizontal width; when the clock number counter in the horizontal pixel partition is reset, the horizontal arrangement sequence is shifted to the right by 1 bit.

[20] In some embodiments, said obtaining the maximum pixel value and the pixel sum in the pixel partition according to the pixel values of various pixels in the pixel partition, includes: in the process of scanning the image to be displayed, determining a target pixel partition to which a currently scanned pixel belongs according to the horizontal pixel partition number counter and the vertical pixel partition number counter corresponding to the currently scanned pixel; obtaining a candidate maximum pixel value and a candidate pixel sum from a storage area corresponding to the target pixel partition; if a pixel value corresponding to the currently scanned pixel is greater than the candidate maximum pixel value, updating the candidate maximum pixel value as the pixel value corresponding to the currently scanned pixel; updating the candidate pixel sum with the pixel value corresponding to the currently scanned pixel. [21 ]In some embodiments, said filtering the basic backlight data corresponding to all backlight partitions to obtain the target backlight data of each backlight partition, includes: performing a padding operation on the basic backlight data corresponding to all backlight partitions; filtering the basic backlight data after the padding operation using a preset filtering kernel to obtain target backlight data of each backlight partition, wherein a number of filtering times of each row of basic backlight data is determined according to the number of horizontal backlight partitions, and a number of rows where filtering is executed is determined according to the number of vertical backlight partitions. 1221In some embodiments, the method further includes: caching the image to be displayed to a video frame buffer device; and controlling the backlight data of all backlight partitions to be output synchronously with the image to be displayed when the backlight data of all backlight partitions is acquired.

[23] According to a second aspect of an embodiment of the present invention, there is provided an apparatus for controlling a backlight module, wherein the backlight module includes a plurality of backlight partitions, and the apparatus includes: an acquisition unit for acquiring a number of horizontal image pixels and a number of vertical image pixels of an image to be displayed, a number of parallel scanning channels, and a number of horizontal backlight partitions and a number of vertical backlight partitions of the backlight module; a calculation unit for determining a pixel partition corresponding to each backlight partition in the image to be displayed according to the number of horizontal image pixels, the number of vertical image pixels, the number of parallel scanning channels, and a quantitative relationship between the number of horizontal backlight partitions and the number of vertical backlight partitions, and determining backlight data of a backlight partition corresponding to the pixel partition according to the pixel values of various pixels in the pixel partition.

[24] According to a third aspect of an embodiment of the present invention, there is provided a display module including: a display panel and a backlight module; the backlight module being controlled by the method of any one of the above.

[25] According to a third aspect of an embodiment of the present invention, there is provided a storage medium storing computer instructions for causing a computer to execute the method of any one of the above. 126]According to the above embodiments, without changing system software and a drive, the backlight data of the backlight partition is updated in real time according to the number of horizontal image pixels and the number of vertical image pixels of the image to be displayed, the number of parallel scanning channels, and the number of horizontal backlight partitions and the number of vertical backlight partitions of the backlight module to adapt to a plurality of backlight modules with different backlight partition specifications, thereby reducing the development cycle and development costs of the display module product based on the MiniLED partition backlight.

[27] It should be understood that the above general description and following detailed description are exemplary and explanatory only, and are not intended to limit the present invention. Brief Description of Drawings

[28] The accompanying drawings here are incorporated in the specification and constitute a part of the specification, illustrate the embodiments conforming to the present invention, and together with the specification, are used for explaining the principle of the present invention.

[29] FIG. 1 is a flowchart of a method for controlling a backlight module according to an embodiment of the present invention.

[30] FIG. 2 is an architecture diagram of a method for controlling a backlight module according to an embodiment of the present invention.

[31] FIG. 3 is a schematic diagram of determining a horizontal arrangement sequence in Example 1 according to an embodiment of the present invention.

[32] FIG. 4A is a flowchart of determining a horizontal arrangement sequence according to an embodiment of the present invention.

[33] FIG. 4B is a schematic diagram of determining a horizontal arrangement sequence in Example 1 according to an embodiment of the present invention.

[34] FIG. 5 is a schematic diagram of image and pixel partition division arrangement and counting conditions of four counters according to an embodiment of the present invention.

[35] FIG. 6 is a schematic diagram of RAM read / write logic according to an embodiment of the present invention.

[36] FIG. 7 is a schematic diagram of backlight data storage according to an embodiment of the present invention.

[37] FIG. 8 is a schematic diagram of a filter kernel according to an embodiment of the present invention. Detailed Description

[38] Exemplary embodiments will be described in detail here, and their examples are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, a same number in different drawings indicates a same or similar element. The embodiments described in following exemplary embodiments do not represent all embodiments according to the present invention. In contrast, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.

[39] A display module includes a display panel and a backlight module, wherein the display panel can be a Liquid Ciy sial Display (LCD), and the backlight module can be a MiniLED. In order to obtain a better display effect, the backlight module can be divided into a plurality of backlight partitions, and the backlight partitions can be controlled to light up one by one.

[40] In the product research and development phase, a variety of backlight partitions with different specifications will be developed. When the MiniLED backlight of the display module is replaced, the backlight partitions with different specifications cause a local dimming module in a display system to be incompatible and adaptable. Usually, development work is required for novel backlight modules, but this method can neither achieve rapid iterative upgrades of products nor effectively control project development costs.

[41] In view of this, the present invention provides a method for controlling a backlight module, wherein the calculation logic of the method is modified according to basic parameter information input in real time to adapt to a plurality of display modules with different backlight partition specifications, thereby improving the development efficiency, shortening the development cycle and reducing the development costs. The basic parameter information includes a number of horizontal image pixels and a number of vertical image pixels, a number of parallel scanning channels, and a number of horizontal backlight partitions and a number of vertical backlight partitions of the backlight module.

[42] The following examples will explain the present invention with reference to the accompanying drawings.

[43] FIG. 1 is a flowchart of a method for controlling a backlight module according to an embodiment of the present invention, and as shown in FIG. 1, the method for controlling the backlight module includes the following steps 101 to 103.

[44] In step 101, the number of horizontal image pixels and the number of vertical image pixels of the image to be displayed, the number of parallel scanning channels, and the number of horizontal backlight partitions and the number of vertical backlight partitions of the backlight module are acquired.

[45] In order to control backlight modules with different specifications, the present invention acquires the above basic parameter information through a designated interface before determining backlight data. The specification of the backlight module, for example, 120*85, 64*90, 110*90, etc., can be determined according to the number of horizontal backlight partitions and the number of vertical backlight partitions in the basic parameter information. Herein, the number of horizontal image pixels and the number of vertical image pixels can be determined by a video resolution.

[46] In one embodiment, a range of respective parameters in the input basic parameter information can be limited in consideration of the actual usage scenario and the actual hardware resource costs. For example, it can be defined that the video input resolution supports 2K / 4K / 8K@60HZ; the number of parallel scanning channels is between 1 and 16; and the number of horizontal backlight partitions and the number of vertical backlight partitions are between 1 and 120, respectively.

[47] In step 102, a pixel partition corresponding to each backlight partition in the image to be displayed is determined according to the number of horizontal image pixels, the number of vertical image pixels, the number of parallel scanning channels, and a quantitative relationship between the number of horizontal backlight partitions and the number of vertical backlight partitions.

[48] The pixel partition in the image to be displayed includes two dimensions of a horizontal direction and a vertical direction, and in the present embodiment, the pixel partition is referred to as a horizontal pixel partition in the horizontal direction, and the pixel partition is referred to as a vertical pixel partition in the vertical direction.

[49] The pixel partitions in the image to be displayed are in one-to-one correspondence with the backlight partitions, thus the number of horizontal backlight partitions is equal to the number of horizontal pixel partitions, and the number of vertical backlight partitions is equal to the number of vertical pixel partitions. The width of the horizontal pixel partition can be determined according to the quantitative relationship between the number of horizontal image pixels as well as the number of parallel scanning channels and the number of horizontal backlight partitions; and the width of the vertical pixel partition can be determined according to the multiple relationship betw een the number of image vertical pixels and the number of vertical backlight partitions. [5 0]In the case of determining the number of horizontal pixel partitions and the w idth of the horizontal pixel partition, and the number of vertical pixel partitions and the width of the vertical pixel partition, the specification of the pixel partitions in the image to be displayed can be determined. The corresponding relationship between each pixel partition in the image to be displayed and the backlight partition in the backlight module is then established, that is, the pixel partition corresponding to each backlight partition in the image to be displayed is determined.

[51] In step 103, backlight data of a backlight partition corresponding to the pixel partition is determined according to the pixel values of various pixels in the pixel partition.

[52] Through the above steps, it can be seen that the present invention can modify the basic parameter information through the designated interface when the display module is running, and determine the backlight data of each backlight partition according to the modified basic parameter information, and can be adapted to and compatible with the backlight partitions of different sizes in real time without changing the system software and drive, thereby reducing the development cycle and development costs of the display module product based on the MiniLED partition backlight. 15311 n some embodiments, said determining the backlight data of the backlight partition corresponding to the pixel partition according to the pixel values of various pixels in the pixel partition can include: obtaining a maximum pixel value and a pixel sum in the pixel partition according to the pixel values of various pixels in the pixel partition; determining a pixel average value according to a division quantization parameter of the pixel partition and the pixel sum; determining basic backlight data of the backlight partition corresponding to the pixel partition according to the maximum pixel value and the pixel average value and respective weights; filtering basic backlight data corresponding to all backlight partitions to obtain target backlight data of each backlight partition.

[54] Because backlight calculation needs to be output only after the transmission of a complete frame of image is completed, backlight will lag behind the image by one frame, resulting in issues of inaccurate pixel compensation and asynchronous display of the image and backlight. Therefore, frame buffer is performed on the image to be displayed to ensure that the image to be displayed and the backlight data used for pixel compensation keep synchronous, so as to obtain more accurate and better synchronous backlight control effect. That is, the method further includes: caching the image to be displayed to a video frame buffer device; controlling the backlight data of all backlight partitions to be output synchronously with the image to be displayed when the backlight data of all backlight partitions is acquired.

[55] FIG. 2 is an architecture diagram of a method for controlling a backlight module according to an embodiment of the present invention. As shown in FIG. 2, the complete control process of the present invention can be divided into a parameter calculation portion, a partition backlight calculation portion and a video synchronization portion.

[56] In the parameter calculation portion, derived parameters required for generating the partition backlight calculation portion are calculated according to the currently input basic parameter information. The derived parameters include width information of the horizontal pixel partition, width information of the vertical pixel partition, a division quantization parameter, a quantization bit, a horizontal arrangement sequence, and a vertical arrangement sequence.

[57] The partition backlight calculation portion includes a basic backlight calculation portion and a backlight smoothing filtering portion. In the basic backlight calculation portion: basic backlight data of the pixel partition corresponding to the backlight partition is extracted from the image to be displayed according to an arrangement mode of the backlight partition, and the basic backlight data can be determined by weighting calculation using a mean algorithm and a maximum algorithm. In the backlight smoothing filtering portion: a set filter kernel is used for smooth filtering, obtaining target backlight data that can be output and displayed. 1581In the video synchronization portion, the image to be displayed is cached. In the present embodiment, a Double Data Rate (DDR) Synchronous Dynamic Random Access Memory may be used as a video frame buffer device.

[59] Those skilled in the art should appreciate that the video data and the image to be displayed express the same meaning in this embodiment. 1601 In the process of controlling the backlight module in the present invention, the changes in basic parameters include a size (resolution) of video data, a video data transmission rate (the number of parallel scanning channels), and a number of pixels in each backlight partition, etc. The control method is usually realized by FPGA (Field Programmable Gate Array), which will affect the FPGA implementation architecture due to the characteristics of FPGA fixed-point calculation and the computational structure of algorithm circuit solidification. Therefore, in the implementation using FPGA, the following optimization design can be carried out for the algorithm: 16111. Analyzing the basic parameters and summarizing the parameters of the subsequent calculation module to obtain the derived parameter data.

[62] Before calculating the basic backlight data of the pixel partition, the derived parameters used in the control process are obtained in advance according to the basic parameters of the backlight specification and the video specification, which can reduce the calculation complexity inside the partition backlight calculation portion and improve the efficiency and speed of the video and backlight calculation. That is to say, all parameter calculations in the parameter calculation portion are made in advance at a frame start stage (i.e., a blank period between frames), which can avoid the non-real-time performance caused by a high delay of a divider, and the derived parameters can be directly used for calculation at a pixel transmission stage to ensure the real-time performance of calculation.

[63] For users, video data with different resolutions within a set range and backlight partition information with different arrangement specifications can be input, and the above basic parameter information can also be modified during operation. The FPGA completes the calculation of the derived parameters at the frame start stage, and uses the derived parameters for control at the pixel transmission stage.

[64] 2. Adopting a computing architecture adapted to the highest amount of video data, and achieving backward compatibility of data calculation through parameter control.

[65] For example, the RAM instantiation size is implemented as a maximum partition case (120*120). 16613. Dynamically adjusting a sequence flag bit and a pixel counter when the externally input basic parameters change.

[67] There are specifically included adopting a horizontal arrangement sequence to identify the width of the horizontal pixel partition, adopting a vertical arrangement sequence to identify the width of the vertical pixel partition, and adopting four counters to determine the pixel partition to which the currently scanned pixel belongs, and the horizontal arrangement sequence and the vertical arrangement sequence are dynamically adjusted when the externally input basic parameters change. The number of horizontal backlight partitions and the number of vertical backlight partitions in the basic parameters, as well as the dynamic adjustment of the horizontal arrangement sequence and the vertical arrangement sequence will affect a value range of different counters, thereby affecting the pixel partition to which the currently scanned pixel belongs.

[68] The following embodiments will specifically explain the computational logic of each portion described above. 169]In some embodiments, said determining the pixel partition corresponding to each backlight partition in the image to be displayed according to the number of horizontal image pixels, the number of vertical image pixels, the number of parallel scanning channels, and the quantitative relationship between the number of horizontal backlight partitions and the number of vertical backlight partitions, may include the following steps 1021 to 1024.

[70] In step 1021, the w idth of the horizontal pixel partition is determined according to the multiple relationship between the number of horizontal image pixels as well as the number of parallel scanning channels and the number of horizontal backlight partitions, and the width of the vertical pixel partition is determined according to the multiple relationship between the number of vertical image pixels and the number of vertical backlight partitions.

[71] Since video data transmission is propagated in parallel according to a plurality of (e.g., N) channels per clock cycle, in order to reduce the computational volume, when backlight partitions are divided, clock counting serves as a segmentation unit in the horizontal direction, i.e., the width of each backlight partition in the horizontal direction is KH clock cycles; pixels serve as a segmentation unit in the vertical direction, i.e., the width of each backlight partition in the vertical direction is KV pixel rows. Herein, N is the number of parallel scanning channels, and N G 1-16. When the width of the pixel partition in the horizontal direction and the width of the pixel partition in the vertical direction are determined, it can be discussed on a case-by-case basis according to the image resolution and whether the backlight partition is divisible. 17211 n the horizontal direction, according to the multiple relationship between the number of horizontal image pixels as well as the number of parallel scanning channels and the number of backlight horizontal partitions, the width of the horizontal pixel partition can be divided into the following two cases:

[73] In the first case, if there is a non-integer multiple between the number of horizontal image pixels as well as the number of parallel scanning channels and the number of horizontal backlight partitions, the first horizontal width and the second horizontal width of the horizontal pixel partition are determined using a rounding function according to the number of horizontal image pixels, the number of parallel scanning channels, and the number of horizontal backlight partitions. Herein, the first horizontal width and the second horizontal width are an integer number of clock cycles.

[74] In the second case, if there is an integer multiple between the number of horizontal image pixels as well as the number of parallel scanning channels and the number of horizontal backlight partitions, the third horizontal width of the horizontal pixel partition is determined according to the number of horizontal image pixels, the number of parallel scanning channels, and the number of horizontal backlight partitions. Herein, the third horizontal width is an integer number of clock cycles.

[75] That is to say, in the case where the number of horizontal image pixels and the number of horizontal backlight partitions are numerically indivisible, in order to prevent the width of each horizontal pixel partition from being a non-integer numerical value, the width of the horizontal pixel partition is divided into two cases where the width difference is 1, that is, the first horizontal width and the second horizontal width differ by one clock cycle. In the case where the number of horizontal image pixels and the number of horizontal backlight partitions are numerically divisible, the width of each horizontal pixel partition is an integer number of clock cycles.

[76] Similarly, in the vertical direction, according to the multiple relationship between the number of vertical image pixels and the number of vertical backlight partitions, the width of the vertical pixel partition can also include the following two cases:

[77] In the first case, if there is a non-integer multiple between the number of vertical image pixels and the number of vertical backlight partitions, the first vertical width and the second vertical width of the vertical pixel partition are determined using the rounding function according to the number of vertical image pixels and the number of vertical backlight partitions.

[78] In the second case, if there is an integer multiple between the number of vertical image pixels and the number of vertical backlight partitions, the third vertical width of the vertical pixel partition is determined according to the number of vertical image pixels and the number of vertical backlight partitions.

[79] That is to say, in the case where the number of vertical image pixels and the number of vertical backlight partitions are numerically indivisible, in order to prevent the width of each vertical pixel partition from being a non-integer numerical value, the width of the vertical pixel partition is divided into two cases where the width difference is 1, that is, the first vertical width and the second vertical width differ by one pixel row. In the case where the number of vertical image pixels and the number of vertical backlight partitions are numerically divisible, the width of each vertical pixel partition is an integer number of pixel rows.

[80] In the present embodiment, said determining the first horizontal width and the second horizontal width of the horizontal pixel partition using the rounding function according to the number of horizontal image pixels, the number of parallel scanning channels, and the number of horizontal backlight partitions can include: determining a number of scanning times in a horizontal image direction according to the multiple relationship between the number of horizontal image pixels and the number of parallel scanning channels; determining the first horizontal width of the horizontal pixel partition using a downward rounding function according to the number of scanning times in the horizontal image direction and the number of horizontal backlight partitions; and determining the second horizontal width of the horizontal pixel partition using an upward rounding function according to the number of scanning tunes in the horizontal image direction and the number of horizontal backlight partitions.

[81] In the present embodiment, said determining the first vertical width and the second vertical width of the vertical pixel partition using the rounding function according to the number of vertical image pixels and the number of vertical backlight partitions can include:

[82] determining the first vertical width of the vertical pixel partition using the downward rounding function according to the number of vertical image pixels and the number of vertical backlight partitions; and determining the second vertical width of the vertical pixel partition using the upward rounding function according to the number of vertical image pixels and the number of vertical backlight partitions.

[83] In Example 1, the present embodiment takes the resolution of the image to be displayed being 4K, i.e., the number of horizontal image pixels is 4096 and the number of vertical image pixels is 2160, the backlight partition being 120*85, i.e., the number of horizontal backlight partitions is 120 and the number of vertical backlight partitions is 85, and the number of parallel scanning channels being 8 as an example, said determining the width of the pixel partition is described.

[84] Since the number of horizontal image pixels 4096 and the number of horizontal backlight partitions 120 are not divisible, in this example, there are horizontal pixel partitions with two widths. In consideration of clock cycles as the segmentation unit in the horizontal direction, it is possible to calculate the number of scanning times in the horizontal image direction according to Formula 1, determine the first horizontal width of the pixel horizontal partition using the downward rounding function according to Formula 2, and then determine the second horizontal width of the pixel horizontal partition using the upward rounding function according to Formula 3.

[85] VDCLKH = VDHACWDCHNL Formula 1

[86] KH1 = Floor (VDCLKH / BLHAC) Formula 2

[87] KH2 = Ceil (VDCLKH / BLHAC) Formula 3

[88] Herein, VDCLKH is the number of scanning times in the horizontal image direction, VDHAC is the number of horizontal image pixels, VDCHNL is the number of parallel scanning channels, KH1 is the first horizontal width of the horizontal pixel partition, KH2 is the second horizontal width of the horizontal pixel partition, BLHAC is the number of horizontal backlight partitions, Floor () is the downward rounding function, and Ceil () is the upward rounding function.

[89] Through the above calculation, it can be determined that the first horizontal width KH1 is 4, i.e., 32 pixel columns are included in the horizontal pixel partition in this case, and that the second horizontal width KH2 is 5, i.e., 40 pixel columns are included in the horizontal pixel partition in this case.

[90] Since the number of vertical image pixels 2160 and the number of vertical backlight partition 85 are not divisible, in this example, there are also vertical pixel partitions with two widths. In this case, the first vertical width of the vertical pixel partition can be determined using the downward rounding function according to Formula 4, and then the second vertical width of the vertical pixel partition can be determined using the upward rounding function according to Formula 5.

[91] KV1 = Floor ((VDVAC) / BLVAC) Formula 4

[92] KV2 = Ceil ((VDVAC) / BLVAC) Formula 5

[93] Herein, KV1 is the first vertical width of the vertical pixel partition, KV2 is the second vertical width of the vertical pixel partition, VDVAC is the number of vertical image pixels, and BLVAC is the number of vertical backlight partitions. l94]Through the above calculation, it can be determined that the first vertical width KV1 is 25, that is, 25 pixel rows are included in the vertical pixel partition in this case, and that the second vertical width KV2 is 26, that is, 26 pixel rows are included in the vertical pixel partition in this case.

[95] Example 2 takes the resolution of the image to be displayed being 4K, i.e. the number of horizontal image pixels is 4096 and the number of vertical image pixels is 2160, the backlight partition being 120*90, i.e., the number of horizontal backlight partitions is 120 and the number of vertical backlight partitions is 90, and the number of parallel scanning channels being 8 as an example, wherein the number of vertical image pixels 2160 and the number of vertical backlight partition 90 are divisible in this case, the vertical pixel partition only has one width in the vertical direction, i.e., 24 pixel rows are included in each vertical pixel partition.

[96] In Example 1, the number of horizontal image pixels and the number of horizontal backlight partitions, as well as the number of vertical image pixels and the number of vertical backlight partitions are not divisible, and in Example 2, the number of horizontal image pixels and the number of horizontal backlight partitions are not divisible, but the number of vertical image pixels and the number of vertical backlight partitions are divisible. In practical applications, there will be four cases of mutual combination, with the same calculation principle, which are not repeated here.

[97] According to step 1021, it can be seen that there are two cases that the number of horizontal image pixels and the number of horizontal backlight partitions are divisible and indivisible, wherein in the divisible case, the horizontal pixel partition only has one width, and the number of horizontal pixel partitions with this width is equal to the number of horizontal backlight partitions; and in the indivisible case, the horizontal pixel partition has two widths, and the corresponding number of horizontal pixel partitions with each width can be determined according to step 1022. Similarly, the corresponding number of vertical pixel partitions with each width in the vertical direction can also be determined.

[98] In step 1022, an arrangement number of horizontal pixel partitions with different widths in a pixel row is determined according to the number of horizontal image pixels, the number of parallel scanning channels, and the number of horizontal backlight partitions, and an arrangement number of vertical pixel partitions with different widths in a pixel column is determined according to the number of vertical image pixels and the number of vertical backlight partitions.

[99] For convenience of description, the horizontal pixel partition with the first horizontal width is referred to as a first horizontal pixel partition, the horizontal pixel partition with the second horizontal width is referred to as a second horizontal pixel partition, the vertical pixel partition with the first vertical width is referred to as a first vertical pixel partition, and the vertical pixel partition with the second vertical width is referred to as a second vertical pixel partition.

[100] In order to obtain the arrangement number of the first horizontal pixel partition and the arrangement number of the second horizontal pixel partition, an equation can be constructed according to known conditions, as shown in Formula 6, and then the arrangement number of the first horizontal pixel partition and the arrangement number of the second horizontal pixel partition can be solved. There are specifically included constructing an equation according to the sum of the arrangement number of the first horizontal pixel partition and the arrangement number of the second horizontal pixel partition being equal to the number of horizontal backlight partitions, the sum of the arrangement number of the first horizontal pixel partition multiplied by the width of the first horizontal pixel partition and the arrangement number of the second horizontal pixel partition multiplied by the width of the second horizontal pixel partition being equal to the number of scanning times in the horizontal image direction, and the difference between the width of the first horizontal pixel partition and the width of the second horizontal pixel partition being equal to 1. The arrangement number of the first horizontal pixel partition and the arrangement number of the second horizontal pixel partition can be obtained by solving the equation.

[101] KH1 * xH + KH2 * yH = VDCLKH xH +yH = BLHAC KH1 - KH2 = 1 Formula 6 1102 |In Formula 6, xH is the arrangement number of the first horizontal pixel partition, and yH is the arrangement number of the second horizontal pixel partition.

[103] In the present embodiment, said determining the arrangement number of the horizontal pixel partitions with different widths in the pixel row according to the number of horizontal image pixels, the number of parallel scanning channels, and the number of horizontal backlight partitions can include: determining a difference between the number of scanning times in the horizontal image direction and a product of the second horizontal width and the number of horizontal backlight partitions as an arrangement number of the first horizontal pixel partition in the pixel row; determining a difference between the number of horizontal backlight partitions and a product of the number of scanning times in the horizontal image direction and the first horizontal width as an arrangement number of the second horizontal pixel partition in the pixel row, wherein the number of scanning times in the horizontal image direction is determined according to the number of horizontal image pixels and the number of parallel scanning channels. [ 104]Formula 6 is deformed to obtain Formula 7. and the arrangement number of the first horizontal pixel partition and the arrangement number of the second horizontal pixel partition are determined according to Formula 7. „ (xH = KH2* BLHAC-VDCLKH r , , 11 5 '(yW = VDCLKH - KH1 * BLHAC Formula 7 11061 Following the above Example 1, it can be obtained using Formula 7 that the arrangement number xH of the first horizontal pixel partition is 88, and the arrangement number yH of the second horizontal pixel partition is 32. [ 1071Similarly, said determining the arrangement number of the vertical pixel partitions with different widths in the pixel column according to the number of vertical image pixels and the number of vertical backlight partitions can include: determining a difference between the number of vertical image pixels and a product of the second vertical width and the number of vertical backlight partitions as an arrangement number of the first vertical pixel partition in the pixel column; determining a difference between the number of vertical image pixels and a product of the first vertical width and the number of vertical backlight partitions as an arrangement number of the second vertical pixel partition in the pixel column.

[108] In the present embodiment, the arrangement number of the first vertical pixel partition and the arrangement number of the second vertical pixel partition can be determined by Formula 8. r(xV = KV2*BLVAC-VDVAC r , „ ' 9'lyF = VDVAC - KV1 * BLVAC Formula 8 1110]In Formula 8, xV is the arrangement number of the first vertical pixel partition, and yV is the arrangement number of the second vertical pixel partition. [lll]After obtaining the arrangement number of the horizontal pixel partitions with different widths in the horizontal direction according to step 1022, in order to uniformly partition the first horizontal pixel partition and the second horizontal pixel partition in the horizontal direction, it is needed to determine the horizontal arrangement sequence SEQH of the horizontal pixel partitions with different widths; similarly, after obtaining the arrangement number of the vertical pixel partitions with different widths in the vertical direction, in order to uniformly partition the first vertical pixel partition and the second vertical pixel partition in the vertical direction, it is needed to determine the horizontal arrangement sequence SEQV of the vertical pixel partitions with different widths.

[112] In step 1023, a horizontal arrangement sequence of horizontal pixel partitions with different widths and a vertical arrangement sequence of vertical pixel partitions with different widths are determined. 1113]In the present embodiment, said determining the horizontal arrangement sequence of the horizontal pixel partitions with different widths can include:

[114] determining an arrangement ratio according to a ratio of the arrangement number of the first horizontal pixel partitions in the pixel row and the arrangement number of the second horizontal pixel partitions in the pixel row; [ 115]rounding down the arrangement ratio and then adding it to a unit clock cycle to obtain an arrangement period;

[116] if the arrangement period is not equal to a set period, rounding down half of the arrangement ratio and then adding it to the unit clock cycle to obtain an arrangement half period, and if the arrangement period is equal to the set period, determining the unit clock cycle as the arrangement half period; [ 117]utilizing the arrangement number of the first horizontal pixel partition in the pixel row to subtract a product of the arrangement ratio rounded down and the arrangement number of the second horizontal pixel partition in the pixel row to obtain an arrangement remainder;

[118] for each horizontal pixel partition, determining a position where a sequence number of a current horizontal pixel partition is located to arrange the first horizontal pixel partition or the second horizontal pixel partition according to a relationship between a sequence number of the horizontal pixel partition as well as a remainder of the arrangement period and the arrangement half period, and when a set condition is satisfied, arranging the first horizontal pixel partition at a position where a sequence number of a next horizontal pixel partition is located, wherein the set condition includes that the sequence number of the horizontal pixel partition and the remainder of the arrangement period are zero, and the sum of the arrangement remainder is greater than the arrangement number of the second horizontal pixel partition in the pixel row.

[119] In the present embodiment, the arrangement ratio can be determined by Formula 9, the arrangement period can be detennined by Formula 10, and then the arrangement half period can be determined by Formula 11, and finally the arrangement remainder can be determined by Formula 12.

[120] zh = ^ Formula 9

[121] Th = floor^zh) + 1 Formula 10 { / Th\ floor IT) + 1 Th * 2 Formula 11 1 Th = 2

[123] rmdh = xH — floor^zh) * yH Formula 12

[124] In the above formulas, zh is the arrangement ratio, Th is the arrangement period, Thw / is the arrangement half period, and rmdh is the arrangement remainder.

[125] In the present embodiment, said determining the position where the current horizontal pixel partition sequence number is located to arrange the first horizontal pixel partition or the second horizontal pixel partition according to the relationship between the sequence number of the horizontal pixel partition as well as the remainder of the arrangement period and the arrangement half period, can include:

[126] if the sequence number of the horizontal pixel partition and the remainder of the arrangement period are equal to the arrangement half period, determining the position where the horizontal pixel partition is located to arrange the second horizontal pixel partition;

[127] if the sequence number of the horizontal pixel partition and the remainder of the arrangement period are not equal to the arrangement half period, determining the position where the horizontal pixel partition is located to arrange the first horizontal pixel partition.

[128] In the indivisible case, the size of the horizontal pixel partition in the horizontal direction includes two cases. In the case where the arrangement number of the first horizontal pixel partition is greater than the arrangement number of the second horizontal pixel partition, i.e., xH >yH, it can be defined that '0' is used to identify the first horizontal pixel partition with a width being the first horizontal width KH1 and ‘ T is used to identify the second horizontal pixel partition with a width being the second horizontal width KH2 in the horizontal arrangement sequence SEQH. At the same time, according to the total number of horizontal pixel partitions, it can be determined that the horizontal arrangement sequence SEQH is 120 at most, so the horizontal arrangement sequence can be initialized to 120 bits of ‘O’.

[129] The following takes the calculation of the horizontal arrangement sequence as an example, and in the following example, the arrangement of each horizontal pixel partition is calculated by counting i from 1 to the number of horizontal backlight partitions BLHAC, and counting j from 0 to the number of horizontal backlight partitions BLHAC-1, wherein i is the sequence number of the horizontal pixel partition, and j is the sequence number of the horizontal arrangement sequence.

[130] The result of the count i mod Th is judged, and ‘0’ or ‘1’ is selected for sequence padding according to the value of the remainder thereof.

[131] 1. In the case of mod(i,Th)=Th / ja / y, the j-th bit of the horizontal arrangement sequence SEQH is padded with ‘1’.

[132] 2. In the case of mod(i,Th)=other values, the j-th bit of the horizontal arrangement sequence SEQH is padded with ‘0”.

[133] 3. In the case of mod(i,Th)=other values and mod(i,Th)=0, the arrangement remainder is accumulated according to rmdhc^rmdlw+rmdh to obtain an arrangement remainder accumulative sum rmdhCB / , wherein the initial value of rmdlw is equal to 0, and it is further judged whether there is a need to additionally pad bits according to the value of the arrangement remainder accumulative sum nndhOTZ:

[134] If rmdlw>yH, there is a need to additionally pad bits, i.e., ‘0’ is padded at the j+l-th bit of the horizontal arrangement sequence SEQH, and rmdh„„ is corrected according to nndhCB / =rmdhc„ryH; at the same time, the counting period BLHAC of i is self-decreased by one to ensure that the number of bits totally padded in the horizontal arrangement sequence is equal to BLHAC. [ 135]If rmdhOTz<yH, there is no need to additionally pad bits, i.e., no processing is done. 1136|I 1' it is in the case of xh<yh, the calculation method of the horizontal arrangement sequence thereof is similar, i.e., ‘0’ and ‘1’, as well as xH and yH in the above judgment logic are exchanged.

[137] Following Example 1, the process of determining the horizontal arrangement sequence of the horizontal pixel partitions with different widths is described, wherein the arrangement ratio determined according to Formula 9 is 2.75, the arrangement period Th determined according to Formula 10 is 3, the arrangement half period Tlu< determined according to Formula 11 is 2, and the arrangement remainder rmdh determined according to Formula 12 is 24.

[138] FIG. 3 is a schematic diagram of determining the horizontal arrangement sequence in Example 1 according to the embodiment of the present invention, and as shown in FIG. 3, the horizontal arrangement sequence is determined according to the above obtained parameters.

[139] Inthecaseofi=l and j=0, mod(l, 3)=1. Since 1 is not equal to the arrangement half period TIim / , it belongs to the case of another values, and ‘0’ is padded at the j-th bit (i.e., the O-th bit in FIG. 3) of the horizontal arrangement sequence SEQH.

[140] In the case of i=2 and j=l, mod(2,3)=2. Since 2 is equal to the arrangement half period Th / „ / / , in this case, ‘ 1 ’is padded at the j-th bit (i.e., the 1st bit in FIG. 3) of the horizontal arrangement sequence SEQH. [14 l]In the case of i=3 and j=2, mod(3,3)=0. Since 0 is not equal to the arrangement half period Thw / , in this case, ‘0’ is padded at the j-th bit (i.e., the 2nd bit in FIG. 3) of the horizontal arrangement sequence SEQH.

[142] Since mod(3,3)=0 when i=3 and j=2, in this case the arrangement remainder is accumulated to determine whether there is a need to additionally pad bits. In the case of i=3, the arrangement remainder nndh is 0.75*32=24, rmdlw=0, and the arrangement remainder accumulative sum rmdlw=24 is obtained according to rmdh„,,=rmdh„, / +nndh. and since 24<32, no processing is performed.

[143] In the case of i=4 and j=3, mod(4,3)=1. Since 1 is not equal to the arrangement half period Thw / , in this case, ‘0’ is padded at the j-th bit (i.e., the 3rd bit in FIG. 3) of the horizontal arrangement sequence SEQH.

[144] In the case of i=5 and j=4, mod(5,3)=2. Since 2 is equal to the arrangement half period Th^, in this case, 4’ is padded at the j-th bit, i.e., the 4th bit, of the horizontal arrangement sequence SEQH.

[145] In the case of i=6 and j=5, mod(6,3)=0. Since 0 is not equal to the arrangement half period Thw / , in this case, ‘0’ is padded at the j-th bit, i.e., the 5th bit, of the horizontal arrangement sequence SEQH.

[146] Since mod(6,3)=0 when i=6, in this case, the arrangement remainder is accumulated to determine whether there is a need to additionally pad bits. In the case of i=6, the arrangement remainder rmdh is 0.75*32=24, rmdlw=24 when i=3, and the arrangement remainder accumulative sum rmdh.,;,.=48 is obtained according to rmdhi,;,.=rmdh.,;..+rmdh. Since 48 >32, ‘0’ is padded at the j+l-th bit, i.e., the 6th bit, of the horizontal arrangement sequence SEQH, and rmdhlw is corrected according to rmdlw=midhc„ryH, and the corrected rmdh„,;=l6.

[147] In the case of i=7 and j=7... and so on, the horizontal arrangement sequence SEQH is obtained.

[148] When the horizontal arrangement sequence SEQH is determined using FPGA by the above method, and subsequently a value of each bit in the horizontal arrangement sequence SEQH is read, an addressing operation will be involved, which operation will occupy a lot of computing resources. In order to reduce computing resources, when the horizontal arrangement sequence SEQH is determined, data is padded from one end of the sequence, that is, data can be padded from the highest bit or the lowest bit, for example, when data is padded from the highest bit, and each padding after the first padding is carried out, die padded sequence is shifted to a lower bit by a unit length (i.e., shifted to the right by 1 bit), so that the latest bit data is padded at the highest bit. Since the actual number of horizontal pixel partitions is not certainly equal to a preset maximum value of the number of horizontal backlight partitions (for example 120), after the padding operation is completed, bit shift sinking is carried out for the padded sequence according to a difference between the number of horizontal pixel partitions and the maximum value of the number of horizontal backlight partitions.

[149] Accordingly, the method of the present invention further includes: [15 0]initializing a sequence w ith a set length and the sequence number of the horizontal pixel partition; [15 l]if the sequence number of the horizontal pixel partition and the remainder of the arrangement period are equal to the arrangement half period, and the sequence is not padded for the first time, padding 1 at the highest bit of the sequence after the padded sequence is shifted to a lower bit by a unit length;

[152] if the sequence number of the horizontal pixel partition and the remainder of the arrangement period are not equal to the arrangement half period, and the sequence is not padded for the first time, padding 0 at the highest bit of the sequence after the padded sequence is shifted to the lower bit by the unit length; [ 153]if the sequence number of the horizontal pixel partition and the remainder of the arrangement period are 0, and the sum of the arrangement remainder is greater than the arrangement number of the second horizontal pixel partition in the pixel row, padding 0 at the highest bit of the sequence, and updating the number of horizontal backlight partitions after the padded sequence is shifted to the lower bit by the unit length;

[154] if the sequence number of the horizontal pixel partition is equal to an updated number of horizontal backlight partitions, shifting the padded valid bit to the lowest bit of the sequence to obtain the horizontal arrangement sequence. [155JF1G. 4A is a flowchart of determining the horizontal arrangement sequence according to an embodiment of the present invention. As shown in FIG. 4A, in this embodiment, the arrangement of each horizontal pixel partition is calculated by counting i from 1 to BLHAC:

[156] The result of the count i mod Th is judged, and ‘0’ or ‘1’ is selected for sequence padding according to the value of the remainder thereof. For each padding, the previous sequence is shifted to the lower bit by 1 bit, and the highest bit is padded with the latest sequence data.

[157] 1. In the case of nmdfi.Th )=Th / M / / . the highest bit of the horizontal arrangement sequence SEQH is padded with ‘1’.

[158] 2. In the case of mod(i,Th)=other values, the highest bit of the horizontal arrangement sequence SEQH is padded with ‘O’. [I59]3. In the case of mod(i, Th) other values and mod(i,Th)=0, the arrangement remainder is accumulated to calculate nndh. . ..=nndhcW-rmdh, and it is determined whether there is a need to additionally pad bits according to the value of the arrangement remainder accumulative sum rmdh„„:

[160] If rmdh„„>yH. the highest bit of the horizontal arrangement sequence SEQH is padded with ‘O’, and rmdh„„ is corrected according to rmdh„,,=nndlil„.--} H. and at the same time, the counting period BLHAC of i is self-decreased by one to ensure that the number of bits totally padded in the horizontal arrangement sequence is equal to the BLHAC. [ 161 ]If rmdlw<yH, no processing is done.

[162] After counting i is completed, bit shift sinking is performed, shifting the padded valid bits to the lowest bit of the sequence, i.e., the number of shifting seqhsuftcnt is: seqh^c„ / =120-BLHAC.

[163] FIG. 4B is a schematic diagram of determining the horizontal arrangement sequence in Example 1 according to an embodiment of the present invention, and the horizontal arrangement sequence determined using the method shown in FIG. 3 in Example 1 is shown in FIG. 4B.

[164] ln the case of i=l, mod(l,3)=1. Since 1 is not equal to the arrangement half period Th / ;a / y, it belongs to the case of another values, and then '0' is padded at the highest bit of the sequence, i.e., '0' is padded at the 119th bit as shown in FIG. 4B.

[165] In the case of i=2, mod(2,3)=2. Since 2 is equal to the arrangement half period Th / j<and is not padded for the first time, then ‘1’ is padded at the highest bit of the sequence, i.e., ‘1’ is padded at the 119th bit as shown in FIG. 4B, after the padded sequence is shifted to the right by 1 bit. 116611 n the case of i=3, mod(3,3)=0. Since 0 is not equal to the arrangement half period Thw / , and is not padded for the first time, then ‘0’ is padded at the highest bit of the sequence, i.e., ‘0’ is padded at the 119th bit as shown in FIG. 4B, after the padded sequence is shifted to the right by 1 bit.

[167] When i=3, although mod(3,3)=0, the arrangement remainder accumulative sum does not satisfy the preset condition, thus there is no need to additionally pad bits.

[168] In a similar fashion, until i is equal to the updated number of horizontal backlight partitions, the padded valid bits are shifted to the lowest bit of the sequence to obtain the horizontal arrangement sequence SEQH. For example, when the number of horizontal backlight partitions is equal to 70, it is needed to shift the padded valid bits to the right by 50 bits to the lowest bit of the sequence.

[169] The above embodiment describes the indivisible case, and in the divisible case, there is only one case of the width of the horizontal pixel partition, and in this case, the length of the horizontal arrangement sequence can be set as the number of horizontal backlight partitions, and all values in the horizontal arrangement sequence are ‘0’ or ‘1’.

[170] Similarly, the sequence SEQV arrangement direction in the vertical direction can be calculated. Since the calculation principle is the same, it will not be repeated here. [171 ]In step 1024, according to the horizontal arrangement sequence and the vertical arrangement sequence, a pixel partition corresponding to each backlight partition in the image to be displayed is determined. 11721 When basic backlight statistics is carried out, it is needed to calculate a mean value of all pixels within each pixel partition, and a division method will be involved in this process. The FPGA needs tens of clock cycle delay for the division method, and the result cannot be obtained in real time, thus the present invention uses an iterative method to convert division into multiplication for calculation, that is, a pixel average value of the pixel partition is determined according to the pixel sum and the division quantization parameter of the pixel partition. Specifically, the pixel average value of the pixel partition can be determined by Formula 13. [ 173]Bavg = (Bsum * DIVPARAM) » DIVBIT Formula 13

[174] In Formula 13, Bavg is the pixel average value, Bsum is the pixel sum, DIVPARAM is the division quantization parameter, and DIVBIT is the quantization bit. Said DIVPARAM can be determined according to Formulal4. yDIVBIT

[175] DIVPARAM = -.........;...................... Formula 14 Kh*VDCHNL*Kv

[176] In the present embodiment, the division quantization parameter can be determined by: acquiring the maximum pixel number of the pixel partition in the horizontal direction and the maximum pixel number of the pixel partition in the vertical direction; determining the quantization bit according to the maximum pixel number in the horizontal direction and the maximum pixel number in the vertical direction; determining the division quantization parameter corresponding to the pixel partition according to the pixel number in the pixel partition and the quantization bit. 11771 In the present embodiment, according to quantization error statistics, the precision can be satisfied if the quantized integer bit is 16 bit, and therefore, the quantization bit can be determined by Formula 16 in the present embodiment.

[178] D / WT = bitnum(Kh * VDCHNL * Kv) + 16 Formula 16

[179] In Fonnula 16, DIVBIT is the quantization bit, and bitnum () is the binary bit width operation for acquiring data. In Formula 16, Kh takes the maximum pixel number in the horizontal direction and Kv takes the maximum pixel number in the vertical direction, and taking the pixel partition in Example 1 as an example, Kh takes the maximum pixel number of the pixel partition in the horizontal direction, 5*8=40, and Kv takes the maximum pixel number of the pixel partition in the vertical direction, 26.

[180] In the present invention, a bit width is dynamically calculated by the pixel number in the horizontal and vertical directions of the pixel partition, which can save resources as compared with setting a fixed bit width (the fixed bit width is usually set to be a larger value in order to adapt to different scenes, which will cause waste of resources). [ 181 ]In one embodiment, since the pixel partition can have two widths in both the horizontal direction and the vertical direction, such as Example 1, in this case, different types of pixel partitions can be obtained by a combination of the pixel partition width in the horizontal direction and the pixel partition width in the vertical direction. Herein, a first type of pixel partitions has a first horizontal width and a first vertical width, a second pc of pixel partitions has a first horizontal width and a second vertical width, a third type of pixel partitions has a second horizontal width and a first vertical width, and a fourth type of pixel partitions has a second horizontal width and a second vertical width.

[182] Since the pixel number in different types of pixel partitions is different, the division quantization parameters corresponding to different types of pixel partitions are also different. Therefore, said determining the division quantization parameter corresponding to the pixel partition according to the pixel number in the pixel partition and the quantization bit, can include: [183 |if the type of the pixel partition is the first type, determining a first pixel number in the first type of pixel partitions according to the first horizontal width and the first vertical width, and determining a first division quantization parameter corresponding to the first type of pixel partitions according to the first pixel number and the quantization bit;

[184] if the type of the pixel partition is the second type, determining a second pixel number in the second type of pixel partitions according to the first horizontal width and the second vertical width, and determining a second division quantization parameter corresponding to the second type of pixel partitions according to the second pixel number and the quantization bit;

[185] if the type of the pixel partition is the third type, determining a third pixel number in the third type of pixel partitions according to the second horizontal width and the first vertical width, and determining a third division quantization parameter corresponding to the third type of pixel partitions according to the third pixel number and the quantization bit; and

[186] if the type of the pixel partition is the fourth type, determining a fourth pixel number in the fourth type of pixel partitions according to the second horizontal width and the second vertical width, and determining a fourth division quantization parameter corresponding to the fourth type of pixel partitions according to the fourth pixel number and the quantization bit.

[187] In this embodiment, the division quantization parameter corresponding to different types of pixel partitions can be determined by Formula 17. (DIUPARAM1 — 2DIVBIT KH1 DIVPAPAM7 — *VDCHNL* 2DIVBIT KVl

[188] < U1 v r / 1 K / i 1^1 A — KH1 niWDADA — *VDCHNL* 2DIVBIT KV2 KH2*VDCHNL* ?DIVBIT niVD ADA AAA — KVl X "KH2 WDCHNL* KV2 Formula 17

[189] In Formula 17, DIVPARAM1 is the division quantization parameter corresponding to the first type of pixel partitions,DIVPARAM2 is the division quantization parameter corresponding to the second type of pixel partitions, DIVPARAM3 is the division quantization parameter corresponding to the third type of pixel partitions, and DIVPARAM4 is the division quantization parameter corresponding to the fourth type of pixel partitions.

[190] In the actual application process, after the derived parameters used in the control process are obtained according to the basic parameters of backlight specification and video specification, the size of each pixel partition and the number of total pixel partitions are dynamically adjusted by the derived parameters, and the basic backlight data and target backlight data of pixel partitions are calculated in real time. The following embodiment will specifically describe the process of calculating the base backlight data and the target backlight data. [191 ]In the present embodiment, the maximum pixel value in the pixel partition can be determined by Formula 18.

[192] BLmax = max(Pmax(i,j)) tym.jEn Formula 18

[193] Pmax(i,j) = max (R(iJ), G(iJ), B(i,j)) Formula 19 [ 1941In the above formula,BLmax is the maximum pixel value in the pixel partition, Pmax(i,j) is the maximum pixel value of the i-th row, the j-th column, R(i, j) is the red pixel value of the i-th row, the j-th column, G(i,j) is the green pixel value of the i-th row, the j-th column, B(iJ) is the blue pixel value of the i-th row, the j-th column, m is the pixel number of the pixel partition in the horizontal direction, and n is the pixel number of the pixel partition in the vertical direction. [ 195]BLavg = (((2™i 2"=i Pmax(iJ))) * DIVPARAM) » DIVBIT Formula 20

[196] ln Formula 20,BLavg is the pixel average value of the pixel partition, ((2™i2"=ifhnax(O))) is the pixel sum in the pixel partition, DIVPARAM is the division quantization parameter, and DIVBIT is the quantization bit.

[197] In the present embodiment, the basic backlight data of the backlight partition corresponding to the pixel partition can be determined by Formula 21.

[198] BL = a * BLavg + (1 - a) * BLmax Formula 21

[199] In Formula 21, BL is the basic backlight data, and a is the weight.

[200] In this embodiment, the basic backlight data of the backlight partition is determined by using an algorithm of weighting the maximum value and the average value, which can adjust the proportion of the maximum value and the average value in the basic backlight data by the weighting coefficient, thereby retaining the advantages of the two algorithms, and also compensate for the shortcomings of the two algorithms to a certain extent. [20l]In the present embodiment, apartition backlight calculation module is responsible for extracting backlight brightness of each pixel partition from the image to be displayed to control the MLED partition backlight to light up. The partition backlight calculation module is divided into two parts: a basic backlight calculation module and a backlight smoothing filter module.

[202] In order to adapt to the basic parameter information varying in real time, the basic backlight calculation module has been improved in counting and storage, which will be introduced separately the following embodiments.

[203] In the aspect of counting, in actual calculation, the size of each pixel partition is not unique, with two widths of KH1 and KH2 in the horizontal direction and two w idths of KV1 and KV2 in the vertical direction, and each frame is faced with the update condition of this parameter. Therefore, four counters are needed to identify the partition attribution of the current pixels, and then the partition size of the current pixel partition is obtained from the SEQH and SEQV sequences. Herein, the four counters are a clock number counter in the horizontal pixel partition, a pixel row number counter in the vertical pixel partition, a horizontal pixel partition number counter, and a vertical pixel partition number counter. In this case, the method further includes:

[204] updating the clock number counter in the horizontal pixel partition when a data enable signal is received, and resetting the clock number counter in the horizontal pixel partition when a value corresponding to the clock number counter in the horizontal pixel partition is equal to the width of the horizontal pixel partition;

[205] updating the horizontal pixel partition number counter when the clock number counter in the horizontal pixel partition is reset, and resetting the horizontal pixel partition number counter when a value corresponding to the horizontal pixel partition number counter is equal to the number of horizontal backlight partitions;

[206] updating the pixel row number counter in the vertical pixel partition when the horizontal pixel partition number counter is reset, and resetting the pixel row number counter in the vertical pixel partition when a value corresponding to the pixel row number counter in the vertical pixel partition is equal to a pixel row number in the vertical pixel partition; and

[207] updating the vertical pixel partition number counter when the pixel row' number counter in the vertical pixel partition is rest, and resetting the vertical pixel partition number counter w hen a value corresponding to the vertical pixel partition number counter is equal to the number of vertical backlight partitions.

[208] Herein, the data enable signal is referred to as DE (dataenable) signal for short, which is an active data strobe signal, and is also called an active data signal, with many representation symbols, such as dsp, dsptmg, den, de, etc. in a liquid crystal display circuit. The de signal is a signal which is active at a high level, and a video data signal corresponding to when the DE signal is at a high level is considered as an active data signal.

[209] In this embodiment, different counters correspond to different symbols: 1210]Clock number counter in the horizontal pixel partition: CLK / ,OT4 [21 l]Pixel row number counter in the vertical pixel partition: CLKWH / ;

[212] Horizontal pixel partition number counter: BLK / k.„;:

[213] Vertical pixel partition number counter: BLKVC„Z.

[214] In other words, the counting rules are as follows:

[215] @CLK / raZ: counting triggered by DE active high level is increased by one; in the case of counting the scanned clock cycles in each row to the width maximum CLKhcnt_max of the current horizontal pixel partition, the counter CLKhcnt is reset to 1;

[216] (2)BLK / !C„z: counting is increased by one when the counting by CLKtar is reset; in case of counting the number of the scanned horizontal pixel partitions in each row to the number of horizontal backlight partitions BLHAC, and triggering resetting of the CLK*cm( in the last horizontal pixel partition in the row, the counter BLK / jcn is reset to 1;

[217] (3)CLKvotz: counting is triggered to increase by one when the counting by BLKto is reset; in the case of counting the number of the scanned pixel rows in each frame to the maximum width CLKrcnrmA* of the current vertical pixel partition, the counter CLK^ is reset to 1;

[218] @BLKvc„z: counting is triggered to increase by one when the counting by CLK^ is reset; when counting the number of the scanned pixel partition rows in each frame to the total number BLVAC of vertical backlight partitions, the counter BLKw„f is reset to 1; 1219]@Thc maximum value of width of the horizontal pixel partition and the maximum value of width of the vertical pixel partition in the above items 1 and 3 are not unique values, and need to be obtained according to the derivative parameters SEQH and SEQV.

[220] When the SEQH sequence is read, it can be read from a specified end, for example, it can be read from the lowest bit, and when each reading after the first reading is performed, the remaining bits are shifted to a higher bit first, thus avoiding addressing operations and reducing the occupation of computing resources. Specifically including: [22111 f the value of the lowest bit of the current SEQH is ‘ 0 the current C L K / k^ Count Max CLKhcm / _ mia=KH 1;

[222] If the value of the lowest bit of the current SEQH is ‘ 1’, the current C LKte,„ Count Max C LKWl n„H=KH2:

[223] after the parameter calculation module at the beginning of each frame completes the parameter calculation, the SEQH acquires the current latest arrangement sequence; when the counting by CLK / k;„, is reset, that is, when the next horizontal pixel partition is switched: the SEQH sequence is shifted to the right by 1 bit.

[224] In the application process, in order to avoid loss of numerical values in the SEQH sequence due to shift after scanning a row, one copy can be cached first and then the above reading process is performed. [225JSimilarly, the judgment logic in the vertical direction is the same as that in the horizontal direction.

[226] FIG. 5 is a schematic diagram of image and pixel partition division arrangement and counting conditions of four counters according to an embodiment of the present invention. Within the data validity period, data statistics and calculation are performed by traversing each pixel in each pixel partition in a 'zigzag shape'. As shown in FIG. 5, the image 500 can be divided into a plurality of pixel partitions, and it can be seen from a partial enlargement of the pixel partition 501 that one pixel partition includes a plurality of clock cycles in the horizontal direction and a plurality of pixel rows in the vertical direction. A plurality of pixel columns are included in one clock cycle 502, and eight pixel columns are included in one clock cycle if the number of parallel scanning channels is assumed to be equal to eight.

[227] In terms of storage, data cache storage is needed in the backlight calculation in the basic backlight module mainly because backlight is calculated in pixel partitions, and the transmission of data stream is not transmitted in turn according to each pixel partition. Therefore, an intermediate calculation result of each pixel partition needs to be cached in the process of row scanning calculation, and target backlight data of a pixel partition can only be calculated after all rows and columns of the pixel partition are completely scanned and calculated.

[228] In the present invention, the memory RAM instantiates four storage spaces, which are divided into two groups respectively for storing the intermediate calculation results: the maximum value of candidate pixels and the sum of candidate pixels, and two RAMs are instantiated by ping-pong strategy in each group. The purpose of ping-pong strategy is to separate writing backlight data in RAM from the RAM clearing operation. As shown in Figure 6, when reading / writing of RAMI is triggered after the backlight partition data is calculated in the current frame, ‘0’ will be written synchronously in RAM2, which can realize the clearing of the backlight data written in the previous frame in all addresses of RAM2, thus eliminating the data residue of the previous frame without causing interference in reading / writing of RAM during the calculation of the backlight partition data of the next frame.

[229] In the video pixel scanning transmission process, the above four counters of CLK / ,cnt^ CLKvcwt, BLK / iotz and BLKvc„z are used to determine the addresses that the current RAM should read and write. Following Example 1, assume that CLK,v,,,=2. CLKYv„ / =3. B[.!<&.„,=45. BLKVOT / =5, it is indicated that the current pixel belongs to the pixel partition in the fifth row, the forty-fifth column, and is located in the 2nd clock cycle in the third row of the pixel partition.

[230] The effective storage capacity of RAM is equal to the maximum number of partitions, and each address stores the maximum value of pixels or the sum value of all pixels within each pixel partition. Since a pixel partition row includes a plurality of pixel rows, when the scanning of a pixel partition column is completed in each pixel row, the maximum value of candidate pixels and the sum of candidate pixels of the current pixel row of the current pixel partition can be calculated. For each pixel partition, firstly, the maximum value of candidate pixels and the sum of candidate pixels stored in the RAM of the current pixel partition (i.e., the value determined according to the scanned pixel row of the current pixel partition) are respectively read out, and after the maximum value judgment and accumulation calculation are performed with the current pixel value respectively, the maximum value of candidate pixels and the sum of candidate pixels are updated and stored in the address space of the current pixel partition of the RAM, and then are continued after entering into the next pixel partition of the current row. 123 l]In the pixel row scanning process, whether a temporary value calculation is completed in the current pixel row of the current partition is determined according to CLK / ,c„t, The RAM partition read / write address is updated according to BLKto and BLKV„„ to ensure that the temporary row of the current pixel row of the current partition is read out and written in the correct RAM partition address.

[232] After the basic backlight calculation is completed, smoothing filtering can be carried out for the basic backlight data to make the backlight transition more uniform.

[233] A padding operation can be made for the data before filtering the basic backlight data, and a row or column of ‘0’ can be supplemented to the top, bottom, left and right of a basic backlight data image. The padding operation can be realized by controlling the write RAM address that receives the basic backlight data: instantiating the filtering RAM with the address space of (BLHAC+2) column, (BLVAC+2) row, and writing is carried out from the second row, the second column of the filtering RAM as a starting point when the received basic backlight data is wTitten in the filtering RAM, so as to achieve the padding effect. The storage of the basic backlight data in the filtering RAM is show n in Figure 7.

[234] After the storage of the basic backlight data is completed, filtering is started from an effective backlight writing address, that is, the second column, the second row is the filtering starting point. The filtering row step and column step are both 1 pixel, each row completes BLHAC times of filtering, and BLVAC rows are executed in total.

[235] In the present invention, 3*3 weighted maximum filtering can be adopted for the backlight filtering, and 3*3 filtering kernel coefficient is as shown in FIG. 8, wherein a center value coefficient is 1, and a peripheral filtering coefficient is 0. The filtering kernel coefficient is multiplied by the basic backlight value, and the maximum value is selected from the obtained nine values as an output value of the central area backlight, i.e., target backlight data. [23 6] So far, the smoothing filtering of partition backlight is completed, that is, the partition backlight calculation is completed, and the backlight and the image to be displayed can be controlled to be output synchronously.

[237] The control method that is configurable in real time provided by the present invention supports real-time on-line adjustment of backlight partition parameters and video specification parameters, w-hich provides a universal backlight partition dimming method for users, has better compatibility and transplantability, reduces the project development cycle and costs, and provides a technical basis for iterative development of MLED display products. [23 8]After the user updates the basic parameter information, the present invention can calculate the derived parameters according to the updated basic parameter information, and adjust the parameters when the backlight data corresponding to the backlight partition is calculated according to the derived parameters, so that the present invention can switch to work normally in a new parameter mode.

[239] The present invention also provides an apparatus for controlling a backlight module, wherein the backlight module includes a plurality of backlight partitions, and the apparatus includes:

[240] an acquisition unit for acquiring a number of horizontal image pixels and a number of vertical image pixels of an image to be displayed, a number of parallel scanning channels, and a number of horizontal backlight partitions and a number of vertical backlight partitions of the backlight module; and

[241] a calculation unit for determining a pixel partition corresponding to each backlight partition in the image to be displayed according to the number of horizontal image pixels, the number of vertical image pixels, the number of parallel scanning channels, and a quantitative relationship between the number of horizontal backlight partitions and the number of vertical backlight partitions, and determining backlight data of a backlight partition corresponding to the pixel partition according to the pixel values of various pixels in the pixel partition.

[242] The specific implementation process of the acquisition unit and the calculation unit in the present embodiment has been specifically described in the above embodiments, and will not be repeatedly described here.

[243] The present embodiment may further include a display module, the display module including a display panel and a backlight module. The backlight module is controlled by the method in any one of the above embodiments. The display device of the display module included in the present embodiment may be any product or component with a display function such as electronic paper, a mobile phone, a tablet computer, a television, a notebook computer, a digital photo frame and a navigator.

[244] It should be noted that in the drawings, the dimensions of layers and regions may be exaggerated for clarity of illustration. Also, it can be understood that when an element or layer is referred to as being “on” another element or layer, it may be directly on other element, or there may be an intermediate layer. In addition, it can be understood that when an element or layer is referred to as being “under” another element or layer, it may be directly under other element, or there may be more than one intermediate layer or element. In addition, it can also be understood that when a layer or element is referred to as being “between” two layers or two elements, it may be the only layer between the two layers or the two elements, or there may be more than one intermediate layer or element. Similar reference numerals refer to similar elements throughout the application.

[245] In the present invention, the terms "first" and "second" are used for descriptive purposes only but cannot be understood as indicating or implying relative importance. The term “a plurality of’ refers to two or more unless explicitly defined otherwise.

[246] Other embodiments of the present invention will readily conceived by those skilled in the art upon consideration of the specification and practice of the disclosure disclosed herein. The present invention is intended to cover any variations, uses, or adaptations of the present invention, which follow general principles of the present invention and include common sense or conventional technical means in the technical field that are not disclosed in the present invention. The specification and embodiments are to be considered exemplary only and the true scope and spirit of the present disclosure are indicated by the claims.

Claims

1. A method for controlling a backlight module, wherein the backlight module comprises a plurality of backlight partitions, the method comprising:acquiring a number of horizontal image pixels and a number of vertical image pixels of an image to be displayed, a number of parallel scanning channels, and a number of horizontal backlight partitions and a number of vertical backlight partitions of the backlight module;determining a pixel partition corresponding to each backlight partition in the image to be displayed according to the number of horizontal image pixels, the number of vertical image pixels, the number of parallel scanning channels, and a quantitative relationship between the number of horizontal backlight partitions and the number of vertical backlight partitions;determining backlight data of a backlight partition corresponding to the pixel partition according to pixel values of various pixels in the pixel partition.

2. The method of claim 1, wherein the pixel partition is determined according to a horizontal pixel partition and a vertical pixel partition;said determining the pixel partition corresponding to each backlight partition in the image to be displayed according to the number of horizontal image pixels, the number of vertical image pixels, the number of parallel scanning channels, and the quantitative relationship between the number of horizontal backlight partitions and the number of vertical backlight partitions, comprises:determining a width of the horizontal pixel partition according to a multiple relationship between the number of horizontal image pixels as well as the number of parallel scanning channels and the number of horizontal backlight partitions, and determining a width of the vertical pixel partition according to a multiple relationship between the number of vertical image pixels and the number of vertical backlight partitions;determining an arrangement number of horizontal pixel partitions with different widths in a pixel row according to the number of horizontal image pixels, the number of parallel scanning channels, and the number of horizontal backlight partitions, and determining an arrangement number of vertical pixel partitions with different widths in a pixel column according to the number of vertical image pixels and the number of vertical backlight partitions;determining a horizontal arrangement sequence of the horizontal pixel partitions with different widths anda vertical arrangement sequence of the vertical pixel partitions with different widths; anddetermining the pixel partition corresponding to each backlight partition in the image to be displayed according to the horizontal arrangement sequence and the vertical arrangement sequence.

3. The method of claim 2, wherein said determining the width of the horizontal pixel partition according to the multiple relationship between the number of horizontal image pixels as well as the number of parallel scanning channels and the number of horizontal backlight partitions, and determining the width of the vertical pixel partition according to the multiple relationship between the number of vertical image pixels and the number of vertical backlight partitions, comprises:if there is a non-intcgcr multiple between the number of horizontal image pixels as well as the number of parallel scanning channels and the number of horizontal backlight partitions, determining a first horizontal width and a second horizontal width of the horizontal pixel partition using a rounding function according to the number of horizontal image pixels, the number of parallel scanning channels and the number of horizontal backlight partitions, wherein the first horizontal width and the second horizontal width are an integer number of clock cycles, and a difference between the first horizontal width and the second horizontal width is one clock cycle;if there is an integer multiple between the number of horizontal image pixels as well as the number of parallel scanning channels and the number of horizontal backlight partitions, determining a third horizontal width of the horizontal pixel partition according to the number of horizontal image pixels, the number of parallel scanning channels, and the number of horizontal backlight partitions, wherein the third horizontal width is an integer number of clock cycles;if there is a non-integer multiple between the number of vertical image pixels and the number of vertical backlight partitions, determining a first vertical width and a second vertical width of the vertical pixel partition using the rounding function according to the number of vertical image pixels and the number of vertical backlight partitions; andif there is an integer multiple between the number of vertical image pixels and the number of vertical backlight partitions, determining a third vertical width of the vertical pixel partition according to the number of vertical image pixels and the number of vertical backlight partitions.

4. The method of claim 3, wherein said determining the first horizontal width and the second horizontal width of the horizontal pixel partition using the rounding function according to the number of horizontal imagepixels, the number of parallel scanning channels, and the number of horizontal backlight partitions, comprises:determining a number of scanning times in a horizontal image direction according to the multiple relationship betw een the number of horizontal image pixels and the number of parallel scanning channels;determining the first horizontal width of the horizontal pixel partition using a downward rounding function according to the number of scanning times in the horizontal image direction and the number of horizontal backlight partitions; anddetermining the second horizontal width of the horizontal pixel partition using an upward rounding function according to the number of scanning times in the horizontal image direction and the number of horizontal backlight partitions;said detennming the first vertical width and the second vertical width of the vertical pixel partition using the rounding function according to the number of vertical image pixels and the number of vertical backlight partitions, comprises:determining the first vertical width of the vertical pixel partition using the downward rounding function according to the number of vertical image pixels and the number of vertical backlight partitions; anddetermining the second vertical width of the vertical pixel partition using the upward rounding function according to the number of vertical image pixels and the number of vertical backlight partitions.

5. The method of claim 2, wherein the horizontal pixel partition comprises a first horizontal pixel partition and a second horizontal pixel partition, a width of the first horizontal pixel partition is a first horizontal width, and a width of the second horizontal pixel partition is a second horizontal width;said determining the arrangement number of the horizontal pixel partitions with different widths in the pixel row according to the number of horizontal image pixels, the number of parallel scanning channels and the number of horizontal backlight partitions, comprises:determining a difference between a number of scanning times in a horizontal image direction and a product of the second horizontal width and the number of horizontal backlight partitions, as an arrangement number of the first horizontal pixel partition in the pixel row7, wherein the number of scanning times in the horizontal image direction is determined according to the number of horizontal image pixels and the number of parallel scanning channels; anddetermining a difference between the number of horizontal backlight partitions and a product of thenumber of scanning times in the horizontal image direction and the first horizontal width, as an arrangement number of the second horizontal pixel partition in the pixel row.

6. The method of claim 2, wherein the vertical pixel partition comprises a first vertical pixel partition and a second vertical pixel partition, the first vertical pixel partition is a first vertical width and the second vertical pixel partition is a second vertical width;said determining the arrangement number of the vertical pixel partitions with different widths in the pixel column according to the number of vertical image pixels and the number of vertical backlight partitions, comprises:determining a difference between the number of vertical image pixels and a product of the second vertical width and the number of vertical backlight partitions, as an arrangement number of the first vertical pixel partition in the pixel column; anddetermining a difference between the number of vertical image pixels and a product of the first vertical width and the number of vertical backlight partitions, as an arrangement number of the second vertical pixel partition in the pixel column.

7. The method of claim 2, wherein the horizontal pixel partition comprises a first horizontal pixel partition and a second horizontal pixel partition, the first horizontal pixel partition and the second horizontal pixel partition having different widths;said determining the horizontal arrangement sequence of the horizontal pixel partitions with different widths comprises:determining an arrangement ratio according to a ratio of an arrangement number of the first horizontal pixel partition in the pixel row and an arrangement number of the second horizontal pixel partition in the pixel row;rounding down the arrangement ratio and then adding to a unit clock cycle to obtain an arrangement period;if the arrangement period is not equal to a set period, rounding down half of the arrangement ratio and then adding to the unit clock cycle to obtain an arrangement half period, and if the arrangement period is equal to the set period, determining the unit clock cycle as the arrangement half period;utilizing the arrangement number of the first horizontal pixel partition in the pixel row to subtract a product of the arrangement ratio rounded down and the arrangement number of the second horizontal pixel partition inthe pixel row to obtain an arrangement remainder; andfor each horizontal pixel partition, determining a position where a sequence number of a current horizontal pixel partition is located to arrange the first horizontal pixel partition or the second horizontal pixel partition according to a relationship between a sequence number of the horizontal pixel partition as well as a remainder of the arrangement period and the arrangement half period, and when a set condition is satisfied, arranging the first horizontal pixel partition at a position where a sequence number of a next horizontal pixel partition is located, wherein the set condition comprises that the sequence number of the horizontal pixel partition and the remainder of the arrangement period are zero, and a sum of the arrangement remainder is greater than the arrangement number of the second horizontal pixel partition in the pixel row.

8. The method of claim 7, wherein said determining the position where the sequence number of the current horizontal pixel partition is located to arrange the first horizontal pixel partition or the second horizontal pixel partition according to the relationship between the sequence number of the horizontal pixel partition as well as the remainder of the arrangement period and the arrangement half period, comprises:if the sequence number of the horizontal pixel partition and the remainder of the arrangement period are equal to the arrangement half period, determining the position where the horizontal pixel partition is located to arrange the second horizontal pixel partition; andif the sequence number of the horizontal pixel partition and the remainder of the arrangement period are not equal to the arrangement half period, determining the position where the horizontal pixel partition is located to arrange the first horizontal pixel partition.

9. The method of claim 8, wherein 0 is used to identify the first horizontal pixel partition and 1 is used to identify the second horizontal pixel partition in the horizontal arrangement sequence, the method further comprising:initializing a sequence with a set length and the sequence number of the horizontal pixel partition;if the sequence number of the horizontal pixel partition and the remainder of the arrangement period are equal to the arrangement half period, and the sequence is not padded for first time, padding 1 at a highest bit of the sequence after the padded sequence is shifted to a lower bit by a unit length;if the sequence number of the horizontal pixel partition and the remainder of the arrangement period are not equal to the arrangement half period, and the sequence is not padded for first time, padding 0 at the highestbit of the sequence after the padded sequence is shifted to the lower bit by the unit length;if the sequence number of the horizontal pixel partition and the remainder of the arrangement period are 0, and the sum of the arrangement remainder is greater than the arrangement number of the second horizontal pixel partition in the pixel row, padding 0 at the highest bit of the sequence, and updating the number of horizontal backlight partitions after the padded sequence is shifted to the lower bit by the unit length; andif the sequence number of the horizontal pixel partition is equal to an updated number of horizontal backlight partitions, shifting the padded valid bit to a lowest bit of the sequence to obtain the horizontal arrangement sequence.

10. The method of claim 1, wherein said determining the backlight data of the backlight partition corresponding to the pixel partition according to the pixel values of various pixels in the pixel partition, comprises:obtaining a maximum pixel value and a pixel sum in the pixel partition according to the pixel values of various pixels in the pixel partition;determining a pixel average value according to a division quantization parameter of the pixel partition and the pixel sum;determining basic backlight data of the backlight partition corresponding to the pixel partition according to the maximum pixel value and the pixel average value and respective weights; andfiltering basic backlight data corresponding to all backlight partitions to obtain target backlight data of each backlight partition.

11. The method of claim 10, wherein the division quantization parameter is determined by:acquiring a maximum pixel number of the pixel partition in a horizontal direction and a maximum pixel number of the pixel partition in a vertical direction, wherein the maximum pixel number in the horizontal direction is determined according to a width of the pixel partition in the horizontal direction and the number of parallel scanning channels;determining a quantization bit according to the maximum pixel number in the horizontal direction and the maximum pixel number in the vertical direction; anddetermining a division quantization parameter corresponding to the pixel partition according to the pixel number in the pixel partition and the quantization bit.

12. The method of claim 11, wherein the pixel partition comprises different types of pixel partitions, wherein a first type of pixel partitions has a first horizontal width and a first vertical width, a second type of pixel partitions has a first horizontal width and a second vertical width, a third type of pixel partitions has a second horizontal width and a first vertical width, and a fourth type of pixel partitions has a second horizontal width and a second vertical width;said determining the division quantization parameter corresponding to the pixel partition according to the pixel number in the pixel partition and the quantization bit, comprises:if the type of the pixel partitions is the first ty pe, determining a first pixel number in the first type of pixel partitions according to the first horizontal width and the first vertical width, and determining a first division quantization parameter corresponding to the first type of pixel partitions according to the first pixel number and the quantization bit;if the type of the pixel partitions is the second ty pe, determining a second pixel number in the second type of pixel partitions according to the first horizontal width and the second vertical width, and determining a second division quantization parameter corresponding to the second type of pixel partitions according to the second pixel number and the quantization bit;if the type of the pixel partitions is the third type, determining a third pixel number in the third ty pe of pixel partitions according to the second horizontal width and the first vertical width, and determining a third division quantization parameter corresponding to the third type of pixel partitions according to the third pixel number and the quantization bit; andif the type of the pixel partitions is the fourth type, determining a fourth pixel number in the fourth type of pixel partitions according to the second horizontal width and the second vertical width, and determining a fourth division quantization parameter corresponding to the fourth type of pixel partitions according to the fourth pixel number and the quantization bit.

13. The method of claim 10, wherein each pixel in the pixel partition corresponds to a plurality7 of counters, the counters comprising: a clock number counter in the horizontal pixel partition, a pixel row number counter in the vertical pixel partition, a horizontal pixel partition number counter, and a vertical pixel partition number counter; the method further comprises:updating the clock number counter in the horizontal pixel partition when a data enable signal is received, and resetting the clock number counter in the horizontal pixel partition when a value corresponding to the clocknumber counter in the horizontal pixel partition is equal to the width of the horizontal pixel partition;updating the horizontal pixel partition number counter when the clock number counter in the horizontal pixel partition is reset, and resetting the horizontal pixel partition number counter when a value corresponding to the horizontal pixel partition number counter is equal to the number of horizontal backlight partitions;updating the pixel row number counter in the vertical pixel partition when the horizontal pixel partition number counter is reset, and resetting the pixel row number counter in the vertical pixel partition when a value corresponding to the pixel row number counter in the vertical pixel partition is equal to a pixel row number in the vertical pixel partition; andupdating the vertical pixel partition number counter when the pixel row number counter in the vertical pixel partition is rest, and resetting the vertical pixel partition number counter when a value corresponding to the vertical pixel partition number counter is equal to the number of vertical backlight partitions.

14. The method of claim 13, wherein the width of the horizontal pixel partition is determined by:obtaining a lowest bit of a horizontal arrangement sequence;if a value corresponding to the lowest bit is 0, the width of the horizontal pixel partition is a first horizontal width;if the value corresponding to the lowest bit is 1, the width of the horizontal pixel partition is a second horizontal width:when the clock number counter in the horizontal pixel partition is reset, the horizontal arrangement sequence is shifted to right by 1 bit.

15. The method of claim 13, wherein said obtaining the maximum pixel value and the pixel sum in the pixel partition according to the pixel values of various pixels in the pixel partition, comprises:in a process of scanning the image to be displayed, determining a target pixel partition to which a currently scanned pixel belongs according to the horizontal pixel partition number counter and the vertical pixel partition number counter corresponding to the currently scanned pixel;obtaining a candidate maximum pixel value and a candidate pixel sum from a storage area corresponding to the target pixel partition;if a pixel value corresponding to the currently scanned pixel is greater than the candidate maximum pixel value, updating the candidate maximum pixel value as the pixel value corresponding to the currently scannedpixel; andupdating the candidate pixel sum with the pixel value corresponding to the currently scanned pixel.

16. The method of claim 10, wherein said filtering the basic backlight data corresponding to all backlight partitions to obtain the target backlight data of each backlight partition, comprises:performing a padding operation on the basic backlight data corresponding to all backlight partitions; andfiltering the basic backlight data after the padding operation using a preset filtering kernel to obtain target backlight data of each backlight partition, wherein a number of filtering times of each row of basic backlight data is determined according to the number of horizontal backlight partitions, and a number of rows where filtering is executed is determined according to the number of vertical backlight partitions.

17. The method of claim 1, wherein the method further comprises:caching the image to be displayed to a video frame buffer device; andcontrolling the backlight data of all backlight partitions to be output synchronously with the image to be displayed when the backlight data of all backlight partitions is acquired.

18. An apparatus for controlling a backlight module, wherein the backlight module comprises a plurality of backlight partitions, the apparatus comprising:an acquisition unit for acquiring a number of horizontal image pixels and a number of vertical image pixels of an image to be displayed, a number of parallel scanning channels, and a number of horizontal backlight partitions and a number of vertical backlight partitions of the backlight module; anda calculation unit for determining a pixel partition corresponding to each backlight partition in the image to be displayed according to the number of horizontal image pixels, the number of vertical image pixels, the number of parallel scanning channels, and a quantitative relationship between the number of horizontal backlight partitions and the number of vertical backlight partitions, and determining backlight data of a backlight partition corresponding to the pixel partition according to pixel values of various pixels in the pixel partition.

19. A display module, comprising:a display panel and a backlight module;the backlight module being controlled by the method of any one of claims 1 to 17.