This application claims priority to Chinese Patent Application No. 202410166093.9, filed on Feb. 5, 2024 with the China National Intellectual Property Administration, which is hereby incorporated by reference in its entirety.
The present disclosure relates to the field of display control technology, and in particular to a method for driving display of a display panel, a display driver and an electronic device.
As science and technology develop, an increasing number of electronic devices with display functions are being widely used in the daily lives and work of individuals, bringing great convenience and becoming indispensable tools in our society.
The essential component that enables the display function in the electronic device is a display panel. Currently, when a conventional electronic device controls a display panel to display images, the display panel can only display images based on to-be-displayed data in a single display mode.
In one embodiment, a method for driving display of a display panel is provided according to an embodiment of the present disclosure. The display panel includes a display array for displaying an image, the display array includes multiple pixel units arranged in an array, where the method includes:
In one embodiment, a display driver configured to implement the above method for driving display of the display panel is provided, the display driver includes:
In one embodiment, an electronic device is provided according to an embodiment of the present disclosure. The electronic device includes: a display panel; a display driver, configured to control the display panel to display an image based on the above method for driving display of the display panel.
Hereinafter drawings in the description of embodiments or conventional technologies would be briefly described, in order to clarify the embodiments of the present disclosure or related technologies. Apparently, the drawings in the following description are only embodiments of the present disclosure.
The structures, proportions, sizes shown in the drawings of this specification are only configured to coordinate with the content disclosed in the specification and are for the understanding and reading of people familiar with this technology, and are not configured to limit conditions for the implementation of the present disclosure. Therefore, there is no substantive significance. Any structural modifications, changes in proportions or adjustments in size should still fall within the scope of the technology disclosed in the present disclosure without affecting the effectiveness and purpose of the present disclosure.
Hereinafter the embodiments in the present disclosure are described clearly and thoroughly in conjunction with the accompanying drawings in the embodiments of the present disclosure. The embodiments described are only some, not all of the embodiments of the present disclosure.
Various modifications and changes may be made to the present disclosure without departing from the embodiments of the present disclosure. Hence, it is intended to cover modifications and variations made to the present disclosure that fall within the scope of the corresponding claims (technical solutions as claimed) and their equivalents. It should be noted that embodiments of the present disclosure can be combined as long as they do not contradict with each other.
In order to clarify the embodiments of the present disclosure, the present disclosure is described in conjunction with the drawings and some embodiments hereinafter.
Reference is made to
In step S11, to-be-displayed data of each of the multiple pixel units is obtained.
In step S12, the display array is divided into at least two sub-display-areas with different priorities based on the to-be-displayed data of each pixel unit; each sub-display-area includes multiple pixel units arranged consecutively.
Since the sub-display-area includes multiple consecutively arranged pixel units, each sub-display-area is a consecutive display area in the display array.
In step S13, the pixel units in the sub-display-area is controlled for image display based on priorities; for the sub-display-area with the highest priority, the pixel units are controlled for image display based on the to-be-displayed data; for the sub-display-area with non-highest priority, at least part of pixel units are controlled for image display based on corrected display data.
The method for driving display according to the embodiment of the present disclosure can control the pixel units for image display based on the to-be-displayed data according to the priorities of the sub-display-areas, or control the pixel units for image display based on the corrected display data, which offers diversified display modes.
In one embodiment, based on the setting manner of priorities and the sub-display-areas according to embodiments of the present disclosure, as well as the corresponding setting manner of priorities and the corrected display data, the power consumption of the display panel can be reduced to lower the power usage for display while retaining the quality of the screen information of the to-be-displayed image obtained by the human eyes. The embodiments of the present disclosure can reduce the power consumption for display while retaining essential screen information in the to-be-displayed image to the greatest extent. The to-be-displayed image is an image that can be displayed by the display panel when all the pixel units in the display array have corresponding to-be-displayed data for image display.
In one embodiment, the priority may indicate a degree of impact of the sub-display-area on the to-be-displayed image on the display panel, and the degree of impact is positively correlated with the priority. When all pixel units in the display array display based on their corresponding to-be-displayed data, the display panel may display the to-be-displayed image. In this method, the corrected display data may enable a pixel unit to display a first brightness, while the to-be-displayed data may enable a pixel unit to display a second brightness, where the first brightness is less than the second brightness. For a sub-display-area, the to-be-displayed color information of the sub-display-area may be determined based on the to-be-displayed data of the pixel units. The to-be-displayed color information may indicate the color richness of the pixel units in the sub-display-area when displaying the image based on the to-be-displayed data.
In an embodiment, a grayscale value of the corrected display data is less than the grayscale value of the to-be-displayed data, and the first brightness is less than the second brightness.
The above priority may represent the degree of impact of the sub-display-area on the current to-be-displayed image on the display panel. Since the degree of impact is positively correlated with the priority, the greater the sub-display-area impacts the to-be-displayed image, the higher the priority of the sub-display-area is. On the contrary, the lesser the sub-display-area impacts the to-be-displayed image, the lower the priority of the sub-display-area is.
For the sub-display-area with the highest priority, the pixel units are controlled to faithfully reproduce based on the to-be-displayed data, to faithfully reproduce the screen information corresponding to the to-be-displayed data. For the sub-display-area with non-highest priority, since at least part of the pixel units are controlled for image display based on the corrected display data, these pixel units perform non-faithful reproduction based on the corrected display data. In addition, by configuring the first brightness less than the second brightness and the higher priority with the smaller difference between the second brightness and the first brightness, the power consumption for display of the display panel may be reduced by compromising the display brightness of the sub-display-area with non-highest priority.
The display panel is the main component of electronic device for consuming power, and the power consumption of the display panel is the main factor affecting the battery life of electronic device. The battery storage capacity of the electronic device is limited by the internal space and battery capacity of the electronic device. In a case that the power consumption of the display panel is too large, the battery life of the electronic device may be significantly reduced. The technical solutions of embodiments of the present disclosure can reduce the power consumption for display of the display panel by compromising the display brightness of the sub-display-area that has a small impact on the to-be-displayed image, to improve the battery life of the electronic device.
In one embodiment, for sub-display-area with the non-highest priority, the difference between the second brightness and the first brightness is negatively correlated with the priority of the sub-display-area. In an embodiment, the higher the priority of the sub-display-area, the smaller the difference between the second brightness and the first brightness. On the contrary, in a case that the priority of the sub-display-area is lower, the difference between the second brightness and the first brightness is larger. In this method, the sub-display-area with a higher priority has a lesser brightness reduction, and the sub-display-area with a lower priority has a greater brightness reduction.
By configuring the difference between the second brightness and the first brightness to be negatively correlated with the priority of the sub-display-area, a sub-display-area with a low priority that has less impact on the to-be-displayed image can be used to reduce the power consumption of the display panel. In addition, it can prevent the display brightness of the sub-display-area with a high priority from changing significantly, to eliminate large deviations in the actual display image of the display panel relative to the to-be-displayed image.
In one embodiment, for the sub-display-area with non-highest priority, in the same sub-display-area, the to-be-displayed data of the pixel units are scaled down based on the same proportional coefficient to obtain the corrected display data. And each pixel unit is controlled for image display based on the corresponding corrected display data. The to-be-displayed data is set as D0 and the corrected display data is set as D1, then D1=k*D0, k is the proportional coefficient, and k is a positive number less than 1.
For the sub-display-area with non-highest priority, the to-be-displayed data of all pixel units in the same sub-display-area may be directly scaled down based on the same proportional coefficient. The light-emitting brightness of all pixel units in the sub-display-area may be reduced in equal proportions without affecting the color information displayed in the sub-display-area.
In another embodiment, the corrected display data is a preset low-grayscale display data. For the sub-display-area with non-highest priority, at least part of pixel units are controlled for image display based on the to-be-displayed data. For the same pixel unit, the grayscale value of the corresponding low-grayscale display data is less than the grayscale value of the corresponding to-be-displayed data.
When the sub-display-area with non-highest priority uses the preset low-grayscale display data as the corrected display data, the grayscale value of the low-grayscale display data is no greater than the preset grayscale, and the preset grayscale may be a grayscale value less than 10, or a grayscale value less than 5.
For the sub-display-area with non-highest-priority, in the same sub-display-area, a part of the pixel units is controlled for image display based on the to-be-displayed data to eliminate large deviations in the actual display image relative to the to-be-displayed image in the sub-display-area, and another part of the pixel units is controlled for image display based on preset low-grayscale display data through compromising the display effect of this part of the pixel units to reduce the power consumption of the display panel.
For the same sub-display-area with non-highest priority, when the to-be-displayed data of the pixel units are scaled down based on the same proportional coefficient, based on the above embodiment, a method for controlling image display of pixel units in the sub-display-area with non-highest priority may be shown in
Reference is made to
In step S21, for the same sub-display-area, the to-be-displayed data of the pixel units are scaled down based on the same pre-stored proportional coefficient to obtain the corrected display data.
As described above, for the sub-display-area with non-highest priority, the corrected display data of the pixel units is equal to the product of the corresponding proportional coefficient and the to-be-displayed data.
In step S22, the pixel units in the sub-display-area are controlled for image display based on the corrected display data.
The proportional coefficient is negatively correlated with the priority of the sub-display-area. In an embodiment, the higher the priority is, the smaller the corresponding proportional coefficient is. On the contrary, the lower the priority is, the larger the corresponding proportional coefficient is, to prevent the display brightness of the sub-display-area with a high priority from changing significantly.
The proportional coefficient corresponding to each priority may be pre-stored based on the set priority. When the display array is divided into multiple sub-display-areas and the priorities of the sub-display-areas are determined, the corresponding proportional coefficients may be determined based on the priorities of the sub-display-areas. The proportional coefficient corresponding to the highest priority is set to 1, and the proportional coefficient corresponding to non-highest priority is a positive number less than 1. In this way, the pixel units in the sub-display-area with the highest priority can perform faithful reproduction based on the to-be-displayed data. For the sub-display-area with non-highest priority, the pixel units in the sub-display-area can perform non-faithful reproduction based on the corrected display data correlated with the corresponding proportional coefficient.
In the method shown in
For the same sub-display-area with non-highest priority, when the corrected display data is a preset low-grayscale display data, based on the above embodiment, a method for controlling pixel units in the sub-display-area with non-highest-priority for image display may be shown in
Reference is made to
In step S31, low-grayscale display data is obtained to determine the corrected display data.
In step S32, for the same sub-display-area, a part of the pixel units is controlled for image display based on the corresponding to-be-displayed data, and another part of the pixel units is controlled for image display based on the corrected display data.
In one embodiment, in the sub-display-area, the proportion of the number of pixel units for image display based on the corrected display data is negatively correlated with the priority of the sub-display-area. In an embodiment, the higher the priority is, the greater the number is. On the contrary, the lower the priority is, the smaller the number is. In this way, for the sub-display-area with a high priority, the number of pixel units that perform faithful reproduction based on the to-be-displayed data is larger, to prevent the display effect of the sub-display-area with a high priority that has a greater impact on the to-be-displayed image from changing significantly, which can eliminate large deviations in the actual display image of the display panel relative to the to-be-displayed image. For the sub-display-area with a low priority, the number of pixel units that perform non-faithful reproduction based on the corrected display data is larger, the power consumption of the display panel is reduced based on the sub-display-area with the low priority that has less impact on the to-be-displayed image, to ensure the display effect while reducing the power consumption of the display panel.
Based on the set priority, the quantity proportion corresponding to each priority may be pre-stored, which is the percentage of the number of pixel units that perform non-faithful reproduction based on the corrected display data in the sub-display-area with the corresponding priority to the total pixel units in the sub-display-area. When the display array is divided into multiple sub-display-areas and the priorities of the sub-display-areas are determined, the corresponding quantity proportion may be determined based on the priority of each of the sub-display-areas. Then, the number of pixel units in each sub-display-area required to reproduce unfaithfully based on the corrected display data is determined based on the quantity proportion. The quantity proportion corresponding to the highest priority is 0, and the quantity proportion corresponding to non-highest priority is greater than 0 and less than 100%. In this way, the pixel units in the sub-display-area with the highest priority can perform faithful reproduction based on the to-be-displayed data. For the sub-display-area with the non-highest priority, a number of pixel units in the sub-display-area can perform non-faithful reproduction based on the corrected display data, where the number of pixel units is associated with the priority of the sub-display-area.
In the method shown in
When different priorities correspond to the same low-grayscale display data, the preset low-grayscale display data may be display data of 0 grayscale value. In a case that the preset low-grayscale display data is the display data of 0 grayscale value, for the same non-highest priority sub-display-area, some pixel units are directly turned off through the display data of 0 grayscale value to reduce the power consumption of the display panel. In this case, the control method is simple. When different priorities correspond to the same low-grayscale display data, the grayscale value corresponding to the low-grayscale display data may be set based on the requirements, which is not limited to 0 grayscale value. The grayscale value corresponding to the low-grayscale display data is not limited in the embodiment of the present disclosure.
In the method shown in
When different priorities correspond to different low-grayscale display data, the method for controlling the pixel unit for image display in step S32 may be as shown in
Reference is made to
In step S41, the number of first pixel units in the sub-display-area is obtained.
For a sub-display-area with a non-highest priority, in a case that the to-be-displayed data of the pixel unit is greater than the low-grayscale display data corresponding to the sub-display-area, the pixel unit is a first pixel unit.
In step S42, whether the number of first pixel units in the sub-display-area meets a preset condition is determined.
As described above, for each non-highest priority, different priorities are configured with a corresponding quantity proportion of pixel units for image display based on the corrected display data. In a case that the ratio of the number of the first pixel units to the total number of pixel units in the sub-display-area is no less than the quantity proportion corresponding to the priority of the sub-display-area, the preset condition is met. Otherwise, in a case that the ratio of the first pixel units to the total number of pixel units in the sub-display-area is less than the quantity proportion corresponding to the priority of the sub-display-area, the preset condition is not met.
In step S43, in a case that the preset condition is met, a first part of the pixel units in the sub-display-area is controlled for image display based on the corresponding low-grayscale display data, and a second part of the pixel units in the sub-display-area is controlled for image display based on the to-be-displayed data.
The first part of the pixel units are all first pixel units, and the ratio of the number of the first part of pixel units to the number of all pixel units in the sub-display-area is the quantity proportion corresponding to the priority of the sub-display-area.
In step S44, in a case that the preset condition is not met, the pixel units in the sub-display-area are controlled for image display based on 0 grayscale value.
Based on the method shown in
In one embodiment, the method for dividing the display array into at least two sub-display-areas with different priorities based on the above to-be-displayed data in each of the pixel units may be shown in
Reference is made to
In step S51, based on the to-be-displayed data of each of the pixel units, the display array is divided into multiple regions; the pixel units with different to-be-displayed data are located in different regions; the pixel units with the same to-be-displayed data and adjacent in a first direction are located in the same region; the first direction at least includes the row direction and column direction of the array.
In step S52, multiple sub-display-areas are determined based on the regions; the region with no less than a set number of pixel units is individually configured as a sub-display-area; the regions, that are adjacent in the first direction and each of the regions has less than the set number of pixel units, are located in the same sub-display-area.
In step S53, the priority of the sub-display-area is determined based on the area of the sub-display-area, the position of the sub-display-area and the to-be-displayed color information of the sub-display-area.
In the method shown in
The sub-display-area with the highest priority is a target region, and the sub-display-area with the non-highest priority is a non-target region. The pixel units in the target region are controlled for image display based on the to-be-displayed data, which may faithfully reproduce the screen information of the to-be-displayed data. As a result, the overall brightness of pixel units in the target region maintains normal display. At least a part of the pixel units in the sub-display-area with the non-highest priority is controlled for image display based on the corrected display data, and these pixel units may not faithfully reproduce the screen information of the to-be-displayed display data. In a case that all pixel units in the non-target region perform non-faithful reproduction based on corrected display data, the display brightness of the entire pixel units in the non-target region is decreased. In a case that some pixel units in the non-target region perform non-faithful reproduction based on corrected display data, the display brightness of those pixel units is decreased.
In one embodiment, for the same sub-display-area, when a part of the pixel units is controlled for image display based on the to-be-displayed data and another part of the pixel units is controlled for image display based on the corrected display data, the two parts of the pixel units may be arranged alternately in the same row and alternately in the same column. In this way, in the same sub-display-area, the pixel units displayed based on the to-be-displayed data and the pixel units displayed based on the corrected display data are evenly arranged in the sub-display-area to ensure the display effect of the sub-display-area with the non-highest priority.
In the method shown in
In the method for driving display according to an embodiment of the present disclosure, the pixel unit includes multiple sub-pixels with different light-emitting colors. For example, the pixel unit may be configured to include a red sub-pixel R, a green sub-pixel G and a blue sub-pixel B. In two pixel units with different to-be-displayed data, the sub-pixels of at least one light-emitting color correspond to different to-be-displayed data. The two pixel units with different display data satisfy at least one of the following conditions: the to-be-displayed data of the green sub-pixels G are different, the to-be-displayed data of the red sub-pixels R are different, and the to-be-displayed data of the blue sub-pixels B are different. In two pixel units with the same to-be-displayed data, the sub-pixels of the same emitting color correspond to the same to-be-displayed data. The two pixel units with the same to-be-displayed data satisfy the following conditions: the to-be-displayed data of the green sub-pixels G are the same, the to-be-displayed data of red sub-pixels R are the same, and the to-be-displayed data of the blue sub-pixels B are the same.
Based on the above description, in one embodiment, whether the two adjacent pixel units belong to the same region is determined based on whether the to-be-displayed data of the two adjacent pixel units are the same, to divide the display array into multiple sub-display-areas.
In the above step S51, the method for dividing the display array into multiple regions based on the to-be-displayed data in each pixel unit may be as shown in
Reference is made to
In step S61, a pixel unit in the display array is determined as a reference pixel.
In step S62, in the first direction, for the pixel unit adjacent to the reference pixel, in a case that the pixel unit and the reference pixel have the same to-be-displayed data, the pixel unit and the reference pixel are divided into the same region; in a case that the pixel unit and the reference pixel have different to-be-displayed data, the pixel unit is determined as a new reference pixel.
In step S63: based on the new reference pixel, new regions are divided until all pixel units are divided into corresponding regions.
In the method shown in
Reference is made to
In the method shown in
To improve the efficiency of region division, multiple reference pixels may be selected initially. For example, the pixel units at the four top corners of the display array are determined as reference pixels and simultaneously starting the comparisons for the to-be-displayed data, which can complete the region division faster.
Reference is made to
According to the relationship between the pixel unit and the coordinate system shown in
Reference is made to
When the number of the pixel units in multiple consecutive regions is less than the set number, the multiple consecutive regions may be merged and they are in the same sub-display-area. When the number of the pixel units in a region is less than the set number, and the pixel units in the surrounding adjacent regions are not less than the set number, the region may be configured as a sub-display-area. Or the region and the adjacent region with the minimum number may be merged into a sub-display-area.
Reference is made to
In other embodiments, the above method for dividing the display array into multiple regions based on the to-be-displayed data in each pixel unit may further be shown in
Reference is made to
In step S71, the display array is divided into multiple regions arranged in the array, and one region corresponds to one sub-display-area.
The to-be-displayed data of each pixel unit in the display array may be obtained through the pre-display screen signal, to divide the display array into multiple regions arranged in the array. In an embodiment, the display array may be first divided into multiple strip areas arranged in parallel in the row direction of the display array. Then, the multiple strip areas arranged in parallel may be divided into multiple regions arranged in the array in the column direction of the display array. In an embodiment, the display array may be divided into multiple strip areas arranged in parallel in the column direction of the display array, and then divided into multiple strip areas arranged in parallel in the row direction of the display array.
The widths of different strip regions may be the same. In this case, the display array is divided into multiple same regions. In an embodiment, at least two strip regions with different widths may be included based on the screen information of the to-be-displayed image. For example, the parts in the to-be-displayed image with the same color and brightness in a large area are divided into the same strip region as much as possible.
In step S72, the priority of the sub-display-area is determined based on the area, the position and the to-be-displayed color information of the sub-display-area.
In the method shown in
Reference is made to
In step S81, a target parameter of the sub-display-area is obtained, where target parameters may indicate the degree of impact of the sub-display-area on the to-be-displayed image.
When the target parameters of the two sub-display-areas have the same degree of impact on the to-be-displayed image, the two have the same priority. On the contrary, in a case that the target parameters of the two sub-display-areas have different degrees of impact on the to-be-displayed image, the two have different priorities. As described above, the priority is positively correlated with the degree of impact.
In step S82, the priority of the sub-display-area is determined based on the target parameter of the sub-display-area.
The target parameter includes at least one of the area of the sub-display-area, the position of the sub-display-area, and the to-be-displayed color information of the sub-display-area.
In the method shown in
In one embodiment, the process of determining the priority of the sub-display-area is described. As an example, the target parameters include the area, the position, and the to-be-displayed color information of the sub-display-area. In an embodiment, the priority of the sub-display-area may be determined based on the requirements for image display effect, based on any one or two of the area, the position, and the to-be-displayed color information of the sub-display-area, which is not limited in the embodiments of the present disclosure.
In one embodiment of the present disclosure, the priority of the sub-display-area is determined based on the area, the position, and the to-be-displayed color information of the sub-display-area. The area of the sub-display-area may represent the proportion of the area of the sub-display-area relative to the overall area of the display array. The position of the sub-display-area may represent the distance between the center position of the sub-display-area relative to the center position of the display array. The to-be-displayed color information of the sub-display-area may represent the color richness of each pixel unit in the sub-display-area when displaying an image based on the to-be-displayed data.
In one embodiment, the method for determining the priority of the sub-display-area based on the target parameter includes:
For the same sub-display-area, each of the first determination result, the second determination result and the third determination result may be a result of two types, i.e., “yes” or “no”. In this case, three determination results lead to a total of 2*2*2 combination modes, which corresponds to eight priorities. Eight combination modes may be set based on requirements, and each combination mode corresponds to a different priority. In this way, the power consumption for display of the display panel is reduced while ensuring the important screen information in the to-be-displayed image to the greatest extent.
In one embodiment, in a case that the first determination result, the second determination result and the third determination result are all “yes”, the priority is the first priority. In a case that the first determination result and the second determination result are all “yes”, the priority is the first priority when the third determination result is “yes”, otherwise the priority is the second priority. In a case that the first determination result is “yes” and the second determination result is “no”, the priority is the third priority when the third determination result is “yes”, otherwise the priority is the fourth priority. In a case that the first determination result is “no”, the second determination result is “yes”, the priority is the fifth priority when the third determination result is “yes”, otherwise the priority is the sixth priority. In a case that the first determination result and the second determination result are both “no”, the priority is the seventh priority when the third determination result is “yes”, otherwise the priority is the eighth priority. In this case, the method for determining the priority of the sub-display-area may be shown in
Reference is made to
In step S91, the display array is divided into regions to determine sub-display-areas. The method for dividing the display array into multiple regions and determining multiple sub-display-areas based on the regions may refer to the above description, which will not be repeated again.
In step S92, after the display array is divided into multiple sub-display-areas, the process of position determination is performed: whether the distance between the center of the sub-display-area and the center of the display array is less than the first distance threshold is determined. In a case of “yes” (i.e. the first determination result is “yes”), it proceeds to the step S93; in a case of “no” (i.e. the first determination result is “no”), it is proceeds to the step S96.
In step S93, the process of area determination is performed: whether the number of pixel units in the sub-display-area relative to the number of pixel units in the display array is greater than the first quantity ratio is determined. In a case of “yes” (i.e. the second determination result is “yes”), it proceeds to the step S94; in a case of “no” (i.e. the second determination result is “no”), it proceeds to the step S95.
In step S94, the process of color richness determination is performed: whether the number of colors displayed in the sub-display-area when displaying the image based on the to-be-displayed data is greater than the first color threshold is determined. In a case of “yes” (i.e. the third determination result is “yes”), then the priority of the sub-display-area is the first priority; in a case of “no” (i.e. the third determination result is “no”), then the priority of the sub-display-area is the second priority. In this method, in a case that the first determination result, the second determination result and the third determination result are all “yes”, the priority of the corresponding sub-display-area is the first priority; in a case that only the third determination result is “no”, the priority of the corresponding sub-display-area is the second priority.
In step S95, when the determination result of the step S93 is “no”, whether the number of colors displayed in the sub-display-area when displaying the image based on the to-be-displayed data is greater than the first color threshold is determined through the process of color richness determination. In a case of “yes” (i.e. the third determination result is “yes”), then the priority of the sub-display-area is the third priority; in a case of “no” (i.e. the third determination result is “no”), then the priority of the sub-display-area is the fourth priority. In this method, in a case that only the second determination result is “no” among the first determination result, the second determination result and the third determination result, then the priority of the sub-display-area is the third priority; in a case that only the first determination result is “yes”, then the priority of the sub-display-area is the fourth priority.
In step S96, when the determination result of the step S92 is “no”, whether the number of pixel units in the sub-display-area relative to the number of pixel units in the display array is greater than the first quantity ratio is determined through the process of area determination. In a case of “yes” (i.e. the second determination result is “yes”), it proceeds to the step S97; in a case of “no” (i.e. the second determination result is “no”), it proceeds to the step S98.
In step S97, whether the number of colors displayed in the sub-display-area when displaying the image based on the to-be-displayed data is greater than the first color threshold is determined through the process of color richness determination. In a case of “yes” (i.e. the third determination result is “yes”), then the priority of the sub-display-area is the fifth priority; in a case of “no” (the third determination result is “no”), then the priority of the sub-display-area is the sixth priority. In this method, in a case that only the first determination result is “no” among the first determination result, the second determination result and the third determination result, then the priority of the sub-display-area is the fifth priority; in a case that only the second determination result is “yes”, then the priority of the sub-display-area is the sixth priority.
In step S98, whether the number of colors displayed in the sub-display-area when displaying the image based on the to-be-displayed data is greater than the first color threshold is determined through the process of color richness determination. In a case of “yes” (i.e. the third determination result is “yes”), then the priority of the sub-display-area is the seventh priority; in a case of “no” (i.e. the third determination result is “no”), then the priority of the sub-display-area is the eighth priority. In this method, in a case that only the third determination result is “yes” among the first determination result, the second determination result and the third determination result, the priority of the sub-display-area is the seventh priority; in a case that the first determination result, the second determination result and the third determination result are all “no”, the priority of the sub-display-area is the eighth priority.
Finally, the corrected display data required for each sub-display-area is determined based on the priority of each sub-display-area.
In the method shown in
The relative position of the sub-display-area relative to the center of the display array may be determined based on position determination. The closer the position of the sub-display-area to the center, the more significant the sub-display-area is. The area size of the sub-display-area may be determined based on area determination. The area size of the sub-display-area may be represented by the ratio of the number of pixel units contained in the sub-display-area to the total number (m*n) of pixel units in the display array. The smaller the area of the sub-display-area is, the more significant the sub-display-area is. The required color richness degree for displaying in the sub-display-area may be determined based on the color richness degree. As described above, the color richness of the region may be obtained according to how many regions with the same color are merged into the sub-display-area. The more small regions merged into the sub-display-area, the higher the color richness is, and otherwise the lower the color richness is. The richer the color of the sub-display-area is, the more significant the sub-display-area is.
When determining the priority of the sub-display-area based on the position determination, area determination and color richness determination, it includes but is not limited to eight priorities. For example, the position determination, the area determination and the color richness determination all may classify more levels of criteria. The display of each priority may be pre-processed. For example, the overall brightness and light-emitting pixels remain normal in the first priority. Each priority may be configured to reduce the overall brightness or turn off some pixel units from the second priority to the eighth priority. The reduction of the overall brightness and the number of light-emitting pixel units that are turned off may be configured according to the actual calibration effect, to reduce the power consumption for display while retaining the key screen information obtained by the human eyes.
Based on the display requirements, the first determination result, the second determination result and the third determination result are configured to correspond to eight combination modes, which is from the first priority to the eighth priority in a high to low order. The priorities and the combination modes for determination results are not limited to the embodiment shown in
In the method for driving display according to the embodiment of the present disclosure, the weight of the sub-display-area may be determined based on the target parameter of the sub-display-area. Subsequently, the priority of the sub-display-area may be determined based on the weight of the sub-display-area.
When determining the priority of the sub-display-area based on the weight of the sub-display-area, the weight of the sub-display-area may be determined by combining the corresponding weight coefficients of the area, the position and the to-be-displayed color information of the sub-display-area. The priority of the sub-display-area may then be determined. This method can reduce the power consumption for display of the display panel through compromising the display brightness of the sub-display-area with a low priority.
When determining the position of the sub-display-area based on the weight of the sub-display-area, the method for determining the priority of the sub-display-area may include: determining a relative position level of the sub-display-area based on the center distance between the sub-display-area and the display array, different relative position levels correspond to different first weight coefficients; determining an area level of the sub-display-area based on the quantity ratio of the number of pixel units in the sub-display-area to the number of pixel units in the display array, and different area levels correspond to different second weight coefficients; determining a to-be-displayed color information level of the sub-display-area based on the number of colors displayed in the sub-display-area when displaying the image based on the to-be-displayed data, different to-be-displayed color information levels correspond to different third weight coefficients; calculating the weight of the sub-display-area based on the three weight coefficients of the sub-display-area; determining the priority of the sub-display-area based on the weight of the sub-display-area. The higher the priority is, the greater the weight is. On the contrary, the lower the priority is, the lesser the weight is.
The center distance between the sub-display-area and the display array is the distance between the center of the sub-display-area and the center of the display array. In a case that the sub-display-area is an irregular shape, the above center distance is defined by using the center of gravity of the sub-display-area as the center of the sub-display-area.
According to the embodiment of the present disclosure, the priority of the sub-display-area is determined based on the weight of the sub-display-area. The sub-display-area is controlled for image display based on the priority corresponding to the sub-display-area. In this way, the power consumption for display of the display panel is reduced while retaining the important screen information in the to-be-displayed image.
Different priorities may be preset to correspond to different weight ranges, and the weight ranges of different priorities do not overlap with each other. After determining the weight of the sub-display-area, the priority may be determined based on the weight range where the weight falls. In a case that the weights of the two sub-display-areas are in the same weight range, the two sub-display-areas have the same priority. In a case that the weights of the two sub-display-areas are in different weight ranges, the two sub-display-areas have different priorities.
In an implementation of the embodiments of the present disclosure, the weight of the sub-display-area is calculated based on the three weight coefficients of the sub-display-area. The calculation equation includes as follows:
where W is the weight of the sub-display-area, W1 is the first weight coefficient, W2 is the second weight coefficient, W3 is the third weight coefficient, and a, b, c, and d are all set constants.
In an embodiment of the present disclosure, the weight corresponding to the sub-display-area may be calculated based on the above equation (1) or the above equation (2), and the priority of the sub-display-area is determined based on the weight of the sub-display-area.
In an embodiment, the display array is divided into multiple sub-arrays arranged in an array, and the sub-arrays have multiple pixel units. The sub-arrays are provided with corresponding first weight coefficients, and the first weight coefficients are negatively correlated with the center distance between the sub-array and the display array. The greater the center distance is, the smaller the first weight coefficient is. On the contrary, the lesser the center distance is, the greater the first weight coefficient is. The same center distance corresponds to the same first weight coefficient. In this case, the method for determining the relative position level includes: determining the position level of the sub-display-area based on the sub-array where the center of the sub-display-area is located. In an embodiment, the first weight coefficient of the sub-display-area is equal to the first weight coefficient corresponding to the sub-array located in the center of the sub-display-area. The first weight coefficient corresponding to the sub-array located in the center of the display array may be set to 1, and the first weight coefficients corresponding to other sub-arrays are all positive numbers less than 1. The number of sub-arrays and the division method may be set based on requirements, and the first weight coefficient corresponding to each sub-array may be set according to requirements. The number of sub-arrays and the first weight corresponding to each sub-array are not limited in the embodiments of the present disclosure.
Reference is made to
The first weight coefficient may indicate the position of the sub-display-area. The second weight coefficient may indicate the area of the sub-display-area. The third weight coefficient may indicate the richness of colors required for displaying in the sub-display-area. This method can determine the weight of the sub-display-area by determining the position, size, color richness of each sub-display-area, and determine the priority based on the weight of the sub-display-area. In addition, this method can set the highest priority to keep the overall brightness and light-emitting pixels normal, the non-highest priority to reduce the overall brightness or turn off some pixel units. The reduction of the overall brightness and the number of light-emitting pixel units that are turned off may be configured according to the actual calibration effect, to reduce the power consumption for display while retaining the key screen information obtained by the human eyes.
In the method shown in
Reference is made to
In
In order to improve the diversity of the sub-display-area in the method for driving display, before obtaining the to-be-displayed data, the method for driving display further includes: configuring a method for dividing the sub-arrays, and configuring the first weight coefficient corresponding to each sub-array based on the method for dividing the sub-arrays. In other methods, each sub-array may be configured with a fixed first weight coefficient based on a fixed method for dividing the sub-display arrays.
In one embodiment, the first to N-th ratio ranges and the second weight coefficient corresponding to each ratio range are pre-stored. The first to N-th ratio ranges correspond to the first to N-th area levels in sequence, and the second weight coefficient are decreased in sequence; N is a positive integer greater than 1. The method for determining the area level includes: determining the area level of the sub-display-area based on the ratio range where the above quantity ratio is located.
For example, N may be set to 10. When the quantity ratio is less than 10%, it is in the first ratio range; when the quantity ratio is no less than 10% and less than 20%, it is in the second ratio range; when the quantity ratio is no less than 20% and less than 30%, it is in the third ratio range; and so on, until the quantity ratio is no less than 90%, it is in the tenth ratio range. The second weight coefficients corresponding to the first ratio range to the tenth ratio range may be set as 1, 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1 in sequence.
In order to improve the diversity of sub-display-area in the method for driving display, before obtaining the to-be-displayed data, the method for driving display further includes: configuring a method for dividing N ratio ranges, and configuring a second weight coefficient corresponding to each ratio range based on the method for dividing N ratio ranges. In other methods, each ratio range may be configured with a fixed second weight coefficient based on the N ratio ranges configured in a fixed method for dividing N ratio ranges.
In one embodiment, the first to Q-th color quantity ranges and the third weight coefficient corresponding to each color quantity range are pre-stored. The first to Q-th color quantity ranges correspond to the first to Q-th to-be-displayed color information levels in sequence, the corresponding third weight coefficient decreases in sequence; Q is a positive integer greater than 1. In this case, the method for determining the to-be-displayed color information level of the sub-display-area includes: determining the to-be-displayed color information level of the sub-display-area according to the color quantity range where the number of colors displayed in the sub-display-area falls when displaying the image based on the to-be-displayed data.
For example, Q may be set to be 4. When the sub-display-area displays the image based on the to-be-displayed data, in a case that the number of colors that can be displayed is no less than 10, it is in the first color quantity range; in a case that the number of colors is no less than 6 and less than 10, it is in the second color quantity range; when the number of colors is no less than 2 and less than 6, it is in the third color quantity range; when the number of colors is equal to 1, it is in the fourth color quantity range. The third weight coefficients corresponding to the first color quantity range to the fourth color quantity range may be set as 1, 0.75, 0.5, and 0.25 in sequence.
In order to improve the diversity of sub-display-area in the method for driving display, before obtaining the to-be-displayed data, the method for driving display further includes: configuring a method for dividing the Q color quantity ranges, and configuring the third weight coefficient corresponding to each color quantity range based on the method for dividing the Q color quantity ranges. In other methods, each color quantity range may also be configured with a fixed third weight coefficient based on the Q color quantity ranges configured in a fixed method for dividing the Q color quantity ranges.
In one embodiment, the weight of the sub-display-area may be calculated based on three weight coefficients to determine the priority of the sub-display-area. Therefore, the weights of different sub-display-areas may be adjusted by configuring values of the three weight coefficients, to adjust the priority ordering of the sub-display-areas.
For example, when the first weight coefficient is the largest, the position of the sub-display-area may be configured as the primary determinant of its priority. This can highlight the importance of the position of the sub-display-area in determining the priority, and the sub-display-area close to the middle area of the display panel has a higher priority to better ensure the display effect of the sub-display-area close to the middle area of the display panel. In an embodiment, when the second weight coefficient is the largest, the area of the sub-display-area may be configured as the first determinant of its priority. This can highlight the importance of the number of pixel units in the sub-display-area in determining the priority, and the sub-display-area with a larger number of pixel units has a greater priority to better ensure the display effect of the sub-display-area with a larger number of pixel units. In an embodiment, when the third weight coefficient is the largest, the to-be-displayed color information of the sub-display-area may be configured as the first determinant of its priority. This can highlight the importance of the required color richness degree for displaying in the sub-display-area in determining the priority, and the sub-display-area required for displaying a greater color richness degree have a greater priority, to better ensure the display effect of the sub-display-area required for displaying the greater color richness degree.
In one embodiment, the method for driving display according to the embodiment of the present disclosure further includes: selecting a display mode of the display panel. The display mode of the display panel includes a first display mode and a second display mode. The first display mode is an energy-saving display mode. In the first display mode, as described above, the display array is divided into at least two sub-display-areas with different priorities. The pixel units in the sub-display-areas are controlled for image display based on the priorities, to reduce the power consumption for display. The second display mode is a normal display mode. In the second display mode, the pixel units in the display array are controlled for image display based on the to-be-displayed data to best display the screen information of the to-be-displayed image.
In each of the above embodiments, the priority of each sub-display-area is determined based on the degree of impact of the sub-display-area on the to-be-displayed image. Based on the priority, the pixel units in the sub-display-area are controlled for image display, to reduce the power consumption for display of the display panel.
In other methods, the priority may be configured to be positively correlated with the distance between the sub-display-area and the edge of the display array; the corrected display data may be configured to enable the pixel units display at the first brightness, and the to-be-displayed data may enable the pixel units display at the second brightness, where the first brightness is greater than the second brightness. In this way, the display brightness in the area close to the edge of the display array can be increased to increase the brilliance of the edge area to prevent other people around the user from peeking at the display content of the display panel.
The display panel has a third mode, and the third mode is an anti-peeping display mode. When the display panel is in the third mode, the display array may be divided into a first sub-display-area and a second sub-display-area surrounding the first sub-display-area. The priority of the first sub-display-area is set to be higher than the priority of the second sub-display-area. In this way, in the third mode, the pixel units in the first sub-display-area is controlled for image display based on the to-be-displayed data, and the pixel units in the second sub-display-area is controlled for image display based on the corrected display data.
Based on the method for driving display according to the above embodiment, a display driver is provided according to another embodiment of the present disclosure, which can execute the method for driving display according to any one of the above embodiments.
The display driver, according to the embodiment of the present disclosure, can implement the above method for driving display, where each sub-display-area is controlled for image display based on the priority of the sub-display-area, and the display panel can provide with multiple display modes, to reduce the power consumption for display of the display panel, or enable anti-peeping display.
Reference is made to
The obtaining module 11 is configured to obtain to-be-displayed data of pixel units.
The dividing module 12 is configured to divide a display array into at least two sub-display-areas with different priorities based on the to-be-displayed data of each pixel unit; where each sub-display-area includes multiple pixel units arranged consecutively.
The driving module 13 is configured to control the pixel units in the sub-display-area for image display based on the priority; for the sub-display-area with a highest priority, control the pixel units for image display based on the to-be-displayed data;
for the sub-display-area with a non-highest priority, control at least part of the pixel units for image display based on corrected display data.
Based on the display driver and the method for driving display according to the above embodiments, an electronic device is provided according to another embodiment of the present disclosure. The electronic device may be as shown in
Reference is made to
In one embodiment, the electronic device may be a display device such as a mobile phone, a computer, a smart wearable device, and the like.
The electronic device, according to the embodiment of the present disclosure, can implement the above method for driving display via the display driver 22, which can control each sub-display-area for image display based on the priority of the sub-display-area, and can provide the display panel 21 with multiple display modes, to reduce the power consumption for display of the display panel 21 or to enable anti-peeping display.
Distinguishing from the conventional method for driving display in which all pixel units have to-be-displayed data for image display, in the method for driving display provided by the technical solutions of the present disclosure, each sub-display-area is controlled for image display based on the priority of the sub-display-area. For the sub-display-area with the highest priority, the pixel units are controlled to faithfully reproduce based on the to-be-displayed data, to faithfully reproduce the screen information corresponding to the to-be-displayed data. For the sub-display-area with non-highest priority, a part of pixel units are controlled to perform non-faithful reproduction based on the corrected display data that is different from the to-be-displayed data, the screen information corresponding to the corrected display data is displayed, and the screen information corresponding to the to-be-displayed data may not be reproduced. With the method for driving display provided by the technical solutions of the present disclosure, based on the priority of the sub-display-area, the pixel units can be controlled for image display based on the to-be-displayed data, or be controlled for image display based on the corrected display data, which can provide diversified display modes.
Each embodiment in this specification is described in a progressive, parallel, or combination of progressive and parallel manner. Each embodiment places emphasis on the difference from other embodiments. One embodiment can refer to other embodiments for the same or similar parts.
It should be noted that, in the description of the present disclosure, it should be understood that the description of the drawings and embodiments is illustrative rather than restrictive. The same reference numerals throughout the description of the embodiments identify similar structures. In addition, the drawings may exaggerate the thickness of some layers, films, panels, areas, and the like, for purposes of understanding and ease of description. It will be understood that when an element such as a layer, film, area or substrate is referred to as being “on” another element, the element can be directly on the other element or intervening elements may be present. In addition, “on” refers to positioning an element above or below another element, but does not essentially mean positioning above the upper side of another element in the direction of gravity.
The orientation or positional relationship indicated by the terms “upper”, “lower”, “top”, “bottom”, “inner”, “outer” and the like are based on the orientation or positional relationship shown in the drawings, are only for the convenience of describing the present disclosure and simplified description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be construed as a limitation on the present disclosure. When a component is said to be “connected” to another component, it may be directly connected to the other component or there may be an intermediate component between them.
It should be noted that, the relationship terms such as “first”, “second” and the like are only used herein to distinguish one entity or operation from another, rather than to necessitate or imply that an actual relationship or order exists between the entities or operations. Furthermore, the terms such as “include”, “comprise” or any other variants thereof means to be non-exclusive. Therefore, a process, a method, an article or a device including a series of elements include not only the disclosed elements but also other elements that are not clearly enumerated, or further include inherent elements of the process, the method, the article or the device. Unless expressively limited, the statement “including a . . . ” does not exclude the case that other similar elements may exist in the process, the method, the article or the device other than enumerated elements.
Number | Date | Country | Kind |
---|---|---|---|
202410166093.9 | Feb 2024 | CN | national |